aws-sdk-interconnect 1.1.0

AWS SDK for Interconnect
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteConnection`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`identifier(impl Into<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::set_identifier):<br>required: **true**<br><p>The identifier of the <code>Connection</code> to be deleted.</p><br>
    ///   - [`client_token(impl Into<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::client_token) / [`set_client_token(Option<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::set_client_token):<br>required: **false**<br><p>Idempotency token used for the request.</p><br>
    /// - On success, responds with [`DeleteConnectionOutput`](crate::operation::delete_connection::DeleteConnectionOutput) with field(s):
    ///   - [`connection(Option<Connection>)`](crate::operation::delete_connection::DeleteConnectionOutput::connection): <p>The <code>Connection</code> object that has been marked for deletion.</p>
    /// - On failure, responds with [`SdkError<DeleteConnectionError>`](crate::operation::delete_connection::DeleteConnectionError)
    pub fn delete_connection(&self) -> crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder {
        crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::new(self.handle.clone())
    }
}