Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Resumes the pipeline execution by retrying the last failed actions in a stage.
Synopsis
- 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
:: 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 theGetPipelineState
action 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 RetryStageExecution 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 #
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 RetryStageExecution 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.