amazonka-ec2-1.4.1: 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.ModifyIdFormat

Contents

Description

Modifies the ID format for the specified resource on a per-region basis. You can specify that resources should receive longer IDs (17-character IDs) when they are created. The following resource types support longer IDs: 'instance' | reservation | snapshot | volume.

This setting applies to the IAM user who makes the request; it does not apply to the entire AWS account. By default, an IAM user defaults to the same settings as the root user. If you're using this action as the root user or as an IAM role that has permission to use this action, then these settings apply to the entire account, unless an IAM user explicitly overrides these settings for themselves. For more information, see Controlling Access to Longer ID Settings in the Amazon Elastic Compute Cloud User Guide.

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

modifyIdFormat Source #

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

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

data ModifyIdFormat Source #

Contains the parameters of ModifyIdFormat.

See: modifyIdFormat smart constructor.

Instances

Eq ModifyIdFormat Source # 
Data ModifyIdFormat Source # 

Methods

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

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

toConstr :: ModifyIdFormat -> Constr #

dataTypeOf :: ModifyIdFormat -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyIdFormat Source # 
Show ModifyIdFormat Source # 
Generic ModifyIdFormat Source # 

Associated Types

type Rep ModifyIdFormat :: * -> * #

Hashable ModifyIdFormat Source # 
NFData ModifyIdFormat Source # 

Methods

rnf :: ModifyIdFormat -> () #

AWSRequest ModifyIdFormat Source # 
ToQuery ModifyIdFormat Source # 
ToPath ModifyIdFormat Source # 
ToHeaders ModifyIdFormat Source # 
type Rep ModifyIdFormat Source # 
type Rep ModifyIdFormat = D1 (MetaData "ModifyIdFormat" "Network.AWS.EC2.ModifyIdFormat" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "ModifyIdFormat'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mifResource") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mifUseLongIds") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Bool))))
type Rs ModifyIdFormat Source # 

Request Lenses

mifResource :: Lens' ModifyIdFormat Text Source #

The type of resource.

mifUseLongIds :: Lens' ModifyIdFormat Bool Source #

Indicate whether the resource should use longer IDs (17-character IDs).

Destructuring the Response

modifyIdFormatResponse :: ModifyIdFormatResponse Source #

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

data ModifyIdFormatResponse Source #

See: modifyIdFormatResponse smart constructor.

Instances

Eq ModifyIdFormatResponse Source # 
Data ModifyIdFormatResponse Source # 

Methods

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

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

toConstr :: ModifyIdFormatResponse -> Constr #

dataTypeOf :: ModifyIdFormatResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ModifyIdFormatResponse Source # 
Show ModifyIdFormatResponse Source # 
Generic ModifyIdFormatResponse Source # 
NFData ModifyIdFormatResponse Source # 

Methods

rnf :: ModifyIdFormatResponse -> () #

type Rep ModifyIdFormatResponse Source # 
type Rep ModifyIdFormatResponse = D1 (MetaData "ModifyIdFormatResponse" "Network.AWS.EC2.ModifyIdFormat" "amazonka-ec2-1.4.1-5DlWz6no0BoLQhxZVyzMyd" False) (C1 (MetaCons "ModifyIdFormatResponse'" PrefixI False) U1)