amazonka-batch-2.0: Amazon Batch SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Batch.Types.AttemptDetail

Description

 
Synopsis

Documentation

data AttemptDetail Source #

An object that represents a job attempt.

See: newAttemptDetail smart constructor.

Constructors

AttemptDetail' 

Fields

  • container :: Maybe AttemptContainerDetail

    The details for the container in this job attempt.

  • 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).

  • statusReason :: Maybe Text

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

  • 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).

Instances

Instances details
FromJSON 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 #

Read AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Show AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

NFData AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Methods

rnf :: AttemptDetail -> () #

Eq AttemptDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptDetail

Hashable 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" "amazonka-batch-2.0-Ey2VZ5obnq65VwmlrJ2r2K" 'False) (C1 ('MetaCons "AttemptDetail'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "container") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe AttemptContainerDetail)) :*: S1 ('MetaSel ('Just "startedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer))) :*: (S1 ('MetaSel ('Just "statusReason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "stoppedAt") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)))))

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:container:AttemptDetail', attemptDetail_container - The details for the container in this job attempt.

$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:statusReason:AttemptDetail', attemptDetail_statusReason - A short, human-readable string to provide additional details for the current status of the job attempt.

$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).

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

The details for the container in this job attempt.

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_statusReason :: Lens' AttemptDetail (Maybe Text) Source #

A short, human-readable string to provide additional details for 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).