Struct aws_sdk_codepipeline::client::fluent_builders::StopPipelineExecution [−][src]
pub struct StopPipelineExecution<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to StopPipelineExecution
.
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.
Implementations
impl<C, M, R> StopPipelineExecution<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> StopPipelineExecution<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<StopPipelineExecutionOutput, SdkError<StopPipelineExecutionError>> where
R::Policy: SmithyRetryPolicy<StopPipelineExecutionInputOperationOutputAlias, StopPipelineExecutionOutput, StopPipelineExecutionError, StopPipelineExecutionInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<StopPipelineExecutionOutput, SdkError<StopPipelineExecutionError>> where
R::Policy: SmithyRetryPolicy<StopPipelineExecutionInputOperationOutputAlias, StopPipelineExecutionOutput, StopPipelineExecutionError, StopPipelineExecutionInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The name of the pipeline to stop.
The name of the pipeline to stop.
The ID of the pipeline execution to be stopped in the current stage. Use the GetPipelineState
action to retrieve the current pipelineExecutionId.
The ID of the pipeline execution to be stopped in the current stage. Use the GetPipelineState
action to retrieve the current pipelineExecutionId.
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.
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.
Use this option to enter comments, such as the reason the pipeline was stopped.
Use this option to enter comments, such as the reason the pipeline was stopped.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for StopPipelineExecution<C, M, R>
impl<C, M, R> Send for StopPipelineExecution<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for StopPipelineExecution<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for StopPipelineExecution<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for StopPipelineExecution<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more