get_query_logging_config
(**kwargs)¶Gets information about a specified configuration for DNS query logging.
For more information about DNS query logs, see CreateQueryLoggingConfig and Logging DNS Queries.
See also: AWS API Documentation
Request Syntax
response = client.get_query_logging_config(
Id='string'
)
[REQUIRED]
The ID of the configuration for DNS query logging that you want to get information about.
{
'QueryLoggingConfig': {
'Id': 'string',
'HostedZoneId': 'string',
'CloudWatchLogsLogGroupArn': 'string'
}
}
Response Structure
A complex type that contains information about the query logging configuration that you specified in a GetQueryLoggingConfig request.
The ID for a configuration for DNS query logging.
The ID of the hosted zone that CloudWatch Logs is logging queries for.
The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.
Exceptions
Route53.Client.exceptions.NoSuchQueryLoggingConfig
Route53.Client.exceptions.InvalidInput