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

Contents

Description

Describes the ID format settings for resources for the specified IAM user, IAM role, or root user. For example, you can view the resource types that 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. For more information, see Resource IDs in the Amazon Elastic Compute Cloud User Guide.

The following resource types support longer IDs: 'instance' | reservation | snapshot | volume.

These settings apply to the principal specified in the request. They do not apply to the principal that makes the request.

Synopsis

Creating a Request

describeIdentityIdFormat Source #

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

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

data DescribeIdentityIdFormat Source #

Contains the parameters for DescribeIdentityIdFormat.

See: describeIdentityIdFormat smart constructor.

Instances

Eq DescribeIdentityIdFormat Source # 
Data DescribeIdentityIdFormat Source # 

Methods

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

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

toConstr :: DescribeIdentityIdFormat -> Constr #

dataTypeOf :: DescribeIdentityIdFormat -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeIdentityIdFormat Source # 
Show DescribeIdentityIdFormat Source # 
Generic DescribeIdentityIdFormat Source # 
Hashable DescribeIdentityIdFormat Source # 
NFData DescribeIdentityIdFormat Source # 
AWSRequest DescribeIdentityIdFormat Source # 
ToPath DescribeIdentityIdFormat Source # 
ToHeaders DescribeIdentityIdFormat Source # 
ToQuery DescribeIdentityIdFormat Source # 
type Rep DescribeIdentityIdFormat Source # 
type Rep DescribeIdentityIdFormat = D1 (MetaData "DescribeIdentityIdFormat" "Network.AWS.EC2.DescribeIdentityIdFormat" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DescribeIdentityIdFormat'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diifResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_diifPrincipalARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs DescribeIdentityIdFormat Source # 

Request Lenses

diifPrincipalARN :: Lens' DescribeIdentityIdFormat Text Source #

The ARN of the principal, which can be an IAM role, IAM user, or the root user.

Destructuring the Response

describeIdentityIdFormatResponse Source #

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

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

data DescribeIdentityIdFormatResponse Source #

Contains the output of DescribeIdentityIdFormat.

See: describeIdentityIdFormatResponse smart constructor.

Instances

Eq DescribeIdentityIdFormatResponse Source # 
Data DescribeIdentityIdFormatResponse Source # 

Methods

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

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

toConstr :: DescribeIdentityIdFormatResponse -> Constr #

dataTypeOf :: DescribeIdentityIdFormatResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DescribeIdentityIdFormatResponse Source # 
Show DescribeIdentityIdFormatResponse Source # 
Generic DescribeIdentityIdFormatResponse Source # 
NFData DescribeIdentityIdFormatResponse Source # 
type Rep DescribeIdentityIdFormatResponse Source # 
type Rep DescribeIdentityIdFormatResponse = D1 (MetaData "DescribeIdentityIdFormatResponse" "Network.AWS.EC2.DescribeIdentityIdFormat" "amazonka-ec2-1.4.4-4aYNmHv73MpJXVQjlVKYjQ" False) (C1 (MetaCons "DescribeIdentityIdFormatResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_diifrsStatuses") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe [IdFormat]))) (S1 (MetaSel (Just Symbol "_diifrsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int))))

Response Lenses

diifrsStatuses :: Lens' DescribeIdentityIdFormatResponse [IdFormat] Source #

Information about the ID format for the resources.