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

**********************************
update_routing_profile_concurrency
**********************************



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

  

  Updates the channels that agents can handle in the Contact Control Panel (CCP) for a routing profile.

  

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


  **Request Syntax**
  ::

    response = client.update_routing_profile_concurrency(
        InstanceId='string',
        RoutingProfileId='string',
        MediaConcurrencies=[
            {
                'Channel': 'VOICE'|'CHAT'|'TASK'|'EMAIL',
                'Concurrency': 123,
                'CrossChannelBehavior': {
                    'BehaviorType': 'ROUTE_CURRENT_CHANNEL_ONLY'|'ROUTE_ANY_CHANNEL'
                }
            },
        ]
    )
    
  :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 MediaConcurrencies: list
  :param MediaConcurrencies: **[REQUIRED]** 

    The channels that agents can handle in the Contact Control Panel (CCP).

    

  
    - *(dict) --* 

      Contains information about which channels are supported, and how many contacts an agent can have on a channel simultaneously.

      

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

        The channels that agents can handle in the Contact Control Panel (CCP).

        

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

        The number of contacts an agent can have on a channel simultaneously.

         

        Valid Range for ``VOICE``: Minimum value of 1. Maximum value of 1.

         

        Valid Range for ``CHAT``: Minimum value of 1. Maximum value of 10.

         

        Valid Range for ``TASK``: Minimum value of 1. Maximum value of 10.

        

      
      - **CrossChannelBehavior** *(dict) --* 

        Defines the cross-channel routing behavior for each channel that is enabled for this Routing Profile. For example, this allows you to offer an agent a different contact from another channel when they are currently working with a contact from a Voice channel.

        

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

          Specifies the other channels that can be routed to an agent handling their current channel.

          

        
      
    

  
  :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`

  