ElasticBeanstalk / Client / describe_account_attributes

describe_account_attributes

ElasticBeanstalk.Client.describe_account_attributes()

Returns attributes related to Elastic Beanstalk that are associated with the calling Amazon Web Services 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 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.

See also: AWS API Documentation

Request Syntax

response = client.describe_account_attributes()
Return type:

dict

Returns:

Response Syntax

{
    'ResourceQuotas': {
        'ApplicationQuota': {
            'Maximum': 123
        },
        'ApplicationVersionQuota': {
            'Maximum': 123
        },
        'EnvironmentQuota': {
            'Maximum': 123
        },
        'ConfigurationTemplateQuota': {
            'Maximum': 123
        },
        'CustomPlatformQuota': {
            'Maximum': 123
        }
    }
}

Response Structure

  • (dict) –

    • ResourceQuotas (dict) –

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

      • ApplicationQuota (dict) –

        The quota for applications in the Amazon Web Services account.

        • Maximum (integer) –

          The maximum number of instances of this Elastic Beanstalk resource type that an Amazon Web Services account can use.

      • ApplicationVersionQuota (dict) –

        The quota for application versions in the Amazon Web Services account.

        • Maximum (integer) –

          The maximum number of instances of this Elastic Beanstalk resource type that an Amazon Web Services account can use.

      • EnvironmentQuota (dict) –

        The quota for environments in the Amazon Web Services account.

        • Maximum (integer) –

          The maximum number of instances of this Elastic Beanstalk resource type that an Amazon Web Services account can use.

      • ConfigurationTemplateQuota (dict) –

        The quota for configuration templates in the Amazon Web Services account.

        • Maximum (integer) –

          The maximum number of instances of this Elastic Beanstalk resource type that an Amazon Web Services account can use.

      • CustomPlatformQuota (dict) –

        The quota for custom platforms in the Amazon Web Services account.

        • Maximum (integer) –

          The maximum number of instances of this Elastic Beanstalk resource type that an Amazon Web Services account can use.

Exceptions