Struct aws_sdk_sagemaker::client::fluent_builders::DeletePipeline
source · pub struct DeletePipeline { /* private fields */ }
Expand description
Fluent builder constructing a request to DeletePipeline
.
Deletes a pipeline if there are no running instances of the pipeline. To delete a pipeline, you must stop all running instances of the pipeline using the StopPipelineExecution
API. When you delete a pipeline, all instances of the pipeline are deleted.
Implementations§
source§impl 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_name(self, input: impl Into<String>) -> Self
pub fn pipeline_name(self, input: impl Into<String>) -> Self
The name of the pipeline to delete.
sourcepub fn set_pipeline_name(self, input: Option<String>) -> Self
pub fn set_pipeline_name(self, input: Option<String>) -> Self
The name of the pipeline to delete.
sourcepub fn client_request_token(self, input: impl Into<String>) -> Self
pub fn client_request_token(self, input: impl Into<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
sourcepub fn set_client_request_token(self, input: Option<String>) -> Self
pub fn set_client_request_token(self, input: Option<String>) -> Self
A unique, case-sensitive identifier that you provide to ensure the idempotency of the operation. An idempotent operation completes no more than one time.
Trait Implementations§
source§impl Clone for DeletePipeline
impl Clone for DeletePipeline
source§fn clone(&self) -> DeletePipeline
fn clone(&self) -> DeletePipeline
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more