Skip to content

/AWS1/CL_EMSSESSION

Information about a session, including the session state, configuration, and timestamps.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_applicationid TYPE /AWS1/EMSAPPLICATIONID /AWS1/EMSAPPLICATIONID

The ID of the application that the session belongs to.

iv_sessionid TYPE /AWS1/EMSSESSIONID /AWS1/EMSSESSIONID

The ID of the session.

iv_arn TYPE /AWS1/EMSSESSIONARN /AWS1/EMSSESSIONARN

The Amazon Resource Name (ARN) of the session.

iv_state TYPE /AWS1/EMSSESSIONSTATE /AWS1/EMSSESSIONSTATE

The state of the session.

iv_statedetails TYPE /AWS1/EMSSTRING1024 /AWS1/EMSSTRING1024

Additional details about the current state of the session.

iv_releaselabel TYPE /AWS1/EMSRELEASELABEL /AWS1/EMSRELEASELABEL

The Amazon EMR release label associated with the session.

iv_executionrolearn TYPE /AWS1/EMSIAMROLEARN /AWS1/EMSIAMROLEARN

The Amazon Resource Name (ARN) of the execution role for the session.

iv_createdby TYPE /AWS1/EMSREQUESTIDUSERARN /AWS1/EMSREQUESTIDUSERARN

The IAM principal that created the session.

iv_createdat TYPE /AWS1/EMSDATE /AWS1/EMSDATE

The date and time that the session was created.

iv_updatedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE

The date and time that the session was last updated.

Optional arguments:

iv_name TYPE /AWS1/EMSSTRING256 /AWS1/EMSSTRING256

The optional name of the session.

iv_startedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE

The date and time that the session moved to a running state.

iv_endedat TYPE /AWS1/EMSDATE /AWS1/EMSDATE

The date and time that the session was terminated or failed.

iv_idlesince TYPE /AWS1/EMSDATE /AWS1/EMSDATE

The date and time that the session became idle.

io_configurationoverrides TYPE REF TO /AWS1/CL_EMSSESSIONCONFOVRDS /AWS1/CL_EMSSESSIONCONFOVRDS

The configuration overrides for the session, including runtime configuration properties.

io_networkconfiguration TYPE REF TO /AWS1/CL_EMSNETWORKCONF /AWS1/CL_EMSNETWORKCONF

The network configuration for customer VPC connectivity for the session.

iv_idletimeoutminutes TYPE /AWS1/EMSDURATION /AWS1/EMSDURATION

The idle timeout in minutes for the session. After the session remains idle for this duration, it is automatically terminated.

it_tags TYPE /AWS1/CL_EMSTAGMAP_W=>TT_TAGMAP TT_TAGMAP

The tags assigned to the session.

io_totalresourceutilization TYPE REF TO /AWS1/CL_EMSTOTALRESRCUTILIZ00 /AWS1/CL_EMSTOTALRESRCUTILIZ00

The aggregate vCPU, memory, and storage resources used from the time the session starts to execute, until the time the session terminates, rounded up to the nearest second.

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 session. 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_totalexecdurationseconds TYPE /AWS1/EMSLONG /AWS1/EMSLONG

The total execution duration of the session in seconds.


Queryable Attributes

applicationId

The ID of the application that the session belongs to.

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

sessionId

The ID of the session.

Accessible with the following methods

Method Description
GET_SESSIONID() Getter for SESSIONID, with configurable default
ASK_SESSIONID() Getter for SESSIONID w/ exceptions if field has no value
HAS_SESSIONID() Determine if SESSIONID has a value

arn

The Amazon Resource Name (ARN) of the session.

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

name

The optional name of the session.

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

state

The state of the session.

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

Additional details about the current state of the session.

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 label associated with the session.

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

executionRoleArn

The Amazon Resource Name (ARN) of the execution role for the session.

Accessible with the following methods

Method Description
GET_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN, with configurable default
ASK_EXECUTIONROLEARN() Getter for EXECUTIONROLEARN w/ exceptions if field has no va
HAS_EXECUTIONROLEARN() Determine if EXECUTIONROLEARN has a value

createdBy

The IAM principal that created the session.

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 that the session 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 that the session was last 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

startedAt

The date and time that the session moved to a 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 that the session was terminated or failed.

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

idleSince

The date and time that the session became idle.

Accessible with the following methods

Method Description
GET_IDLESINCE() Getter for IDLESINCE, with configurable default
ASK_IDLESINCE() Getter for IDLESINCE w/ exceptions if field has no value
HAS_IDLESINCE() Determine if IDLESINCE has a value

configurationOverrides

The configuration overrides for the session, including runtime configuration properties.

Accessible with the following methods

Method Description
GET_CONFIGURATIONOVERRIDES() Getter for CONFIGURATIONOVERRIDES

networkConfiguration

The network configuration for customer VPC connectivity for the session.

Accessible with the following methods

Method Description
GET_NETWORKCONFIGURATION() Getter for NETWORKCONFIGURATION

idleTimeoutMinutes

The idle timeout in minutes for the session. After the session remains idle for this duration, it is automatically terminated.

Accessible with the following methods

Method Description
GET_IDLETIMEOUTMINUTES() Getter for IDLETIMEOUTMINUTES, with configurable default
ASK_IDLETIMEOUTMINUTES() Getter for IDLETIMEOUTMINUTES w/ exceptions if field has no
HAS_IDLETIMEOUTMINUTES() Determine if IDLETIMEOUTMINUTES has a value

tags

The tags assigned to the session.

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 session starts to execute, until the time the session terminates, rounded up to the nearest second.

Accessible with the following methods

Method Description
GET_TOTALRESOURCEUTILIZATION() Getter for TOTALRESOURCEUTILIZATION

billedResourceUtilization

The aggregate vCPU, memory, and storage that Amazon Web Services has billed for the session. 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

totalExecutionDurationSeconds

The total execution duration of the session in seconds.

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