aws_sdk_opensearch/client/
delete_outbound_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 [`DeleteOutboundConnection`](crate::operation::delete_outbound_connection::builders::DeleteOutboundConnectionFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`connection_id(impl Into<String>)`](crate::operation::delete_outbound_connection::builders::DeleteOutboundConnectionFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::delete_outbound_connection::builders::DeleteOutboundConnectionFluentBuilder::set_connection_id):<br>required: **true**<br><p>The ID of the outbound connection you want to permanently delete.</p><br>
7    /// - On success, responds with [`DeleteOutboundConnectionOutput`](crate::operation::delete_outbound_connection::DeleteOutboundConnectionOutput) with field(s):
8    ///   - [`connection(Option<OutboundConnection>)`](crate::operation::delete_outbound_connection::DeleteOutboundConnectionOutput::connection): <p>The deleted inbound connection.</p>
9    /// - On failure, responds with [`SdkError<DeleteOutboundConnectionError>`](crate::operation::delete_outbound_connection::DeleteOutboundConnectionError)
10    pub fn delete_outbound_connection(&self) -> crate::operation::delete_outbound_connection::builders::DeleteOutboundConnectionFluentBuilder {
11        crate::operation::delete_outbound_connection::builders::DeleteOutboundConnectionFluentBuilder::new(self.handle.clone())
12    }
13}