| 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.IAM.Types.ErrorDetails
Description
Synopsis
- data ErrorDetails = ErrorDetails' {}
- newErrorDetails :: Text -> Text -> ErrorDetails
- errorDetails_message :: Lens' ErrorDetails Text
- errorDetails_code :: Lens' ErrorDetails Text
Documentation
data ErrorDetails Source #
Contains information about the reason that the operation failed.
This data type is used as a response element in the GetOrganizationsAccessReport, GetServiceLastAccessedDetails, and GetServiceLastAccessedDetailsWithEntities operations.
See: newErrorDetails smart constructor.
Constructors
| ErrorDetails' | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ErrorDetails |
Create a value of ErrorDetails 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:message:ErrorDetails', errorDetails_message - Detailed information about the reason that the operation failed.
$sel:code:ErrorDetails', errorDetails_code - The error code associated with the operation failure.
errorDetails_message :: Lens' ErrorDetails Text Source #
Detailed information about the reason that the operation failed.
errorDetails_code :: Lens' ErrorDetails Text Source #
The error code associated with the operation failure.