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

Class: Aws::Batch::Types::JobSummary

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

Overview

An object representing summary details of a job.

Instance Attribute Summary collapse

Instance Attribute Details

#array_propertiesTypes::ArrayPropertiesSummary

The array properties of the job, if it is an array job.



1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#containerTypes::ContainerSummary

An object representing the details of the container that is associated with the job.



1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#created_atInteger

The Unix time stamp for when the job was created. For non-array jobs and parent array jobs, this is when the job entered the SUBMITTED state (at the time SubmitJob was called). For array child jobs, this is when the child job was spawned by its parent and entered the PENDING state.

Returns:

  • (Integer)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#job_idString

The ID of the job.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#job_nameString

The name of the job.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#started_atInteger

The Unix time stamp for when the job was started (when the job transitioned from the STARTING state to the RUNNING state).

Returns:

  • (Integer)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#statusString

The current status for the job.

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#status_reasonString

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

Returns:

  • (String)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end

#stopped_atInteger

The Unix time stamp for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

Returns:

  • (Integer)


1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
# File 'gems/aws-sdk-batch/lib/aws-sdk-batch/types.rb', line 1617

class JobSummary < Struct.new(
  :job_id,
  :job_name,
  :created_at,
  :status,
  :status_reason,
  :started_at,
  :stopped_at,
  :container,
  :array_properties)
  include Aws::Structure
end