class Aws::CloudWatch::Types::ListMetricsInput
@note When making an API call, you may pass ListMetricsInput
data as a hash: { namespace: "Namespace", metric_name: "MetricName", dimensions: [ { name: "DimensionName", # required value: "DimensionValue", }, ], next_token: "NextToken", recently_active: "PT3H", # accepts PT3H }
@!attribute [rw] namespace
The metric namespace to filter against. Only the namespace that matches exactly will be returned. @return [String]
@!attribute [rw] metric_name
The name of the metric to filter against. Only the metrics with names that match exactly will be returned. @return [String]
@!attribute [rw] dimensions
The dimensions to filter against. Only the dimensions that match exactly will be returned. @return [Array<Types::DimensionFilter>]
@!attribute [rw] next_token
The token returned by a previous call to indicate that there is more data available. @return [String]
@!attribute [rw] recently_active
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. @return [String]
@see docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput AWS API Documentation
Constants
- SENSITIVE