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

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

Overview

Note:

When making an API call, you may pass CreateSMSSandboxPhoneNumberInput data as a hash:

{
  phone_number: "PhoneNumberString", # required
  language_code: "en-US", # accepts en-US, en-GB, es-419, es-ES, de-DE, fr-CA, fr-FR, it-IT, ja-JP, pt-BR, kr-KR, zh-CN, zh-TW
}

Constant Summary collapse

SENSITIVE =
[]

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)


377
378
379
380
381
382
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 377

class CreateSMSSandboxPhoneNumberInput < Struct.new(
  :phone_number,
  :language_code)
  SENSITIVE = []
  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)


377
378
379
380
381
382
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 377

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