delete_vehicle
(**kwargs)¶Deletes a vehicle and removes it from any campaigns.
Note
If the vehicle 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_vehicle(
vehicleName='string'
)
[REQUIRED]
The ID of the vehicle to delete.
{
'vehicleName': 'string',
'arn': 'string'
}
Response Structure
The ID of the deleted vehicle.
The Amazon Resource Name (ARN) of the deleted vehicle.
Exceptions
IoTFleetWise.Client.exceptions.InternalServerException
IoTFleetWise.Client.exceptions.ThrottlingException
IoTFleetWise.Client.exceptions.ValidationException
IoTFleetWise.Client.exceptions.AccessDeniedException