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

***********************************************
update_routing_profile_agent_availability_timer
***********************************************



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

  

  Whether agents with this routing profile will have their routing order calculated based on *time since their last inbound contact* or *longest idle time*.

  

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


  **Request Syntax**
  ::

    response = client.update_routing_profile_agent_availability_timer(
        InstanceId='string',
        RoutingProfileId='string',
        AgentAvailabilityTimer='TIME_SINCE_LAST_ACTIVITY'|'TIME_SINCE_LAST_INBOUND'
    )
    
  :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 AgentAvailabilityTimer: string
  :param AgentAvailabilityTimer: **[REQUIRED]** 

    Whether agents with this routing profile will have their routing order calculated based on *time since their last inbound contact* or *longest idle time*.

    

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

  