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.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#approximate_seconds_before_timed_outInteger

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

Returns:

  • (Integer)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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

#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)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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

#job_documentString

The content of the job document.

Returns:

  • (String)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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

#job_idString

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

Returns:

  • (String)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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

#last_updated_atInteger

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

Returns:

  • (Integer)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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

#queued_atInteger

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

Returns:

  • (Integer)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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

#started_atInteger

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

Returns:

  • (Integer)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

class JobExecution < Struct.new(
  :job_id,
  :thing_name,
  :status,
  :status_details,
  :queued_at,
  :started_at,
  :last_updated_at,
  :approximate_seconds_before_timed_out,
  :version_number,
  :execution_number,
  :job_document)
  SENSITIVE = []
  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)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

class JobExecution < Struct.new(
  :job_id,
  :thing_name,
  :status,
  :status_details,
  :queued_at,
  :started_at,
  :last_updated_at,
  :approximate_seconds_before_timed_out,
  :version_number,
  :execution_number,
  :job_document)
  SENSITIVE = []
  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>)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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

#thing_nameString

The name of the thing that is executing the job.

Returns:

  • (String)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

class JobExecution < Struct.new(
  :job_id,
  :thing_name,
  :status,
  :status_details,
  :queued_at,
  :started_at,
  :last_updated_at,
  :approximate_seconds_before_timed_out,
  :version_number,
  :execution_number,
  :job_document)
  SENSITIVE = []
  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)


174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 174

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