Module Values_1.AssociateTargetsWithJobRequestSource

Associates 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.

Sourcetype nonrec t = {
  1. targets : Values_0.JobTargets.t;
    (*

    A list of thing group ARNs that define the targets of the job.

    *)
  2. jobId : Values_0.JobId.t;
    (*

    The unique identifier you assigned to this job when it was created.

    *)
  3. comment : Values_0.Comment.t option;
    (*

    An optional comment string describing why the job was associated with the targets.

    *)
  4. 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.

    *)
}
Sourceval context_ : string
Sourceval make : ?comment:??? -> ?namespaceId:??? -> targets:Values_0.JobTargets.t -> jobId:Values_0.JobId.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `List of [> `String of string ] list | `String of Values_0.JobId.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t