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

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

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

Overview

Note:

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

{
  status: "IN_PROGRESS", # accepts IN_PROGRESS, CANCELED, COMPLETED, DELETION_IN_PROGRESS
  target_selection: "CONTINUOUS", # accepts CONTINUOUS, SNAPSHOT
  max_results: 1,
  next_token: "NextToken",
  thing_group_name: "ThingGroupName",
  thing_group_id: "ThingGroupId",
}

Instance Attribute Summary collapse

Instance Attribute Details

#max_resultsInteger

The maximum number of results to return per request.

Returns:

  • (Integer)

    The maximum number of results to return per request.

#next_tokenString

The token to retrieve the next set of results.

Returns:

  • (String)

    The token to retrieve the next set of results.

#statusString

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

Possible values:

  • IN_PROGRESS
  • CANCELED
  • COMPLETED
  • DELETION_IN_PROGRESS

Returns:

  • (String)

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

#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.

Possible values:

  • CONTINUOUS
  • SNAPSHOT

Returns:

  • (String)

    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).

#thing_group_idString

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

Returns:

  • (String)

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

#thing_group_nameString

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

Returns:

  • (String)

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