:doc:`IoTFleetWise <../../iotfleetwise>` / Client / update_fleet

************
update_fleet
************



.. py:method:: IoTFleetWise.Client.update_fleet(**kwargs)

  

  Updates the description of an existing fleet.

  

  See also: `AWS API Documentation <https://docs.aws.amazon.com/goto/WebAPI/iotfleetwise-2021-06-17/UpdateFleet>`_  


  **Request Syntax**
  ::

    response = client.update_fleet(
        fleetId='string',
        description='string'
    )
    
  :type fleetId: string
  :param fleetId: **[REQUIRED]** 

    The ID of the fleet to update.

    

  
  :type description: string
  :param description: 

    An updated description of the fleet.

    

  
  
  :rtype: dict
  :returns: 
    
    **Response Syntax**

    
    ::

      {
          'id': 'string',
          'arn': 'string'
      }
      
    **Response Structure**

    

    - *(dict) --* 
      

      - **id** *(string) --* 

        The ID of the updated fleet.

        
      

      - **arn** *(string) --* 

        The Amazon Resource Name (ARN) of the updated fleet.

        
  
  **Exceptions**
  
  *   :py:class:`IoTFleetWise.Client.exceptions.InternalServerException`

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

  
  *   :py:class:`IoTFleetWise.Client.exceptions.ConflictException`

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

  
  *   :py:class:`IoTFleetWise.Client.exceptions.ValidationException`

  
  *   :py:class:`IoTFleetWise.Client.exceptions.AccessDeniedException`

  