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

Class: Aws::Batch::Types::AttemptDetail

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

Overview

An object representing a job attempt.

Instance Attribute Summary collapse

Instance Attribute Details

#containerTypes::AttemptContainerDetail

Details about the container in this job attempt.



75
76
77
78
79
80
81
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 75

class AttemptDetail < Struct.new(
  :container,
  :started_at,
  :stopped_at,
  :status_reason)
  include Aws::Structure
end

#started_atInteger

The Unix timestamp for when the attempt was started (when the task transitioned from the PENDING state to the RUNNING state).

Returns:

  • (Integer)


75
76
77
78
79
80
81
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 75

class AttemptDetail < Struct.new(
  :container,
  :started_at,
  :stopped_at,
  :status_reason)
  include Aws::Structure
end

#status_reasonString

A short, human-readable string to provide additional details about the current status of the job attempt.

Returns:

  • (String)


75
76
77
78
79
80
81
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 75

class AttemptDetail < Struct.new(
  :container,
  :started_at,
  :stopped_at,
  :status_reason)
  include Aws::Structure
end

#stopped_atInteger

The Unix timestamp for when the attempt was stopped (when the task transitioned from the RUNNING state to the STOPPED state).

Returns:

  • (Integer)


75
76
77
78
79
80
81
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 75

class AttemptDetail < Struct.new(
  :container,
  :started_at,
  :stopped_at,
  :status_reason)
  include Aws::Structure
end