1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`RejectInboundConnection`](crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    /// - On success, responds with [`RejectInboundConnectionOutput`](crate::operation::reject_inbound_connection::RejectInboundConnectionOutput) with field(s):
    ///   - [`connection(Option<InboundConnection>)`](crate::operation::reject_inbound_connection::RejectInboundConnectionOutput::connection): <p>Contains details about the rejected inbound connection.</p>
    /// - On failure, responds with [`SdkError<RejectInboundConnectionError>`](crate::operation::reject_inbound_connection::RejectInboundConnectionError)
    pub fn reject_inbound_connection(&self) -> crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder {
        crate::operation::reject_inbound_connection::builders::RejectInboundConnectionFluentBuilder::new(self.handle.clone())
    }
}