aws_sdk_appstream/client/enable_user.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`EnableUser`](crate::operation::enable_user::builders::EnableUserFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - [`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>
8 /// - On success, responds with [`EnableUserOutput`](crate::operation::enable_user::EnableUserOutput)
9 /// - On failure, responds with [`SdkError<EnableUserError>`](crate::operation::enable_user::EnableUserError)
10 pub fn enable_user(&self) -> crate::operation::enable_user::builders::EnableUserFluentBuilder {
11 crate::operation::enable_user::builders::EnableUserFluentBuilder::new(self.handle.clone())
12 }
13}