AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the AssociateTargetsWithJob operation. 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.
Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z
public class AssociateTargetsWithJobRequest : AmazonIoTRequest IAmazonWebServiceRequest
The AssociateTargetsWithJobRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
AssociateTargetsWithJobRequest() |
Name | Type | Description | |
---|---|---|---|
![]() |
Comment | System.String |
Gets and sets the property Comment. An optional comment string describing why the job was associated with the targets. |
![]() |
JobId | System.String |
Gets and sets the property JobId. The unique identifier you assigned to this job when it was created. |
![]() |
NamespaceId | System.String |
Gets and sets the property NamespaceId. 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.
The |
![]() |
Targets | System.Collections.Generic.List<System.String> |
Gets and sets the property Targets. A list of thing group ARNs that define the targets of the job. Starting with version 4 of the SDK this property will default to null. If no data for this property is returned from the service the property will also be null. This was changed to improve performance and allow the SDK and caller to distinguish between a property not set or a property being empty to clear out a value. To retain the previous SDK behavior set the AWSConfigs.InitializeCollections static property to true. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.7.2 and newer