本文属于机器翻译版本。若本译文内容与英语原文存在差异,则一律以英文原文为准。
将配置设置应用于 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"}'