amazonka-ec2-1.0.1: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.EC2.DescribeAccountAttributes

Contents

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': 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.

See: AWS API Reference for DescribeAccountAttributes.

Synopsis

Creating a Request

describeAccountAttributes :: DescribeAccountAttributes Source

Creates a value of DescribeAccountAttributes with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

daaDryRun :: Lens' DescribeAccountAttributes (Maybe Bool) Source

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.

Destructuring the Response

describeAccountAttributesResponse Source

Creates a value of DescribeAccountAttributesResponse with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Response Lenses

daarsAccountAttributes :: Lens' DescribeAccountAttributesResponse [AccountAttribute] Source

Information about one or more account attributes.