Safe Haskell | None |
---|---|
Language | Haskell2010 |
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.
Because policy documents can be large, you should use POST rather than GET
when calling PutUserPolicy
. For information about setting up signatures and
authorization through the API, go to Signing AWS API Requests in the AWSGeneral Reference. For general information about using the Query API with
IAM, go to Making Query Requests in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_PutUserPolicy.html
Request
data PutUserPolicy Source
Request constructor
PutUserPolicy
constructor.
The fields accessible through corresponding lenses are:
Request lenses
pupPolicyDocument :: Lens' PutUserPolicy Text Source
The policy document.
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
putUserPolicyResponse :: PutUserPolicyResponse Source
PutUserPolicyResponse
constructor.