Skip to content

/AWS1/IF_EMR=>CREATEPERSISTENTAPPUI()

About CreatePersistentAppUI

Creates a persistent application user interface.

Method Signature

METHODS /AWS1/IF_EMR~CREATEPERSISTENTAPPUI
  IMPORTING
    !IV_TARGETRESOURCEARN TYPE /AWS1/EMRARNTYPE OPTIONAL
    !IO_EMRCONTAINERSCONFIG TYPE REF TO /AWS1/CL_EMREMRCONTAINERSCFG OPTIONAL
    !IT_TAGS TYPE /AWS1/CL_EMRTAG=>TT_TAGLIST OPTIONAL
    !IV_XREFERER TYPE /AWS1/EMRSTRING OPTIONAL
    !IV_PROFILERTYPE TYPE /AWS1/EMRPROFILERTYPE OPTIONAL
  RETURNING
    VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_emrcrepersistentapp01
  RAISING
    /AWS1/CX_EMRINTERNALSERVEREX
    /AWS1/CX_EMRINVALIDREQUESTEX
    /AWS1/CX_EMRCLIENTEXC
    /AWS1/CX_EMRSERVEREXC
    /AWS1/CX_RT_TECHNICAL_GENERIC
    /AWS1/CX_RT_SERVICE_GENERIC.

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.

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->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.