/AWS1/CL_EMSJOBRUN¶
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 Amazon EMR Serverless application.
CONSTRUCTOR¶
IMPORTING¶
Required arguments:¶
iv_applicationid TYPE /AWS1/EMSAPPLICATIONID /AWS1/EMSAPPLICATIONID¶
The ID of the application the job is running on.
iv_jobrunid TYPE /AWS1/EMSJOBRUNID /AWS1/EMSJOBRUNID¶
The ID of the job run.
iv_arn TYPE /AWS1/EMSJOBARN /AWS1/EMSJOBARN¶
The execution role ARN of the job run.
iv_createdby TYPE /AWS1/EMSREQUESTIDUSERARN /AWS1/EMSREQUESTIDUSERARN¶
The user who created the job run.
iv_createdat TYPE /AWS1/EMSDATE /AWS1/EMSDATE¶
The date and time when the job run was created.
iv_updatedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE¶
The date and time when the job run was updated.
iv_executionrole TYPE /AWS1/EMSIAMROLEARN /AWS1/EMSIAMROLEARN¶
The execution role ARN of the job run.
iv_state TYPE /AWS1/EMSJOBRUNSTATE /AWS1/EMSJOBRUNSTATE¶
The state of the job run.
iv_statedetails TYPE /AWS1/EMSSTRING256 /AWS1/EMSSTRING256¶
The state details of the job run.
iv_releaselabel TYPE /AWS1/EMSRELEASELABEL /AWS1/EMSRELEASELABEL¶
The Amazon EMR release associated with the application your job is running on.
io_jobdriver TYPE REF TO /AWS1/CL_EMSJOBDRIVER /AWS1/CL_EMSJOBDRIVER¶
The job driver for the job run.
Optional arguments:¶
iv_name TYPE /AWS1/EMSSTRING256 /AWS1/EMSSTRING256¶
The optional job run name. This doesn't have to be unique.
io_executioniampolicy TYPE REF TO /AWS1/CL_EMSJOBRUNEXECIAMPLY /AWS1/CL_EMSJOBRUNEXECIAMPLY¶
executionIamPolicy
io_configurationoverrides TYPE REF TO /AWS1/CL_EMSCONFOVERRIDES /AWS1/CL_EMSCONFOVERRIDES¶
The configuration settings that are used to override default configuration.
it_tags TYPE /AWS1/CL_EMSTAGMAP_W=>TT_TAGMAP TT_TAGMAP¶
The tags assigned to the job run.
io_totalresourceutilization TYPE REF TO /AWS1/CL_EMSTOTALRESRCUTILIZ00 /AWS1/CL_EMSTOTALRESRCUTILIZ00¶
The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.
io_networkconfiguration TYPE REF TO /AWS1/CL_EMSNETWORKCONF /AWS1/CL_EMSNETWORKCONF¶
networkConfiguration
iv_totalexecdurationseconds TYPE /AWS1/EMSINTEGER /AWS1/EMSINTEGER¶
The job run total execution duration in seconds. This field is only available for job runs in a
COMPLETED,FAILED, orCANCELLEDstate.
iv_executiontimeoutminutes TYPE /AWS1/EMSDURATION /AWS1/EMSDURATION¶
Returns the job run timeout value from the
StartJobRuncall. If no timeout was specified, then it returns the default timeout of 720 minutes.
io_billedresourceutilization TYPE REF TO /AWS1/CL_EMSRESRCUTILIZATION /AWS1/CL_EMSRESRCUTILIZATION¶
The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.
iv_mode TYPE /AWS1/EMSJOBRUNMODE /AWS1/EMSJOBRUNMODE¶
The mode of the job run.
io_retrypolicy TYPE REF TO /AWS1/CL_EMSRETRYPOLICY /AWS1/CL_EMSRETRYPOLICY¶
The retry policy of the job run.
iv_attempt TYPE /AWS1/EMSATTEMPTNUMBER /AWS1/EMSATTEMPTNUMBER¶
The attempt of the job run.
iv_attemptcreatedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE¶
The date and time of when the job run attempt was created.
iv_attemptupdatedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE¶
The date and time of when the job run attempt was last updated.
iv_startedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE¶
The date and time when the job moved to the RUNNING state.
iv_endedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE¶
The date and time when the job was terminated.
iv_queueddurmilliseconds TYPE /AWS1/EMSLONG /AWS1/EMSLONG¶
The total time for a job in the QUEUED state in milliseconds.
Queryable Attributes¶
applicationId¶
The ID of the application the job is running on.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_APPLICATIONID() |
Getter for APPLICATIONID, with configurable default |
ASK_APPLICATIONID() |
Getter for APPLICATIONID w/ exceptions if field has no value |
HAS_APPLICATIONID() |
Determine if APPLICATIONID has a value |
jobRunId¶
The ID of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_JOBRUNID() |
Getter for JOBRUNID, with configurable default |
ASK_JOBRUNID() |
Getter for JOBRUNID w/ exceptions if field has no value |
HAS_JOBRUNID() |
Determine if JOBRUNID has a value |
name¶
The optional job run name. This doesn't have to be unique.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NAME() |
Getter for NAME, with configurable default |
ASK_NAME() |
Getter for NAME w/ exceptions if field has no value |
HAS_NAME() |
Determine if NAME has a value |
arn¶
The execution role ARN of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ARN() |
Getter for ARN, with configurable default |
ASK_ARN() |
Getter for ARN w/ exceptions if field has no value |
HAS_ARN() |
Determine if ARN has a value |
createdBy¶
The user who created the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDBY() |
Getter for CREATEDBY, with configurable default |
ASK_CREATEDBY() |
Getter for CREATEDBY w/ exceptions if field has no value |
HAS_CREATEDBY() |
Determine if CREATEDBY has a value |
createdAt¶
The date and time when the job run was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CREATEDAT() |
Getter for CREATEDAT, with configurable default |
ASK_CREATEDAT() |
Getter for CREATEDAT w/ exceptions if field has no value |
HAS_CREATEDAT() |
Determine if CREATEDAT has a value |
updatedAt¶
The date and time when the job run was updated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_UPDATEDAT() |
Getter for UPDATEDAT, with configurable default |
ASK_UPDATEDAT() |
Getter for UPDATEDAT w/ exceptions if field has no value |
HAS_UPDATEDAT() |
Determine if UPDATEDAT has a value |
executionRole¶
The execution role ARN of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXECUTIONROLE() |
Getter for EXECUTIONROLE, with configurable default |
ASK_EXECUTIONROLE() |
Getter for EXECUTIONROLE w/ exceptions if field has no value |
HAS_EXECUTIONROLE() |
Determine if EXECUTIONROLE has a value |
executionIamPolicy¶
executionIamPolicy
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXECUTIONIAMPOLICY() |
Getter for EXECUTIONIAMPOLICY |
state¶
The state of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATE() |
Getter for STATE, with configurable default |
ASK_STATE() |
Getter for STATE w/ exceptions if field has no value |
HAS_STATE() |
Determine if STATE has a value |
stateDetails¶
The state details of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STATEDETAILS() |
Getter for STATEDETAILS, with configurable default |
ASK_STATEDETAILS() |
Getter for STATEDETAILS w/ exceptions if field has no value |
HAS_STATEDETAILS() |
Determine if STATEDETAILS has a value |
releaseLabel¶
The Amazon EMR release associated with the application your job is running on.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RELEASELABEL() |
Getter for RELEASELABEL, with configurable default |
ASK_RELEASELABEL() |
Getter for RELEASELABEL w/ exceptions if field has no value |
HAS_RELEASELABEL() |
Determine if RELEASELABEL has a value |
configurationOverrides¶
The configuration settings that are used to override default configuration.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_CONFIGURATIONOVERRIDES() |
Getter for CONFIGURATIONOVERRIDES |
jobDriver¶
The job driver for the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_JOBDRIVER() |
Getter for JOBDRIVER |
tags¶
The tags assigned to the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TAGS() |
Getter for TAGS, with configurable default |
ASK_TAGS() |
Getter for TAGS w/ exceptions if field has no value |
HAS_TAGS() |
Determine if TAGS has a value |
totalResourceUtilization¶
The aggregate vCPU, memory, and storage resources used from the time the job starts to execute, until the time the job terminates, rounded up to the nearest second.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOTALRESOURCEUTILIZATION() |
Getter for TOTALRESOURCEUTILIZATION |
networkConfiguration¶
networkConfiguration
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_NETWORKCONFIGURATION() |
Getter for NETWORKCONFIGURATION |
totalExecutionDurationSeconds¶
The job run total execution duration in seconds. This field is only available for job runs in a
COMPLETED,FAILED, orCANCELLEDstate.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_TOTALEXECDURATIONSECONDS() |
Getter for TOTALEXECDURATIONSECONDS, with configurable defau |
ASK_TOTALEXECDURATIONSECONDS() |
Getter for TOTALEXECDURATIONSECONDS w/ exceptions if field h |
HAS_TOTALEXECDURATIONSECONDS() |
Determine if TOTALEXECDURATIONSECONDS has a value |
executionTimeoutMinutes¶
Returns the job run timeout value from the
StartJobRuncall. If no timeout was specified, then it returns the default timeout of 720 minutes.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_EXECUTIONTIMEOUTMINUTES() |
Getter for EXECUTIONTIMEOUTMINUTES, with configurable defaul |
ASK_EXECUTIONTIMEOUTMINUTES() |
Getter for EXECUTIONTIMEOUTMINUTES w/ exceptions if field ha |
HAS_EXECUTIONTIMEOUTMINUTES() |
Determine if EXECUTIONTIMEOUTMINUTES has a value |
billedResourceUtilization¶
The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the job run. The billed resources include a 1-minute minimum usage for workers, plus additional storage over 20 GB per worker. Note that billed resources do not include usage for idle pre-initialized workers.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_BILLEDRESRCUTILIZATION() |
Getter for BILLEDRESOURCEUTILIZATION |
mode¶
The mode of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_MODE() |
Getter for MODE, with configurable default |
ASK_MODE() |
Getter for MODE w/ exceptions if field has no value |
HAS_MODE() |
Determine if MODE has a value |
retryPolicy¶
The retry policy of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_RETRYPOLICY() |
Getter for RETRYPOLICY |
attempt¶
The attempt of the job run.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTEMPT() |
Getter for ATTEMPT, with configurable default |
ASK_ATTEMPT() |
Getter for ATTEMPT w/ exceptions if field has no value |
HAS_ATTEMPT() |
Determine if ATTEMPT has a value |
attemptCreatedAt¶
The date and time of when the job run attempt was created.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTEMPTCREATEDAT() |
Getter for ATTEMPTCREATEDAT, with configurable default |
ASK_ATTEMPTCREATEDAT() |
Getter for ATTEMPTCREATEDAT w/ exceptions if field has no va |
HAS_ATTEMPTCREATEDAT() |
Determine if ATTEMPTCREATEDAT has a value |
attemptUpdatedAt¶
The date and time of when the job run attempt was last updated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ATTEMPTUPDATEDAT() |
Getter for ATTEMPTUPDATEDAT, with configurable default |
ASK_ATTEMPTUPDATEDAT() |
Getter for ATTEMPTUPDATEDAT w/ exceptions if field has no va |
HAS_ATTEMPTUPDATEDAT() |
Determine if ATTEMPTUPDATEDAT has a value |
startedAt¶
The date and time when the job moved to the RUNNING state.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_STARTEDAT() |
Getter for STARTEDAT, with configurable default |
ASK_STARTEDAT() |
Getter for STARTEDAT w/ exceptions if field has no value |
HAS_STARTEDAT() |
Determine if STARTEDAT has a value |
endedAt¶
The date and time when the job was terminated.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_ENDEDAT() |
Getter for ENDEDAT, with configurable default |
ASK_ENDEDAT() |
Getter for ENDEDAT w/ exceptions if field has no value |
HAS_ENDEDAT() |
Determine if ENDEDAT has a value |
queuedDurationMilliseconds¶
The total time for a job in the QUEUED state in milliseconds.
Accessible with the following methods¶
| Method | Description |
|---|---|
GET_QUEUEDDURMILLISECONDS() |
Getter for QUEUEDDURATIONMILLISECONDS, with configurable def |
ASK_QUEUEDDURMILLISECONDS() |
Getter for QUEUEDDURATIONMILLISECONDS w/ exceptions if field |
HAS_QUEUEDDURMILLISECONDS() |
Determine if QUEUEDDURATIONMILLISECONDS has a value |