libZSservicesZSamazonka-batchZSamazonka-batch
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Batch.Types.JobSummary

Description

 
Synopsis

Documentation

data JobSummary Source #

An object representing summary details of a job.

See: newJobSummary smart constructor.

Constructors

JobSummary' 

Fields

  • stoppedAt :: Maybe Integer

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

  • status :: Maybe JobStatus

    The current status for the job.

  • jobArn :: Maybe Text

    The Amazon Resource Name (ARN) of the job.

  • createdAt :: Maybe Integer

    The Unix timestamp 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.

  • startedAt :: Maybe Integer

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

  • container :: Maybe ContainerSummary

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

  • jobDefinition :: Maybe Text

    The Amazon Resource Name (ARN) of the job definition.

  • statusReason :: Maybe Text

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

  • arrayProperties :: Maybe ArrayPropertiesSummary

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

  • nodeProperties :: Maybe NodePropertiesSummary

    The node properties for a single node in a job summary list.

    This isn't applicable to jobs that are running on Fargate resources.

  • jobId :: Text

    The ID of the job.

  • jobName :: Text

    The name of the job.

Instances

Instances details
Eq JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

Read JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

Show JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

Generic JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

Associated Types

type Rep JobSummary :: Type -> Type #

NFData JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

Methods

rnf :: JobSummary -> () #

Hashable JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

FromJSON JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

type Rep JobSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.JobSummary

type Rep JobSummary = D1 ('MetaData "JobSummary" "Amazonka.Batch.Types.JobSummary" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "JobSummary'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "stoppedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe JobStatus)) :*: S1 ('MetaSel ('Just "jobArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: (S1 ('MetaSel ('Just "createdAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "container") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ContainerSummary))))) :*: ((S1 ('MetaSel ('Just "jobDefinition") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "arrayProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ArrayPropertiesSummary)))) :*: (S1 ('MetaSel ('Just "nodeProperties") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe NodePropertiesSummary)) :*: (S1 ('MetaSel ('Just "jobId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "jobName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))))

newJobSummary Source #

Create a value of JobSummary with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:stoppedAt:JobSummary', jobSummary_stoppedAt - The Unix timestamp for when the job was stopped (when the job transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

$sel:status:JobSummary', jobSummary_status - The current status for the job.

$sel:jobArn:JobSummary', jobSummary_jobArn - The Amazon Resource Name (ARN) of the job.

$sel:createdAt:JobSummary', jobSummary_createdAt - The Unix timestamp 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.

$sel:startedAt:JobSummary', jobSummary_startedAt - The Unix timestamp for when the job was started (when the job transitioned from the STARTING state to the RUNNING state).

$sel:container:JobSummary', jobSummary_container - An object representing the details of the container that's associated with the job.

$sel:jobDefinition:JobSummary', jobSummary_jobDefinition - The Amazon Resource Name (ARN) of the job definition.

$sel:statusReason:JobSummary', jobSummary_statusReason - A short, human-readable string to provide additional details about the current status of the job.

$sel:arrayProperties:JobSummary', jobSummary_arrayProperties - The array properties of the job, if it is an array job.

$sel:nodeProperties:JobSummary', jobSummary_nodeProperties - The node properties for a single node in a job summary list.

This isn't applicable to jobs that are running on Fargate resources.

$sel:jobId:JobSummary', jobSummary_jobId - The ID of the job.

$sel:jobName:JobSummary', jobSummary_jobName - The name of the job.

jobSummary_stoppedAt :: Lens' JobSummary (Maybe Integer) Source #

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

jobSummary_status :: Lens' JobSummary (Maybe JobStatus) Source #

The current status for the job.

jobSummary_jobArn :: Lens' JobSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the job.

jobSummary_createdAt :: Lens' JobSummary (Maybe Integer) Source #

The Unix timestamp 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.

jobSummary_startedAt :: Lens' JobSummary (Maybe Integer) Source #

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

jobSummary_container :: Lens' JobSummary (Maybe ContainerSummary) Source #

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

jobSummary_jobDefinition :: Lens' JobSummary (Maybe Text) Source #

The Amazon Resource Name (ARN) of the job definition.

jobSummary_statusReason :: Lens' JobSummary (Maybe Text) Source #

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

jobSummary_arrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary) Source #

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

jobSummary_nodeProperties :: Lens' JobSummary (Maybe NodePropertiesSummary) Source #

The node properties for a single node in a job summary list.

This isn't applicable to jobs that are running on Fargate resources.