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

Copyright(c) 2013-2015 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.

See: AWS API Reference for DeleteInstanceProfile.

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:

Request Lenses

dipInstanceProfileName :: Lens' DeleteInstanceProfile Text Source

The name of the instance profile to delete.

Destructuring the Response

deleteInstanceProfileResponse :: DeleteInstanceProfileResponse Source

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