associate_flow
async
¶
associate_flow(
instance_id: InstanceId,
resource_id: ARN,
flow_id: ARN,
resource_type: FlowAssociationResourceType,
*,
config_overrides: Optional[AsyncConnectClientConfig] = None,
) -> AssociateFlowResponse
Associates a connect resource to a flow.
Parameters:
-
instance_id(InstanceId) –The identifier of the Connect Customer instance. You can find the instance ID in the Amazon Resource Name (ARN) of the instance.
-
resource_id(ARN) –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
-
-
flow_id(ARN) –The identifier of the flow.
-
resource_type(FlowAssociationResourceType) –A valid resource type.
Raises:
-
AccessDeniedException–You do not have sufficient permissions to perform this action.
-
InternalServiceException–Request processing failed because of an error or failure with the service.
-
InvalidParameterException–One or more of the specified parameters are not valid.
-
InvalidRequestException–The request is not valid.
-
ResourceNotFoundException–The specified resource was not found.
-
ThrottlingException–The throttling limit has been exceeded.
-
UnknownServiceError–The service returned an error code this client does not model.