Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
- data AttemptContainerDetail = AttemptContainerDetail' {}
- newAttemptContainerDetail :: AttemptContainerDetail
- attemptContainerDetail_networkInterfaces :: Lens' AttemptContainerDetail (Maybe [NetworkInterface])
- attemptContainerDetail_taskArn :: Lens' AttemptContainerDetail (Maybe Text)
- attemptContainerDetail_containerInstanceArn :: Lens' AttemptContainerDetail (Maybe Text)
- attemptContainerDetail_reason :: Lens' AttemptContainerDetail (Maybe Text)
- attemptContainerDetail_logStreamName :: Lens' AttemptContainerDetail (Maybe Text)
- attemptContainerDetail_exitCode :: Lens' AttemptContainerDetail (Maybe Int)
Documentation
data AttemptContainerDetail Source #
An object representing the details of a container that's part of a job attempt.
See: newAttemptContainerDetail
smart constructor.
AttemptContainerDetail' | |
|
Instances
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.