1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeConnection`](crate::operation::describe_connection::builders::DescribeConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::describe_connection::builders::DescribeConnectionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::describe_connection::builders::DescribeConnectionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the connection to retrieve.</p><br>
    /// - On success, responds with [`DescribeConnectionOutput`](crate::operation::describe_connection::DescribeConnectionOutput) with field(s):
    ///   - [`connection_arn(Option<String>)`](crate::operation::describe_connection::DescribeConnectionOutput::connection_arn): <p>The ARN of the connection retrieved.</p>
    ///   - [`name(Option<String>)`](crate::operation::describe_connection::DescribeConnectionOutput::name): <p>The name of the connection retrieved.</p>
    ///   - [`description(Option<String>)`](crate::operation::describe_connection::DescribeConnectionOutput::description): <p>The description for the connection retrieved.</p>
    ///   - [`connection_state(Option<ConnectionState>)`](crate::operation::describe_connection::DescribeConnectionOutput::connection_state): <p>The state of the connection retrieved.</p>
    ///   - [`state_reason(Option<String>)`](crate::operation::describe_connection::DescribeConnectionOutput::state_reason): <p>The reason that the connection is in the current connection state.</p>
    ///   - [`authorization_type(Option<ConnectionAuthorizationType>)`](crate::operation::describe_connection::DescribeConnectionOutput::authorization_type): <p>The type of authorization specified for the connection.</p>
    ///   - [`secret_arn(Option<String>)`](crate::operation::describe_connection::DescribeConnectionOutput::secret_arn): <p>The ARN of the secret created from the authorization parameters specified for the connection.</p>
    ///   - [`auth_parameters(Option<ConnectionAuthResponseParameters>)`](crate::operation::describe_connection::DescribeConnectionOutput::auth_parameters): <p>The parameters to use for authorization for the connection.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::describe_connection::DescribeConnectionOutput::creation_time): <p>A time stamp for the time that the connection was created.</p>
    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::describe_connection::DescribeConnectionOutput::last_modified_time): <p>A time stamp for the time that the connection was last modified.</p>
    ///   - [`last_authorized_time(Option<DateTime>)`](crate::operation::describe_connection::DescribeConnectionOutput::last_authorized_time): <p>A time stamp for the time that the connection was last authorized.</p>
    /// - On failure, responds with [`SdkError<DescribeConnectionError>`](crate::operation::describe_connection::DescribeConnectionError)
    pub fn describe_connection(&self) -> crate::operation::describe_connection::builders::DescribeConnectionFluentBuilder {
        crate::operation::describe_connection::builders::DescribeConnectionFluentBuilder::new(self.handle.clone())
    }
}