amazonka-ec2-1.4.4: 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.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: 'instance' | reservation | snapshot | volume.

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:

data DescribeIdFormat Source #

Contains the parameters for DescribeIdFormat.

See: describeIdFormat smart constructor.

Instances

Eq DescribeIdFormat Source # 
Data DescribeIdFormat Source # 

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 # 
Show DescribeIdFormat Source # 
Generic DescribeIdFormat Source # 
Hashable DescribeIdFormat Source # 
NFData DescribeIdFormat Source # 

Methods

rnf :: DescribeIdFormat -> () #

AWSRequest DescribeIdFormat Source # 
ToPath DescribeIdFormat Source # 
ToHeaders DescribeIdFormat Source # 
ToQuery DescribeIdFormat Source # 
type Rep DescribeIdFormat Source # 
type Rep DescribeIdFormat = D1 (MetaData "DescribeIdFormat" "Network.AWS.EC2.DescribeIdFormat" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" True) (C1 (MetaCons "DescribeIdFormat'" PrefixI True) (S1 (MetaSel (Just Symbol "_difResource") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 (Maybe Text))))
type Rs DescribeIdFormat Source # 

Request Lenses

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

The type of resource: 'instance' | reservation | snapshot | volume

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 # 
Data DescribeIdFormatResponse Source # 

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 # 
Show DescribeIdFormatResponse Source # 
Generic DescribeIdFormatResponse Source # 
NFData DescribeIdFormatResponse Source # 
type Rep DescribeIdFormatResponse Source # 
type Rep DescribeIdFormatResponse = D1 (MetaData "DescribeIdFormatResponse" "Network.AWS.EC2.DescribeIdFormat" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DescribeIdFormatResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_difrsStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IdFormat]))) (S1 (MetaSel (Just Symbol "_difrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

difrsStatuses :: Lens' DescribeIdFormatResponse [IdFormat] Source #

Information about the ID format for the resource.