paws.compute (version 0.1.0)

ec2_describe_account_attributes: Describes attributes of your AWS account

Description

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

Usage

ec2_describe_account_attributes(AttributeNames, DryRun)

Arguments

AttributeNames

One or more 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
)

Details

  • 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: The maximum number of On-Demand Instances that you can run.

  • 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.

Examples

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

Run the code above in your browser using DataCamp Workspace