1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeauthorizeConnection`](crate::operation::deauthorize_connection::builders::DeauthorizeConnectionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`name(impl Into<String>)`](crate::operation::deauthorize_connection::builders::DeauthorizeConnectionFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::deauthorize_connection::builders::DeauthorizeConnectionFluentBuilder::set_name):<br>required: **true**<br><p>The name of the connection to remove authorization from.</p><br>
    /// - On success, responds with [`DeauthorizeConnectionOutput`](crate::operation::deauthorize_connection::DeauthorizeConnectionOutput) with field(s):
    ///   - [`connection_arn(Option<String>)`](crate::operation::deauthorize_connection::DeauthorizeConnectionOutput::connection_arn): <p>The ARN of the connection that authorization was removed from.</p>
    ///   - [`connection_state(Option<ConnectionState>)`](crate::operation::deauthorize_connection::DeauthorizeConnectionOutput::connection_state): <p>The state of the connection.</p>
    ///   - [`creation_time(Option<DateTime>)`](crate::operation::deauthorize_connection::DeauthorizeConnectionOutput::creation_time): <p>A time stamp for the time that the connection was created.</p>
    ///   - [`last_modified_time(Option<DateTime>)`](crate::operation::deauthorize_connection::DeauthorizeConnectionOutput::last_modified_time): <p>A time stamp for the time that the connection was last updated.</p>
    ///   - [`last_authorized_time(Option<DateTime>)`](crate::operation::deauthorize_connection::DeauthorizeConnectionOutput::last_authorized_time): <p>A time stamp for the time that the connection was last authorized.</p>
    /// - On failure, responds with [`SdkError<DeauthorizeConnectionError>`](crate::operation::deauthorize_connection::DeauthorizeConnectionError)
    pub fn deauthorize_connection(&self) -> crate::operation::deauthorize_connection::builders::DeauthorizeConnectionFluentBuilder {
        crate::operation::deauthorize_connection::builders::DeauthorizeConnectionFluentBuilder::new(self.handle.clone())
    }
}