delete_role_custom_permission
¶
delete_role_custom_permission(
role: Role,
aws_account_id: AwsAccountId,
namespace: Namespace,
*,
config_overrides: Optional[QuickSightClientConfig] = None,
) -> DeleteRoleCustomPermissionResponse
Removes custom permissions from the role.
Parameters:
-
role(Role) –The role that you want to remove permissions from.
-
aws_account_id(AwsAccountId) –The ID for the Amazon Web Services account that the group is in. Currently, you use the ID for the Amazon Web Services account that contains your Amazon Quick Sight account.
-
namespace(Namespace) –The namespace that includes the role.
Raises:
-
AccessDeniedException–You don't have access to this item. The provided credentials couldn't be validated. You might not be authorized to carry out the request. Make sure that your account is authorized to use the Amazon Quick Sight service, that your policies have the correct permissions, and that you are using the correct credentials.
-
InternalFailureException–An internal failure occurred.
-
InvalidParameterValueException–One or more parameters has a value that isn't valid.
-
PreconditionNotMetException–One or more preconditions aren't met.
-
ResourceNotFoundException–One or more resources can't be found.
-
ResourceUnavailableException–This resource is currently unavailable.
-
ThrottlingException–Access is throttled.
-
UnknownServiceError–The service returned an error code this client does not model.