amazonka-cloudwatch-logs-1.4.5: Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@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 #

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 #

See: describeMetricFilters smart constructor.

Instances

Eq DescribeMetricFilters # 
Data DescribeMetricFilters # 

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 # 
Show DescribeMetricFilters # 
Generic DescribeMetricFilters # 
Hashable DescribeMetricFilters # 
ToJSON DescribeMetricFilters # 
NFData DescribeMetricFilters # 

Methods

rnf :: DescribeMetricFilters -> () #

AWSPager DescribeMetricFilters # 
AWSRequest DescribeMetricFilters # 
ToQuery DescribeMetricFilters # 
ToPath DescribeMetricFilters # 
ToHeaders DescribeMetricFilters # 
type Rep DescribeMetricFilters # 
type Rep DescribeMetricFilters = D1 (MetaData "DescribeMetricFilters" "Network.AWS.CloudWatchLogs.DescribeMetricFilters" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" 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 # 

Request Lenses

dmfMetricName :: Lens' DescribeMetricFilters (Maybe Text) #

The name of the CloudWatch metric.

dmfLogGroupName :: Lens' DescribeMetricFilters (Maybe Text) #

The name of the log group.

dmfNextToken :: Lens' DescribeMetricFilters (Maybe Text) #

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

dmfMetricNamespace :: Lens' DescribeMetricFilters (Maybe Text) #

The namespace of the CloudWatch metric.

dmfLimit :: Lens' DescribeMetricFilters (Maybe Natural) #

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

Destructuring the Response

describeMetricFiltersResponse #

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 #

See: describeMetricFiltersResponse smart constructor.

Instances

Eq DescribeMetricFiltersResponse # 
Data DescribeMetricFiltersResponse # 

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 # 
Show DescribeMetricFiltersResponse # 
Generic DescribeMetricFiltersResponse # 
NFData DescribeMetricFiltersResponse # 
type Rep DescribeMetricFiltersResponse # 
type Rep DescribeMetricFiltersResponse = D1 (MetaData "DescribeMetricFiltersResponse" "Network.AWS.CloudWatchLogs.DescribeMetricFilters" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" 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 DecidedUnpack) (Rec0 Int)))))

Response Lenses