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 |
Adds the specified role to the specified instance profile. 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 AddRoleToInstanceProfile.
- 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.
artipRoleName :: Lens' AddRoleToInstanceProfile Text Source
The name of the role to add.
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.