Struct aws_sdk_datapipeline::operation::deactivate_pipeline::builders::DeactivatePipelineFluentBuilder
source · pub struct DeactivatePipelineFluentBuilder { /* private fields */ }
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§
source§impl DeactivatePipelineFluentBuilder
impl DeactivatePipelineFluentBuilder
sourcepub fn as_input(&self) -> &DeactivatePipelineInputBuilder
pub fn as_input(&self) -> &DeactivatePipelineInputBuilder
Access the DeactivatePipeline as a reference.
sourcepub async fn send(
self
) -> Result<DeactivatePipelineOutput, SdkError<DeactivatePipelineError, HttpResponse>>
pub async fn send( self ) -> Result<DeactivatePipelineOutput, SdkError<DeactivatePipelineError, HttpResponse>>
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.
sourcepub fn customize(
self
) -> CustomizableOperation<DeactivatePipelineOutput, DeactivatePipelineError, Self>
pub fn customize( self ) -> CustomizableOperation<DeactivatePipelineOutput, DeactivatePipelineError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn pipeline_id(self, input: impl Into<String>) -> Self
pub fn pipeline_id(self, input: impl Into<String>) -> Self
The ID of the pipeline.
sourcepub fn set_pipeline_id(self, input: Option<String>) -> Self
pub fn set_pipeline_id(self, input: Option<String>) -> Self
The ID of the pipeline.
sourcepub fn get_pipeline_id(&self) -> &Option<String>
pub fn get_pipeline_id(&self) -> &Option<String>
The ID of the pipeline.
sourcepub fn cancel_active(self, input: bool) -> Self
pub fn cancel_active(self, input: bool) -> Self
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.
sourcepub fn set_cancel_active(self, input: Option<bool>) -> Self
pub fn set_cancel_active(self, input: Option<bool>) -> Self
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.
sourcepub fn get_cancel_active(&self) -> &Option<bool>
pub fn get_cancel_active(&self) -> &Option<bool>
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§
source§impl Clone for DeactivatePipelineFluentBuilder
impl Clone for DeactivatePipelineFluentBuilder
source§fn clone(&self) -> DeactivatePipelineFluentBuilder
fn clone(&self) -> DeactivatePipelineFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more