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

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

Network.AWS.EC2.DescribeAggregateIdFormat

Contents

Description

Describes the longer ID format settings for all resource types in a specific region. This request is useful for performing a quick audit to determine whether a specific region is fully opted in for longer IDs (17-character IDs).

This request only returns information about resource types that support longer IDs.

The following resource types support longer IDs: bundle | conversion-task | customer-gateway | dhcp-options | elastic-ip-allocation | elastic-ip-association | export-task | flow-log | image | import-task | instance | internet-gateway | network-acl | network-acl-association | network-interface | network-interface-attachment | prefix-list | reservation | route-table | route-table-association | security-group | snapshot | subnet | subnet-cidr-block-association | volume | vpc | vpc-cidr-block-association | vpc-endpoint | vpc-peering-connection | vpn-connection | vpn-gateway .

Synopsis

Creating a Request

describeAggregateIdFormat :: DescribeAggregateIdFormat Source #

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

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

  • daifDryRun - 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 DescribeAggregateIdFormat Source #

See: describeAggregateIdFormat smart constructor.

Instances

Eq DescribeAggregateIdFormat Source # 
Data DescribeAggregateIdFormat Source # 

Methods

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

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

toConstr :: DescribeAggregateIdFormat -> Constr #

dataTypeOf :: DescribeAggregateIdFormat -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeAggregateIdFormat Source # 
Show DescribeAggregateIdFormat Source # 
Generic DescribeAggregateIdFormat Source # 
Hashable DescribeAggregateIdFormat Source # 
NFData DescribeAggregateIdFormat Source # 
AWSRequest DescribeAggregateIdFormat Source # 
ToHeaders DescribeAggregateIdFormat Source # 
ToPath DescribeAggregateIdFormat Source # 
ToQuery DescribeAggregateIdFormat Source # 
type Rep DescribeAggregateIdFormat Source # 
type Rep DescribeAggregateIdFormat = D1 * (MetaData "DescribeAggregateIdFormat" "Network.AWS.EC2.DescribeAggregateIdFormat" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" True) (C1 * (MetaCons "DescribeAggregateIdFormat'" PrefixI True) (S1 * (MetaSel (Just Symbol "_daifDryRun") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 * (Maybe Bool))))
type Rs DescribeAggregateIdFormat Source # 

Request Lenses

daifDryRun :: Lens' DescribeAggregateIdFormat (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

describeAggregateIdFormatResponse Source #

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

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

  • daifrsUseLongIdsAggregated - Indicates whether all resource types in the region are configured to use longer IDs. This value is only true if all users are configured to use longer IDs for all resources types in the region.
  • daifrsStatuses - Information about each resource's ID format.
  • daifrsResponseStatus - -- | The response status code.

data DescribeAggregateIdFormatResponse Source #

See: describeAggregateIdFormatResponse smart constructor.

Instances

Eq DescribeAggregateIdFormatResponse Source # 
Data DescribeAggregateIdFormatResponse Source # 

Methods

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

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

toConstr :: DescribeAggregateIdFormatResponse -> Constr #

dataTypeOf :: DescribeAggregateIdFormatResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeAggregateIdFormatResponse Source # 
Show DescribeAggregateIdFormatResponse Source # 
Generic DescribeAggregateIdFormatResponse Source # 
NFData DescribeAggregateIdFormatResponse Source # 
type Rep DescribeAggregateIdFormatResponse Source # 
type Rep DescribeAggregateIdFormatResponse = D1 * (MetaData "DescribeAggregateIdFormatResponse" "Network.AWS.EC2.DescribeAggregateIdFormat" "amazonka-ec2-1.6.0-Kkew7Kpgof6EYi20Z0WOzs" False) (C1 * (MetaCons "DescribeAggregateIdFormatResponse'" PrefixI True) ((:*:) * (S1 * (MetaSel (Just Symbol "_daifrsUseLongIdsAggregated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe Bool))) ((:*:) * (S1 * (MetaSel (Just Symbol "_daifrsStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * (Maybe [IdFormat]))) (S1 * (MetaSel (Just Symbol "_daifrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 * Int)))))

Response Lenses

daifrsUseLongIdsAggregated :: Lens' DescribeAggregateIdFormatResponse (Maybe Bool) Source #

Indicates whether all resource types in the region are configured to use longer IDs. This value is only true if all users are configured to use longer IDs for all resources types in the region.

daifrsStatuses :: Lens' DescribeAggregateIdFormatResponse [IdFormat] Source #

Information about each resource's ID format.