/AWS1/IF_LSA=>GETRELATIONALDATABASEPARAMS()¶
About GetRelationalDatabaseParameters¶
Returns all of the runtime parameters offered by the underlying database software, or engine, for a specific database in Amazon Lightsail.
In addition to the parameter names and values, this operation returns other information about each parameter. This information includes whether changes require a reboot, whether the parameter is modifiable, the allowed values, and the data types.
Method Signature¶
METHODS /AWS1/IF_LSA~GETRELATIONALDATABASEPARAMS
IMPORTING
!IV_RELATIONALDATABASENAME TYPE /AWS1/LSARESOURCENAME OPTIONAL
!IV_PAGETOKEN TYPE /AWS1/LSASTRING OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_lsagetrelationaldat17
RAISING
/AWS1/CX_LSAACCESSDENIEDEX
/AWS1/CX_LSAACCTSETUPINPRGSSEX
/AWS1/CX_LSAINVALIDINPUTEX
/AWS1/CX_LSANOTFOUNDEXCEPTION
/AWS1/CX_LSAOPERATIONFAILUREEX
/AWS1/CX_LSARGNSETUPINPRGSSEX
/AWS1/CX_LSASERVICEEXCEPTION
/AWS1/CX_LSAUNAUTHNTCTDEX
/AWS1/CX_LSACLIENTEXC
/AWS1/CX_LSASERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_relationaldatabasename TYPE /AWS1/LSARESOURCENAME /AWS1/LSARESOURCENAME¶
The name of your database for which to get parameters.
Optional arguments:¶
iv_pagetoken TYPE /AWS1/LSASTRING /AWS1/LSASTRING¶
The token to advance to the next page of results from your request.
To get a page token, perform an initial
GetRelationalDatabaseParametersrequest. If your results are paginated, the response will return a next page token that you can specify as the page token in a subsequent request.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_lsagetrelationaldat17 /AWS1/CL_LSAGETRELATIONALDAT17¶
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->getrelationaldatabaseparams(
iv_pagetoken = |string|
iv_relationaldatabasename = |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_parameters( ) into lo_row.
lo_row_1 = lo_row.
IF lo_row_1 IS NOT INITIAL.
lv_string = lo_row_1->get_allowedvalues( ).
lv_string = lo_row_1->get_applymethod( ).
lv_string = lo_row_1->get_applytype( ).
lv_string = lo_row_1->get_datatype( ).
lv_string = lo_row_1->get_description( ).
lv_boolean = lo_row_1->get_ismodifiable( ).
lv_string = lo_row_1->get_parametername( ).
lv_string = lo_row_1->get_parametervalue( ).
ENDIF.
ENDLOOP.
lv_string = lo_result->get_nextpagetoken( ).
ENDIF.