| 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 |
Amazonka.EMRServerless.Types.JobRun
Description
Synopsis
- data JobRun = JobRun' {
- configurationOverrides :: Maybe ConfigurationOverrides
- name :: Maybe Text
- networkConfiguration :: Maybe NetworkConfiguration
- tags :: Maybe (HashMap Text Text)
- totalExecutionDurationSeconds :: Maybe Int
- totalResourceUtilization :: Maybe TotalResourceUtilization
- applicationId :: Text
- jobRunId :: Text
- arn :: Text
- createdBy :: Text
- createdAt :: POSIX
- updatedAt :: POSIX
- executionRole :: Text
- state :: JobRunState
- stateDetails :: Text
- releaseLabel :: Text
- jobDriver :: JobDriver
- newJobRun :: Text -> Text -> Text -> Text -> UTCTime -> UTCTime -> Text -> JobRunState -> Text -> Text -> JobDriver -> JobRun
- jobRun_configurationOverrides :: Lens' JobRun (Maybe ConfigurationOverrides)
- jobRun_name :: Lens' JobRun (Maybe Text)
- jobRun_networkConfiguration :: Lens' JobRun (Maybe NetworkConfiguration)
- jobRun_tags :: Lens' JobRun (Maybe (HashMap Text Text))
- jobRun_totalExecutionDurationSeconds :: Lens' JobRun (Maybe Int)
- jobRun_totalResourceUtilization :: Lens' JobRun (Maybe TotalResourceUtilization)
- jobRun_applicationId :: Lens' JobRun Text
- jobRun_jobRunId :: Lens' JobRun Text
- jobRun_arn :: Lens' JobRun Text
- jobRun_createdBy :: Lens' JobRun Text
- jobRun_createdAt :: Lens' JobRun UTCTime
- jobRun_updatedAt :: Lens' JobRun UTCTime
- jobRun_executionRole :: Lens' JobRun Text
- jobRun_state :: Lens' JobRun JobRunState
- jobRun_stateDetails :: Lens' JobRun Text
- jobRun_releaseLabel :: Lens' JobRun Text
- jobRun_jobDriver :: Lens' JobRun JobDriver
Documentation
Information about a job run. A job run is a unit of work, such as a Spark JAR, Hive query, or SparkSQL query, that you submit to an EMR Serverless application.
See: newJobRun smart constructor.
Constructors
| JobRun' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> Text | |
| -> UTCTime | |
| -> UTCTime | |
| -> Text | |
| -> JobRunState | |
| -> Text | |
| -> Text | |
| -> JobDriver | |
| -> JobRun |
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:configurationOverrides:JobRun', jobRun_configurationOverrides - The configuration settings that are used to override default
configuration.
$sel:name:JobRun', jobRun_name - The optional job run name. This doesn't have to be unique.
$sel:networkConfiguration:JobRun', jobRun_networkConfiguration - Undocumented member.
$sel:tags:JobRun', jobRun_tags - The tags assigned to the job run.
$sel:totalExecutionDurationSeconds:JobRun', jobRun_totalExecutionDurationSeconds - The job run total execution duration in seconds. This field is only
available for job runs in a COMPLETED, FAILED, or CANCELLED state.
$sel:totalResourceUtilization:JobRun', jobRun_totalResourceUtilization - The aggregate vCPU, memory, and storage resources used from the time job
start executing till the time job is terminated, rounded up to the
nearest second.
$sel:applicationId:JobRun', jobRun_applicationId - The ID of the application the job is running on.
$sel:jobRunId:JobRun', jobRun_jobRunId - The ID of the job run.
$sel:arn:JobRun', jobRun_arn - The execution role ARN of the job run.
$sel:createdBy:JobRun', jobRun_createdBy - The user who created the job run.
$sel:createdAt:JobRun', jobRun_createdAt - The date and time when the job run was created.
$sel:updatedAt:JobRun', jobRun_updatedAt - The date and time when the job run was updated.
$sel:executionRole:JobRun', jobRun_executionRole - The execution role ARN of the job run.
$sel:state:JobRun', jobRun_state - The state of the job run.
$sel:stateDetails:JobRun', jobRun_stateDetails - The state details of the job run.
$sel:releaseLabel:JobRun', jobRun_releaseLabel - The EMR release associated with the application your job is running on.
$sel:jobDriver:JobRun', jobRun_jobDriver - The job driver for the job run.
jobRun_configurationOverrides :: Lens' JobRun (Maybe ConfigurationOverrides) Source #
The configuration settings that are used to override default configuration.
jobRun_name :: Lens' JobRun (Maybe Text) Source #
The optional job run name. This doesn't have to be unique.
jobRun_networkConfiguration :: Lens' JobRun (Maybe NetworkConfiguration) Source #
Undocumented member.
jobRun_totalExecutionDurationSeconds :: Lens' JobRun (Maybe Int) Source #
The job run total execution duration in seconds. This field is only
available for job runs in a COMPLETED, FAILED, or CANCELLED state.
jobRun_totalResourceUtilization :: Lens' JobRun (Maybe TotalResourceUtilization) Source #
The aggregate vCPU, memory, and storage resources used from the time job start executing till the time job is terminated, rounded up to the nearest second.
jobRun_state :: Lens' JobRun JobRunState Source #
The state of the job run.