Connect / Client / associate_phone_number_contact_flow

associate_phone_number_contact_flow#

Connect.Client.associate_phone_number_contact_flow(**kwargs)#

Associates a flow with a phone number claimed to your Amazon Connect instance.

Warning

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.

See also: AWS API Documentation

Request Syntax

response = client.associate_phone_number_contact_flow(
    PhoneNumberId='string',
    InstanceId='string',
    ContactFlowId='string'
)
Parameters:
  • PhoneNumberId (string) –

    [REQUIRED]

    A unique identifier for the phone number.

  • InstanceId (string) –

    [REQUIRED]

    The identifier of the Amazon Connect instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.

  • ContactFlowId (string) –

    [REQUIRED]

    The identifier of the flow.

Returns:

None

Exceptions