amazonka-iam-0.3.3: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.AttachUserPolicy

Contents

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

Synopsis

Request

Request constructor

attachUserPolicy Source

AttachUserPolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

aupUserName :: Lens' AttachUserPolicy Text Source

The name (friendly name, not ARN) of the user to attach the policy to.

Response

Response constructor