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

Description

Associates a flow with 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 AssociatePhoneNumberContactFlow Source #

See: newAssociatePhoneNumberContactFlow smart constructor.

Constructors

AssociatePhoneNumberContactFlow' 

Fields

Instances

Instances details
ToJSON AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

ToHeaders AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

ToPath AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

ToQuery AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

AWSRequest AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Generic AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Associated Types

type Rep AssociatePhoneNumberContactFlow :: Type -> Type #

Read AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Show AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

NFData AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Eq AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Hashable AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

type AWSResponse AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

type Rep AssociatePhoneNumberContactFlow Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

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

newAssociatePhoneNumberContactFlow Source #

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

AssociatePhoneNumberContactFlow, associatePhoneNumberContactFlow_phoneNumberId - A unique identifier for the phone number.

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

AssociatePhoneNumberContactFlow, associatePhoneNumberContactFlow_contactFlowId - The identifier of the flow.

Request Lenses

associatePhoneNumberContactFlow_instanceId :: Lens' AssociatePhoneNumberContactFlow Text Source #

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

Destructuring the Response

data AssociatePhoneNumberContactFlowResponse Source #

Instances

Instances details
Generic AssociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Read AssociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Show AssociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

NFData AssociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

Eq AssociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

type Rep AssociatePhoneNumberContactFlowResponse Source # 
Instance details

Defined in Amazonka.Connect.AssociatePhoneNumberContactFlow

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

newAssociatePhoneNumberContactFlowResponse :: AssociatePhoneNumberContactFlowResponse Source #

Create a value of AssociatePhoneNumberContactFlowResponse with all optional fields omitted.

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