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 |
Adds the specified IAM role to the specified instance profile.
The caller of this API must be granted the PassRole
permission on the IAM role by a permission policy.
For more information about roles, go to Working with Roles. For more information about instance profiles, go to About Instance Profiles.
- addRoleToInstanceProfile :: Text -> Text -> AddRoleToInstanceProfile
- data AddRoleToInstanceProfile
- artipInstanceProfileName :: Lens' AddRoleToInstanceProfile Text
- artipRoleName :: Lens' AddRoleToInstanceProfile Text
- addRoleToInstanceProfileResponse :: AddRoleToInstanceProfileResponse
- data AddRoleToInstanceProfileResponse
Creating a Request
addRoleToInstanceProfile Source #
Creates a value of AddRoleToInstanceProfile
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AddRoleToInstanceProfile Source #
See: addRoleToInstanceProfile
smart constructor.
Request Lenses
artipInstanceProfileName :: Lens' AddRoleToInstanceProfile 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: =,.'-
artipRoleName :: Lens' AddRoleToInstanceProfile Text Source #
The name of the role to add.
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
addRoleToInstanceProfileResponse :: AddRoleToInstanceProfileResponse Source #
Creates a value of AddRoleToInstanceProfileResponse
with the minimum fields required to make a request.
data AddRoleToInstanceProfileResponse Source #
See: addRoleToInstanceProfileResponse
smart constructor.