Learn R Programming

paws.compute (version 0.1.12)

ec2_describe_account_attributes: Describes attributes of your AWS account

Description

Describes attributes of your AWS account. The following are the supported account attributes:

  • supported-platforms: Indicates whether your account can launch instances into EC2-Classic and EC2-VPC, or only into EC2-VPC.

  • default-vpc: The ID of the default VPC for your account, or none.

  • max-instances: This attribute is no longer supported. The returned value does not reflect your actual vCPU limit for running On-Demand Instances. For more information, see On-Demand Instance Limits in the Amazon Elastic Compute Cloud User Guide.

  • vpc-max-security-groups-per-interface: The maximum number of security groups that you can assign to a network interface.

  • max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-Classic.

  • vpc-max-elastic-ips: The maximum number of Elastic IP addresses that you can allocate for use with EC2-VPC.

Usage

ec2_describe_account_attributes(AttributeNames, DryRun)

Value

A list with the following syntax:

list(
  AccountAttributes = list(
    list(
      AttributeName = "string",
      AttributeValues = list(
        list(
          AttributeValue = "string"
        )
      )
    )
  )
)

Arguments

AttributeNames

The account attribute names.

DryRun

Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is DryRunOperation. Otherwise, it is UnauthorizedOperation.

Request syntax

svc$describe_account_attributes(
  AttributeNames = list(
    "supported-platforms"|"default-vpc"
  ),
  DryRun = TRUE|FALSE
)

Examples

Run this code
if (FALSE) {
# This example describes the supported-platforms attribute for your AWS
# account.
svc$describe_account_attributes(
  AttributeNames = list(
    "supported-platforms"
  )
)

# This example describes the attributes for your AWS account.
svc$describe_account_attributes()
}

Run the code above in your browser using DataLab