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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.PutUserPolicy

Contents

Description

Adds (or updates) a policy document associated with the specified user. For information about policies, refer to Overview of Policies in the Using IAM guide. For information about limits on the number of policies you can associate with a user, see Limitations on IAM Entities in the Using IAM guide.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_PutUserPolicy.html

Synopsis

Request

Request constructor

putUserPolicy Source

PutUserPolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

pupPolicyName :: Lens' PutUserPolicy Text Source

The name of the policy document.

pupUserName :: Lens' PutUserPolicy Text Source

The name of the user to associate the policy with.

Response

Response constructor