AWSIoTJobExecution

@interface AWSIoTJobExecution

The job execution object represents the execution of a job on a particular device.

  • The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT. The timeout interval can be anywhere between 1 minute and 7 days (1 to 10080 minutes). The actual job execution timeout can occur up to 60 seconds later than the estimated duration. This value will not be included if the job execution has reached a terminal status.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        NSNumber *_Nullable approximateSecondsBeforeTimedOut;

    Swift

    var approximateSecondsBeforeTimedOut: NSNumber? { get set }
  • A string (consisting of the digits “0” through “9”) which identifies this particular job execution on this particular device. It can be used in commands which return or update job execution information.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable executionNumber;

    Swift

    var executionNumber: NSNumber? { get set }
  • Will be true if the job execution was canceled with the optional force parameter set to true.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable forceCanceled;

    Swift

    var forceCanceled: NSNumber? { get set }
  • The unique identifier you assigned to the job when it was created.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable jobId;

    Swift

    var jobId: String? { get set }
  • The time, in seconds since the epoch, when the job execution was last updated.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSDate *_Nullable lastUpdatedAt;

    Swift

    var lastUpdatedAt: Date? { get set }
  • The time, in seconds since the epoch, when the job execution was queued.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSDate *_Nullable queuedAt;

    Swift

    var queuedAt: Date? { get set }
  • The time, in seconds since the epoch, when the job execution started.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSDate *_Nullable startedAt;

    Swift

    var startedAt: Date? { get set }
  • The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) AWSIoTJobExecutionStatus status;

    Swift

    var status: AWSIoTJobExecutionStatus { get set }
  • A collection of name/value pairs that describe the status of the job execution.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        AWSIoTJobExecutionStatusDetails *_Nullable statusDetails;

    Swift

    var statusDetails: AWSIoTJobExecutionStatusDetails? { get set }
  • The ARN of the thing on which the job execution is running.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSString *_Nullable thingArn;

    Swift

    var thingArn: String? { get set }
  • The version of the job execution. Job execution versions are incremented each time they are updated by a device.

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic) NSNumber *_Nullable versionNumber;

    Swift

    var versionNumber: NSNumber? { get set }