@pulumi/snowflake 0.63.0-alpha.1734439451 → 1.0.0

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.
Files changed (301) hide show
  1. package/account.d.ts +40 -86
  2. package/account.js +12 -5
  3. package/account.js.map +1 -1
  4. package/accountParameter.d.ts +7 -7
  5. package/accountParameter.js +1 -1
  6. package/accountRole.d.ts +4 -4
  7. package/accountRole.js +1 -1
  8. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.d.ts +4 -13
  9. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js +1 -1
  10. package/apiAuthenticationIntegrationWithAuthorizationCodeGrant.js.map +1 -1
  11. package/apiAuthenticationIntegrationWithClientCredentials.d.ts +4 -13
  12. package/apiAuthenticationIntegrationWithClientCredentials.js +1 -1
  13. package/apiAuthenticationIntegrationWithClientCredentials.js.map +1 -1
  14. package/apiAuthenticationIntegrationWithJwtBearer.d.ts +4 -13
  15. package/apiAuthenticationIntegrationWithJwtBearer.js +1 -1
  16. package/apiAuthenticationIntegrationWithJwtBearer.js.map +1 -1
  17. package/authenticationPolicy.d.ts +9 -9
  18. package/config/vars.d.ts +6 -74
  19. package/config/vars.js +6 -83
  20. package/config/vars.js.map +1 -1
  21. package/database.d.ts +4 -4
  22. package/database.js +1 -1
  23. package/databaseRole.d.ts +6 -6
  24. package/{unsafeExecute.d.ts → execute.d.ts} +21 -14
  25. package/{unsafeExecute.js → execute.js} +17 -10
  26. package/execute.js.map +1 -0
  27. package/externalOauthIntegration.d.ts +12 -12
  28. package/externalOauthIntegration.js +1 -1
  29. package/externalVolume.d.ts +5 -3
  30. package/externalVolume.js +2 -0
  31. package/externalVolume.js.map +1 -1
  32. package/functionJava.d.ts +324 -0
  33. package/{function.js → functionJava.js} +40 -22
  34. package/functionJava.js.map +1 -0
  35. package/functionJavascript.d.ts +240 -0
  36. package/functionJavascript.js +106 -0
  37. package/functionJavascript.js.map +1 -0
  38. package/functionPython.d.ts +324 -0
  39. package/functionPython.js +123 -0
  40. package/functionPython.js.map +1 -0
  41. package/functionScala.d.ts +324 -0
  42. package/functionScala.js +123 -0
  43. package/functionScala.js.map +1 -0
  44. package/functionSql.d.ts +228 -0
  45. package/functionSql.js +104 -0
  46. package/functionSql.js.map +1 -0
  47. package/getAccountRoles.d.ts +57 -0
  48. package/getAccountRoles.js +32 -0
  49. package/getAccountRoles.js.map +1 -0
  50. package/getAccounts.d.ts +25 -7
  51. package/getAccounts.js +10 -2
  52. package/getAccounts.js.map +1 -1
  53. package/getAlerts.d.ts +4 -0
  54. package/getAlerts.js +4 -0
  55. package/getAlerts.js.map +1 -1
  56. package/getConnections.d.ts +2 -48
  57. package/getConnections.js +2 -48
  58. package/getConnections.js.map +1 -1
  59. package/getCortexSearchServices.d.ts +4 -0
  60. package/getCortexSearchServices.js +4 -0
  61. package/getCortexSearchServices.js.map +1 -1
  62. package/getCurrentAccount.d.ts +4 -0
  63. package/getCurrentAccount.js +4 -0
  64. package/getCurrentAccount.js.map +1 -1
  65. package/getCurrentRole.d.ts +6 -0
  66. package/getCurrentRole.js +6 -0
  67. package/getCurrentRole.js.map +1 -1
  68. package/getDatabase.d.ts +4 -0
  69. package/getDatabase.js +4 -0
  70. package/getDatabase.js.map +1 -1
  71. package/getDatabaseRole.d.ts +4 -0
  72. package/getDatabaseRole.js +4 -0
  73. package/getDatabaseRole.js.map +1 -1
  74. package/getDatabaseRoles.d.ts +2 -6
  75. package/getDatabaseRoles.js +2 -6
  76. package/getDatabaseRoles.js.map +1 -1
  77. package/getDatabases.d.ts +2 -6
  78. package/getDatabases.js +2 -6
  79. package/getDatabases.js.map +1 -1
  80. package/getDynamicTables.d.ts +6 -0
  81. package/getDynamicTables.js +6 -0
  82. package/getDynamicTables.js.map +1 -1
  83. package/getExternalFunctions.d.ts +4 -0
  84. package/getExternalFunctions.js +4 -0
  85. package/getExternalFunctions.js.map +1 -1
  86. package/getExternalTables.d.ts +4 -0
  87. package/getExternalTables.js +4 -0
  88. package/getExternalTables.js.map +1 -1
  89. package/getFailoverGroups.d.ts +6 -0
  90. package/getFailoverGroups.js +6 -0
  91. package/getFailoverGroups.js.map +1 -1
  92. package/getFileFormats.d.ts +4 -0
  93. package/getFileFormats.js +4 -0
  94. package/getFileFormats.js.map +1 -1
  95. package/getFunctions.d.ts +4 -0
  96. package/getFunctions.js +4 -0
  97. package/getFunctions.js.map +1 -1
  98. package/getGrants.d.ts +0 -4
  99. package/getGrants.js +0 -4
  100. package/getGrants.js.map +1 -1
  101. package/getMaskingPolicies.d.ts +2 -6
  102. package/getMaskingPolicies.js +2 -6
  103. package/getMaskingPolicies.js.map +1 -1
  104. package/getMaterializedViews.d.ts +4 -0
  105. package/getMaterializedViews.js +4 -0
  106. package/getMaterializedViews.js.map +1 -1
  107. package/getNetworkPolicies.d.ts +2 -6
  108. package/getNetworkPolicies.js +2 -6
  109. package/getNetworkPolicies.js.map +1 -1
  110. package/getParameters.d.ts +4 -0
  111. package/getParameters.js +4 -0
  112. package/getParameters.js.map +1 -1
  113. package/getPipes.d.ts +4 -0
  114. package/getPipes.js +4 -0
  115. package/getPipes.js.map +1 -1
  116. package/getProcedures.d.ts +4 -0
  117. package/getProcedures.js +4 -0
  118. package/getProcedures.js.map +1 -1
  119. package/getResourceMonitors.d.ts +2 -6
  120. package/getResourceMonitors.js +2 -6
  121. package/getResourceMonitors.js.map +1 -1
  122. package/getRowAccessPolicies.d.ts +2 -6
  123. package/getRowAccessPolicies.js +2 -6
  124. package/getRowAccessPolicies.js.map +1 -1
  125. package/getSchemas.d.ts +6 -4
  126. package/getSchemas.js +6 -4
  127. package/getSchemas.js.map +1 -1
  128. package/getSecrets.d.ts +2 -6
  129. package/getSecrets.js +2 -6
  130. package/getSecrets.js.map +1 -1
  131. package/getSecurityIntegrations.d.ts +2 -6
  132. package/getSecurityIntegrations.js +2 -6
  133. package/getSecurityIntegrations.js.map +1 -1
  134. package/getSequences.d.ts +4 -0
  135. package/getSequences.js +4 -0
  136. package/getSequences.js.map +1 -1
  137. package/getShares.d.ts +4 -0
  138. package/getShares.js +4 -0
  139. package/getShares.js.map +1 -1
  140. package/getStages.d.ts +4 -0
  141. package/getStages.js +4 -0
  142. package/getStages.js.map +1 -1
  143. package/getStorageIntegrations.d.ts +4 -0
  144. package/getStorageIntegrations.js +4 -0
  145. package/getStorageIntegrations.js.map +1 -1
  146. package/getStreamlits.d.ts +2 -6
  147. package/getStreamlits.js +2 -6
  148. package/getStreamlits.js.map +1 -1
  149. package/getStreams.d.ts +2 -6
  150. package/getStreams.js +2 -6
  151. package/getStreams.js.map +1 -1
  152. package/getSystemGenerateScimAccessToken.d.ts +4 -0
  153. package/getSystemGenerateScimAccessToken.js +4 -0
  154. package/getSystemGenerateScimAccessToken.js.map +1 -1
  155. package/getSystemGetPrivateLinkConfig.d.ts +4 -0
  156. package/getSystemGetPrivateLinkConfig.js +4 -0
  157. package/getSystemGetPrivateLinkConfig.js.map +1 -1
  158. package/getSystemGetSnowflakePlatformInfo.d.ts +6 -0
  159. package/getSystemGetSnowflakePlatformInfo.js +6 -0
  160. package/getSystemGetSnowflakePlatformInfo.js.map +1 -1
  161. package/getTables.d.ts +4 -0
  162. package/getTables.js +4 -0
  163. package/getTables.js.map +1 -1
  164. package/getTags.d.ts +2 -6
  165. package/getTags.js +2 -6
  166. package/getTags.js.map +1 -1
  167. package/getTasks.d.ts +0 -4
  168. package/getTasks.js +0 -4
  169. package/getTasks.js.map +1 -1
  170. package/getUsers.d.ts +2 -6
  171. package/getUsers.js +2 -6
  172. package/getUsers.js.map +1 -1
  173. package/getViews.d.ts +2 -6
  174. package/getViews.js +2 -6
  175. package/getViews.js.map +1 -1
  176. package/getWarehouses.d.ts +2 -6
  177. package/getWarehouses.js +2 -6
  178. package/getWarehouses.js.map +1 -1
  179. package/grantAccountRole.d.ts +9 -9
  180. package/grantApplicationRole.d.ts +3 -3
  181. package/grantDatabaseRole.d.ts +12 -12
  182. package/grantOwnership.d.ts +6 -6
  183. package/grantPrivilegesToAccountRole.d.ts +6 -6
  184. package/grantPrivilegesToDatabaseRole.d.ts +6 -6
  185. package/grantPrivilegesToShare.d.ts +18 -18
  186. package/index.d.ts +36 -36
  187. package/index.js +62 -60
  188. package/index.js.map +1 -1
  189. package/legacyServiceUser.d.ts +9 -9
  190. package/maskingPolicy.d.ts +9 -9
  191. package/networkPolicy.d.ts +10 -10
  192. package/networkPolicy.js +1 -1
  193. package/oauthIntegrationForCustomClients.d.ts +23 -15
  194. package/oauthIntegrationForCustomClients.js +3 -4
  195. package/oauthIntegrationForCustomClients.js.map +1 -1
  196. package/oauthIntegrationForPartnerApplications.d.ts +16 -8
  197. package/oauthIntegrationForPartnerApplications.js +2 -3
  198. package/oauthIntegrationForPartnerApplications.js.map +1 -1
  199. package/package.json +2 -2
  200. package/passwordPolicy.d.ts +7 -0
  201. package/passwordPolicy.js +7 -0
  202. package/passwordPolicy.js.map +1 -1
  203. package/primaryConnection.d.ts +7 -7
  204. package/primaryConnection.js +1 -1
  205. package/procedureJava.d.ts +345 -0
  206. package/procedureJava.js +128 -0
  207. package/procedureJava.js.map +1 -0
  208. package/procedureJavascript.d.ts +249 -0
  209. package/procedureJavascript.js +106 -0
  210. package/procedureJavascript.js.map +1 -0
  211. package/procedurePython.d.ts +333 -0
  212. package/procedurePython.js +126 -0
  213. package/procedurePython.js.map +1 -0
  214. package/procedureScala.d.ts +345 -0
  215. package/procedureScala.js +128 -0
  216. package/procedureScala.js.map +1 -0
  217. package/procedureSql.d.ts +249 -0
  218. package/{procedure.js → procedureSql.js} +36 -32
  219. package/procedureSql.js.map +1 -0
  220. package/provider.d.ts +11 -182
  221. package/provider.js +10 -21
  222. package/provider.js.map +1 -1
  223. package/resourceMonitor.d.ts +7 -9
  224. package/resourceMonitor.js +1 -3
  225. package/resourceMonitor.js.map +1 -1
  226. package/rowAccessPolicy.d.ts +9 -9
  227. package/saml2Integration.d.ts +4 -4
  228. package/saml2Integration.js +1 -1
  229. package/schema.d.ts +6 -8
  230. package/schema.js +0 -2
  231. package/schema.js.map +1 -1
  232. package/scimIntegration.d.ts +7 -7
  233. package/scimIntegration.js +1 -1
  234. package/secondaryConnection.d.ts +7 -7
  235. package/secondaryConnection.js +1 -1
  236. package/secondaryDatabase.d.ts +7 -7
  237. package/secondaryDatabase.js +1 -1
  238. package/secretWithAuthorizationCodeGrant.d.ts +12 -12
  239. package/secretWithBasicAuthentication.d.ts +9 -9
  240. package/secretWithClientCredentials.d.ts +12 -12
  241. package/secretWithGenericString.d.ts +9 -9
  242. package/serviceUser.d.ts +9 -9
  243. package/sharedDatabase.d.ts +7 -7
  244. package/sharedDatabase.js +1 -1
  245. package/streamOnDirectoryTable.d.ts +12 -21
  246. package/streamOnDirectoryTable.js.map +1 -1
  247. package/streamOnExternalTable.d.ts +12 -21
  248. package/streamOnExternalTable.js.map +1 -1
  249. package/streamOnTable.d.ts +12 -21
  250. package/streamOnTable.js.map +1 -1
  251. package/streamOnView.d.ts +12 -21
  252. package/streamOnView.js.map +1 -1
  253. package/streamlit.d.ts +18 -20
  254. package/streamlit.js +0 -2
  255. package/streamlit.js.map +1 -1
  256. package/tag.d.ts +12 -12
  257. package/tagAssociation.d.ts +11 -31
  258. package/tagAssociation.js +2 -4
  259. package/tagAssociation.js.map +1 -1
  260. package/task.d.ts +25 -27
  261. package/task.js +1 -3
  262. package/task.js.map +1 -1
  263. package/types/input.d.ts +828 -47
  264. package/types/output.d.ts +846 -94
  265. package/user.d.ts +9 -9
  266. package/view.d.ts +12 -21
  267. package/view.js.map +1 -1
  268. package/warehouse.d.ts +7 -7
  269. package/warehouse.js +1 -1
  270. package/databaseOld.d.ts +0 -147
  271. package/databaseOld.js +0 -70
  272. package/databaseOld.js.map +0 -1
  273. package/function.d.ts +0 -247
  274. package/function.js.map +0 -1
  275. package/getRole.d.ts +0 -66
  276. package/getRole.js +0 -50
  277. package/getRole.js.map +0 -1
  278. package/getRoles.d.ts +0 -61
  279. package/getRoles.js +0 -36
  280. package/getRoles.js.map +0 -1
  281. package/oauthIntegration.d.ts +0 -171
  282. package/oauthIntegration.js +0 -79
  283. package/oauthIntegration.js.map +0 -1
  284. package/procedure.d.ts +0 -253
  285. package/procedure.js.map +0 -1
  286. package/role.d.ts +0 -76
  287. package/role.js +0 -62
  288. package/role.js.map +0 -1
  289. package/samlIntegration.d.ts +0 -243
  290. package/samlIntegration.js +0 -104
  291. package/samlIntegration.js.map +0 -1
  292. package/sessionParameter.d.ts +0 -91
  293. package/sessionParameter.js +0 -68
  294. package/sessionParameter.js.map +0 -1
  295. package/stream.d.ts +0 -181
  296. package/stream.js +0 -86
  297. package/stream.js.map +0 -1
  298. package/tagMaskingPolicyAssociation.d.ts +0 -69
  299. package/tagMaskingPolicyAssociation.js +0 -66
  300. package/tagMaskingPolicyAssociation.js.map +0 -1
  301. package/unsafeExecute.js.map +0 -1
package/user.d.ts CHANGED
@@ -92,7 +92,7 @@ export declare class User extends pulumi.CustomResource {
92
92
  */
93
93
  readonly defaultNamespace: pulumi.Output<string | undefined>;
94
94
  /**
95
- * Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists.
95
+ * Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
96
96
  */
97
97
  readonly defaultRole: pulumi.Output<string | undefined>;
98
98
  /**
@@ -100,7 +100,7 @@ export declare class User extends pulumi.CustomResource {
100
100
  */
101
101
  readonly defaultSecondaryRolesOption: pulumi.Output<string | undefined>;
102
102
  /**
103
- * Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists.
103
+ * Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
104
104
  */
105
105
  readonly defaultWarehouse: pulumi.Output<string | undefined>;
106
106
  readonly disableMfa: pulumi.Output<string | undefined>;
@@ -195,7 +195,7 @@ export declare class User extends pulumi.CustomResource {
195
195
  */
196
196
  readonly mustChangePassword: pulumi.Output<string | undefined>;
197
197
  /**
198
- * Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
198
+ * Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
199
199
  */
200
200
  readonly name: pulumi.Output<string>;
201
201
  /**
@@ -422,7 +422,7 @@ export interface UserState {
422
422
  */
423
423
  defaultNamespace?: pulumi.Input<string>;
424
424
  /**
425
- * Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists.
425
+ * Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
426
426
  */
427
427
  defaultRole?: pulumi.Input<string>;
428
428
  /**
@@ -430,7 +430,7 @@ export interface UserState {
430
430
  */
431
431
  defaultSecondaryRolesOption?: pulumi.Input<string>;
432
432
  /**
433
- * Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists.
433
+ * Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
434
434
  */
435
435
  defaultWarehouse?: pulumi.Input<string>;
436
436
  disableMfa?: pulumi.Input<string>;
@@ -525,7 +525,7 @@ export interface UserState {
525
525
  */
526
526
  mustChangePassword?: pulumi.Input<string>;
527
527
  /**
528
- * Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
528
+ * Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
529
529
  */
530
530
  name?: pulumi.Input<string>;
531
531
  /**
@@ -744,7 +744,7 @@ export interface UserArgs {
744
744
  */
745
745
  defaultNamespace?: pulumi.Input<string>;
746
746
  /**
747
- * Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists.
747
+ * Specifies the role that is active by default for the user’s session upon login. Note that specifying a default role for a user does **not** grant the role to the user. The role must be granted explicitly to the user using the [GRANT ROLE](https://docs.snowflake.com/en/sql-reference/sql/grant-role) command. In addition, the CREATE USER operation does not verify that the role exists. For more information about this resource, see docs.
748
748
  */
749
749
  defaultRole?: pulumi.Input<string>;
750
750
  /**
@@ -752,7 +752,7 @@ export interface UserArgs {
752
752
  */
753
753
  defaultSecondaryRolesOption?: pulumi.Input<string>;
754
754
  /**
755
- * Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists.
755
+ * Specifies the virtual warehouse that is active by default for the user’s session upon login. Note that the CREATE USER operation does not verify that the warehouse exists. For more information about this resource, see docs.
756
756
  */
757
757
  defaultWarehouse?: pulumi.Input<string>;
758
758
  disableMfa?: pulumi.Input<string>;
@@ -843,7 +843,7 @@ export interface UserArgs {
843
843
  */
844
844
  mustChangePassword?: pulumi.Input<string>;
845
845
  /**
846
- * Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
846
+ * Name of the user. Note that if you do not supply login*name this will be used as login*name. Check the [docs](https://docs.snowflake.net/manuals/sql-reference/sql/create-user.html#required-parameters). Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
847
847
  */
848
848
  name?: pulumi.Input<string>;
849
849
  /**
package/view.d.ts CHANGED
@@ -40,9 +40,6 @@ export declare class View extends pulumi.CustomResource {
40
40
  * Specifies a comment for the view.
41
41
  */
42
42
  readonly comment: pulumi.Output<string | undefined>;
43
- /**
44
- * Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
45
- */
46
43
  readonly copyGrants: pulumi.Output<boolean | undefined>;
47
44
  /**
48
45
  * Data metric functions used for the view.
@@ -53,7 +50,7 @@ export declare class View extends pulumi.CustomResource {
53
50
  */
54
51
  readonly dataMetricSchedule: pulumi.Output<outputs.ViewDataMetricSchedule | undefined>;
55
52
  /**
56
- * The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
53
+ * The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
57
54
  */
58
55
  readonly database: pulumi.Output<string>;
59
56
  /**
@@ -71,7 +68,7 @@ export declare class View extends pulumi.CustomResource {
71
68
  readonly isSecure: pulumi.Output<string | undefined>;
72
69
  readonly isTemporary: pulumi.Output<string | undefined>;
73
70
  /**
74
- * Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
71
+ * Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
75
72
  */
76
73
  readonly name: pulumi.Output<string>;
77
74
  /**
@@ -79,7 +76,7 @@ export declare class View extends pulumi.CustomResource {
79
76
  */
80
77
  readonly rowAccessPolicy: pulumi.Output<outputs.ViewRowAccessPolicy | undefined>;
81
78
  /**
82
- * The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
79
+ * The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
83
80
  */
84
81
  readonly schema: pulumi.Output<string>;
85
82
  /**
@@ -87,7 +84,7 @@ export declare class View extends pulumi.CustomResource {
87
84
  */
88
85
  readonly showOutputs: pulumi.Output<outputs.ViewShowOutput[]>;
89
86
  /**
90
- * Specifies the query used to create the view.
87
+ * Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
91
88
  */
92
89
  readonly statement: pulumi.Output<string>;
93
90
  /**
@@ -119,9 +116,6 @@ export interface ViewState {
119
116
  * Specifies a comment for the view.
120
117
  */
121
118
  comment?: pulumi.Input<string>;
122
- /**
123
- * Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
124
- */
125
119
  copyGrants?: pulumi.Input<boolean>;
126
120
  /**
127
121
  * Data metric functions used for the view.
@@ -132,7 +126,7 @@ export interface ViewState {
132
126
  */
133
127
  dataMetricSchedule?: pulumi.Input<inputs.ViewDataMetricSchedule>;
134
128
  /**
135
- * The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
129
+ * The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
136
130
  */
137
131
  database?: pulumi.Input<string>;
138
132
  /**
@@ -150,7 +144,7 @@ export interface ViewState {
150
144
  isSecure?: pulumi.Input<string>;
151
145
  isTemporary?: pulumi.Input<string>;
152
146
  /**
153
- * Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
147
+ * Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
154
148
  */
155
149
  name?: pulumi.Input<string>;
156
150
  /**
@@ -158,7 +152,7 @@ export interface ViewState {
158
152
  */
159
153
  rowAccessPolicy?: pulumi.Input<inputs.ViewRowAccessPolicy>;
160
154
  /**
161
- * The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
155
+ * The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
162
156
  */
163
157
  schema?: pulumi.Input<string>;
164
158
  /**
@@ -166,7 +160,7 @@ export interface ViewState {
166
160
  */
167
161
  showOutputs?: pulumi.Input<pulumi.Input<inputs.ViewShowOutput>[]>;
168
162
  /**
169
- * Specifies the query used to create the view.
163
+ * Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
170
164
  */
171
165
  statement?: pulumi.Input<string>;
172
166
  }
@@ -190,9 +184,6 @@ export interface ViewArgs {
190
184
  * Specifies a comment for the view.
191
185
  */
192
186
  comment?: pulumi.Input<string>;
193
- /**
194
- * Retains the access permissions from the original view when a new view is created using the OR REPLACE clause.
195
- */
196
187
  copyGrants?: pulumi.Input<boolean>;
197
188
  /**
198
189
  * Data metric functions used for the view.
@@ -203,7 +194,7 @@ export interface ViewArgs {
203
194
  */
204
195
  dataMetricSchedule?: pulumi.Input<inputs.ViewDataMetricSchedule>;
205
196
  /**
206
- * The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
197
+ * The database in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
207
198
  */
208
199
  database: pulumi.Input<string>;
209
200
  /**
@@ -213,7 +204,7 @@ export interface ViewArgs {
213
204
  isSecure?: pulumi.Input<string>;
214
205
  isTemporary?: pulumi.Input<string>;
215
206
  /**
216
- * Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
207
+ * Specifies the identifier for the view; must be unique for the schema in which the view is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
217
208
  */
218
209
  name?: pulumi.Input<string>;
219
210
  /**
@@ -221,11 +212,11 @@ export interface ViewArgs {
221
212
  */
222
213
  rowAccessPolicy?: pulumi.Input<inputs.ViewRowAccessPolicy>;
223
214
  /**
224
- * The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
215
+ * The schema in which to create the view. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
225
216
  */
226
217
  schema: pulumi.Input<string>;
227
218
  /**
228
- * Specifies the query used to create the view.
219
+ * Specifies the query used to create the view. To mitigate permadiff on this field, the provider replaces blank characters with a space. This can lead to false positives in cases where a change in case or run of whitespace is semantically significant.
229
220
  */
230
221
  statement: pulumi.Input<string>;
231
222
  }
package/view.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"view.js","sourceRoot":"","sources":["../view.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,IAAK,SAAQ,MAAM,CAAC,cAAc;IAC3C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAiB,EAAE,IAAmC;QAC/G,OAAO,IAAI,IAAI,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC3D,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,IAAI,CAAC,YAAY,CAAC;IACrD,CAAC;IA6ED,YAAY,IAAY,EAAE,WAAkC,EAAE,IAAmC;QAC7F,IAAI,cAAc,GA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,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,IAAI,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACzD,CAAC;;AA3JL,oBA4JC;AA9IG,gBAAgB;AACO,iBAAY,GAAG,2BAA2B,CAAC"}
package/warehouse.d.ts CHANGED
@@ -5,7 +5,7 @@ import * as outputs from "./types/output";
5
5
  * ## Import
6
6
  *
7
7
  * ```sh
8
- * $ pulumi import snowflake:index/warehouse:Warehouse example warehouseName
8
+ * $ pulumi import snowflake:index/warehouse:Warehouse example '"<warehouse_name>"'
9
9
  * ```
10
10
  */
11
11
  export declare class Warehouse extends pulumi.CustomResource {
@@ -61,7 +61,7 @@ export declare class Warehouse extends pulumi.CustomResource {
61
61
  */
62
62
  readonly minClusterCount: pulumi.Output<number | undefined>;
63
63
  /**
64
- * Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
64
+ * Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
65
65
  */
66
66
  readonly name: pulumi.Output<string>;
67
67
  /**
@@ -73,7 +73,7 @@ export declare class Warehouse extends pulumi.CustomResource {
73
73
  */
74
74
  readonly queryAccelerationMaxScaleFactor: pulumi.Output<number | undefined>;
75
75
  /**
76
- * Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
76
+ * Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
77
77
  */
78
78
  readonly resourceMonitor: pulumi.Output<string | undefined>;
79
79
  /**
@@ -150,7 +150,7 @@ export interface WarehouseState {
150
150
  */
151
151
  minClusterCount?: pulumi.Input<number>;
152
152
  /**
153
- * Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
153
+ * Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
154
154
  */
155
155
  name?: pulumi.Input<string>;
156
156
  /**
@@ -162,7 +162,7 @@ export interface WarehouseState {
162
162
  */
163
163
  queryAccelerationMaxScaleFactor?: pulumi.Input<number>;
164
164
  /**
165
- * Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
165
+ * Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
166
166
  */
167
167
  resourceMonitor?: pulumi.Input<string>;
168
168
  /**
@@ -227,7 +227,7 @@ export interface WarehouseArgs {
227
227
  */
228
228
  minClusterCount?: pulumi.Input<number>;
229
229
  /**
230
- * Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
230
+ * Identifier for the virtual warehouse; must be unique for your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
231
231
  */
232
232
  name?: pulumi.Input<string>;
233
233
  /**
@@ -235,7 +235,7 @@ export interface WarehouseArgs {
235
235
  */
236
236
  queryAccelerationMaxScaleFactor?: pulumi.Input<number>;
237
237
  /**
238
- * Specifies the name of a resource monitor that is explicitly assigned to the warehouse.
238
+ * Specifies the name of a resource monitor that is explicitly assigned to the warehouse. For more information about this resource, see docs.
239
239
  */
240
240
  resourceMonitor?: pulumi.Input<string>;
241
241
  /**
package/warehouse.js CHANGED
@@ -9,7 +9,7 @@ const utilities = require("./utilities");
9
9
  * ## Import
10
10
  *
11
11
  * ```sh
12
- * $ pulumi import snowflake:index/warehouse:Warehouse example warehouseName
12
+ * $ pulumi import snowflake:index/warehouse:Warehouse example '"<warehouse_name>"'
13
13
  * ```
14
14
  */
15
15
  class Warehouse extends pulumi.CustomResource {
package/databaseOld.d.ts DELETED
@@ -1,147 +0,0 @@
1
- import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
- /**
5
- * ## Import
6
- *
7
- * ```sh
8
- * $ pulumi import snowflake:index/databaseOld:DatabaseOld example 'database_name'
9
- * ```
10
- */
11
- export declare class DatabaseOld extends pulumi.CustomResource {
12
- /**
13
- * Get an existing DatabaseOld resource's state with the given name, ID, and optional extra
14
- * properties used to qualify the lookup.
15
- *
16
- * @param name The _unique_ name of the resulting resource.
17
- * @param id The _unique_ provider ID of the resource to lookup.
18
- * @param state Any extra arguments used during the lookup.
19
- * @param opts Optional settings to control the behavior of the CustomResource.
20
- */
21
- static get(name: string, id: pulumi.Input<pulumi.ID>, state?: DatabaseOldState, opts?: pulumi.CustomResourceOptions): DatabaseOld;
22
- /**
23
- * Returns true if the given object is an instance of DatabaseOld. This is designed to work even
24
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
25
- */
26
- static isInstance(obj: any): obj is DatabaseOld;
27
- /**
28
- * Specifies a comment for the database.
29
- */
30
- readonly comment: pulumi.Output<string | undefined>;
31
- /**
32
- * Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database. Default value for this field is set to -1, which is a fallback to use Snowflake default. For more information, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
33
- */
34
- readonly dataRetentionTimeInDays: pulumi.Output<number | undefined>;
35
- /**
36
- * Specify a database to create a clone from.
37
- */
38
- readonly fromDatabase: pulumi.Output<string | undefined>;
39
- /**
40
- * Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<db_name>"`. An example would be: `"myorg1"."account1"."db1"`
41
- */
42
- readonly fromReplica: pulumi.Output<string | undefined>;
43
- /**
44
- * Specify a provider and a share in this map to create a database from a share. As of version 0.87.0, the provider field is the account locator.
45
- */
46
- readonly fromShare: pulumi.Output<{
47
- [key: string]: string;
48
- } | undefined>;
49
- /**
50
- * Specifies a database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
51
- */
52
- readonly isTransient: pulumi.Output<boolean | undefined>;
53
- /**
54
- * Specifies the identifier for the database; must be unique for your account.
55
- */
56
- readonly name: pulumi.Output<string>;
57
- /**
58
- * When set, specifies the configurations for database replication.
59
- */
60
- readonly replicationConfiguration: pulumi.Output<outputs.DatabaseOldReplicationConfiguration | undefined>;
61
- /**
62
- * Create a DatabaseOld resource with the given unique name, arguments, and options.
63
- *
64
- * @param name The _unique_ name of the resource.
65
- * @param args The arguments to use to populate this resource's properties.
66
- * @param opts A bag of options that control this resource's behavior.
67
- */
68
- constructor(name: string, args?: DatabaseOldArgs, opts?: pulumi.CustomResourceOptions);
69
- }
70
- /**
71
- * Input properties used for looking up and filtering DatabaseOld resources.
72
- */
73
- export interface DatabaseOldState {
74
- /**
75
- * Specifies a comment for the database.
76
- */
77
- comment?: pulumi.Input<string>;
78
- /**
79
- * Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database. Default value for this field is set to -1, which is a fallback to use Snowflake default. For more information, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
80
- */
81
- dataRetentionTimeInDays?: pulumi.Input<number>;
82
- /**
83
- * Specify a database to create a clone from.
84
- */
85
- fromDatabase?: pulumi.Input<string>;
86
- /**
87
- * Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<db_name>"`. An example would be: `"myorg1"."account1"."db1"`
88
- */
89
- fromReplica?: pulumi.Input<string>;
90
- /**
91
- * Specify a provider and a share in this map to create a database from a share. As of version 0.87.0, the provider field is the account locator.
92
- */
93
- fromShare?: pulumi.Input<{
94
- [key: string]: pulumi.Input<string>;
95
- }>;
96
- /**
97
- * Specifies a database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
98
- */
99
- isTransient?: pulumi.Input<boolean>;
100
- /**
101
- * Specifies the identifier for the database; must be unique for your account.
102
- */
103
- name?: pulumi.Input<string>;
104
- /**
105
- * When set, specifies the configurations for database replication.
106
- */
107
- replicationConfiguration?: pulumi.Input<inputs.DatabaseOldReplicationConfiguration>;
108
- }
109
- /**
110
- * The set of arguments for constructing a DatabaseOld resource.
111
- */
112
- export interface DatabaseOldArgs {
113
- /**
114
- * Specifies a comment for the database.
115
- */
116
- comment?: pulumi.Input<string>;
117
- /**
118
- * Number of days for which Snowflake retains historical data for performing Time Travel actions (SELECT, CLONE, UNDROP) on the object. A value of 0 effectively disables Time Travel for the specified database. Default value for this field is set to -1, which is a fallback to use Snowflake default. For more information, see [Understanding & Using Time Travel](https://docs.snowflake.com/en/user-guide/data-time-travel).
119
- */
120
- dataRetentionTimeInDays?: pulumi.Input<number>;
121
- /**
122
- * Specify a database to create a clone from.
123
- */
124
- fromDatabase?: pulumi.Input<string>;
125
- /**
126
- * Specify a fully-qualified path to a database to create a replica from. A fully qualified path follows the format of `"<organization_name>"."<account_name>"."<db_name>"`. An example would be: `"myorg1"."account1"."db1"`
127
- */
128
- fromReplica?: pulumi.Input<string>;
129
- /**
130
- * Specify a provider and a share in this map to create a database from a share. As of version 0.87.0, the provider field is the account locator.
131
- */
132
- fromShare?: pulumi.Input<{
133
- [key: string]: pulumi.Input<string>;
134
- }>;
135
- /**
136
- * Specifies a database as transient. Transient databases do not have a Fail-safe period so they do not incur additional storage costs once they leave Time Travel; however, this means they are also not protected by Fail-safe in the event of a data loss.
137
- */
138
- isTransient?: pulumi.Input<boolean>;
139
- /**
140
- * Specifies the identifier for the database; must be unique for your account.
141
- */
142
- name?: pulumi.Input<string>;
143
- /**
144
- * When set, specifies the configurations for database replication.
145
- */
146
- replicationConfiguration?: pulumi.Input<inputs.DatabaseOldReplicationConfiguration>;
147
- }
package/databaseOld.js DELETED
@@ -1,70 +0,0 @@
1
- "use strict";
2
- // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
- // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
- Object.defineProperty(exports, "__esModule", { value: true });
5
- exports.DatabaseOld = void 0;
6
- const pulumi = require("@pulumi/pulumi");
7
- const utilities = require("./utilities");
8
- /**
9
- * ## Import
10
- *
11
- * ```sh
12
- * $ pulumi import snowflake:index/databaseOld:DatabaseOld example 'database_name'
13
- * ```
14
- */
15
- class DatabaseOld extends pulumi.CustomResource {
16
- /**
17
- * Get an existing DatabaseOld resource's state with the given name, ID, and optional extra
18
- * properties used to qualify the lookup.
19
- *
20
- * @param name The _unique_ name of the resulting resource.
21
- * @param id The _unique_ provider ID of the resource to lookup.
22
- * @param state Any extra arguments used during the lookup.
23
- * @param opts Optional settings to control the behavior of the CustomResource.
24
- */
25
- static get(name, id, state, opts) {
26
- return new DatabaseOld(name, state, Object.assign(Object.assign({}, opts), { id: id }));
27
- }
28
- /**
29
- * Returns true if the given object is an instance of DatabaseOld. This is designed to work even
30
- * when multiple copies of the Pulumi SDK have been loaded into the same process.
31
- */
32
- static isInstance(obj) {
33
- if (obj === undefined || obj === null) {
34
- return false;
35
- }
36
- return obj['__pulumiType'] === DatabaseOld.__pulumiType;
37
- }
38
- constructor(name, argsOrState, opts) {
39
- let resourceInputs = {};
40
- opts = opts || {};
41
- if (opts.id) {
42
- const state = argsOrState;
43
- resourceInputs["comment"] = state ? state.comment : undefined;
44
- resourceInputs["dataRetentionTimeInDays"] = state ? state.dataRetentionTimeInDays : undefined;
45
- resourceInputs["fromDatabase"] = state ? state.fromDatabase : undefined;
46
- resourceInputs["fromReplica"] = state ? state.fromReplica : undefined;
47
- resourceInputs["fromShare"] = state ? state.fromShare : undefined;
48
- resourceInputs["isTransient"] = state ? state.isTransient : undefined;
49
- resourceInputs["name"] = state ? state.name : undefined;
50
- resourceInputs["replicationConfiguration"] = state ? state.replicationConfiguration : undefined;
51
- }
52
- else {
53
- const args = argsOrState;
54
- resourceInputs["comment"] = args ? args.comment : undefined;
55
- resourceInputs["dataRetentionTimeInDays"] = args ? args.dataRetentionTimeInDays : undefined;
56
- resourceInputs["fromDatabase"] = args ? args.fromDatabase : undefined;
57
- resourceInputs["fromReplica"] = args ? args.fromReplica : undefined;
58
- resourceInputs["fromShare"] = args ? args.fromShare : undefined;
59
- resourceInputs["isTransient"] = args ? args.isTransient : undefined;
60
- resourceInputs["name"] = args ? args.name : undefined;
61
- resourceInputs["replicationConfiguration"] = args ? args.replicationConfiguration : undefined;
62
- }
63
- opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
64
- super(DatabaseOld.__pulumiType, name, resourceInputs, opts);
65
- }
66
- }
67
- exports.DatabaseOld = DatabaseOld;
68
- /** @internal */
69
- DatabaseOld.__pulumiType = 'snowflake:index/databaseOld:DatabaseOld';
70
- //# sourceMappingURL=databaseOld.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"databaseOld.js","sourceRoot":"","sources":["../databaseOld.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,WAAY,SAAQ,MAAM,CAAC,cAAc;IAClD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAwB,EAAE,IAAmC;QACtH,OAAO,IAAI,WAAW,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAClE,CAAC;IAKD;;;OAGG;IACI,MAAM,CAAC,UAAU,CAAC,GAAQ;QAC7B,IAAI,GAAG,KAAK,SAAS,IAAI,GAAG,KAAK,IAAI,EAAE;YACnC,OAAO,KAAK,CAAC;SAChB;QACD,OAAO,GAAG,CAAC,cAAc,CAAC,KAAK,WAAW,CAAC,YAAY,CAAC;IAC5D,CAAC;IA2CD,YAAY,IAAY,EAAE,WAAgD,EA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