/AWS1/IF_NEP=>RESETDBCLUSTERPARAMETERGROUP()¶
About ResetDBClusterParameterGroup¶
Modifies the parameters of a DB cluster parameter group to the default value. To reset
specific parameters submit a list of the following: ParameterName and
ApplyMethod. To reset the entire DB cluster parameter group, specify the
DBClusterParameterGroupName and ResetAllParameters parameters.
When resetting the entire group, dynamic parameters are updated immediately and static
parameters are set to pending-reboot to take effect on the next DB instance
restart or RebootDBInstance request. You must call RebootDBInstance for every DB instance in your DB cluster
that you want the updated static parameter to apply to.
Method Signature¶
METHODS /AWS1/IF_NEP~RESETDBCLUSTERPARAMETERGROUP
IMPORTING
!IV_DBCLUSTERPARAMGROUPNAME TYPE /AWS1/NEPSTRING OPTIONAL
!IV_RESETALLPARAMETERS TYPE /AWS1/NEPBOOLEAN OPTIONAL
!IT_PARAMETERS TYPE /AWS1/CL_NEPPARAMETER=>TT_PARAMETERSLIST OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_nepdbclstprmgrnamemsg
RAISING
/AWS1/CX_NEPDBPRMGRNOTFNDFAULT
/AWS1/CX_NEPINVDBPRMGRSTATEF00
/AWS1/CX_NEPCLIENTEXC
/AWS1/CX_NEPSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_dbclusterparamgroupname TYPE /AWS1/NEPSTRING /AWS1/NEPSTRING¶
The name of the DB cluster parameter group to reset.
Optional arguments:¶
iv_resetallparameters TYPE /AWS1/NEPBOOLEAN /AWS1/NEPBOOLEAN¶
A value that is set to
trueto reset all parameters in the DB cluster parameter group to their default values, andfalseotherwise. You can't use this parameter if there is a list of parameter names specified for theParametersparameter.
it_parameters TYPE /AWS1/CL_NEPPARAMETER=>TT_PARAMETERSLIST TT_PARAMETERSLIST¶
A list of parameter names in the DB cluster parameter group to reset to the default values. You can't use this parameter if the
ResetAllParametersparameter is set totrue.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_nepdbclstprmgrnamemsg /AWS1/CL_NEPDBCLSTPRMGRNAMEMSG¶
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->resetdbclusterparametergroup(
it_parameters = VALUE /aws1/cl_nepparameter=>tt_parameterslist(
(
new /aws1/cl_nepparameter(
iv_allowedvalues = |string|
iv_applymethod = |string|
iv_applytype = |string|
iv_datatype = |string|
iv_description = |string|
iv_ismodifiable = ABAP_TRUE
iv_minimumengineversion = |string|
iv_parametername = |string|
iv_parametervalue = |string|
iv_source = |string|
)
)
)
iv_dbclusterparamgroupname = |string|
iv_resetallparameters = ABAP_TRUE
).
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_dbclusterparamgroupname( ).
ENDIF.