AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.IoT.Model.JobExecution

Namespace: Amazon.IoT.Model
Assembly: AWSSDK.IoT.dll
Version: 3.x.y.z

Syntax

C#
public class JobExecution

The JobExecution type exposes the following members

Constructors

NameDescription
Public Method JobExecution()

Properties

NameTypeDescription
Public Property ApproximateSecondsBeforeTimedOut System.Int64

Gets and sets the property ApproximateSecondsBeforeTimedOut.

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.

Public Property ExecutionNumber System.Int64

Gets and sets the property ExecutionNumber.

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.

Public Property ForceCanceled System.Boolean

Gets and sets the property ForceCanceled.

Will be true if the job execution was canceled with the optional force parameter set to true.

Public Property JobId System.String

Gets and sets the property JobId.

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

Public Property LastUpdatedAt System.DateTime

Gets and sets the property LastUpdatedAt.

The time, in seconds since the epoch, when the job execution was last updated.

Public Property QueuedAt System.DateTime

Gets and sets the property QueuedAt.

The time, in seconds since the epoch, when the job execution was queued.

Public Property StartedAt System.DateTime

Gets and sets the property StartedAt.

The time, in seconds since the epoch, when the job execution started.

Public Property Status Amazon.IoT.JobExecutionStatus

Gets and sets the property Status.

The status of the job execution (IN_PROGRESS, QUEUED, FAILED, SUCCEEDED, TIMED_OUT, CANCELED, or REJECTED).

Public Property StatusDetails Amazon.IoT.Model.JobExecutionStatusDetails

Gets and sets the property StatusDetails.

A collection of name/value pairs that describe the status of the job execution.

Public Property ThingArn System.String

Gets and sets the property ThingArn.

The ARN of the thing on which the job execution is running.

Public Property VersionNumber System.Int64

Gets and sets the property VersionNumber.

The version of the job execution. Job execution versions are incremented each time they are updated by a device.

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5, 4.0, 3.5