AWSIoTListJobsRequest

Objective-C

@interface AWSIoTListJobsRequest

Swift

class AWSIoTListJobsRequest
  • The maximum number of results to return per request.

    Declaration

    Objective-C

    @property (nonatomic, strong) NSNumber *_Nullable maxResults;

    Swift

    var maxResults: NSNumber? { 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 }
  • The token to retrieve the next set of results.

    Declaration

    Objective-C

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

    Swift

    var nextToken: String? { get set }
  • An optional filter that lets you search for jobs that have the specified status.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTJobStatus status;

    Swift

    var status: AWSIoTJobStatus { get set }
  • 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.

    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.

    Declaration

    Objective-C

    @property (nonatomic) AWSIoTTargetSelection targetSelection;

    Swift

    var targetSelection: AWSIoTTargetSelection { get set }
  • A filter that limits the returned jobs to those for the specified group.

    Declaration

    Objective-C

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

    Swift

    var thingGroupId: String? { get set }
  • A filter that limits the returned jobs to those for the specified group.

    Declaration

    Objective-C

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

    Swift

    var thingGroupName: String? { get set }