Safe Haskell | None |
---|---|
Language | Haskell2010 |
Returns all the metrics filters associated with the specified log group. The list returned in the response is ASCII-sorted by filter name.
By default, this operation returns up to 50 metric filters. If there are
more metric filters to list, the response would contain a nextToken
value in
the response body. You can also limit the number of metric filters returned
in the response by specifying the limit
parameter in the request.
http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeMetricFilters.html
- data DescribeMetricFilters
- describeMetricFilters :: Text -> DescribeMetricFilters
- dmfFilterNamePrefix :: Lens' DescribeMetricFilters (Maybe Text)
- dmfLimit :: Lens' DescribeMetricFilters (Maybe Natural)
- dmfLogGroupName :: Lens' DescribeMetricFilters Text
- dmfNextToken :: Lens' DescribeMetricFilters (Maybe Text)
- data DescribeMetricFiltersResponse
- describeMetricFiltersResponse :: DescribeMetricFiltersResponse
- dmfrMetricFilters :: Lens' DescribeMetricFiltersResponse [MetricFilter]
- dmfrNextToken :: Lens' DescribeMetricFiltersResponse (Maybe Text)
Request
data DescribeMetricFilters Source
Request constructor
DescribeMetricFilters
constructor.
The fields accessible through corresponding lenses are:
Request lenses
dmfLimit :: Lens' DescribeMetricFilters (Maybe Natural) Source
The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.
dmfNextToken :: Lens' DescribeMetricFilters (Maybe Text) Source
A string token used for pagination that points to the next page of results.
It must be a value obtained from the response of the previous DescribeMetricFilters
request.
Response
Response constructor
describeMetricFiltersResponse :: DescribeMetricFiltersResponse Source
DescribeMetricFiltersResponse
constructor.
The fields accessible through corresponding lenses are: