amazonka-ec2-1.6.0: 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 #

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 #

See: associateIAMInstanceProfile smart constructor.

Instances
Eq AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Show AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Generic AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Associated Types

type Rep AssociateIAMInstanceProfile :: * -> * #

Hashable AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

AWSRequest AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Associated Types

type Rs AssociateIAMInstanceProfile :: * #

ToHeaders AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

ToPath AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

ToQuery AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

NFData AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

type Rep AssociateIAMInstanceProfile # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

type Rep AssociateIAMInstanceProfile = D1 (MetaData "AssociateIAMInstanceProfile" "Network.AWS.EC2.AssociateIAMInstanceProfile" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" 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 # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Request Lenses

Destructuring the Response

associateIAMInstanceProfileResponse #

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 #

See: associateIAMInstanceProfileResponse smart constructor.

Instances
Eq AssociateIAMInstanceProfileResponse # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Show AssociateIAMInstanceProfileResponse # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Generic AssociateIAMInstanceProfileResponse # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

Associated Types

type Rep AssociateIAMInstanceProfileResponse :: * -> * #

NFData AssociateIAMInstanceProfileResponse # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

type Rep AssociateIAMInstanceProfileResponse # 
Instance details

Defined in Network.AWS.EC2.AssociateIAMInstanceProfile

type Rep AssociateIAMInstanceProfileResponse = D1 (MetaData "AssociateIAMInstanceProfileResponse" "Network.AWS.EC2.AssociateIAMInstanceProfile" "amazonka-ec2-1.6.0-G6ppxISnQxeI7PhDx9p8Zy" 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