Route53 / Paginator / ListQueryLoggingConfigs


class Route53.Paginator.ListQueryLoggingConfigs#
paginator = client.get_paginator('list_query_logging_configs')

Creates an iterator that will paginate through responses from Route53.Client.list_query_logging_configs().

See also: AWS API Documentation

Request Syntax

response_iterator = paginator.paginate(
        'MaxItems': 123,
        'PageSize': 123,
        'StartingToken': 'string'
  • HostedZoneId (string) –

    (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, ListQueryLoggingConfigs returns all of the configurations that are associated with the current Amazon Web Services account.

  • PaginationConfig (dict) –

    A dictionary that provides parameters to control pagination.

    • MaxItems (integer) –

      The total number of items to return. If the total number of items available is more than the value specified in max-items then a NextToken will be provided in the output that you can use to resume pagination.

    • PageSize (integer) –

      The size of each page.

    • StartingToken (string) –

      A token to specify where to start paginating. This is the NextToken from a previous response.

Return type:



Response Syntax

    'QueryLoggingConfigs': [
            'Id': 'string',
            'HostedZoneId': 'string',
            'CloudWatchLogsLogGroupArn': 'string'


Response Structure

  • (dict) –

    • QueryLoggingConfigs (list) –

      An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.

      • (dict) –

        A complex type that contains information about a configuration for DNS query logging.

        • Id (string) –

          The ID for a configuration for DNS query logging.

        • HostedZoneId (string) –

          The ID of the hosted zone that CloudWatch Logs is logging queries for.

        • CloudWatchLogsLogGroupArn (string) –

          The Amazon Resource Name (ARN) of the CloudWatch Logs log group that Amazon Route 53 is publishing logs to.