/AWS1/IF_R5R=>PUTRESOLVERQUERYLOGCONFIGPLY()¶
About PutResolverQueryLogConfigPolicy¶
Specifies an Amazon Web Services account that you want to share a query logging configuration with, the query logging configuration that you want to share, and the operations that you want the account to be able to perform on the configuration.
Method Signature¶
METHODS /AWS1/IF_R5R~PUTRESOLVERQUERYLOGCONFIGPLY
IMPORTING
!IV_ARN TYPE /AWS1/R5RARN OPTIONAL
!IV_RESOLVERQUERYLOGCONFIGPLY TYPE /AWS1/R5RRESOLVERQUERYLOGCFG05 OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_r5rputresolverquery01
RAISING
/AWS1/CX_R5RACCESSDENIEDEX
/AWS1/CX_R5RINTERNALSVCERROREX
/AWS1/CX_R5RINVALIDPARAMETEREX
/AWS1/CX_R5RINVALIDPOLICYDOC
/AWS1/CX_R5RINVALIDREQUESTEX
/AWS1/CX_R5RUNKNOWNRESOURCEEX
/AWS1/CX_R5RCLIENTEXC
/AWS1/CX_R5RSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
iv_arn TYPE /AWS1/R5RARN /AWS1/R5RARN¶
The Amazon Resource Name (ARN) of the account that you want to share rules with.
iv_resolverquerylogconfigply TYPE /AWS1/R5RRESOLVERQUERYLOGCFG05 /AWS1/R5RRESOLVERQUERYLOGCFG05¶
An Identity and Access Management policy statement that lists the query logging configurations that you want to share with another Amazon Web Services account and the operations that you want the account to be able to perform. You can specify the following operations in the
Actionssection of the statement:
route53resolver:AssociateResolverQueryLogConfig
route53resolver:DisassociateResolverQueryLogConfig
route53resolver:ListResolverQueryLogConfigsIn the
Resourcesection of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified inArn.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_r5rputresolverquery01 /AWS1/CL_R5RPUTRESOLVERQUERY01¶
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->putresolverquerylogconfigply(
iv_arn = |string|
iv_resolverquerylogconfigply = |string|
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
lv_boolean = lo_result->get_returnvalue( ).
ENDIF.