Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

delete_fleet

delete_fleet(**kwargs)

Deletes a fleet. Before you delete a fleet, all vehicles must be dissociated from the fleet. For more information, see Delete a fleet (AWS CLI) in the Amazon Web Services IoT FleetWise Developer Guide .

Note

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

See also: AWS API Documentation

Request Syntax

response = client.delete_fleet(
    fleetId='string'
)
Parameters
fleetId (string) --

[REQUIRED]

The ID of the fleet to delete.

Return type
dict
Returns
Response Syntax
{
    'id': 'string',
    'arn': 'string'
}

Response Structure

  • (dict) --
    • id (string) --

      The ID of the deleted fleet.

    • arn (string) --

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

Exceptions

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