SHOW CONNECTIONS
Use the SHOW CONNECTIONS
command to see connections that have been created.
Syntax
SHOW CONNECTIONS [ LIKE_expression ];
Parameters
Parameter or clause | Description |
---|---|
LIKE_expression | Filters the output based on names by applying pattern matching. See details in LIKE pattern matching expressions. |
Example
Here is an example of what you might see. Any sources or sinks that reference the connection will also be listed.
SHOW CONNECTIONS;
Name | Type | Properties
-----------------+-------------+----------------
connection_name | privatelink | provider: aws
| | service_name: com.amazonaws.xyz.us-east-1.abc-xyz-0000
| | endpoint_id: xyz-0000
| | availability_zones: ["use1-az6", "use1-az4"]
| | sources: ["tcp_metrics"]
| | sinks: ["sink1"]