Safe Haskell | None |
---|---|
Language | Haskell2010 |
Adds (or updates) a policy document associated with the specified role. For information about policies, go to Overview of Policies in the Using IAM guide.
For information about limits on the policies you can associate with a role, see Limitations on IAM Entities in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_PutRolePolicy.html
Request
data PutRolePolicy Source
Request constructor
PutRolePolicy
constructor.
The fields accessible through corresponding lenses are:
Request lenses
prpPolicyDocument :: Lens' PutRolePolicy Text Source
The policy document.
prpPolicyName :: Lens' PutRolePolicy Text Source
The name of the policy document.
prpRoleName :: Lens' PutRolePolicy Text Source
The name of the role to associate the policy with.
Response
Response constructor
putRolePolicyResponse :: PutRolePolicyResponse Source
PutRolePolicyResponse
constructor.