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 JobRun = JobRun' {
- failureReason :: Maybe FailureReason
- state :: Maybe JobRunState
- clientToken :: Maybe Text
- arn :: Maybe Text
- createdAt :: Maybe POSIX
- stateDetails :: Maybe Text
- createdBy :: Maybe Text
- executionRoleArn :: Maybe Text
- jobDriver :: Maybe JobDriver
- configurationOverrides :: Maybe ConfigurationOverrides
- finishedAt :: Maybe POSIX
- name :: Maybe Text
- releaseLabel :: Maybe Text
- id :: Maybe Text
- virtualClusterId :: Maybe Text
- tags :: Maybe (HashMap Text Text)
- newJobRun :: JobRun
- jobRun_failureReason :: Lens' JobRun (Maybe FailureReason)
- jobRun_state :: Lens' JobRun (Maybe JobRunState)
- jobRun_clientToken :: Lens' JobRun (Maybe Text)
- jobRun_arn :: Lens' JobRun (Maybe Text)
- jobRun_createdAt :: Lens' JobRun (Maybe UTCTime)
- jobRun_stateDetails :: Lens' JobRun (Maybe Text)
- jobRun_createdBy :: Lens' JobRun (Maybe Text)
- jobRun_executionRoleArn :: Lens' JobRun (Maybe Text)
- jobRun_jobDriver :: Lens' JobRun (Maybe JobDriver)
- jobRun_configurationOverrides :: Lens' JobRun (Maybe ConfigurationOverrides)
- jobRun_finishedAt :: Lens' JobRun (Maybe UTCTime)
- jobRun_name :: Lens' JobRun (Maybe Text)
- jobRun_releaseLabel :: Lens' JobRun (Maybe Text)
- jobRun_id :: Lens' JobRun (Maybe Text)
- jobRun_virtualClusterId :: Lens' JobRun (Maybe Text)
- jobRun_tags :: Lens' JobRun (Maybe (HashMap Text Text))
Documentation
This entity describes a job run. A job run is a unit of work, such as a Spark jar, PySpark script, or SparkSQL query, that you submit to Amazon EMR on EKS.
See: newJobRun
smart constructor.
JobRun' | |
|
Instances
Create a value of JobRun
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:failureReason:JobRun'
, jobRun_failureReason
- The reasons why the job run has failed.
$sel:state:JobRun'
, jobRun_state
- The state of the job run.
$sel:clientToken:JobRun'
, jobRun_clientToken
- The client token used to start a job run.
$sel:arn:JobRun'
, jobRun_arn
- The ARN of job run.
$sel:createdAt:JobRun'
, jobRun_createdAt
- The date and time when the job run was created.
$sel:stateDetails:JobRun'
, jobRun_stateDetails
- Additional details of the job run state.
$sel:createdBy:JobRun'
, jobRun_createdBy
- The user who created the job run.
$sel:executionRoleArn:JobRun'
, jobRun_executionRoleArn
- The execution role ARN of the job run.
$sel:jobDriver:JobRun'
, jobRun_jobDriver
- Parameters of job driver for the job run.
$sel:configurationOverrides:JobRun'
, jobRun_configurationOverrides
- The configuration settings that are used to override default
configuration.
$sel:finishedAt:JobRun'
, jobRun_finishedAt
- The date and time when the job run has finished.
$sel:name:JobRun'
, jobRun_name
- The name of the job run.
$sel:releaseLabel:JobRun'
, jobRun_releaseLabel
- The release version of Amazon EMR.
$sel:id:JobRun'
, jobRun_id
- The ID of the job run.
$sel:virtualClusterId:JobRun'
, jobRun_virtualClusterId
- The ID of the job run's virtual cluster.
$sel:tags:JobRun'
, jobRun_tags
- The assigned tags of the job run.
jobRun_failureReason :: Lens' JobRun (Maybe FailureReason) Source #
The reasons why the job run has failed.
jobRun_state :: Lens' JobRun (Maybe JobRunState) Source #
The state of the job run.
jobRun_createdAt :: Lens' JobRun (Maybe UTCTime) Source #
The date and time when the job run was created.
jobRun_jobDriver :: Lens' JobRun (Maybe JobDriver) Source #
Parameters of job driver for the job run.
jobRun_configurationOverrides :: Lens' JobRun (Maybe ConfigurationOverrides) Source #
The configuration settings that are used to override default configuration.
jobRun_finishedAt :: Lens' JobRun (Maybe UTCTime) Source #
The date and time when the job run has finished.