Struct aws_sdk_datapipeline::client::fluent_builders::DeletePipeline
source · [−]pub struct DeletePipeline { /* private fields */ }
Expand description
Fluent builder constructing a request to DeletePipeline
.
Deletes a pipeline, its pipeline definition, and its run history. AWS Data Pipeline attempts to cancel instances associated with the pipeline that are currently being processed by task runners.
Deleting a pipeline cannot be undone. You cannot query or restore a deleted pipeline. To temporarily pause a pipeline instead of deleting it, call SetStatus
with the status set to PAUSE
on individual components. Components that are paused by SetStatus
can be resumed.
Implementations
sourceimpl DeletePipeline
impl DeletePipeline
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeletePipeline, AwsResponseRetryClassifier>, SdkError<DeletePipelineError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<DeletePipeline, AwsResponseRetryClassifier>, SdkError<DeletePipelineError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<DeletePipelineOutput, SdkError<DeletePipelineError>>
pub async fn send(
self
) -> Result<DeletePipelineOutput, SdkError<DeletePipelineError>>
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 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.
Trait Implementations
sourceimpl Clone for DeletePipeline
impl Clone for DeletePipeline
sourcefn clone(&self) -> DeletePipeline
fn clone(&self) -> DeletePipeline
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more