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

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.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteInstanceProfile.html

Synopsis

Request

Request constructor

deleteInstanceProfile Source

DeleteInstanceProfile constructor.

The fields accessible through corresponding lenses are:

Request lenses

dipInstanceProfileName :: Lens' DeleteInstanceProfile Text Source

The name of the instance profile to delete.

Response

Response constructor