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

Description

 
Synopsis

Documentation

data ContainerSummary Source #

An object representing summary details of a container within a job.

See: newContainerSummary smart constructor.

Constructors

ContainerSummary' 

Fields

  • reason :: Maybe Text

    A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

  • exitCode :: Maybe Int

    The exit code to return upon completion.

Instances

Instances details
Eq ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

Read ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

Show ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

Generic ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

Associated Types

type Rep ContainerSummary :: Type -> Type #

NFData ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

Methods

rnf :: ContainerSummary -> () #

Hashable ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

FromJSON ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

type Rep ContainerSummary Source # 
Instance details

Defined in Amazonka.Batch.Types.ContainerSummary

type Rep ContainerSummary = D1 ('MetaData "ContainerSummary" "Amazonka.Batch.Types.ContainerSummary" "libZSservicesZSamazonka-batchZSamazonka-batch" 'False) (C1 ('MetaCons "ContainerSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "reason") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "exitCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))

newContainerSummary :: ContainerSummary Source #

Create a value of ContainerSummary 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:reason:ContainerSummary', containerSummary_reason - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

$sel:exitCode:ContainerSummary', containerSummary_exitCode - The exit code to return upon completion.

containerSummary_reason :: Lens' ContainerSummary (Maybe Text) Source #

A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

containerSummary_exitCode :: Lens' ContainerSummary (Maybe Int) Source #

The exit code to return upon completion.