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.InternalServerExceptionIoTFleetWise.Client.exceptions.ThrottlingExceptionIoTFleetWise.Client.exceptions.ValidationExceptionIoTFleetWise.Client.exceptions.AccessDeniedException