amazonka-iam-1.2.0.1: 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.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.

See: AWS API Reference for RemoveRoleFromInstanceProfile.

Synopsis

Creating a Request

removeRoleFromInstanceProfile Source

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

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

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.

Destructuring the Response