You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::CognitoIdentityProvider::Types::ConfirmSignUpRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing ConfirmSignUpRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  client_id: "ClientIdType", # required
  secret_hash: "SecretHashType",
  username: "UsernameType", # required
  confirmation_code: "ConfirmationCodeType", # required
  force_alias_creation: false,
}

Represents the request to confirm registration of a user.

Instance Attribute Summary collapse

Instance Attribute Details

#client_idString

The ID of the app client associated with the user pool.

Returns:

  • (String)

    The ID of the app client associated with the user pool.

#confirmation_codeString

The confirmation code sent by a user\'s request to confirm registration.

Returns:

  • (String)

    The confirmation code sent by a user\'s request to confirm registration.

#force_alias_creationBoolean

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.

Returns:

  • (Boolean)

    Boolean to be specified to force user confirmation irrespective of existing alias.

#secret_hashString

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.

Returns:

  • (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.

#usernameString

The user name of the user whose registration you wish to confirm.

Returns:

  • (String)

    The user name of the user whose registration you wish to confirm.