Skip to content

Create Verified Destination Number

pinpointsmsvoicev2_create_verified_destination_number R Documentation

You can only send messages to verified destination numbers when your account is in the sandbox

Description

You can only send messages to verified destination numbers when your account is in the sandbox. You can add up to 10 verified destination numbers.

Usage

pinpointsmsvoicev2_create_verified_destination_number(
  DestinationPhoneNumber, Tags, ClientToken)

Arguments

DestinationPhoneNumber

[required] The verified destination phone number, in E.164 format.

Tags

An array of tags (key and value pairs) to associate with the destination number.

ClientToken

Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don't specify a client token, a randomly generated token is used for the request to ensure idempotency.

Value

A list with the following syntax:

list(
  VerifiedDestinationNumberArn = "string",
  VerifiedDestinationNumberId = "string",
  DestinationPhoneNumber = "string",
  Status = "PENDING"|"VERIFIED",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  CreatedTimestamp = as.POSIXct(
    "2015-01-01"
  )
)

Request syntax

svc$create_verified_destination_number(
  DestinationPhoneNumber = "string",
  Tags = list(
    list(
      Key = "string",
      Value = "string"
    )
  ),
  ClientToken = "string"
)