Copyright | (c) 2013-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Deletes the specified inline policy that is embedded in the specified IAM 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 IAM User Guide.
Creating a Request
Creates a value of DeleteGroupPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DeleteGroupPolicy Source #
See: deleteGroupPolicy
smart constructor.
Request Lenses
dGroupName :: Lens' DeleteGroupPolicy Text Source #
The name (friendly name, not ARN) identifying the group that the policy is embedded in.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-
dPolicyName :: Lens' DeleteGroupPolicy Text Source #
The name identifying the policy document to delete.
The regex pattern for this parameter is a string of characters consisting of upper and lowercase alphanumeric characters with no spaces. You can also include any of the following characters: =,.'-
Destructuring the Response
deleteGroupPolicyResponse :: DeleteGroupPolicyResponse Source #
Creates a value of DeleteGroupPolicyResponse
with the minimum fields required to make a request.
data DeleteGroupPolicyResponse Source #
See: deleteGroupPolicyResponse
smart constructor.