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 InlinePolicies in the Using IAM guide.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_AttachGroupPolicy.html
Request
data AttachGroupPolicy Source
Eq AttachGroupPolicy | |
Ord AttachGroupPolicy | |
Read AttachGroupPolicy | |
Show AttachGroupPolicy | |
AWSRequest AttachGroupPolicy | |
ToQuery AttachGroupPolicy | |
ToPath AttachGroupPolicy | |
ToHeaders AttachGroupPolicy | |
type Sv AttachGroupPolicy = IAM | |
type Rs AttachGroupPolicy = AttachGroupPolicyResponse |
Request constructor
AttachGroupPolicy
constructor.
The fields accessible through corresponding lenses are:
agpGroupName
::
Text
agpPolicyArn
::
Text
Request lenses
agpGroupName :: Lens' AttachGroupPolicy Text Source
The name (friendly name, not ARN) of the group to attach the policy to.