RequestPhoneNumberRequest

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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.

Link copied to clipboard

By default this is set to false. When set to true the phone number can't be deleted.

Link copied to clipboard

The two-character code, in ISO 3166-1 alpha-2 format, for the country or region.

Link copied to clipboard

The type of message. Valid values are TRANSACTIONAL for messages that are critical or time-sensitive and PROMOTIONAL for messages that aren't critical or time-sensitive.

Link copied to clipboard

Indicates if the phone number will be used for text messages, voice messages, or both.

Link copied to clipboard

The type of phone number to request.

Link copied to clipboard

The name of the OptOutList to associate with the phone number. You can use the OptOutListName or OptOutListArn.

Link copied to clipboard

The pool to associated with the phone number. You can use the PoolId or PoolArn.

Link copied to clipboard

Use this field to attach your phone number for an external registration process.

Link copied to clipboard
val tags: List<Tag>?

An array of tags (key and value pairs) associate with the requested phone number.

Functions

Link copied to clipboard
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String