@pulumi/snowflake 2.5.0-alpha.1756327504 → 2.5.0-alpha.1756507143
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/account.js +39 -39
- package/account.js.map +1 -1
- package/accountAuthenticationPolicyAttachment.js +4 -4
- package/accountAuthenticationPolicyAttachment.js.map +1 -1
- package/accountParameter.js +7 -7
- package/accountParameter.js.map +1 -1
- package/accountPasswordPolicyAttachment.js +4 -4
- package/accountPasswordPolicyAttachment.js.map +1 -1
- package/accountRole.js +7 -7
- package/accountRole.js.map +1 -1
- package/alert.js +25 -25
- package/alert.js.map +1 -1
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +29 -29
- package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
- package/apiAuthenticationIntegrationWithClientCredentials.js +27 -27
- package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
- package/apiAuthenticationIntegrationWithJwtBearer.js +30 -30
- package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
- package/apiIntegration.js +33 -33
- package/apiIntegration.js.map +1 -1
- package/authenticationPolicy.js +24 -24
- package/authenticationPolicy.js.map +1 -1
- package/computePool.js +25 -25
- package/computePool.js.map +1 -1
- package/config/vars.d.ts +36 -84
- package/config/vars.js +7 -14
- package/config/vars.js.map +1 -1
- package/cortexSearchService.js +30 -30
- package/cortexSearchService.js.map +1 -1
- package/currentAccount.js +247 -247
- package/currentAccount.js.map +1 -1
- package/currentOrganizationAccount.js +246 -246
- package/currentOrganizationAccount.js.map +1 -1
- package/database.js +44 -44
- package/database.js.map +1 -1
- package/databaseRole.js +10 -10
- package/databaseRole.js.map +1 -1
- package/dynamicTable.js +39 -39
- package/dynamicTable.js.map +1 -1
- package/emailNotificationIntegration.js +11 -11
- package/emailNotificationIntegration.js.map +1 -1
- package/execute.js +10 -10
- package/execute.js.map +1 -1
- package/externalFunction.js +43 -43
- package/externalFunction.js.map +1 -1
- package/externalOauthIntegration.js +42 -42
- package/externalOauthIntegration.js.map +1 -1
- package/externalTable.js +38 -38
- package/externalTable.js.map +1 -1
- package/externalVolume.js +13 -13
- package/externalVolume.js.map +1 -1
- package/failoverGroup.js +20 -20
- package/failoverGroup.js.map +1 -1
- package/fileFormat.js +77 -77
- package/fileFormat.js.map +1 -1
- package/functionJava.js +51 -51
- package/functionJava.js.map +1 -1
- package/functionJavascript.js +37 -37
- package/functionJavascript.js.map +1 -1
- package/functionPython.js +52 -52
- package/functionPython.js.map +1 -1
- package/functionScala.js +52 -52
- package/functionScala.js.map +1 -1
- package/functionSql.js +35 -35
- package/functionSql.js.map +1 -1
- package/gitRepository.js +22 -22
- package/gitRepository.js.map +1 -1
- package/grantAccountRole.js +8 -8
- package/grantAccountRole.js.map +1 -1
- package/grantApplicationRole.js +8 -8
- package/grantApplicationRole.js.map +1 -1
- package/grantDatabaseRole.js +10 -10
- package/grantDatabaseRole.js.map +1 -1
- package/grantOwnership.js +10 -10
- package/grantOwnership.js.map +1 -1
- package/grantPrivilegesToAccountRole.js +22 -22
- package/grantPrivilegesToAccountRole.js.map +1 -1
- package/grantPrivilegesToDatabaseRole.js +20 -20
- package/grantPrivilegesToDatabaseRole.js.map +1 -1
- package/grantPrivilegesToShare.js +21 -21
- package/grantPrivilegesToShare.js.map +1 -1
- package/imageRepository.js +13 -13
- package/imageRepository.js.map +1 -1
- package/jobService.js +26 -26
- package/jobService.js.map +1 -1
- package/legacyServiceUser.js +153 -153
- package/legacyServiceUser.js.map +1 -1
- package/listing.js +16 -16
- package/listing.js.map +1 -1
- package/managedAccount.js +19 -19
- package/managedAccount.js.map +1 -1
- package/maskingPolicy.js +25 -25
- package/maskingPolicy.js.map +1 -1
- package/materializedView.js +24 -24
- package/materializedView.js.map +1 -1
- package/networkPolicy.js +16 -16
- package/networkPolicy.js.map +1 -1
- package/networkPolicyAttachment.js +8 -8
- package/networkPolicyAttachment.js.map +1 -1
- package/networkRule.js +21 -21
- package/networkRule.js.map +1 -1
- package/notificationIntegration.js +37 -37
- package/notificationIntegration.js.map +1 -1
- package/oauthIntegrationForCustomClients.js +37 -37
- package/oauthIntegrationForCustomClients.js.map +1 -1
- package/oauthIntegrationForPartnerApplications.js +24 -24
- package/oauthIntegrationForPartnerApplications.js.map +1 -1
- package/objectParameter.js +13 -13
- package/objectParameter.js.map +1 -1
- package/package.json +2 -2
- package/passwordPolicy.js +38 -38
- package/passwordPolicy.js.map +1 -1
- package/pipe.js +25 -25
- package/pipe.js.map +1 -1
- package/primaryConnection.js +10 -10
- package/primaryConnection.js.map +1 -1
- package/procedureJava.js +55 -55
- package/procedureJava.js.map +1 -1
- package/procedureJavascript.js +37 -37
- package/procedureJavascript.js.map +1 -1
- package/procedurePython.js +53 -53
- package/procedurePython.js.map +1 -1
- package/procedureScala.js +55 -55
- package/procedureScala.js.map +1 -1
- package/procedureSql.js +37 -37
- package/procedureSql.js.map +1 -1
- package/provider.d.ts +58 -136
- package/provider.js +42 -43
- package/provider.js.map +1 -1
- package/resourceMonitor.js +21 -21
- package/resourceMonitor.js.map +1 -1
- package/rowAccessPolicy.js +20 -20
- package/rowAccessPolicy.js.map +1 -1
- package/saml2Integration.js +42 -42
- package/saml2Integration.js.map +1 -1
- package/schema.js +50 -50
- package/schema.js.map +1 -1
- package/scimIntegration.js +21 -21
- package/scimIntegration.js.map +1 -1
- package/secondaryConnection.js +11 -11
- package/secondaryConnection.js.map +1 -1
- package/secondaryDatabase.js +43 -43
- package/secondaryDatabase.js.map +1 -1
- package/secretWithAuthorizationCodeGrant.js +24 -24
- package/secretWithAuthorizationCodeGrant.js.map +1 -1
- package/secretWithBasicAuthentication.js +21 -21
- package/secretWithBasicAuthentication.js.map +1 -1
- package/secretWithClientCredentials.js +21 -21
- package/secretWithClientCredentials.js.map +1 -1
- package/secretWithGenericString.js +18 -18
- package/secretWithGenericString.js.map +1 -1
- package/sequence.js +17 -17
- package/sequence.js.map +1 -1
- package/service.js +36 -36
- package/service.js.map +1 -1
- package/serviceUser.js +149 -149
- package/serviceUser.js.map +1 -1
- package/share.js +8 -8
- package/share.js.map +1 -1
- package/sharedDatabase.js +37 -37
- package/sharedDatabase.js.map +1 -1
- package/stage.js +32 -32
- package/stage.js.map +1 -1
- package/storageIntegration.js +32 -32
- package/storageIntegration.js.map +1 -1
- package/streamOnDirectoryTable.js +21 -21
- package/streamOnDirectoryTable.js.map +1 -1
- package/streamOnExternalTable.js +27 -27
- package/streamOnExternalTable.js.map +1 -1
- package/streamOnTable.js +29 -29
- package/streamOnTable.js.map +1 -1
- package/streamOnView.js +29 -29
- package/streamOnView.js.map +1 -1
- package/streamlit.js +28 -28
- package/streamlit.js.map +1 -1
- package/table.js +26 -26
- package/table.js.map +1 -1
- package/tableColumnMaskingPolicyApplication.js +10 -10
- package/tableColumnMaskingPolicyApplication.js.map +1 -1
- package/tableConstraint.js +28 -28
- package/tableConstraint.js.map +1 -1
- package/tag.js +17 -17
- package/tag.js.map +1 -1
- package/tagAssociation.js +15 -15
- package/tagAssociation.js.map +1 -1
- package/task.js +152 -152
- package/task.js.map +1 -1
- package/user.js +163 -163
- package/user.js.map +1 -1
- package/userAuthenticationPolicyAttachment.js +7 -7
- package/userAuthenticationPolicyAttachment.js.map +1 -1
- package/userPasswordPolicyAttachment.js +7 -7
- package/userPasswordPolicyAttachment.js.map +1 -1
- package/userProgrammaticAccessToken.js +23 -23
- package/userProgrammaticAccessToken.js.map +1 -1
- package/userPublicKeys.js +7 -7
- package/userPublicKeys.js.map +1 -1
- package/utilities.js +18 -29
- package/utilities.js.map +1 -1
- package/view.js +37 -37
- package/view.js.map +1 -1
- package/warehouse.js +36 -36
- package/warehouse.js.map +1 -1
package/config/vars.d.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
import * as outputs from "../types/output";
|
|
2
2
|
/**
|
|
3
|
-
* Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
|
|
4
|
-
* [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
|
|
5
|
-
* unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
|
|
3
|
+
* Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
|
|
6
4
|
*/
|
|
7
5
|
export declare const accountName: string | undefined;
|
|
8
6
|
/**
|
|
9
|
-
* Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
|
|
10
|
-
* connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
|
|
11
|
-
* `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN`. Can also be sourced from the
|
|
12
|
-
* `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
7
|
+
* Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` | `TOKENACCESSOR` | `USERNAMEPASSWORDMFA` | `PROGRAMMATIC_ACCESS_TOKEN`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
|
|
13
8
|
*/
|
|
14
9
|
export declare const authenticator: string | undefined;
|
|
15
10
|
/**
|
|
@@ -17,28 +12,23 @@ export declare const authenticator: string | undefined;
|
|
|
17
12
|
*/
|
|
18
13
|
export declare const clientIp: string | undefined;
|
|
19
14
|
/**
|
|
20
|
-
* When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also
|
|
21
|
-
* be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
|
|
15
|
+
* When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
|
|
22
16
|
*/
|
|
23
17
|
export declare const clientRequestMfaToken: string | undefined;
|
|
24
18
|
/**
|
|
25
|
-
* When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be
|
|
26
|
-
* sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
|
|
19
|
+
* When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
|
|
27
20
|
*/
|
|
28
21
|
export declare const clientStoreTemporaryCredential: string | undefined;
|
|
29
22
|
/**
|
|
30
|
-
* The timeout in seconds for the client to complete the authentication. Can also be sourced from the
|
|
31
|
-
* `SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
|
|
23
|
+
* The timeout in seconds for the client to complete the authentication. Can also be sourced from the `SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
|
|
32
24
|
*/
|
|
33
25
|
export declare const clientTimeout: number | undefined;
|
|
34
26
|
/**
|
|
35
|
-
* Indicates whether console login should be disabled in the driver. Can also be sourced from the
|
|
36
|
-
* `SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
|
|
27
|
+
* Indicates whether console login should be disabled in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
|
|
37
28
|
*/
|
|
38
29
|
export declare const disableConsoleLogin: string | undefined;
|
|
39
30
|
/**
|
|
40
|
-
* Disables HTAP query context cache in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE`
|
|
41
|
-
* environment variable.
|
|
31
|
+
* Disables HTAP query context cache in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE` environment variable.
|
|
42
32
|
*/
|
|
43
33
|
export declare const disableQueryContextCache: boolean | undefined;
|
|
44
34
|
/**
|
|
@@ -46,34 +36,27 @@ export declare const disableQueryContextCache: boolean | undefined;
|
|
|
46
36
|
*/
|
|
47
37
|
export declare const disableTelemetry: boolean | undefined;
|
|
48
38
|
/**
|
|
49
|
-
* Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` |
|
|
50
|
-
* `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
|
|
39
|
+
* Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` | `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
|
|
51
40
|
*/
|
|
52
41
|
export declare const driverTracing: string | undefined;
|
|
53
42
|
/**
|
|
54
|
-
* The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
|
|
55
|
-
* `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
|
|
43
|
+
* The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
|
|
56
44
|
*/
|
|
57
45
|
export declare const externalBrowserTimeout: number | undefined;
|
|
58
46
|
/**
|
|
59
|
-
* Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
|
|
60
|
-
* `SNOWFLAKE_HOST` environment variable.
|
|
47
|
+
* Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the `SNOWFLAKE_HOST` environment variable.
|
|
61
48
|
*/
|
|
62
49
|
export declare const host: string | undefined;
|
|
63
50
|
/**
|
|
64
|
-
* Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment
|
|
65
|
-
* variable.
|
|
51
|
+
* Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment variable.
|
|
66
52
|
*/
|
|
67
53
|
export declare const includeRetryReason: string | undefined;
|
|
68
54
|
/**
|
|
69
|
-
* If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the
|
|
70
|
-
* default value for testing or emergency situations only. Can also be sourced from the `SNOWFLAKE_INSECURE_MODE`
|
|
71
|
-
* environment variable.
|
|
55
|
+
* If true, bypass the Online Certificate Status Protocol (OCSP) certificate revocation check. IMPORTANT: Change the default value for testing or emergency situations only. Can also be sourced from the `SNOWFLAKE_INSECURE_MODE` environment variable.
|
|
72
56
|
*/
|
|
73
57
|
export declare const insecureMode: boolean | undefined;
|
|
74
58
|
/**
|
|
75
|
-
* The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
|
|
76
|
-
* `SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
|
|
59
|
+
* The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the `SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
|
|
77
60
|
*/
|
|
78
61
|
export declare const jwtClientTimeout: number | undefined;
|
|
79
62
|
/**
|
|
@@ -81,120 +64,91 @@ export declare const jwtClientTimeout: number | undefined;
|
|
|
81
64
|
*/
|
|
82
65
|
export declare const jwtExpireTimeout: number | undefined;
|
|
83
66
|
/**
|
|
84
|
-
* Enables the session to persist even after the connection is closed. Can also be sourced from the
|
|
85
|
-
* `SNOWFLAKE_KEEP_SESSION_ALIVE` environment variable.
|
|
67
|
+
* Enables the session to persist even after the connection is closed. Can also be sourced from the `SNOWFLAKE_KEEP_SESSION_ALIVE` environment variable.
|
|
86
68
|
*/
|
|
87
69
|
export declare const keepSessionAlive: boolean | undefined;
|
|
88
70
|
/**
|
|
89
|
-
* Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
90
|
-
* `SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
|
|
71
|
+
* Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the `SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
|
|
91
72
|
*/
|
|
92
73
|
export declare const loginTimeout: number | undefined;
|
|
93
74
|
/**
|
|
94
|
-
* Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
|
|
95
|
-
* `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
|
|
75
|
+
* Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
|
|
96
76
|
*/
|
|
97
77
|
export declare const maxRetryCount: number | undefined;
|
|
98
78
|
/**
|
|
99
|
-
* True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
|
|
100
|
-
* sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
79
|
+
* True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
|
|
101
80
|
*/
|
|
102
81
|
export declare const ocspFailOpen: string | undefined;
|
|
103
82
|
/**
|
|
104
|
-
* The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix `okta.com`. Read more
|
|
105
|
-
* in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the
|
|
106
|
-
* `SNOWFLAKE_OKTA_URL` environment variable.
|
|
83
|
+
* The URL of the Okta server. e.g. https://example.okta.com. Okta URL host needs to to have a suffix `okta.com`. Read more in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the `SNOWFLAKE_OKTA_URL` environment variable.
|
|
107
84
|
*/
|
|
108
85
|
export declare const oktaUrl: string | undefined;
|
|
109
86
|
/**
|
|
110
|
-
* Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the
|
|
111
|
-
* [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required
|
|
112
|
-
* unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
|
|
87
|
+
* Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
|
|
113
88
|
*/
|
|
114
89
|
export declare const organizationName: string | undefined;
|
|
115
90
|
/**
|
|
116
|
-
* Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters).
|
|
117
|
-
* This field can not be set with environmental variables.
|
|
91
|
+
* Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters). This field can not be set with environmental variables.
|
|
118
92
|
*/
|
|
119
93
|
export declare const params: {
|
|
120
94
|
[key: string]: string;
|
|
121
95
|
} | undefined;
|
|
122
96
|
/**
|
|
123
|
-
* Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from
|
|
124
|
-
* the `SNOWFLAKE_PASSCODE` environment variable.
|
|
97
|
+
* Specifies the passcode provided by Duo when using multi-factor authentication (MFA) for login. Can also be sourced from the `SNOWFLAKE_PASSCODE` environment variable.
|
|
125
98
|
*/
|
|
126
99
|
export declare const passcode: string | undefined;
|
|
127
100
|
/**
|
|
128
|
-
* False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
|
|
129
|
-
* `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
|
|
101
|
+
* False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
|
|
130
102
|
*/
|
|
131
103
|
export declare const passcodeInPassword: boolean | undefined;
|
|
132
104
|
/**
|
|
133
|
-
* Password for user + password or
|
|
134
|
-
* [token](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens#generating-a-programmatic-access-token) for
|
|
135
|
-
* [PAT auth](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens). Cannot be used with `privateKey` and
|
|
136
|
-
* `privateKeyPassphrase`. Can also be sourced from the `SNOWFLAKE_PASSWORD` environment variable.
|
|
105
|
+
* Password for user + password or [token](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens#generating-a-programmatic-access-token) for [PAT auth](https://docs.snowflake.com/en/user-guide/programmatic-access-tokens). Cannot be used with `privateKey` and `privateKeyPassphrase`. Can also be sourced from the `SNOWFLAKE_PASSWORD` environment variable.
|
|
137
106
|
*/
|
|
138
107
|
export declare const password: string | undefined;
|
|
139
108
|
/**
|
|
140
|
-
* Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
|
|
141
|
-
* `SNOWFLAKE_PORT` environment variable.
|
|
109
|
+
* Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the `SNOWFLAKE_PORT` environment variable.
|
|
142
110
|
*/
|
|
143
111
|
export declare const port: number | undefined;
|
|
144
112
|
export declare const previewFeaturesEnabled: string[] | undefined;
|
|
145
113
|
/**
|
|
146
|
-
* Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
|
|
147
|
-
* `SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
114
|
+
* Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY` environment variable.
|
|
148
115
|
*/
|
|
149
116
|
export declare const privateKey: string | undefined;
|
|
150
117
|
/**
|
|
151
|
-
* Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and
|
|
152
|
-
* des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
118
|
+
* Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
|
|
153
119
|
*/
|
|
154
120
|
export declare const privateKeyPassphrase: string | undefined;
|
|
155
121
|
/**
|
|
156
|
-
* Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment
|
|
157
|
-
* variable.
|
|
122
|
+
* Sets the profile to read from ~/.snowflake/config file. Can also be sourced from the `SNOWFLAKE_PROFILE` environment variable.
|
|
158
123
|
*/
|
|
159
124
|
export declare const profile: string | undefined;
|
|
160
125
|
/**
|
|
161
|
-
* A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the
|
|
162
|
-
* `SNOWFLAKE_PROTOCOL` environment variable.
|
|
126
|
+
* A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the `SNOWFLAKE_PROTOCOL` environment variable.
|
|
163
127
|
*/
|
|
164
128
|
export declare const protocol: string | undefined;
|
|
165
129
|
/**
|
|
166
|
-
* request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
|
|
167
|
-
* `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
|
|
130
|
+
* request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
|
|
168
131
|
*/
|
|
169
132
|
export declare const requestTimeout: number | undefined;
|
|
170
133
|
/**
|
|
171
|
-
* Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
|
|
172
|
-
* `SNOWFLAKE_ROLE` environment variable.
|
|
134
|
+
* Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the `SNOWFLAKE_ROLE` environment variable.
|
|
173
135
|
*/
|
|
174
136
|
export declare const role: string | undefined;
|
|
175
137
|
/**
|
|
176
|
-
* False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as
|
|
177
|
-
* the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting
|
|
178
|
-
* the proper privileges - see the section below. Can also be sourced from the
|
|
179
|
-
* `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment variable.
|
|
138
|
+
* False by default. Skips TOML configuration file permission verification. This flag has no effect on Windows systems, as the permissions are not checked on this platform. Instead of skipping the permissions verification, we recommend setting the proper privileges - see the section below. Can also be sourced from the `SNOWFLAKE_SKIP_TOML_FILE_PERMISSION_VERIFICATION` environment variable.
|
|
180
139
|
*/
|
|
181
140
|
export declare const skipTomlFilePermissionVerification: boolean | undefined;
|
|
182
141
|
/**
|
|
183
|
-
* Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
|
|
184
|
-
* the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
|
|
142
|
+
* Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
|
|
185
143
|
*/
|
|
186
144
|
export declare const tmpDirectoryPath: string | undefined;
|
|
187
145
|
/**
|
|
188
|
-
* Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the
|
|
189
|
-
* provider sets the `authenticator` to `OAUTH`. Optionally, set the `authenticator` field to the authenticator you want to
|
|
190
|
-
* use. Can also be sourced from the `SNOWFLAKE_TOKEN` environment variable.
|
|
146
|
+
* Token to use for OAuth and other forms of token based auth. When this field is set here, or in the TOML file, the provider sets the `authenticator` to `OAUTH`. Optionally, set the `authenticator` field to the authenticator you want to use. Can also be sourced from the `SNOWFLAKE_TOKEN` environment variable.
|
|
191
147
|
*/
|
|
192
148
|
export declare const token: string | undefined;
|
|
193
149
|
export declare const tokenAccessor: outputs.config.TokenAccessor | undefined;
|
|
194
150
|
/**
|
|
195
|
-
* False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new
|
|
196
|
-
* format. See more in the section below Can also be sourced from the `SNOWFLAKE_USE_LEGACY_TOML_FILE` environment
|
|
197
|
-
* variable.
|
|
151
|
+
* False by default. When this is set to true, the provider expects the legacy TOML format. Otherwise, it expects the new format. See more in the section below Can also be sourced from the `SNOWFLAKE_USE_LEGACY_TOML_FILE` environment variable.
|
|
198
152
|
*/
|
|
199
153
|
export declare const useLegacyTomlFile: boolean | undefined;
|
|
200
154
|
/**
|
|
@@ -202,12 +156,10 @@ export declare const useLegacyTomlFile: boolean | undefined;
|
|
|
202
156
|
*/
|
|
203
157
|
export declare const user: string | undefined;
|
|
204
158
|
/**
|
|
205
|
-
* True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
|
|
206
|
-
* connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
159
|
+
* True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
|
|
207
160
|
*/
|
|
208
161
|
export declare const validateDefaultParameters: string | undefined;
|
|
209
162
|
/**
|
|
210
|
-
* Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced
|
|
211
|
-
* from the `SNOWFLAKE_WAREHOUSE` environment variable.
|
|
163
|
+
* Specifies the virtual warehouse to use by default for queries, loading, etc. in the client session. Can also be sourced from the `SNOWFLAKE_WAREHOUSE` environment variable.
|
|
212
164
|
*/
|
|
213
165
|
export declare const warehouse: string | undefined;
|
package/config/vars.js
CHANGED
|
@@ -73,8 +73,7 @@ Object.defineProperty(exports, "externalBrowserTimeout", {
|
|
|
73
73
|
});
|
|
74
74
|
Object.defineProperty(exports, "host", {
|
|
75
75
|
get() {
|
|
76
|
-
|
|
77
|
-
return (_a = __config.get("host")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_HOST");
|
|
76
|
+
return __config.get("host") ?? utilities.getEnv("SNOWFLAKE_HOST");
|
|
78
77
|
},
|
|
79
78
|
enumerable: true,
|
|
80
79
|
});
|
|
@@ -158,15 +157,13 @@ Object.defineProperty(exports, "passcodeInPassword", {
|
|
|
158
157
|
});
|
|
159
158
|
Object.defineProperty(exports, "password", {
|
|
160
159
|
get() {
|
|
161
|
-
|
|
162
|
-
return (_a = __config.get("password")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_PASSWORD");
|
|
160
|
+
return __config.get("password") ?? utilities.getEnv("SNOWFLAKE_PASSWORD");
|
|
163
161
|
},
|
|
164
162
|
enumerable: true,
|
|
165
163
|
});
|
|
166
164
|
Object.defineProperty(exports, "port", {
|
|
167
165
|
get() {
|
|
168
|
-
|
|
169
|
-
return (_a = __config.getObject("port")) !== null && _a !== void 0 ? _a : utilities.getEnvNumber("SNOWFLAKE_PORT");
|
|
166
|
+
return __config.getObject("port") ?? utilities.getEnvNumber("SNOWFLAKE_PORT");
|
|
170
167
|
},
|
|
171
168
|
enumerable: true,
|
|
172
169
|
});
|
|
@@ -184,8 +181,7 @@ Object.defineProperty(exports, "privateKey", {
|
|
|
184
181
|
});
|
|
185
182
|
Object.defineProperty(exports, "privateKeyPassphrase", {
|
|
186
183
|
get() {
|
|
187
|
-
|
|
188
|
-
return (_a = __config.get("privateKeyPassphrase")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE");
|
|
184
|
+
return __config.get("privateKeyPassphrase") ?? utilities.getEnv("SNOWFLAKE_PRIVATE_KEY_PASSPHRASE");
|
|
189
185
|
},
|
|
190
186
|
enumerable: true,
|
|
191
187
|
});
|
|
@@ -197,8 +193,7 @@ Object.defineProperty(exports, "profile", {
|
|
|
197
193
|
});
|
|
198
194
|
Object.defineProperty(exports, "protocol", {
|
|
199
195
|
get() {
|
|
200
|
-
|
|
201
|
-
return (_a = __config.get("protocol")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_PROTOCOL");
|
|
196
|
+
return __config.get("protocol") ?? utilities.getEnv("SNOWFLAKE_PROTOCOL");
|
|
202
197
|
},
|
|
203
198
|
enumerable: true,
|
|
204
199
|
});
|
|
@@ -210,8 +205,7 @@ Object.defineProperty(exports, "requestTimeout", {
|
|
|
210
205
|
});
|
|
211
206
|
Object.defineProperty(exports, "role", {
|
|
212
207
|
get() {
|
|
213
|
-
|
|
214
|
-
return (_a = __config.get("role")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_ROLE");
|
|
208
|
+
return __config.get("role") ?? utilities.getEnv("SNOWFLAKE_ROLE");
|
|
215
209
|
},
|
|
216
210
|
enumerable: true,
|
|
217
211
|
});
|
|
@@ -259,8 +253,7 @@ Object.defineProperty(exports, "validateDefaultParameters", {
|
|
|
259
253
|
});
|
|
260
254
|
Object.defineProperty(exports, "warehouse", {
|
|
261
255
|
get() {
|
|
262
|
-
|
|
263
|
-
return (_a = __config.get("warehouse")) !== null && _a !== void 0 ? _a : utilities.getEnv("SNOWFLAKE_WAREHOUSE");
|
|
256
|
+
return __config.get("warehouse") ?? utilities.getEnv("SNOWFLAKE_WAREHOUSE");
|
|
264
257
|
},
|
|
265
258
|
enumerable: true,
|
|
266
259
|
});
|
package/config/vars.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"vars.js","sourceRoot":"","sources":["../../config/vars.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;AAEjF,yCAAyC;AAGzC,0CAA0C;AAG1C,MAAM,QAAQ,GAAG,IAAI,MAAM,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC;AAMhD,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,aAAa,EAAE;IAC1C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,aAAa,CAAC,CAAC;IACvC,CAAC;IACD,UAAU,EAAE,IAAI;CACnB,CAAC,CAAC;AAMH,MAAM,CAAC,cAAc,CAAC,OAAO,EAAE,eAAe,EAAE;IAC5C,GAAG;QACC,OAAO,QAAQ,CAAC,GAAG,CAAC,eAAe,CAAC,CAAC;IACzC,CAAC;IACD,UAAU,EAAE,IAAI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C"}
|
package/cortexSearchService.js
CHANGED
|
@@ -23,7 +23,7 @@ class CortexSearchService extends pulumi.CustomResource {
|
|
|
23
23
|
* @param opts Optional settings to control the behavior of the CustomResource.
|
|
24
24
|
*/
|
|
25
25
|
static get(name, id, state, opts) {
|
|
26
|
-
return new CortexSearchService(name, state,
|
|
26
|
+
return new CortexSearchService(name, state, { ...opts, id: id });
|
|
27
27
|
}
|
|
28
28
|
/**
|
|
29
29
|
* Returns true if the given object is an instance of CortexSearchService. This is designed to work even
|
|
@@ -40,50 +40,50 @@ class CortexSearchService extends pulumi.CustomResource {
|
|
|
40
40
|
opts = opts || {};
|
|
41
41
|
if (opts.id) {
|
|
42
42
|
const state = argsOrState;
|
|
43
|
-
resourceInputs["attributes"] = state
|
|
44
|
-
resourceInputs["comment"] = state
|
|
45
|
-
resourceInputs["createdOn"] = state
|
|
46
|
-
resourceInputs["database"] = state
|
|
47
|
-
resourceInputs["describeOutputs"] = state
|
|
48
|
-
resourceInputs["embeddingModel"] = state
|
|
49
|
-
resourceInputs["fullyQualifiedName"] = state
|
|
50
|
-
resourceInputs["name"] = state
|
|
51
|
-
resourceInputs["on"] = state
|
|
52
|
-
resourceInputs["query"] = state
|
|
53
|
-
resourceInputs["schema"] = state
|
|
54
|
-
resourceInputs["targetLag"] = state
|
|
55
|
-
resourceInputs["warehouse"] = state
|
|
43
|
+
resourceInputs["attributes"] = state?.attributes;
|
|
44
|
+
resourceInputs["comment"] = state?.comment;
|
|
45
|
+
resourceInputs["createdOn"] = state?.createdOn;
|
|
46
|
+
resourceInputs["database"] = state?.database;
|
|
47
|
+
resourceInputs["describeOutputs"] = state?.describeOutputs;
|
|
48
|
+
resourceInputs["embeddingModel"] = state?.embeddingModel;
|
|
49
|
+
resourceInputs["fullyQualifiedName"] = state?.fullyQualifiedName;
|
|
50
|
+
resourceInputs["name"] = state?.name;
|
|
51
|
+
resourceInputs["on"] = state?.on;
|
|
52
|
+
resourceInputs["query"] = state?.query;
|
|
53
|
+
resourceInputs["schema"] = state?.schema;
|
|
54
|
+
resourceInputs["targetLag"] = state?.targetLag;
|
|
55
|
+
resourceInputs["warehouse"] = state?.warehouse;
|
|
56
56
|
}
|
|
57
57
|
else {
|
|
58
58
|
const args = argsOrState;
|
|
59
|
-
if (
|
|
59
|
+
if (args?.database === undefined && !opts.urn) {
|
|
60
60
|
throw new Error("Missing required property 'database'");
|
|
61
61
|
}
|
|
62
|
-
if (
|
|
62
|
+
if (args?.on === undefined && !opts.urn) {
|
|
63
63
|
throw new Error("Missing required property 'on'");
|
|
64
64
|
}
|
|
65
|
-
if (
|
|
65
|
+
if (args?.query === undefined && !opts.urn) {
|
|
66
66
|
throw new Error("Missing required property 'query'");
|
|
67
67
|
}
|
|
68
|
-
if (
|
|
68
|
+
if (args?.schema === undefined && !opts.urn) {
|
|
69
69
|
throw new Error("Missing required property 'schema'");
|
|
70
70
|
}
|
|
71
|
-
if (
|
|
71
|
+
if (args?.targetLag === undefined && !opts.urn) {
|
|
72
72
|
throw new Error("Missing required property 'targetLag'");
|
|
73
73
|
}
|
|
74
|
-
if (
|
|
74
|
+
if (args?.warehouse === undefined && !opts.urn) {
|
|
75
75
|
throw new Error("Missing required property 'warehouse'");
|
|
76
76
|
}
|
|
77
|
-
resourceInputs["attributes"] = args
|
|
78
|
-
resourceInputs["comment"] = args
|
|
79
|
-
resourceInputs["database"] = args
|
|
80
|
-
resourceInputs["embeddingModel"] = args
|
|
81
|
-
resourceInputs["name"] = args
|
|
82
|
-
resourceInputs["on"] = args
|
|
83
|
-
resourceInputs["query"] = args
|
|
84
|
-
resourceInputs["schema"] = args
|
|
85
|
-
resourceInputs["targetLag"] = args
|
|
86
|
-
resourceInputs["warehouse"] = args
|
|
77
|
+
resourceInputs["attributes"] = args?.attributes;
|
|
78
|
+
resourceInputs["comment"] = args?.comment;
|
|
79
|
+
resourceInputs["database"] = args?.database;
|
|
80
|
+
resourceInputs["embeddingModel"] = args?.embeddingModel;
|
|
81
|
+
resourceInputs["name"] = args?.name;
|
|
82
|
+
resourceInputs["on"] = args?.on;
|
|
83
|
+
resourceInputs["query"] = args?.query;
|
|
84
|
+
resourceInputs["schema"] = args?.schema;
|
|
85
|
+
resourceInputs["targetLag"] = args?.targetLag;
|
|
86
|
+
resourceInputs["warehouse"] = args?.warehouse;
|
|
87
87
|
resourceInputs["createdOn"] = undefined /*out*/;
|
|
88
88
|
resourceInputs["describeOutputs"] = undefined /*out*/;
|
|
89
89
|
resourceInputs["fullyQualifiedName"] = undefined /*out*/;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"cortexSearchService.js","sourceRoot":"","sources":["../cortexSearchService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"cortexSearchService.js","sourceRoot":"","sources":["../cortexSearchService.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,mBAAoB,SAAQ,MAAM,CAAC,cAAc;IAC1D;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAgC,EAAE,IAAmC;QAC9H,OAAO,IAAI,mBAAmB,CAAC,IAAI,EAAO,KAAK,EAAE,EAAE,GAAG,IAAI,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IAC1E,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,I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