Class: Aws::Connect::Types::ClaimedPhoneNumberSummary

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

Overview

Information about a phone number that has been claimed to your Amazon Connect instance or traffic distribution group.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#instance_idString

The identifier of the Amazon Connect instance that phone numbers are claimed to. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#phone_numberString

The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code].

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_arnString

The Amazon Resource Name (ARN) of the phone number.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_country_codeString

The ISO country code.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_descriptionString

The description of the phone number.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_idString

A unique identifier for the phone number.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_statusTypes::PhoneNumberStatus

The status of the phone number.

  • CLAIMED means the previous ClaimPhoneNumber or UpdatePhoneNumber operation succeeded.

  • IN_PROGRESS means a ClaimPhoneNumber, UpdatePhoneNumber, or UpdatePhoneNumberMetadata operation is still in progress and has not yet completed. You can call DescribePhoneNumber at a later time to verify if the previous operation has completed.

  • FAILED indicates that the previous ClaimPhoneNumber or UpdatePhoneNumber operation has failed. It will include a message indicating the failure reason. A common reason for a failure may be that the TargetArn value you are claiming or updating a phone number to has reached its limit of total claimed numbers. If you received a FAILED status from a ClaimPhoneNumber API call, you have one day to retry claiming the phone number before the number is released back to the inventory for other customers to claim.

You will not be billed for the phone number during the 1-day period if number claiming fails.



1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#phone_number_typeString

The type of phone number.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#source_phone_number_arnString

The claimed phone number ARN that was previously imported from the external service, such as Amazon Pinpoint. If it is from Amazon Pinpoint, it looks like the ARN of the phone number that was imported from Amazon Pinpoint.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

The tags used to organize, track, or control access for this resource. For example, \{ "Tags": {"key1":"value1", "key2":"value2"\} \}.

Returns:

  • (Hash<String,String>)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end

#target_arnString

The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone number inbound traffic is routed through.

Returns:

  • (String)


1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 1551

class ClaimedPhoneNumberSummary < Struct.new(
  :phone_number_id,
  :phone_number_arn,
  :phone_number,
  :phone_number_country_code,
  :phone_number_type,
  :phone_number_description,
  :target_arn,
  :instance_id,
  :tags,
  :phone_number_status,
  :source_phone_number_arn)
  SENSITIVE = []
  include Aws::Structure
end