amazonka-ec2-1.6.1: 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 # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Data DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.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 Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Show DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Generic DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Associated Types

type Rep DescribeAggregateIdFormat :: Type -> Type #

Hashable DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

AWSRequest DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Associated Types

type Rs DescribeAggregateIdFormat :: Type #

ToHeaders DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

ToPath DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

ToQuery DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

NFData DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

type Rep DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

type Rep DescribeAggregateIdFormat = D1 (MetaData "DescribeAggregateIdFormat" "Network.AWS.EC2.DescribeAggregateIdFormat" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" True) (C1 (MetaCons "DescribeAggregateIdFormat'" PrefixI True) (S1 (MetaSel (Just "_daifDryRun") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Bool))))
type Rs DescribeAggregateIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Data DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

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 # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Show DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Generic DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

Associated Types

type Rep DescribeAggregateIdFormatResponse :: Type -> Type #

NFData DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

type Rep DescribeAggregateIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeAggregateIdFormat

type Rep DescribeAggregateIdFormatResponse = D1 (MetaData "DescribeAggregateIdFormatResponse" "Network.AWS.EC2.DescribeAggregateIdFormat" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeAggregateIdFormatResponse'" PrefixI True) (S1 (MetaSel (Just "_daifrsUseLongIdsAggregated") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)) :*: (S1 (MetaSel (Just "_daifrsStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IdFormat])) :*: S1 (MetaSel (Just "_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.