Lists the configurations for DNS query logging that are associated with the current AWS account or the configuration that is associated with a specified hosted zone.
For more information about DNS query logs, see
create_query_logging_config
.
Additional information, including the format of DNS query logs, appears
in Logging DNS Queries
in the Amazon Route 53 Developer Guide.
route53_list_query_logging_configs(HostedZoneId, NextToken, MaxResults)
(Optional) If you want to list the query logging configuration that is
associated with a hosted zone, specify the ID in HostedZoneId
.
If you don't specify a hosted zone ID,
list_query_logging_configs
returns all of the configurations that are associated with the current
AWS account.
(Optional) If the current AWS account has more than MaxResults
query
logging configurations, use NextToken
to get the second and subsequent
pages of results.
For the first
list_query_logging_configs
request, omit this value.
For the second and subsequent requests, get the value of NextToken
from the previous response and specify that value for NextToken
in the
request.
(Optional) The maximum number of query logging configurations that you
want Amazon Route 53 to return in response to the current request. If
the current AWS account has more than MaxResults
configurations, use
the value of
NextToken
in the response to get the next page of results.
If you don't specify a value for MaxResults
, Route 53 returns up to
100 configurations.
A list with the following syntax:
list( QueryLoggingConfigs = list( list( Id = "string", HostedZoneId = "string", CloudWatchLogsLogGroupArn = "string" ) ), NextToken = "string" )
svc$list_query_logging_configs( HostedZoneId = "string", NextToken = "string", MaxResults = "string" )