| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.IAM.AttachUserPolicy
Description
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
Arguments
| :: Text | |
| -> Text | |
| -> AttachUserPolicy |
AttachUserPolicy constructor.
The fields accessible through corresponding lenses are:
aupPolicyArn::TextaupUserName::Text
Request lenses
aupUserName :: Lens' AttachUserPolicy Text Source
The name (friendly name, not ARN) of the user to attach the policy to.