| Copyright | (c) 2013-2016 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay <[email protected]> |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | None |
| Language | Haskell2010 |
Network.AWS.CodePipeline.RetryStageExecution
Description
Resumes the pipeline execution by retrying the last failed actions in a stage.
- retryStageExecution :: Text -> Text -> Text -> StageRetryMode -> RetryStageExecution
- data RetryStageExecution
- rsePipelineName :: Lens' RetryStageExecution Text
- rseStageName :: Lens' RetryStageExecution Text
- rsePipelineExecutionId :: Lens' RetryStageExecution Text
- rseRetryMode :: Lens' RetryStageExecution StageRetryMode
- retryStageExecutionResponse :: Int -> RetryStageExecutionResponse
- data RetryStageExecutionResponse
- rsersPipelineExecutionId :: Lens' RetryStageExecutionResponse (Maybe Text)
- rsersResponseStatus :: Lens' RetryStageExecutionResponse Int
Creating a Request
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> StageRetryMode | |
| -> RetryStageExecution |
Creates a value of RetryStageExecution with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rsePipelineName- The name of the pipeline that contains the failed stage.rseStageName- The name of the failed stage to be retried.rsePipelineExecutionId- The ID of the pipeline execution in the failed stage to be retried. Use theGetPipelineStateaction to retrieve the current pipelineExecutionId of the failed stagerseRetryMode- The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS.
data RetryStageExecution Source #
Represents the input of a retry stage execution action.
See: retryStageExecution smart constructor.
Instances
Request Lenses
rsePipelineName :: Lens' RetryStageExecution Text Source #
The name of the pipeline that contains the failed stage.
rseStageName :: Lens' RetryStageExecution Text Source #
The name of the failed stage to be retried.
rsePipelineExecutionId :: 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
rseRetryMode :: Lens' RetryStageExecution StageRetryMode Source #
The scope of the retry attempt. Currently, the only supported value is FAILED_ACTIONS.
Destructuring the Response
retryStageExecutionResponse Source #
Arguments
| :: Int | |
| -> RetryStageExecutionResponse |
Creates a value of RetryStageExecutionResponse with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
rsersPipelineExecutionId- The ID of the current workflow execution in the failed stage.rsersResponseStatus- -- | The response status code.
data RetryStageExecutionResponse Source #
Represents the output of a retry stage execution action.
See: retryStageExecutionResponse smart constructor.
Instances
Response Lenses
rsersPipelineExecutionId :: Lens' RetryStageExecutionResponse (Maybe Text) Source #
The ID of the current workflow execution in the failed stage.
rsersResponseStatus :: Lens' RetryStageExecutionResponse Int Source #
- - | The response status code.