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

  • diifResource - 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
  • diifPrincipalARN - The ARN of the principal, which can be an IAM role, IAM user, or the root user.

data DescribeIdentityIdFormat Source #

Contains the parameters for DescribeIdentityIdFormat.

See: describeIdentityIdFormat smart constructor.

Instances
Eq DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Data DescribeIdentityIdFormat Source # 
Instance details

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

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Show DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Generic DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Associated Types

type Rep DescribeIdentityIdFormat :: Type -> Type #

Hashable DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

AWSRequest DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Associated Types

type Rs DescribeIdentityIdFormat :: Type #

ToHeaders DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

ToPath DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

ToQuery DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

NFData DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

type Rep DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

type Rep DescribeIdentityIdFormat = D1 (MetaData "DescribeIdentityIdFormat" "Network.AWS.EC2.DescribeIdentityIdFormat" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "DescribeIdentityIdFormat'" PrefixI True) (S1 (MetaSel (Just "_diifResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_diifPrincipalARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))
type Rs DescribeIdentityIdFormat Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Request Lenses

diifResource :: Lens' DescribeIdentityIdFormat (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

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

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Data DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

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

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Show DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Generic DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

Associated Types

type Rep DescribeIdentityIdFormatResponse :: Type -> Type #

NFData DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

type Rep DescribeIdentityIdFormatResponse Source # 
Instance details

Defined in Network.AWS.EC2.DescribeIdentityIdFormat

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

Response Lenses

diifrsStatuses :: Lens' DescribeIdentityIdFormatResponse [IdFormat] Source #

Information about the ID format for the resources.