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 #

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 #

See: describeAggregateIdFormat smart constructor.

Instances

Eq DescribeAggregateIdFormat # 
Data DescribeAggregateIdFormat # 

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

Request Lenses

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

describeAggregateIdFormatResponse #

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 #

See: describeAggregateIdFormatResponse smart constructor.

Instances

Eq DescribeAggregateIdFormatResponse # 
Data DescribeAggregateIdFormatResponse # 

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 # 
Show DescribeAggregateIdFormatResponse # 
Generic DescribeAggregateIdFormatResponse # 
NFData DescribeAggregateIdFormatResponse # 
type Rep DescribeAggregateIdFormatResponse # 
type Rep DescribeAggregateIdFormatResponse = D1 * (MetaData "DescribeAggregateIdFormatResponse" "Network.AWS.EC2.DescribeAggregateIdFormat" "amazonka-ec2-1.6.0-Dm9BQRbqSOK72xbfLZMG4m" 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) #

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] #

Information about each resource's ID format.