Values_1.CreateOTAUpdateRequestSourceCreates an IoT OTA update on a target group of things or groups. Requires permission to access the CreateOTAUpdate action.
type nonrec t = {otaUpdateId : Values_0.OTAUpdateId.t;The ID of the OTA update to be created.
*)description : Values_0.OTAUpdateDescription.t option;The description of the OTA update.
*)targets : Values_0.Targets.t;The devices targeted to receive OTA updates.
*)protocols : Values_0.Protocols.t option;The protocol used to transfer the OTA update image. Valid values are [HTTP], [MQTT], [HTTP, MQTT]. When both HTTP and MQTT are specified, the target device can choose the protocol.
*)targetSelection : Values_0.TargetSelection.t option;Specifies whether the update will continue to run (CONTINUOUS), or will be complete after all the things specified as targets have completed the update (SNAPSHOT). If continuous, the update may also be run on a thing when a change is detected in a target. For example, an update will run on a thing when the thing is added to a target group, even after the update was completed by all things originally in the group. Valid values: CONTINUOUS | SNAPSHOT.
*)awsJobExecutionsRolloutConfig : Values_0.AwsJobExecutionsRolloutConfig.t option;Configuration for the rollout of OTA updates.
*)awsJobPresignedUrlConfig : Values_0.AwsJobPresignedUrlConfig.t option;Configuration information for pre-signed URLs.
*)awsJobAbortConfig : Values_0.AwsJobAbortConfig.t option;The criteria that determine when and how a job abort takes place.
*)awsJobTimeoutConfig : Values_0.AwsJobTimeoutConfig.t option;Specifies the amount of time each device has to finish its execution of the job. A timer is started when the job execution status is set to IN_PROGRESS. If the job execution status is not set to another terminal state before the timer expires, it will be automatically set to TIMED_OUT.
*)files : Values_0.OTAUpdateFiles.t;The files to be streamed by the OTA update.
*)roleArn : Values_0.RoleArn.t;The IAM role that grants Amazon Web Services IoT Core access to the Amazon S3, IoT jobs and Amazon Web Services Code Signing resources to create an OTA update job.
*)additionalParameters : Values_0.AdditionalParameterMap.t option;A list of additional OTA update parameters, which are name-value pairs. They won't be sent to devices as a part of the Job document.
*)}val make :
?description:??? ->
?protocols:??? ->
?targetSelection:??? ->
?awsJobExecutionsRolloutConfig:??? ->
?awsJobPresignedUrlConfig:??? ->
?awsJobAbortConfig:??? ->
?awsJobTimeoutConfig:??? ->
?additionalParameters:??? ->
?tags:??? ->
otaUpdateId:Values_0.OTAUpdateId.t ->
targets:Values_0.Targets.t ->
files:Values_0.OTAUpdateFiles.t ->
roleArn:Values_0.RoleArn.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Enum of string
| `String of string
| `Structure of
(string
* [> `Integer of int
| `Map of
([> `String of string ] * [> `String of string ]) list
| `String of string
| `Structure of
(string
* [> `String of string
| `Structure of
(string
* [> `Integer of int
| `String of string
| `Structure of
(string
* [> `Blob of string
| `String of string
| `Structure of
(string * [> `String of string ]) list ])
list ])
list ])
list ])
list ]
list
| `Map of ([> `String of string ] * [> `String of string ]) list
| `String of Values_0.OTAUpdateId.t
| `Structure of
(string
* [> `Integer of int
| `List of
[> `Structure of
(string
* [> `Double of float
| `Enum of string
| `Integer of int ])
list ]
list
| `Long of Awso.Import.Int64.t
| `Structure of
(string
* [> `Double of float
| `Integer of int
| `Structure of (string * [> `Integer of int ]) list ])
list ])
list ])
list ]