You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::IoT::Types::AssociateTargetsWithJobRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing AssociateTargetsWithJobRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  targets: ["TargetArn"], # required
  job_id: "JobId", # required
  comment: "Comment",
}

Instance Attribute Summary collapse

Instance Attribute Details

#commentString

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

Returns:

  • (String)

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

#job_idString

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

Returns:

  • (String)

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

#targetsArray<String>

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

Returns:

  • (Array<String>)

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