aws_sdk_datazone/client/
delete_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 [`DeleteConnection`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`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>
7    ///   - [`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>
8    /// - On success, responds with [`DeleteConnectionOutput`](crate::operation::delete_connection::DeleteConnectionOutput) with field(s):
9    ///   - [`status(Option<String>)`](crate::operation::delete_connection::DeleteConnectionOutput::status): <p>The status of the action.</p>
10    /// - On failure, responds with [`SdkError<DeleteConnectionError>`](crate::operation::delete_connection::DeleteConnectionError)
11    pub fn delete_connection(&self) -> crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder {
12        crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::new(self.handle.clone())
13    }
14}