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

Description

Removes the flow association from a phone number claimed to your Amazon Connect instance.

If the number is claimed to a traffic distribution group, and you are calling this API using an instance in the Amazon Web Services Region where the traffic distribution group was created, you can use either a full phone number ARN or UUID value for the PhoneNumberId URI request parameter. However, if the number is claimed to a traffic distribution group and you are calling this API using an instance in the alternate Amazon Web Services Region associated with the traffic distribution group, you must provide a full phone number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException.

Synopsis

Creating a Request

data DisassociatePhoneNumberContactFlow Source #

Constructors

DisassociatePhoneNumberContactFlow' 

Fields

  • phoneNumberId :: Text

    A unique identifier for the phone number.

  • instanceId :: Text

    The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Instances

Instances details
ToHeaders DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

ToPath DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

ToQuery DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

AWSRequest DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Generic DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Associated Types

type Rep DisassociatePhoneNumberContactFlow :: Type -> Type #

Read DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Show DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

NFData DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Eq DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Hashable DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

type AWSResponse DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

type Rep DisassociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

type Rep DisassociatePhoneNumberContactFlow = D1 ('MetaData "DisassociatePhoneNumberContactFlow" "Amazonka.Connect.DisassociatePhoneNumberContactFlow" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "DisassociatePhoneNumberContactFlow'" 'PrefixI 'True) (S1 ('MetaSel ('Just "phoneNumberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "instanceId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newDisassociatePhoneNumberContactFlow Source #

Create a value of DisassociatePhoneNumberContactFlow 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:

DisassociatePhoneNumberContactFlow, disassociatePhoneNumberContactFlow_phoneNumberId - A unique identifier for the phone number.

DisassociatePhoneNumberContactFlow, disassociatePhoneNumberContactFlow_instanceId - The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Request Lenses

disassociatePhoneNumberContactFlow_instanceId :: Lens' DisassociatePhoneNumberContactFlow Text Source #

The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.

Destructuring the Response

data DisassociatePhoneNumberContactFlowResponse Source #

Instances

Instances details
Generic DisassociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Read DisassociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Show DisassociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

NFData DisassociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

Eq DisassociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

type Rep DisassociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.DisassociatePhoneNumberContactFlow

type Rep DisassociatePhoneNumberContactFlowResponse = D1 ('MetaData "DisassociatePhoneNumberContactFlowResponse" "Amazonka.Connect.DisassociatePhoneNumberContactFlow" "amazonka-connect-2.0-IAACrecRcUS5AABe9BOFyN" 'False) (C1 ('MetaCons "DisassociatePhoneNumberContactFlowResponse'" 'PrefixI 'False) (U1 :: Type -> Type))