aws_sdk_datazone/client/
delete_connection.rs

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:
    ///   - [`domain_identifier(impl Into<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::domain_identifier) / [`set_domain_identifier(Option<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::set_domain_identifier):<br>required: **true**<br><p>The ID of the domain where the connection is deleted.</p><br>
    ///   - [`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 ID of the connection that is deleted.</p><br>
    /// - On success, responds with [`DeleteConnectionOutput`](crate::operation::delete_connection::DeleteConnectionOutput) with field(s):
    ///   - [`status(Option<String>)`](crate::operation::delete_connection::DeleteConnectionOutput::status): <p>The status of the action.</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())
    }
}