Copyright | (c) 2013-2018 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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, ornone
.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.
- describeAccountAttributes :: DescribeAccountAttributes
- data DescribeAccountAttributes
- daaAttributeNames :: Lens' DescribeAccountAttributes [AccountAttributeName]
- daaDryRun :: Lens' DescribeAccountAttributes (Maybe Bool)
- describeAccountAttributesResponse :: Int -> DescribeAccountAttributesResponse
- data DescribeAccountAttributesResponse
- daarsAccountAttributes :: Lens' DescribeAccountAttributesResponse [AccountAttribute]
- daarsResponseStatus :: Lens' DescribeAccountAttributesResponse Int
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:
daaAttributeNames
- One or more account attribute names.daaDryRun
- 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 isDryRunOperation
. Otherwise, it isUnauthorizedOperation
.
data DescribeAccountAttributes Source #
Contains the parameters for DescribeAccountAttributes.
See: describeAccountAttributes
smart constructor.
Request Lenses
daaAttributeNames :: Lens' DescribeAccountAttributes [AccountAttributeName] Source #
One or more account attribute names.
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:
daarsAccountAttributes
- Information about one or more account attributes.daarsResponseStatus
- -- | The response status code.
data DescribeAccountAttributesResponse Source #
Contains the output of DescribeAccountAttributes.
See: describeAccountAttributesResponse
smart constructor.
Response Lenses
daarsAccountAttributes :: Lens' DescribeAccountAttributesResponse [AccountAttribute] Source #
Information about one or more account attributes.
daarsResponseStatus :: Lens' DescribeAccountAttributesResponse Int Source #
- - | The response status code.