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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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.

[1]: docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html

Returns:

  • (String)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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][2

    operation succeeded.

  • ‘IN_PROGRESS` means a [ClaimPhoneNumber],

    UpdatePhoneNumber], or [UpdatePhoneNumberMetadata][3

    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][2

    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.

<note markdown=“1”> You will not be billed for the phone number during the 1-day period if number claiming fails.

</note>

[1]: docs.aws.amazon.com/connect/latest/APIReference/API_ClaimPhoneNumber.html [2]: docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumber.html [3]: docs.aws.amazon.com/connect/latest/APIReference/API_UpdatePhoneNumberMetadata.html [4]: docs.aws.amazon.com/connect/latest/APIReference/API_DescribePhoneNumber.html



2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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>)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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)


2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
# File 'lib/aws-sdk-connect/types.rb', line 2041

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