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

Class: Aws::IoT::Types::JobExecution

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb

Overview

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

Instance Attribute Summary collapse

Instance Attribute Details

#execution_numberInteger

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.

Returns:

  • (Integer)


3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end

#job_idString

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

Returns:

  • (String)


3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end

#last_updated_atTime

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

Returns:

  • (Time)


3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end

#queued_atTime

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

Returns:

  • (Time)


3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end

#started_atTime

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

Returns:

  • (Time)


3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end

#statusString

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

Returns:

  • (String)


3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end

#status_detailsTypes::JobExecutionStatusDetails

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



3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end

#thing_arnString

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

Returns:

  • (String)


3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
# File 'gems/aws-sdk-iot/lib/aws-sdk-iot/types.rb', line 3673

class JobExecution < Struct.new(
  :job_id,
  :status,
  :status_details,
  :thing_arn,
  :queued_at,
  :started_at,
  :last_updated_at,
  :execution_number)
  include Aws::Structure
end