

 O Amazon Redshift não permitirá mais a criação de UDFs do Python a partir do Patch 198. As UDFs do Python existentes continuarão a funcionar normalmente até 30 de junho de 2026. Para ter mais informações, consulte a [publicação de blog ](https://aws.amazon.com/blogs/big-data/amazon-redshift-python-user-defined-functions-will-reach-end-of-support-after-june-30-2026/). 

# Permissões do sistema para RBAC
<a name="r_roles-system-privileges"></a>

A seguir, uma lista de permissões do sistema que podem ser concedidas ou revogadas de uma função.


| Command | Você precisa ter permissão de uma das seguintes formas para executar o comando | 
| --- | --- | 
| CREATE ROLE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP ROLE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE USER |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP USER |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER USER |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE SCHEMA |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP SCHEMA |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER DEFAULT PRIVILEGES |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ACCESS CATALOG |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ACCESS SYSTEM TABLE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CRIAR TABELA |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DESCARTAR TABELA |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER TABLE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE FUNCTION |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE EXTERNAL FUNCTION |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP FUNCTION |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE PROCEDURE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP PROCEDURE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE OR REPLACE VIEW |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP VIEW |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE MODEL |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP MODEL |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE DATASHARE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ALTER DATASHARE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP DATASHARE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CREATE LIBRARY |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| DROP LIBRARY |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| ANALYZE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| CANCEL |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| TRUNCATE TABLE |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| VACUUM |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| IGNORE RLS |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| EXPLAIN RLS |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 
| EXPLAIN MASKING |  [See the AWS documentation website for more details](http://docs.aws.amazon.com/pt_br/redshift/latest/dg/r_roles-system-privileges.html)  | 