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.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_AddRoleToInstanceProfile.html
- data AddRoleToInstanceProfile
- addRoleToInstanceProfile :: Text -> Text -> AddRoleToInstanceProfile
- artipInstanceProfileName :: Lens' AddRoleToInstanceProfile Text
- artipRoleName :: Lens' AddRoleToInstanceProfile Text
- data AddRoleToInstanceProfileResponse
- addRoleToInstanceProfileResponse :: AddRoleToInstanceProfileResponse
Request
data AddRoleToInstanceProfile Source
Request constructor
addRoleToInstanceProfile Source
AddRoleToInstanceProfile
constructor.
The fields accessible through corresponding lenses are:
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.