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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DetachUserPolicy

Contents

Description

Removes the specified managed policy from the specified user.

A user can also have inline policies embedded with it. To delete an inline policy, use the DeleteUserPolicy API. For information about policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

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

Synopsis

Request

Request constructor

detachUserPolicy Source

DetachUserPolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

dup1UserName :: Lens' DetachUserPolicy Text Source

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

Response

Response constructor