AWS SDK Version 3 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.

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.

Inheritance Hierarchy

System.Object
  Amazon.Runtime.AmazonWebServiceRequest
    Amazon.CloudWatchLogs.AmazonCloudWatchLogsRequest
      Amazon.CloudWatchLogs.Model.DescribeMetricFiltersRequest

Namespace: Amazon.CloudWatchLogs.Model
Assembly: AWSSDK.CloudWatchLogs.dll
Version: 3.x.y.z

Syntax

C#
public class DescribeMetricFiltersRequest : AmazonCloudWatchLogsRequest
         IAmazonWebServiceRequest

The DescribeMetricFiltersRequest type exposes the following members

Constructors

NameDescription
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

Properties

NameTypeDescription
Public Property 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 logGroupName parameter in your request.

Public Property 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.

Public Property LogGroupName System.String

Gets and sets the property LogGroupName.

The name of the log group.

Public Property 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 parameter.

Public Property 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 metricName parameter.

Public Property 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.)

Version Information

.NET Core App:
Supported in: 3.1

.NET Standard:
Supported in: 2.0

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