amazonka-cloudwatch-logs-1.4.0: 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.TestMetricFilter

Contents

Description

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.

Synopsis

Creating a Request

testMetricFilter Source

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:

Request Lenses

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:

Response Lenses