/AWS1/CL_EMR=>GETBLOCKPUBLICACCESSCONF()
¶
About GetBlockPublicAccessConfiguration¶
Returns the Amazon EMR block public access configuration for your Amazon Web Services account in the current Region. For more information see Configure Block Public Access for Amazon EMR in the Amazon EMR Management Guide.
Method Signature¶
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_emrgetblkpubaccconf01
/AWS1/CL_EMRGETBLKPUBACCCONF01
¶
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~getblockpublicaccessconf( ).
This is an example of reading all possible response values
lv_boolean = lo_blockpublicaccessconfig->get_blockpublicsecgrouprules( ).
LOOP AT lo_blockpublicaccessconfig->get_permittedpubsecgrprlra00( ) into lo_row.
lv_port = lo_row_1->get_minrange( ).
lv_port = lo_row_1->get_maxrange( ).
ENDLOOP.
lv_string = lo_blockpublicaccessconfig->get_classification( ).
LOOP AT lo_blockpublicaccessconfig->get_configurations( ) into lo_row_2.
lv_string = lo_row_3->get_classification( ).
LOOP AT lo_row_3->get_configurations( ) into lo_row_4.
lv_string = lo_row_5->get_classification( ).
" Skipping lo_row_4 to avoid recursion
LOOP AT lo_row_5->get_properties( ) into ls_row_6.
lv_key = ls_row_6-key.
lv_string = lo_value->get_value( ).
ENDLOOP.
ENDLOOP.
LOOP AT lo_row_3->get_properties( ) into ls_row_6.
lv_key = ls_row_6-key.
lv_string = lo_value->get_value( ).
ENDLOOP.
ENDLOOP.
LOOP AT lo_blockpublicaccessconfig->get_properties( ) into ls_row_6.
lv_key = ls_row_6-key.
lv_string = lo_value->get_value( ).
ENDLOOP.
lv_date = lo_blockpublicaccessconfig_1->get_creationdatetime( ).
lv_arntype = lo_blockpublicaccessconfig_1->get_createdbyarn( ).