SHOW NOTIFICATION INTEGRATIONS¶
列出您账户中的通知集成。
输出包括每个通知集成的元数据和属性。
- 另请参阅:
- CREATE NOTIFICATION INTEGRATION、ALTER NOTIFICATION INTEGRATION、DESCRIBE NOTIFICATION INTEGRATION、DROP INTEGRATION 
语法¶
SHOW NOTIFICATION INTEGRATIONS [ LIKE '<pattern>' ]
参数¶
- 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). | 
有关创建具有指定权限集的自定义角色的说明,请参阅 创建自定义角色。
使用说明¶
- 该命令不需要正在运行的仓库即可执行。 
- 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.
示例¶
显示所有通知集成:
SHOW NOTIFICATION INTEGRATIONS;
+-----------------------------+-----------------------------+--------------+---------+---------+-------------------------------+-----------+
| name                        | type                        | category     | enabled | comment | created_on                    | direction |
|-----------------------------+-----------------------------+--------------+---------+---------+-------------------------------+-----------|
| MY_AZURE_INBOUND_QUEUE_INT  | QUEUE - AZURE_STORAGE_QUEUE | NOTIFICATION | true    | NULL    | 2025-03-08 11:34:55.861 -0800 | INBOUND   |
| MY_GCP_INBOUND_QUEUE_INT    | QUEUE - GCP_PUBSUB          | NOTIFICATION | true    | NULL    | 2025-03-08 11:35:35.163 -0800 | INBOUND   |
| MY_GCP_OUTBOUND_QUEUE_INT   | QUEUE - GCP_PUBSUB          | NOTIFICATION | true    | NULL    | 2025-03-08 11:37:06.487 -0800 | OUTBOUND  |
| MY_AWS_OUTBOUND_QUEUE_INT   | QUEUE - AWS_SNS             | NOTIFICATION | true    | NULL    | 2025-03-08 11:36:13.072 -0800 | OUTBOUND  |
| MY_EMAIL_INT                | EMAIL                       | NOTIFICATION | true    | NULL    | 2025-03-08 11:38:55.866 -0800 | OUTBOUND  |
| MY_AZURE_OUTBOUND_QUEUE_INT | QUEUE - AZURE_EVENT_GRID    | NOTIFICATION | true    | NULL    | 2025-03-08 11:36:40.822 -0800 | OUTBOUND  |
| MY_WEBHOOK_INT              | WEBHOOK                     | NOTIFICATION | true    | NULL    | 2025-03-08 11:40:17.336 -0800 | OUTBOUND  |
+-----------------------------+-----------------------------+--------------+---------+---------+-------------------------------+-----------+