Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
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.
- removeRoleFromInstanceProfile :: Text -> Text -> RemoveRoleFromInstanceProfile
- data RemoveRoleFromInstanceProfile
- rrfipInstanceProfileName :: Lens' RemoveRoleFromInstanceProfile Text
- rrfipRoleName :: Lens' RemoveRoleFromInstanceProfile Text
- removeRoleFromInstanceProfileResponse :: RemoveRoleFromInstanceProfileResponse
- data RemoveRoleFromInstanceProfileResponse
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:
data RemoveRoleFromInstanceProfile Source
See: removeRoleFromInstanceProfile
smart 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.
Destructuring the Response
removeRoleFromInstanceProfileResponse :: RemoveRoleFromInstanceProfileResponse Source
Creates a value of RemoveRoleFromInstanceProfileResponse
with the minimum fields required to make a request.
data RemoveRoleFromInstanceProfileResponse Source
See: removeRoleFromInstanceProfileResponse
smart constructor.