amazonka-glue-1.6.0: Amazon Glue 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.Glue.GetCrawlerMetrics

Contents

Description

Retrieves metrics about specified crawlers.

This operation returns paginated results.

Synopsis

Creating a Request

getCrawlerMetrics :: GetCrawlerMetrics Source #

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

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

data GetCrawlerMetrics Source #

See: getCrawlerMetrics smart constructor.

Instances

Eq GetCrawlerMetrics Source # 
Data GetCrawlerMetrics Source # 

Methods

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

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

toConstr :: GetCrawlerMetrics -> Constr #

dataTypeOf :: GetCrawlerMetrics -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCrawlerMetrics Source # 
Show GetCrawlerMetrics Source # 
Generic GetCrawlerMetrics Source # 
Hashable GetCrawlerMetrics Source # 
ToJSON GetCrawlerMetrics Source # 
NFData GetCrawlerMetrics Source # 

Methods

rnf :: GetCrawlerMetrics -> () #

AWSPager GetCrawlerMetrics Source # 
AWSRequest GetCrawlerMetrics Source # 
ToHeaders GetCrawlerMetrics Source # 
ToPath GetCrawlerMetrics Source # 
ToQuery GetCrawlerMetrics Source # 
type Rep GetCrawlerMetrics Source # 
type Rep GetCrawlerMetrics = D1 * (MetaData "GetCrawlerMetrics" "Network.AWS.Glue.GetCrawlerMetrics" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "GetCrawlerMetrics'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcmNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcmMaxResults") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat))) (S1 * (MetaSel (Just Symbol "_gcmCrawlerNameList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [Text]))))))
type Rs GetCrawlerMetrics Source # 

Request Lenses

gcmNextToken :: Lens' GetCrawlerMetrics (Maybe Text) Source #

A continuation token, if this is a continuation call.

gcmMaxResults :: Lens' GetCrawlerMetrics (Maybe Natural) Source #

The maximum size of a list to return.

gcmCrawlerNameList :: Lens' GetCrawlerMetrics [Text] Source #

A list of the names of crawlers about which to retrieve metrics.

Destructuring the Response

getCrawlerMetricsResponse Source #

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

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

data GetCrawlerMetricsResponse Source #

See: getCrawlerMetricsResponse smart constructor.

Instances

Eq GetCrawlerMetricsResponse Source # 
Data GetCrawlerMetricsResponse Source # 

Methods

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

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

toConstr :: GetCrawlerMetricsResponse -> Constr #

dataTypeOf :: GetCrawlerMetricsResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read GetCrawlerMetricsResponse Source # 
Show GetCrawlerMetricsResponse Source # 
Generic GetCrawlerMetricsResponse Source # 
NFData GetCrawlerMetricsResponse Source # 
type Rep GetCrawlerMetricsResponse Source # 
type Rep GetCrawlerMetricsResponse = D1 * (MetaData "GetCrawlerMetricsResponse" "Network.AWS.Glue.GetCrawlerMetrics" "amazonka-glue-1.6.0-6lygtbc1qn5L8T6WOf5nFo" False) (C1 * (MetaCons "GetCrawlerMetricsResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcmrsCrawlerMetricsList") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [CrawlerMetrics]))) ((:*:) * (S1 * (MetaSel (Just Symbol "_gcmrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_gcmrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

gcmrsCrawlerMetricsList :: Lens' GetCrawlerMetricsResponse [CrawlerMetrics] Source #

A list of metrics for the specified crawler.

gcmrsNextToken :: Lens' GetCrawlerMetricsResponse (Maybe Text) Source #

A continuation token, if the returned list does not contain the last metric available.