amazonka-iam-1.4.4: Amazon Identity and Access Management SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DeleteInstanceProfile

Contents

Description

Deletes the specified instance profile. The instance profile must not have an associated role.

Make sure you do not have any Amazon EC2 instances running with the instance profile you are about to delete. Deleting a role or instance profile that is associated with a running instance will break any applications running on the instance.

For more information about instance profiles, go to About Instance Profiles.

Synopsis

Creating a Request

deleteInstanceProfile Source #

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

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

data DeleteInstanceProfile Source #

See: deleteInstanceProfile smart constructor.

Instances

Eq DeleteInstanceProfile Source # 
Data DeleteInstanceProfile Source # 

Methods

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

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

toConstr :: DeleteInstanceProfile -> Constr #

dataTypeOf :: DeleteInstanceProfile -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteInstanceProfile Source # 
Show DeleteInstanceProfile Source # 
Generic DeleteInstanceProfile Source # 
Hashable DeleteInstanceProfile Source # 
NFData DeleteInstanceProfile Source # 

Methods

rnf :: DeleteInstanceProfile -> () #

AWSRequest DeleteInstanceProfile Source # 
ToPath DeleteInstanceProfile Source # 
ToHeaders DeleteInstanceProfile Source # 
ToQuery DeleteInstanceProfile Source # 
type Rep DeleteInstanceProfile Source # 
type Rep DeleteInstanceProfile = D1 (MetaData "DeleteInstanceProfile" "Network.AWS.IAM.DeleteInstanceProfile" "amazonka-iam-1.4.4-BicPZt3TaHh2CoAkQqkWBu" True) (C1 (MetaCons "DeleteInstanceProfile'" PrefixI True) (S1 (MetaSel (Just Symbol "_dipInstanceProfileName") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text)))
type Rs DeleteInstanceProfile Source # 

Request Lenses

dipInstanceProfileName :: Lens' DeleteInstanceProfile Text Source #

The name of the instance profile to delete.

The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-

Destructuring the Response

deleteInstanceProfileResponse :: DeleteInstanceProfileResponse Source #

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

data DeleteInstanceProfileResponse Source #

See: deleteInstanceProfileResponse smart constructor.

Instances

Eq DeleteInstanceProfileResponse Source # 
Data DeleteInstanceProfileResponse Source # 

Methods

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

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

toConstr :: DeleteInstanceProfileResponse -> Constr #

dataTypeOf :: DeleteInstanceProfileResponse -> DataType #

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

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

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

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

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

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

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

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

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

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

Read DeleteInstanceProfileResponse Source # 
Show DeleteInstanceProfileResponse Source # 
Generic DeleteInstanceProfileResponse Source # 
NFData DeleteInstanceProfileResponse Source # 
type Rep DeleteInstanceProfileResponse Source # 
type Rep DeleteInstanceProfileResponse = D1 (MetaData "DeleteInstanceProfileResponse" "Network.AWS.IAM.DeleteInstanceProfile" "amazonka-iam-1.4.4-BicPZt3TaHh2CoAkQqkWBu" False) (C1 (MetaCons "DeleteInstanceProfileResponse'" PrefixI False) U1)