Skip to content

Commit

Permalink
Add missing Connection.getServiceName type definition (#923)
Browse files Browse the repository at this point in the history
  • Loading branch information
felipecsl authored Oct 1, 2024
1 parent b5e084f commit df2ace7
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -297,7 +297,7 @@ declare module 'snowflake-sdk' {
browserActionTimeout?: number;

/**
* Specifies the lists of hosts that the driver should connect to directly, bypassing the proxy server (e.g. *.amazonaws.com to bypass Amazon S3 access). For multiple hosts, separate the hostnames with a pipe symbol (|).
* Specifies the lists of hosts that the driver should connect to directly, bypassing the proxy server (e.g. *.amazonaws.com to bypass Amazon S3 access). For multiple hosts, separate the hostnames with a pipe symbol (|).
* You can also use an asterisk as a wild card. For example: noProxy: "*.amazonaws.com|*.my_company.com"
*/
noProxy?: string;
Expand Down Expand Up @@ -474,7 +474,7 @@ declare module 'snowflake-sdk' {
disableConsoleLogin?: boolean;

/**
* Turn on the validation function which checks whether all the connection configuration from users are valid or not.
* Turn on the validation function which checks whether all the connection configuration from users are valid or not.
*/
validateDefaultParameters?: boolean;

Expand Down Expand Up @@ -570,6 +570,11 @@ declare module 'snowflake-sdk' {
*/
getResultsFromQueryId(options: StatementOption): Promise<RowStatement | FileAndStageBindStatement>;

/**
* Returns the value of the SERVICE_NAME parameter
*/
getServiceName(): string;

/**
* Checks whether the given status is currently running.
*/
Expand Down

0 comments on commit df2ace7

Please sign in to comment.