Class: Aws::SNS::Types::PhoneNumberInformation

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

Overview

A list of phone numbers and their metadata.

Constant Summary collapse

SENSITIVE =
[:phone_number]

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

The date and time when the phone number was created.

Returns:

  • (Time)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-sns/types.rb', line 1617

class PhoneNumberInformation < Struct.new(
  :created_at,
  :phone_number,
  :status,
  :iso_2_country_code,
  :route_type,
  :number_capabilities)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end

#iso_2_country_codeString

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

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-sns/types.rb', line 1617

class PhoneNumberInformation < Struct.new(
  :created_at,
  :phone_number,
  :status,
  :iso_2_country_code,
  :route_type,
  :number_capabilities)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end

#number_capabilitiesArray<String>

The capabilities of each phone number.

Returns:

  • (Array<String>)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-sns/types.rb', line 1617

class PhoneNumberInformation < Struct.new(
  :created_at,
  :phone_number,
  :status,
  :iso_2_country_code,
  :route_type,
  :number_capabilities)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end

#phone_numberString

The phone number.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-sns/types.rb', line 1617

class PhoneNumberInformation < Struct.new(
  :created_at,
  :phone_number,
  :status,
  :iso_2_country_code,
  :route_type,
  :number_capabilities)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end

#route_typeString

The list of supported routes.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-sns/types.rb', line 1617

class PhoneNumberInformation < Struct.new(
  :created_at,
  :phone_number,
  :status,
  :iso_2_country_code,
  :route_type,
  :number_capabilities)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end

#statusString

The status of the phone number.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
# File 'lib/aws-sdk-sns/types.rb', line 1617

class PhoneNumberInformation < Struct.new(
  :created_at,
  :phone_number,
  :status,
  :iso_2_country_code,
  :route_type,
  :number_capabilities)
  SENSITIVE = [:phone_number]
  include Aws::Structure
end