Before you can send test messages to a verified destination phone number you need to opt-in the verified destination phone number
Source:R/pinpointsmsvoicev2_operations.R
pinpointsmsvoicev2_send_destination_number_verification_code.RdBefore you can send test messages to a verified destination phone number you need to opt-in the verified destination phone number. Creates a new text message with a verification code and send it to a verified destination phone number. Once you have the verification code use verify_destination_number to opt-in the verified destination phone number to receive messages.
See https://www.paws-r-sdk.com/docs/pinpointsmsvoicev2_send_destination_number_verification_code/ for full documentation.
Usage
pinpointsmsvoicev2_send_destination_number_verification_code(
VerifiedDestinationNumberId,
VerificationChannel,
LanguageCode = NULL,
OriginationIdentity = NULL,
ConfigurationSetName = NULL,
Context = NULL,
DestinationCountryParameters = NULL
)Arguments
- VerifiedDestinationNumberId
[required] The unique identifier for the verified destination phone number.
- VerificationChannel
[required] Choose to send the verification code as an SMS or voice message.
- LanguageCode
Choose the language to use for the message.
- OriginationIdentity
The origination identity of the message. This can be either the PhoneNumber, PhoneNumberId, PhoneNumberArn, SenderId, SenderIdArn, PoolId, or PoolArn.
If you are using a shared End User Messaging SMS resource then you must use the full Amazon Resource Name(ARN).
- ConfigurationSetName
The name of the configuration set to use. This can be either the ConfigurationSetName or ConfigurationSetArn.
- Context
You can specify custom data in this field. If you do, that data is logged to the event destination.
- DestinationCountryParameters
This field is used for any country-specific registration requirements. Currently, this setting is only used when you send messages to recipients in India using a sender ID. For more information see Special requirements for sending SMS messages to recipients in India.