/AWS1/IF_NEP=>CREATEDBCLUSTERENDPOINT()¶
About CreateDBClusterEndpoint¶
Creates a new custom endpoint and associates it with an Amazon Neptune DB cluster.
Method Signature¶
METHODS /AWS1/IF_NEP~CREATEDBCLUSTERENDPOINT
IMPORTING
!IV_DBCLUSTERIDENTIFIER TYPE /AWS1/NEPSTRING OPTIONAL
!IV_DBCLUSTERENDPOINTID TYPE /AWS1/NEPSTRING OPTIONAL
!IV_ENDPOINTTYPE TYPE /AWS1/NEPSTRING OPTIONAL
!IT_STATICMEMBERS TYPE /AWS1/CL_NEPSTRINGLIST_W=>TT_STRINGLIST OPTIONAL
!IT_EXCLUDEDMEMBERS TYPE /AWS1/CL_NEPSTRINGLIST_W=>TT_STRINGLIST OPTIONAL
!IT_TAGS TYPE /AWS1/CL_NEPTAG=>TT_TAGLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_nepcredbclustendptout
RAISING
/AWS1/CX_NEPDBCLSTENDPTALREX00
/AWS1/CX_NEPDBCLSTENDPTQUOTA00
/AWS1/CX_NEPDBCLUSTNOTFNDFAULT
/AWS1/CX_NEPDBINSTNOTFNDFAULT
/AWS1/CX_NEPINVDBCLSTSTATEFA00
/AWS1/CX_NEPINVDBINSTSTATEFA00
/AWS1/CX_NEPCLIENTEXC
/AWS1/CX_NEPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_dbclusteridentifier TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING¶
The DB cluster identifier of the DB cluster associated with the endpoint. This parameter is stored as a lowercase string.
iv_dbclusterendpointid TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING¶
The identifier to use for the new endpoint. This parameter is stored as a lowercase string.
iv_endpointtype TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING¶
The type of the endpoint. One of:
READER,WRITER,ANY.
Optional arguments:¶
it_staticmembers TYPE /AWS1/CL_NEPSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST¶
List of DB instance identifiers that are part of the custom endpoint group.
it_excludedmembers TYPE /AWS1/CL_NEPSTRINGLIST_W=>TT_STRINGLIST TT_STRINGLIST¶
List of DB instance identifiers that aren't part of the custom endpoint group. All other eligible instances are reachable through the custom endpoint. Only relevant if the list of static members is empty.
it_tags TYPE /AWS1/CL_NEPTAG=>TT_TAGLIST TT_TAGLIST¶
The tags to be assigned to the Amazon Neptune resource.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_nepcredbclustendptout /AWS1/CL_NEPCREDBCLUSTENDPTOUT¶
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->createdbclusterendpoint(
it_excludedmembers = VALUE /aws1/cl_nepstringlist_w=>tt_stringlist(
( new /aws1/cl_nepstringlist_w( |string| ) )
)
it_staticmembers = VALUE /aws1/cl_nepstringlist_w=>tt_stringlist(
( new /aws1/cl_nepstringlist_w( |string| ) )
)
it_tags = VALUE /aws1/cl_neptag=>tt_taglist(
(
new /aws1/cl_neptag(
iv_key = |string|
iv_value = |string|
)
)
)
iv_dbclusterendpointid = |string|
iv_dbclusteridentifier = |string|
iv_endpointtype = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_string = lo_result->get_dbclusterendpointid( ).
lv_string = lo_result->get_dbclusteridentifier( ).
lv_string = lo_result->get_dbclusterendptresourceid( ).
lv_string = lo_result->get_endpoint( ).
lv_string = lo_result->get_status( ).
lv_string = lo_result->get_endpointtype( ).
lv_string = lo_result->get_customendpointtype( ).
LOOP AT lo_result->get_staticmembers( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
LOOP AT lo_result->get_excludedmembers( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_value( ).
ENDIF.
ENDLOOP.
lv_string = lo_result->get_dbclusterendpointarn( ).
ENDIF.