Struct aws_sdk_iam::operation::change_password::ChangePasswordInput
source · #[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§
source§impl ChangePasswordInput
impl ChangePasswordInput
sourcepub fn old_password(&self) -> Option<&str>
pub fn old_password(&self) -> Option<&str>
The IAM user's current password.
sourcepub fn new_password(&self) -> Option<&str>
pub fn new_password(&self) -> Option<&str>
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.
source§impl ChangePasswordInput
impl ChangePasswordInput
sourcepub fn builder() -> ChangePasswordInputBuilder
pub fn builder() -> ChangePasswordInputBuilder
Creates a new builder-style object to manufacture ChangePasswordInput
.
Trait Implementations§
source§impl Clone for ChangePasswordInput
impl Clone for ChangePasswordInput
source§fn clone(&self) -> ChangePasswordInput
fn clone(&self) -> ChangePasswordInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChangePasswordInput
impl Debug for ChangePasswordInput
source§impl PartialEq for ChangePasswordInput
impl PartialEq for ChangePasswordInput
source§fn eq(&self, other: &ChangePasswordInput) -> bool
fn eq(&self, other: &ChangePasswordInput) -> bool
self
and other
values to be equal, and is used
by ==
.