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 |
Stops the specified pipeline execution. You choose to either stop the
pipeline execution by completing in-progress actions without starting
subsequent actions, or by abandoning in-progress actions. While
completing or abandoning in-progress actions, the pipeline execution is
in a Stopping
state. After all in-progress actions are completed or
abandoned, the pipeline execution is in a Stopped
state.
Synopsis
- data StopPipelineExecution = StopPipelineExecution' {
- abandon :: Maybe Bool
- reason :: Maybe Text
- pipelineName :: Text
- pipelineExecutionId :: Text
- newStopPipelineExecution :: Text -> Text -> StopPipelineExecution
- stopPipelineExecution_abandon :: Lens' StopPipelineExecution (Maybe Bool)
- stopPipelineExecution_reason :: Lens' StopPipelineExecution (Maybe Text)
- stopPipelineExecution_pipelineName :: Lens' StopPipelineExecution Text
- stopPipelineExecution_pipelineExecutionId :: Lens' StopPipelineExecution Text
- data StopPipelineExecutionResponse = StopPipelineExecutionResponse' {}
- newStopPipelineExecutionResponse :: Int -> StopPipelineExecutionResponse
- stopPipelineExecutionResponse_pipelineExecutionId :: Lens' StopPipelineExecutionResponse (Maybe Text)
- stopPipelineExecutionResponse_httpStatus :: Lens' StopPipelineExecutionResponse Int
Creating a Request
data StopPipelineExecution Source #
See: newStopPipelineExecution
smart constructor.
StopPipelineExecution' | |
|
Instances
newStopPipelineExecution Source #
:: Text | |
-> Text | |
-> StopPipelineExecution |
Create a value of StopPipelineExecution
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:abandon:StopPipelineExecution'
, stopPipelineExecution_abandon
- Use this option to stop the pipeline execution by abandoning, rather
than finishing, in-progress actions.
This option can lead to failed or out-of-sequence tasks.
$sel:reason:StopPipelineExecution'
, stopPipelineExecution_reason
- Use this option to enter comments, such as the reason the pipeline was
stopped.
$sel:pipelineName:StopPipelineExecution'
, stopPipelineExecution_pipelineName
- The name of the pipeline to stop.
$sel:pipelineExecutionId:StopPipelineExecution'
, stopPipelineExecution_pipelineExecutionId
- The ID of the pipeline execution to be stopped in the current stage. Use
the GetPipelineState
action to retrieve the current
pipelineExecutionId.
Request Lenses
stopPipelineExecution_abandon :: Lens' StopPipelineExecution (Maybe Bool) Source #
Use this option to stop the pipeline execution by abandoning, rather than finishing, in-progress actions.
This option can lead to failed or out-of-sequence tasks.
stopPipelineExecution_reason :: Lens' StopPipelineExecution (Maybe Text) Source #
Use this option to enter comments, such as the reason the pipeline was stopped.
stopPipelineExecution_pipelineName :: Lens' StopPipelineExecution Text Source #
The name of the pipeline to stop.
stopPipelineExecution_pipelineExecutionId :: Lens' StopPipelineExecution Text Source #
The ID of the pipeline execution to be stopped in the current stage. Use
the GetPipelineState
action to retrieve the current
pipelineExecutionId.
Destructuring the Response
data StopPipelineExecutionResponse Source #
See: newStopPipelineExecutionResponse
smart constructor.
StopPipelineExecutionResponse' | |
|
Instances
newStopPipelineExecutionResponse Source #
Create a value of StopPipelineExecutionResponse
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:StopPipelineExecution'
, stopPipelineExecutionResponse_pipelineExecutionId
- The unique system-generated ID of the pipeline execution that was
stopped.
$sel:httpStatus:StopPipelineExecutionResponse'
, stopPipelineExecutionResponse_httpStatus
- The response's http status code.
Response Lenses
stopPipelineExecutionResponse_pipelineExecutionId :: Lens' StopPipelineExecutionResponse (Maybe Text) Source #
The unique system-generated ID of the pipeline execution that was stopped.
stopPipelineExecutionResponse_httpStatus :: Lens' StopPipelineExecutionResponse Int Source #
The response's http status code.