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
data ErrorReason Source #
An error that explains why an action did not succeed.
See: newErrorReason
smart constructor.
ErrorReason' | |
|
Instances
newErrorReason :: ErrorReason Source #
Create a value of ErrorReason
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:ErrorReason'
, errorReason_errorCode
- Service Quotas returns the following error values:
DEPENDENCY_ACCESS_DENIED_ERROR
- The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the service or quota.DEPENDENCY_THROTTLING_ERROR
- The service is throttling Service Quotas.DEPENDENCY_SERVICE_ERROR
- The service is not available.SERVICE_QUOTA_NOT_AVAILABLE_ERROR
- There was an error in Service Quotas.
$sel:errorMessage:ErrorReason'
, errorReason_errorMessage
- The error message.
errorReason_errorCode :: Lens' ErrorReason (Maybe ErrorCode) Source #
Service Quotas returns the following error values:
DEPENDENCY_ACCESS_DENIED_ERROR
- The caller does not have the required permissions to complete the action. To resolve the error, you must have permission to access the service or quota.DEPENDENCY_THROTTLING_ERROR
- The service is throttling Service Quotas.DEPENDENCY_SERVICE_ERROR
- The service is not available.SERVICE_QUOTA_NOT_AVAILABLE_ERROR
- There was an error in Service Quotas.
errorReason_errorMessage :: Lens' ErrorReason (Maybe Text) Source #
The error message.