AWS SDK Version 3 for .NET
API Reference

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:

Requires permission to access the AssociateTargetsWithJob action.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.IoT.AmazonIoTRequest
      Amazon.IoT.Model.AssociateTargetsWithJobRequest

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class AssociateTargetsWithJobRequest : AmazonIoTRequest
         IAmazonWebServiceRequest

The AssociateTargetsWithJobRequest type exposes the following members

Constructors

Properties

NameTypeDescription
Public Property Comment System.String

Gets and sets the property Comment.

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

Public Property JobId System.String

Gets and sets the property JobId.

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

Public Property 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.

$aws/things/THING_NAME/jobs/JOB_ID/notify-namespace-NAMESPACE_ID/

The namespaceId feature is in public preview.

Public Property 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.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5