/AWS1/IF_EMC=>CREATEMANAGEDENDPOINT()¶
About CreateManagedEndpoint¶
Creates a managed endpoint. A managed endpoint is a gateway that connects Amazon EMR Studio to Amazon EMR on EKS so that Amazon EMR Studio can communicate with your virtual cluster.
Method Signature¶
METHODS /AWS1/IF_EMC~CREATEMANAGEDENDPOINT
IMPORTING
!IV_NAME TYPE /AWS1/EMCRESOURCENAMESTRING OPTIONAL
!IV_VIRTUALCLUSTERID TYPE /AWS1/EMCRESOURCEIDSTRING OPTIONAL
!IV_TYPE TYPE /AWS1/EMCENDPOINTTYPE OPTIONAL
!IV_RELEASELABEL TYPE /AWS1/EMCRELEASELABEL OPTIONAL
!IV_EXECUTIONROLEARN TYPE /AWS1/EMCIAMROLEARN OPTIONAL
!IV_CERTIFICATEARN TYPE /AWS1/EMCACMCERTARN OPTIONAL
!IO_CONFIGURATIONOVERRIDES TYPE REF TO /AWS1/CL_EMCCONFOVERRIDES OPTIONAL
!IV_CLIENTTOKEN TYPE /AWS1/EMCCLIENTTOKEN OPTIONAL
!IT_TAGS TYPE /AWS1/CL_EMCTAGMAP_W=>TT_TAGMAP OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_emccremanagedendptrsp
RAISING
/AWS1/CX_EMCINTERNALSERVEREX
/AWS1/CX_EMCRESOURCENOTFOUNDEX
/AWS1/CX_EMCVALIDATIONEX
/AWS1/CX_EMCCLIENTEXC
/AWS1/CX_EMCSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_name TYPE /AWS1/EMCRESOURCENAMESTRING /AWS1/EMCRESOURCENAMESTRING¶
The name of the managed endpoint.
iv_virtualclusterid TYPE /AWS1/EMCRESOURCEIDSTRING /AWS1/EMCRESOURCEIDSTRING¶
The ID of the virtual cluster for which a managed endpoint is created.
iv_type TYPE /AWS1/EMCENDPOINTTYPE /AWS1/EMCENDPOINTTYPE¶
The type of the managed endpoint.
iv_releaselabel TYPE /AWS1/EMCRELEASELABEL /AWS1/EMCRELEASELABEL¶
The Amazon EMR release version.
iv_executionrolearn TYPE /AWS1/EMCIAMROLEARN /AWS1/EMCIAMROLEARN¶
The ARN of the execution role.
iv_clienttoken TYPE /AWS1/EMCCLIENTTOKEN /AWS1/EMCCLIENTTOKEN¶
The client idempotency token for this create call.
Optional arguments:¶
iv_certificatearn TYPE /AWS1/EMCACMCERTARN /AWS1/EMCACMCERTARN¶
The certificate ARN provided by users for the managed endpoint. This field is under deprecation and will be removed in future releases.
io_configurationoverrides TYPE REF TO /AWS1/CL_EMCCONFOVERRIDES /AWS1/CL_EMCCONFOVERRIDES¶
The configuration settings that will be used to override existing configurations.
it_tags TYPE /AWS1/CL_EMCTAGMAP_W=>TT_TAGMAP TT_TAGMAP¶
The tags of the managed endpoint.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_emccremanagedendptrsp /AWS1/CL_EMCCREMANAGEDENDPTRSP¶
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->createmanagedendpoint(
io_configurationoverrides = new /aws1/cl_emcconfoverrides(
io_monitoringconfiguration = new /aws1/cl_emcmonitoringconf(
io_cloudwatchmonitoringconf = new /aws1/cl_emccloudwatchmonconf(
iv_loggroupname = |string|
iv_logstreamnameprefix = |string|
)
io_containerlogrotationconf = new /aws1/cl_emccontainerlogrota00(
iv_maxfilestokeep = 123
iv_rotationsize = |string|
)
io_managedlogs = new /aws1/cl_emcmanagedlogs(
iv_allowawstoretainlogs = |string|
iv_encryptionkeyarn = |string|
)
io_s3monitoringconfiguration = new /aws1/cl_emcs3monitoringconf( |string| )
iv_persistentappui = |string|
)
it_applicationconfiguration = VALUE /aws1/cl_emcconfiguration=>tt_configurationlist(
(
new /aws1/cl_emcconfiguration(
it_configurations = VALUE /aws1/cl_emcconfiguration=>tt_configurationlist(
)
it_properties = VALUE /aws1/cl_emcsensitiveprpsmap_w=>tt_sensitivepropertiesmap(
(
VALUE /aws1/cl_emcsensitiveprpsmap_w=>ts_sensitiveprpsmap_maprow(
key = |string|
value = new /aws1/cl_emcsensitiveprpsmap_w( |string| )
)
)
)
iv_classification = |string|
)
)
)
)
it_tags = VALUE /aws1/cl_emctagmap_w=>tt_tagmap(
(
VALUE /aws1/cl_emctagmap_w=>ts_tagmap_maprow(
key = |string|
value = new /aws1/cl_emctagmap_w( |string| )
)
)
)
iv_certificatearn = |string|
iv_clienttoken = |string|
iv_executionrolearn = |string|
iv_name = |string|
iv_releaselabel = |string|
iv_type = |string|
iv_virtualclusterid = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_resourceidstring = lo_result->get_id( ).
lv_resourcenamestring = lo_result->get_name( ).
lv_endpointarn = lo_result->get_arn( ).
lv_resourceidstring = lo_result->get_virtualclusterid( ).
ENDIF.