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 |
Resumes the pipeline execution by retrying the last failed actions in a stage. You can retry a stage immediately if any of the actions in the stage fail. When you retry, all actions that are still in progress continue working, and failed actions are triggered again.
Synopsis
- data RetryStageExecution = RetryStageExecution' {}
- newRetryStageExecution :: Text -> Text -> Text -> StageRetryMode -> RetryStageExecution
- retryStageExecution_pipelineName :: Lens' RetryStageExecution Text
- retryStageExecution_stageName :: Lens' RetryStageExecution Text
- retryStageExecution_pipelineExecutionId :: Lens' RetryStageExecution Text
- retryStageExecution_retryMode :: Lens' RetryStageExecution StageRetryMode
- data RetryStageExecutionResponse = RetryStageExecutionResponse' {}
- newRetryStageExecutionResponse :: Int -> RetryStageExecutionResponse
- retryStageExecutionResponse_pipelineExecutionId :: Lens' RetryStageExecutionResponse (Maybe Text)
- retryStageExecutionResponse_httpStatus :: Lens' RetryStageExecutionResponse Int
Creating a Request
data RetryStageExecution Source #
Represents the input of a RetryStageExecution
action.
See: newRetryStageExecution
smart constructor.
RetryStageExecution' | |
|
Instances
newRetryStageExecution Source #
:: Text | |
-> Text | |
-> Text | |
-> StageRetryMode | |
-> RetryStageExecution |
Create a value of RetryStageExecution
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:pipelineName:RetryStageExecution'
, retryStageExecution_pipelineName
- The name of the pipeline that contains the failed stage.
$sel:stageName:RetryStageExecution'
, retryStageExecution_stageName
- The name of the failed stage to be retried.
$sel:pipelineExecutionId:RetryStageExecution'
, retryStageExecution_pipelineExecutionId
- The ID of the pipeline execution in the failed stage to be retried. Use
the GetPipelineState action to retrieve the current pipelineExecutionId
of the failed stage
$sel:retryMode:RetryStageExecution'
, retryStageExecution_retryMode
- The scope of the retry attempt. Currently, the only supported value is
FAILED_ACTIONS.
Request Lenses
retryStageExecution_pipelineName :: Lens' RetryStageExecution Text Source #
The name of the pipeline that contains the failed stage.
retryStageExecution_stageName :: Lens' RetryStageExecution Text Source #
The name of the failed stage to be retried.
retryStageExecution_pipelineExecutionId :: Lens' RetryStageExecution Text Source #
The ID of the pipeline execution in the failed stage to be retried. Use the GetPipelineState action to retrieve the current pipelineExecutionId of the failed stage
retryStageExecution_retryMode :: Lens' RetryStageExecution StageRetryMode Source #
The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS.
Destructuring the Response
data RetryStageExecutionResponse Source #
Represents the output of a RetryStageExecution
action.
See: newRetryStageExecutionResponse
smart constructor.
RetryStageExecutionResponse' | |
|
Instances
newRetryStageExecutionResponse Source #
Create a value of RetryStageExecutionResponse
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:pipelineExecutionId:RetryStageExecution'
, retryStageExecutionResponse_pipelineExecutionId
- The ID of the current workflow execution in the failed stage.
$sel:httpStatus:RetryStageExecutionResponse'
, retryStageExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
retryStageExecutionResponse_pipelineExecutionId :: Lens' RetryStageExecutionResponse (Maybe Text) Source #
The ID of the current workflow execution in the failed stage.
retryStageExecutionResponse_httpStatus :: Lens' RetryStageExecutionResponse Int Source #
The response's http status code.