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

Class: Aws::IoTJobsDataPlane::Types::JobExecution

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

Overview

Instance Attribute Summary collapse

Instance Attribute Details

#approximate_seconds_before_timed_out ⇒ Integer

The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.

Returns:

  • (Integer) —

    The estimated number of seconds that remain before the job execution status will be changed to TIMED_OUT.

#execution_number ⇒ Integer

A number that identifies a particular job execution on a particular device. It can be used later in commands that return or update job execution information.

Returns:

  • (Integer) —

    A number that identifies a particular job execution on a particular device.

#job_document ⇒ String

The content of the job document.

Returns:

  • (String) —

    The content of the job document.

#job_id ⇒ String

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

Returns:

  • (String) —

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

#last_updated_at ⇒ Integer

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

Returns:

  • (Integer) —

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

#queued_at ⇒ Integer

The time, in milliseconds since the epoch, when the job execution was enqueued.

Returns:

  • (Integer) —

    The time, in milliseconds since the epoch, when the job execution was enqueued.

#started_at ⇒ Integer

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

Returns:

  • (Integer) —

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

#status ⇒ String

The status of the job execution. Can be one of: \"QUEUED\", \"IN_PROGRESS\", \"FAILED\", \"SUCCESS\", \"CANCELED\", \"REJECTED\", or \"REMOVED\".

Possible values:

  • QUEUED
  • IN_PROGRESS
  • SUCCEEDED
  • FAILED
  • TIMED_OUT
  • REJECTED
  • REMOVED
  • CANCELED

Returns:

  • (String) —

    The status of the job execution.

#status_details ⇒ Hash<String,String>

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

Returns:

  • (Hash<String,String>) —

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

#thing_name ⇒ String

The name of the thing that is executing the job.

Returns:

  • (String) —

    The name of the thing that is executing the job.

#version_number ⇒ Integer

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

Returns:

  • (Integer) —

    The version of the job execution.