Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
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.
See: AWS API Reference for DescribeMetricFilters.
This operation returns paginated results.
- describeMetricFilters :: Text -> DescribeMetricFilters
- data DescribeMetricFilters
- dmfFilterNamePrefix :: Lens' DescribeMetricFilters (Maybe Text)
- dmfNextToken :: Lens' DescribeMetricFilters (Maybe Text)
- dmfLimit :: Lens' DescribeMetricFilters (Maybe Natural)
- dmfLogGroupName :: Lens' DescribeMetricFilters Text
- describeMetricFiltersResponse :: Int -> DescribeMetricFiltersResponse
- data DescribeMetricFiltersResponse
- dmfrsNextToken :: Lens' DescribeMetricFiltersResponse (Maybe Text)
- dmfrsMetricFilters :: Lens' DescribeMetricFiltersResponse [MetricFilter]
- dmfrsStatus :: Lens' DescribeMetricFiltersResponse Int
Creating a Request
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.
Request Lenses
dmfFilterNamePrefix :: Lens' DescribeMetricFilters (Maybe Text) Source
Will only return metric filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.
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.
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.
dmfLogGroupName :: Lens' DescribeMetricFilters Text Source
The log group name for which metric filters are to be listed.
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.
Response Lenses
dmfrsNextToken :: Lens' DescribeMetricFiltersResponse (Maybe Text) Source
Undocumented member.
dmfrsMetricFilters :: Lens' DescribeMetricFiltersResponse [MetricFilter] Source
Undocumented member.
dmfrsStatus :: Lens' DescribeMetricFiltersResponse Int Source
The response status code.