Adds a destination phone number to an AWS account in the SMS sandbox and sends a one-time password (OTP) to that phone number.
Parameters |
Description |
const ARequest: ISNSCreateSMSSandboxPhoneNumberRequest |
A CreateSMSSandboxPhoneNumber request object. |
const APhoneNumber: string |
The destination phone number to verify. |
ALanguageCode: string = '' |
The language code used for sending the one-time password (OTP). |
Response containing CreateSMSSandboxPhoneNumber results.
Exceptions |
Description |
The user has been denied access to the requested resource. | |
One of the request parameters does not comply with the associated constraints. | |
One of the request parameters does not comply with the associated constraints. | |
Indicated the specified phone number has opted out of receiving SMS messages from your AWS account. | |
The request rate for this action has exceeded the limit for your AWS account. | |
Indicates that a request parameter does not comply with the associated constraints. |
Copyright © 2019-2021 Appercept Ltd. All rights reserved.
|