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

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Data AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Show AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Generic AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Associated Types

type Rep AssociateIAMInstanceProfile :: Type -> Type #

Hashable AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

AWSRequest AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Associated Types

type Rs AssociateIAMInstanceProfile :: Type #

ToHeaders AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

ToPath AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

ToQuery AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

NFData AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

type Rep AssociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Data AssociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Show AssociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Generic AssociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

NFData AssociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

type Rep AssociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

type Rep AssociateIAMInstanceProfileResponse = D1 (MetaData "AssociateIAMInstanceProfileResponse" "Network.AWS.EC2.AssociateIAMInstanceProfile" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" False) (C1 (MetaCons "AssociateIAMInstanceProfileResponse'" PrefixI True) (S1 (MetaSel (Just "_aiaprsIAMInstanceProfileAssociation") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe IAMInstanceProfileAssociation)) :*: S1 (MetaSel (Just "_aiaprsResponseStatus") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Int)))

Response Lenses