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

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

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

Overview

Contains data about a job execution.

Instance Attribute Summary collapse

Instance Attribute Details

#execution_numberInteger

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)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#job_documentString

The content of the job document.

Returns:

  • (String)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#job_idString

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

Returns:

  • (String)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#last_updated_atInteger

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

Returns:

  • (Integer)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#queued_atInteger

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

Returns:

  • (Integer)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#started_atInteger

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

Returns:

  • (Integer)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#statusString

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

Returns:

  • (String)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#status_detailsHash<String,String>

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

Returns:

  • (Hash<String,String>)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#thing_nameString

The name of the thing that is executing the job.

Returns:

  • (String)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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

#version_numberInteger

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

Returns:

  • (Integer)


139
140
141
142
143
144
145
146
147
148
149
150
151
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 139

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