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
- data JobError = JobError' {}
- newJobError :: Text -> Code -> JobError
- jobError_resourceId :: Lens' JobError (Maybe Text)
- jobError_limitName :: Lens' JobError (Maybe JobErrorLimitName)
- jobError_resourceType :: Lens' JobError (Maybe JobErrorResourceTypes)
- jobError_details :: Lens' JobError (Maybe Details)
- jobError_limitValue :: Lens' JobError (Maybe Double)
- jobError_message :: Lens' JobError Text
- jobError_code :: Lens' JobError Code
Documentation
An error that occurred with the job request.
See: newJobError
smart constructor.
JobError' | |
|
Instances
Create a value of JobError
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:resourceId:JobError'
, jobError_resourceId
- The unique identifier for the resource related to the error.
$sel:limitName:JobError'
, jobError_limitName
- The name of the limit that was reached.
$sel:resourceType:JobError'
, jobError_resourceType
- The type of resource related to the error.
$sel:details:JobError'
, jobError_details
- The details about the job error.
$sel:limitValue:JobError'
, jobError_limitValue
- The value of the exceeded limit.
$sel:message:JobError'
, jobError_message
- The message related to the job error.
$sel:code:JobError'
, jobError_code
- The code for the job error.
jobError_resourceId :: Lens' JobError (Maybe Text) Source #
The unique identifier for the resource related to the error.
jobError_limitName :: Lens' JobError (Maybe JobErrorLimitName) Source #
The name of the limit that was reached.
jobError_resourceType :: Lens' JobError (Maybe JobErrorResourceTypes) Source #
The type of resource related to the error.