AWSIoTAssociateTargetsWithJobRequest

Objective-C

@interface AWSIoTAssociateTargetsWithJobRequest

Swift

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

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable comment;

    Swift

    var comment: String? { get set }
  • The unique identifier you assigned to this job when it was created.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable jobId;

    Swift

    var jobId: String? { get set }
  • 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.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSString *_Nullable namespaceId;

    Swift

    var namespaceId: String? { get set }
  • A list of thing group ARNs that define the targets of the job.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSArray<NSString *> *_Nullable targets;

    Swift

    var targets: [String]? { get set }