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

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

Overview

A list of phone numbers and their metadata.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#created_atTime

The date and time when the phone number was created.

Returns:

  • (Time)


1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1724

class PhoneNumberInformation < Struct.new(
  :created_at,
  :phone_number,
  :status,
  :iso_2_country_code,
  :route_type,
  :number_capabilities)
  SENSITIVE = []
  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)


1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1724

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

#number_capabilitiesArray<String>

The capabilities of each phone number.

Returns:

  • (Array<String>)


1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1724

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

#phone_numberString

The phone number.

Returns:

  • (String)


1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1724

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

#route_typeString

The list of supported routes.

Returns:

  • (String)


1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1724

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

#statusString

The status of the phone number.

Returns:

  • (String)


1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
# File 'gems/aws-sdk-sns/lib/aws-sdk-sns/types.rb', line 1724

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