libZSservicesZSamazonka-route53ZSamazonka-route53
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Route53.ListQueryLoggingConfigs

Description

Lists the configurations for DNS query logging that are associated with the current Amazon Web Services account or the configuration that is associated with a specified hosted zone.

For more information about DNS query logs, see CreateQueryLoggingConfig. Additional information, including the format of DNS query logs, appears in Logging DNS Queries in the Amazon Route 53 Developer Guide.

This operation returns paginated results.

Synopsis

Creating a Request

data ListQueryLoggingConfigs Source #

See: newListQueryLoggingConfigs smart constructor.

Constructors

ListQueryLoggingConfigs' 

Fields

  • hostedZoneId :: Maybe ResourceId

    (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.

  • nextToken :: Maybe Text

    (Optional) If the current Amazon Web Services account has more than MaxResults query logging configurations, use NextToken to get the second and subsequent pages of results.

    For the first ListQueryLoggingConfigs 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.

  • maxResults :: Maybe Text

    (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 Amazon Web Services 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.

Instances

Instances details
Eq ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Read ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Show ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Generic ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Associated Types

type Rep ListQueryLoggingConfigs :: Type -> Type #

NFData ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Methods

rnf :: ListQueryLoggingConfigs -> () #

Hashable ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

AWSPager ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

AWSRequest ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

ToHeaders ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

ToPath ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

ToQuery ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

type Rep ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

type Rep ListQueryLoggingConfigs = D1 ('MetaData "ListQueryLoggingConfigs" "Amazonka.Route53.ListQueryLoggingConfigs" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ListQueryLoggingConfigs'" 'PrefixI 'True) (S1 ('MetaSel ('Just "hostedZoneId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ResourceId)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))
type AWSResponse ListQueryLoggingConfigs Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

newListQueryLoggingConfigs :: ListQueryLoggingConfigs Source #

Create a value of ListQueryLoggingConfigs with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:hostedZoneId:ListQueryLoggingConfigs', listQueryLoggingConfigs_hostedZoneId - (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.

$sel:nextToken:ListQueryLoggingConfigs', listQueryLoggingConfigs_nextToken - (Optional) If the current Amazon Web Services account has more than MaxResults query logging configurations, use NextToken to get the second and subsequent pages of results.

For the first ListQueryLoggingConfigs 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.

$sel:maxResults:ListQueryLoggingConfigs', listQueryLoggingConfigs_maxResults - (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 Amazon Web Services 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.

Request Lenses

listQueryLoggingConfigs_hostedZoneId :: Lens' ListQueryLoggingConfigs (Maybe ResourceId) Source #

(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.

listQueryLoggingConfigs_nextToken :: Lens' ListQueryLoggingConfigs (Maybe Text) Source #

(Optional) If the current Amazon Web Services account has more than MaxResults query logging configurations, use NextToken to get the second and subsequent pages of results.

For the first ListQueryLoggingConfigs 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.

listQueryLoggingConfigs_maxResults :: Lens' ListQueryLoggingConfigs (Maybe Text) Source #

(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 Amazon Web Services 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.

Destructuring the Response

data ListQueryLoggingConfigsResponse Source #

See: newListQueryLoggingConfigsResponse smart constructor.

Constructors

ListQueryLoggingConfigsResponse' 

Fields

  • nextToken :: Maybe Text

    If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response.

    If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.

  • httpStatus :: Int

    The response's http status code.

  • queryLoggingConfigs :: [QueryLoggingConfig]

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

Instances

Instances details
Eq ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Read ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Show ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Generic ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

Associated Types

type Rep ListQueryLoggingConfigsResponse :: Type -> Type #

NFData ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

type Rep ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Amazonka.Route53.ListQueryLoggingConfigs

type Rep ListQueryLoggingConfigsResponse = D1 ('MetaData "ListQueryLoggingConfigsResponse" "Amazonka.Route53.ListQueryLoggingConfigs" "libZSservicesZSamazonka-route53ZSamazonka-route53" 'False) (C1 ('MetaCons "ListQueryLoggingConfigsResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "queryLoggingConfigs") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 [QueryLoggingConfig]))))

newListQueryLoggingConfigsResponse Source #

Create a value of ListQueryLoggingConfigsResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:nextToken:ListQueryLoggingConfigs', listQueryLoggingConfigsResponse_nextToken - If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response.

If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.

$sel:httpStatus:ListQueryLoggingConfigsResponse', listQueryLoggingConfigsResponse_httpStatus - The response's http status code.

$sel:queryLoggingConfigs:ListQueryLoggingConfigsResponse', listQueryLoggingConfigsResponse_queryLoggingConfigs - An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current Amazon Web Services account.

Response Lenses

listQueryLoggingConfigsResponse_nextToken :: Lens' ListQueryLoggingConfigsResponse (Maybe Text) Source #

If a response includes the last of the query logging configurations that are associated with the current Amazon Web Services account, NextToken doesn't appear in the response.

If a response doesn't include the last of the configurations, you can get more configurations by submitting another ListQueryLoggingConfigs request. Get the value of NextToken that Amazon Route 53 returned in the previous response and include it in NextToken in the next request.

listQueryLoggingConfigsResponse_queryLoggingConfigs :: Lens' ListQueryLoggingConfigsResponse [QueryLoggingConfig] Source #

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