:doc:`Connect <../../connect>` / Client / associate_routing_profile_queues

********************************
associate_routing_profile_queues
********************************



.. py:method:: Connect.Client.associate_routing_profile_queues(**kwargs)

  

  Associates a set of queues with a routing profile.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/connect-2017-08-08/AssociateRoutingProfileQueues>`_  


  **Request Syntax**
  ::

    response = client.associate_routing_profile_queues(
        InstanceId='string',
        RoutingProfileId='string',
        QueueConfigs=[
            {
                'QueueReference': {
                    'QueueId': 'string',
                    'Channel': 'VOICE'|'CHAT'|'TASK'|'EMAIL'
                },
                'Priority': 123,
                'Delay': 123
            },
        ],
        ManualAssignmentQueueConfigs=[
            {
                'QueueReference': {
                    'QueueId': 'string',
                    'Channel': 'VOICE'|'CHAT'|'TASK'|'EMAIL'
                }
            },
        ]
    )
    
  :type InstanceId: string
  :param InstanceId: **[REQUIRED]** 

    The identifier of the Amazon Connect instance. You can `find the instance ID <https://docs.aws.amazon.com/connect/latest/adminguide/find-instance-arn.html>`__ in the Amazon Resource Name (ARN) of the instance.

    

  
  :type RoutingProfileId: string
  :param RoutingProfileId: **[REQUIRED]** 

    The identifier of the routing profile.

    

  
  :type QueueConfigs: list
  :param QueueConfigs: 

    The queues to associate with this routing profile.

    

  
    - *(dict) --* 

      Contains information about the queue and channel for which priority and delay can be set.

      

    
      - **QueueReference** *(dict) --* **[REQUIRED]** 

        Contains information about a queue resource.

        

      
        - **QueueId** *(string) --* **[REQUIRED]** 

          The identifier for the queue.

          

        
        - **Channel** *(string) --* **[REQUIRED]** 

          The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.

          

        
      
      - **Priority** *(integer) --* **[REQUIRED]** 

        The order in which contacts are to be handled for the queue. For more information, see `Queues\: priority and delay <https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html>`__.

        

      
      - **Delay** *(integer) --* **[REQUIRED]** 

        The delay, in seconds, a contact should be in the queue before they are routed to an available agent. For more information, see `Queues\: priority and delay <https://docs.aws.amazon.com/connect/latest/adminguide/concepts-routing-profiles-priority.html>`__ in the *Amazon Connect Administrator Guide*.

        

      
    

  :type ManualAssignmentQueueConfigs: list
  :param ManualAssignmentQueueConfigs: 

    The manual assignment queues to associate with this routing profile.

     

    Note: Use this config for chat, email, and task contacts. It does not support voice contacts.

    

  
    - *(dict) --* 

      Contains information about the queue and channel for manual assignment behaviour can be enabled.

      

    
      - **QueueReference** *(dict) --* **[REQUIRED]** 

        Contains the channel and queue identifier for a routing profile.

        

      
        - **QueueId** *(string) --* **[REQUIRED]** 

          The identifier for the queue.

          

        
        - **Channel** *(string) --* **[REQUIRED]** 

          The channels agents can handle in the Contact Control Panel (CCP) for this routing profile.

          

        
      
    

  
  :returns: None
  **Exceptions**
  
  *   :py:class:`Connect.Client.exceptions.InvalidRequestException`

  
  *   :py:class:`Connect.Client.exceptions.InvalidParameterException`

  
  *   :py:class:`Connect.Client.exceptions.ResourceNotFoundException`

  
  *   :py:class:`Connect.Client.exceptions.ThrottlingException`

  
  *   :py:class:`Connect.Client.exceptions.InternalServiceException`

  