Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data JobSummary = JobSummary' {
- arrayProperties :: Maybe ArrayPropertiesSummary
- container :: Maybe ContainerSummary
- createdAt :: Maybe Integer
- jobArn :: Maybe Text
- jobDefinition :: Maybe Text
- nodeProperties :: Maybe NodePropertiesSummary
- startedAt :: Maybe Integer
- status :: Maybe JobStatus
- statusReason :: Maybe Text
- stoppedAt :: Maybe Integer
- jobId :: Text
- jobName :: Text
- newJobSummary :: Text -> Text -> JobSummary
- jobSummary_arrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary)
- jobSummary_container :: Lens' JobSummary (Maybe ContainerSummary)
- jobSummary_createdAt :: Lens' JobSummary (Maybe Integer)
- jobSummary_jobArn :: Lens' JobSummary (Maybe Text)
- jobSummary_jobDefinition :: Lens' JobSummary (Maybe Text)
- jobSummary_nodeProperties :: Lens' JobSummary (Maybe NodePropertiesSummary)
- jobSummary_startedAt :: Lens' JobSummary (Maybe Integer)
- jobSummary_status :: Lens' JobSummary (Maybe JobStatus)
- jobSummary_statusReason :: Lens' JobSummary (Maybe Text)
- jobSummary_stoppedAt :: Lens' JobSummary (Maybe Integer)
- jobSummary_jobId :: Lens' JobSummary Text
- jobSummary_jobName :: Lens' JobSummary Text
Documentation
data JobSummary Source #
An object that represents summary details of a job.
See: newJobSummary
smart constructor.
JobSummary' | |
|
Instances
Create a value of JobSummary
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:arrayProperties:JobSummary'
, jobSummary_arrayProperties
- The array properties of the job, if it's an array job.
$sel:container:JobSummary'
, jobSummary_container
- An object that represents the details of the container that's
associated with the job.
$sel:createdAt:JobSummary'
, jobSummary_createdAt
- The Unix timestamp (in milliseconds) for when the job was created. For
non-array jobs and parent array jobs, this is when the job entered the
SUBMITTED
state (at the time SubmitJob was called). For array child
jobs, this is when the child job was spawned by its parent and entered
the PENDING
state.
$sel:jobArn:JobSummary'
, jobSummary_jobArn
- The Amazon Resource Name (ARN) of the job.
$sel:jobDefinition:JobSummary'
, jobSummary_jobDefinition
- The Amazon Resource Name (ARN) of the job definition.
$sel:nodeProperties:JobSummary'
, jobSummary_nodeProperties
- The node properties for a single node in a job summary list.
This isn't applicable to jobs that are running on Fargate resources.
$sel:startedAt:JobSummary'
, jobSummary_startedAt
- The Unix timestamp for when the job was started. More specifically,
it's when the job transitioned from the STARTING
state to the
RUNNING
state.
$sel:status:JobSummary'
, jobSummary_status
- The current status for the job.
$sel:statusReason:JobSummary'
, jobSummary_statusReason
- A short, human-readable string to provide more details for the current
status of the job.
$sel:stoppedAt:JobSummary'
, jobSummary_stoppedAt
- The Unix timestamp for when the job was stopped. More specifically,
it's when the job transitioned from the RUNNING
state to a terminal
state, such as SUCCEEDED
or FAILED
.
$sel:jobId:JobSummary'
, jobSummary_jobId
- The job ID.
$sel:jobName:JobSummary'
, jobSummary_jobName
- The job name.
jobSummary_arrayProperties :: Lens' JobSummary (Maybe ArrayPropertiesSummary) Source #
The array properties of the job, if it's an array job.
jobSummary_container :: Lens' JobSummary (Maybe ContainerSummary) Source #
An object that represents the details of the container that's associated with the job.
jobSummary_createdAt :: Lens' JobSummary (Maybe Integer) Source #
The Unix timestamp (in milliseconds) for when the job was created. For
non-array jobs and parent array jobs, this is when the job entered the
SUBMITTED
state (at the time SubmitJob was called). For array child
jobs, this is when the child job was spawned by its parent and entered
the PENDING
state.
jobSummary_jobArn :: Lens' JobSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the job.
jobSummary_jobDefinition :: Lens' JobSummary (Maybe Text) Source #
The Amazon Resource Name (ARN) of the job definition.
jobSummary_nodeProperties :: Lens' JobSummary (Maybe NodePropertiesSummary) Source #
The node properties for a single node in a job summary list.
This isn't applicable to jobs that are running on Fargate resources.
jobSummary_startedAt :: Lens' JobSummary (Maybe Integer) Source #
The Unix timestamp for when the job was started. More specifically,
it's when the job transitioned from the STARTING
state to the
RUNNING
state.
jobSummary_status :: Lens' JobSummary (Maybe JobStatus) Source #
The current status for the job.
jobSummary_statusReason :: Lens' JobSummary (Maybe Text) Source #
A short, human-readable string to provide more details for the current status of the job.
jobSummary_stoppedAt :: Lens' JobSummary (Maybe Integer) Source #
The Unix timestamp for when the job was stopped. More specifically,
it's when the job transitioned from the RUNNING
state to a terminal
state, such as SUCCEEDED
or FAILED
.
jobSummary_jobId :: Lens' JobSummary Text Source #
The job ID.
jobSummary_jobName :: Lens' JobSummary Text Source #
The job name.