IoTFleetWise.Client.
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'
)
[REQUIRED]
The ID of the fleet to delete.
{
'id': 'string',
'arn': 'string'
}
Response Structure
The ID of the deleted fleet.
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