Update an AWS IoT FleetWise vehicle model
You can use the UpdateModelManifest API operation to update an existing vehicle model (model manifests). The following example uses the AWS CLI.
To update an existing vehicle model, run the following command.
Replace update-vehicle-model-configuration with the
name of the .json file that contains the configuration.
aws iotfleetwise update-model-manifest --cli-input-json file://update-vehicle-model-configuration.json
-
Replace
vehicle-model-namewith the name of the vehicle model that you're updating. -
(Optional) To activate the vehicle model, replace
vehicle-model-statuswithACTIVE.Important
After the vehicle model is activated, you can't change the vehicle model.
-
(Optional) Replace
descriptionwith an updated description to help you identify the vehicle model.
{ "name": "vehicle-model-name", "status": "vehicle-model-status", "description": "description", "nodesToAdd": ["Vehicle.Front.Left"], "nodesToRemove": ["Vehicle.Chassis.SteeringWheel"], }
If you enabled encryption using a customer managed AWS KMS key, include the following policy statement so that your role can invoke the UpdateModelManifest API operation.
Verify vehicle model update
You can use the ListModelManifestNodes API operation to verify if a vehicle model was updated. The following example uses AWS CLI.
To retrieve a paginated list of summaries of all signals (nodes) in a given vehicle model, run the following command.
Replace vehicle-model-name with the name of the vehicle
model that you're checking.
aws iotfleetwise list-model-manifest-nodes / --namevehicle-model-name
If you enabled encryption using a customer managed AWS KMS key, include the following policy statement so that your role can invoke the ListModelManifestNodes API operation.