DescribeAccountAttributes - Amazon Elastic Beanstalk
Services or capabilities described in Amazon Web Services documentation might vary by Region. To see the differences applicable to the China Regions, see Getting Started with Amazon Web Services in China (PDF).

DescribeAccountAttributes

Returns attributes related to Amazon Elastic Beanstalk that are associated with the calling Amazon account.

The result currently has one set of attributes—resource quotas.

This action only returns information about resources that the calling principle has IAM permissions to access. For example, consider a case where a user only has permission to access one of three resources. When the user calls the this action, the response will only include the one resource that the user has permission to access instead of all three resources. If the user doesn’t have access to any of the resources an empty result is returned.

Note

The AWSElasticBeanstalkReadOnly managed policy allows operators to view information about resources related to Elastic Beanstalk. For more information, see Managing Elastic Beanstalk user policies in the Amazon Elastic Beanstalk Developer Guide. For detailed instructions to attach a policy to a user or group, see the section Controlling access with managed policies in the same topic.

Response Elements

The following element is returned by the service.

ResourceQuotas

The Elastic Beanstalk resource quotas associated with the calling Amazon Web Services account.

Type: ResourceQuotas object

Errors

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

InsufficientPrivileges

The specified account does not have sufficient privileges for one or more Amazon services.

HTTP Status Code: 403

Examples

Example

This example illustrates one usage of DescribeAccountAttributes.

Sample Request

https://elasticbeanstalk.us-west-2.amazonaws.com/?Operation=DescribeAccountAttributes &AuthParams

Sample Response

<DescribeAccountAttributesResponse xmlns="http://elasticbeanstalk.amazonaws.com/docs/2010-12-01/"> <DescribeAccountAttributesResult> <ResourceQuotas> <ConfigurationTemplateQuota> <Maximum>2000</Maximum> </ConfigurationTemplateQuota> <ApplicationVersionQuota> <Maximum>1000</Maximum> </ApplicationVersionQuota> <CustomPlatformQuota> <Maximum>50</Maximum> </CustomPlatformQuota> <EnvironmentQuota> <Maximum>200</Maximum> </EnvironmentQuota> <ApplicationQuota> <Maximum>75</Maximum> </ApplicationQuota> </ResourceQuotas> </DescribeAccountAttributesResult> <ResponseMetadata> <RequestId>24fc4d65-1308-49e6-9b85-a0a8838f3b4b</RequestId> </ResponseMetadata> </DescribeAccountAttributesResponse>

See Also

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