Class: Aws::CloudWatch::Types::ListMetricsInput

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

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#dimensionsArray<Types::DimensionFilter>

The dimensions to filter against. Only the dimensions that match exactly will be returned.

Returns:



2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2180

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token,
  :recently_active,
  :include_linked_accounts,
  :owning_account)
  SENSITIVE = []
  include Aws::Structure
end

#include_linked_accountsBoolean

If you are using this operation in a monitoring account, specify true to include metrics from source accounts in the returned data.

The default is false.

Returns:

  • (Boolean)


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2180

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token,
  :recently_active,
  :include_linked_accounts,
  :owning_account)
  SENSITIVE = []
  include Aws::Structure
end

#metric_nameString

The name of the metric to filter against. Only the metrics with names that match exactly will be returned.

Returns:

  • (String)


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2180

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token,
  :recently_active,
  :include_linked_accounts,
  :owning_account)
  SENSITIVE = []
  include Aws::Structure
end

#namespaceString

The metric namespace to filter against. Only the namespace that matches exactly will be returned.

Returns:

  • (String)


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2180

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token,
  :recently_active,
  :include_linked_accounts,
  :owning_account)
  SENSITIVE = []
  include Aws::Structure
end

#next_tokenString

The token returned by a previous call to indicate that there is more data available.

Returns:

  • (String)


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2180

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token,
  :recently_active,
  :include_linked_accounts,
  :owning_account)
  SENSITIVE = []
  include Aws::Structure
end

#owning_accountString

When you use this operation in a monitoring account, use this field to return metrics only from one source account. To do so, specify that source account ID in this field, and also specify true for IncludeLinkedAccounts.

Returns:

  • (String)


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2180

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token,
  :recently_active,
  :include_linked_accounts,
  :owning_account)
  SENSITIVE = []
  include Aws::Structure
end

#recently_activeString

To filter the results to show only metrics that have had data points published in the past three hours, specify this parameter with a value of PT3H. This is the only valid value for this parameter.

The results that are returned are an approximation of the value you specify. There is a low probability that the returned results include metrics with last published data as much as 40 minutes more than the specified time interval.

Returns:

  • (String)


2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
# File 'gems/aws-sdk-cloudwatch/lib/aws-sdk-cloudwatch/types.rb', line 2180

class ListMetricsInput < Struct.new(
  :namespace,
  :metric_name,
  :dimensions,
  :next_token,
  :recently_active,
  :include_linked_accounts,
  :owning_account)
  SENSITIVE = []
  include Aws::Structure
end