aws_sdk_opensearch/client/reject_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 [`RejectInboundConnection`](crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`connection_id(impl Into<String>)`](crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder::connection_id) / [`set_connection_id(Option<String>)`](crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder::set_connection_id):<br>required: **true**<br><p>The unique identifier of the inbound connection to reject.</p><br>
7 /// - On success, responds with [`RejectInboundConnectionOutput`](crate::operation::reject_inbound_connection::RejectInboundConnectionOutput) with field(s):
8 /// - [`connection(Option<InboundConnection>)`](crate::operation::reject_inbound_connection::RejectInboundConnectionOutput::connection): <p>Contains details about the rejected inbound connection.</p>
9 /// - On failure, responds with [`SdkError<RejectInboundConnectionError>`](crate::operation::reject_inbound_connection::RejectInboundConnectionError)
10 pub fn reject_inbound_connection(&self) -> crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder {
11 crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder::new(self.handle.clone())
12 }
13}