Struct rusoto_cognito_idp::ConfirmSignUpRequest
[−]
[src]
pub struct ConfirmSignUpRequest { pub client_id: String, pub confirmation_code: String, pub force_alias_creation: Option<bool>, pub secret_hash: Option<String>, pub username: String, }
Represents the request to confirm registration of a user.
Fields
client_id: String
The ID of the app client associated with the user pool.
confirmation_code: String
The confirmation code sent by a user's request to confirm registration.
force_alias_creation: Option<bool>
Boolean to be specified to force user confirmation irrespective of existing alias. By default set to False
. If this parameter is set to True
and the phone number/email used for sign up confirmation already exists as an alias with a different user, the API call will migrate the alias from the previous user to the newly created user being confirmed. If set to False
, the API will throw an AliasExistsException error.
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.
username: String
The user name of the user whose registration you wish to confirm.
Trait Implementations
impl Default for ConfirmSignUpRequest
[src]
fn default() -> ConfirmSignUpRequest
[src]
Returns the "default value" for a type. Read more
impl Debug for ConfirmSignUpRequest
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for ConfirmSignUpRequest
[src]
fn clone(&self) -> ConfirmSignUpRequest
[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