Class: Aws::SNS::Types::SMSSandboxPhoneNumber

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sns/types.rb

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*.

[1]: docs.aws.amazon.com/sns/latest/dg/sns-sms-sandbox.html

Constant Summary collapse

SENSITIVE =
[:phone_number]

Instance Attribute Summary collapse

Instance Attribute Details

#phone_numberString

The destination phone number.

Returns:

  • (String)


2158
2159
2160
2161
2162
2163
# File 'lib/aws-sdk-sns/types.rb', line 2158

class SMSSandboxPhoneNumber < Struct.new(
  :phone_number,
  :status)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end

#statusString

The destination phone number’s verification status.

Returns:

  • (String)


2158
2159
2160
2161
2162
2163
# File 'lib/aws-sdk-sns/types.rb', line 2158

class SMSSandboxPhoneNumber < Struct.new(
  :phone_number,
  :status)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end