Skip to content

/AWS1/CL_EMR=>CREATEPERSISTENTAPPUI()

About CreatePersistentAppUI

Creates a persistent application user interface.

Method Signature

IMPORTING

Required arguments:

iv_targetresourcearn TYPE /AWS1/EMRARNTYPE /AWS1/EMRARNTYPE

The unique Amazon Resource Name (ARN) of the target resource.

Optional arguments:

io_emrcontainersconfig TYPE REF TO /AWS1/CL_EMREMRCONTAINERSCFG /AWS1/CL_EMREMRCONTAINERSCFG

The EMR containers configuration.

it_tags TYPE /AWS1/CL_EMRTAG=>TT_TAGLIST TT_TAGLIST

Tags for the persistent application user interface.

iv_xreferer TYPE /AWS1/EMRSTRING /AWS1/EMRSTRING

The cross reference for the persistent application user interface.

iv_profilertype TYPE /AWS1/EMRPROFILERTYPE /AWS1/EMRPROFILERTYPE

The profiler type for the persistent application user interface. Valid values are SHS, TEZUI, or YTS.

RETURNING

oo_output TYPE REF TO /aws1/cl_emrcrepersistentapp01 /AWS1/CL_EMRCREPERSISTENTAPP01

Domain /AWS1/RT_ACCOUNT_ID
Primitive Type NUMC

Examples

Syntax Example

This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.

DATA(lo_result) = lo_client->/aws1/if_emr~createpersistentappui(
  io_emrcontainersconfig = new /aws1/cl_emremrcontainerscfg( |string| )
  it_tags = VALUE /aws1/cl_emrtag=>tt_taglist(
    (
      new /aws1/cl_emrtag(
        iv_key = |string|
        iv_value = |string|
      )
    )
  )
  iv_profilertype = |string|
  iv_targetresourcearn = |string|
  iv_xreferer = |string|
).

This is an example of reading all possible response values

lo_result = lo_result.
IF lo_result IS NOT INITIAL.
  lv_xmlstringmaxlen256 = lo_result->get_persistentappuiid( ).
  lv_boolean = lo_result->get_runtimeroleenabledclust( ).
ENDIF.