aws_sdk_pipes/client/
delete_pipe.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`DeletePipe`](crate::operation::delete_pipe::builders::DeletePipeFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_pipe::builders::DeletePipeFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_pipe::builders::DeletePipeFluentBuilder::set_name):<br>required: **true**<br><p>The name of the pipe.</p><br>
7    /// - On success, responds with [`DeletePipeOutput`](crate::operation::delete_pipe::DeletePipeOutput) with field(s):
8    ///   - [`arn(Option<String>)`](crate::operation::delete_pipe::DeletePipeOutput::arn): <p>The ARN of the pipe.</p>
9    ///   - [`name(Option<String>)`](crate::operation::delete_pipe::DeletePipeOutput::name): <p>The name of the pipe.</p>
10    ///   - [`desired_state(Option<RequestedPipeStateDescribeResponse>)`](crate::operation::delete_pipe::DeletePipeOutput::desired_state): <p>The state the pipe should be in.</p>
11    ///   - [`current_state(Option<PipeState>)`](crate::operation::delete_pipe::DeletePipeOutput::current_state): <p>The state the pipe is in.</p>
12    ///   - [`creation_time(Option<DateTime>)`](crate::operation::delete_pipe::DeletePipeOutput::creation_time): <p>The time the pipe was created.</p>
13    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::delete_pipe::DeletePipeOutput::last_modified_time): <p>When the pipe was last updated, in <a href="https://www.w3.org/TR/NOTE-datetime">ISO-8601 format</a> (YYYY-MM-DDThh:mm:ss.sTZD).</p>
14    /// - On failure, responds with [`SdkError<DeletePipeError>`](crate::operation::delete_pipe::DeletePipeError)
15    pub fn delete_pipe(&self) -> crate::operation::delete_pipe::builders::DeletePipeFluentBuilder {
16        crate::operation::delete_pipe::builders::DeletePipeFluentBuilder::new(self.handle.clone())
17    }
18}