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 |
Network.AWS.IAM.AddRoleToInstanceProfile
Description
Adds the specified IAM 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 .
- addRoleToInstanceProfile :: Text -> Text -> AddRoleToInstanceProfile
- data AddRoleToInstanceProfile
- artipInstanceProfileName :: Lens' AddRoleToInstanceProfile Text
- artipRoleName :: Lens' AddRoleToInstanceProfile Text
- addRoleToInstanceProfileResponse :: AddRoleToInstanceProfileResponse
- data AddRoleToInstanceProfileResponse
Creating a Request
Arguments
:: Text | |
-> Text | |
-> AddRoleToInstanceProfile |
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:
artipInstanceProfileName
- 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
- 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: =,.@-
data AddRoleToInstanceProfile #
See: addRoleToInstanceProfile
smart constructor.
Instances
Request Lenses
artipInstanceProfileName :: Lens' AddRoleToInstanceProfile Text #
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 #
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 #
Creates a value of AddRoleToInstanceProfileResponse
with the minimum fields required to make a request.
data AddRoleToInstanceProfileResponse #
See: addRoleToInstanceProfileResponse
smart constructor.