Delete an AWS IoT FleetWise vehicle model - AWS IoT FleetWise

Delete an AWS IoT FleetWise vehicle model

You can use the AWS IoT FleetWise console or API to delete vehicle models.

Important

Vehicles and decoder manifests associated with the vehicle model must be deleted first. For more information, see Delete an AWS IoT FleetWise vehicle and Delete an AWS IoT FleetWise decoder manifest.

Delete a vehicle model (console)

To delete a vehicle model, use the AWS IoT FleetWise console.

To delete a vehicle model
  1. Open the AWS IoT FleetWise console.

  2. On the navigation pane, choose Vehicle models.

  3. On the Vehicle models page, choose the target vehicle model.

  4. Choose Delete.

  5. In Delete vehicle-model-name?, enter the name of the vehicle model to delete, and then choose Confirm.

Delete a vehicle model (AWS CLI)

You can use the DeleteModelManifest API operation to delete an existing vehicle model (model manifests). The following example uses the AWS CLI.

To delete a vehicle model, run the following command.

Replace model-manifest-name with the name of the vehicle model that you're deleting.

aws iotfleetwise delete-model-manifest --name model-manifest-name

Verify vehicle model deletion

You can use the ListModelManifests API operation to verify if a vehicle model was deleted. The following example uses AWS CLI.

To retrieve a paginated list of summaries of all vehicle models, run the following command.

aws iotfleetwise list-model-manifests

If you enabled encryption using a customer managed AWS KMS key, include the following policy statement so that your role can invoke the ListModelManifests API operation.

{ "Version": "2012-10-17", "Statement": [ { "Effect": "Allow", "Action": [ "kms:Decrypt" ], "Resource": [ "arn:aws:kms:KMS_KEY_REGION:KMS_KEY_ACCOUNT_ID:key/KMS_KEY_ID" ] }, ] }