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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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.



2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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 Web Services End User Messaging. If it is from Amazon Web Services End User Messaging, it looks like the ARN of the phone number that was imported from Amazon Web Services End User Messaging.

Returns:

  • (String)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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": "key2":"value2" }.

Returns:

  • (Hash<String,String>)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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)


2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 2427

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