IAM / Client / delete_role_permissions_boundary
delete_role_permissions_boundary#
- IAM.Client.delete_role_permissions_boundary(**kwargs)#
Deletes the permissions boundary for the specified IAM role.
You cannot set the boundary for a service-linked role.
Warning
Deleting the permissions boundary for a role might increase its permissions. For example, it might allow anyone who assumes the role to perform all the actions granted in its permissions policies.
See also: AWS API Documentation
Request Syntax
response = client.delete_role_permissions_boundary( RoleName='string' )
- Parameters:
RoleName (string) –
[REQUIRED]
The name (friendly name, not ARN) of the IAM role from which you want to remove the permissions boundary.
- Returns:
None
Exceptions
IAM.Client.exceptions.NoSuchEntityException
IAM.Client.exceptions.UnmodifiableEntityException
IAM.Client.exceptions.ServiceFailureException