amazonka-route53-1.6.1: Amazon Route 53 SDK.

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

Network.AWS.Route53.ListQueryLoggingConfigs

Contents

Description

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 CreateQueryLoggingConfig . Additional information, including the format of DNS query logs, appears in Logging DNS Queries in the Amazon Route 53 Developer Guide .

Synopsis

Creating a Request

listQueryLoggingConfigs :: ListQueryLoggingConfigs Source #

Creates a value of ListQueryLoggingConfigs with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lqlcHostedZoneId - (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 AWS account.
  • lqlcNextToken - (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 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.
  • lqlcMaxResults - (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 'ListQueryLoggingConfigsResponse$NextToken' in the response to get the next page of results. If you don't specify a value for MaxResults , Amazon Route 53 returns up to 100 configurations.

data ListQueryLoggingConfigs Source #

See: listQueryLoggingConfigs smart constructor.

Instances
Eq ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Data ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListQueryLoggingConfigs -> c ListQueryLoggingConfigs #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListQueryLoggingConfigs #

toConstr :: ListQueryLoggingConfigs -> Constr #

dataTypeOf :: ListQueryLoggingConfigs -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListQueryLoggingConfigs) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListQueryLoggingConfigs) #

gmapT :: (forall b. Data b => b -> b) -> ListQueryLoggingConfigs -> ListQueryLoggingConfigs #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryLoggingConfigs -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryLoggingConfigs -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListQueryLoggingConfigs -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListQueryLoggingConfigs -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListQueryLoggingConfigs -> m ListQueryLoggingConfigs #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryLoggingConfigs -> m ListQueryLoggingConfigs #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryLoggingConfigs -> m ListQueryLoggingConfigs #

Read ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Show ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Generic ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Associated Types

type Rep ListQueryLoggingConfigs :: Type -> Type #

Hashable ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

AWSRequest ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Associated Types

type Rs ListQueryLoggingConfigs :: Type #

ToHeaders ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

ToPath ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

ToQuery ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

NFData ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Methods

rnf :: ListQueryLoggingConfigs -> () #

type Rep ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

type Rep ListQueryLoggingConfigs = D1 (MetaData "ListQueryLoggingConfigs" "Network.AWS.Route53.ListQueryLoggingConfigs" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListQueryLoggingConfigs'" PrefixI True) (S1 (MetaSel (Just "_lqlcHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceId)) :*: (S1 (MetaSel (Just "_lqlcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_lqlcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))
type Rs ListQueryLoggingConfigs Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Request Lenses

lqlcHostedZoneId :: 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 AWS account.

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

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

lqlcMaxResults :: 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 AWS account has more than MaxResults configurations, use the value of 'ListQueryLoggingConfigsResponse$NextToken' in the response to get the next page of results. If you don't specify a value for MaxResults , Amazon Route 53 returns up to 100 configurations.

Destructuring the Response

listQueryLoggingConfigsResponse Source #

Creates a value of ListQueryLoggingConfigsResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • lqlcrsNextToken - If a response includes the last of the query logging configurations that are associated with the current AWS 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.
  • lqlcrsResponseStatus - -- | The response status code.
  • lqlcrsQueryLoggingConfigs - An array that contains one QueryLoggingConfig element for each configuration for DNS query logging that is associated with the current AWS account.

data ListQueryLoggingConfigsResponse Source #

See: listQueryLoggingConfigsResponse smart constructor.

Instances
Eq ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Data ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ListQueryLoggingConfigsResponse -> c ListQueryLoggingConfigsResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ListQueryLoggingConfigsResponse #

toConstr :: ListQueryLoggingConfigsResponse -> Constr #

dataTypeOf :: ListQueryLoggingConfigsResponse -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ListQueryLoggingConfigsResponse) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ListQueryLoggingConfigsResponse) #

gmapT :: (forall b. Data b => b -> b) -> ListQueryLoggingConfigsResponse -> ListQueryLoggingConfigsResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryLoggingConfigsResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ListQueryLoggingConfigsResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> ListQueryLoggingConfigsResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ListQueryLoggingConfigsResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ListQueryLoggingConfigsResponse -> m ListQueryLoggingConfigsResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryLoggingConfigsResponse -> m ListQueryLoggingConfigsResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ListQueryLoggingConfigsResponse -> m ListQueryLoggingConfigsResponse #

Read ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Show ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Generic ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

Associated Types

type Rep ListQueryLoggingConfigsResponse :: Type -> Type #

NFData ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

type Rep ListQueryLoggingConfigsResponse Source # 
Instance details

Defined in Network.AWS.Route53.ListQueryLoggingConfigs

type Rep ListQueryLoggingConfigsResponse = D1 (MetaData "ListQueryLoggingConfigsResponse" "Network.AWS.Route53.ListQueryLoggingConfigs" "amazonka-route53-1.6.1-FKj3w6bny4r4NCyL7bsSVl" False) (C1 (MetaCons "ListQueryLoggingConfigsResponse'" PrefixI True) (S1 (MetaSel (Just "_lqlcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 (MetaSel (Just "_lqlcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int) :*: S1 (MetaSel (Just "_lqlcrsQueryLoggingConfigs") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 [QueryLoggingConfig]))))

Response Lenses

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

If a response includes the last of the query logging configurations that are associated with the current AWS 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.

lqlcrsQueryLoggingConfigs :: Lens' ListQueryLoggingConfigsResponse [QueryLoggingConfig] Source #

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