amazonka-route53-1.5.0: Amazon Route 53 SDK.

Copyright(c) 2013-2017 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 # 
Data ListQueryLoggingConfigs Source # 

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 # 
Show ListQueryLoggingConfigs Source # 
Generic ListQueryLoggingConfigs Source # 
Hashable ListQueryLoggingConfigs Source # 
NFData ListQueryLoggingConfigs Source # 

Methods

rnf :: ListQueryLoggingConfigs -> () #

AWSRequest ListQueryLoggingConfigs Source # 
ToQuery ListQueryLoggingConfigs Source # 
ToPath ListQueryLoggingConfigs Source # 
ToHeaders ListQueryLoggingConfigs Source # 
type Rep ListQueryLoggingConfigs Source # 
type Rep ListQueryLoggingConfigs = D1 (MetaData "ListQueryLoggingConfigs" "Network.AWS.Route53.ListQueryLoggingConfigs" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "ListQueryLoggingConfigs'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lqlcHostedZoneId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ResourceId))) ((:*:) (S1 (MetaSel (Just Symbol "_lqlcNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lqlcMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Rs ListQueryLoggingConfigs Source # 

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 # 
Data ListQueryLoggingConfigsResponse Source # 

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 # 
Show ListQueryLoggingConfigsResponse Source # 
Generic ListQueryLoggingConfigsResponse Source # 
NFData ListQueryLoggingConfigsResponse Source # 
type Rep ListQueryLoggingConfigsResponse Source # 
type Rep ListQueryLoggingConfigsResponse = D1 (MetaData "ListQueryLoggingConfigsResponse" "Network.AWS.Route53.ListQueryLoggingConfigs" "amazonka-route53-1.5.0-A9em4xt2RK07uc01kiXLe0" False) (C1 (MetaCons "ListQueryLoggingConfigsResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_lqlcrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lqlcrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_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.