Class: Aws::SNS::Types::CreateSMSSandboxPhoneNumberInput

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

Overview

Constant Summary collapse

SENSITIVE =
[:phone_number]

Instance Attribute Summary collapse

Instance Attribute Details

#language_codeString

The language to use for sending the OTP. The default value is ‘en-US`.

Returns:

  • (String)


321
322
323
324
325
326
# File 'lib/aws-sdk-sns/types.rb', line 321

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

#phone_numberString

The destination phone number to verify. On verification, Amazon SNS adds this phone number to the list of verified phone numbers that you can send SMS messages to.

Returns:

  • (String)


321
322
323
324
325
326
# File 'lib/aws-sdk-sns/types.rb', line 321

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