Skip to content

BatchUpdateVehicle

Source: src/AWS/IoTFleetWise/BatchUpdateVehicle.ts

Runtime binding for the BatchUpdateVehicle operation (IAM action iotfleetwise:BatchUpdateVehicle), account-level.

Updates up to 10 vehicles in one call — attributes, manifest associations, and state-template associations. Per-item failures are returned in the response errors list, not the error channel. Provide the implementation with Effect.provide(AWS.IoTFleetWise.BatchUpdateVehicleHttp).

const batchUpdateVehicle = yield* IoTFleetWise.BatchUpdateVehicle();
yield* batchUpdateVehicle({
vehicles: [
{
vehicleName: "vin-1HGBH41JXMN109186",
attributes: { "Vehicle.Color": "red" },
attributeUpdateMode: "Merge",
},
],
});