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
Documentation
Error message.
See: newErrorInfo
smart constructor.
ErrorInfo' | |
|
Instances
Eq ErrorInfo Source # | |
Read ErrorInfo Source # | |
Show ErrorInfo Source # | |
Generic ErrorInfo Source # | |
NFData ErrorInfo Source # | |
Defined in Amazonka.FinSpaceData.Types.ErrorInfo | |
Hashable ErrorInfo Source # | |
Defined in Amazonka.FinSpaceData.Types.ErrorInfo | |
FromJSON ErrorInfo Source # | |
type Rep ErrorInfo Source # | |
Defined in Amazonka.FinSpaceData.Types.ErrorInfo type Rep ErrorInfo = D1 ('MetaData "ErrorInfo" "Amazonka.FinSpaceData.Types.ErrorInfo" "libZSservicesZSamazonka-finspace-dataZSamazonka-finspace-data" 'False) (C1 ('MetaCons "ErrorInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "errorCategory") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ErrorCategory)) :*: S1 ('MetaSel ('Just "errorMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) |
newErrorInfo :: ErrorInfo Source #
Create a value of ErrorInfo
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:errorCategory:ErrorInfo'
, errorInfo_errorCategory
- The category of the error.
VALIDATION
-The inputs to this request are invalid.SERVICE_QUOTA_EXCEEDED
- Service quotas have been exceeded. Please contact AWS support to increase quotas.ACCESS_DENIED
- Missing required permission to perform this request.RESOURCE_NOT_FOUND
- One or more inputs to this request were not found.THROTTLING
- The system temporarily lacks sufficient resources to process the request.INTERNAL_SERVICE_EXCEPTION
- An internal service error has occurred.CANCELLED
- A user recoverable error has occurred.
$sel:errorMessage:ErrorInfo'
, errorInfo_errorMessage
- The text of the error message.
errorInfo_errorCategory :: Lens' ErrorInfo (Maybe ErrorCategory) Source #
The category of the error.
VALIDATION
-The inputs to this request are invalid.SERVICE_QUOTA_EXCEEDED
- Service quotas have been exceeded. Please contact AWS support to increase quotas.ACCESS_DENIED
- Missing required permission to perform this request.RESOURCE_NOT_FOUND
- One or more inputs to this request were not found.THROTTLING
- The system temporarily lacks sufficient resources to process the request.INTERNAL_SERVICE_EXCEPTION
- An internal service error has occurred.CANCELLED
- A user recoverable error has occurred.