| 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.CodePipeline.RetryStageExecution
Description
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.
Constructors
| RetryStageExecution' | |
Fields
| |
Instances
newRetryStageExecution Source #
Arguments
| :: 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:
RetryStageExecution, retryStageExecution_pipelineName - The name of the pipeline that contains the failed stage.
RetryStageExecution, retryStageExecution_stageName - The name of the failed stage to be retried.
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.
Constructors
| RetryStageExecutionResponse' | |
Fields
| |
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:
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.