Amazon EC2 Auto Scaling
API Reference (API Version 2011-01-01)

The AWS Documentation website is getting a new look!
Try it now and let us know what you think. Switch to the new look >>

You can return to the original look by selecting English in the language selector above.

DescribeMetricCollectionTypes

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 EnableMetricsCollection.

Response Elements

The following elements are returned by the service.

Granularities.member.N

The granularities for the metrics.

Type: Array of MetricGranularityType objects

Metrics.member.N

One or more metrics.

Type: Array of MetricCollectionType objects

Errors

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

ResourceContention

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

Example

Sample Request

https://autoscaling.amazonaws.com/?Version=2011-01-01&Action=DescribeMetricCollectionTypes &Version=2011-01-01 &AUTHPARAMS

Sample Response

<DescribeMetricCollectionTypesResponse xmlns="http://autoscaling.amazonaws.com/doc/2011-01-01/"> <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: