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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.GetGroupPolicy

Contents

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

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.