Confirms registration of a user and handles the existing alias from a previous user.
cognitoidentityprovider_confirm_sign_up(ClientId, SecretHash, Username,
ConfirmationCode, ForceAliasCreation, AnalyticsMetadata,
UserContextData)
[required] The ID of the app client associated with the user pool.
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.
[required] The user name of the user whose registration you wish to confirm.
[required] The confirmation code sent by a user's request to confirm registration.
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.
The Amazon Pinpoint analytics metadata for collecting metrics for
ConfirmSignUp
calls.
Contextual data such as the user's device fingerprint, IP address, or location used for evaluating the risk of an unexpected event by Amazon Cognito advanced security.
svc$confirm_sign_up( ClientId = "string", SecretHash = "string", Username = "string", ConfirmationCode = "string", ForceAliasCreation = TRUE|FALSE, AnalyticsMetadata = list( AnalyticsEndpointId = "string" ), UserContextData = list( EncodedData = "string" ) )