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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.RemoveRoleFromInstanceProfile

Contents

Description

Removes the specified role from the specified instance profile.

Make sure you do not have any Amazon EC2 instances running with the role you are about to remove from the instance profile. Removing a role from an instance profile that is associated with a running instance will break any applications running on the instance. For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.

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

Synopsis

Request

Request constructor

Request lenses

rrfipInstanceProfileName :: Lens' RemoveRoleFromInstanceProfile Text Source

The name of the instance profile to update.

rrfipRoleName :: Lens' RemoveRoleFromInstanceProfile Text Source

The name of the role to remove.

Response

Response constructor