SHOW INTEGRATIONS¶
列出您账户中的集成。
输出返回集成元数据和属性。
- API 集成:
- 目录集成:
- 外部访问集成:
- 通知集成:
- 安全集成:
- 存储集成:
语法¶
SHOW [ { API | CATALOG | EXTERNAL ACCESS | NOTIFICATION | SECURITY | STORAGE } ] INTEGRATIONS [ LIKE '<pattern>' ]
参数¶
{ API | CATALOG | EXTERNAL ACCESS | NOTIFICATION | SECURITY | STORAGE }仅返回指定类型的集成。
有关其中部分类型的详细信息,请参阅以下主题:
LIKE 'pattern'(可选)按对象名称筛选命令输出。筛选器使用 不区分大小写 的模式匹配,并支持 SQL 通配符(
%和_)。例如,以下模式返回 相同的 结果:
... LIKE '%testing%' ...... LIKE '%TESTING%' .... 默认:无值(不对输出应用筛选)。
访问控制要求¶
用于执行此 SQL 命令的 角色 必须至少具有以下 一项 权限:
权限 |
对象 |
备注 |
|---|---|---|
USAGE |
集成 |
|
OWNERSHIP |
集成 |
OWNERSHIP is a special privilege on an object that is automatically granted to the role that created the object, but can also be transferred using the GRANT OWNERSHIP command to a different role by the owning role (or any role with the MANAGE GRANTS privilege). |
有关创建具有指定权限集的自定义角色的说明,请参阅 创建自定义角色。
使用说明¶
目前,仅支持
API | CATALOG | EXTERNAL ACCESS | NOTIFICATION | SECURITY | STORAGE参数。
该命令不需要正在运行的仓库即可执行。
该命令仅返回当前用户的当前角色已获授至少一项访问权限的对象。
MANAGE GRANTS 访问权限隐式允许其持有者查看账户中的每个对象。默认情况下,只有账户管理员(具有 ACCOUNTADMIN 角色的用户)和安全管理员(具有 SECURITYADMIN 角色的用户)才具有 MANAGE GRANTS 权限。
To post-process the output of this command, you can use the pipe operator (
->>) or the RESULT_SCAN function. Both constructs treat the output as a result set that you can query.The output column names for this command are generated in lowercase. If you consume a result set from this command with the pipe operator or the RESULT_SCAN function, use double-quoted identifiers for the column names in the query to ensure that they match the column names in the output that was scanned. For example, if the name of an output column is
type, then specify"type"for the identifier.
输出¶
命令输出在以下列中提供集成属性和元数据:
列 |
描述 |
|---|---|
|
集成的名称 |
|
集成的类型 |
|
集成的类别 |
|
集成的当前状态,可能是 TRUE(已启用)或 FALSE(已禁用) |
|
关于集成的注释 |
|
集成的创建日期和时间 |
有关可为集成指定的属性的更多信息,请参阅以下集成相关主题(按类型划分):
示例¶
显示所有通知集成:
SHOW NOTIFICATION INTEGRATIONS;
显示名称以 line 开头且您有权限查看的所有集成:
SHOW INTEGRATIONS LIKE 'line%';