AWS SDK Version 2 for .NET
API Reference

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.

.NET Framework 4.5
Container for the parameters to the DescribeMetricFilters operation. 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.

Inheritance Hierarchy


Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.dll
Version: (assembly version)


public class DescribeMetricFiltersRequest : AmazonCloudWatchLogsRequest

The DescribeMetricFiltersRequest type exposes the following members


Public Method DescribeMetricFiltersRequest() Empty constructor used to set properties independently even when a simple constructor is available
Public Method DescribeMetricFiltersRequest(string) Instantiates DescribeMetricFiltersRequest with the parameterized properties


Public Property FilterNamePrefix System.String Gets and sets the property FilterNamePrefix.

Will only return metric filters that match the provided filterNamePrefix. If you don't specify a value, no prefix filter is applied.

Public Property Limit System.Int32 Gets and sets the property Limit.

The maximum number of items returned in the response. If you don't specify a value, the request would return up to 50 items.

Public Property LogGroupName System.String Gets and sets the property LogGroupName.

The log group name for which metric filters are to be listed.

Public Property NextToken System.String Gets and sets the property NextToken.

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.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5