You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Class: Aws::CloudWatchLogs::Types::DescribeMetricFiltersRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb

Overview

Note:

When making an API call, you may pass DescribeMetricFiltersRequest data as a hash:

{
  log_group_name: "LogGroupName",
  filter_name_prefix: "FilterName",
  next_token: "NextToken",
  limit: 1,
  metric_name: "MetricName",
  metric_namespace: "MetricNamespace",
}

Instance Attribute Summary collapse

Instance Attribute Details

#filter_name_prefixString

The prefix to match.

Returns:

  • (String)


556
557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 556

class DescribeMetricFiltersRequest < Struct.new(
  :log_group_name,
  :filter_name_prefix,
  :next_token,
  :limit,
  :metric_name,
  :metric_namespace)
  include Aws::Structure
end

#limitInteger

The maximum number of items returned. If you don't specify a value, the default is up to 50 items.

Returns:

  • (Integer)


556
557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 556

class DescribeMetricFiltersRequest < Struct.new(
  :log_group_name,
  :filter_name_prefix,
  :next_token,
  :limit,
  :metric_name,
  :metric_namespace)
  include Aws::Structure
end

#log_group_nameString

The name of the log group.

Returns:

  • (String)


556
557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 556

class DescribeMetricFiltersRequest < Struct.new(
  :log_group_name,
  :filter_name_prefix,
  :next_token,
  :limit,
  :metric_name,
  :metric_namespace)
  include Aws::Structure
end

#metric_nameString

The name of the CloudWatch metric.

Returns:

  • (String)


556
557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 556

class DescribeMetricFiltersRequest < Struct.new(
  :log_group_name,
  :filter_name_prefix,
  :next_token,
  :limit,
  :metric_name,
  :metric_namespace)
  include Aws::Structure
end

#metric_namespaceString

The namespace of the CloudWatch metric.

Returns:

  • (String)


556
557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 556

class DescribeMetricFiltersRequest < Struct.new(
  :log_group_name,
  :filter_name_prefix,
  :next_token,
  :limit,
  :metric_name,
  :metric_namespace)
  include Aws::Structure
end

#next_tokenString

The token for the next set of items to return. (You received this token from a previous call.)

Returns:

  • (String)


556
557
558
559
560
561
562
563
564
# File 'gems/aws-sdk-cloudwatchlogs/lib/aws-sdk-cloudwatchlogs/types.rb', line 556

class DescribeMetricFiltersRequest < Struct.new(
  :log_group_name,
  :filter_name_prefix,
  :next_token,
  :limit,
  :metric_name,
  :metric_namespace)
  include Aws::Structure
end