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

*******************
update_agent_status
*******************



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

  

  Updates agent status.

  

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


  **Request Syntax**
  ::

    response = client.update_agent_status(
        InstanceId='string',
        AgentStatusId='string',
        Name='string',
        Description='string',
        State='ENABLED'|'DISABLED',
        DisplayOrder=123,
        ResetOrderNumber=True|False
    )
    
  :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 AgentStatusId: string
  :param AgentStatusId: **[REQUIRED]** 

    The identifier of the agent status.

    

  
  :type Name: string
  :param Name: 

    The name of the agent status.

    

  
  :type Description: string
  :param Description: 

    The description of the agent status.

    

  
  :type State: string
  :param State: 

    The state of the agent status.

    

  
  :type DisplayOrder: integer
  :param DisplayOrder: 

    The display order of the agent status.

    

  
  :type ResetOrderNumber: boolean
  :param ResetOrderNumber: 

    A number indicating the reset order of the agent status.

    

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

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

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

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

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

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

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

  