| 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.ServiceQuotas.Types.ErrorReason
Description
Synopsis
Documentation
data ErrorReason Source #
An error that explains why an action did not succeed.
See: newErrorReason smart constructor.
Constructors
| ErrorReason' | |
Fields
| |
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.