Skip to content

/AWS1/CL_DAX=>DESCRIBEPARAMETERGROUPS()

About DescribeParameterGroups

Returns a list of parameter group descriptions. If a parameter group name is specified, the list will contain only the descriptions for that group.

Method Signature

IMPORTING

Optional arguments:

it_parametergroupnames TYPE /AWS1/CL_DAXPARAMGRPNAMELIST_W=>TT_PARAMETERGROUPNAMELIST TT_PARAMETERGROUPNAMELIST

The names of the parameter groups.

iv_maxresults TYPE /AWS1/DAXINTEGEROPTIONAL /AWS1/DAXINTEGEROPTIONAL

The maximum number of results to include in the response. If more results exist than the specified MaxResults value, a token is included in the response so that the remaining results can be retrieved.

The value for MaxResults must be between 20 and 100.

iv_nexttoken TYPE /AWS1/DAXSTRING /AWS1/DAXSTRING

An optional token returned from a prior request. Use this token for pagination of results from this action. If this parameter is specified, the response includes only results beyond the token, up to the value specified by MaxResults.

RETURNING

oo_output TYPE REF TO /aws1/cl_daxdescrparamgrpsrsp /AWS1/CL_DAXDESCRPARAMGRPSRSP

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->/aws1/if_dax~describeparametergroups(
  it_parametergroupnames = VALUE /aws1/cl_daxparamgrpnamelist_w=>tt_parametergroupnamelist(
    ( new /aws1/cl_daxparamgrpnamelist_w( |string| ) )
  )
  iv_maxresults = 123
  iv_nexttoken = |string|
).

This is an example of reading all possible response values

lv_string = lo_result->get_nexttoken( ).
LOOP AT lo_result->get_parametergroups( ) into lo_row.
  lv_string = lo_row_1->get_parametergroupname( ).
  lv_string = lo_row_1->get_description( ).
ENDLOOP.