You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::CloudWatchLogs::Types::DescribeMetricFiltersRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::CloudWatchLogs::Types::DescribeMetricFiltersRequest
- Defined in:
- (unknown)
Overview
When passing DescribeMetricFiltersRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
log_group_name: "LogGroupName",
filter_name_prefix: "FilterName",
next_token: "NextToken",
limit: 1,
metric_name: "MetricName",
metric_namespace: "MetricNamespace",
}
Instance Attribute Summary collapse
-
#filter_name_prefix ⇒ String
The prefix to match.
-
#limit ⇒ Integer
The maximum number of items returned.
-
#log_group_name ⇒ String
The name of the log group.
-
#metric_name ⇒ String
Filters results to include only those with the specified metric name.
-
#metric_namespace ⇒ String
Filters results to include only those in the specified namespace.
-
#next_token ⇒ String
The token for the next set of items to return.
Instance Attribute Details
#filter_name_prefix ⇒ String
The prefix to match. CloudWatch Logs uses the value you set here only if
you also include the logGroupName
parameter in your request.
#limit ⇒ Integer
The maximum number of items returned. If you don\'t specify a value, the default is up to 50 items.
#log_group_name ⇒ String
The name of the log group.
#metric_name ⇒ String
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.
#metric_namespace ⇒ String
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.
#next_token ⇒ String
The token for the next set of items to return. (You received this token from a previous call.)