Safe Haskell | None |
---|---|
Language | Haskell2010 |
Retrieves the specified inline policy document that is embedded in the specified group.
A group can also have managed policies attached to it. To retrieve a managed
policy document that is attached to a group, use GetPolicy
to determine the
policy's default version, then use GetPolicyVersion
to retrieve the policy
document.
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_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
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
:: Text | |
-> Text | |
-> GetGroupPolicy |
GetGroupPolicy
constructor.
The fields accessible through corresponding lenses are:
ggpGroupName
::
Text
ggpPolicyName
::
Text
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
:: Text | |
-> Text | |
-> Text | |
-> GetGroupPolicyResponse |
GetGroupPolicyResponse
constructor.
The fields accessible through corresponding lenses are:
ggprGroupName
::
Text
ggprPolicyDocument
::
Text
ggprPolicyName
::
Text
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.