Route53Resolver.Client.put_resolver_query_log_config_policy(**kwargs)¶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.
See also: AWS API Documentation
Request Syntax
response = client.put_resolver_query_log_config_policy(
Arn='string',
ResolverQueryLogConfigPolicy='string'
)
[REQUIRED]
The Amazon Resource Name (ARN) of the account that you want to share rules with.
[REQUIRED]
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 Actions section of the statement:
route53resolver:AssociateResolverQueryLogConfigroute53resolver:DisassociateResolverQueryLogConfigroute53resolver:ListResolverQueryLogConfigAssociationsroute53resolver:ListResolverQueryLogConfigsIn the Resource section of the statement, you specify the ARNs for the query logging configurations that you want to share with the account that you specified in Arn .
dict
Response Syntax
{
'ReturnValue': True|False
}
Response Structure
(dict) --
The response to a PutResolverQueryLogConfigPolicy request.
ReturnValue (boolean) --
Whether the PutResolverQueryLogConfigPolicy request was successful.
Exceptions
Route53Resolver.Client.exceptions.InvalidPolicyDocumentRoute53Resolver.Client.exceptions.InvalidParameterExceptionRoute53Resolver.Client.exceptions.InvalidRequestExceptionRoute53Resolver.Client.exceptions.UnknownResourceExceptionRoute53Resolver.Client.exceptions.InternalServiceErrorExceptionRoute53Resolver.Client.exceptions.AccessDeniedException