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

Description

 
Synopsis

Documentation

data AttemptContainerDetail Source #

An object representing the details of a container that's part of a job attempt.

See: newAttemptContainerDetail smart constructor.

Constructors

AttemptContainerDetail' 

Fields

  • networkInterfaces :: Maybe [NetworkInterface]

    The network interfaces associated with the job attempt.

  • taskArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING status.

  • containerInstanceArn :: Maybe Text

    The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.

  • reason :: Maybe Text

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

  • logStreamName :: Maybe Text

    The name of the CloudWatch Logs log stream associated with the container. The log group for Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

  • exitCode :: Maybe Int

    The exit code for the job attempt. A non-zero exit code is considered a failure.

Instances

Instances details
Eq AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

Read AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

Show AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

Generic AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

Associated Types

type Rep AttemptContainerDetail :: Type -> Type #

NFData AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

Methods

rnf :: AttemptContainerDetail -> () #

Hashable AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

FromJSON AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

type Rep AttemptContainerDetail Source # 
Instance details

Defined in Amazonka.Batch.Types.AttemptContainerDetail

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

newAttemptContainerDetail :: AttemptContainerDetail Source #

Create a value of AttemptContainerDetail 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:networkInterfaces:AttemptContainerDetail', attemptContainerDetail_networkInterfaces - The network interfaces associated with the job attempt.

$sel:taskArn:AttemptContainerDetail', attemptContainerDetail_taskArn - The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING status.

$sel:containerInstanceArn:AttemptContainerDetail', attemptContainerDetail_containerInstanceArn - The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.

$sel:reason:AttemptContainerDetail', attemptContainerDetail_reason - A short (255 max characters) human-readable string to provide additional details about a running or stopped container.

$sel:logStreamName:AttemptContainerDetail', attemptContainerDetail_logStreamName - The name of the CloudWatch Logs log stream associated with the container. The log group for Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

$sel:exitCode:AttemptContainerDetail', attemptContainerDetail_exitCode - The exit code for the job attempt. A non-zero exit code is considered a failure.

attemptContainerDetail_networkInterfaces :: Lens' AttemptContainerDetail (Maybe [NetworkInterface]) Source #

The network interfaces associated with the job attempt.

attemptContainerDetail_taskArn :: Lens' AttemptContainerDetail (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon ECS task that's associated with the job attempt. Each container attempt receives a task ARN when they reach the STARTING status.

attemptContainerDetail_containerInstanceArn :: Lens' AttemptContainerDetail (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Amazon ECS container instance that hosts the job attempt.

attemptContainerDetail_reason :: Lens' AttemptContainerDetail (Maybe Text) Source #

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

attemptContainerDetail_logStreamName :: Lens' AttemptContainerDetail (Maybe Text) Source #

The name of the CloudWatch Logs log stream associated with the container. The log group for Batch jobs is /aws/batch/job. Each container attempt receives a log stream name when they reach the RUNNING status.

attemptContainerDetail_exitCode :: Lens' AttemptContainerDetail (Maybe Int) Source #

The exit code for the job attempt. A non-zero exit code is considered a failure.