update_fleet

update_fleet(**kwargs)

Updates the description of an existing fleet.

Note

If the fleet is successfully updated, Amazon Web Services IoT FleetWise sends back an HTTP 200 response with an empty HTTP body.

See also: AWS API Documentation

Request Syntax

response = client.update_fleet(
    fleetId='string',
    description='string'
)
Parameters
  • fleetId (string) --

    [REQUIRED]

    The ID of the fleet to update.

  • description (string) -- An updated description of the fleet.
Return type

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

  • IoTFleetWise.Client.exceptions.InternalServerException
  • IoTFleetWise.Client.exceptions.ResourceNotFoundException
  • IoTFleetWise.Client.exceptions.ConflictException
  • IoTFleetWise.Client.exceptions.ThrottlingException
  • IoTFleetWise.Client.exceptions.ValidationException
  • IoTFleetWise.Client.exceptions.AccessDeniedException