Struct aws_sdk_datapipeline::client::fluent_builders::DeactivatePipeline [−][src]
pub struct DeactivatePipeline<C = DynConnector, M = AwsMiddleware, R = Standard> { /* fields omitted */ }
Expand description
Fluent builder constructing a request to DeactivatePipeline
.
Deactivates the specified running pipeline. The pipeline is set to the DEACTIVATING
state until the deactivation process completes.
To resume a deactivated pipeline, use ActivatePipeline. By default, the pipeline resumes from the last completed execution. Optionally, you can specify the date and time to resume the pipeline.
Implementations
impl<C, M, R> DeactivatePipeline<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> DeactivatePipeline<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<DeactivatePipelineOutput, SdkError<DeactivatePipelineError>> where
R::Policy: SmithyRetryPolicy<DeactivatePipelineInputOperationOutputAlias, DeactivatePipelineOutput, DeactivatePipelineError, DeactivatePipelineInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<DeactivatePipelineOutput, SdkError<DeactivatePipelineError>> where
R::Policy: SmithyRetryPolicy<DeactivatePipelineInputOperationOutputAlias, DeactivatePipelineOutput, DeactivatePipelineError, DeactivatePipelineInputOperationRetryAlias>,
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 ID of the pipeline.
The ID of the pipeline.
Indicates whether to cancel any running objects. The default is true,
which sets the state of any running objects to CANCELED
.
If this value is false, the pipeline is deactivated after all
running objects finish.
Indicates whether to cancel any running objects. The default is true,
which sets the state of any running objects to CANCELED
.
If this value is false, the pipeline is deactivated after all
running objects finish.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !RefUnwindSafe for DeactivatePipeline<C, M, R>
impl<C, M, R> Send for DeactivatePipeline<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for DeactivatePipeline<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for DeactivatePipeline<C, M, R>
impl<C = DynConnector, M = AwsMiddleware, R = Standard> !UnwindSafe for DeactivatePipeline<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