IoTFleetWise / Client / delete_fleet
delete_fleet#
- 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.
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