Struct aws_sdk_iam::input::UpdateLoginProfileInput [−][src]
#[non_exhaustive]pub struct UpdateLoginProfileInput {
pub user_name: Option<String>,
pub password: Option<String>,
pub password_reset_required: Option<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 user whose password you want to update.
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 specified IAM user.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
-
Any printable ASCII character ranging from the space character (
\u0020) through the end of the ASCII character range -
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
\u00FF) -
The special characters tab (
\u0009), line feed (\u000A), and carriage return (\u000D)
However, the format can be further restricted by the account administrator by setting a password policy on the Amazon Web Services account. For more information, see UpdateAccountPasswordPolicy.
password_reset_required: Option<bool>Allows this new password to be used only once by requiring the specified IAM user to set a new password on next sign-in.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLoginProfile, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<UpdateLoginProfile, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<UpdateLoginProfile>
Creates a new builder-style object to manufacture UpdateLoginProfileInput
The name of the user whose password you want to update.
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 specified IAM user.
The regex pattern used to validate this parameter is a string of characters consisting of the following:
-
Any printable ASCII character ranging from the space character (
\u0020) through the end of the ASCII character range -
The printable characters in the Basic Latin and Latin-1 Supplement character set (through
\u00FF) -
The special characters tab (
\u0009), line feed (\u000A), and carriage return (\u000D)
However, the format can be further restricted by the account administrator by setting a password policy on the Amazon Web Services account. For more information, see UpdateAccountPasswordPolicy.
Allows this new password to be used only once by requiring the specified IAM user 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 UpdateLoginProfileInput
impl Send for UpdateLoginProfileInput
impl Sync for UpdateLoginProfileInput
impl Unpin for UpdateLoginProfileInput
impl UnwindSafe for UpdateLoginProfileInput
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