IoTFleetWise / Client / delete_vehicle

delete_vehicle#

IoTFleetWise.Client.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'
)
Parameters:

vehicleName (string) –

[REQUIRED]

The ID of the vehicle to delete.

Return type:

dict

Returns:

Response Syntax

{
    'vehicleName': 'string',
    'arn': 'string'
}

Response Structure

  • (dict) –

    • vehicleName (string) –

      The ID of the deleted vehicle.

    • arn (string) –

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

Exceptions