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

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Data DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Show DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Generic DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Associated Types

type Rep DisassociateIAMInstanceProfile :: Type -> Type #

Hashable DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

AWSRequest DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Associated Types

type Rs DisassociateIAMInstanceProfile :: Type #

ToHeaders DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

ToPath DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

ToQuery DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

NFData DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

type Rep DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

type Rep DisassociateIAMInstanceProfile = D1 (MetaData "DisassociateIAMInstanceProfile" "Network.AWS.EC2.DisassociateIAMInstanceProfile" "amazonka-ec2-1.6.1-GgG1M0FWcBrE5I5IM2QktE" True) (C1 (MetaCons "DisassociateIAMInstanceProfile'" PrefixI True) (S1 (MetaSel (Just "_diapAssociationId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DisassociateIAMInstanceProfile Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Data DisassociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

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

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Show DisassociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

Generic DisassociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

NFData DisassociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

type Rep DisassociateIAMInstanceProfileResponse Source # 
Instance details

Defined in Network.AWS.EC2.DisassociateIAMInstanceProfile

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

Response Lenses