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. The actual job execution timeout can occur up to 60 seconds later than the estimated duration.

Returns:

  • (Integer)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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 seconds since the epoch, when the job execution was last updated.

Returns:

  • (Integer)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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 seconds since the epoch, when the job execution was enqueued.

Returns:

  • (Integer)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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 seconds since the epoch, when the job execution was started.

Returns:

  • (Integer)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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", "TIMED_OUT", "REJECTED", or "REMOVED".

Returns:

  • (String)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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.

The maximum length of the value in the name/value pair is 1,024 characters.

Returns:

  • (Hash<String,String>)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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)


251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
# File 'gems/aws-sdk-iotjobsdataplane/lib/aws-sdk-iotjobsdataplane/types.rb', line 251

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