DescribeAccountLimits
Describes the current Amazon EC2 Auto Scaling resource quotas for your AWS account.
For information about requesting an increase, see Amazon EC2 Auto Scaling service quotas 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 AWS account. The default is 200 groups per AWS Region.
Type: Integer
- MaxNumberOfLaunchConfigurations
-
The maximum number of launch configurations allowed for your AWS account. The default is 200 launch configurations per AWS Region.
Type: Integer
- NumberOfAutoScalingGroups
-
The current number of groups for your AWS account.
Type: Integer
- NumberOfLaunchConfigurations
-
The current number of launch configurations for your AWS 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="http://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: