amazonka-connect-2.0: Amazon Connect Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Connect.Types.PhoneNumberStatus

Description

 
Synopsis

Documentation

data PhoneNumberStatus Source #

The status of the phone number.

  • CLAIMED means the previous ClaimedPhoneNumber or UpdatePhoneNumber operation succeeded.
  • IN_PROGRESS means a ClaimedPhoneNumber or UpdatePhoneNumber 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 ClaimedPhoneNumber 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.

See: newPhoneNumberStatus smart constructor.

Constructors

PhoneNumberStatus' 

Fields

Instances

Instances details
FromJSON PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

Generic PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

Associated Types

type Rep PhoneNumberStatus :: Type -> Type #

Read PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

Show PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

NFData PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

Methods

rnf :: PhoneNumberStatus -> () #

Eq PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

Hashable PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

type Rep PhoneNumberStatus Source # 
Instance details

Defined in Amazonka.Connect.Types.PhoneNumberStatus

type Rep PhoneNumberStatus = D1 ('MetaData "PhoneNumberStatus" "Amazonka.Connect.Types.PhoneNumberStatus" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "PhoneNumberStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberWorkflowStatus))))

newPhoneNumberStatus :: PhoneNumberStatus Source #

Create a value of PhoneNumberStatus with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:message:PhoneNumberStatus', phoneNumberStatus_message - The status message.

$sel:status:PhoneNumberStatus', phoneNumberStatus_status - The status.