Safe Haskell | None |
---|---|
Language | Haskell2010 |
Attaches the specified managed policy to the specified user.
You use this API to attach a managed policy to a user. To embed an inline
policy in a user, use PutUserPolicy
.
For more information about policies, refer to Managed Policies and InlinePolicies in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_AttachUserPolicy.html
Request
data AttachUserPolicy Source
Request constructor
AttachUserPolicy
constructor.
The fields accessible through corresponding lenses are:
aupPolicyArn
::
Text
aupUserName
::
Text
Request lenses
aupUserName :: Lens' AttachUserPolicy Text Source
The name (friendly name, not ARN) of the user to attach the policy to.