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 [`EnableUser`](crate::operation::enable_user::builders::EnableUserFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`user_name(impl Into<String>)`](crate::operation::enable_user::builders::EnableUserFluentBuilder::user_name) / [`set_user_name(Option<String>)`](crate::operation::enable_user::builders::EnableUserFluentBuilder::set_user_name):<br>required: **true**<br><p>The email address of the user.</p><note>  <p>Users' email addresses are case-sensitive. During login, if they specify an email address that doesn't use the same capitalization as the email address specified when their user pool account was created, a "user does not exist" error message displays.</p> </note><br>
    ///   - [`authentication_type(AuthenticationType)`](crate::operation::enable_user::builders::EnableUserFluentBuilder::authentication_type) / [`set_authentication_type(Option<AuthenticationType>)`](crate::operation::enable_user::builders::EnableUserFluentBuilder::set_authentication_type):<br>required: **true**<br><p>The authentication type for the user. You must specify USERPOOL.</p><br>
    /// - On success, responds with [`EnableUserOutput`](crate::operation::enable_user::EnableUserOutput)
    /// - On failure, responds with [`SdkError<EnableUserError>`](crate::operation::enable_user::EnableUserError)
    pub fn enable_user(&self) -> crate::operation::enable_user::builders::EnableUserFluentBuilder {
        crate::operation::enable_user::builders::EnableUserFluentBuilder::new(self.handle.clone())
    }
}