Copyright | (c) 2013-2016 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 IAM role from the specified EC2 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 break any applications running on the instance.
For more information about IAM roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.
- 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.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-
rrfipRoleName :: Lens' RemoveRoleFromInstanceProfile Text Source #
The name of the role to remove.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-
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.