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.ClaimedPhoneNumberSummary

Description

 
Synopsis

Documentation

data ClaimedPhoneNumberSummary Source #

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

See: newClaimedPhoneNumberSummary smart constructor.

Constructors

ClaimedPhoneNumberSummary' 

Fields

Instances

Instances details
FromJSON ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

Generic ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

Associated Types

type Rep ClaimedPhoneNumberSummary :: Type -> Type #

Read ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

Show ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

NFData ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

Eq ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

Hashable ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

type Rep ClaimedPhoneNumberSummary Source # 
Instance details

Defined in Amazonka.Connect.Types.ClaimedPhoneNumberSummary

type Rep ClaimedPhoneNumberSummary = D1 ('MetaData "ClaimedPhoneNumberSummary" "Amazonka.Connect.Types.ClaimedPhoneNumberSummary" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "ClaimedPhoneNumberSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "phoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "phoneNumberArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "phoneNumberCountryCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberCountryCode)) :*: S1 ('MetaSel ('Just "phoneNumberDescription") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "phoneNumberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "phoneNumberStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberStatus))) :*: (S1 ('MetaSel ('Just "phoneNumberType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PhoneNumberType)) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))))

newClaimedPhoneNumberSummary :: ClaimedPhoneNumberSummary Source #

Create a value of ClaimedPhoneNumberSummary 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:phoneNumber:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_phoneNumber - The phone number. Phone numbers are formatted [+] [country code] [subscriber number including area code].

$sel:phoneNumberArn:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_phoneNumberArn - The Amazon Resource Name (ARN) of the phone number.

$sel:phoneNumberCountryCode:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_phoneNumberCountryCode - The ISO country code.

$sel:phoneNumberDescription:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_phoneNumberDescription - The description of the phone number.

$sel:phoneNumberId:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_phoneNumberId - A unique identifier for the phone number.

$sel:phoneNumberStatus:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_phoneNumberStatus - 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.

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

$sel:phoneNumberType:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_phoneNumberType - The type of phone number.

$sel:tags:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_tags - The tags used to organize, track, or control access for this resource. For example, { "tags": {"key1":"value1", "key2":"value2"} }.

$sel:targetArn:ClaimedPhoneNumberSummary', claimedPhoneNumberSummary_targetArn - The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.

claimedPhoneNumberSummary_phoneNumber :: Lens' ClaimedPhoneNumberSummary (Maybe Text) Source #

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

claimedPhoneNumberSummary_phoneNumberArn :: Lens' ClaimedPhoneNumberSummary (Maybe Text) Source #

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

claimedPhoneNumberSummary_phoneNumberStatus :: Lens' ClaimedPhoneNumberSummary (Maybe 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.

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

claimedPhoneNumberSummary_tags :: Lens' ClaimedPhoneNumberSummary (Maybe (HashMap Text Text)) Source #

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

claimedPhoneNumberSummary_targetArn :: Lens' ClaimedPhoneNumberSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) for Amazon Connect instances or traffic distribution groups that phone numbers are claimed to.