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

Copyright(c) 2013-2015 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
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.

See: AWS API Reference for DeleteGroupPolicy.

Synopsis

Creating a Request

deleteGroupPolicy Source

Creates a value of DeleteGroupPolicy with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

Request Lenses

dGroupName :: Lens' DeleteGroupPolicy Text Source

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

dPolicyName :: Lens' DeleteGroupPolicy Text Source

The name identifying the policy document to delete.

Destructuring the Response

deleteGroupPolicyResponse :: DeleteGroupPolicyResponse Source

Creates a value of DeleteGroupPolicyResponse with the minimum fields required to make a request.