pulumi-snowflake 0.50.2a1709892015__py3-none-any.whl → 1.2.0a1736835738__py3-none-any.whl

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.

Potentially problematic release.


This version of pulumi-snowflake might be problematic. Click here for more details.

Files changed (182) hide show
  1. pulumi_snowflake/__init__.py +224 -172
  2. pulumi_snowflake/_inputs.py +52854 -1662
  3. pulumi_snowflake/_utilities.py +41 -5
  4. pulumi_snowflake/account.py +188 -214
  5. pulumi_snowflake/account_authentication_policy_attachment.py +149 -0
  6. pulumi_snowflake/account_parameter.py +21 -44
  7. pulumi_snowflake/account_password_policy_attachment.py +7 -28
  8. pulumi_snowflake/account_role.py +250 -0
  9. pulumi_snowflake/alert.py +38 -43
  10. pulumi_snowflake/api_authentication_integration_with_authorization_code_grant.py +704 -0
  11. pulumi_snowflake/api_authentication_integration_with_client_credentials.py +657 -0
  12. pulumi_snowflake/api_authentication_integration_with_jwt_bearer.py +692 -0
  13. pulumi_snowflake/api_integration.py +35 -50
  14. pulumi_snowflake/authentication_policy.py +622 -0
  15. pulumi_snowflake/config/__init__.pyi +76 -99
  16. pulumi_snowflake/config/outputs.py +5 -0
  17. pulumi_snowflake/config/vars.py +93 -124
  18. pulumi_snowflake/cortex_search_service.py +596 -0
  19. pulumi_snowflake/database.py +819 -209
  20. pulumi_snowflake/database_role.py +81 -40
  21. pulumi_snowflake/dynamic_table.py +44 -47
  22. pulumi_snowflake/email_notification_integration.py +35 -26
  23. pulumi_snowflake/{unsafe_execute.py → execute.py} +36 -139
  24. pulumi_snowflake/external_function.py +54 -71
  25. pulumi_snowflake/external_oauth_integration.py +593 -538
  26. pulumi_snowflake/external_table.py +67 -86
  27. pulumi_snowflake/external_volume.py +382 -0
  28. pulumi_snowflake/failover_group.py +59 -96
  29. pulumi_snowflake/file_format.py +33 -24
  30. pulumi_snowflake/function_java.py +1211 -0
  31. pulumi_snowflake/function_javascript.py +882 -0
  32. pulumi_snowflake/function_python.py +1212 -0
  33. pulumi_snowflake/function_scala.py +1212 -0
  34. pulumi_snowflake/function_sql.py +835 -0
  35. pulumi_snowflake/get_account_roles.py +129 -0
  36. pulumi_snowflake/get_accounts.py +53 -22
  37. pulumi_snowflake/get_alerts.py +22 -5
  38. pulumi_snowflake/get_connections.py +109 -0
  39. pulumi_snowflake/get_cortex_search_services.py +216 -0
  40. pulumi_snowflake/get_current_account.py +24 -9
  41. pulumi_snowflake/get_current_role.py +14 -7
  42. pulumi_snowflake/get_database.py +25 -5
  43. pulumi_snowflake/get_database_role.py +162 -0
  44. pulumi_snowflake/get_database_roles.py +79 -43
  45. pulumi_snowflake/get_databases.py +91 -69
  46. pulumi_snowflake/get_dynamic_tables.py +36 -19
  47. pulumi_snowflake/get_external_functions.py +28 -5
  48. pulumi_snowflake/get_external_tables.py +28 -5
  49. pulumi_snowflake/get_failover_groups.py +18 -7
  50. pulumi_snowflake/get_file_formats.py +28 -5
  51. pulumi_snowflake/get_functions.py +28 -5
  52. pulumi_snowflake/get_grants.py +207 -80
  53. pulumi_snowflake/get_masking_policies.py +91 -47
  54. pulumi_snowflake/get_materialized_views.py +28 -5
  55. pulumi_snowflake/get_network_policies.py +129 -0
  56. pulumi_snowflake/get_parameters.py +38 -11
  57. pulumi_snowflake/get_pipes.py +28 -5
  58. pulumi_snowflake/get_procedures.py +28 -5
  59. pulumi_snowflake/get_resource_monitors.py +37 -20
  60. pulumi_snowflake/get_row_access_policies.py +91 -47
  61. pulumi_snowflake/get_schemas.py +145 -37
  62. pulumi_snowflake/get_secrets.py +200 -0
  63. pulumi_snowflake/get_security_integrations.py +129 -0
  64. pulumi_snowflake/get_sequences.py +28 -5
  65. pulumi_snowflake/get_shares.py +18 -5
  66. pulumi_snowflake/get_stages.py +28 -5
  67. pulumi_snowflake/get_storage_integrations.py +16 -5
  68. pulumi_snowflake/get_streamlits.py +170 -0
  69. pulumi_snowflake/get_streams.py +114 -50
  70. pulumi_snowflake/get_system_generate_scim_access_token.py +18 -5
  71. pulumi_snowflake/get_system_get_aws_sns_iam_policy.py +32 -7
  72. pulumi_snowflake/get_system_get_private_link_config.py +121 -6
  73. pulumi_snowflake/get_system_get_snowflake_platform_info.py +15 -7
  74. pulumi_snowflake/get_tables.py +28 -5
  75. pulumi_snowflake/get_tags.py +130 -0
  76. pulumi_snowflake/get_tasks.py +134 -50
  77. pulumi_snowflake/get_users.py +116 -40
  78. pulumi_snowflake/get_views.py +114 -50
  79. pulumi_snowflake/get_warehouses.py +79 -22
  80. pulumi_snowflake/grant_account_role.py +28 -61
  81. pulumi_snowflake/grant_application_role.py +257 -0
  82. pulumi_snowflake/grant_database_role.py +35 -108
  83. pulumi_snowflake/grant_ownership.py +382 -0
  84. pulumi_snowflake/grant_privileges_to_account_role.py +42 -78
  85. pulumi_snowflake/grant_privileges_to_database_role.py +37 -223
  86. pulumi_snowflake/grant_privileges_to_share.py +96 -44
  87. pulumi_snowflake/legacy_service_user.py +3670 -0
  88. pulumi_snowflake/managed_account.py +42 -9
  89. pulumi_snowflake/masking_policy.py +213 -306
  90. pulumi_snowflake/materialized_view.py +62 -67
  91. pulumi_snowflake/network_policy.py +217 -57
  92. pulumi_snowflake/network_policy_attachment.py +7 -32
  93. pulumi_snowflake/network_rule.py +473 -0
  94. pulumi_snowflake/notification_integration.py +51 -82
  95. pulumi_snowflake/oauth_integration_for_custom_clients.py +906 -0
  96. pulumi_snowflake/{oauth_integration.py → oauth_integration_for_partner_applications.py} +191 -188
  97. pulumi_snowflake/object_parameter.py +12 -99
  98. pulumi_snowflake/outputs.py +49200 -2928
  99. pulumi_snowflake/password_policy.py +41 -28
  100. pulumi_snowflake/pipe.py +33 -0
  101. pulumi_snowflake/primary_connection.py +330 -0
  102. pulumi_snowflake/procedure_java.py +1273 -0
  103. pulumi_snowflake/procedure_javascript.py +895 -0
  104. pulumi_snowflake/procedure_python.py +1226 -0
  105. pulumi_snowflake/procedure_scala.py +1273 -0
  106. pulumi_snowflake/procedure_sql.py +895 -0
  107. pulumi_snowflake/provider.py +378 -613
  108. pulumi_snowflake/pulumi-plugin.json +2 -1
  109. pulumi_snowflake/resource_monitor.py +118 -323
  110. pulumi_snowflake/row_access_policy.py +200 -145
  111. pulumi_snowflake/{saml_integration.py → saml2_integration.py} +356 -295
  112. pulumi_snowflake/schema.py +949 -174
  113. pulumi_snowflake/scim_integration.py +286 -105
  114. pulumi_snowflake/secondary_connection.py +339 -0
  115. pulumi_snowflake/secondary_database.py +1080 -0
  116. pulumi_snowflake/secret_with_authorization_code_grant.py +548 -0
  117. pulumi_snowflake/secret_with_basic_authentication.py +500 -0
  118. pulumi_snowflake/secret_with_client_credentials.py +511 -0
  119. pulumi_snowflake/secret_with_generic_string.py +452 -0
  120. pulumi_snowflake/sequence.py +9 -30
  121. pulumi_snowflake/service_user.py +3585 -0
  122. pulumi_snowflake/share.py +35 -26
  123. pulumi_snowflake/shared_database.py +939 -0
  124. pulumi_snowflake/stage.py +95 -80
  125. pulumi_snowflake/storage_integration.py +48 -2
  126. pulumi_snowflake/stream_on_directory_table.py +517 -0
  127. pulumi_snowflake/stream_on_external_table.py +632 -0
  128. pulumi_snowflake/stream_on_table.py +666 -0
  129. pulumi_snowflake/stream_on_view.py +666 -0
  130. pulumi_snowflake/streamlit.py +671 -0
  131. pulumi_snowflake/table.py +86 -93
  132. pulumi_snowflake/table_column_masking_policy_application.py +7 -14
  133. pulumi_snowflake/table_constraint.py +29 -168
  134. pulumi_snowflake/tag.py +142 -70
  135. pulumi_snowflake/tag_association.py +40 -211
  136. pulumi_snowflake/task.py +3048 -414
  137. pulumi_snowflake/user.py +3351 -380
  138. pulumi_snowflake/user_authentication_policy_attachment.py +197 -0
  139. pulumi_snowflake/user_password_policy_attachment.py +7 -6
  140. pulumi_snowflake/user_public_keys.py +5 -0
  141. pulumi_snowflake/view.py +466 -211
  142. pulumi_snowflake/warehouse.py +184 -164
  143. {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/METADATA +7 -6
  144. pulumi_snowflake-1.2.0a1736835738.dist-info/RECORD +148 -0
  145. {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/WHEEL +1 -1
  146. pulumi_snowflake/account_grant.py +0 -339
  147. pulumi_snowflake/database_grant.py +0 -491
  148. pulumi_snowflake/external_table_grant.py +0 -686
  149. pulumi_snowflake/failover_group_grant.py +0 -388
  150. pulumi_snowflake/file_format_grant.py +0 -631
  151. pulumi_snowflake/function.py +0 -868
  152. pulumi_snowflake/function_grant.py +0 -741
  153. pulumi_snowflake/get_role.py +0 -117
  154. pulumi_snowflake/get_roles.py +0 -116
  155. pulumi_snowflake/grant_privileges_to_role.py +0 -667
  156. pulumi_snowflake/integration_grant.py +0 -436
  157. pulumi_snowflake/masking_policy_grant.py +0 -538
  158. pulumi_snowflake/materialized_view_grant.py +0 -685
  159. pulumi_snowflake/pipe_grant.py +0 -583
  160. pulumi_snowflake/procedure.py +0 -883
  161. pulumi_snowflake/procedure_grant.py +0 -741
  162. pulumi_snowflake/resource_monitor_grant.py +0 -383
  163. pulumi_snowflake/role.py +0 -269
  164. pulumi_snowflake/role_grants.py +0 -348
  165. pulumi_snowflake/role_ownership_grant.py +0 -334
  166. pulumi_snowflake/row_access_policy_grant.py +0 -536
  167. pulumi_snowflake/schema_grant.py +0 -643
  168. pulumi_snowflake/sequence_grant.py +0 -631
  169. pulumi_snowflake/session_parameter.py +0 -328
  170. pulumi_snowflake/stage_grant.py +0 -631
  171. pulumi_snowflake/stream.py +0 -610
  172. pulumi_snowflake/stream_grant.py +0 -631
  173. pulumi_snowflake/table_grant.py +0 -673
  174. pulumi_snowflake/tag_grant.py +0 -528
  175. pulumi_snowflake/tag_masking_policy_association.py +0 -210
  176. pulumi_snowflake/task_grant.py +0 -631
  177. pulumi_snowflake/user_grant.py +0 -390
  178. pulumi_snowflake/user_ownership_grant.py +0 -286
  179. pulumi_snowflake/view_grant.py +0 -701
  180. pulumi_snowflake/warehouse_grant.py +0 -436
  181. pulumi_snowflake-0.50.2a1709892015.dist-info/RECORD +0 -136
  182. {pulumi_snowflake-0.50.2a1709892015.dist-info → pulumi_snowflake-1.2.0a1736835738.dist-info}/top_level.txt +0 -0
@@ -4,30 +4,29 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
  from . import outputs
12
17
 
13
- account: Optional[str]
18
+ accountName: Optional[str]
14
19
  """
15
- Specifies your Snowflake account identifier assigned, by Snowflake. For information about account identifiers, see the
16
- [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html). Can also be sourced
17
- from the `SNOWFLAKE_ACCOUNT` environment variable. Required unless using `profile`.
20
+ Specifies your Snowflake account name assigned by Snowflake. For information about account identifiers, see the
21
+ [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#account-name). Required
22
+ unless using `profile`. Can also be sourced from the `SNOWFLAKE_ACCOUNT_NAME` environment variable.
18
23
  """
19
24
 
20
25
  authenticator: Optional[str]
21
26
  """
22
27
  Specifies the [authentication type](https://pkg.go.dev/github.com/snowflakedb/gosnowflake#AuthType) to use when
23
- connecting to Snowflake. Valid values include: Snowflake, OAuth, ExternalBrowser, Okta, JWT, TokenAccessor,
24
- UsernamePasswordMFA. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable. It has to be set
25
- explicitly to JWT for private key authentication.
26
- """
27
-
28
- browserAuth: Optional[bool]
29
- """
30
- Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_USE_BROWSER_AUTH` environment variable.
28
+ connecting to Snowflake. Valid options are: `SNOWFLAKE` | `OAUTH` | `EXTERNALBROWSER` | `OKTA` | `SNOWFLAKE_JWT` |
29
+ `TOKENACCESSOR` | `USERNAMEPASSWORDMFA`. Can also be sourced from the `SNOWFLAKE_AUTHENTICATOR` environment variable.
31
30
  """
32
31
 
33
32
  clientIp: Optional[str]
@@ -35,13 +34,13 @@ clientIp: Optional[str]
35
34
  IP address for network checks. Can also be sourced from the `SNOWFLAKE_CLIENT_IP` environment variable.
36
35
  """
37
36
 
38
- clientRequestMfaToken: Optional[bool]
37
+ clientRequestMfaToken: Optional[str]
39
38
  """
40
39
  When true the MFA token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also
41
40
  be sourced from the `SNOWFLAKE_CLIENT_REQUEST_MFA_TOKEN` environment variable.
42
41
  """
43
42
 
44
- clientStoreTemporaryCredential: Optional[bool]
43
+ clientStoreTemporaryCredential: Optional[str]
45
44
  """
46
45
  When true the ID token is cached in the credential manager. True by default in Windows/OSX. False for Linux. Can also be
47
46
  sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment variable.
@@ -49,31 +48,49 @@ sourced from the `SNOWFLAKE_CLIENT_STORE_TEMPORARY_CREDENTIAL` environment varia
49
48
 
50
49
  clientTimeout: Optional[int]
51
50
  """
52
- The timeout in seconds for the client to complete the authentication. Default is 900 seconds. Can also be sourced from
53
- the `SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
51
+ The timeout in seconds for the client to complete the authentication. Can also be sourced from the
52
+ `SNOWFLAKE_CLIENT_TIMEOUT` environment variable.
53
+ """
54
+
55
+ disableConsoleLogin: Optional[str]
56
+ """
57
+ Indicates whether console login should be disabled in the driver. Can also be sourced from the
58
+ `SNOWFLAKE_DISABLE_CONSOLE_LOGIN` environment variable.
54
59
  """
55
60
 
56
61
  disableQueryContextCache: Optional[bool]
57
62
  """
58
- Should HTAP query context cache be disabled. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE`
63
+ Disables HTAP query context cache in the driver. Can also be sourced from the `SNOWFLAKE_DISABLE_QUERY_CONTEXT_CACHE`
59
64
  environment variable.
60
65
  """
61
66
 
62
67
  disableTelemetry: Optional[bool]
63
68
  """
64
- Indicates whether to disable telemetry. Can also be sourced from the `SNOWFLAKE_DISABLE_TELEMETRY` environment variable.
69
+ Disables telemetry in the driver. Can also be sourced from the `DISABLE_TELEMETRY` environment variable.
70
+ """
71
+
72
+ driverTracing: Optional[str]
73
+ """
74
+ Specifies the logging level to be used by the driver. Valid options are: `trace` | `debug` | `info` | `print` |
75
+ `warning` | `error` | `fatal` | `panic`. Can also be sourced from the `SNOWFLAKE_DRIVER_TRACING` environment variable.
65
76
  """
66
77
 
67
78
  externalBrowserTimeout: Optional[int]
68
79
  """
69
- The timeout in seconds for the external browser to complete the authentication. Default is 120 seconds. Can also be
70
- sourced from the `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
80
+ The timeout in seconds for the external browser to complete the authentication. Can also be sourced from the
81
+ `SNOWFLAKE_EXTERNAL_BROWSER_TIMEOUT` environment variable.
71
82
  """
72
83
 
73
84
  host: Optional[str]
74
85
  """
75
- Supports passing in a custom host value to the snowflake go driver for use with privatelink. Can also be sourced from
76
- the `SNOWFLAKE_HOST` environment variable.
86
+ Specifies a custom host value used by the driver for privatelink connections. Can also be sourced from the
87
+ `SNOWFLAKE_HOST` environment variable.
88
+ """
89
+
90
+ includeRetryReason: Optional[str]
91
+ """
92
+ Should retried request contain retry reason. Can also be sourced from the `SNOWFLAKE_INCLUDE_RETRY_REASON` environment
93
+ variable.
77
94
  """
78
95
 
79
96
  insecureMode: Optional[bool]
@@ -85,8 +102,8 @@ environment variable.
85
102
 
86
103
  jwtClientTimeout: Optional[int]
87
104
  """
88
- The timeout in seconds for the JWT client to complete the authentication. Default is 10 seconds. Can also be sourced
89
- from the `SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
105
+ The timeout in seconds for the JWT client to complete the authentication. Can also be sourced from the
106
+ `SNOWFLAKE_JWT_CLIENT_TIMEOUT` environment variable.
90
107
  """
91
108
 
92
109
  jwtExpireTimeout: Optional[int]
@@ -102,48 +119,17 @@ Enables the session to persist even after the connection is closed. Can also be
102
119
 
103
120
  loginTimeout: Optional[int]
104
121
  """
105
- Login retry timeout EXCLUDING network roundtrip and read out http response. Can also be sourced from the
122
+ Login retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
106
123
  `SNOWFLAKE_LOGIN_TIMEOUT` environment variable.
107
124
  """
108
125
 
109
- oauthAccessToken: Optional[str]
110
- """
111
- Token for use with OAuth. Generating the token is left to other tools. Cannot be used with `browser_auth`,
112
- `private_key_path`, `oauth_refresh_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_ACCESS_TOKEN`
113
- environment variable.
114
- """
115
-
116
- oauthClientId: Optional[str]
117
- """
118
- Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_ID` environment variable.
119
- """
120
-
121
- oauthClientSecret: Optional[str]
122
- """
123
- Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_CLIENT_SECRET` environment
124
- variable.
125
- """
126
-
127
- oauthEndpoint: Optional[str]
128
- """
129
- Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_ENDPOINT` environment variable.
130
- """
131
-
132
- oauthRedirectUrl: Optional[str]
133
- """
134
- Required when `oauth_refresh_token` is used. Can also be sourced from `SNOWFLAKE_OAUTH_REDIRECT_URL` environment
135
- variable.
136
- """
137
-
138
- oauthRefreshToken: Optional[str]
126
+ maxRetryCount: Optional[int]
139
127
  """
140
- Token for use with OAuth. Setup and generation of the token is left to other tools. Should be used in conjunction with
141
- `oauth_client_id`, `oauth_client_secret`, `oauth_endpoint`, `oauth_redirect_url`. Cannot be used with `browser_auth`,
142
- `private_key_path`, `oauth_access_token` or `password`. Can also be sourced from `SNOWFLAKE_OAUTH_REFRESH_TOKEN`
143
- environment variable.
128
+ Specifies how many times non-periodic HTTP request can be retried by the driver. Can also be sourced from the
129
+ `SNOWFLAKE_MAX_RETRY_COUNT` environment variable.
144
130
  """
145
131
 
146
- ocspFailOpen: Optional[bool]
132
+ ocspFailOpen: Optional[str]
147
133
  """
148
134
  True represents OCSP fail open mode. False represents OCSP fail closed mode. Fail open true by default. Can also be
149
135
  sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
@@ -151,13 +137,22 @@ sourced from the `SNOWFLAKE_OCSP_FAIL_OPEN` environment variable.
151
137
 
152
138
  oktaUrl: Optional[str]
153
139
  """
154
- The URL of the Okta server. e.g. https://example.okta.com. Can also be sourced from the `SNOWFLAKE_OKTA_URL` environment
155
- variable.
140
+ 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
141
+ in Snowflake [docs](https://docs.snowflake.com/en/user-guide/oauth-okta). Can also be sourced from the
142
+ `SNOWFLAKE_OKTA_URL` environment variable.
143
+ """
144
+
145
+ organizationName: Optional[str]
146
+ """
147
+ Specifies your Snowflake organization name assigned by Snowflake. For information about account identifiers, see the
148
+ [Snowflake documentation](https://docs.snowflake.com/en/user-guide/admin-account-identifier#organization-name). Required
149
+ unless using `profile`. Can also be sourced from the `SNOWFLAKE_ORGANIZATION_NAME` environment variable.
156
150
  """
157
151
 
158
152
  params: Optional[str]
159
153
  """
160
- Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters)
154
+ Sets other connection (i.e. session) parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters).
155
+ This field can not be set with environmental variables.
161
156
  """
162
157
 
163
158
  passcode: Optional[str]
@@ -168,38 +163,34 @@ the `SNOWFLAKE_PASSCODE` environment variable.
168
163
 
169
164
  passcodeInPassword: Optional[bool]
170
165
  """
171
- False by default. Set to true if the MFA passcode is embedded in the login password. Appends the MFA passcode to the end
172
- of the password. Can also be sourced from the `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
166
+ False by default. Set to true if the MFA passcode is embedded to the configured password. Can also be sourced from the
167
+ `SNOWFLAKE_PASSCODE_IN_PASSWORD` environment variable.
173
168
  """
174
169
 
175
170
  password: Optional[str]
176
171
  """
177
- Password for username+password auth. Cannot be used with `browser_auth` or `private_key_path`. Can also be sourced from
178
- the `SNOWFLAKE_PASSWORD` environment variable.
172
+ Password for user + password auth. Cannot be used with `private_key` and `private_key_passphrase`. Can also be sourced
173
+ from the `SNOWFLAKE_PASSWORD` environment variable.
179
174
  """
180
175
 
181
176
  port: Optional[int]
182
177
  """
183
- Support custom port values to snowflake go driver for use with privatelink. Can also be sourced from the
178
+ Specifies a custom port value used by the driver for privatelink connections. Can also be sourced from the
184
179
  `SNOWFLAKE_PORT` environment variable.
185
180
  """
186
181
 
182
+ previewFeaturesEnabled: Optional[str]
183
+
187
184
  privateKey: Optional[str]
188
185
  """
189
- Private Key for username+private-key auth. Cannot be used with `browser_auth` or `password`. Can also be sourced from
186
+ Private Key for username+private-key auth. Cannot be used with `password`. Can also be sourced from the
190
187
  `SNOWFLAKE_PRIVATE_KEY` environment variable.
191
188
  """
192
189
 
193
190
  privateKeyPassphrase: Optional[str]
194
191
  """
195
192
  Supports the encryption ciphers aes-128-cbc, aes-128-gcm, aes-192-cbc, aes-192-gcm, aes-256-cbc, aes-256-gcm, and
196
- des-ede3-cbc. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
197
- """
198
-
199
- privateKeyPath: Optional[str]
200
- """
201
- Path to a private key for using keypair authentication. Cannot be used with `browser_auth`, `oauth_access_token` or
202
- `password`. Can also be sourced from `SNOWFLAKE_PRIVATE_KEY_PATH` environment variable.
193
+ des-ede3-cbc. Can also be sourced from the `SNOWFLAKE_PRIVATE_KEY_PASSPHRASE` environment variable.
203
194
  """
204
195
 
205
196
  profile: Optional[str]
@@ -210,34 +201,26 @@ variable.
210
201
 
211
202
  protocol: Optional[str]
212
203
  """
213
- Either http or https, defaults to https. Can also be sourced from the `SNOWFLAKE_PROTOCOL` environment variable.
214
- """
215
-
216
- region: Optional[str]
217
- """
218
- Snowflake region, such as "eu-central-1", with this parameter. However, since this parameter is deprecated, it is best
219
- to specify the region as part of the account parameter. For details, see the description of the account parameter.
220
- [Snowflake region](https://docs.snowflake.com/en/user-guide/intro-regions.html) to use. Required if using the [legacy
221
- format for the `account`
222
- identifier](https://docs.snowflake.com/en/user-guide/admin-account-identifier.html#format-2-legacy-account-locator-in-a-region)
223
- in the form of `<cloud_region_id>.<cloud>`. Can also be sourced from the `SNOWFLAKE_REGION` environment variable.
204
+ A protocol used in the connection. Valid options are: `http` | `https`. Can also be sourced from the
205
+ `SNOWFLAKE_PROTOCOL` environment variable.
224
206
  """
225
207
 
226
208
  requestTimeout: Optional[int]
227
209
  """
228
- request retry timeout EXCLUDING network roundtrip and read out http response. Can also be sourced from the
210
+ request retry timeout in seconds EXCLUDING network roundtrip and read out http response. Can also be sourced from the
229
211
  `SNOWFLAKE_REQUEST_TIMEOUT` environment variable.
230
212
  """
231
213
 
232
214
  role: Optional[str]
233
215
  """
234
216
  Specifies the role to use by default for accessing Snowflake objects in the client session. Can also be sourced from the
235
- `SNOWFLAKE_ROLE` environment variable. .
217
+ `SNOWFLAKE_ROLE` environment variable.
236
218
  """
237
219
 
238
- sessionParams: Optional[str]
220
+ tmpDirectoryPath: Optional[str]
239
221
  """
240
- Sets session parameters. [Parameters](https://docs.snowflake.com/en/sql-reference/parameters)
222
+ Sets temporary directory used by the driver for operations like encrypting, compressing etc. Can also be sourced from
223
+ the `SNOWFLAKE_TMP_DIRECTORY_PATH` environment variable.
241
224
  """
242
225
 
243
226
  token: Optional[str]
@@ -250,16 +233,10 @@ tokenAccessor: Optional[str]
250
233
 
251
234
  user: Optional[str]
252
235
  """
253
- Username. Can also be sourced from the `SNOWFLAKE_USER` environment variable. Required unless using `profile`.
254
- """
255
-
256
- username: Optional[str]
257
- """
258
- Username for username+password authentication. Can also be sourced from the `SNOWFLAKE_USERNAME` environment variable.
259
- Required unless using `profile`.
236
+ Username. Required unless using `profile`. Can also be sourced from the `SNOWFLAKE_USER` environment variable.
260
237
  """
261
238
 
262
- validateDefaultParameters: Optional[bool]
239
+ validateDefaultParameters: Optional[str]
263
240
  """
264
241
  True by default. If false, disables the validation checks for Database, Schema, Warehouse and Role at the time a
265
242
  connection is established. Can also be sourced from the `SNOWFLAKE_VALIDATE_DEFAULT_PARAMETERS` environment variable.
@@ -4,9 +4,14 @@
4
4
 
5
5
  import copy
6
6
  import warnings
7
+ import sys
7
8
  import pulumi
8
9
  import pulumi.runtime
9
10
  from typing import Any, Mapping, Optional, Sequence, Union, overload
11
+ if sys.version_info >= (3, 11):
12
+ from typing import NotRequired, TypedDict, TypeAlias
13
+ else:
14
+ from typing_extensions import NotRequired, TypedDict, TypeAlias
10
15
  from .. import _utilities
11
16
 
12
17
  __all__ = [