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

Copyright(c) 2013-2016 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.

Synopsis

Creating a Request

describeAccountAttributes :: DescribeAccountAttributes #

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 is DryRunOperation . Otherwise, it is UnauthorizedOperation .

data DescribeAccountAttributes #

Contains the parameters for DescribeAccountAttributes.

See: describeAccountAttributes smart constructor.

Instances

Eq DescribeAccountAttributes # 
Data DescribeAccountAttributes # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAccountAttributes -> c DescribeAccountAttributes #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAccountAttributes #

toConstr :: DescribeAccountAttributes -> Constr #

dataTypeOf :: DescribeAccountAttributes -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAccountAttributes) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAccountAttributes) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAccountAttributes -> DescribeAccountAttributes #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAccountAttributes -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAccountAttributes -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAccountAttributes -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAccountAttributes -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAccountAttributes -> m DescribeAccountAttributes #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAccountAttributes -> m DescribeAccountAttributes #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAccountAttributes -> m DescribeAccountAttributes #

Read DescribeAccountAttributes # 
Show DescribeAccountAttributes # 
Generic DescribeAccountAttributes # 
Hashable DescribeAccountAttributes # 
NFData DescribeAccountAttributes # 
AWSRequest DescribeAccountAttributes # 
ToQuery DescribeAccountAttributes # 
ToPath DescribeAccountAttributes # 
ToHeaders DescribeAccountAttributes # 
type Rep DescribeAccountAttributes # 
type Rep DescribeAccountAttributes = D1 (MetaData "DescribeAccountAttributes" "Network.AWS.EC2.DescribeAccountAttributes" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeAccountAttributes'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_daaAttributeNames") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AccountAttributeName]))) (S1 (MetaSel (Just Symbol "_daaDryRun") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))
type Rs DescribeAccountAttributes # 

Request Lenses

daaDryRun :: Lens' DescribeAccountAttributes (Maybe Bool) #

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 #

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:

data DescribeAccountAttributesResponse #

Contains the output of DescribeAccountAttributes.

See: describeAccountAttributesResponse smart constructor.

Instances

Eq DescribeAccountAttributesResponse # 
Data DescribeAccountAttributesResponse # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> DescribeAccountAttributesResponse -> c DescribeAccountAttributesResponse #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c DescribeAccountAttributesResponse #

toConstr :: DescribeAccountAttributesResponse -> Constr #

dataTypeOf :: DescribeAccountAttributesResponse -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c DescribeAccountAttributesResponse) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c DescribeAccountAttributesResponse) #

gmapT :: (forall b. Data b => b -> b) -> DescribeAccountAttributesResponse -> DescribeAccountAttributesResponse #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAccountAttributesResponse -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> DescribeAccountAttributesResponse -> r #

gmapQ :: (forall d. Data d => d -> u) -> DescribeAccountAttributesResponse -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> DescribeAccountAttributesResponse -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> DescribeAccountAttributesResponse -> m DescribeAccountAttributesResponse #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAccountAttributesResponse -> m DescribeAccountAttributesResponse #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> DescribeAccountAttributesResponse -> m DescribeAccountAttributesResponse #

Read DescribeAccountAttributesResponse # 
Show DescribeAccountAttributesResponse # 
Generic DescribeAccountAttributesResponse # 
NFData DescribeAccountAttributesResponse # 
type Rep DescribeAccountAttributesResponse # 
type Rep DescribeAccountAttributesResponse = D1 (MetaData "DescribeAccountAttributesResponse" "Network.AWS.EC2.DescribeAccountAttributes" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" False) (C1 (MetaCons "DescribeAccountAttributesResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_daarsAccountAttributes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [AccountAttribute]))) (S1 (MetaSel (Just Symbol "_daarsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

daarsAccountAttributes :: Lens' DescribeAccountAttributesResponse [AccountAttribute] #

Information about one or more account attributes.