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.DisassociateIAMInstanceProfile

Contents

Description

Disassociates an IAM instance profile from a running or stopped instance.

Use DescribeIamInstanceProfileAssociations to get the association ID.

Synopsis

Creating a Request

disassociateIAMInstanceProfile Source #

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

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

data DisassociateIAMInstanceProfile Source #

See: disassociateIAMInstanceProfile smart constructor.

Instances

Eq DisassociateIAMInstanceProfile Source # 
Data DisassociateIAMInstanceProfile Source # 

Methods

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

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

toConstr :: DisassociateIAMInstanceProfile -> Constr #

dataTypeOf :: DisassociateIAMInstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DisassociateIAMInstanceProfile Source # 
Show DisassociateIAMInstanceProfile Source # 
Generic DisassociateIAMInstanceProfile Source # 
Hashable DisassociateIAMInstanceProfile Source # 
NFData DisassociateIAMInstanceProfile Source # 
AWSRequest DisassociateIAMInstanceProfile Source # 
ToQuery DisassociateIAMInstanceProfile Source # 
ToPath DisassociateIAMInstanceProfile Source # 
ToHeaders DisassociateIAMInstanceProfile Source # 
type Rep DisassociateIAMInstanceProfile Source # 
type Rep DisassociateIAMInstanceProfile = D1 (MetaData "DisassociateIAMInstanceProfile" "Network.AWS.EC2.DisassociateIAMInstanceProfile" "amazonka-ec2-1.5.0-8IdXK3SzsETDMW2aFpANS9" True) (C1 (MetaCons "DisassociateIAMInstanceProfile'" PrefixI True) (S1 (MetaSel (Just Symbol "_diapAssociationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisassociateIAMInstanceProfile Source # 

Request Lenses

diapAssociationId :: Lens' DisassociateIAMInstanceProfile Text Source #

The ID of the IAM instance profile association.

Destructuring the Response

disassociateIAMInstanceProfileResponse Source #

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

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

data DisassociateIAMInstanceProfileResponse Source #

Instances

Eq DisassociateIAMInstanceProfileResponse Source # 
Data DisassociateIAMInstanceProfileResponse Source # 

Methods

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

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

toConstr :: DisassociateIAMInstanceProfileResponse -> Constr #

dataTypeOf :: DisassociateIAMInstanceProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

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

Response Lenses