Update multiple vehicles (AWS CLI) - AWS IoT FleetWise

Update multiple vehicles (AWS CLI)

You can use the BatchUpdateVehicle API operation to update multiple existing vehicles at one time. The following example uses the AWS CLI.

To update multiple vehicles, run the following command.

Replace file-name with the name of the JSON file that contains the configurations of multiple vehicles.

aws iotfleetwise batch-update-vehicle --cli-input-json file://file-name.json
Example vehicle configurations
{ "vehicles": [ { "vehicleName": "vehicle-name", "modelManifestArn": "model-manifest-arn", "decoderManifestArn": "decoder-manifest-arn", "mergeAttributes": true, "attributes": { "key": "value" } }, { "vehicleName": "vehicle-name", "modelManifestArn": "model-manifest-arn", "decoderManifestArn": "decoder-manifest-arn", "mergeAttributes": true, "attributes": { "key": "value" } } ] }

You can update up to 10 vehicles for each batch operation. For more information about the configuration of each vehicle, see Update a vehicle (AWS CLI).