diff --git a/docs/snowflake-docs/providers/snowflake/account/accounts/index.md b/docs/snowflake-docs/providers/snowflake/account/accounts/index.md
index 3479f2b13..7f4ae5385 100644
--- a/docs/snowflake-docs/providers/snowflake/account/accounts/index.md
+++ b/docs/snowflake-docs/providers/snowflake/account/accounts/index.md
@@ -1,4 +1,4 @@
----
+---
title: accounts
hide_title: false
hide_table_of_contents: false
@@ -18,7 +18,7 @@ import CopyableCode from '@site/src/components/CopyableCode/CopyableCode';
import Tabs from '@theme/Tabs';
import TabItem from '@theme/TabItem';
-Creates, updates, deletes, gets or lists a accounts
resource.
+Creates, updates, deletes, gets or lists an accounts
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Name of the account administrator. | +|
string |
+ Name of the consumption billing entity. | +|
string |
+ First name of the account administrator. | +|
string |
+ Last name of the account administrator. | +|
string |
+ Name of the marketplace consumer billing entity. | +|
string |
+ Name of the marketplace provider billing entity. | +|
string |
+ Name of the organization. | +|
string |
+ System-assigned identifier of the acccount. | +|
string |
+ Legacy Snowflake account URL syntax that includes the region_name and account_locator. | +|
string (date-time) |
+ If the original account URL was saved when the account was renamed, indicates the last time the account was accessed using the original URL. | +|
string (date-time) |
+ If the original account URL was saved when the account was renamed, provides the date and time when the original account URL was saved. | +|
string |
+ Preferred Snowflake account URL that includes the values of organization_name and account_name. | +|
string (password) |
+ Password for the account administrator. | +|
string (password) |
+ RSA public key for the account administrator. | +|
string |
+ User type of the account administrator. | +|
string |
+ Optional comment in which to store information related to the account. | +|
string (date-time) |
+ Date and time the account was created. | +|
string (date-time) |
+ Date and time the account was dropped. | +|
string |
+ Snowflake Edition of the account. | +|
string |
+ Email address of the account administrator. | +|
boolean |
+ Indicates whether an account is an events account. For more information, see Set up logging and event sharing for an application. | +|
boolean |
+ Indicates whether the ORGADMIN role is enabled in an account. If TRUE, the role is enabled. | +|
integer (int64) |
+ Indicates how many managed accounts have been created by the account. | +|
string (date-time) |
+ Date and time when the account was moved to a different organization. | +|
string |
+ If the account was moved to a different organization, provides the name of that organization. | +|
boolean |
+ Indicates whether the account administrator must change the password at the next login. | +|
string |
+ If the original account URL was saved when the account was renamed, provides the original URL. If the original account URL was dropped, the value is NULL even if the account was renamed | +|
string (date-time) |
+ If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the date and time when the original account URL will be dropped. Dropped URLs cannot be used to access the account. | +|
string |
+ If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the original account URL. If the original account URL was dropped, the value is NULL even if the organization changed. | +|
string (date-time) |
+ If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, indicates the last time the account was accessed using the original account URL. | +|
string (date-time) |
+ If the account’s organization was changed in a way that created a new account URL and the original account URL was saved, provides the date and time when the original account URL was saved. | +|
boolean |
+ Indicates whether the account is a Polaris account. | +|
string |
+ Snowflake Region where the account is located. A Snowflake Region is a distinct location within a cloud platform region that is isolated from other Snowflake Regions. A Snowflake Region can be either multi-tenant or single-tenant (for a Virtual Private Snowflake account). | +|
string |
+ Region group where the account is located. Note - This column is only displayed for organizations that span multiple region groups. | +|
string (date-time) |
+ Date and time when the account was last restored. | +|
integer |
+ Number of days that historical data is retained for Time Travel. | +|
string (date-time) |
+ Date and time when the account is scheduled to be permanently deleted. Accounts are deleted within one hour after the scheduled time. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like, showLimit, history | +Lists the accessible accounts. | +||
endpoint | ++ | Creates a account. You must provide the full account definition when creating a account. | +||
name, gracePeriodInDays, endpoint | +ifExists | +Deletes the specified account. If you enable the `ifExists` parameter, the operation succeeds even if the account does not exist. Otherwise, a 404 failure is returned if the account does not exist. if the drop is unsuccessful. | +||
name, endpoint | ++ | Restores a dropped account that has not yet been permanently deleted (a dropped account that is within its grace period). | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
integer |
+ Specifies the number of days during which the account can be restored (“undropped”). The minimum is 3 days and the maximum is 90 days. | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Optionally includes dropped accounts that have not yet been purged. | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
alerts
resource.
+Creates, updates, deletes, gets or lists an alerts
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the alert | +|
string |
+ Database in which the alert is stored | +|
string |
+ Schema in which the alert is stored | +|
string |
+ The SQL statement to execute when the alert is triggered | +|
string |
+ user comment associated to an object in the dictionary | +|
string |
+ The SQL statement that must be evaluated to determine whether to trigger the alert | +|
string (date-time) |
+ Date and time when the alert was created. | +|
string |
+ Role that owns the alert | +|
string |
+ The type of role that owns the alert | +|
object |
+ + | |
string |
+ The current state of the alert | +|
string |
+ The warehouse the alert runs in | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the alert | +|
string |
+ Database in which the alert is stored | +|
string |
+ Schema in which the alert is stored | +|
string |
+ The SQL statement to execute when the alert is triggered | +|
string |
+ user comment associated to an object in the dictionary | +|
string |
+ The SQL statement that must be evaluated to determine whether to trigger the alert | +|
string (date-time) |
+ Date and time when the alert was created. | +|
string |
+ Role that owns the alert | +|
string |
+ The type of role that owns the alert | +|
object |
+ + | |
string |
+ The current state of the alert | +|
string |
+ The warehouse the alert runs in | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName | +List alerts | +||
database_name, schema_name, name, endpoint | ++ | Fetch an alert | +||
database_name, schema_name, endpoint | +createMode | +Create an alert | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete an alert | +||
database_name, schema_name, name, targetDatabase, targetSchema, endpoint | +createMode | +Create a new alert by cloning from the specified resource | +||
database_name, schema_name, name, endpoint | ++ | Execute an alert | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Database of the newly created resource. Defaults to the source's database | +|
string |
+ Schema of the newly created resource. Defaults to the source's schema | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
alerts
resource.
values={[
{ label: 'list_alerts', value: 'list_alerts' },
{ label: 'fetch_alert', value: 'fetch_alert' }
- ]
-}>
+ ]}
+>
api_integrations
resource.
+Creates, updates, deletes, gets or lists an api_integrations
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the API integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ A comma-separated list of endpoints and resources that Snowflake can access. | +|
array |
+ A comma-separated list of endpoints and resources that are not allowed to be called from Snowflake. | +|
object |
+ + | |
string |
+ Comment for the API integration. | +|
string (date-time) |
+ Date and time when the API integration was created. | +|
boolean |
+ Whether the API integration is enabled. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the API integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ A comma-separated list of endpoints and resources that Snowflake can access. | +|
array |
+ A comma-separated list of endpoints and resources that are not allowed to be called from Snowflake. | +|
object |
+ + | |
string |
+ Comment for the API integration. | +|
string (date-time) |
+ Date and time when the API integration was created. | +|
boolean |
+ Whether the API integration is enabled. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like | +List API integrations | +||
name, endpoint | ++ | Fetch an API integration | +||
endpoint | +createMode | +Create an API integration | +||
name, endpoint | ++ | Create an (or alter an existing) API integration. Note that API_KEY is not currently altered by this operation and is supported for a newly-created object only. Unsetting API_BLOCKED_PREFIXES is also unsupported. | +||
name, endpoint | +ifExists | +Delete an API integration | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
api_integrations
resourc
values={[
{ label: 'list_api_integrations', value: 'list_api_integrations' },
{ label: 'fetch_api_integration', value: 'fetch_api_integration' }
- ]
-}>
+ ]}
+>
catalog_integrations
res
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the catalog integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
object |
+ + | |
string |
+ Category of the integration. Always CATALOG. | +|
string |
+ Comment. | +|
string (date-time) |
+ Date and time when the catalog integration was created. | +|
boolean |
+ whether this catalog integration is available to use for Iceberg tables. | +|
string |
+ Table format of the catalog. | +|
string |
+ Type of the integration. Always CATALOG. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the catalog integration. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
object |
+ + | |
string |
+ Category of the integration. Always CATALOG. | +|
string |
+ Comment. | +|
string (date-time) |
+ Date and time when the catalog integration was created. | +|
boolean |
+ whether this catalog integration is available to use for Iceberg tables. | +|
string |
+ Table format of the catalog. | +|
string |
+ Type of the integration. Always CATALOG. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like | +List catalog integrations. | +||
name, endpoint | ++ | Fetch a catalog integration. | +||
endpoint | +createMode | +Create a catalog integration. | +||
name, endpoint | +ifExists | +Delete a catalog integration. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
catalog_integrations
res
values={[
{ label: 'list_catalog_integrations', value: 'list_catalog_integrations' },
{ label: 'fetch_catalog_integration', value: 'fetch_catalog_integration' }
- ]
-}>
+ ]}
+>
compute_pools
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
integer |
+ Number of currently active nodes on the compute pool. | +|
string |
+ Name of the Snowflake Native App if the compute pool is created exclusively for the app. | +|
boolean |
+ Whether Snowflake automatically resumes the compute pool when any statement that requires the compute pool is submitted. | +|
integer (int64) |
+ Number of seconds until the compute pool automatically suspends. | +|
string |
+ The name of the budget monitoring the credit usage of the compute pool. | +|
string |
+ Comment describing the compute pool. | +|
string (date-time) |
+ Time the compute pool was created. | +|
string |
+ Current error the compute pool hit if any. | +|
integer |
+ Number of currently idle nodes on the compute pool. | +|
string |
+ Instance family for the compute pool. | +|
boolean |
+ Whether a compute pool is created exclusively for a Snowflake Native App. | +|
integer |
+ Maximum number of nodes for the compute pool. | +|
integer |
+ Minimum number of nodes for the compute pool. | +|
integer |
+ Number of jobs on the compute pool. | +|
integer |
+ Number of services on the compute pool. | +|
string |
+ Identifier for the current owner of the compute pool. | +|
string (date-time) |
+ Time the compute pool was last resumed. | +|
string |
+ Current state of the compute pool. Possible values include UNKNOWN, STARTING, IDLE, ACTIVE, STOPPING, SUSPENDED, and RESIZING. | +|
string |
+ Current status of the compute pool if any. | +|
integer |
+ Number of target nodes on the compute pool. | +|
string (date-time) |
+ Time the compute pool was last updated. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
integer |
+ Number of currently active nodes on the compute pool. | +|
string |
+ Name of the Snowflake Native App if the compute pool is created exclusively for the app. | +|
boolean |
+ Whether Snowflake automatically resumes the compute pool when any statement that requires the compute pool is submitted. | +|
integer (int64) |
+ Number of seconds until the compute pool automatically suspends. | +|
string |
+ The name of the budget monitoring the credit usage of the compute pool. | +|
string |
+ Comment describing the compute pool. | +|
string (date-time) |
+ Time the compute pool was created. | +|
string |
+ Current error the compute pool hit if any. | +|
integer |
+ Number of currently idle nodes on the compute pool. | +|
string |
+ Instance family for the compute pool. | +|
boolean |
+ Whether a compute pool is created exclusively for a Snowflake Native App. | +|
integer |
+ Maximum number of nodes for the compute pool. | +|
integer |
+ Minimum number of nodes for the compute pool. | +|
integer |
+ Number of jobs on the compute pool. | +|
integer |
+ Number of services on the compute pool. | +|
string |
+ Identifier for the current owner of the compute pool. | +|
string (date-time) |
+ Time the compute pool was last resumed. | +|
string |
+ Current state of the compute pool. Possible values include UNKNOWN, STARTING, IDLE, ACTIVE, STOPPING, SUSPENDED, and RESIZING. | +|
string |
+ Current status of the compute pool if any. | +|
integer |
+ Number of target nodes on the compute pool. | +|
string (date-time) |
+ Time the compute pool was last updated. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like, startsWith, showLimit | +Lists the compute pools under the account. | +||
name, endpoint | ++ | Fetches a named compute pool. You can get the name of the compute pool from the `/api/v2/compute-pools` GET request. | +||
endpoint | +createMode, initiallySuspended | +Creates a compute pool, with standard create modifiers as query parameters. See the Compute Pool component definition for what is required to be provided in the request body. | +||
name, endpoint | ++ | Create a (or alter an existing) compute pool. Even if the operation is just an alter, the full property set must be provided. | +||
name, endpoint | +ifExists | +Deletes a compute pool with the given name. If you enable the `ifExists` parameter, the operation succeeds even if the object does not exist. Otherwise, a 404 failure is returned if the object does not exist. | +||
name, endpoint | ++ | Resume a compute pool, if suspended. If the specified compute pool is already running, no action is taken. | +||
name, endpoint | ++ | Suspend a compute pool, if active. If the specified compute pool is already suspended, no action is taken. | +||
name, endpoint | ++ | Stops all services in the compute pool. Deprecated - use :stop-all-services instead. | +||
name, endpoint | ++ | Stops all services in the compute pool. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
boolean |
+ Specifies whether the compute pool is created initially in the suspended state. | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
compute_pools
resource.
values={[
{ label: 'list_compute_pools', value: 'list_compute_pools' },
{ label: 'fetch_compute_pool', value: 'fetch_compute_pool' }
- ]
-}>
+ ]}
+>
databases
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Budget that defines a monthly spending limit on the compute costs for a Snowflake account or a custom group of Snowflake objects. | +|
string |
+ Optional comment in which to store information related to the database. | +|
string (date-time) |
+ Date and time the database was created. | +|
integer |
+ Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. | +|
string |
+ Default collation specification for all schemas and tables added to the database. You an override the default at the schema and individual table levels. | +|
string (date-time) |
+ Date and time the database was dropped. | +|
boolean |
+ Current database for the session. | +|
boolean |
+ Whether the database is the default database for a user. | +|
string |
+ Database type, permanent (default) or transient. (default: PERMANENT) | +|
string |
+ Severity level of messages that should be ingested and made available in the active event table. Currently, Snowflake supports only `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL` and `OFF`. | +|
integer |
+ Maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. | +|
string |
+ + | |
string |
+ + | |
string |
+ Name of the role that owns the database. | +|
string |
+ Type of role that owns the object, either ROLE or DATABASE_ROLE | +|
integer |
+ Number of days that historical data is retained for Time Travel. | +|
string |
+ Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
string |
+ Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
integer |
+ Maximum number of consecutive failed task runs before the current task is suspended automatically. | +|
string |
+ How trace events are ingested into the event table. Currently, Snowflake supports only `ALWAYS`, `ON_EVENT`, and `OFF`. | +|
string |
+ Size of the compute resources to provision for the first run of the serverless task, before a task history is available for Snowflake to determine an ideal size. | +|
integer |
+ Time limit, in milliseconds, for a single run of the task before it times out. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Budget that defines a monthly spending limit on the compute costs for a Snowflake account or a custom group of Snowflake objects. | +|
string |
+ Optional comment in which to store information related to the database. | +|
string (date-time) |
+ Date and time the database was created. | +|
integer |
+ Specifies the number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the database, as well as specifying the default Time Travel retention time for all schemas created in the database. | +|
string |
+ Default collation specification for all schemas and tables added to the database. You an override the default at the schema and individual table levels. | +|
string (date-time) |
+ Date and time the database was dropped. | +|
boolean |
+ Current database for the session. | +|
boolean |
+ Whether the database is the default database for a user. | +|
string |
+ Database type, permanent (default) or transient. (default: PERMANENT) | +|
string |
+ Severity level of messages that should be ingested and made available in the active event table. Currently, Snowflake supports only `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL` and `OFF`. | +|
integer |
+ Maximum number of days for which Snowflake can extend the data retention period for tables in the database to prevent streams on the tables from becoming stale. | +|
string |
+ + | |
string |
+ + | |
string |
+ Name of the role that owns the database. | +|
string |
+ Type of role that owns the object, either ROLE or DATABASE_ROLE | +|
integer |
+ Number of days that historical data is retained for Time Travel. | +|
string |
+ Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
string |
+ Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
integer |
+ Maximum number of consecutive failed task runs before the current task is suspended automatically. | +|
string |
+ How trace events are ingested into the event table. Currently, Snowflake supports only `ALWAYS`, `ON_EVENT`, and `OFF`. | +|
string |
+ Size of the compute resources to provision for the first run of the serverless task, before a task history is available for Snowflake to determine an ideal size. | +|
integer |
+ Time limit, in milliseconds, for a single run of the task before it times out. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like, startsWith, showLimit, fromName, history | +Lists the accessible databases. | +||
name, endpoint | ++ | Fetches a database. | +||
endpoint | +createMode, kind | +Creates a database, with modifiers as query parameters. You must provide the full database definition when creating a database. | +||
name, endpoint | ++ | Creates a new, or alters an existing, database. You must provide the full database definition even when altering an existing database. | +||
name, endpoint | +ifExists, restrict | +Deletes the specified database. If you enable the `ifExists` parameter, the operation succeeds even if the database does not exist. Otherwise, a 404 failure is returned if the database does not exist. if the drop is unsuccessful. | +||
endpoint | +createMode, share | +Creates a database from a given share. | +||
name, endpoint | +createMode, share | +Creates a database from a given share. | +||
name, endpoint | +createMode, kind | +Clones an existing database, with modifiers as query parameters. You must provide the full database definition when cloning an existing database. | +||
name, endpoint | ++ | Undrops database. | +||
name, endpoint | +ignore_edition_check | +Promotes a local database to serve as a primary database for replication. A primary database can be replicated in one or more accounts, allowing users in those accounts to query objects in each secondary (i.e. replica) database. | +||
name, endpoint | ++ | Disables replication for this primary database, meaning no replica of this database (i.e. secondary database) in another account can be refreshed. Any secondary databases remain linked to the primary database, but requests to refresh a secondary database are denied. | +||
name, endpoint | ++ | Refreshes a secondary database from a snapshot of its primary database. A snapshot includes changes to the objects and data. +If you call this endpoint while another refresh for the same replica database is running, it fails and returns an error. Snowflake ensures only one refresh is executed at any given time. | +||
name, endpoint | ++ | Specifies a comma-separated list of accounts in your organization where a replica of this primary database can be promoted to serve as the primary database. | +||
name, endpoint | ++ | Disables failover for this primary database, meaning no replica of this database (i.e. secondary database) can be promoted to serve as the primary database. | +||
name, endpoint | ++ | Promotes the specified secondary (replica) database to serve as the primary database. When promoted, the database becomes writeable. At the same time, the previous primary database becomes a read-only secondary database. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Optionally includes dropped databases that have not yet been purged. | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
boolean |
+ Whether to allow replicating data to accounts on lower editions. Default: `true`. For more information, see the ALTER DATABASE reference. | +|
string |
+ Type of database to create. Currently, Snowflake supports only `transient` and `permanent` (also represented by the empty string). | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
boolean |
+ Whether to drop the database if foreign keys exist that reference any tables in the database. - `true`: Return a warning about existing foreign key references and don't drop the database. - `false`: Drop the database and all objects in the database, including tables with primary or unique keys that are referenced by foreign keys in other tables. (default: false) | +|
string |
+ ID of the share from which to create the database, in the form " |
+|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
databases
resource.
values={[
{ label: 'list_databases', value: 'list_databases' },
{ label: 'fetch_database', value: 'fetch_database' }
- ]
-}>
+ ]}
+>
database_roles
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ User comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the database role was created | +|
integer (int64) |
+ How many database roles this database role has been granted | +|
integer (int64) |
+ How many database roles this database role has been granted to | +|
integer (int64) |
+ How many roles this database role has been granted to | +|
string |
+ Role that owns the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the database role (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, endpoint | +showLimit, fromName | +List database roles | +||
database_name, endpoint | +createMode | +Create a database role | +||
database_name, name, endpoint | +ifExists | +Delete a database role | +||
database_name, name, endpoint | +createMode, targetDatabase | +Create a new database role by cloning from the specified resource | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Database of the target resource. Defaults to the source's database (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +
future_grants
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
object |
+ + | |
string (date-time) |
+ Date and time when the grant was created | +|
boolean |
+ If true, allows the recipient role to grant the privileges to other roles. | +|
string |
+ The role that granted this privilege to this grantee | +|
array |
+ List of privileges to be granted. | +|
object |
+ + | |
string |
+ Type of the securable to be granted. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, name, endpoint | +showLimit | +List all future grants to the role | +||
database_name, name, endpoint | ++ | Grant future privileges to the role | +||
database_name, name, endpoint | +mode | +Revoke future grants from the role | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter determines whether the revoke operation succeeds or fails for the privileges, based on the whether the privileges had been re-granted to another role. - restrict: If the privilege being revoked has been re-granted to another role, the REVOKE command fails. - cascade: If the privilege being revoked has been re-granted, the REVOKE command recursively revokes these dependent grants. If the same privilege on an object has been granted to the target role by a different grantor (parallel grant), that grant is not affected and the target role retains the privilege. (enum: [restrict, cascade], example: restrict) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
grants
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
object |
+ + | |
string (date-time) |
+ Date and time when the grant was created | +|
boolean |
+ If true, allows the recipient role to grant the privileges to other roles. | +|
string |
+ The role that granted this privilege to this grantee | +|
array |
+ List of privileges to be granted. | +|
object |
+ + | |
string |
+ Type of the securable to be granted. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, name, endpoint | +showLimit | +List all grants to the role | +||
database_name, name, endpoint | ++ | Grant privileges to the role | +||
database_name, name, endpoint | +mode | +Revoke grants from the role | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter determines whether the revoke operation succeeds or fails for the privileges, based on the whether the privileges had been re-granted to another role. - restrict: If the privilege being revoked has been re-granted to another role, the REVOKE command fails. - cascade: If the privilege being revoked has been re-granted, the REVOKE command recursively revokes these dependent grants. If the same privilege on an object has been granted to the target role by a different grantor (parallel grant), that grant is not affected and the target role retains the privilege. (enum: [restrict, cascade], example: restrict) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
dynamic_tables
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Specifies the name for the dynamic table, must be unique for the schema in which the dynamic table is created | +|
string |
+ Database in which the dynamic table is stored | +|
string |
+ Schema in which the dynamic table is stored | +|
boolean |
+ If Automatic Clustering is enabled for your account, specifies whether it is explicitly enabled or disabled for the dynamic table. | +|
string |
+ Name of the budget if the object is monitored by a budget | +|
integer (int64) |
+ Number of bytes that will be scanned if the entire table is scanned in a query. Note that this number may be different than the number of actual physical bytes stored on-disk for the table | +|
array |
+ Specifies one or more columns or column expressions in the dynamic table as the clustering key | +|
array |
+ + | |
string |
+ Specifies a comment for the dynamic table. | +|
string (date-time) |
+ Date and time when the dynamic table was created. | +|
integer |
+ Specifies the retention period for the dynamic table so that Time Travel actions (SELECT, CLONE) can be performed on historical data in the dynamic table | +|
string |
+ Specifies the behavior of the initial refresh of the dynamic table | +|
string |
+ Specifies the dynamic table type, permanent (default) or transient. (default: PERMANENT) | +|
integer |
+ Specifies the retention period for the dynamic table so that Time Travel actions (SELECT, CLONE) can be performed on historical data in the dynamic table | +|
string |
+ Role that owns the table | +|
string |
+ The type of role that owns the object. | +|
string |
+ Specifies the query whose results the dynamic table should contain (example: SELECT * FROM foo) | +|
string |
+ Specifies the refresh type for the dynamic table | +|
integer (int64) |
+ Number of rows in the dynamic table. | +|
string |
+ Scheduling state (RUNNING or SUSPENDED) | +|
object |
+ Specifies the schedule for periodically refreshing the dynamic table. | +|
string |
+ Specifies the name of the warehouse that provides the compute resources for refreshing the dynamic table (example: test_wh) | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Specifies the name for the dynamic table, must be unique for the schema in which the dynamic table is created | +|
string |
+ Database in which the dynamic table is stored | +|
string |
+ Schema in which the dynamic table is stored | +|
boolean |
+ If Automatic Clustering is enabled for your account, specifies whether it is explicitly enabled or disabled for the dynamic table. | +|
string |
+ Name of the budget if the object is monitored by a budget | +|
integer (int64) |
+ Number of bytes that will be scanned if the entire table is scanned in a query. Note that this number may be different than the number of actual physical bytes stored on-disk for the table | +|
array |
+ Specifies one or more columns or column expressions in the dynamic table as the clustering key | +|
array |
+ + | |
string |
+ Specifies a comment for the dynamic table. | +|
string (date-time) |
+ Date and time when the dynamic table was created. | +|
integer |
+ Specifies the retention period for the dynamic table so that Time Travel actions (SELECT, CLONE) can be performed on historical data in the dynamic table | +|
string |
+ Specifies the behavior of the initial refresh of the dynamic table | +|
string |
+ Specifies the dynamic table type, permanent (default) or transient. (default: PERMANENT) | +|
integer |
+ Specifies the retention period for the dynamic table so that Time Travel actions (SELECT, CLONE) can be performed on historical data in the dynamic table | +|
string |
+ Role that owns the table | +|
string |
+ The type of role that owns the object. | +|
string |
+ Specifies the query whose results the dynamic table should contain (example: SELECT * FROM foo) | +|
string |
+ Specifies the refresh type for the dynamic table | +|
integer (int64) |
+ Number of rows in the dynamic table. | +|
string |
+ Scheduling state (RUNNING or SUSPENDED) | +|
object |
+ Specifies the schedule for periodically refreshing the dynamic table. | +|
string |
+ Specifies the name of the warehouse that provides the compute resources for refreshing the dynamic table (example: test_wh) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName, deep | +Lists the dynamic tables under the database and schema. | +||
database_name, schema_name, name, endpoint | ++ | Fetch a Dynamic Table. | +||
database_name, schema_name, endpoint | +createMode | +Create a dynamic table, with standard create modifiers as query parameters. See the Dynamic Table component definition for what is required to be provided in the request body. | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a dynamic table with the given name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful. | +||
database_name, schema_name, name, endpoint | +createMode, copyGrants, targetDatabase, targetSchema | +Create a new dynamic table by cloning from the specified resource | +||
database_name, schema_name, name, endpoint | ++ | Undrop specified dynamic table | +||
database_name, schema_name, name, endpoint | +ifExists | +Suspend refreshes on the dynamic table | +||
database_name, schema_name, name, endpoint | +ifExists | +Resume refreshes on the dynamic table | +||
database_name, schema_name, name, endpoint | +ifExists | +Specifies that the dynamic table should be manually refreshed | +||
database_name, schema_name, name, endpoint | +ifExists | +Suspend recluster of a dynamic table | +||
database_name, schema_name, name, endpoint | +ifExists | +Resume recluster of a dynamic table | +||
database_name, schema_name, name, targetName, endpoint | +ifExists, targetDatabase, targetSchema | +Swap with another dynamic table | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The name of the target dynamic table to be swapped with. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Optionally includes dependency information of the dynamic table. | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +|
string |
+ Database of the target dynamic table. Defaults to the source table's database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Schema of the target dynamic table. Defaults to the source table's schema. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
dynamic_tables
resource.
values={[
{ label: 'list_dynamic_tables', value: 'list_dynamic_tables' },
{ label: 'fetch_dynamic_table', value: 'fetch_dynamic_table' }
- ]
-}>
+ ]}
+>
event_tables
resource.
+Creates, updates, deletes, gets or lists an event_tables
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the event table | +|
string |
+ Database in which the event table is stored | +|
string |
+ Schema in which the event table is stored | +|
boolean |
+ If Automatic Clustering is enabled for your account, specifies whether it is explicitly enabled or disabled for the table. | +|
integer (int64) |
+ Number of bytes that will be scanned if the entire table is scanned in a query.Note that this number may be different than the number of actual physical bytes stored on-disk for the table | +|
boolean |
+ True if change tracking is enabled, allowing streams and CHANGES to be used on the entity. | +|
array |
+ Cluster key column(s) or expression | +|
array |
+ + | |
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the event table was created. | +|
integer |
+ number of days to retain the old version of deleted/updated data | +|
string |
+ Collation that is used for all the new columns created by the DDL statements (if not specified) | +|
integer |
+ Maximum number of days to extend data retention beyond the retention period to prevent a stream becoming stale. | +|
string |
+ Role that owns the event table | +|
string |
+ The type of role that owns the event table | +|
integer (int64) |
+ Number of rows in the table. | +|
boolean |
+ If ON, the table has the search optimization service enabled | +|
integer (int64) |
+ Number of additional bytes of storage that the search optimization service consumes for this table | +|
integer (int64) |
+ Percentage of the table that has been optimized for search | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the event table | +|
string |
+ Database in which the event table is stored | +|
string |
+ Schema in which the event table is stored | +|
boolean |
+ If Automatic Clustering is enabled for your account, specifies whether it is explicitly enabled or disabled for the table. | +|
integer (int64) |
+ Number of bytes that will be scanned if the entire table is scanned in a query.Note that this number may be different than the number of actual physical bytes stored on-disk for the table | +|
boolean |
+ True if change tracking is enabled, allowing streams and CHANGES to be used on the entity. | +|
array |
+ Cluster key column(s) or expression | +|
array |
+ + | |
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the event table was created. | +|
integer |
+ number of days to retain the old version of deleted/updated data | +|
string |
+ Collation that is used for all the new columns created by the DDL statements (if not specified) | +|
integer |
+ Maximum number of days to extend data retention beyond the retention period to prevent a stream becoming stale. | +|
string |
+ Role that owns the event table | +|
string |
+ The type of role that owns the event table | +|
integer (int64) |
+ Number of rows in the table. | +|
boolean |
+ If ON, the table has the search optimization service enabled | +|
integer (int64) |
+ Number of additional bytes of storage that the search optimization service consumes for this table | +|
integer (int64) |
+ Percentage of the table that has been optimized for search | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName | +List event tables | +||
database_name, schema_name, name, endpoint | ++ | Fetch an event table | +||
database_name, schema_name, endpoint | +createMode, copyGrants | +Create an event table | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete an event table | +||
database_name, schema_name, name, targetName, endpoint | +ifExists | +Rename the event table | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Specify the name of the target resource to be renamed to. | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
event_tables
resource.
values={[
{ label: 'list_event_tables', value: 'list_event_tables' },
{ label: 'fetch_event_table', value: 'fetch_event_table' }
- ]
-}>
+ ]}
+>
external_volumes
resource.
+Creates, updates, deletes, gets or lists an external_volumes
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ String that specifies the identifier (the name) for the external volume; must be unique in your account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether write operations are allowed for the external volume; must be set to TRUE for Iceberg tables that use Snowflake as the catalog. | +|
string |
+ String (literal) that specifies a comment for the external volume. | +|
string (date-time) |
+ Date and time when the external volume was created. | +|
string |
+ Role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ Set of named cloud storage locations in different regions and, optionally, cloud platforms. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ String that specifies the identifier (the name) for the external volume; must be unique in your account. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether write operations are allowed for the external volume; must be set to TRUE for Iceberg tables that use Snowflake as the catalog. | +|
string |
+ String (literal) that specifies a comment for the external volume. | +|
string (date-time) |
+ Date and time when the external volume was created. | +|
string |
+ Role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the external volume (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ Set of named cloud storage locations in different regions and, optionally, cloud platforms. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like | +List external volumes | +||
name, endpoint | ++ | Fetch an external volume | +||
endpoint | +createMode | +Create an external volume | +||
name, endpoint | +ifExists | +Delete an external volume | +||
name, endpoint | ++ | Undrop an external volume | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
external_volumes
resourc
values={[
{ label: 'list_external_volumes', value: 'list_external_volumes' },
{ label: 'fetch_external_volume', value: 'fetch_external_volume' }
- ]
-}>
+ ]}
+>
functions
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Specifies the name for the function, must be unique for the schema in which the function is created | +|
array |
+ + | |
string |
+ Function's body. | +|
string (date-time) |
+ Date and time when the function was created. | +|
string |
+ (default: service-function) | +|
string |
+ Function's language. | +|
integer |
+ Specifies the max rows for batch operation. | +|
string |
+ Specifies the type for the function return value. (default: TEXT) | +|
string |
+ Function's arguments. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Specifies the name for the function, must be unique for the schema in which the function is created | +|
array |
+ + | |
string |
+ Function's body. | +|
string (date-time) |
+ Date and time when the function was created. | +|
string |
+ (default: service-function) | +|
string |
+ Function's language. | +|
integer |
+ Specifies the max rows for batch operation. | +|
string |
+ Specifies the type for the function return value. (default: TEXT) | +|
string |
+ Function's arguments. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like | +Lists the user functions under the database and schema. | +||
database_name, schema_name, nameWithArgs, endpoint | ++ | Fetch a Function using the describe command output. | +||
database_name, schema_name, endpoint | +createMode | +Create a function. | +||
database_name, schema_name, nameWithArgs, endpoint | +ifExists | +Delete a function with the given name and args. | +||
database_name, schema_name, name, endpoint | ++ | Execute a Function. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Function's name with Args (example: foo(a number, b number)) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
functions
resource.
values={[
{ label: 'list_functions', value: 'list_functions' },
{ label: 'fetch_function', value: 'fetch_function' }
- ]
-}>
+ ]}
+>
grant_options
resource.
## Fields
+
+The following fields are returned by `SELECT` queries:
+
`SELECT` not supported for this resource, use `SHOW METHODS` to view available operations for the resource.
## Methods
-| Name | Accessible by | Required Params | Optional Params | Description |
-|:-----|:--------------|:----------------|:----------------|:------------|
-| Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
granteeType, granteeName, securableType, securableName, privilege, endpoint | +deleteMode | +Endpoint to indicate that the grant option for the privilege listed in the path should be revoked. | +||
granteeType, granteeName, bulkGrantType, securableTypePlural, scopeType, scopeName, privilege, endpoint | +deleteMode | +Endpoint to indicate that the grant option for the privilege listed on the group securable in the given scope should be revoked. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ String that species whether this group privilege should be on ALL or FUTURE resources of the specified plural type (example: all, enum: [all, future]) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ String that specifies the name of the privilege grantee. (example: SYSADMIN) | +|
string |
+ String that specifies the type of resource that is the privilege grantee. (example: role, enum: [user, role, application-role, database-role, share]) | +|
string |
+ String that specifies a privilege to be revoked (example: SELECT) | +|
string |
+ String that specifies the name of resource that is the scope of an ALL/FUTURE privilege (example: MY_DB.MY_SC) | +|
string |
+ String that specifies the type of resource that is the scope of an ALL/FUTURE privilege. Can only be DATABASE or SCHEMA (example: schema, enum: [database, schema]) | +|
string |
+ String that specifies the name of resource that is being secured by a privilege. (example: MY_DB) | +|
string |
+ String that specifies the type of resource that is being secured by a privilege. (example: DATABASE) | +|
string |
+ String that specifies the plural of the type of resource that is being secured by an ALL/FUTURE privilege. Must be either "schemas" or any plural object type that can nest under a schema such as "tables" (example: tables) | +|
string |
+ If "cascade", recursively revoke the grant from sub-grantees to which this privilege was re-granted. Acceptable values are "restrict" or "cascade". (example: restrict) | +
grants_to
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ The role that granted this privilege to this grantee (example: SUBADMIN) | +|
string |
+ Specific name of object being granted to (example: ACCOUNTADMIN) | +|
string |
+ Name of specific object granted on (not name of privilege!) | +|
string (date-time) |
+ + | |
boolean |
+ Can grantee pass this privilege down? | +|
string |
+ Type of role that granted this privilege to this grantee (example: ROLE) | +|
string |
+ Entity type being granted to (example: ROLE) | +|
array |
+ Privilege type | +|
string |
+ Type of object granted on (example: ACCOUNT) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
granteeType, granteeName, endpoint | +showLimit | +List the roles and privileges granted to the specified grantee using the output of SHOW GRANTS TO | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ String that specifies the name of the privilege grantee. (example: SYSADMIN) | +|
string |
+ String that specifies the type of resource that is the privilege grantee. (example: role, enum: [user, role, application-role, database-role, share]) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
privileges
resource.
## Fields
+
+The following fields are returned by `SELECT` queries:
+
`SELECT` not supported for this resource, use `SHOW METHODS` to view available operations for the resource.
## Methods
-| Name | Accessible by | Required Params | Optional Params | Description |
-|:-----|:--------------|:----------------|:----------------|:------------|
-| Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
granteeType, granteeName, securableType, securableName, endpoint | ++ | Endpoint to indicate that the privileges listed in the request body should be granted. | +||
granteeType, granteeName, bulkGrantType, securableTypePlural, scopeType, scopeName, endpoint | ++ | Endpoint to indicate that the privileges listed in the request body should be granted to all securables of this type in the given scope. | +||
granteeType, granteeName, securableType, securableName, privilege, endpoint | +deleteMode | +Endpoint to indicate that the privilege listed in the path should be revoked. | +||
granteeType, granteeName, bulkGrantType, securableTypePlural, scopeType, scopeName, privilege, endpoint | +deleteMode | +Endpoint to indicate that the privilege listed on the group securable in the given scope should be revoked. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ String that species whether this group privilege should be on ALL or FUTURE resources of the specified plural type (example: all, enum: [all, future]) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ String that specifies the name of the privilege grantee. (example: SYSADMIN) | +|
string |
+ String that specifies the type of resource that is the privilege grantee. (example: role, enum: [user, role, application-role, database-role, share]) | +|
string |
+ String that specifies a privilege to be revoked (example: SELECT) | +|
string |
+ String that specifies the name of resource that is the scope of an ALL/FUTURE privilege (example: MY_DB.MY_SC) | +|
string |
+ String that specifies the type of resource that is the scope of an ALL/FUTURE privilege. Can only be DATABASE or SCHEMA (example: schema, enum: [database, schema]) | +|
string |
+ String that specifies the name of resource that is being secured by a privilege. (example: MY_DB) | +|
string |
+ String that specifies the type of resource that is being secured by a privilege. (example: DATABASE) | +|
string |
+ String that specifies the plural of the type of resource that is being secured by an ALL/FUTURE privilege. Must be either "schemas" or any plural object type that can nest under a schema such as "tables" (example: tables) | +|
string |
+ If "cascade", recursively revoke the grant from sub-grantees to which this privilege was re-granted. Acceptable values are "restrict" or "cascade". (example: restrict) | +
iceberg_tables
resource.
+Creates, updates, deletes, gets or lists an iceberg_tables
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Name of the table as recognized by the catalog. | +|
string |
+ Database in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Schema in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether to automatically refresh the table metadata | +|
string |
+ The path to a directory where Snowflake can write data and metadata files for the table. | +|
string |
+ Signifies whether Snowflake can write metadata to the location specified by the file_path. | +|
string |
+ Name of the catalog integration to use for iceberg tables | +|
string |
+ Catalog namespace for the table. The namespace defined when the table was created. Otherwise, the default namespace associated with the catalog integration used by the table. If you’re syncing the table to Snowflake Open Catalog, the default is null. | +|
string |
+ Name of the catalog integration to sync this table | +|
boolean |
+ True if change tracking is enabled, allowing streams and CHANGES to be used on the entity. | +|
array |
+ Specifies one or more columns or column expressions in the table as the clustering key. | +|
array |
+ + | |
string |
+ user comment associated to an object in the dictionary | +|
array |
+ + | |
string (date-time) |
+ Date and time when the iceberg table was created. | +|
integer |
+ number of days to retain the old version of deleted/updated data | +|
string |
+ Name of an external volume that will be used for persisted Iceberg metadata and data files. | +|
string |
+ Type of Iceberg table. UNMANAGED if the table is not managed by Snowflake. NOT ICEBERG otherwise. | +|
integer |
+ Maximum number of days to extend data retention beyond the retention period to prevent a stream becoming stale. | +|
string |
+ Specifies the relative path of the Iceberg metadata file to use for column definitions. | +|
string |
+ Role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether to replace invalid characters in the column names | +|
string |
+ Storage serialization policy used for managed Iceberg table. This include encodings and compressions | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Name of the table as recognized by the catalog. | +|
string |
+ Database in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Schema in which the iceberg table is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether to automatically refresh the table metadata | +|
string |
+ The path to a directory where Snowflake can write data and metadata files for the table. | +|
string |
+ Signifies whether Snowflake can write metadata to the location specified by the file_path. | +|
string |
+ Name of the catalog integration to use for iceberg tables | +|
string |
+ Catalog namespace for the table. The namespace defined when the table was created. Otherwise, the default namespace associated with the catalog integration used by the table. If you’re syncing the table to Snowflake Open Catalog, the default is null. | +|
string |
+ Name of the catalog integration to sync this table | +|
boolean |
+ True if change tracking is enabled, allowing streams and CHANGES to be used on the entity. | +|
array |
+ Specifies one or more columns or column expressions in the table as the clustering key. | +|
array |
+ + | |
string |
+ user comment associated to an object in the dictionary | +|
array |
+ + | |
string (date-time) |
+ Date and time when the iceberg table was created. | +|
integer |
+ number of days to retain the old version of deleted/updated data | +|
string |
+ Name of an external volume that will be used for persisted Iceberg metadata and data files. | +|
string |
+ Type of Iceberg table. UNMANAGED if the table is not managed by Snowflake. NOT ICEBERG otherwise. | +|
integer |
+ Maximum number of days to extend data retention beyond the retention period to prevent a stream becoming stale. | +|
string |
+ Specifies the relative path of the Iceberg metadata file to use for column definitions. | +|
string |
+ Role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the iceberg table (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether to replace invalid characters in the column names | +|
string |
+ Storage serialization policy used for managed Iceberg table. This include encodings and compressions | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName, deep | +Lists the Apache Iceberg™ tables for which you have access privileges. | +||
database_name, schema_name, name, endpoint | ++ | Describe an iceberg table | +||
database_name, schema_name, endpoint | +createMode, copyGrants | +Create a snowflake managed iceberg table (clone and undrop are separate subresources) | +||
database_name, schema_name, name, endpoint | +ifExists, type | +Drop an iceberg table | +||
database_name, schema_name, query, endpoint | +createMode, copyGrants | +Create a snowflake managed iceberg table as select | +||
database_name, schema_name, endpoint | +createMode | +Create an unmanaged iceberg table from AWS Glue catalog | +||
database_name, schema_name, endpoint | +createMode | +Create an unmanaged iceberg table from Delta | +||
database_name, schema_name, endpoint | +createMode | +Create an unmanaged iceberg table from Iceberg files | +||
database_name, schema_name, endpoint | +createMode | +Create an unmanaged iceberg table from Iceberg REST | +||
database_name, schema_name, name, endpoint | +ifExists | +Resume recluster of an iceberg table (iceberg tables managed by an external catalog do not allow clustering) | +||
database_name, schema_name, name, endpoint | +ifExists | +Suspend recluster of an iceberg table (iceberg tables managed by an external catalog do not allow clustering) | +||
database_name, schema_name, name, endpoint | +ifExists | +Refreshes the metadata for an Apache Iceberg table that uses an external Iceberg catalog | +||
database_name, schema_name, name, endpoint | +ifExists | +Convert unmanaged iceberg table to managed iceberg table | +||
database_name, schema_name, name, endpoint | ++ | Undrop an iceberg table | +||
database_name, schema_name, name, endpoint | +createMode, copyGrants, targetDatabase, targetSchema | +Clone a snowflake managed iceberg table | +||
database_name, schema_name, name, endpoint | +createMode, copyGrants, targetDatabase, targetSchema | +Creates a new table with the same column definitions as an existing table, but without copying data from the existing table. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The SQL select query to run to set up the table values (and possibly columns). | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Optionally includes dependency information of the table. | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +|
string |
+ Database of the newly created table. Defaults to the source table's database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Schema of the newly created table. Defaults to the source table's schema. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Specifies whether the table can be dropped if foreign keys exist that reference the table. (enum: [CASCADE, RESTRICT]) | +
iceberg_tables
resource.
values={[
{ label: 'list_iceberg_tables', value: 'list_iceberg_tables' },
{ label: 'fetch_iceberg_table', value: 'fetch_iceberg_table' }
- ]
-}>
+ ]}
+>
image_repositories
resource.
+Creates, updates, deletes, gets or lists an image_repositories
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string (date-time) |
+ Time the image repository was created. | +|
string |
+ Identifier for the current owner of the image repository. | +|
string |
+ Role type of the image repository owner. | +|
string |
+ Current URL of the image repository. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string (date-time) |
+ Time the image repository was created. | +|
string |
+ Identifier for the current owner of the image repository. | +|
string |
+ Role type of the image repository owner. | +|
string |
+ Current URL of the image repository. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like | +Lists the image repositories under a specified database and schema. | +||
database_name, schema_name, name, endpoint | ++ | Fetches a named image repository in a specified database and schema. | +||
database_name, schema_name, endpoint | +createMode | +Creates an image repository in the specified database, schema, and create mode. The `createMode` query parameter specifies what action to take based on whether the repository already exists. See the ImageRepository component definition for what is required to be provided in the request body. | +||
database_name, schema_name, name, endpoint | +ifExists | +Deletes an image repository with the given name. If you enable the `ifExists` query parameter, the operation succeeds even if the object does not exist. Otherwise, a 404 failure is returned if the object does not exist. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
image_repositories
resou
values={[
{ label: 'list_image_repositories', value: 'list_image_repositories' },
{ label: 'fetch_image_repository', value: 'fetch_image_repository' }
- ]
-}>
+ ]}
+>
images
resource.
+Creates, updates, deletes, gets or lists an images
resource.
## Overview
Name | +Datatype | +Description | +
---|---|---|
string |
+ Image name. | +|
string |
+ Date and time when the image was uploaded to the image repository. | +|
string |
+ SHA256 digest of the image. | +|
string |
+ Image path (database_name/schema_name/repository_name/image_name:image_tag). | +|
string |
+ Image tags. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, name, endpoint | ++ | List images in the given image repository. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
managed_accounts
resourc
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Name of the account administrator. | +|
string |
+ Account URL that is used to connect to the account, in the legacy account locator format. | +|
string |
+ Type of the account. (default: READER) | +|
string (password) |
+ Password for the account administrator. | +|
string |
+ Cloud in which the managed account is located. For reader accounts, this is always the same as the cloud for the provider account. | +|
string |
+ Optional comment in which to store information related to the account. | +|
string (date-time) |
+ Date and time the account was created. | +|
string |
+ Legacy identifier for the account. | +|
string |
+ Region in which the managed account is located. For reader accounts, this is always the same as the region for the provider account. | +|
string |
+ Account URL that is used to connect to the account, in the account name format. The account identifier in this format follows the pattern <orgname>-<account_name>. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like | +Lists the accessible managed accounts. | +||
endpoint | ++ | Creates a managed account. You must provide the full managed account definition when creating a managed account. | +||
name, endpoint | ++ | Removes a managed account, including all objects created in the account, and immediately restricts access to the account. Currently used by data providers to create reader accounts for their consumers. For more details, see Manage reader accounts. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
network_policies
resourc
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ List of allowed IPs in a network policy | +|
array |
+ List of names of allowed network rules in a network policy | +|
array |
+ List of blocked IPs in a network policy | +|
array |
+ List of names of blocked network rules in a network policy | +|
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the network policy was created. | +|
string |
+ Role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ List of allowed IPs in a network policy | +|
array |
+ List of names of allowed network rules in a network policy | +|
array |
+ List of blocked IPs in a network policy | +|
array |
+ List of names of blocked network rules in a network policy | +|
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the network policy was created. | +|
string |
+ Role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the network policy (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | ++ | List network policies | +||
name, endpoint | ++ | Fetch a network policy | +||
endpoint | +createMode | +Create a network policy | +||
name, endpoint | +ifExists | +Delete a network policy | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +
network_policies
resourc
values={[
{ label: 'list_network_policies', value: 'list_network_policies' },
{ label: 'fetch_network_policy', value: 'fetch_network_policy' }
- ]
-}>
+ ]}
+>
notebooks
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Unique ID associated with the notebook object. | +|
string |
+ Database in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The runtime to run the Streamlit or Notebook on. If this is not set, the warehouse is assumed | +|
string |
+ Schema in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Name of the budget if the notebook is monitored by a budget (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ user comment associated to an object in the dictionary | +|
string |
+ Compute pool name where the snowservice runs | +|
string (date-time) |
+ Date and time when the notebook was created. | +|
string |
+ Default packages of the notebook | +|
string |
+ The default version name of a file based entity. | +|
object |
+ The version details of a file based entity | +|
array |
+ List of external access integrations attached to this function | +|
string |
+ Secrets to be used with this function for external access | +|
string |
+ Location to copy the file from. This must be a Snowflake stage location. | +|
integer (int64) |
+ Sets the time in seconds for when to shutdown an idle Notebook. | +|
array |
+ List of urls | +|
object |
+ The version details of a file based entity | +|
string |
+ The current version location | +|
string |
+ Name + path of the file for the Notebook | +|
string |
+ Role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Warehouse against which the queries issued by the Streamlit app are run against | +|
string |
+ User facing title of the Streamlit app or an Organization Profile | +|
string |
+ User packages of the notebook | +|
string |
+ User specified version alias | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Unique ID associated with the notebook object. | +|
string |
+ Database in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The runtime to run the Streamlit or Notebook on. If this is not set, the warehouse is assumed | +|
string |
+ Schema in which the notebook is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Name of the budget if the notebook is monitored by a budget (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ user comment associated to an object in the dictionary | +|
string |
+ Compute pool name where the snowservice runs | +|
string (date-time) |
+ Date and time when the notebook was created. | +|
string |
+ Default packages of the notebook | +|
string |
+ The default version name of a file based entity. | +|
object |
+ The version details of a file based entity | +|
array |
+ List of external access integrations attached to this function | +|
string |
+ Secrets to be used with this function for external access | +|
string |
+ Location to copy the file from. This must be a Snowflake stage location. | +|
integer (int64) |
+ Sets the time in seconds for when to shutdown an idle Notebook. | +|
array |
+ List of urls | +|
object |
+ The version details of a file based entity | +|
string |
+ The current version location | +|
string |
+ Name + path of the file for the Notebook | +|
string |
+ Role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the notebook (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Warehouse against which the queries issued by the Streamlit app are run against | +|
string |
+ User facing title of the Streamlit app or an Organization Profile | +|
string |
+ User packages of the notebook | +|
string |
+ User specified version alias | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName | +List notebooks | +||
database_name, schema_name, name, endpoint | ++ | Fetch a notebook | +||
database_name, schema_name, endpoint | +createMode | +Create a notebook | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a notebook | +||
database_name, schema_name, name, endpoint | +asyncExec | +Execute a Notebook | +||
database_name, schema_name, name, targetName, endpoint | +ifExists, targetDatabase, targetSchema | +Changes the name of the notebook to new name. The new identifier must be unique for the schema. | +||
database_name, schema_name, name, endpoint | +fromLast, comment | +Adds a LIVE version to the notebook | +||
database_name, schema_name, name, endpoint | +version, comment | +If a Git connection is set up for the notebook, commits the LIVE version of the notebook to the Git repository | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Name of the target resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Asynchronous execution enable/disable. Default is disable. (default: false) | +|
string |
+ Sets a comment for the notebook or version of the notebook | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Sets the LIVE version to the LAST version of the notebook | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +|
string |
+ Database of the target resource. Defaults to the source's database (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Schema of the target resource. Defaults to the source's schema (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ live version of the alias | +
notebooks
resource.
values={[
{ label: 'list_notebooks', value: 'list_notebooks' },
{ label: 'fetch_notebook', value: 'fetch_notebook' }
- ]
-}>
+ ]}
+>
notification_integrations
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the notification. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Comment for the notification integration. | +|
string (date-time) |
+ Date and time when the notification was created. | +|
boolean |
+ Whether the notification integration is enabled. | +|
object |
+ + |
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the notification. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Comment for the notification integration. | +|
string (date-time) |
+ Date and time when the notification was created. | +|
boolean |
+ Whether the notification integration is enabled. | +|
object |
+ + |
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like | +List notification integrations | +||
name, endpoint | ++ | Fetch a notification integration | +||
endpoint | +createMode | +Create a notification integration | +||
name, endpoint | +ifExists | +Delete a notification integration | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
notification_integrations
+ ]}
+>
pipes
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the pipe | +|
string |
+ Database in which the pipe is stored | +|
string |
+ Schema in which the pipe is stored | +|
boolean |
+ TRUE if all files from stage need to be auto-ingested | +|
string |
+ Optional, if provided, auto_ingest pipe will only receive messages from this SNS topic. | +|
string |
+ Name of the budget if the pipe is monitored by a budget | +|
string |
+ user comment associated to an object in the dictionary | +|
string |
+ COPY INTO <table> statement used to load data from queued files into a Snowflake table. This statement serves as the text/definition for the pipe and is displayed in the SHOW PIPES output (pattern: (?i)^COPY INTO .*) | +|
string (date-time) |
+ Date and time when the pipe was created. | +|
string |
+ Link to integration object that point to a user provided Azure storage queue / SQS. When present, errors (e.g. ingest failure for Snowpipe or a user task failure or replication failure) will be sent to this queue to notify customers | +|
string |
+ Link to integration object that ties a user provided storage queue to an auto_ingest enabled pipe. Required for auto_ingest to work on azure. | +|
string |
+ Displays some detailed information for your pipes that may have issues | +|
string |
+ Role that owns the pipe | +|
string |
+ The type of role that owns the pipe | +|
string |
+ PATTERN copy option value in the COPY INTO <table> statement in the pipe definition, if the copy option was specified. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the pipe | +|
string |
+ Database in which the pipe is stored | +|
string |
+ Schema in which the pipe is stored | +|
boolean |
+ TRUE if all files from stage need to be auto-ingested | +|
string |
+ Optional, if provided, auto_ingest pipe will only receive messages from this SNS topic. | +|
string |
+ Name of the budget if the pipe is monitored by a budget | +|
string |
+ user comment associated to an object in the dictionary | +|
string |
+ COPY INTO <table> statement used to load data from queued files into a Snowflake table. This statement serves as the text/definition for the pipe and is displayed in the SHOW PIPES output (pattern: (?i)^COPY INTO .*) | +|
string (date-time) |
+ Date and time when the pipe was created. | +|
string |
+ Link to integration object that point to a user provided Azure storage queue / SQS. When present, errors (e.g. ingest failure for Snowpipe or a user task failure or replication failure) will be sent to this queue to notify customers | +|
string |
+ Link to integration object that ties a user provided storage queue to an auto_ingest enabled pipe. Required for auto_ingest to work on azure. | +|
string |
+ Displays some detailed information for your pipes that may have issues | +|
string |
+ Role that owns the pipe | +|
string |
+ The type of role that owns the pipe | +|
string |
+ PATTERN copy option value in the COPY INTO <table> statement in the pipe definition, if the copy option was specified. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like | +List pipes | +||
database_name, schema_name, name, endpoint | ++ | Fetch a pipe | +||
database_name, schema_name, endpoint | +createMode | +Create a pipe | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a pipe | +||
database_name, schema_name, name, endpoint | +ifExists, prefix, modified_after | +Refresh the pipe | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
string (date-time) |
+ Timestamp (in ISO-8601 format) of the oldest data files to copy into the Snowpipe ingest queue based on the LAST_MODIFIED date (i.e. date when a file was staged) | +|
string |
+ Path (or prefix) appended to the stage reference in the pipe definition. The path limits the set of files to load. | +
pipes
resource.
values={[
{ label: 'list_pipes', value: 'list_pipes' },
{ label: 'fetch_pipe', value: 'fetch_pipe' }
- ]
-}>
+ ]}
+>
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ List of arguments for the function/procedure | +|
string |
+ Function/procedure definition | +|
string |
+ Specifies a comment for the function/procedure | +|
string (date-time) |
+ The date and time when the function/procedure was created | +|
string |
+ What permissions should the procedure execution be called with | +|
boolean |
+ If the function/procedure is built-in or not (user-defined) | +|
boolean |
+ Specifies whether the function/procedure is secure or not | +|
object |
+ + | |
integer |
+ The maximum number of arguments | +|
integer |
+ The minimum number of arguments | +|
string |
+ Role that owns the function/procedure | +|
string |
+ The type of role that owns the function/procedure | +|
object |
+ + |
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ List of arguments for the function/procedure | +|
string |
+ Function/procedure definition | +|
string |
+ Specifies a comment for the function/procedure | +|
string (date-time) |
+ The date and time when the function/procedure was created | +|
string |
+ What permissions should the procedure execution be called with | +|
boolean |
+ If the function/procedure is built-in or not (user-defined) | +|
boolean |
+ Specifies whether the function/procedure is secure or not | +|
object |
+ + | |
integer |
+ The maximum number of arguments | +|
integer |
+ The minimum number of arguments | +|
string |
+ Role that owns the function/procedure | +|
string |
+ The type of role that owns the function/procedure | +|
object |
+ + |
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like | +List procedures | +||
database_name, schema_name, nameWithArgs, endpoint | ++ | Fetch a procedure | +||
database_name, schema_name, endpoint | +createMode, copyGrants | +Create a procedure | +||
database_name, schema_name, nameWithArgs, endpoint | +ifExists | +Delete a procedure | +||
database_name, schema_name, nameWithArgs, endpoint | ++ | Call a procedure | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Function's name with Args (example: foo(a number, b number)) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
procedures
resource.
values={[
{ label: 'list_procedures', value: 'list_procedures' },
{ label: 'fetch_procedure', value: 'fetch_procedure' }
- ]
-}>
+ ]}
+>
results
resource.
## Fields
+
+The following fields are returned by `SELECT` queries:
+
`SELECT` not supported for this resource, use `SHOW METHODS` to view available operations for the resource.
## Methods
-| Name | Accessible by | Required Params | Optional Params | Description |
-|:-----|:--------------|:----------------|:----------------|:------------|
-| Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
result_handler, endpoint | +page | +Get result status or the result when it is ready. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ The opaque result id. | +|
integer (int64) |
+ Number of the page of results to return. The number can range from 0 to the total number of pages minus 1. (minimum: 0, default: 0) | +
future_grants
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
object |
+ + | |
string (date-time) |
+ Date and time when the grant was created | +|
boolean |
+ If true, allows the recipient role to grant the privileges to other roles. | +|
string |
+ The role that granted this privilege to this grantee | +|
array |
+ List of privileges to be granted. | +|
object |
+ + | |
string |
+ Type of the securable to be granted. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
name, endpoint | +showLimit | +List all future grants to the role | +||
name, endpoint | ++ | Grant future privileges to the role | +||
name, endpoint | +mode | +Revoke future grants from the role | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter determines whether the revoke operation succeeds or fails for the privileges, based on the whether the privileges had been re-granted to another role. - restrict: If the privilege being revoked has been re-granted to another role, the REVOKE command fails. - cascade: If the privilege being revoked has been re-granted, the REVOKE command recursively revokes these dependent grants. If the same privilege on an object has been granted to the target role by a different grantor (parallel grant), that grant is not affected and the target role retains the privilege. (enum: [restrict, cascade], example: restrict) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
grants
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
object |
+ + | |
string (date-time) |
+ Date and time when the grant was created | +|
boolean |
+ If true, allows the recipient role to grant the privileges to other roles. | +|
string |
+ The role that granted this privilege to this grantee | +|
array |
+ List of privileges to be granted. | +|
object |
+ + | |
string |
+ Type of the securable to be granted. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
name, endpoint | +showLimit | +List all grants to the role | +||
name, endpoint | ++ | Grant privileges to the role | +||
name, endpoint | +mode | +Revoke grants from the role | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter determines whether the revoke operation succeeds or fails for the privileges, based on the whether the privileges had been re-granted to another role. - restrict: If the privilege being revoked has been re-granted to another role, the REVOKE command fails. - cascade: If the privilege being revoked has been re-granted, the REVOKE command recursively revokes these dependent grants. If the same privilege on an object has been granted to the target role by a different grantor (parallel grant), that grant is not affected and the target role retains the privilege. (enum: [restrict, cascade], example: restrict) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
grants_of
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ The name of the grantee | +|
string (date-time) |
+ Date and time when the grant was created | +|
string |
+ The role that granted this role to this grantee | +|
string |
+ The type of the grantee, can be USER or ROLE | +|
string |
+ The name of the role | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
name, endpoint | +showLimit | +List all grants of the role | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
grants_on
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ The name of the role | +|
string |
+ The name of the grantee | +|
string (date-time) |
+ Date and time when the grant was created | +|
string |
+ If true, allows the recipient role to grant the privileges to other roles. | +|
string |
+ The role that granted this privilege to this grantee | +|
string |
+ Type of the role that granted this privilege to this grantee | +|
string |
+ The type of of the role | +|
string |
+ The type of the grantee | +|
string |
+ The name of the privilege | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
name, endpoint | +showLimit | +List all grants on the role | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
roles
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the role. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
integer (int64) |
+ The number of users to whom this role has been assigned. | +|
string |
+ Comment of the role. | +|
string (date-time) |
+ Date and time when the role was created. | +|
integer (int64) |
+ The number of roles that have been granted to this role. | +|
integer (int64) |
+ The number of roles to which this role has been granted. | +|
boolean |
+ Specifies whether the role being fetched is the user's current role. | +|
boolean |
+ Specifies whether the role being fetched is the user's default role. | +|
boolean |
+ Specifies whether the role used to run the command inherits the specified role. | +|
string |
+ Specifies the role that owns this role. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like, startsWith, showLimit, fromName | +List roles | +||
endpoint | +createMode | +Create a role | +||
name, endpoint | +ifExists | +Delete a role | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
schemas
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Database that the schema belongs to | +|
string |
+ Budget that defines a monthly spending limit on the compute costs for a Snowflake account or a custom group of Snowflake objects. | +|
string |
+ Optional comment in which to store information related to the schema. | +|
string (date-time) |
+ Date and time the schema was created. | +|
integer |
+ Number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the schema, as well as specifying the default Time Travel retention time for all tables created in the schema | +|
string |
+ Specifies a default collation specification for all tables added to the schema. You an override the default at the schema and individual table levels. | +|
string (date-time) |
+ Date and time the schema was dropped. | +|
boolean |
+ Current schema for the session. | +|
boolean |
+ Default schema for a user. | +|
string |
+ Schema type, permanent (default) or transient. (default: PERMANENT) | +|
string |
+ Severity level of messages that should be ingested and made available in the active event table. Currently, Snowflake supports only `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL` and `OFF`. | +|
boolean |
+ Whether this schema is a managed access schema that centralizes privilege management with the schema owner. | +|
integer |
+ Maximum number of days for which Snowflake can extend the data retention period for tables in the schema to prevent streams on the tables from becoming stale. | +|
string |
+ + | |
string |
+ Name of the role that owns the schema. | +|
string |
+ Type of role that owns the object, either `ROLE` or `DATABASE_ROLE`. | +|
boolean |
+ Whether pipe execution is paused. | +|
integer |
+ Number of days that historical data is retained for Time Travel. | +|
string |
+ Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
string |
+ Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
integer |
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. | +|
string |
+ How trace events are ingested into the event table. Currently, Snowflake supports only `ALWAYS`, `ON_EVENT`, and `OFF`. | +|
string |
+ Size of the compute resources to provision for the first run of the serverless task, before a task history is available for Snowflake to determine an ideal size. | +|
integer |
+ Time limit, in milliseconds, for a single run of the task before it times out. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Database that the schema belongs to | +|
string |
+ Budget that defines a monthly spending limit on the compute costs for a Snowflake account or a custom group of Snowflake objects. | +|
string |
+ Optional comment in which to store information related to the schema. | +|
string (date-time) |
+ Date and time the schema was created. | +|
integer |
+ Number of days for which Time Travel actions (CLONE and UNDROP) can be performed on the schema, as well as specifying the default Time Travel retention time for all tables created in the schema | +|
string |
+ Specifies a default collation specification for all tables added to the schema. You an override the default at the schema and individual table levels. | +|
string (date-time) |
+ Date and time the schema was dropped. | +|
boolean |
+ Current schema for the session. | +|
boolean |
+ Default schema for a user. | +|
string |
+ Schema type, permanent (default) or transient. (default: PERMANENT) | +|
string |
+ Severity level of messages that should be ingested and made available in the active event table. Currently, Snowflake supports only `TRACE`, `DEBUG`, `INFO`, `WARN`, `ERROR`, `FATAL` and `OFF`. | +|
boolean |
+ Whether this schema is a managed access schema that centralizes privilege management with the schema owner. | +|
integer |
+ Maximum number of days for which Snowflake can extend the data retention period for tables in the schema to prevent streams on the tables from becoming stale. | +|
string |
+ + | |
string |
+ Name of the role that owns the schema. | +|
string |
+ Type of role that owns the object, either `ROLE` or `DATABASE_ROLE`. | +|
boolean |
+ Whether pipe execution is paused. | +|
integer |
+ Number of days that historical data is retained for Time Travel. | +|
string |
+ Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
string |
+ Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. | +|
integer |
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. | +|
string |
+ How trace events are ingested into the event table. Currently, Snowflake supports only `ALWAYS`, `ON_EVENT`, and `OFF`. | +|
string |
+ Size of the compute resources to provision for the first run of the serverless task, before a task history is available for Snowflake to determine an ideal size. | +|
integer |
+ Time limit, in milliseconds, for a single run of the task before it times out. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, endpoint | +like, startsWith, showLimit, fromName, history | +Lists the accessible schemas. | +||
database_name, name, endpoint | ++ | Fetches a schema. | +||
database_name, endpoint | +createMode, kind | +Creates a schema, with modifiers as query parameters. You must provide the full schema definition when creating a schema. | +||
database_name, name, endpoint | +kind | +Creates a new, or alters an existing, schema. You must provide the full schema definition even when altering an existing schema. | +||
database_name, name, endpoint | +ifExists, restrict | +Deletes the specified schema. If you enable the `ifExists` parameter, the operation succeeds even if the schema does not exist. Otherwise, a 404 failure is returned if the schema does not exist. if the drop is unsuccessful. | +||
database_name, name, endpoint | +createMode, kind, targetDatabase | +Clones an existing schema, with modifiers as query parameters. You must provide the full schema definition when cloning an existing schema. | +||
database_name, name, endpoint | ++ | Undrops schema. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Whether to include dropped schemas that have not yet been purged. Default: `false`. (default: false) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Type of schema to clone. Currently, Snowflake supports only `transient` and `permanent` (also represented by the empty string). (default: ) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
boolean |
+ Whether to drop the schema if foreign keys exist that reference any tables in the schema. - `true`: Return a warning about existing foreign key references and don't drop the schema. - `false`: Drop the schema and all objects in the database, including tables with primary or unique keys that are referenced by foreign keys in other tables. Default: `false`. (default: false) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +|
string |
+ Database of the newly created schema. Defaults to the source schema's database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
schemas
resource.
values={[
{ label: 'list_schemas', value: 'list_schemas' },
{ label: 'fetch_schema', value: 'fetch_schema' }
- ]
-}>
+ ]}
+>
statements
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ (example: 000123) | +|
integer (int64) |
+ Timestamp that specifies when the statement execution started. The timestamp is expressed in milliseconds since the epoch. | +|
array |
+ Result set data. | +|
string |
+ (example: successfully executed) | +|
object |
+ + | |
string |
+ (example: 42601) | +|
string (uuid) |
+ (example: 536fad38-b564-4dc5-9892-a4543504df6c) | +|
string (uri) |
+ + | |
object |
+ these stats might not be available for each request. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | ++ | Checks the status of the execution of the statement with the specified statement handle. If the statement was executed successfully, the operation returns the requested partition of the result set. | +||
endpoint | ++ | Submits one or more statements for execution. You can specify that the statement should be executed asynchronously. | +||
endpoint | ++ | Cancels the execution of the statement with the specified statement handle. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +
files
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the file. | +|
string |
+ Date and time when the file was last modified. | +|
string |
+ md5 hash of the file. | +|
string |
+ Size of the file. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, name, endpoint | +pattern | +List files in the stage -- this is equivalent to LIST @stage. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ A query parameter that filters the command output by a regular expression pattern. (example: .*data_0.*) | +
presigned_url
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Presigned url for file transfer, only works for Server Side Encrypted Stages. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, name, filePath, endpoint | ++ | Generate a presigned url and optionally encryption materials for uploading and downloading files. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ The full stage path of the file. | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
stages
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Cloud provider; always NULL for an internal stage. | +|
string |
+ Specifies a comment for the stage. | +|
string (date-time) |
+ Date and time when the stage was created. | +|
object |
+ Specifies the credentials of the stage. | +|
object |
+ Directory table parameters of the stage. | +|
object |
+ Encryption parameters of the stage. | +|
string |
+ The S3-compatible API endpoint associated with the stage; always NULL for stages that are not S3-compatible. | +|
boolean |
+ Indicates that the external stage has access credentials; always false for an internal stage. | +|
boolean |
+ Indicates that the external stage contains encrypted files; always false for an internal stage. | +|
string |
+ Specifies whether the stage is permanent or temporary. (default: PERMANENT) | +|
string |
+ Role that owns the stage. | +|
string |
+ The type of role that owns the object, either ROLE or DATABASE_ROLE. If a Snowflake Native App owns the object, the value is APPLICATION. Snowflake returns NULL if you delete the object because a deleted object does not have an owner role. | +|
string |
+ Region where the stage is located. | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ URL for the external stage; blank for an internal stage. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Cloud provider; always NULL for an internal stage. | +|
string |
+ Specifies a comment for the stage. | +|
string (date-time) |
+ Date and time when the stage was created. | +|
object |
+ Specifies the credentials of the stage. | +|
object |
+ Directory table parameters of the stage. | +|
object |
+ Encryption parameters of the stage. | +|
string |
+ The S3-compatible API endpoint associated with the stage; always NULL for stages that are not S3-compatible. | +|
boolean |
+ Indicates that the external stage has access credentials; always false for an internal stage. | +|
boolean |
+ Indicates that the external stage contains encrypted files; always false for an internal stage. | +|
string |
+ Specifies whether the stage is permanent or temporary. (default: PERMANENT) | +|
string |
+ Role that owns the stage. | +|
string |
+ The type of role that owns the object, either ROLE or DATABASE_ROLE. If a Snowflake Native App owns the object, the value is APPLICATION. Snowflake returns NULL if you delete the object because a deleted object does not have an owner role. | +|
string |
+ Region where the stage is located. | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ URL for the external stage; blank for an internal stage. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like | +Lists stages under the database and schema, with show options as query parameters. | +||
database_name, schema_name, name, endpoint | ++ | Fetch a stage using the describe command output. | +||
database_name, schema_name, endpoint | +createMode | +Create a stage, with standard create modifiers as query parameters. See the Stage component definition for what is required to be provided in the request body. | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a stage with the stage name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
stages
resource.
values={[
{ label: 'list_stages', value: 'list_stages' },
{ label: 'fetch_stage', value: 'fetch_stage' }
- ]
-}>
+ ]}
+>
streams
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Database in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Schema in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Table name whose changes are tracked by the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the stream was created. | +|
string |
+ Reason why the stream cannot be queried successfully. This column supports future functionality. Currently, the only value returned is N/A. | +|
string |
+ Mode of the stream. Possible values include: APPEND_ONLY, INSERT_ONLY. For streams on tables, the column displays DEFAULT. | +|
string |
+ Role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether the stream is stale or not | +|
string (date-time) |
+ Timestamp when the stream became stale or may become stale if not consumed. | +|
object |
+ + | |
string |
+ Type of the stream; currently DELTA only. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Database in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Schema in which the stream is stored (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Table name whose changes are tracked by the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the stream was created. | +|
string |
+ Reason why the stream cannot be queried successfully. This column supports future functionality. Currently, the only value returned is N/A. | +|
string |
+ Mode of the stream. Possible values include: APPEND_ONLY, INSERT_ONLY. For streams on tables, the column displays DEFAULT. | +|
string |
+ Role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the stream (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Specifies whether the stream is stale or not | +|
string (date-time) |
+ Timestamp when the stream became stale or may become stale if not consumed. | +|
object |
+ + | |
string |
+ Type of the stream; currently DELTA only. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName | +List streams | +||
database_name, schema_name, name, endpoint | ++ | Fetch a stream | +||
database_name, schema_name, endpoint | +createMode, copyGrants | +Create a stream | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a stream | +||
database_name, schema_name, name, targetDatabase, targetSchema, endpoint | +createMode, copyGrants | +Clone a stream | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Database of the target resource. Defaults to the source's database (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Schema of the target resource. Defaults to the source's schema (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
streams
resource.
values={[
{ label: 'list_streams', value: 'list_streams' },
{ label: 'fetch_stream', value: 'fetch_stream' }
- ]
-}>
+ ]}
+>
tables
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Specifies the name for the table, must be unique for the schema in which the table is created | +|
string |
+ Database in which the table is stored | +|
string |
+ Schema in which the table is stored | +|
boolean |
+ If Automatic Clustering is enabled for your account, specifies whether it is explicitly enabled or disabled for the table. | +|
string |
+ Name of the budget if the object is monitored by a budget | +|
integer (int64) |
+ Number of bytes that will be scanned if the entire table is scanned in a query. Note that this number may be different than the number of actual physical bytes stored on-disk for the table | +|
boolean |
+ Change tracking is enabled or disabled | +|
array |
+ Specifies one or more columns or column expressions in the table as the clustering key | +|
array |
+ + | |
string |
+ Comment for the table | +|
array |
+ + | |
string (date-time) |
+ Date and time when the table was created. | +|
integer |
+ Specifies the retention period for the table so that Time Travel actions SELECT, CLONE, UNDROP can be performed on historical data in the table | +|
string |
+ Specifies a default collation specification for the columns in the table, including columns added to the table in the future | +|
string (date-time) |
+ Date and time when the table was dropped | +|
boolean |
+ Table has schema evolution enabled or disabled | +|
string |
+ Table type - permanent, transient, or temporary (default: PERMANENT) | +|
integer |
+ Specifies the retention period for the table so that Time Travel actions SELECT, CLONE, UNDROP can be performed on historical data in the table | +|
string |
+ Role that owns the table | +|
string |
+ The type of role that owns the object. | +|
integer (int64) |
+ Number of rows in the table. Returns NULL for external tables. | +|
boolean |
+ If ON, the table has the search optimization service enabled | +|
integer (int64) |
+ Number of additional bytes of storage that the search optimization service consumes for this table | +|
integer (int64) |
+ Percentage of the table that has been optimized for search. | +|
string |
+ Type of the table | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Specifies the name for the table, must be unique for the schema in which the table is created | +|
string |
+ Database in which the table is stored | +|
string |
+ Schema in which the table is stored | +|
boolean |
+ If Automatic Clustering is enabled for your account, specifies whether it is explicitly enabled or disabled for the table. | +|
string |
+ Name of the budget if the object is monitored by a budget | +|
integer (int64) |
+ Number of bytes that will be scanned if the entire table is scanned in a query. Note that this number may be different than the number of actual physical bytes stored on-disk for the table | +|
boolean |
+ Change tracking is enabled or disabled | +|
array |
+ Specifies one or more columns or column expressions in the table as the clustering key | +|
array |
+ + | |
string |
+ Comment for the table | +|
array |
+ + | |
string (date-time) |
+ Date and time when the table was created. | +|
integer |
+ Specifies the retention period for the table so that Time Travel actions SELECT, CLONE, UNDROP can be performed on historical data in the table | +|
string |
+ Specifies a default collation specification for the columns in the table, including columns added to the table in the future | +|
string (date-time) |
+ Date and time when the table was dropped | +|
boolean |
+ Table has schema evolution enabled or disabled | +|
string |
+ Table type - permanent, transient, or temporary (default: PERMANENT) | +|
integer |
+ Specifies the retention period for the table so that Time Travel actions SELECT, CLONE, UNDROP can be performed on historical data in the table | +|
string |
+ Role that owns the table | +|
string |
+ The type of role that owns the object. | +|
integer (int64) |
+ Number of rows in the table. Returns NULL for external tables. | +|
boolean |
+ If ON, the table has the search optimization service enabled | +|
integer (int64) |
+ Number of additional bytes of storage that the search optimization service consumes for this table | +|
integer (int64) |
+ Percentage of the table that has been optimized for search. | +|
string |
+ Type of the table | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName, history, deep | +Lists the tables under the database and schema. | +||
database_name, schema_name, name, endpoint | ++ | Fetch a Table using the describe command output. | +||
database_name, schema_name, endpoint | +createMode, copyGrants | +Create a table. | +||
database_name, schema_name, name, endpoint | ++ | Create a (or alter an existing) table. Even if the operation is just an alter, the full property set must be provided. | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a table with the given name. | +||
database_name, schema_name, name, query, endpoint | +createMode, copyGrants | +Create a table as select. | +||
database_name, schema_name, query, endpoint | +createMode, copyGrants | +Create a table as select. | +||
database_name, schema_name, name, query, endpoint | +createMode, copyGrants | +Create a table using template. | +||
database_name, schema_name, query, endpoint | +createMode, copyGrants | +Create a table using template. | +||
database_name, schema_name, name, endpoint | +createMode, copyGrants, targetDatabase, targetSchema | +Create a new table by cloning from the specified resource | +||
database_name, schema_name, name, newTableName, endpoint | +createMode, copyGrants | +Create a new table like the specified resource, but empty | +||
database_name, schema_name, name, endpoint | +createMode, copyGrants | +Create a new table like the specified resource, but empty | +||
database_name, schema_name, name, endpoint | ++ | Undrop specified table | +||
database_name, schema_name, name, endpoint | +ifExists | +Suspend recluster of a table | +||
database_name, schema_name, name, endpoint | +ifExists | +Suspend recluster of a table | +||
database_name, schema_name, name, endpoint | +ifExists | +Resume recluster of a table | +||
database_name, schema_name, name, endpoint | +ifExists | +Resume recluster of a table | +||
database_name, schema_name, name, targetTableName, endpoint | +ifExists | +Swap with another table | +||
database_name, schema_name, name, targetName, endpoint | +ifExists, targetDatabase, targetSchema | +Swap with another table | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The name of the table to be created. | +|
string |
+ The SQL query that uses INFER_SCHEMA on staged files to set the column definitions for the new table. | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The name of the target table to be swapped with. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The fully-specified name of the target table to be swapped with. | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Optionally includes dependency information of the table. | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Optionally includes dropped tables that have not yet been purged. | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +|
string |
+ Database of the target table. Defaults to the source table's database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Schema of the target table. Defaults to the source table's schema. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
tables
resource.
values={[
{ label: 'list_tables', value: 'list_tables' },
{ label: 'fetch_table', value: 'fetch_table' }
- ]
-}>
+ ]}
+>
complete_graphs
resource
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ The unique task ID for the root task. | +|
integer |
+ The unique ID for the current task run. | +|
string |
+ The name of the current database for the task run. | +|
string |
+ The name of the first task throwing an error in the task run. | +|
string |
+ The name of the root task in the current task run. | +|
string |
+ The name of the current schema for the task run. | +|
string (date-time) |
+ The time this task run was last completed. | +|
integer |
+ The first error code thrown in the task run. | +|
string |
+ The first error message thrown in the task run. | +|
integer |
+ The current version of the DAG on the task run. | +|
string (date-time) |
+ The next upcoming time for the task run. | +|
string (date-time) |
+ The start time for the task run query. | +|
string (date-time) |
+ The scheduled time for the task run. | +|
string |
+ The current state of the task run. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ The unique task ID for the root task. | +|
integer |
+ The unique ID for the current task run. | +|
string |
+ The name of the current database for the task run. | +|
string |
+ The name of the first task throwing an error in the task run. | +|
string |
+ The name of the root task in the current task run. | +|
string |
+ The name of the current schema for the task run. | +|
string (date-time) |
+ The time this task run was last completed. | +|
integer |
+ The first error code thrown in the task run. | +|
string |
+ The first error message thrown in the task run. | +|
integer |
+ The current version of the DAG on the task run. | +|
string (date-time) |
+ The next upcoming time for the task run. | +|
string (date-time) |
+ The start time for the task run query. | +|
string (date-time) |
+ The scheduled time for the task run. | +|
string |
+ The current state of the task run. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, name, endpoint | +resultLimit, errorOnly | +This function returns details for graph runs that are completed. | +||
database_name, schema_name, name, endpoint | +resultLimit, errorOnly | +This function returns details for graph runs that are completed. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Whether to only return results for tasks runs that have failed. Default is false. | +|
integer |
+ Number of results to return, at most. Default is 1000, valid range is 1 to 10000. | +
current_graphs
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ The unique task ID for the root task. | +|
integer |
+ The unique ID for the current task run. | +|
string |
+ The name of the current database for the task run. | +|
string |
+ The name of the first task throwing an error in the task run. | +|
string |
+ The name of the root task in the current task run. | +|
string |
+ The name of the current schema for the task run. | +|
string (date-time) |
+ The time this task run was last completed. | +|
integer |
+ The first error code thrown in the task run. | +|
string |
+ The first error message thrown in the task run. | +|
integer |
+ The current version of the DAG on the task run. | +|
string (date-time) |
+ The next upcoming time for the task run. | +|
string (date-time) |
+ The start time for the task run query. | +|
string (date-time) |
+ The scheduled time for the task run. | +|
string |
+ The current state of the task run. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ The unique task ID for the root task. | +|
integer |
+ The unique ID for the current task run. | +|
string |
+ The name of the current database for the task run. | +|
string |
+ The name of the first task throwing an error in the task run. | +|
string |
+ The name of the root task in the current task run. | +|
string |
+ The name of the current schema for the task run. | +|
string (date-time) |
+ The time this task run was last completed. | +|
integer |
+ The first error code thrown in the task run. | +|
string |
+ The first error message thrown in the task run. | +|
integer |
+ The current version of the DAG on the task run. | +|
string (date-time) |
+ The next upcoming time for the task run. | +|
string (date-time) |
+ The start time for the task run query. | +|
string (date-time) |
+ The scheduled time for the task run. | +|
string |
+ The current state of the task run. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, name, endpoint | +resultLimit | +This function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days. | +||
database_name, schema_name, name, endpoint | +resultLimit | +This function returns details for graph runs that are currently executing or are next scheduled to run within the next 8 days. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
integer |
+ + |
dependents
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ An ID for the current task. | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The name of the parent database for the task. | +|
string |
+ The name of the parent schema for the task. | +|
boolean |
+ Specifies whether to allow multiple instances of the DAG to run concurrently. | +|
string |
+ Specifies a comment for the task. | +|
string |
+ Specifies a Boolean SQL expression condition; multiple conditions joined with AND/OR are supported | +|
object |
+ Task Config | +|
string (date-time) |
+ The time the task was created on. | +|
string |
+ The SQL definition for the task. Any one of single SQL statement, call to stored procedure, or procedural logic using Snowflake scripting. | +|
string |
+ Specifies the name of the notification integration used to communicate with Amazon SNS, MS Azure Event Grid, or Google Pub/Sub. | +|
string |
+ Specifies the name of the root task that the finalizer task is associated with. | +|
string (date-time) |
+ The time the task was last committed on. | +|
string (date-time) |
+ The time the task was last suspended on. | +|
string |
+ The role that owns the task. | +|
string |
+ The role type of the task owner. | +|
array |
+ Specifies one or more predecessor tasks for the current task | +|
object |
+ Specifies the schedule for periodically running the task. | +|
string |
+ Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. This parameter only applies to serverless tasks. | +|
string |
+ Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. This parameter only applies to serverless tasks. | +|
object |
+ Session Parameters for the task at runtime. | +|
string |
+ The state of the task. Must be one of started or suspended. | +|
integer |
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. | +|
object |
+ Specifies the schedule for periodically running the task. | +|
integer |
+ Root task settable only. Specifies the number of automatic task graph retry attempts. Valid range is 0 to 30. When not specified, no retry would happen. | +|
string |
+ Displays the relationship between the root task and its corresponding finalizer tasks. | +|
string |
+ Specifies the size of the compute resources to provision for the first run of the task. This parameter only applies to serverless tasks. | +|
integer |
+ Specifies the time limit on a single run of the task before it times out (in milliseconds). | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, name, endpoint | +recursive | +This operation returns a list of the dependent tasks of the task with identifier {name}. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Specifies whether to limit the output to include only direct child tasks or to include all recursive child tasks. (default: true) | +
tasks
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ An ID for the current task. | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The name of the parent database for the task. | +|
string |
+ The name of the parent schema for the task. | +|
boolean |
+ Specifies whether to allow multiple instances of the DAG to run concurrently. | +|
string |
+ Specifies a comment for the task. | +|
string |
+ Specifies a Boolean SQL expression condition; multiple conditions joined with AND/OR are supported | +|
object |
+ Task Config | +|
string (date-time) |
+ The time the task was created on. | +|
string |
+ The SQL definition for the task. Any one of single SQL statement, call to stored procedure, or procedural logic using Snowflake scripting. | +|
string |
+ Specifies the name of the notification integration used to communicate with Amazon SNS, MS Azure Event Grid, or Google Pub/Sub. | +|
string |
+ Specifies the name of the root task that the finalizer task is associated with. | +|
string (date-time) |
+ The time the task was last committed on. | +|
string (date-time) |
+ The time the task was last suspended on. | +|
string |
+ The role that owns the task. | +|
string |
+ The role type of the task owner. | +|
array |
+ Specifies one or more predecessor tasks for the current task | +|
object |
+ Specifies the schedule for periodically running the task. | +|
string |
+ Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. This parameter only applies to serverless tasks. | +|
string |
+ Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. This parameter only applies to serverless tasks. | +|
object |
+ Session Parameters for the task at runtime. | +|
string |
+ The state of the task. Must be one of started or suspended. | +|
integer |
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. | +|
object |
+ Specifies the schedule for periodically running the task. | +|
integer |
+ Root task settable only. Specifies the number of automatic task graph retry attempts. Valid range is 0 to 30. When not specified, no retry would happen. | +|
string |
+ Displays the relationship between the root task and its corresponding finalizer tasks. | +|
string |
+ Specifies the size of the compute resources to provision for the first run of the task. This parameter only applies to serverless tasks. | +|
integer |
+ Specifies the time limit on a single run of the task before it times out (in milliseconds). | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ An ID for the current task. | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ The name of the parent database for the task. | +|
string |
+ The name of the parent schema for the task. | +|
boolean |
+ Specifies whether to allow multiple instances of the DAG to run concurrently. | +|
string |
+ Specifies a comment for the task. | +|
string |
+ Specifies a Boolean SQL expression condition; multiple conditions joined with AND/OR are supported | +|
object |
+ Task Config | +|
string (date-time) |
+ The time the task was created on. | +|
string |
+ The SQL definition for the task. Any one of single SQL statement, call to stored procedure, or procedural logic using Snowflake scripting. | +|
string |
+ Specifies the name of the notification integration used to communicate with Amazon SNS, MS Azure Event Grid, or Google Pub/Sub. | +|
string |
+ Specifies the name of the root task that the finalizer task is associated with. | +|
string (date-time) |
+ The time the task was last committed on. | +|
string (date-time) |
+ The time the task was last suspended on. | +|
string |
+ The role that owns the task. | +|
string |
+ The role type of the task owner. | +|
array |
+ Specifies one or more predecessor tasks for the current task | +|
object |
+ Specifies the schedule for periodically running the task. | +|
string |
+ Specifies the maximum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. This parameter only applies to serverless tasks. | +|
string |
+ Specifies the minimum allowed warehouse size for the serverless task. Minimum XSMALL, Maximum XXLARGE. This parameter only applies to serverless tasks. | +|
object |
+ Session Parameters for the task at runtime. | +|
string |
+ The state of the task. Must be one of started or suspended. | +|
integer |
+ Specifies the number of consecutive failed task runs after which the current task is suspended automatically. | +|
object |
+ Specifies the schedule for periodically running the task. | +|
integer |
+ Root task settable only. Specifies the number of automatic task graph retry attempts. Valid range is 0 to 30. When not specified, no retry would happen. | +|
string |
+ Displays the relationship between the root task and its corresponding finalizer tasks. | +|
string |
+ Specifies the size of the compute resources to provision for the first run of the task. This parameter only applies to serverless tasks. | +|
integer |
+ Specifies the time limit on a single run of the task before it times out (in milliseconds). | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +rootOnly, like, startsWith, showLimit, fromName | +Lists tasks under the database and schema, with show options as query parameters. | +||
database_name, schema_name, name, endpoint | ++ | Fetch a task using the describe command output. | +||
database_name, schema_name, endpoint | +createMode | +Create a task, with standard create modifiers as query parameters. See the Task component definition for what is required to be provided in the request body. | +||
database_name, schema_name, name, endpoint | ++ | Create a (or alter an existing) task. Even if the operation is just an alter, the full property set must be provided. | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a task with the task name. If ifExists is used, the operation will succeed even if the object does not exist. Otherwise, there will be a failure if the drop is unsuccessful. | +||
database_name, schema_name, name, endpoint | +asyncExec, retryLast | +Execute a task -- this is equivalent to EXECUTE IMMEDIATE. | +||
database_name, schema_name, name, endpoint | ++ | Resumes a suspended task object. This is equivalento an ALTER TASK ... RESUME. | +||
database_name, schema_name, name, endpoint | ++ | Suspends a running task. This is equivalent to an ALTER TASK ... SUSPEND. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Asynchronous execution enable/disable. Default is disable. (default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
boolean |
+ Retry the last failed run of the DAG. (default: false) | +|
boolean |
+ Query parameter to filter the command output to return only root resources (resources with no predecessors). (example: false, default: false) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
tasks
resource.
values={[
{ label: 'list_tasks', value: 'list_tasks' },
{ label: 'fetch_task', value: 'fetch_task' }
- ]
-}>
+ ]}
+>
grants
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
object |
+ + | |
string (date-time) |
+ Date and time when the grant was created | +|
string |
+ The role that granted this privilege to this grantee | +|
array |
+ List of privileges to be granted. | +|
object |
+ + | |
string |
+ Type of the securable to be granted. Only ROLE is supported | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
name, endpoint | +showLimit | +List all grants to the user | +||
name, endpoint | ++ | Grant a role to the user | +||
name, endpoint | ++ | Revoke grants from the user | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +
users
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ User name (example: jackpatel) | +|
string |
+ Display name | +|
string |
+ First name | +|
string |
+ Last name | +|
string |
+ Login name | +|
string |
+ Middle name | +|
string |
+ Comment about the user. (example: A distinguished user) | +|
string (date-time) |
+ + | |
string |
+ + | |
boolean |
+ Whether or not to flush the custom landing page of the user on next UI load | +|
integer |
+ How many days until this user expires | +|
string |
+ The default namespace to use when this user starts a session | +|
string |
+ The default role to use when this user starts a session | +|
string |
+ The default secondary roles of this user to use when starting a session. Only valid set values are ALL or NONE. Default is ALL after 2024-07 BCR. (default: ALL) | +|
string |
+ The default warehouse to use when this user starts a session | +|
boolean |
+ Has this user been disabled from the system | +|
string |
+ Email address | +|
boolean |
+ Whether to show unredacted query syntax errors in the query history. | +|
string (date-time) |
+ + | |
boolean |
+ + | |
string |
+ + | |
boolean |
+ + | |
boolean |
+ + | |
string (date-time) |
+ + | |
string (date-time) |
+ + | |
integer |
+ How many minutes until MFA is required again | +|
integer |
+ Temporary bypass network policy on the user for a specified number of minutes | +|
integer |
+ How many minutes until the account is unlocked after multiple failed logins | +|
boolean |
+ Does this user need to change their password (e.g., after assigning a temp password) | +|
string |
+ Specifies an existing network policy is active for the user. Otherwise, use account default. | +|
string |
+ + | |
string (password) |
+ Password | +|
string (date-time) |
+ + | |
string |
+ RSA public key of the user | +|
string |
+ Second RSA public key of the user | +|
string |
+ Fingerprint of the user's second RSA public key | +|
string |
+ Fingerprint of the user's RSA public key | +|
boolean |
+ Whether the user, account, or organization is locked by Snowflake. | +|
boolean |
+ Whether Snowflake Support is allowed to use the user or account | +|
string |
+ Indicates the type of user (PERSON | SERVICE | LEGACY_SERVICE) | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ User name (example: jackpatel) | +|
string |
+ Display name | +|
string |
+ First name | +|
string |
+ Last name | +|
string |
+ Login name | +|
string |
+ Middle name | +|
string |
+ Comment about the user. (example: A distinguished user) | +|
string (date-time) |
+ + | |
string |
+ + | |
boolean |
+ Whether or not to flush the custom landing page of the user on next UI load | +|
integer |
+ How many days until this user expires | +|
string |
+ The default namespace to use when this user starts a session | +|
string |
+ The default role to use when this user starts a session | +|
string |
+ The default secondary roles of this user to use when starting a session. Only valid set values are ALL or NONE. Default is ALL after 2024-07 BCR. (default: ALL) | +|
string |
+ The default warehouse to use when this user starts a session | +|
boolean |
+ Has this user been disabled from the system | +|
string |
+ Email address | +|
boolean |
+ Whether to show unredacted query syntax errors in the query history. | +|
string (date-time) |
+ + | |
boolean |
+ + | |
string |
+ + | |
boolean |
+ + | |
boolean |
+ + | |
string (date-time) |
+ + | |
string (date-time) |
+ + | |
integer |
+ How many minutes until MFA is required again | +|
integer |
+ Temporary bypass network policy on the user for a specified number of minutes | +|
integer |
+ How many minutes until the account is unlocked after multiple failed logins | +|
boolean |
+ Does this user need to change their password (e.g., after assigning a temp password) | +|
string |
+ Specifies an existing network policy is active for the user. Otherwise, use account default. | +|
string |
+ + | |
string (password) |
+ Password | +|
string (date-time) |
+ + | |
string |
+ RSA public key of the user | +|
string |
+ Second RSA public key of the user | +|
string |
+ Fingerprint of the user's second RSA public key | +|
string |
+ Fingerprint of the user's RSA public key | +|
boolean |
+ Whether the user, account, or organization is locked by Snowflake. | +|
boolean |
+ Whether Snowflake Support is allowed to use the user or account | +|
string |
+ Indicates the type of user (PERSON | SERVICE | LEGACY_SERVICE) | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like, startsWith, showLimit, fromName | +Lists the users in the system. | +||
name, endpoint | ++ | Fetch user information using the result of the DESCRIBE command | +||
endpoint | +createMode | +Create a user according to the parameters given | +||
name, endpoint | ++ | Create a (or alter an existing) user. Even if the operation is just an alter, the full property set must be provided. Note that password is not currently altered by this operation but is supported for a newly-created object. | +||
name, endpoint | +ifExists | +Delete a user with the given name. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
users
resource.
values={[
{ label: 'list_users', value: 'list_users' },
{ label: 'fetch_user', value: 'fetch_user' }
- ]
-}>
+ ]}
+>
user_defined_functions
r
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ The name of the UDF (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ List of arguments for the function/procedure | +|
string |
+ Function/procedure definition | +|
string |
+ Specifies a comment for the function/procedure | +|
string (date-time) |
+ The date and time when the function/procedure was created | +|
boolean |
+ Specifies whether the UDF is an aggregate function. Applicable only for Python language type | +|
boolean |
+ If the function/procedure is built-in or not (user-defined) | +|
boolean |
+ Indicates whether the function is memoizable. Applicable only for Python language type. | +|
boolean |
+ Specifies whether the function/procedure is secure or not | +|
boolean |
+ True if the UDF is a table function; false otherwise. | +|
boolean |
+ Specifies whether the UDF is temporary or not | +|
object |
+ + | |
integer |
+ The maximum number of arguments | +|
integer |
+ The minimum number of arguments | +|
string |
+ Role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
object |
+ + | |
boolean |
+ True if the UDF is valid for clustering; false otherwise. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ The name of the UDF (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the database in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The name of the schema in which the function/procedure exists. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
array |
+ List of arguments for the function/procedure | +|
string |
+ Function/procedure definition | +|
string |
+ Specifies a comment for the function/procedure | +|
string (date-time) |
+ The date and time when the function/procedure was created | +|
boolean |
+ Specifies whether the UDF is an aggregate function. Applicable only for Python language type | +|
boolean |
+ If the function/procedure is built-in or not (user-defined) | +|
boolean |
+ Indicates whether the function is memoizable. Applicable only for Python language type. | +|
boolean |
+ Specifies whether the function/procedure is secure or not | +|
boolean |
+ True if the UDF is a table function; false otherwise. | +|
boolean |
+ Specifies whether the UDF is temporary or not | +|
object |
+ + | |
integer |
+ The maximum number of arguments | +|
integer |
+ The minimum number of arguments | +|
string |
+ Role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ The type of role that owns the function/procedure (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
object |
+ + | |
boolean |
+ True if the UDF is valid for clustering; false otherwise. | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like | +List UDFs | +||
database_name, schema_name, nameWithArgs, endpoint | ++ | Fetch a UDF | +||
database_name, schema_name, endpoint | +createMode, copyGrants | +Create a UDF | +||
database_name, schema_name, nameWithArgs, endpoint | +ifExists | +Delete a UDF | +||
database_name, schema_name, nameWithArgs, targetDatabase, targetSchema, targetName, endpoint | +ifExists | +Rename a UDF | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Function's name with Args (example: foo(a number, b number)) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Database of the target resource. Defaults to the source's database (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Name of the target resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
string |
+ Schema of the target resource. Defaults to the source's schema (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$) | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
user_defined_functions
r
values={[
{ label: 'list_user_defined_functions', value: 'list_user_defined_functions' },
{ label: 'fetch_user_defined_function', value: 'fetch_user_defined_function' }
- ]
-}>
+ ]}
+>
views
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the view | +|
string |
+ Database in which the view is stored | +|
string |
+ Schema in which the view is stored | +|
array |
+ The columns of the view | +|
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the view was created. | +|
string |
+ Kind of the view, permanent (default) or temporary | +|
string |
+ Role that owns the view | +|
string |
+ The type of role that owns the view | +|
string |
+ Query used to create the view | +|
boolean |
+ Whether or not this view can refer to itself using recursive syntax withot requiring a CTE (common table expression) | +|
boolean |
+ Whether or not this view is secure | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Name of the view | +|
string |
+ Database in which the view is stored | +|
string |
+ Schema in which the view is stored | +|
array |
+ The columns of the view | +|
string |
+ user comment associated to an object in the dictionary | +|
string (date-time) |
+ Date and time when the view was created. | +|
string |
+ Kind of the view, permanent (default) or temporary | +|
string |
+ Role that owns the view | +|
string |
+ The type of role that owns the view | +|
string |
+ Query used to create the view | +|
boolean |
+ Whether or not this view can refer to itself using recursive syntax withot requiring a CTE (common table expression) | +|
boolean |
+ Whether or not this view is secure | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
database_name, schema_name, endpoint | +like, startsWith, showLimit, fromName, deep | +List views | +||
database_name, schema_name, name, endpoint | ++ | Fetch a view | +||
database_name, schema_name, endpoint | +createMode, copyGrants | +Create a view | +||
database_name, schema_name, name, endpoint | +ifExists | +Delete a view | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Identifier (i.e. name) for the database to which the resource belongs. You can use the `/api/v2/databases` GET request to get a list of available databases. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Identifier (i.e. name) for the schema to which the resource belongs. You can use the `/api/v2/databases/{database}/schemas` GET request to get a list of available schemas for the specified database. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
boolean |
+ Query parameter to enable copy grants when creating the object. (example: false, default: false) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Optionally includes dependency information of the view. | +|
string |
+ Query parameter to enable fetching rows only following the first row whose object name matches the specified string. Case-sensitive and does not have to be the full name. (example: from_test) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +|
integer |
+ Query parameter to limit the maximum number of rows returned by a command. (example: 10, minimum: 1, maximum: 10000) | +|
string |
+ Query parameter to filter the command output based on the string of characters that appear at the beginning of the object name. Uses case-sensitive pattern matching. (example: test) | +
views
resource.
values={[
{ label: 'list_views', value: 'list_views' },
{ label: 'fetch_view', value: 'fetch_view' }
- ]
-}>
+ ]}
+>
warehouses
resource.
## Fields
-| Name | Datatype | Description |
-|:-----|:---------|:------------|
-| Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Specifies whether to automatically resume a warehouse when a SQL statement is submitted to it | +|
integer (int32) |
+ time in seconds before auto suspend | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are provisioned and available. | +|
string |
+ Comment representing budget for warehouse. | +|
string (comment) |
+ Specifies a comment for the warehouse | +|
string (date-time) |
+ Date and time when the warehouse was created. | +|
string |
+ Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources | +|
string |
+ Specifies whether the warehouse is created initially in the Suspended state | +|
boolean |
+ Whether the warehouse is in use for the session. Only one warehouse can be in use at a time for a session. To specify or change the warehouse for a session, use the USE WAREHOUSE command. | +|
boolean |
+ Whether the warehouse is the default for the current user. | +|
string (warehouse) |
+ + | |
integer (int32) |
+ Specifies the maximum number of clusters for a multi-cluster warehouse | +|
integer (int32) |
+ Object parameter that specifies the concurrency level for SQL statements executed by a warehouse cluster | +|
integer (int32) |
+ Specifies the minimum number of clusters for a multi-cluster warehouse | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are in a state other than available, provisioning, or quiescing. | +|
string (role name) |
+ Role that owns the warehouse. | +|
string |
+ The type of role that owns the object. | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are in the process of provisioning. | +|
integer (int32) |
+ Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size | +|
integer (int32) |
+ Number of SQL statements that are queued for the warehouse. | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are executing SQL statements, but will be shut down once the queries complete. | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string (date-time) |
+ Date and time when the warehouse was last started or restarted. | +|
integer (int32) |
+ Number of SQL statements that are being executed by the warehouse. | +|
string |
+ Scaling policy of warehouse, possible scaling policies: STANDARD, ECONOMY | +|
string |
+ [Deprecated] names of size: X-Small, Small, Medium, Large, X-Large, 2X-Large, 3X-Large, 4X-Large, 5X-Large, 6X-Large | +|
integer (int32) |
+ Number of clusters currently started. | +|
string |
+ The state of warehouse, possible states: STARTED, STARTING, DYNAMIC, SUSPENDED, RESIZING, RESUMING, SUSPENDING | +|
integer (int32) |
+ Object parameter that specifies the time, in seconds, a SQL statement can be queued on a warehouse before it is canceled by the system | +|
integer (int32) |
+ Object parameter that specifies the time, in seconds, after which a running SQL statement is canceled by the system | +|
string |
+ Names of size: X-Small, Small, Medium, Large, X-Large, 2X-Large, 3X-Large, 4X-Large, 5X-Large, 6X-Large | +|
string |
+ [Deprecated] Type of warehouse, possible types: STANDARD, SNOWPARK-OPTIMIZED | +|
string (date-time) |
+ Date and time when the warehouse was last updated, which includes changing any of the properties of the warehouse or changing the state (STARTED, SUSPENDED, RESIZING) of the warehouse. | +|
string |
+ When resizing a warehouse, you can use this parameter to block the return of the ALTER WAREHOUSE command until the resize has finished provisioning all its compute resources | +|
integer (int64) |
+ Credit limit that are can be executed by the warehouse. | +|
string |
+ Size of warehouse, possible sizes: XSMALL, SMALL, MEDIUM, LARGE, XLARGE, XXLARGE, XXXLARGE, X4LARGE, X5LARGE, X6LARGE | +|
string |
+ Type of warehouse, possible types: STANDARD, SNOWPARK-OPTIMIZED | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Specifies whether to automatically resume a warehouse when a SQL statement is submitted to it | +|
integer (int32) |
+ time in seconds before auto suspend | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are provisioned and available. | +|
string |
+ Comment representing budget for warehouse. | +|
string (comment) |
+ Specifies a comment for the warehouse | +|
string (date-time) |
+ Date and time when the warehouse was created. | +|
string |
+ Specifies whether to enable the query acceleration service for queries that rely on this warehouse for compute resources | +|
string |
+ Specifies whether the warehouse is created initially in the Suspended state | +|
boolean |
+ Whether the warehouse is in use for the session. Only one warehouse can be in use at a time for a session. To specify or change the warehouse for a session, use the USE WAREHOUSE command. | +|
boolean |
+ Whether the warehouse is the default for the current user. | +|
string (warehouse) |
+ + | |
integer (int32) |
+ Specifies the maximum number of clusters for a multi-cluster warehouse | +|
integer (int32) |
+ Object parameter that specifies the concurrency level for SQL statements executed by a warehouse cluster | +|
integer (int32) |
+ Specifies the minimum number of clusters for a multi-cluster warehouse | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are in a state other than available, provisioning, or quiescing. | +|
string (role name) |
+ Role that owns the warehouse. | +|
string |
+ The type of role that owns the object. | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are in the process of provisioning. | +|
integer (int32) |
+ Specifies the maximum scale factor for leasing compute resources for query acceleration. The scale factor is used as a multiplier based on warehouse size | +|
integer (int32) |
+ Number of SQL statements that are queued for the warehouse. | +|
string (Percentage) |
+ Percentage of the warehouse compute resources that are executing SQL statements, but will be shut down once the queries complete. | +|
string |
+ A Snowflake object identifier. If the identifier contains spaces or special characters, the entire string must be enclosed in double quotes. Identifiers enclosed in double quotes are also case-sensitive. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string (date-time) |
+ Date and time when the warehouse was last started or restarted. | +|
integer (int32) |
+ Number of SQL statements that are being executed by the warehouse. | +|
string |
+ Scaling policy of warehouse, possible scaling policies: STANDARD, ECONOMY | +|
string |
+ [Deprecated] names of size: X-Small, Small, Medium, Large, X-Large, 2X-Large, 3X-Large, 4X-Large, 5X-Large, 6X-Large | +|
integer (int32) |
+ Number of clusters currently started. | +|
string |
+ The state of warehouse, possible states: STARTED, STARTING, DYNAMIC, SUSPENDED, RESIZING, RESUMING, SUSPENDING | +|
integer (int32) |
+ Object parameter that specifies the time, in seconds, a SQL statement can be queued on a warehouse before it is canceled by the system | +|
integer (int32) |
+ Object parameter that specifies the time, in seconds, after which a running SQL statement is canceled by the system | +|
string |
+ Names of size: X-Small, Small, Medium, Large, X-Large, 2X-Large, 3X-Large, 4X-Large, 5X-Large, 6X-Large | +|
string |
+ [Deprecated] Type of warehouse, possible types: STANDARD, SNOWPARK-OPTIMIZED | +|
string (date-time) |
+ Date and time when the warehouse was last updated, which includes changing any of the properties of the warehouse or changing the state (STARTED, SUSPENDED, RESIZING) of the warehouse. | +|
string |
+ When resizing a warehouse, you can use this parameter to block the return of the ALTER WAREHOUSE command until the resize has finished provisioning all its compute resources | +|
integer (int64) |
+ Credit limit that are can be executed by the warehouse. | +|
string |
+ Size of warehouse, possible sizes: XSMALL, SMALL, MEDIUM, LARGE, XLARGE, XXLARGE, XXXLARGE, X4LARGE, X5LARGE, X6LARGE | +|
string |
+ Type of warehouse, possible types: STANDARD, SNOWPARK-OPTIMIZED | +
Name | +Accessible by | +Required Params | +Optional Params | +Description | +
---|---|---|---|---|
endpoint | +like | +Show a list of warehouse filtered by pattern. Equivalent to SHOW WAREHOUSE in SQL. | +||
name, endpoint | ++ | Describes the warehouse, show information of the chosen warehouse. Equivalent to DESCRIBE WAREHOUSE in SQL. | +||
endpoint | +createMode | +Create a virtual warehouse. Equivalent to CREATE WAREHOUSE in SQL. | +||
name, endpoint | ++ | Create a (or alter an existing) warehouse. Even if the operation is just an alter, the full property set must be provided. | +||
name, endpoint | +ifExists | +Removes the specified virtual warehouse from the system. Equivalent to DROP WAREHOUSE in SQL. | +||
name, endpoint | +ifExists | +Bring current warehouse to a usable ‘Running’ state by provisioning compute resources if current warehouse is suspended. | +||
name, endpoint | +ifExists | +Remove all compute nodes from a warehouse and put the warehouse into a ‘Suspended’ state if current warehouse is not suspended. | +||
name, endpoint | +ifExists | +Specifies a new identifier for the warehouse; must be unique for current account. | +||
name, endpoint | +ifExists | +Aborts all the queries currently running or queued on the warehouse. | +||
name, endpoint | ++ | [Deprecated] Specifies the active/current warehouse for the session. | +||
name, endpoint | +ifExists | +Enable an adaptive warehouse and put the warehouse into a ‘enabled’ state, if the warehouse is not enabled. | +||
name, endpoint | +ifExists | +Disable an adaptive warehouse and put the warehouse into a ‘disabled’ state, if the warehouse is not disabled. | +
Name | +Datatype | +Description | +
---|---|---|
string |
+ Organization and Account Name (default: orgid-acctid) | +|
string |
+ Identifier (i.e. name) for the resource. (pattern: ^"([^"]|"")+"|[a-zA-Z_][a-zA-Z0-9_$]*$, example: TEST_NAME) | +|
string |
+ Query parameter allowing support for different modes of resource creation. Possible values include: - `errorIfExists`: Throws an error if you try to create a resource that already exists. - `orReplace`: Automatically replaces the existing resource with the current one. - `ifNotExists`: Creates a new resource when an alter is requested for a non-existent resource. (enum: [errorIfExists, orReplace, ifNotExists], example: ifNotExists, default: errorIfExists) | +|
boolean |
+ Query parameter that specifies how to handle the request for a resource that does not exist: - `true`: The endpoint does not throw an error if the resource does not exist. It returns a 200 success response, but does not take any action on the resource. - `false`: The endpoint throws an error if the resource doesn't exist. (example: true, default: false) | +|
string |
+ Query parameter to filter the command output by resource name. Uses case-insensitive pattern matching, with support for SQL wildcard characters. (example: test_%) | +
warehouses
resource.
values={[
{ label: 'list_warehouses', value: 'list_warehouses' },
{ label: 'fetch_warehouse', value: 'fetch_warehouse' }
- ]
-}>
+ ]}
+>