Class: Aws::IoT::Types::ListJobsRequest

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of results to return per request.

Returns:

  • (Integer)


10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
# File 'lib/aws-sdk-iot/types.rb', line 10432

class ListJobsRequest < Struct.new(
  :status,
  :target_selection,
  :max_results,
  :next_token,
  :thing_group_name,
  :thing_group_id,
  :namespace_id)
  SENSITIVE = []
  include Aws::Structure
end

#namespace_idString

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/`

<note markdown=“1”> The ‘namespaceId` feature is only supported by IoT Greengrass at this time. For more information, see [Setting up IoT Greengrass core devices.]

</note>

[1]: docs.aws.amazon.com/greengrass/v2/developerguide/setting-up.html

Returns:

  • (String)


10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
# File 'lib/aws-sdk-iot/types.rb', line 10432

class ListJobsRequest < Struct.new(
  :status,
  :target_selection,
  :max_results,
  :next_token,
  :thing_group_name,
  :thing_group_id,
  :namespace_id)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token to retrieve the next set of results.

Returns:

  • (String)


10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
# File 'lib/aws-sdk-iot/types.rb', line 10432

class ListJobsRequest < Struct.new(
  :status,
  :target_selection,
  :max_results,
  :next_token,
  :thing_group_name,
  :thing_group_id,
  :namespace_id)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

An optional filter that lets you search for jobs that have the specified status.

Returns:

  • (String)


10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
# File 'lib/aws-sdk-iot/types.rb', line 10432

class ListJobsRequest < Struct.new(
  :status,
  :target_selection,
  :max_results,
  :next_token,
  :thing_group_name,
  :thing_group_id,
  :namespace_id)
  SENSITIVE = []
  include Aws::Structure
end

#target_selectionString

Specifies whether the job will continue to run (CONTINUOUS), or will be complete after all those things specified as targets have completed the job (SNAPSHOT). If continuous, the job may also be run on a thing when a change is detected in a target. For example, a job will run on a thing when the thing is added to a target group, even after the job was completed by all things originally in the group.

<note markdown=“1”> We recommend that you use continuous jobs instead of snapshot jobs for dynamic thing group targets. By using continuous jobs, devices that join the group receive the job execution even after the job has been created.

</note>

Returns:

  • (String)


10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
# File 'lib/aws-sdk-iot/types.rb', line 10432

class ListJobsRequest < Struct.new(
  :status,
  :target_selection,
  :max_results,
  :next_token,
  :thing_group_name,
  :thing_group_id,
  :namespace_id)
  SENSITIVE = []
  include Aws::Structure
end

#thing_group_idString

A filter that limits the returned jobs to those for the specified group.

Returns:

  • (String)


10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
# File 'lib/aws-sdk-iot/types.rb', line 10432

class ListJobsRequest < Struct.new(
  :status,
  :target_selection,
  :max_results,
  :next_token,
  :thing_group_name,
  :thing_group_id,
  :namespace_id)
  SENSITIVE = []
  include Aws::Structure
end

#thing_group_nameString

A filter that limits the returned jobs to those for the specified group.

Returns:

  • (String)


10432
10433
10434
10435
10436
10437
10438
10439
10440
10441
10442
# File 'lib/aws-sdk-iot/types.rb', line 10432

class ListJobsRequest < Struct.new(
  :status,
  :target_selection,
  :max_results,
  :next_token,
  :thing_group_name,
  :thing_group_id,
  :namespace_id)
  SENSITIVE = []
  include Aws::Structure
end