amazonka-ec2-1.5.0: Amazon Elastic Compute Cloud SDK.

Copyright(c) 2013-2017 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.AssociateIAMInstanceProfile

Contents

Description

Associates an IAM instance profile with a running or stopped instance. You cannot associate more than one IAM instance profile with an instance.

Synopsis

Creating a Request

associateIAMInstanceProfile Source #

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

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

data AssociateIAMInstanceProfile Source #

See: associateIAMInstanceProfile smart constructor.

Instances

Eq AssociateIAMInstanceProfile Source # 
Data AssociateIAMInstanceProfile Source # 

Methods

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

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

toConstr :: AssociateIAMInstanceProfile -> Constr #

dataTypeOf :: AssociateIAMInstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateIAMInstanceProfile Source # 
Show AssociateIAMInstanceProfile Source # 
Generic AssociateIAMInstanceProfile Source # 
Hashable AssociateIAMInstanceProfile Source # 
NFData AssociateIAMInstanceProfile Source # 
AWSRequest AssociateIAMInstanceProfile Source # 
ToQuery AssociateIAMInstanceProfile Source # 
ToPath AssociateIAMInstanceProfile Source # 
ToHeaders AssociateIAMInstanceProfile Source # 
type Rep AssociateIAMInstanceProfile Source # 
type Rep AssociateIAMInstanceProfile = D1 (MetaData "AssociateIAMInstanceProfile" "Network.AWS.EC2.AssociateIAMInstanceProfile" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "AssociateIAMInstanceProfile'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aiapIAMInstanceProfile") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 IAMInstanceProfileSpecification)) (S1 (MetaSel (Just Symbol "_aiapInstanceId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))
type Rs AssociateIAMInstanceProfile Source # 

Request Lenses

Destructuring the Response

associateIAMInstanceProfileResponse Source #

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

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

data AssociateIAMInstanceProfileResponse Source #

See: associateIAMInstanceProfileResponse smart constructor.

Instances

Eq AssociateIAMInstanceProfileResponse Source # 
Data AssociateIAMInstanceProfileResponse Source # 

Methods

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

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

toConstr :: AssociateIAMInstanceProfileResponse -> Constr #

dataTypeOf :: AssociateIAMInstanceProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read AssociateIAMInstanceProfileResponse Source # 
Show AssociateIAMInstanceProfileResponse Source # 
Generic AssociateIAMInstanceProfileResponse Source # 
NFData AssociateIAMInstanceProfileResponse Source # 
type Rep AssociateIAMInstanceProfileResponse Source # 
type Rep AssociateIAMInstanceProfileResponse = D1 (MetaData "AssociateIAMInstanceProfileResponse" "Network.AWS.EC2.AssociateIAMInstanceProfile" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" False) (C1 (MetaCons "AssociateIAMInstanceProfileResponse'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_aiaprsIAMInstanceProfileAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IAMInstanceProfileAssociation))) (S1 (MetaSel (Just Symbol "_aiaprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int))))

Response Lenses