aws_sdk_glue/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    ///   - [`catalog_id(impl Into<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::catalog_id) / [`set_catalog_id(Option<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::set_catalog_id):<br>required: **false**<br><p>The ID of the Data Catalog in which the connection resides. If none is provided, the Amazon Web Services account ID is used by default.</p><br>
7    ///   - [`connection_name(impl Into<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::connection_name) / [`set_connection_name(Option<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::set_connection_name):<br>required: **true**<br><p>The name of the connection to delete.</p><br>
8    /// - On success, responds with [`DeleteConnectionOutput`](crate::operation::delete_connection::DeleteConnectionOutput)
9    /// - On failure, responds with [`SdkError<DeleteConnectionError>`](crate::operation::delete_connection::DeleteConnectionError)
10    pub fn delete_connection(&self) -> crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder {
11        crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::new(self.handle.clone())
12    }
13}