Container for the parameters to the ListMetrics operation.
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
C# |
public class ListMetricsRequest : AmazonWebServiceRequest
Members
All Members | Constructors | Methods | Properties | ||
Icon | Member | Description |
---|---|---|
ListMetricsRequest()()()() | Initializes a new instance of the ListMetricsRequest class | |
Dimensions |
A list of dimensions to filter against.
Constraints: | |
Equals(Object) | (Inherited from Object.) | |
GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
MetricName |
The name of the metric to filter against.
Constraints: | |
Namespace |
The namespace to filter against.
Constraints: | |
NextToken |
The token returned by a previous call to indicate that there is more data available.
| |
ToString()()()() | Returns a string that represents the current object. (Inherited from Object.) | |
WithDimensions(array<DimensionFilter>[]()[][]) | Obsolete.
Adds elements to the Dimensions collection
| |
WithDimensions(IEnumerable<(Of <<'(DimensionFilter>)>>)) | Obsolete.
Adds elements to the Dimensions collection
| |
WithMetricName(String) | Obsolete.
Sets the MetricName property
| |
WithNamespace(String) | Obsolete.
Sets the Namespace property
| |
WithNextToken(String) | Obsolete.
Sets the NextToken property
|
Inheritance Hierarchy
Object | ||
AmazonWebServiceRequest | ||
ListMetricsRequest |
See Also