Copyright | (c) 2013-2015 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 |
Attaches the specified managed policy to the specified group.
You use this API to attach a managed policy to a group. To embed an inline policy in a group, use PutGroupPolicy.
For more information about policies, refer to Managed Policies and Inline Policies in the IAM User Guide.
See: AWS API Reference for AttachGroupPolicy.
Creating a Request
Creates a value of AttachGroupPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AttachGroupPolicy Source
See: attachGroupPolicy
smart constructor.
Request Lenses
agpGroupName :: Lens' AttachGroupPolicy Text Source
The name (friendly name, not ARN) of the group to attach the policy to.
agpPolicyARN :: Lens' AttachGroupPolicy Text Source
Undocumented member.
Destructuring the Response
attachGroupPolicyResponse :: AttachGroupPolicyResponse Source
Creates a value of AttachGroupPolicyResponse
with the minimum fields required to make a request.
data AttachGroupPolicyResponse Source
See: attachGroupPolicyResponse
smart constructor.