AWS SDK for .NET Documentation
ListMetrics Method
AmazonAmazon.CloudWatchAmazonCloudWatchClientListMetrics()()()() Did this page help you?   Yes   No    Tell us about it...

Returns a list of valid metrics stored for the AWS account owner. Returned metrics can be used with GetMetricStatistics to obtain statistical data for a given metric.

NOTE: Up to 500 results are returned for any one call. To retrieve further results, use returned NextToken values with subsequent ListMetrics operations.

NOTE: If you create a metric with the PutMetricData action, allow up to fifteen minutes for the metric to appear in calls to the ListMetrics action. Statistics about the metric, however, are available sooner using GetMetricStatistics.

Declaration Syntax
public ListMetricsResponse ListMetrics()
Return Value
The response from the ListMetrics service method, as returned by AmazonCloudWatch.

Assembly: AWSSDK (Module: AWSSDK) Version: (