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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DeleteUserPolicy

Contents

Description

Deletes the specified inline policy that is embedded in the specified user.

A user can also have managed policies attached to it. To detach a managed policy from a user, use DetachUserPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

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

Synopsis

Request

Request constructor

deleteUserPolicy Source

DeleteUserPolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

dupPolicyName :: Lens' DeleteUserPolicy Text Source

The name identifying the policy document to delete.

dupUserName :: Lens' DeleteUserPolicy Text Source

The name (friendly name, not ARN) identifying the user that the policy is embedded in.

Response

Response constructor