DescribeMetricCollectionTypes - Amazon EC2 Auto Scaling


Describes the available CloudWatch metrics for Amazon EC2 Auto Scaling.

The GroupStandbyInstances metric is not returned by default. You must explicitly request this metric when calling the EnableMetricsCollection API.

Response Elements

The following elements are returned by the service.


The granularities for the metrics.

Type: Array of MetricGranularityType objects


One or more metrics.

Type: Array of MetricCollectionType objects


For information about the errors that are common to all actions, see Common Errors.


You already have a pending update to an Amazon EC2 Auto Scaling resource (for example, an Auto Scaling group, instance, or load balancer).

HTTP Status Code: 500



This example illustrates one usage of DescribeMetricCollectionTypes.

Sample Request &Version=2011-01-01 &AUTHPARAMS

Sample Response

<DescribeMetricCollectionTypesResponse xmlns=""> <DescribeMetricCollectionTypesResult> <Granularities> <member> <Granularity>1Minute</Granularity> </member> </Granularities> <Metrics> <member> <Metric>GroupMinSize</Metric> </member> <member> <Metric>GroupMaxSize</Metric> </member> <member> <Metric>GroupDesiredCapacity</Metric> </member> <member> <Metric>GroupInServiceInstances</Metric> </member> <member> <Metric>GroupPendingInstances</Metric> </member> <member> <Metric>GroupTerminatingInstances</Metric> </member> <member> <Metric>GroupStandbyInstances</Metric> </member> <member> <Metric>GroupTotalInstances</Metric> </member> </Metrics> </DescribeMetricCollectionTypesResult> <ResponseMetadata> <RequestId>7c6e177f-f082-11e1-ac58-3714bEXAMPLE</RequestId> </ResponseMetadata> </DescribeMetricCollectionTypesResponse>

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following: