/AWS1/IF_OSI=>CREATEPIPELINEENDPOINT()¶
About CreatePipelineEndpoint¶
Creates a VPC endpoint for an OpenSearch Ingestion pipeline. Pipeline endpoints allow you to ingest data from your VPC into pipelines that you have access to.
Method Signature¶
METHODS /AWS1/IF_OSI~CREATEPIPELINEENDPOINT
IMPORTING
!IV_PIPELINEARN TYPE /AWS1/OSIPIPELINEARN OPTIONAL
!IO_VPCOPTIONS TYPE REF TO /AWS1/CL_OSIPLINENDPTVPCOPTS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_osicreateplinendptrsp
RAISING
/AWS1/CX_OSIACCESSDENIEDEX
/AWS1/CX_OSIDISABLEDOPEX
/AWS1/CX_OSIINTERNALEXCEPTION
/AWS1/CX_OSILIMITEXCEEDEDEX
/AWS1/CX_OSIRESOURCENOTFOUNDEX
/AWS1/CX_OSIVALIDATIONEX
/AWS1/CX_OSICLIENTEXC
/AWS1/CX_OSISERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_pipelinearn TYPE /AWS1/OSIPIPELINEARN /AWS1/OSIPIPELINEARN¶
The Amazon Resource Name (ARN) of the pipeline to create the endpoint for.
io_vpcoptions TYPE REF TO /AWS1/CL_OSIPLINENDPTVPCOPTS /AWS1/CL_OSIPLINENDPTVPCOPTS¶
Container for the VPC configuration for the pipeline endpoint, including subnet IDs and security group IDs.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_osicreateplinendptrsp /AWS1/CL_OSICREATEPLINENDPTRSP¶
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->createpipelineendpoint(
io_vpcoptions = new /aws1/cl_osiplinendptvpcopts(
it_securitygroupids = VALUE /aws1/cl_osisecuritygroupids_w=>tt_securitygroupids(
( new /aws1/cl_osisecuritygroupids_w( |string| ) )
)
it_subnetids = VALUE /aws1/cl_osisubnetids_w=>tt_subnetids(
( new /aws1/cl_osisubnetids_w( |string| ) )
)
)
iv_pipelinearn = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_pipelinearn = lo_result->get_pipelinearn( ).
lv_pipelineendpointid = lo_result->get_endpointid( ).
lv_pipelineendpointstatus = lo_result->get_status( ).
lv_string = lo_result->get_vpcid( ).
ENDIF.