翻訳は機械翻訳により提供されています。提供された翻訳内容と英語版の間で齟齬、不一致または矛盾がある場合、英語版が優先します。
OTA タスクに設定を適用する
設定が作成されると、CreateOtaTaskリクエストに追加された taskConfigurationIdと追加の設定が届きます。
aws iotmanagedintegrations create-ota-task \ --description "OTA with configuration" \ --s3-url "s3://test-job-document-bucket/ota-job-document.json" \ --protocol HTTP \ --target ["arn:aws:iotmanagedintegrations:region:account id:managed-thing/managed thing id"] \ --ota-mechanism PUSH \ --ota-type ONE_TIME \ --client-token "foo" \ --task-configuration-id "ae4f49352c5443369f43ad6c3a7f1580" \ --ota-scheduling-config '{ "EndBehavior": "STOP_ROLLOUT", "EndTime": "2024-10-23T17:00", "StartTime": "2024-10-20T17:00" }' \ --ota-task-execution-retry-config '{ "RetryConfigCriteria": [ { "FailureType": "FAILED", "MinNumberOfRetries": 1 } ] }' \ --tags '{"key1":"foo","key2":"foo"}'