Struct aws_sdk_secretsmanager::input::GetRandomPasswordInput
source ·
[−]#[non_exhaustive]pub struct GetRandomPasswordInput {
pub password_length: Option<i64>,
pub exclude_characters: Option<String>,
pub exclude_numbers: Option<bool>,
pub exclude_punctuation: Option<bool>,
pub exclude_uppercase: Option<bool>,
pub exclude_lowercase: Option<bool>,
pub include_space: Option<bool>,
pub require_each_included_type: 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.password_length: Option<i64>
The length of the password. If you don't include this parameter, the default length is 32 characters.
exclude_characters: Option<String>
A string of the characters that you don't want in the password.
exclude_numbers: Option<bool>
Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.
exclude_punctuation: Option<bool>
Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
. If you don't include this switch, the password can contain punctuation.
exclude_uppercase: Option<bool>
Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.
exclude_lowercase: Option<bool>
Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.
include_space: Option<bool>
Specifies whether to include the space character. If you include this switch, the password can contain space characters.
require_each_included_type: Option<bool>
Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRandomPassword, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<GetRandomPassword, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<GetRandomPassword
>
Creates a new builder-style object to manufacture GetRandomPasswordInput
The length of the password. If you don't include this parameter, the default length is 32 characters.
A string of the characters that you don't want in the password.
Specifies whether to exclude numbers from the password. If you don't include this switch, the password can contain numbers.
Specifies whether to exclude the following punctuation characters from the password: ! " # $ % & ' ( ) * + , - . / : ; < = > ? @ [ \ ] ^ _ ` { | } ~
. If you don't include this switch, the password can contain punctuation.
Specifies whether to exclude uppercase letters from the password. If you don't include this switch, the password can contain uppercase letters.
Specifies whether to exclude lowercase letters from the password. If you don't include this switch, the password can contain lowercase letters.
Specifies whether to include the space character. If you include this switch, the password can contain space characters.
Specifies whether to include at least one upper and lowercase letter, one number, and one punctuation. If you don't include this switch, the password contains at least one of every character type.
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 GetRandomPasswordInput
impl Send for GetRandomPasswordInput
impl Sync for GetRandomPasswordInput
impl Unpin for GetRandomPasswordInput
impl UnwindSafe for GetRandomPasswordInput
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