Connect / Client / associate_flow
associate_flow#
- Connect.Client.associate_flow(**kwargs)#
Associates a connect resource to a flow.
See also: AWS API Documentation
Request Syntax
response = client.associate_flow( InstanceId='string', ResourceId='string', FlowId='string', ResourceType='SMS_PHONE_NUMBER'|'INBOUND_EMAIL'|'OUTBOUND_EMAIL'|'ANALYTICS_CONNECTOR'|'WHATSAPP_MESSAGING_PHONE_NUMBER' )
- Parameters:
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.
ResourceId (string) –
[REQUIRED]
The identifier of the resource.
Amazon Web Services End User Messaging SMS phone number ARN when using
SMS_PHONE_NUMBER
Amazon Web Services End User Messaging Social phone number ARN when using
WHATSAPP_MESSAGING_PHONE_NUMBER
FlowId (string) –
[REQUIRED]
The identifier of the flow.
ResourceType (string) –
[REQUIRED]
A valid resource type.
- Return type:
dict
- Returns:
Response Syntax
{}
Response Structure
(dict) –
Exceptions
Connect.Client.exceptions.AccessDeniedException
Connect.Client.exceptions.ResourceNotFoundException
Connect.Client.exceptions.InternalServiceException
Connect.Client.exceptions.InvalidRequestException
Connect.Client.exceptions.InvalidParameterException
Connect.Client.exceptions.ThrottlingException