DescribeAccountLimits - Amazon EC2 Auto Scaling

DescribeAccountLimits

Describes the current Amazon EC2 Auto Scaling resource quotas for your account.

When you establish an AWS account, the account has initial quotas on the maximum number of Auto Scaling groups and launch configurations that you can create in a given Region. For more information, see Quotas for Amazon EC2 Auto Scaling in the Amazon EC2 Auto Scaling User Guide.

Response Elements

The following elements are returned by the service.

MaxNumberOfAutoScalingGroups

The maximum number of groups allowed for your account. The default is 200 groups per Region.

Type: Integer

MaxNumberOfLaunchConfigurations

The maximum number of launch configurations allowed for your account. The default is 200 launch configurations per Region.

Type: Integer

NumberOfAutoScalingGroups

The current number of groups for your account.

Type: Integer

NumberOfLaunchConfigurations

The current number of launch configurations for your account.

Type: Integer

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

Examples

Example

This example illustrates one usage of DescribeAccountLimits.

Sample Request

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

Sample Response

<DescribeAccountLimitsResponse xmlns="https://autoscaling.amazonaws.com/doc/2011-01-01/"> <DescribeAccountLimitsResult> <NumberOfLaunchConfigurations>5</NumberOfLaunchConfigurations> <MaxNumberOfLaunchConfigurations>200</MaxNumberOfLaunchConfigurations> <NumberOfAutoScalingGroups>10</NumberOfAutoScalingGroups> <MaxNumberOfAutoScalingGroups>200</MaxNumberOfAutoScalingGroups> </DescribeAccountLimitsResult> <ResponseMetadata> <RequestId>7c6e177f-f082-11e1-ac58-3714bEXAMPLE</RequestId> </ResponseMetadata> </DescribeAccountLimitsResponse>

See Also

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