Struct aws_sdk_iam::input::ChangePasswordInput [−][src]
#[non_exhaustive]pub struct ChangePasswordInput {
pub old_password: Option<String>,
pub new_password: Option<String>,
}
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.old_password: Option<String>
The IAM user's current password.
new_password: Option<String>
The new password. The new password must conform to the Amazon Web Services account's password policy, if one exists.
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.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ChangePassword, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<ChangePassword, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<ChangePassword
>
Creates a new builder-style object to manufacture ChangePasswordInput
The IAM user's current password.
The new password. The new password must conform to the Amazon Web Services account's password policy, if one exists.
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.
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 ChangePasswordInput
impl Send for ChangePasswordInput
impl Sync for ChangePasswordInput
impl Unpin for ChangePasswordInput
impl UnwindSafe for ChangePasswordInput
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