複数の車両の更新 (AWS CLI) - AWS IoT FleetWise

翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。

複数の車両の更新 (AWS CLI)

BatchUpdateVehicle API オペレーションを使用して、複数の既存の車両を一度に更新できます。次の例では AWS CLIを使用しています。

複数の車両を更新するには、次のコマンドを実行します。

file-name は、複数の車両の構成を含む JSON ファイルの名前に置き換えます。

aws iotfleetwise batch-update-vehicle --cli-input-json file://file-name.json
例 車両の構成
{ "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" } } ] }

1 回のバッチオペレーションで最大 10 台の車両を更新できます。各車両の構成の詳細については、「車両の更新 (AWS CLI)」を参照してください。