amazonka-iam-1.4.4: 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 # 
ToPath CreateInstanceProfile Source # 
ToHeaders CreateInstanceProfile Source # 
ToQuery CreateInstanceProfile Source # 
type Rep CreateInstanceProfile Source # 
type Rep CreateInstanceProfile = D1 (MetaData "CreateInstanceProfile" "Network.AWS.IAM.CreateInstanceProfile" "amazonka-iam-1.4.4-BicPZt3TaHh2CoAkQqkWBu" 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 IAM User Guide.

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

The regex pattern for this parameter is a string of characters consisting of either a forward slash (/) by itself or a string that must begin and end with forward slashes, containing any ASCII character from the ! (\u0021) thru the DEL character (\u007F), including most punctuation characters, digits, and upper and lowercased letters.

cipInstanceProfileName :: Lens' CreateInstanceProfile Text Source #

The name of the instance profile to create.

The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-

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.4-BicPZt3TaHh2CoAkQqkWBu" False) (C1 (MetaCons "CreateInstanceProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ciprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedUnpack) (Rec0 Int)) (S1 (MetaSel (Just Symbol "_ciprsInstanceProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 InstanceProfile))))

Response Lenses

ciprsInstanceProfile :: Lens' CreateInstanceProfileResponse InstanceProfile Source #

A structure containing details about the new instance profile.