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 [`DisableUser`](crate::operation::disable_user::builders::DisableUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_name(impl Into<String>)`](crate::operation::disable_user::builders::DisableUserFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::disable_user::builders::DisableUserFluentBuilder::set_user_name):<br>required: **true**<br><p>The email address of the user.</p> <note>   <p>Users' email addresses are case-sensitive.</p>  </note><br>
    ///   - [`authentication_type(AuthenticationType)`](crate::operation::disable_user::builders::DisableUserFluentBuilder::authentication_type) / [`set_authentication_type(Option<AuthenticationType>)`](crate::operation::disable_user::builders::DisableUserFluentBuilder::set_authentication_type):<br>required: **true**<br><p>The authentication type for the user. You must specify USERPOOL.</p><br>
    /// - On success, responds with [`DisableUserOutput`](crate::operation::disable_user::DisableUserOutput)
    /// - On failure, responds with [`SdkError<DisableUserError>`](crate::operation::disable_user::DisableUserError)
    pub fn disable_user(&self) -> crate::operation::disable_user::builders::DisableUserFluentBuilder {
        crate::operation::disable_user::builders::DisableUserFluentBuilder::new(self.handle.clone())
    }
}