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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-iot/types.rb

Overview

Note:

When making an API call, you may pass AssociateTargetsWithJobRequest data as a 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.



469
470
471
472
473
474
# File 'lib/aws-sdk-iot/types.rb', line 469

class AssociateTargetsWithJobRequest < Struct.new(
  :targets,
  :job_id,
  :comment)
  include Aws::Structure
end

#job_idString

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



469
470
471
472
473
474
# File 'lib/aws-sdk-iot/types.rb', line 469

class AssociateTargetsWithJobRequest < Struct.new(
  :targets,
  :job_id,
  :comment)
  include Aws::Structure
end

#targetsArray<String>

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



469
470
471
472
473
474
# File 'lib/aws-sdk-iot/types.rb', line 469

class AssociateTargetsWithJobRequest < Struct.new(
  :targets,
  :job_id,
  :comment)
  include Aws::Structure
end