AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Container for the parameters to the DescribeMetricFilters operation. Lists the specified metric filters. You can list all of the metric filters or filter the results by log name, prefix, metric name, or metric namespace. The results are ASCII-sorted by filter name.
Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z
public class DescribeMetricFiltersRequest : AmazonCloudWatchLogsRequest IAmazonWebServiceRequest
The DescribeMetricFiltersRequest type exposes the following members
Name | Description | |
---|---|---|
![]() |
DescribeMetricFiltersRequest() |
Empty constructor used to set properties independently even when a simple constructor is available |
![]() |
DescribeMetricFiltersRequest(string) |
Instantiates DescribeMetricFiltersRequest with the parameterized properties |
Name | Type | Description | |
---|---|---|---|
![]() |
FilterNamePrefix | System.String |
Gets and sets the property FilterNamePrefix.
The prefix to match. CloudWatch Logs uses the value that you set here only if you
also include the |
![]() |
Limit | System.Int32 |
Gets and sets the property Limit. The maximum number of items returned. If you don't specify a value, the default is up to 50 items. |
![]() |
LogGroupName | System.String |
Gets and sets the property LogGroupName. The name of the log group. |
![]() |
MetricName | System.String |
Gets and sets the property MetricName.
Filters results to include only those with the specified metric name. If you include
this parameter in your request, you must also include the |
![]() |
MetricNamespace | System.String |
Gets and sets the property MetricNamespace.
Filters results to include only those in the specified namespace. If you include this
parameter in your request, you must also include the |
![]() |
NextToken | System.String |
Gets and sets the property NextToken. The token for the next set of items to return. (You received this token from a previous call.) |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5