/AWS1/IF_R5R=>GETRESOLVERQUERYLOGCONFIG()¶
About GetResolverQueryLogConfig¶
Gets information about a specified Resolver query logging configuration, such as the number of VPCs that the configuration is logging queries for and the location that logs are sent to.
Method Signature¶
METHODS /AWS1/IF_R5R~GETRESOLVERQUERYLOGCONFIG
IMPORTING
!IV_RESOLVERQUERYLOGCONFIGID TYPE /AWS1/R5RRESOURCEID OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5rgetresolverquery01
RAISING
/AWS1/CX_R5RACCESSDENIEDEX
/AWS1/CX_R5RINTERNALSVCERROREX
/AWS1/CX_R5RINVALIDPARAMETEREX
/AWS1/CX_R5RINVALIDREQUESTEX
/AWS1/CX_R5RRESOURCENOTFOUNDEX
/AWS1/CX_R5RTHROTTLINGEX
/AWS1/CX_R5RCLIENTEXC
/AWS1/CX_R5RSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_resolverquerylogconfigid TYPE /AWS1/R5RRESOURCEID /AWS1/R5RRESOURCEID¶
The ID of the Resolver query logging configuration that you want to get information about.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5rgetresolverquery01 /AWS1/CL_R5RGETRESOLVERQUERY01¶
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->getresolverquerylogconfig( |string| ).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lo_resolverquerylogconfig = lo_result->get_resolverquerylogconfig( ).
IF lo_resolverquerylogconfig IS NOT INITIAL.
lv_resourceid = lo_resolverquerylogconfig->get_id( ).
lv_accountid = lo_resolverquerylogconfig->get_ownerid( ).
lv_resolverquerylogconfigs = lo_resolverquerylogconfig->get_status( ).
lv_sharestatus = lo_resolverquerylogconfig->get_sharestatus( ).
lv_count = lo_resolverquerylogconfig->get_associationcount( ).
lv_arn = lo_resolverquerylogconfig->get_arn( ).
lv_resolverquerylogconfign = lo_resolverquerylogconfig->get_name( ).
lv_destinationarn = lo_resolverquerylogconfig->get_destinationarn( ).
lv_creatorrequestid = lo_resolverquerylogconfig->get_creatorrequestid( ).
lv_rfc3339timestring = lo_resolverquerylogconfig->get_creationtime( ).
ENDIF.
ENDIF.