Struct aws_sdk_appstream::input::CreateUserInput
source · [−]#[non_exhaustive]pub struct CreateUserInput {
pub user_name: Option<String>,
pub message_action: Option<MessageAction>,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub authentication_type: Option<AuthenticationType>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.user_name: Option<String>The email address of the user.
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.
message_action: Option<MessageAction>The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
first_name: Option<String>The first name, or given name, of the user.
last_name: Option<String>The last name, or surname, of the user.
authentication_type: Option<AuthenticationType>The authentication type for the user. You must specify USERPOOL.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateUser, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateUser, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateUser>
Creates a new builder-style object to manufacture CreateUserInput
The email address of the user.
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.
The action to take for the welcome email that is sent to a user after the user is created in the user pool. If you specify SUPPRESS, no email is sent. If you specify RESEND, do not specify the first name or last name of the user. If the value is null, the email is sent.
The temporary password in the welcome email is valid for only 7 days. If users don’t set their passwords within 7 days, you must send them a new welcome email.
The first name, or given name, of the user.
The authentication type for the user. You must specify USERPOOL.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for CreateUserInput
impl Send for CreateUserInput
impl Sync for CreateUserInput
impl Unpin for CreateUserInput
impl UnwindSafe for CreateUserInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more