amazonka-iam-1.4.2: Amazon Identity and Access Management 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.IAM.CreateInstanceProfile

Contents

Description

Creates a new instance profile. For information about instance profiles, go to About Instance Profiles.

For information about the number of instance profiles you can create, see Limitations on IAM Entities in the IAM User Guide.

Synopsis

Creating a Request

createInstanceProfile Source #

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

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

data CreateInstanceProfile Source #

See: createInstanceProfile smart constructor.

Instances

Eq CreateInstanceProfile Source # 
Data CreateInstanceProfile Source # 

Methods

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

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

toConstr :: CreateInstanceProfile -> Constr #

dataTypeOf :: CreateInstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInstanceProfile Source # 
Show CreateInstanceProfile Source # 
Generic CreateInstanceProfile Source # 
Hashable CreateInstanceProfile Source # 
NFData CreateInstanceProfile Source # 

Methods

rnf :: CreateInstanceProfile -> () #

AWSRequest CreateInstanceProfile Source # 
ToQuery CreateInstanceProfile Source # 
ToPath CreateInstanceProfile Source # 
ToHeaders CreateInstanceProfile Source # 
type Rep CreateInstanceProfile Source # 
type Rep CreateInstanceProfile = D1 (MetaData "CreateInstanceProfile" "Network.AWS.IAM.CreateInstanceProfile" "amazonka-iam-1.4.2-IxxX1VashHkGLYx0CCJHht" False) (C1 (MetaCons "CreateInstanceProfile'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_cipPath") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_cipInstanceProfileName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs CreateInstanceProfile Source # 

Request Lenses

cipPath :: Lens' CreateInstanceProfile (Maybe Text) Source #

The path to the instance profile. For more information about paths, see IAM Identifiers in the Using IAM guide.

This parameter is optional. If it is not included, it defaults to a slash (/).

cipInstanceProfileName :: Lens' CreateInstanceProfile Text Source #

The name of the instance profile to create.

Destructuring the Response

createInstanceProfileResponse Source #

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

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

data CreateInstanceProfileResponse Source #

Contains the response to a successful CreateInstanceProfile request.

See: createInstanceProfileResponse smart constructor.

Instances

Eq CreateInstanceProfileResponse Source # 
Data CreateInstanceProfileResponse Source # 

Methods

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

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

toConstr :: CreateInstanceProfileResponse -> Constr #

dataTypeOf :: CreateInstanceProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read CreateInstanceProfileResponse Source # 
Show CreateInstanceProfileResponse Source # 
Generic CreateInstanceProfileResponse Source # 
NFData CreateInstanceProfileResponse Source # 
type Rep CreateInstanceProfileResponse Source # 
type Rep CreateInstanceProfileResponse = D1 (MetaData "CreateInstanceProfileResponse" "Network.AWS.IAM.CreateInstanceProfile" "amazonka-iam-1.4.2-IxxX1VashHkGLYx0CCJHht" False) (C1 (MetaCons "CreateInstanceProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ciprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ciprsInstanceProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceProfile))))

Response Lenses