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' ) - 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. 
- 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