pub struct UpdateAccountPasswordPolicyRequest {
pub allow_users_to_change_password: Option<bool>,
pub hard_expiry: Option<bool>,
pub max_password_age: Option<i64>,
pub minimum_password_length: Option<i64>,
pub password_reuse_prevention: Option<i64>,
pub require_lowercase_characters: Option<bool>,
pub require_numbers: Option<bool>,
pub require_symbols: Option<bool>,
pub require_uppercase_characters: Option<bool>,
}
Fields
allow_users_to_change_password: Option<bool>
Allows all IAM users in your account to use the AWS Management Console to change their own passwords. For more information, see Letting IAM users change their own passwords in the IAM User Guide.
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users in the account do not automatically have permissions to change their own password.
hard_expiry: Option<bool>
Prevents IAM users from setting a new password after their password has expired. The IAM user cannot be accessed until an administrator resets the password.
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that IAM users can change their passwords after they expire and continue to sign in as the user.
max_password_age: Option<i64>
The number of days that an IAM user password is valid.
If you do not specify a value for this parameter, then the operation uses the default value of 0
. The result is that IAM user passwords never expire.
minimum_password_length: Option<i64>
The minimum number of characters allowed in an IAM user password.
If you do not specify a value for this parameter, then the operation uses the default value of 6
.
password_reuse_prevention: Option<i64>
Specifies the number of previous passwords that IAM users are prevented from reusing.
If you do not specify a value for this parameter, then the operation uses the default value of 0
. The result is that IAM users are not prevented from reusing previous passwords.
require_lowercase_characters: Option<bool>
Specifies whether IAM user passwords must contain at least one lowercase character from the ISO basic Latin alphabet (a to z).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one lowercase character.
require_numbers: Option<bool>
Specifies whether IAM user passwords must contain at least one numeric character (0 to 9).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one numeric character.
require_symbols: Option<bool>
Specifies whether IAM user passwords must contain at least one of the following non-alphanumeric characters:
! @ # $ % ^ & * ( ) _ + - = [ ] { } | '
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one symbol character.
require_uppercase_characters: Option<bool>
Specifies whether IAM user passwords must contain at least one uppercase character from the ISO basic Latin alphabet (A to Z).
If you do not specify a value for this parameter, then the operation uses the default value of false
. The result is that passwords do not require at least one uppercase character.
Trait Implementations
sourceimpl Clone for UpdateAccountPasswordPolicyRequest
impl Clone for UpdateAccountPasswordPolicyRequest
sourcefn clone(&self) -> UpdateAccountPasswordPolicyRequest
fn clone(&self) -> UpdateAccountPasswordPolicyRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for UpdateAccountPasswordPolicyRequest
impl Default for UpdateAccountPasswordPolicyRequest
sourcefn default() -> UpdateAccountPasswordPolicyRequest
fn default() -> UpdateAccountPasswordPolicyRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<UpdateAccountPasswordPolicyRequest> for UpdateAccountPasswordPolicyRequest
impl PartialEq<UpdateAccountPasswordPolicyRequest> for UpdateAccountPasswordPolicyRequest
sourcefn eq(&self, other: &UpdateAccountPasswordPolicyRequest) -> bool
fn eq(&self, other: &UpdateAccountPasswordPolicyRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &UpdateAccountPasswordPolicyRequest) -> bool
fn ne(&self, other: &UpdateAccountPasswordPolicyRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for UpdateAccountPasswordPolicyRequest
Auto Trait Implementations
impl RefUnwindSafe for UpdateAccountPasswordPolicyRequest
impl Send for UpdateAccountPasswordPolicyRequest
impl Sync for UpdateAccountPasswordPolicyRequest
impl Unpin for UpdateAccountPasswordPolicyRequest
impl UnwindSafe for UpdateAccountPasswordPolicyRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more