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 |
Documentation
data ResourceError Source #
Describes a resource error.
See: newResourceError
smart constructor.
ResourceError' | |
|
Instances
newResourceError :: ResourceError Source #
Create a value of ResourceError
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:errorCode:ResourceError'
, resourceError_errorCode
- The error code.
$sel:errorMessage:ResourceError'
, resourceError_errorMessage
- The error message.
$sel:errorTimestamp:ResourceError'
, resourceError_errorTimestamp
- The time the error occurred.
resourceError_errorCode :: Lens' ResourceError (Maybe FleetErrorCode) Source #
The error code.
resourceError_errorMessage :: Lens' ResourceError (Maybe Text) Source #
The error message.
resourceError_errorTimestamp :: Lens' ResourceError (Maybe UTCTime) Source #
The time the error occurred.