amazonka-ec2-1.4.5: 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 #

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:

  • diifResource - The type of resource: instance | reservation | snapshot | volume
  • diifPrincipalARN - The ARN of the principal, which can be an IAM role, IAM user, or the root user.

data DescribeIdentityIdFormat #

Contains the parameters for DescribeIdentityIdFormat.

See: describeIdentityIdFormat smart constructor.

Instances

Eq DescribeIdentityIdFormat # 
Data DescribeIdentityIdFormat # 

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 # 
Show DescribeIdentityIdFormat # 
Generic DescribeIdentityIdFormat # 
Hashable DescribeIdentityIdFormat # 
NFData DescribeIdentityIdFormat # 
AWSRequest DescribeIdentityIdFormat # 
ToQuery DescribeIdentityIdFormat # 
ToPath DescribeIdentityIdFormat # 
ToHeaders DescribeIdentityIdFormat # 
type Rep DescribeIdentityIdFormat # 
type Rep DescribeIdentityIdFormat = D1 (MetaData "DescribeIdentityIdFormat" "Network.AWS.EC2.DescribeIdentityIdFormat" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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 # 

Request Lenses

diifResource :: Lens' DescribeIdentityIdFormat (Maybe Text) #

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

diifPrincipalARN :: Lens' DescribeIdentityIdFormat Text #

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

Destructuring the Response

describeIdentityIdFormatResponse #

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 #

Contains the output of DescribeIdentityIdFormat.

See: describeIdentityIdFormatResponse smart constructor.

Instances

Eq DescribeIdentityIdFormatResponse # 
Data DescribeIdentityIdFormatResponse # 

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 # 
Show DescribeIdentityIdFormatResponse # 
Generic DescribeIdentityIdFormatResponse # 
NFData DescribeIdentityIdFormatResponse # 
type Rep DescribeIdentityIdFormatResponse # 
type Rep DescribeIdentityIdFormatResponse = D1 (MetaData "DescribeIdentityIdFormatResponse" "Network.AWS.EC2.DescribeIdentityIdFormat" "amazonka-ec2-1.4.5-C4CR35JggG2GhWFrIiKGhu" 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] #

Information about the ID format for the resources.