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

Safe HaskellNone
LanguageHaskell2010

Network.AWS.IAM.DeleteRolePolicy

Contents

Description

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

A role can also have managed policies attached to it. To detach a managed policy from a role, use DetachRolePolicy. 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_DeleteRolePolicy.html

Synopsis

Request

Request constructor

deleteRolePolicy Source

DeleteRolePolicy constructor.

The fields accessible through corresponding lenses are:

Request lenses

drp1PolicyName :: Lens' DeleteRolePolicy Text Source

The name identifying the policy document to delete.

drp1RoleName :: Lens' DeleteRolePolicy Text Source

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

Response

Response constructor