Struct aws_sdk_iam::input::CreateLoginProfileInput [−][src]
#[non_exhaustive]pub struct CreateLoginProfileInput {
pub user_name: Option<String>,
pub password: Option<String>,
pub password_reset_required: bool,
}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 name of the IAM user to create a password for. The user must already exist.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
password: Option<String>The new password for the user.
The regex pattern
that is used to validate this parameter is a string of characters. That string can include almost any printable
ASCII character from the space (\u0020) through the end of the ASCII character range (\u00FF).
You can also include the tab (\u0009), line feed (\u000A), and carriage return (\u000D)
characters. Any of these characters are valid in a password. However, many tools, such
as the Amazon Web Services Management Console, might restrict the ability to type certain characters because they have
special meaning within that tool.
password_reset_required: boolSpecifies whether the user is required to set a new password on next sign-in.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLoginProfile, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<CreateLoginProfile, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<CreateLoginProfile>
Creates a new builder-style object to manufacture CreateLoginProfileInput
The name of the IAM user to create a password for. The user must already exist.
This parameter allows (through its regex pattern) a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: _+=,.@-
The new password for the user.
The regex pattern
that is used to validate this parameter is a string of characters. That string can include almost any printable
ASCII character from the space (\u0020) through the end of the ASCII character range (\u00FF).
You can also include the tab (\u0009), line feed (\u000A), and carriage return (\u000D)
characters. Any of these characters are valid in a password. However, many tools, such
as the Amazon Web Services Management Console, might restrict the ability to type certain characters because they have
special meaning within that tool.
Specifies whether the user is required to set a new password on next sign-in.
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 CreateLoginProfileInput
impl Send for CreateLoginProfileInput
impl Sync for CreateLoginProfileInput
impl Unpin for CreateLoginProfileInput
impl UnwindSafe for CreateLoginProfileInput
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