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 |
Tests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern.
See: AWS API Reference for TestMetricFilter.
- testMetricFilter :: Text -> NonEmpty Text -> TestMetricFilter
- data TestMetricFilter
- tmfFilterPattern :: Lens' TestMetricFilter Text
- tmfLogEventMessages :: Lens' TestMetricFilter (NonEmpty Text)
- testMetricFilterResponse :: Int -> TestMetricFilterResponse
- data TestMetricFilterResponse
- tmfrsMatches :: Lens' TestMetricFilterResponse [MetricFilterMatchRecord]
- tmfrsResponseStatus :: Lens' TestMetricFilterResponse Int
Creating a Request
Creates a value of TestMetricFilter
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TestMetricFilter Source
See: testMetricFilter
smart constructor.
Request Lenses
tmfFilterPattern :: Lens' TestMetricFilter Text Source
Undocumented member.
tmfLogEventMessages :: Lens' TestMetricFilter (NonEmpty Text) Source
A list of log event messages to test.
Destructuring the Response
testMetricFilterResponse Source
Creates a value of TestMetricFilterResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TestMetricFilterResponse Source
See: testMetricFilterResponse
smart constructor.
Response Lenses
tmfrsMatches :: Lens' TestMetricFilterResponse [MetricFilterMatchRecord] Source
Undocumented member.
tmfrsResponseStatus :: Lens' TestMetricFilterResponse Int Source
The response status code.