Struct rusoto_cognito_idp::SignUpRequest
[−]
[src]
pub struct SignUpRequest { pub client_id: String, pub password: String, pub secret_hash: Option<String>, pub user_attributes: Option<Vec<AttributeType>>, pub username: String, pub validation_data: Option<Vec<AttributeType>>, }
Represents the request to register a user.
Fields
client_id: String
The ID of the client associated with the user pool.
password: String
The password of the user you wish to register.
secret_hash: Option<String>
A keyed-hash message authentication code (HMAC) calculated using the secret key of a user pool client and username plus the client ID in the message.
user_attributes: Option<Vec<AttributeType>>
An array of name-value pairs representing user attributes.
For custom attributes, you must prepend the custom:
prefix to the attribute name.
username: String
The user name of the user you wish to register.
validation_data: Option<Vec<AttributeType>>
The validation data in the request to register a user.
Trait Implementations
impl Default for SignUpRequest
[src]
fn default() -> SignUpRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for SignUpRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for SignUpRequest
[src]
fn clone(&self) -> SignUpRequest
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more