Class: Aws::Connect::Types::PhoneNumberStatus

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

Overview

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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#messageString

The status message.

Returns:

  • (String)


16919
16920
16921
16922
16923
16924
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 16919

class PhoneNumberStatus < Struct.new(
  :status,
  :message)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

The status.

Returns:

  • (String)


16919
16920
16921
16922
16923
16924
# File 'gems/aws-sdk-connect/lib/aws-sdk-connect/types.rb', line 16919

class PhoneNumberStatus < Struct.new(
  :status,
  :message)
  SENSITIVE = []
  include Aws::Structure
end