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 |
Notifies the pipeline that the execution of a callback step failed, along with a message describing why. When a callback step is run, the pipeline generates a callback token and includes the token in a message sent to Amazon Simple Queue Service (Amazon SQS).
Synopsis
- data SendPipelineExecutionStepFailure = SendPipelineExecutionStepFailure' {}
- newSendPipelineExecutionStepFailure :: Text -> SendPipelineExecutionStepFailure
- sendPipelineExecutionStepFailure_failureReason :: Lens' SendPipelineExecutionStepFailure (Maybe Text)
- sendPipelineExecutionStepFailure_clientRequestToken :: Lens' SendPipelineExecutionStepFailure (Maybe Text)
- sendPipelineExecutionStepFailure_callbackToken :: Lens' SendPipelineExecutionStepFailure Text
- data SendPipelineExecutionStepFailureResponse = SendPipelineExecutionStepFailureResponse' {}
- newSendPipelineExecutionStepFailureResponse :: Int -> SendPipelineExecutionStepFailureResponse
- sendPipelineExecutionStepFailureResponse_pipelineExecutionArn :: Lens' SendPipelineExecutionStepFailureResponse (Maybe Text)
- sendPipelineExecutionStepFailureResponse_httpStatus :: Lens' SendPipelineExecutionStepFailureResponse Int
Creating a Request
data SendPipelineExecutionStepFailure Source #
See: newSendPipelineExecutionStepFailure
smart constructor.
SendPipelineExecutionStepFailure' | |
|
Instances
newSendPipelineExecutionStepFailure Source #
Create a value of SendPipelineExecutionStepFailure
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:failureReason:SendPipelineExecutionStepFailure'
, sendPipelineExecutionStepFailure_failureReason
- A message describing why the step failed.
$sel:clientRequestToken:SendPipelineExecutionStepFailure'
, sendPipelineExecutionStepFailure_clientRequestToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the operation. An idempotent operation completes no more
than one time.
$sel:callbackToken:SendPipelineExecutionStepFailure'
, sendPipelineExecutionStepFailure_callbackToken
- The pipeline generated token from the Amazon SQS queue.
Request Lenses
sendPipelineExecutionStepFailure_failureReason :: Lens' SendPipelineExecutionStepFailure (Maybe Text) Source #
A message describing why the step failed.
sendPipelineExecutionStepFailure_clientRequestToken :: Lens' SendPipelineExecutionStepFailure (Maybe Text) Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
sendPipelineExecutionStepFailure_callbackToken :: Lens' SendPipelineExecutionStepFailure Text Source #
The pipeline generated token from the Amazon SQS queue.
Destructuring the Response
data SendPipelineExecutionStepFailureResponse Source #
See: newSendPipelineExecutionStepFailureResponse
smart constructor.
SendPipelineExecutionStepFailureResponse' | |
|
Instances
newSendPipelineExecutionStepFailureResponse Source #
Create a value of SendPipelineExecutionStepFailureResponse
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:pipelineExecutionArn:SendPipelineExecutionStepFailureResponse'
, sendPipelineExecutionStepFailureResponse_pipelineExecutionArn
- The Amazon Resource Name (ARN) of the pipeline execution.
$sel:httpStatus:SendPipelineExecutionStepFailureResponse'
, sendPipelineExecutionStepFailureResponse_httpStatus
- The response's http status code.
Response Lenses
sendPipelineExecutionStepFailureResponse_pipelineExecutionArn :: Lens' SendPipelineExecutionStepFailureResponse (Maybe Text) Source #
The Amazon Resource Name (ARN) of the pipeline execution.
sendPipelineExecutionStepFailureResponse_httpStatus :: Lens' SendPipelineExecutionStepFailureResponse Int Source #
The response's http status code.