Skip to main content

aws_sdk_devopsagent/client/
delete_private_connection.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 [`DeletePrivateConnection`](crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`name(impl Into<String>)`](crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder::set_name):<br>required: **true**<br>The name of the Private Connection.<br>
7    /// - On success, responds with [`DeletePrivateConnectionOutput`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput) with field(s):
8    ///   - [`name(String)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::name): The name of the Private Connection.
9    ///   - [`status(PrivateConnectionStatus)`](crate::operation::delete_private_connection::DeletePrivateConnectionOutput::status): The status of the Private Connection.
10    /// - On failure, responds with [`SdkError<DeletePrivateConnectionError>`](crate::operation::delete_private_connection::DeletePrivateConnectionError)
11    pub fn delete_private_connection(&self) -> crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder {
12        crate::operation::delete_private_connection::builders::DeletePrivateConnectionFluentBuilder::new(self.handle.clone())
13    }
14}