/AWS1/IF_LMD=>LISTFUNCVERSIONSBYCAPPVDR()¶
About ListFunctionVersionsByCapacityProvider¶
Returns a list of function versions that are configured to use a specific capacity provider.
Method Signature¶
METHODS /AWS1/IF_LMD~LISTFUNCVERSIONSBYCAPPVDR
IMPORTING
!IV_CAPACITYPROVIDERNAME TYPE /AWS1/LMDCAPACITYPROVIDERNAME OPTIONAL
!IV_MARKER TYPE /AWS1/LMDSTRING OPTIONAL
!IV_MAXITEMS TYPE /AWS1/LMDMAXFIFTYLISTITEMS OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_lmdlstfuncvrssbycap01
RAISING
/AWS1/CX_LMDINVPARAMVALUEEX
/AWS1/CX_LMDRESOURCENOTFOUNDEX
/AWS1/CX_LMDSERVICEEXCEPTION
/AWS1/CX_LMDTOOMANYREQUESTSEX
/AWS1/CX_LMDCLIENTEXC
/AWS1/CX_LMDSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_capacityprovidername TYPE /AWS1/LMDCAPACITYPROVIDERNAME /AWS1/LMDCAPACITYPROVIDERNAME¶
The name of the capacity provider to list function versions for.
Optional arguments:¶
iv_marker TYPE /AWS1/LMDSTRING /AWS1/LMDSTRING¶
Specify the pagination token that's returned by a previous request to retrieve the next page of results.
iv_maxitems TYPE /AWS1/LMDMAXFIFTYLISTITEMS /AWS1/LMDMAXFIFTYLISTITEMS¶
The maximum number of function versions to return in the response.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_lmdlstfuncvrssbycap01 /AWS1/CL_LMDLSTFUNCVRSSBYCAP01¶
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->listfuncversionsbycappvdr(
iv_capacityprovidername = |string|
iv_marker = |string|
iv_maxitems = 123
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_capacityproviderarn = lo_result->get_capacityproviderarn( ).
LOOP AT lo_result->get_functionversions( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_namespacedfunctionarn = lo_row_1->get_functionarn( ).
lv_state = lo_row_1->get_state( ).
ENDIF.
ENDLOOP.
lv_string = lo_result->get_nextmarker( ).
ENDIF.