aws_sdk_opensearch/client/accept_inbound_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 [`AcceptInboundConnection`](crate::operation::accept_inbound_connection::builders::AcceptInboundConnectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`connection_id(impl Into<String>)`](crate::operation::accept_inbound_connection::builders::AcceptInboundConnectionFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::accept_inbound_connection::builders::AcceptInboundConnectionFluentBuilder::set_connection_id):<br>required: **true**<br><p>The ID of the inbound connection to accept.</p><br>
7 /// - On success, responds with [`AcceptInboundConnectionOutput`](crate::operation::accept_inbound_connection::AcceptInboundConnectionOutput) with field(s):
8 /// - [`connection(Option<InboundConnection>)`](crate::operation::accept_inbound_connection::AcceptInboundConnectionOutput::connection): <p>Information about the accepted inbound connection.</p>
9 /// - On failure, responds with [`SdkError<AcceptInboundConnectionError>`](crate::operation::accept_inbound_connection::AcceptInboundConnectionError)
10 pub fn accept_inbound_connection(&self) -> crate::operation::accept_inbound_connection::builders::AcceptInboundConnectionFluentBuilder {
11 crate::operation::accept_inbound_connection::builders::AcceptInboundConnectionFluentBuilder::new(self.handle.clone())
12 }
13}