| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Network.AWS.IAM.DeleteRolePolicy
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
- data DeleteRolePolicy
- deleteRolePolicy :: Text -> Text -> DeleteRolePolicy
- drp1PolicyName :: Lens' DeleteRolePolicy Text
- drp1RoleName :: Lens' DeleteRolePolicy Text
- data DeleteRolePolicyResponse
- deleteRolePolicyResponse :: DeleteRolePolicyResponse
Request
data DeleteRolePolicy Source
Instances
| 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
Arguments
| :: Text | |
| -> Text | |
| -> DeleteRolePolicy |
DeleteRolePolicy constructor.
The fields accessible through corresponding lenses are:
drp1PolicyName::Textdrp1RoleName::Text
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.