| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.IAM.DeleteGroupPolicy
Description
Deletes the specified inline policy that is embedded in the specified group.
A group can also have managed policies attached to it. To detach a managed
policy from a group, use DetachGroupPolicy. 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_DeleteGroupPolicy.html
- data DeleteGroupPolicy
- deleteGroupPolicy :: Text -> Text -> DeleteGroupPolicy
- dgp1GroupName :: Lens' DeleteGroupPolicy Text
- dgp1PolicyName :: Lens' DeleteGroupPolicy Text
- data DeleteGroupPolicyResponse
- deleteGroupPolicyResponse :: DeleteGroupPolicyResponse
Request
data DeleteGroupPolicy Source
Instances
| Eq DeleteGroupPolicy | |
| Ord DeleteGroupPolicy | |
| Read DeleteGroupPolicy | |
| Show DeleteGroupPolicy | |
| AWSRequest DeleteGroupPolicy | |
| ToQuery DeleteGroupPolicy | |
| ToPath DeleteGroupPolicy | |
| ToHeaders DeleteGroupPolicy | |
| type Sv DeleteGroupPolicy = IAM | |
| type Rs DeleteGroupPolicy = DeleteGroupPolicyResponse |
Request constructor
Arguments
| :: Text | |
| -> Text | |
| -> DeleteGroupPolicy |
DeleteGroupPolicy constructor.
The fields accessible through corresponding lenses are:
dgp1GroupName::Textdgp1PolicyName::Text
Request lenses
dgp1GroupName :: Lens' DeleteGroupPolicy Text Source
The name (friendly name, not ARN) identifying the group that the policy is embedded in.
dgp1PolicyName :: Lens' DeleteGroupPolicy Text Source
The name identifying the policy document to delete.