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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DeleteGroupPolicy

Contents

Description

Deletes the specified inline policy that is embedded in the specified group.

A group can also have managed policies attached to it. To detach a managed policy from a group, use DetachGroupPolicy. For more information about policies, refer to Managed Policies and Inline Policies in the Using IAM guide.

http://docs.aws.amazon.com/IAM/latest/APIReference/API_DeleteGroupPolicy.html

Synopsis

Request

Request constructor

deleteGroupPolicy Source

DeleteGroupPolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

dgp1GroupName :: Lens' DeleteGroupPolicy Text Source

The name (friendly name, not ARN) identifying the group that the policy is embedded in.

dgp1PolicyName :: Lens' DeleteGroupPolicy Text Source

The name identifying the policy document to delete.

Response

Response constructor