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