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 |
Represents the failure of a job as returned to the pipeline by a job worker. Used for custom actions only.
Synopsis
- data PutJobFailureResult = PutJobFailureResult' {}
- newPutJobFailureResult :: Text -> FailureDetails -> PutJobFailureResult
- putJobFailureResult_jobId :: Lens' PutJobFailureResult Text
- putJobFailureResult_failureDetails :: Lens' PutJobFailureResult FailureDetails
- data PutJobFailureResultResponse = PutJobFailureResultResponse' {
- newPutJobFailureResultResponse :: PutJobFailureResultResponse
Creating a Request
data PutJobFailureResult Source #
Represents the input of a PutJobFailureResult
action.
See: newPutJobFailureResult
smart constructor.
PutJobFailureResult' | |
|
Instances
newPutJobFailureResult Source #
Create a value of PutJobFailureResult
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:
PutJobFailureResult
, putJobFailureResult_jobId
- The unique system-generated ID of the job that failed. This is the same
ID returned from PollForJobs
.
$sel:failureDetails:PutJobFailureResult'
, putJobFailureResult_failureDetails
- The details about the failure of a job.
Request Lenses
putJobFailureResult_jobId :: Lens' PutJobFailureResult Text Source #
The unique system-generated ID of the job that failed. This is the same
ID returned from PollForJobs
.
putJobFailureResult_failureDetails :: Lens' PutJobFailureResult FailureDetails Source #
The details about the failure of a job.
Destructuring the Response
data PutJobFailureResultResponse Source #
See: newPutJobFailureResultResponse
smart constructor.
Instances
newPutJobFailureResultResponse :: PutJobFailureResultResponse Source #
Create a value of PutJobFailureResultResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.