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.
http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TestMetricFilter.html
- data TestMetricFilter
- testMetricFilter :: Text -> NonEmpty Text -> TestMetricFilter
- tmfFilterPattern :: Lens' TestMetricFilter Text
- tmfLogEventMessages :: Lens' TestMetricFilter (NonEmpty Text)
- data TestMetricFilterResponse
- testMetricFilterResponse :: TestMetricFilterResponse
- tmfrMatches :: Lens' TestMetricFilterResponse [MetricFilterMatchRecord]
Request
data TestMetricFilter Source
Request constructor
TestMetricFilter
constructor.
The fields accessible through corresponding lenses are:
Request lenses
Response
Response constructor
testMetricFilterResponse :: TestMetricFilterResponse Source
TestMetricFilterResponse
constructor.
The fields accessible through corresponding lenses are: