aws_sdk_databasemigration/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:
    ///   - [`endpoint_arn(impl Into<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::endpoint_arn) / [`set_endpoint_arn(Option<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::set_endpoint_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) string that uniquely identifies the endpoint.</p><br>
    ///   - [`replication_instance_arn(impl Into<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::replication_instance_arn) / [`set_replication_instance_arn(Option<String>)`](crate::operation::delete_connection::builders::DeleteConnectionFluentBuilder::set_replication_instance_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the replication instance.</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 connection that is being deleted.</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())
    }
}