/AWS1/IF_S3O=>LISTENDPOINTS()¶
About ListEndpoints¶
Lists endpoints associated with the specified Outpost.
Related actions include:
Method Signature¶
METHODS /AWS1/IF_S3O~LISTENDPOINTS
IMPORTING
!IV_NEXTTOKEN TYPE /AWS1/S3ONEXTTOKEN OPTIONAL
!IV_MAXRESULTS TYPE /AWS1/S3OMAXRESULTS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_s3olistendptsresult
RAISING
/AWS1/CX_S3OACCESSDENIEDEX
/AWS1/CX_S3OINTERNALSERVEREX
/AWS1/CX_S3ORESOURCENOTFOUNDEX
/AWS1/CX_S3OTHROTTLINGEX
/AWS1/CX_S3OVALIDATIONEX
/AWS1/CX_S3OCLIENTEXC
/AWS1/CX_S3OSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Optional arguments:¶
iv_nexttoken TYPE /AWS1/S3ONEXTTOKEN /AWS1/S3ONEXTTOKEN¶
If a previous response from this operation included a
NextTokenvalue, provide that value here to retrieve the next page of results.
iv_maxresults TYPE /AWS1/S3OMAXRESULTS /AWS1/S3OMAXRESULTS¶
The maximum number of endpoints that will be returned in the response.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_s3olistendptsresult /AWS1/CL_S3OLISTENDPTSRESULT¶
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->listendpoints(
iv_maxresults = 123
iv_nexttoken = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_endpoints( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_endpointarn = lo_row_1->get_endpointarn( ).
lv_outpostid = lo_row_1->get_outpostsid( ).
lv_cidrblock = lo_row_1->get_cidrblock( ).
lv_endpointstatus = lo_row_1->get_status( ).
lv_creationtime = lo_row_1->get_creationtime( ).
LOOP AT lo_row_1->get_networkinterfaces( ) into lo_row_2.
lo_row_3 = lo_row_2.
IF lo_row_3 IS NOT INITIAL.
lv_networkinterfaceid = lo_row_3->get_networkinterfaceid( ).
ENDIF.
ENDLOOP.
lv_vpcid = lo_row_1->get_vpcid( ).
lv_subnetid = lo_row_1->get_subnetid( ).
lv_securitygroupid = lo_row_1->get_securitygroupid( ).
lv_endpointaccesstype = lo_row_1->get_accesstype( ).
lv_customerownedipv4pool = lo_row_1->get_customerownedipv4pool( ).
lo_failedreason = lo_row_1->get_failedreason( ).
IF lo_failedreason IS NOT INITIAL.
lv_errorcode = lo_failedreason->get_errorcode( ).
lv_message = lo_failedreason->get_message( ).
ENDIF.
ENDIF.
ENDLOOP.
lv_nexttoken = lo_result->get_nexttoken( ).
ENDIF.