amazonka-iam-0.3.1: Amazon Identity and Access Management SDK.

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.GetGroupPolicy

Contents

Description

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

Synopsis

Request

Request constructor

getGroupPolicy Source

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

Response lenses

ggprGroupName :: Lens' GetGroupPolicyResponse Text Source

The group the policy is associated with.