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 |
Removes the specified managed policy from the specified group.
A group can also have inline policies embedded with it. To delete an inline policy, use the DeleteGroupPolicy API. For information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide.
Creating a Request
Creates a value of DetachGroupPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DetachGroupPolicy Source #
See: detachGroupPolicy
smart constructor.
Request Lenses
dgpGroupName :: Lens' DetachGroupPolicy Text Source #
The name (friendly name, not ARN) of the group to detach the policy from.
dgpPolicyARN :: Lens' DetachGroupPolicy Text Source #
Undocumented member.
Destructuring the Response
detachGroupPolicyResponse :: DetachGroupPolicyResponse Source #
Creates a value of DetachGroupPolicyResponse
with the minimum fields required to make a request.
data DetachGroupPolicyResponse Source #
See: detachGroupPolicyResponse
smart constructor.