Route53Resolver / Client / get_resolver_query_log_config_policy

get_resolver_query_log_config_policy#

Route53Resolver.Client.get_resolver_query_log_config_policy(**kwargs)#

Gets information about a query logging policy. A query logging policy specifies the Resolver query logging operations and resources that you want to allow another Amazon Web Services account to be able to use.

See also: AWS API Documentation

Request Syntax

response = client.get_resolver_query_log_config_policy(
    Arn='string'
)
Parameters:

Arn (string) –

[REQUIRED]

The ARN of the query logging configuration that you want to get the query logging policy for.

Return type:

dict

Returns:

Response Syntax

{
    'ResolverQueryLogConfigPolicy': 'string'
}

Response Structure

  • (dict) –

    • ResolverQueryLogConfigPolicy (string) –

      Information about the query logging policy for the query logging configuration that you specified in a GetResolverQueryLogConfigPolicy request.

Exceptions

  • Route53Resolver.Client.exceptions.InvalidParameterException

  • Route53Resolver.Client.exceptions.InvalidRequestException

  • Route53Resolver.Client.exceptions.UnknownResourceException

  • Route53Resolver.Client.exceptions.InternalServiceErrorException

  • Route53Resolver.Client.exceptions.AccessDeniedException