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.AttemptDetail

Description

 
Synopsis

Documentation

data AttemptDetail Source #

An object representing a job attempt.

See: newAttemptDetail smart constructor.

Constructors

AttemptDetail' 

Fields

  • stoppedAt :: Maybe Integer

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

  • startedAt :: Maybe Integer

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

  • container :: Maybe AttemptContainerDetail

    Details about the container in this job attempt.

  • statusReason :: Maybe Text

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

Instances

Instances details
Eq AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Read AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Show AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Generic AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Associated Types

type Rep AttemptDetail :: Type -> Type #

NFData AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Methods

rnf :: AttemptDetail -> () #

Hashable AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

FromJSON AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

type Rep AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

type Rep AttemptDetail = D1 ('MetaData "AttemptDetail" "Amazonka.Batch.Types.AttemptDetail" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "AttemptDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "stoppedAt") '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 AttemptContainerDetail)) :*: S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newAttemptDetail :: AttemptDetail Source #

Create a value of AttemptDetail 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:AttemptDetail', attemptDetail_stoppedAt - The Unix timestamp (in milliseconds) for when the attempt was stopped (when the attempt transitioned from the RUNNING state to a terminal state, such as SUCCEEDED or FAILED).

$sel:startedAt:AttemptDetail', attemptDetail_startedAt - The Unix timestamp (in milliseconds) for when the attempt was started (when the attempt transitioned from the STARTING state to the RUNNING state).

$sel:container:AttemptDetail', attemptDetail_container - Details about the container in this job attempt.

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

attemptDetail_stoppedAt :: Lens' AttemptDetail (Maybe Integer) Source #

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

attemptDetail_startedAt :: Lens' AttemptDetail (Maybe Integer) Source #

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

attemptDetail_container :: Lens' AttemptDetail (Maybe AttemptContainerDetail) Source #

Details about the container in this job attempt.

attemptDetail_statusReason :: Lens' AttemptDetail (Maybe Text) Source #

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