Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data ValidationMessage = ValidationMessage' {}
- newValidationMessage :: ValidationMessage
- validationMessage_optionName :: Lens' ValidationMessage (Maybe Text)
- validationMessage_severity :: Lens' ValidationMessage (Maybe ValidationSeverity)
- validationMessage_namespace :: Lens' ValidationMessage (Maybe Text)
- validationMessage_message :: Lens' ValidationMessage (Maybe Text)
Documentation
data ValidationMessage Source #
An error or warning for a desired configuration option value.
See: newValidationMessage
smart constructor.
ValidationMessage' | |
|
Instances
newValidationMessage :: ValidationMessage Source #
Create a value of ValidationMessage
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:optionName:ValidationMessage'
, validationMessage_optionName
- The name of the option.
$sel:severity:ValidationMessage'
, validationMessage_severity
- An indication of the severity of this message:
error
: This message indicates that this is not a valid setting for an option.warning
: This message is providing information you should take into account.
$sel:namespace:ValidationMessage'
, validationMessage_namespace
- The namespace to which the option belongs.
$sel:message:ValidationMessage'
, validationMessage_message
- A message describing the error or warning.
validationMessage_optionName :: Lens' ValidationMessage (Maybe Text) Source #
The name of the option.
validationMessage_severity :: Lens' ValidationMessage (Maybe ValidationSeverity) Source #
An indication of the severity of this message:
error
: This message indicates that this is not a valid setting for an option.warning
: This message is providing information you should take into account.
validationMessage_namespace :: Lens' ValidationMessage (Maybe Text) Source #
The namespace to which the option belongs.
validationMessage_message :: Lens' ValidationMessage (Maybe Text) Source #
A message describing the error or warning.