| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.EC2.Types.ValidationError
Description
Synopsis
Documentation
data ValidationError Source #
The error code and error message that is returned for a parameter or parameter combination that is not valid when a new launch template or new version of a launch template is created.
See: newValidationError smart constructor.
Constructors
| ValidationError' | |
Fields
| |
Instances
newValidationError :: ValidationError Source #
Create a value of ValidationError 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:code:ValidationError', validationError_code - The error code that indicates why the parameter or parameter combination
is not valid. For more information about error codes, see
Error codes.
$sel:message:ValidationError', validationError_message - The error message that describes why the parameter or parameter
combination is not valid. For more information about error messages, see
Error codes.
validationError_code :: Lens' ValidationError (Maybe Text) Source #
The error code that indicates why the parameter or parameter combination is not valid. For more information about error codes, see Error codes.
validationError_message :: Lens' ValidationError (Maybe Text) Source #
The error message that describes why the parameter or parameter combination is not valid. For more information about error messages, see Error codes.