DescribeAccountAttributes - AWS Elastic Beanstalk

DescribeAccountAttributes

Returns attributes related to AWS Elastic Beanstalk that are associated with the calling AWS 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 AWS 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 AWS 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 AWS 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 AWS SDKs, see the following: