Safe Haskell | None |
---|---|
Language | Haskell2010 |
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
Request
data DeleteRolePolicy Source
Eq DeleteRolePolicy | |
Ord DeleteRolePolicy | |
Read DeleteRolePolicy | |
Show DeleteRolePolicy | |
AWSRequest DeleteRolePolicy | |
ToQuery DeleteRolePolicy | |
ToPath DeleteRolePolicy | |
ToHeaders DeleteRolePolicy | |
type Sv DeleteRolePolicy = IAM | |
type Rs DeleteRolePolicy = DeleteRolePolicyResponse |
Request constructor
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.