Skip to content

/AWS1/CL_EMR=>LISTSTUDIOS()

About ListStudios

Returns a list of all Amazon EMR Studios associated with the Amazon Web Services account. The list includes details such as ID, Studio Access URL, and creation time for each Studio.

Method Signature

IMPORTING

Optional arguments:

iv_marker TYPE /AWS1/EMRMARKER /AWS1/EMRMARKER

The pagination token that indicates the set of results to retrieve.

RETURNING

oo_output TYPE REF TO /aws1/cl_emrliststudiosoutput /AWS1/CL_EMRLISTSTUDIOSOUTPUT

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~liststudios( |string| ).

This is an example of reading all possible response values

LOOP AT lo_result->get_studios( ) into lo_row.
  lv_xmlstringmaxlen256 = lo_row_1->get_studioid( ).
  lv_xmlstringmaxlen256 = lo_row_1->get_name( ).
  lv_xmlstringmaxlen256 = lo_row_1->get_vpcid( ).
  lv_xmlstringmaxlen256 = lo_row_1->get_description( ).
  lv_xmlstringmaxlen256 = lo_row_1->get_url( ).
  lv_authmode = lo_row_1->get_authmode( ).
  lv_date = lo_row_1->get_creationtime( ).
ENDLOOP.
lv_marker = lo_result->get_marker( ).