class Amazonite::Sns::SMSSandboxPhoneNumber

Overview

A verified or pending destination phone number in the SMS sandbox.

When you start using Amazon SNS to send SMS messages, your Amazon Web Services account is in the SMS sandbox. The SMS sandbox provides a safe environment for you to try Amazon SNS features without risking your reputation as an SMS sender. While your Amazon Web Services account is in the SMS sandbox, you can use all of the features of Amazon SNS. However, you can send SMS messages only to verified destination phone numbers. For more information, including how to move out of the sandbox to send messages without restrictions, see SMS sandbox in the Amazon SNS Developer Guide.

Defined in:

sns/sms_sandbox_phone_number.cr

Constructors

Instance Method Summary

Constructor Detail

def self.from_xml(node : XML::Node) : self #

[View source]
def self.new(phone_number : String | Nil = nil, status : SMSSandboxPhoneNumberVerificationStatus | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def phone_number : String | Nil #

The destination phone number.


[View source]
def phone_number=(phone_number : String | Nil) #

The destination phone number.


[View source]

The destination phone number's verification status.


[View source]
def status=(status : SMSSandboxPhoneNumberVerificationStatus | Nil) #

The destination phone number's verification status.


[View source]
def to_query_params(prefix : String) : Array(Tuple(String, String)) #

[View source]
def validate! : Nil #

[View source]