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.DescribeIdFormat

Contents

Description

Describes the ID format settings for your resources on a per-region basis, for example, to view which resource types are enabled for longer IDs. This request only returns information about resource types whose ID formats can be modified; it does not return information about other resource types.

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 .

These settings apply to the IAM user who makes the request; they do not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user, unless they explicitly override the settings by running the ModifyIdFormat command. Resources created with longer IDs are visible to all IAM users, regardless of these settings and provided that they have permission to use the relevant Describe command for the resource type.

Synopsis

Creating a Request

describeIdFormat :: DescribeIdFormat Source #

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

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

  • difResource - The type of resource: 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

data DescribeIdFormat Source #

Contains the parameters for DescribeIdFormat.

See: describeIdFormat smart constructor.

Instances
Eq DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Data DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Methods

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

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

toConstr :: DescribeIdFormat -> Constr #

dataTypeOf :: DescribeIdFormat -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Show DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Generic DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Associated Types

type Rep DescribeIdFormat :: Type -> Type #

Hashable DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

AWSRequest DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Associated Types

type Rs DescribeIdFormat :: Type #

ToHeaders DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

ToPath DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

ToQuery DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

NFData DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Methods

rnf :: DescribeIdFormat -> () #

type Rep DescribeIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

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

Defined in Network.AWS.EC2.DescribeIdFormat

Request Lenses

difResource :: Lens' DescribeIdFormat (Maybe Text) Source #

The type of resource: 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

Destructuring the Response

describeIdFormatResponse Source #

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

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

data DescribeIdFormatResponse Source #

Contains the output of DescribeIdFormat.

See: describeIdFormatResponse smart constructor.

Instances
Eq DescribeIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Data DescribeIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Methods

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

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

toConstr :: DescribeIdFormatResponse -> Constr #

dataTypeOf :: DescribeIdFormatResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Show DescribeIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Generic DescribeIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

Associated Types

type Rep DescribeIdFormatResponse :: Type -> Type #

NFData DescribeIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

type Rep DescribeIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdFormat

type Rep DescribeIdFormatResponse = D1 (MetaData "DescribeIdFormatResponse" "Network.AWS.EC2.DescribeIdFormat" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeIdFormatResponse'" PrefixI True) (S1 (MetaSel (Just "_difrsStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IdFormat])) :*: S1 (MetaSel (Just "_difrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses

difrsStatuses :: Lens' DescribeIdFormatResponse [IdFormat] Source #

Information about the ID format for the resource.