Values_1.AssociateTargetsWithJobRequestSourceAssociates a group with a continuous job. The following criteria must be met: The job must have been created with the targetSelection field set to "CONTINUOUS". The job status must currently be "IN_PROGRESS". The total number of targets associated with a job must not exceed 100. Requires permission to access the AssociateTargetsWithJob action.
type nonrec t = {targets : Values_0.JobTargets.t;A list of thing group ARNs that define the targets of the job.
*)jobId : Values_0.JobId.t;The unique identifier you assigned to this job when it was created.
*)comment : Values_0.Comment.t option;An optional comment string describing why the job was associated with the targets.
*)namespaceId : Values_0.NamespaceId.t option;The namespace used to indicate that a job is a customer-managed job. When you specify a value for this parameter, Amazon Web Services IoT Core sends jobs notifications to MQTT topics that contain the value in the following format. $aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/ The namespaceId feature is only supported by IoT Greengrass at this time. For more information, see Setting up IoT Greengrass core devices.
*)}val make :
?comment:??? ->
?namespaceId:??? ->
targets:Values_0.JobTargets.t ->
jobId:Values_0.JobId.t ->
unit ->
tval to_value :
t ->
[> `Structure of
(string
* [> `List of [> `String of string ] list
| `String of Values_0.JobId.t ])
list ]