Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Request
data DeleteUserPolicy Source
Request constructor
DeleteUserPolicy
constructor.
The fields accessible through corresponding lenses are:
dupPolicyName
::
Text
dupUserName
::
Text
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.