amazonka-cloudwatch-logs-1.6.0: Amazon CloudWatch Logs 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.CloudWatchLogs.DescribeMetricFilters

Contents

Description

Lists the specified metric filters. You can list all the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.

This operation returns paginated results.

Synopsis

Creating a Request

describeMetricFilters :: DescribeMetricFilters Source #

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

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

data DescribeMetricFilters Source #

See: describeMetricFilters smart constructor.

Instances

Eq DescribeMetricFilters Source # 
Data DescribeMetricFilters Source # 

Methods

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

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

toConstr :: DescribeMetricFilters -> Constr #

dataTypeOf :: DescribeMetricFilters -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Methods

rnf :: DescribeMetricFilters -> () #

AWSPager DescribeMetricFilters Source # 
AWSRequest DescribeMetricFilters Source # 
ToHeaders DescribeMetricFilters Source # 
ToPath DescribeMetricFilters Source # 
ToQuery DescribeMetricFilters Source # 
type Rep DescribeMetricFilters Source # 
type Rep DescribeMetricFilters = D1 * (MetaData "DescribeMetricFilters" "Network.AWS.CloudWatchLogs.DescribeMetricFilters" "amazonka-cloudwatch-logs-1.6.0-HcMszQeKJF6Iux4ovYYZri" False) (C1 * (MetaCons "DescribeMetricFilters'" PrefixI True) ((:*:) * ((:*:) * (S1 * (MetaSel (Just Symbol "_dmfFilterNamePrefix") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmfMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dmfLogGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmfNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmfMetricNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) (S1 * (MetaSel (Just Symbol "_dmfLimit") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Nat)))))))
type Rs DescribeMetricFilters Source # 

Request Lenses

dmfNextToken :: Lens' DescribeMetricFilters (Maybe Text) Source #

The token for the next set of items to return. (You received this token from a previous call.)

dmfMetricNamespace :: Lens' DescribeMetricFilters (Maybe Text) Source #

The namespace of the CloudWatch metric.

dmfLimit :: Lens' DescribeMetricFilters (Maybe Natural) Source #

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

Destructuring the Response

describeMetricFiltersResponse Source #

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

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

data DescribeMetricFiltersResponse Source #

See: describeMetricFiltersResponse smart constructor.

Instances

Eq DescribeMetricFiltersResponse Source # 
Data DescribeMetricFiltersResponse Source # 

Methods

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

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

toConstr :: DescribeMetricFiltersResponse -> Constr #

dataTypeOf :: DescribeMetricFiltersResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeMetricFiltersResponse Source # 
Show DescribeMetricFiltersResponse Source # 
Generic DescribeMetricFiltersResponse Source # 
NFData DescribeMetricFiltersResponse Source # 
type Rep DescribeMetricFiltersResponse Source # 
type Rep DescribeMetricFiltersResponse = D1 * (MetaData "DescribeMetricFiltersResponse" "Network.AWS.CloudWatchLogs.DescribeMetricFilters" "amazonka-cloudwatch-logs-1.6.0-HcMszQeKJF6Iux4ovYYZri" False) (C1 * (MetaCons "DescribeMetricFiltersResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmfrsNextToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Text))) ((:*:) * (S1 * (MetaSel (Just Symbol "_dmfrsMetricFilters") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [MetricFilter]))) (S1 * (MetaSel (Just Symbol "_dmfrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses