| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.IAM.DeleteUserPolicy
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
- data DeleteUserPolicy
- deleteUserPolicy :: Text -> Text -> DeleteUserPolicy
- dupPolicyName :: Lens' DeleteUserPolicy Text
- dupUserName :: Lens' DeleteUserPolicy Text
- data DeleteUserPolicyResponse
- deleteUserPolicyResponse :: DeleteUserPolicyResponse
Request
data DeleteUserPolicy Source
Instances
| Eq DeleteUserPolicy | |
| Ord DeleteUserPolicy | |
| Read DeleteUserPolicy | |
| Show DeleteUserPolicy | |
| AWSRequest DeleteUserPolicy | |
| ToQuery DeleteUserPolicy | |
| ToPath DeleteUserPolicy | |
| ToHeaders DeleteUserPolicy | |
| type Sv DeleteUserPolicy = IAM | |
| type Rs DeleteUserPolicy = DeleteUserPolicyResponse |
Request constructor
Arguments
| :: Text | |
| -> Text | |
| -> DeleteUserPolicy |
DeleteUserPolicy constructor.
The fields accessible through corresponding lenses are:
dupPolicyName::TextdupUserName::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.