| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.IAM.GetGroupPolicy
Description
Retrieves the specified policy document for the specified group. The returned policy is URL-encoded according to RFC 3986. For more information about RFC 3986, go to http://www.faqs.org/rfcs/rfc3986.html.
http://docs.aws.amazon.com/IAM/latest/APIReference/API_GetGroupPolicy.html
- data GetGroupPolicy
- getGroupPolicy :: Text -> Text -> GetGroupPolicy
- ggpGroupName :: Lens' GetGroupPolicy Text
- ggpPolicyName :: Lens' GetGroupPolicy Text
- data GetGroupPolicyResponse
- getGroupPolicyResponse :: Text -> Text -> Text -> GetGroupPolicyResponse
- ggprGroupName :: Lens' GetGroupPolicyResponse Text
- ggprPolicyDocument :: Lens' GetGroupPolicyResponse Text
- ggprPolicyName :: Lens' GetGroupPolicyResponse Text
Request
data GetGroupPolicy Source
Instances
| Eq GetGroupPolicy | |
| Ord GetGroupPolicy | |
| Read GetGroupPolicy | |
| Show GetGroupPolicy | |
| AWSRequest GetGroupPolicy | |
| ToQuery GetGroupPolicy | |
| ToPath GetGroupPolicy | |
| ToHeaders GetGroupPolicy | |
| type Sv GetGroupPolicy = IAM | |
| type Rs GetGroupPolicy = GetGroupPolicyResponse |
Request constructor
Arguments
| :: Text | |
| -> Text | |
| -> GetGroupPolicy |
GetGroupPolicy constructor.
The fields accessible through corresponding lenses are:
Request lenses
ggpGroupName :: Lens' GetGroupPolicy Text Source
The name of the group the policy is associated with.
ggpPolicyName :: Lens' GetGroupPolicy Text Source
The name of the policy document to get.
Response
Response constructor
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> GetGroupPolicyResponse |
GetGroupPolicyResponse constructor.
The fields accessible through corresponding lenses are:
Response lenses
ggprGroupName :: Lens' GetGroupPolicyResponse Text Source
The group the policy is associated with.
ggprPolicyDocument :: Lens' GetGroupPolicyResponse Text Source
The policy document.
ggprPolicyName :: Lens' GetGroupPolicyResponse Text Source
The name of the policy.