@pulumi/snowflake 0.2.1-alpha.1632763694

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 (255) hide show
  1. package/LICENSE +202 -0
  2. package/README.md +83 -0
  3. package/accountGrant.d.ts +97 -0
  4. package/accountGrant.js +80 -0
  5. package/accountGrant.js.map +1 -0
  6. package/apiIntegration.d.ts +181 -0
  7. package/apiIntegration.js +102 -0
  8. package/apiIntegration.js.map +1 -0
  9. package/config/index.d.ts +1 -0
  10. package/config/index.js +17 -0
  11. package/config/index.js.map +1 -0
  12. package/config/vars.d.ts +19 -0
  13. package/config/vars.js +97 -0
  14. package/config/vars.js.map +1 -0
  15. package/database.d.ts +97 -0
  16. package/database.js +81 -0
  17. package/database.js.map +1 -0
  18. package/databaseGrant.d.ts +126 -0
  19. package/databaseGrant.js +92 -0
  20. package/databaseGrant.js.map +1 -0
  21. package/externalFunction.d.ts +260 -0
  22. package/externalFunction.js +134 -0
  23. package/externalFunction.js.map +1 -0
  24. package/externalTable.d.ts +233 -0
  25. package/externalTable.js +124 -0
  26. package/externalTable.js.map +1 -0
  27. package/externalTableGrant.d.ts +165 -0
  28. package/externalTableGrant.js +104 -0
  29. package/externalTableGrant.js.map +1 -0
  30. package/fileFormat.d.ts +490 -0
  31. package/fileFormat.js +152 -0
  32. package/fileFormat.js.map +1 -0
  33. package/fileFormatGrant.d.ts +149 -0
  34. package/fileFormatGrant.js +98 -0
  35. package/fileFormatGrant.js.map +1 -0
  36. package/function.d.ts +157 -0
  37. package/function.js +81 -0
  38. package/function.js.map +1 -0
  39. package/functionGrant.d.ts +201 -0
  40. package/functionGrant.js +119 -0
  41. package/functionGrant.js.map +1 -0
  42. package/getCurrentAccount.d.ts +38 -0
  43. package/getCurrentAccount.js +33 -0
  44. package/getCurrentAccount.js.map +1 -0
  45. package/getExternalFunctions.d.ts +50 -0
  46. package/getExternalFunctions.js +34 -0
  47. package/getExternalFunctions.js.map +1 -0
  48. package/getExternalTables.d.ts +50 -0
  49. package/getExternalTables.js +34 -0
  50. package/getExternalTables.js.map +1 -0
  51. package/getFileFormats.d.ts +50 -0
  52. package/getFileFormats.js +34 -0
  53. package/getFileFormats.js.map +1 -0
  54. package/getFunctions.d.ts +50 -0
  55. package/getFunctions.js +34 -0
  56. package/getFunctions.js.map +1 -0
  57. package/getMaskingPolicies.d.ts +50 -0
  58. package/getMaskingPolicies.js +34 -0
  59. package/getMaskingPolicies.js.map +1 -0
  60. package/getMaterializedViews.d.ts +50 -0
  61. package/getMaterializedViews.js +34 -0
  62. package/getMaterializedViews.js.map +1 -0
  63. package/getPipes.d.ts +50 -0
  64. package/getPipes.js +34 -0
  65. package/getPipes.js.map +1 -0
  66. package/getProcedures.d.ts +50 -0
  67. package/getProcedures.js +34 -0
  68. package/getProcedures.js.map +1 -0
  69. package/getResourceMonitors.d.ts +26 -0
  70. package/getResourceMonitors.js +28 -0
  71. package/getResourceMonitors.js.map +1 -0
  72. package/getRowAccessPolicies.d.ts +50 -0
  73. package/getRowAccessPolicies.js +34 -0
  74. package/getRowAccessPolicies.js.map +1 -0
  75. package/getSchemas.d.ts +41 -0
  76. package/getSchemas.js +32 -0
  77. package/getSchemas.js.map +1 -0
  78. package/getSequences.d.ts +50 -0
  79. package/getSequences.js +34 -0
  80. package/getSequences.js.map +1 -0
  81. package/getStages.d.ts +50 -0
  82. package/getStages.js +34 -0
  83. package/getStages.js.map +1 -0
  84. package/getStorageIntegrations.d.ts +26 -0
  85. package/getStorageIntegrations.js +28 -0
  86. package/getStorageIntegrations.js.map +1 -0
  87. package/getStreams.d.ts +50 -0
  88. package/getStreams.js +34 -0
  89. package/getStreams.js.map +1 -0
  90. package/getSystemGenerateScimAccessToken.d.ts +40 -0
  91. package/getSystemGenerateScimAccessToken.js +32 -0
  92. package/getSystemGenerateScimAccessToken.js.map +1 -0
  93. package/getSystemGetAwsSnsIamPolicy.d.ts +28 -0
  94. package/getSystemGetAwsSnsIamPolicy.js +20 -0
  95. package/getSystemGetAwsSnsIamPolicy.js.map +1 -0
  96. package/getSystemGetPrivateLinkConfig.d.ts +31 -0
  97. package/getSystemGetPrivateLinkConfig.js +18 -0
  98. package/getSystemGetPrivateLinkConfig.js.map +1 -0
  99. package/getSystemGetSnowflakePlatformInfo.d.ts +19 -0
  100. package/getSystemGetSnowflakePlatformInfo.js +18 -0
  101. package/getSystemGetSnowflakePlatformInfo.js.map +1 -0
  102. package/getTables.d.ts +50 -0
  103. package/getTables.js +34 -0
  104. package/getTables.js.map +1 -0
  105. package/getTasks.d.ts +50 -0
  106. package/getTasks.js +34 -0
  107. package/getTasks.js.map +1 -0
  108. package/getViews.d.ts +50 -0
  109. package/getViews.js +34 -0
  110. package/getViews.js.map +1 -0
  111. package/getWarehouses.d.ts +26 -0
  112. package/getWarehouses.js +28 -0
  113. package/getWarehouses.js.map +1 -0
  114. package/index.d.ts +79 -0
  115. package/index.js +324 -0
  116. package/index.js.map +1 -0
  117. package/integrationGrant.d.ts +110 -0
  118. package/integrationGrant.js +86 -0
  119. package/integrationGrant.js.map +1 -0
  120. package/managedAccount.d.ts +160 -0
  121. package/managedAccount.js +99 -0
  122. package/managedAccount.js.map +1 -0
  123. package/maskingPolicy.d.ts +144 -0
  124. package/maskingPolicy.js +102 -0
  125. package/maskingPolicy.js.map +1 -0
  126. package/maskingPolicyGrant.d.ts +108 -0
  127. package/maskingPolicyGrant.js +70 -0
  128. package/maskingPolicyGrant.js.map +1 -0
  129. package/materializedView.d.ts +158 -0
  130. package/materializedView.js +103 -0
  131. package/materializedView.js.map +1 -0
  132. package/materializedViewGrant.d.ts +165 -0
  133. package/materializedViewGrant.js +101 -0
  134. package/materializedViewGrant.js.map +1 -0
  135. package/networkPolicy.d.ts +104 -0
  136. package/networkPolicy.js +80 -0
  137. package/networkPolicy.js.map +1 -0
  138. package/networkPolicyAttachment.d.ts +110 -0
  139. package/networkPolicyAttachment.js +81 -0
  140. package/networkPolicyAttachment.js.map +1 -0
  141. package/notificationIntegration.d.ts +191 -0
  142. package/notificationIntegration.js +103 -0
  143. package/notificationIntegration.js.map +1 -0
  144. package/package.json +27 -0
  145. package/package.json.bak +26 -0
  146. package/package.json.dev +26 -0
  147. package/pipe.d.ts +187 -0
  148. package/pipe.js +107 -0
  149. package/pipe.js.map +1 -0
  150. package/pipeGrant.d.ts +149 -0
  151. package/pipeGrant.js +98 -0
  152. package/pipeGrant.js.map +1 -0
  153. package/procedure.d.ts +201 -0
  154. package/procedure.js +125 -0
  155. package/procedure.js.map +1 -0
  156. package/procedureGrant.d.ts +201 -0
  157. package/procedureGrant.js +119 -0
  158. package/procedureGrant.js.map +1 -0
  159. package/provider.d.ts +64 -0
  160. package/provider.js +70 -0
  161. package/provider.js.map +1 -0
  162. package/resourceMonitor.d.ts +156 -0
  163. package/resourceMonitor.js +89 -0
  164. package/resourceMonitor.js.map +1 -0
  165. package/resourceMonitorGrant.d.ts +105 -0
  166. package/resourceMonitorGrant.js +81 -0
  167. package/resourceMonitorGrant.js.map +1 -0
  168. package/role.d.ts +60 -0
  169. package/role.js +71 -0
  170. package/role.js.map +1 -0
  171. package/roleGrants.d.ts +105 -0
  172. package/roleGrants.js +91 -0
  173. package/roleGrants.js.map +1 -0
  174. package/rowAccessPolicy.d.ts +140 -0
  175. package/rowAccessPolicy.js +99 -0
  176. package/rowAccessPolicy.js.map +1 -0
  177. package/rowAccessPolicyGrant.d.ts +136 -0
  178. package/rowAccessPolicyGrant.js +98 -0
  179. package/rowAccessPolicyGrant.js.map +1 -0
  180. package/schema.d.ts +132 -0
  181. package/schema.js +88 -0
  182. package/schema.js.map +1 -0
  183. package/schemaGrant.d.ts +155 -0
  184. package/schemaGrant.js +98 -0
  185. package/schemaGrant.js.map +1 -0
  186. package/scimIntegration.d.ts +112 -0
  187. package/scimIntegration.js +85 -0
  188. package/scimIntegration.js.map +1 -0
  189. package/scripts/install-pulumi-plugin.js +21 -0
  190. package/sequence.d.ts +127 -0
  191. package/sequence.js +84 -0
  192. package/sequence.js.map +1 -0
  193. package/sequenceGrant.d.ts +149 -0
  194. package/sequenceGrant.js +98 -0
  195. package/sequenceGrant.js.map +1 -0
  196. package/share.d.ts +90 -0
  197. package/share.js +73 -0
  198. package/share.js.map +1 -0
  199. package/stage.d.ts +192 -0
  200. package/stage.js +109 -0
  201. package/stage.js.map +1 -0
  202. package/stageGrant.d.ts +165 -0
  203. package/stageGrant.js +104 -0
  204. package/stageGrant.js.map +1 -0
  205. package/storageIntegration.d.ts +153 -0
  206. package/storageIntegration.js +109 -0
  207. package/storageIntegration.js.map +1 -0
  208. package/stream.d.ts +166 -0
  209. package/stream.js +99 -0
  210. package/stream.js.map +1 -0
  211. package/streamGrant.d.ts +149 -0
  212. package/streamGrant.js +98 -0
  213. package/streamGrant.js.map +1 -0
  214. package/table.d.ts +214 -0
  215. package/table.js +139 -0
  216. package/table.js.map +1 -0
  217. package/tableGrant.d.ts +159 -0
  218. package/tableGrant.js +95 -0
  219. package/tableGrant.js.map +1 -0
  220. package/task.d.ts +218 -0
  221. package/task.js +117 -0
  222. package/task.js.map +1 -0
  223. package/taskGrant.d.ts +149 -0
  224. package/taskGrant.js +98 -0
  225. package/taskGrant.js.map +1 -0
  226. package/types/index.d.ts +3 -0
  227. package/types/index.js +11 -0
  228. package/types/index.js.map +1 -0
  229. package/types/input.d.ts +113 -0
  230. package/types/input.js +5 -0
  231. package/types/input.js.map +1 -0
  232. package/types/output.d.ts +331 -0
  233. package/types/output.js +5 -0
  234. package/types/output.js.map +1 -0
  235. package/user.d.ts +236 -0
  236. package/user.js +111 -0
  237. package/user.js.map +1 -0
  238. package/userPublicKeys.d.ts +72 -0
  239. package/userPublicKeys.js +55 -0
  240. package/userPublicKeys.js.map +1 -0
  241. package/utilities.d.ts +4 -0
  242. package/utilities.js +52 -0
  243. package/utilities.js.map +1 -0
  244. package/view.d.ts +145 -0
  245. package/view.js +97 -0
  246. package/view.js.map +1 -0
  247. package/viewGrant.d.ts +165 -0
  248. package/viewGrant.js +101 -0
  249. package/viewGrant.js.map +1 -0
  250. package/warehouse.d.ts +214 -0
  251. package/warehouse.js +96 -0
  252. package/warehouse.js.map +1 -0
  253. package/warehouseGrant.d.ts +107 -0
  254. package/warehouseGrant.js +83 -0
  255. package/warehouseGrant.js.map +1 -0
package/getTasks.d.ts ADDED
@@ -0,0 +1,50 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as snowflake from "@pulumi/snowflake";
9
+ *
10
+ * const current = pulumi.output(snowflake.getTasks({
11
+ * database: "MYDB",
12
+ * schema: "MYSCHEMA",
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function getTasks(args: GetTasksArgs, opts?: pulumi.InvokeOptions): Promise<GetTasksResult>;
17
+ /**
18
+ * A collection of arguments for invoking getTasks.
19
+ */
20
+ export interface GetTasksArgs {
21
+ /**
22
+ * The database from which to return the schemas from.
23
+ */
24
+ database: string;
25
+ /**
26
+ * The schema from which to return the tasks from.
27
+ */
28
+ schema: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getTasks.
32
+ */
33
+ export interface GetTasksResult {
34
+ /**
35
+ * The database from which to return the schemas from.
36
+ */
37
+ readonly database: string;
38
+ /**
39
+ * The provider-assigned unique ID for this managed resource.
40
+ */
41
+ readonly id: string;
42
+ /**
43
+ * The schema from which to return the tasks from.
44
+ */
45
+ readonly schema: string;
46
+ /**
47
+ * The tasks in the schema
48
+ */
49
+ readonly tasks: outputs.GetTasksTask[];
50
+ }
package/getTasks.js ADDED
@@ -0,0 +1,34 @@
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.getTasks = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as snowflake from "@pulumi/snowflake";
14
+ *
15
+ * const current = pulumi.output(snowflake.getTasks({
16
+ * database: "MYDB",
17
+ * schema: "MYSCHEMA",
18
+ * }));
19
+ * ```
20
+ */
21
+ function getTasks(args, opts) {
22
+ if (!opts) {
23
+ opts = {};
24
+ }
25
+ if (!opts.version) {
26
+ opts.version = utilities.getVersion();
27
+ }
28
+ return pulumi.runtime.invoke("snowflake:index/getTasks:getTasks", {
29
+ "database": args.database,
30
+ "schema": args.schema,
31
+ }, opts);
32
+ }
33
+ exports.getTasks = getTasks;
34
+ //# sourceMappingURL=getTasks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTasks.js","sourceRoot":"","sources":["../getTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC"}
package/getViews.d.ts ADDED
@@ -0,0 +1,50 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as snowflake from "@pulumi/snowflake";
9
+ *
10
+ * const current = pulumi.output(snowflake.getViews({
11
+ * database: "MYDB",
12
+ * schema: "MYSCHEMA",
13
+ * }));
14
+ * ```
15
+ */
16
+ export declare function getViews(args: GetViewsArgs, opts?: pulumi.InvokeOptions): Promise<GetViewsResult>;
17
+ /**
18
+ * A collection of arguments for invoking getViews.
19
+ */
20
+ export interface GetViewsArgs {
21
+ /**
22
+ * The database from which to return the schemas from.
23
+ */
24
+ database: string;
25
+ /**
26
+ * The schema from which to return the views from.
27
+ */
28
+ schema: string;
29
+ }
30
+ /**
31
+ * A collection of values returned by getViews.
32
+ */
33
+ export interface GetViewsResult {
34
+ /**
35
+ * The database from which to return the schemas from.
36
+ */
37
+ readonly database: string;
38
+ /**
39
+ * The provider-assigned unique ID for this managed resource.
40
+ */
41
+ readonly id: string;
42
+ /**
43
+ * The schema from which to return the views from.
44
+ */
45
+ readonly schema: string;
46
+ /**
47
+ * The views in the schema
48
+ */
49
+ readonly views: outputs.GetViewsView[];
50
+ }
package/getViews.js ADDED
@@ -0,0 +1,34 @@
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.getViews = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as snowflake from "@pulumi/snowflake";
14
+ *
15
+ * const current = pulumi.output(snowflake.getViews({
16
+ * database: "MYDB",
17
+ * schema: "MYSCHEMA",
18
+ * }));
19
+ * ```
20
+ */
21
+ function getViews(args, opts) {
22
+ if (!opts) {
23
+ opts = {};
24
+ }
25
+ if (!opts.version) {
26
+ opts.version = utilities.getVersion();
27
+ }
28
+ return pulumi.runtime.invoke("snowflake:index/getViews:getViews", {
29
+ "database": args.database,
30
+ "schema": args.schema,
31
+ }, opts);
32
+ }
33
+ exports.getViews = getViews;
34
+ //# sourceMappingURL=getViews.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IACpE,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4BAYC"}
@@ -0,0 +1,26 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import { output as outputs } from "./types";
3
+ /**
4
+ * ## Example Usage
5
+ *
6
+ * ```typescript
7
+ * import * as pulumi from "@pulumi/pulumi";
8
+ * import * as snowflake from "@pulumi/snowflake";
9
+ *
10
+ * const current = pulumi.output(snowflake.getWarehouses());
11
+ * ```
12
+ */
13
+ export declare function getWarehouses(opts?: pulumi.InvokeOptions): Promise<GetWarehousesResult>;
14
+ /**
15
+ * A collection of values returned by getWarehouses.
16
+ */
17
+ export interface GetWarehousesResult {
18
+ /**
19
+ * The provider-assigned unique ID for this managed resource.
20
+ */
21
+ readonly id: string;
22
+ /**
23
+ * The warehouses in the database
24
+ */
25
+ readonly warehouses: outputs.GetWarehousesWarehouse[];
26
+ }
@@ -0,0 +1,28 @@
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.getWarehouses = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as snowflake from "@pulumi/snowflake";
14
+ *
15
+ * const current = pulumi.output(snowflake.getWarehouses());
16
+ * ```
17
+ */
18
+ function getWarehouses(opts) {
19
+ if (!opts) {
20
+ opts = {};
21
+ }
22
+ if (!opts.version) {
23
+ opts.version = utilities.getVersion();
24
+ }
25
+ return pulumi.runtime.invoke("snowflake:index/getWarehouses:getWarehouses", {}, opts);
26
+ }
27
+ exports.getWarehouses = getWarehouses;
28
+ //# sourceMappingURL=getWarehouses.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWarehouses.js","sourceRoot":"","sources":["../getWarehouses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAEzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,aAAa,CAAC,IAA2B;IACrD,IAAI,CAAC,IAAI,EAAE;QACP,IAAI,GAAG,EAAE,CAAA;KACZ;IAED,IAAI,CAAC,IAAI,CAAC,OAAO,EAAE;QACf,IAAI,CAAC,OAAO,GAAG,SAAS,CAAC,UAAU,EAAE,CAAC;KACzC;IACD,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAVD,sCAUC"}
package/index.d.ts ADDED
@@ -0,0 +1,79 @@
1
+ export * from "./accountGrant";
2
+ export * from "./apiIntegration";
3
+ export * from "./database";
4
+ export * from "./databaseGrant";
5
+ export * from "./externalFunction";
6
+ export * from "./externalTable";
7
+ export * from "./externalTableGrant";
8
+ export * from "./fileFormat";
9
+ export * from "./fileFormatGrant";
10
+ export * from "./function";
11
+ export * from "./functionGrant";
12
+ export * from "./getCurrentAccount";
13
+ export * from "./getExternalFunctions";
14
+ export * from "./getExternalTables";
15
+ export * from "./getFileFormats";
16
+ export * from "./getFunctions";
17
+ export * from "./getMaskingPolicies";
18
+ export * from "./getMaterializedViews";
19
+ export * from "./getPipes";
20
+ export * from "./getProcedures";
21
+ export * from "./getResourceMonitors";
22
+ export * from "./getRowAccessPolicies";
23
+ export * from "./getSchemas";
24
+ export * from "./getSequences";
25
+ export * from "./getStages";
26
+ export * from "./getStorageIntegrations";
27
+ export * from "./getStreams";
28
+ export * from "./getSystemGenerateScimAccessToken";
29
+ export * from "./getSystemGetAwsSnsIamPolicy";
30
+ export * from "./getSystemGetPrivateLinkConfig";
31
+ export * from "./getSystemGetSnowflakePlatformInfo";
32
+ export * from "./getTables";
33
+ export * from "./getTasks";
34
+ export * from "./getViews";
35
+ export * from "./getWarehouses";
36
+ export * from "./integrationGrant";
37
+ export * from "./managedAccount";
38
+ export * from "./maskingPolicy";
39
+ export * from "./maskingPolicyGrant";
40
+ export * from "./materializedView";
41
+ export * from "./materializedViewGrant";
42
+ export * from "./networkPolicy";
43
+ export * from "./networkPolicyAttachment";
44
+ export * from "./notificationIntegration";
45
+ export * from "./pipe";
46
+ export * from "./pipeGrant";
47
+ export * from "./procedure";
48
+ export * from "./procedureGrant";
49
+ export * from "./provider";
50
+ export * from "./resourceMonitor";
51
+ export * from "./resourceMonitorGrant";
52
+ export * from "./role";
53
+ export * from "./roleGrants";
54
+ export * from "./rowAccessPolicy";
55
+ export * from "./rowAccessPolicyGrant";
56
+ export * from "./schema";
57
+ export * from "./schemaGrant";
58
+ export * from "./scimIntegration";
59
+ export * from "./sequence";
60
+ export * from "./sequenceGrant";
61
+ export * from "./share";
62
+ export * from "./stage";
63
+ export * from "./stageGrant";
64
+ export * from "./storageIntegration";
65
+ export * from "./stream";
66
+ export * from "./streamGrant";
67
+ export * from "./table";
68
+ export * from "./tableGrant";
69
+ export * from "./task";
70
+ export * from "./taskGrant";
71
+ export * from "./user";
72
+ export * from "./userPublicKeys";
73
+ export * from "./view";
74
+ export * from "./viewGrant";
75
+ export * from "./warehouse";
76
+ export * from "./warehouseGrant";
77
+ import * as config from "./config";
78
+ import * as types from "./types";
79
+ export { config, types, };
package/index.js ADDED
@@ -0,0 +1,324 @@
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
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
5
+ if (k2 === undefined) k2 = k;
6
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
7
+ }) : (function(o, m, k, k2) {
8
+ if (k2 === undefined) k2 = k;
9
+ o[k2] = m[k];
10
+ }));
11
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
12
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
13
+ };
14
+ Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.types = exports.config = void 0;
16
+ const pulumi = require("@pulumi/pulumi");
17
+ const utilities = require("./utilities");
18
+ // Export members:
19
+ __exportStar(require("./accountGrant"), exports);
20
+ __exportStar(require("./apiIntegration"), exports);
21
+ __exportStar(require("./database"), exports);
22
+ __exportStar(require("./databaseGrant"), exports);
23
+ __exportStar(require("./externalFunction"), exports);
24
+ __exportStar(require("./externalTable"), exports);
25
+ __exportStar(require("./externalTableGrant"), exports);
26
+ __exportStar(require("./fileFormat"), exports);
27
+ __exportStar(require("./fileFormatGrant"), exports);
28
+ __exportStar(require("./function"), exports);
29
+ __exportStar(require("./functionGrant"), exports);
30
+ __exportStar(require("./getCurrentAccount"), exports);
31
+ __exportStar(require("./getExternalFunctions"), exports);
32
+ __exportStar(require("./getExternalTables"), exports);
33
+ __exportStar(require("./getFileFormats"), exports);
34
+ __exportStar(require("./getFunctions"), exports);
35
+ __exportStar(require("./getMaskingPolicies"), exports);
36
+ __exportStar(require("./getMaterializedViews"), exports);
37
+ __exportStar(require("./getPipes"), exports);
38
+ __exportStar(require("./getProcedures"), exports);
39
+ __exportStar(require("./getResourceMonitors"), exports);
40
+ __exportStar(require("./getRowAccessPolicies"), exports);
41
+ __exportStar(require("./getSchemas"), exports);
42
+ __exportStar(require("./getSequences"), exports);
43
+ __exportStar(require("./getStages"), exports);
44
+ __exportStar(require("./getStorageIntegrations"), exports);
45
+ __exportStar(require("./getStreams"), exports);
46
+ __exportStar(require("./getSystemGenerateScimAccessToken"), exports);
47
+ __exportStar(require("./getSystemGetAwsSnsIamPolicy"), exports);
48
+ __exportStar(require("./getSystemGetPrivateLinkConfig"), exports);
49
+ __exportStar(require("./getSystemGetSnowflakePlatformInfo"), exports);
50
+ __exportStar(require("./getTables"), exports);
51
+ __exportStar(require("./getTasks"), exports);
52
+ __exportStar(require("./getViews"), exports);
53
+ __exportStar(require("./getWarehouses"), exports);
54
+ __exportStar(require("./integrationGrant"), exports);
55
+ __exportStar(require("./managedAccount"), exports);
56
+ __exportStar(require("./maskingPolicy"), exports);
57
+ __exportStar(require("./maskingPolicyGrant"), exports);
58
+ __exportStar(require("./materializedView"), exports);
59
+ __exportStar(require("./materializedViewGrant"), exports);
60
+ __exportStar(require("./networkPolicy"), exports);
61
+ __exportStar(require("./networkPolicyAttachment"), exports);
62
+ __exportStar(require("./notificationIntegration"), exports);
63
+ __exportStar(require("./pipe"), exports);
64
+ __exportStar(require("./pipeGrant"), exports);
65
+ __exportStar(require("./procedure"), exports);
66
+ __exportStar(require("./procedureGrant"), exports);
67
+ __exportStar(require("./provider"), exports);
68
+ __exportStar(require("./resourceMonitor"), exports);
69
+ __exportStar(require("./resourceMonitorGrant"), exports);
70
+ __exportStar(require("./role"), exports);
71
+ __exportStar(require("./roleGrants"), exports);
72
+ __exportStar(require("./rowAccessPolicy"), exports);
73
+ __exportStar(require("./rowAccessPolicyGrant"), exports);
74
+ __exportStar(require("./schema"), exports);
75
+ __exportStar(require("./schemaGrant"), exports);
76
+ __exportStar(require("./scimIntegration"), exports);
77
+ __exportStar(require("./sequence"), exports);
78
+ __exportStar(require("./sequenceGrant"), exports);
79
+ __exportStar(require("./share"), exports);
80
+ __exportStar(require("./stage"), exports);
81
+ __exportStar(require("./stageGrant"), exports);
82
+ __exportStar(require("./storageIntegration"), exports);
83
+ __exportStar(require("./stream"), exports);
84
+ __exportStar(require("./streamGrant"), exports);
85
+ __exportStar(require("./table"), exports);
86
+ __exportStar(require("./tableGrant"), exports);
87
+ __exportStar(require("./task"), exports);
88
+ __exportStar(require("./taskGrant"), exports);
89
+ __exportStar(require("./user"), exports);
90
+ __exportStar(require("./userPublicKeys"), exports);
91
+ __exportStar(require("./view"), exports);
92
+ __exportStar(require("./viewGrant"), exports);
93
+ __exportStar(require("./warehouse"), exports);
94
+ __exportStar(require("./warehouseGrant"), exports);
95
+ // Export sub-modules:
96
+ const config = require("./config");
97
+ exports.config = config;
98
+ const types = require("./types");
99
+ exports.types = types;
100
+ // Import resources to register:
101
+ const accountGrant_1 = require("./accountGrant");
102
+ const apiIntegration_1 = require("./apiIntegration");
103
+ const database_1 = require("./database");
104
+ const databaseGrant_1 = require("./databaseGrant");
105
+ const externalFunction_1 = require("./externalFunction");
106
+ const externalTable_1 = require("./externalTable");
107
+ const externalTableGrant_1 = require("./externalTableGrant");
108
+ const fileFormat_1 = require("./fileFormat");
109
+ const fileFormatGrant_1 = require("./fileFormatGrant");
110
+ const function_1 = require("./function");
111
+ const functionGrant_1 = require("./functionGrant");
112
+ const integrationGrant_1 = require("./integrationGrant");
113
+ const managedAccount_1 = require("./managedAccount");
114
+ const maskingPolicy_1 = require("./maskingPolicy");
115
+ const maskingPolicyGrant_1 = require("./maskingPolicyGrant");
116
+ const materializedView_1 = require("./materializedView");
117
+ const materializedViewGrant_1 = require("./materializedViewGrant");
118
+ const networkPolicy_1 = require("./networkPolicy");
119
+ const networkPolicyAttachment_1 = require("./networkPolicyAttachment");
120
+ const notificationIntegration_1 = require("./notificationIntegration");
121
+ const pipe_1 = require("./pipe");
122
+ const pipeGrant_1 = require("./pipeGrant");
123
+ const procedure_1 = require("./procedure");
124
+ const procedureGrant_1 = require("./procedureGrant");
125
+ const resourceMonitor_1 = require("./resourceMonitor");
126
+ const resourceMonitorGrant_1 = require("./resourceMonitorGrant");
127
+ const role_1 = require("./role");
128
+ const roleGrants_1 = require("./roleGrants");
129
+ const rowAccessPolicy_1 = require("./rowAccessPolicy");
130
+ const rowAccessPolicyGrant_1 = require("./rowAccessPolicyGrant");
131
+ const schema_1 = require("./schema");
132
+ const schemaGrant_1 = require("./schemaGrant");
133
+ const scimIntegration_1 = require("./scimIntegration");
134
+ const sequence_1 = require("./sequence");
135
+ const sequenceGrant_1 = require("./sequenceGrant");
136
+ const share_1 = require("./share");
137
+ const stage_1 = require("./stage");
138
+ const stageGrant_1 = require("./stageGrant");
139
+ const storageIntegration_1 = require("./storageIntegration");
140
+ const stream_1 = require("./stream");
141
+ const streamGrant_1 = require("./streamGrant");
142
+ const table_1 = require("./table");
143
+ const tableGrant_1 = require("./tableGrant");
144
+ const task_1 = require("./task");
145
+ const taskGrant_1 = require("./taskGrant");
146
+ const user_1 = require("./user");
147
+ const userPublicKeys_1 = require("./userPublicKeys");
148
+ const view_1 = require("./view");
149
+ const viewGrant_1 = require("./viewGrant");
150
+ const warehouse_1 = require("./warehouse");
151
+ const warehouseGrant_1 = require("./warehouseGrant");
152
+ const _module = {
153
+ version: utilities.getVersion(),
154
+ construct: (name, type, urn) => {
155
+ switch (type) {
156
+ case "snowflake:index/accountGrant:AccountGrant":
157
+ return new accountGrant_1.AccountGrant(name, undefined, { urn });
158
+ case "snowflake:index/apiIntegration:ApiIntegration":
159
+ return new apiIntegration_1.ApiIntegration(name, undefined, { urn });
160
+ case "snowflake:index/database:Database":
161
+ return new database_1.Database(name, undefined, { urn });
162
+ case "snowflake:index/databaseGrant:DatabaseGrant":
163
+ return new databaseGrant_1.DatabaseGrant(name, undefined, { urn });
164
+ case "snowflake:index/externalFunction:ExternalFunction":
165
+ return new externalFunction_1.ExternalFunction(name, undefined, { urn });
166
+ case "snowflake:index/externalTable:ExternalTable":
167
+ return new externalTable_1.ExternalTable(name, undefined, { urn });
168
+ case "snowflake:index/externalTableGrant:ExternalTableGrant":
169
+ return new externalTableGrant_1.ExternalTableGrant(name, undefined, { urn });
170
+ case "snowflake:index/fileFormat:FileFormat":
171
+ return new fileFormat_1.FileFormat(name, undefined, { urn });
172
+ case "snowflake:index/fileFormatGrant:FileFormatGrant":
173
+ return new fileFormatGrant_1.FileFormatGrant(name, undefined, { urn });
174
+ case "snowflake:index/function:Function":
175
+ return new function_1.Function(name, undefined, { urn });
176
+ case "snowflake:index/functionGrant:FunctionGrant":
177
+ return new functionGrant_1.FunctionGrant(name, undefined, { urn });
178
+ case "snowflake:index/integrationGrant:IntegrationGrant":
179
+ return new integrationGrant_1.IntegrationGrant(name, undefined, { urn });
180
+ case "snowflake:index/managedAccount:ManagedAccount":
181
+ return new managedAccount_1.ManagedAccount(name, undefined, { urn });
182
+ case "snowflake:index/maskingPolicy:MaskingPolicy":
183
+ return new maskingPolicy_1.MaskingPolicy(name, undefined, { urn });
184
+ case "snowflake:index/maskingPolicyGrant:MaskingPolicyGrant":
185
+ return new maskingPolicyGrant_1.MaskingPolicyGrant(name, undefined, { urn });
186
+ case "snowflake:index/materializedView:MaterializedView":
187
+ return new materializedView_1.MaterializedView(name, undefined, { urn });
188
+ case "snowflake:index/materializedViewGrant:MaterializedViewGrant":
189
+ return new materializedViewGrant_1.MaterializedViewGrant(name, undefined, { urn });
190
+ case "snowflake:index/networkPolicy:NetworkPolicy":
191
+ return new networkPolicy_1.NetworkPolicy(name, undefined, { urn });
192
+ case "snowflake:index/networkPolicyAttachment:NetworkPolicyAttachment":
193
+ return new networkPolicyAttachment_1.NetworkPolicyAttachment(name, undefined, { urn });
194
+ case "snowflake:index/notificationIntegration:NotificationIntegration":
195
+ return new notificationIntegration_1.NotificationIntegration(name, undefined, { urn });
196
+ case "snowflake:index/pipe:Pipe":
197
+ return new pipe_1.Pipe(name, undefined, { urn });
198
+ case "snowflake:index/pipeGrant:PipeGrant":
199
+ return new pipeGrant_1.PipeGrant(name, undefined, { urn });
200
+ case "snowflake:index/procedure:Procedure":
201
+ return new procedure_1.Procedure(name, undefined, { urn });
202
+ case "snowflake:index/procedureGrant:ProcedureGrant":
203
+ return new procedureGrant_1.ProcedureGrant(name, undefined, { urn });
204
+ case "snowflake:index/resourceMonitor:ResourceMonitor":
205
+ return new resourceMonitor_1.ResourceMonitor(name, undefined, { urn });
206
+ case "snowflake:index/resourceMonitorGrant:ResourceMonitorGrant":
207
+ return new resourceMonitorGrant_1.ResourceMonitorGrant(name, undefined, { urn });
208
+ case "snowflake:index/role:Role":
209
+ return new role_1.Role(name, undefined, { urn });
210
+ case "snowflake:index/roleGrants:RoleGrants":
211
+ return new roleGrants_1.RoleGrants(name, undefined, { urn });
212
+ case "snowflake:index/rowAccessPolicy:RowAccessPolicy":
213
+ return new rowAccessPolicy_1.RowAccessPolicy(name, undefined, { urn });
214
+ case "snowflake:index/rowAccessPolicyGrant:RowAccessPolicyGrant":
215
+ return new rowAccessPolicyGrant_1.RowAccessPolicyGrant(name, undefined, { urn });
216
+ case "snowflake:index/schema:Schema":
217
+ return new schema_1.Schema(name, undefined, { urn });
218
+ case "snowflake:index/schemaGrant:SchemaGrant":
219
+ return new schemaGrant_1.SchemaGrant(name, undefined, { urn });
220
+ case "snowflake:index/scimIntegration:ScimIntegration":
221
+ return new scimIntegration_1.ScimIntegration(name, undefined, { urn });
222
+ case "snowflake:index/sequence:Sequence":
223
+ return new sequence_1.Sequence(name, undefined, { urn });
224
+ case "snowflake:index/sequenceGrant:SequenceGrant":
225
+ return new sequenceGrant_1.SequenceGrant(name, undefined, { urn });
226
+ case "snowflake:index/share:Share":
227
+ return new share_1.Share(name, undefined, { urn });
228
+ case "snowflake:index/stage:Stage":
229
+ return new stage_1.Stage(name, undefined, { urn });
230
+ case "snowflake:index/stageGrant:StageGrant":
231
+ return new stageGrant_1.StageGrant(name, undefined, { urn });
232
+ case "snowflake:index/storageIntegration:StorageIntegration":
233
+ return new storageIntegration_1.StorageIntegration(name, undefined, { urn });
234
+ case "snowflake:index/stream:Stream":
235
+ return new stream_1.Stream(name, undefined, { urn });
236
+ case "snowflake:index/streamGrant:StreamGrant":
237
+ return new streamGrant_1.StreamGrant(name, undefined, { urn });
238
+ case "snowflake:index/table:Table":
239
+ return new table_1.Table(name, undefined, { urn });
240
+ case "snowflake:index/tableGrant:TableGrant":
241
+ return new tableGrant_1.TableGrant(name, undefined, { urn });
242
+ case "snowflake:index/task:Task":
243
+ return new task_1.Task(name, undefined, { urn });
244
+ case "snowflake:index/taskGrant:TaskGrant":
245
+ return new taskGrant_1.TaskGrant(name, undefined, { urn });
246
+ case "snowflake:index/user:User":
247
+ return new user_1.User(name, undefined, { urn });
248
+ case "snowflake:index/userPublicKeys:UserPublicKeys":
249
+ return new userPublicKeys_1.UserPublicKeys(name, undefined, { urn });
250
+ case "snowflake:index/view:View":
251
+ return new view_1.View(name, undefined, { urn });
252
+ case "snowflake:index/viewGrant:ViewGrant":
253
+ return new viewGrant_1.ViewGrant(name, undefined, { urn });
254
+ case "snowflake:index/warehouse:Warehouse":
255
+ return new warehouse_1.Warehouse(name, undefined, { urn });
256
+ case "snowflake:index/warehouseGrant:WarehouseGrant":
257
+ return new warehouseGrant_1.WarehouseGrant(name, undefined, { urn });
258
+ default:
259
+ throw new Error(`unknown resource type ${type}`);
260
+ }
261
+ },
262
+ };
263
+ pulumi.runtime.registerResourceModule("snowflake", "index/accountGrant", _module);
264
+ pulumi.runtime.registerResourceModule("snowflake", "index/apiIntegration", _module);
265
+ pulumi.runtime.registerResourceModule("snowflake", "index/database", _module);
266
+ pulumi.runtime.registerResourceModule("snowflake", "index/databaseGrant", _module);
267
+ pulumi.runtime.registerResourceModule("snowflake", "index/externalFunction", _module);
268
+ pulumi.runtime.registerResourceModule("snowflake", "index/externalTable", _module);
269
+ pulumi.runtime.registerResourceModule("snowflake", "index/externalTableGrant", _module);
270
+ pulumi.runtime.registerResourceModule("snowflake", "index/fileFormat", _module);
271
+ pulumi.runtime.registerResourceModule("snowflake", "index/fileFormatGrant", _module);
272
+ pulumi.runtime.registerResourceModule("snowflake", "index/function", _module);
273
+ pulumi.runtime.registerResourceModule("snowflake", "index/functionGrant", _module);
274
+ pulumi.runtime.registerResourceModule("snowflake", "index/integrationGrant", _module);
275
+ pulumi.runtime.registerResourceModule("snowflake", "index/managedAccount", _module);
276
+ pulumi.runtime.registerResourceModule("snowflake", "index/maskingPolicy", _module);
277
+ pulumi.runtime.registerResourceModule("snowflake", "index/maskingPolicyGrant", _module);
278
+ pulumi.runtime.registerResourceModule("snowflake", "index/materializedView", _module);
279
+ pulumi.runtime.registerResourceModule("snowflake", "index/materializedViewGrant", _module);
280
+ pulumi.runtime.registerResourceModule("snowflake", "index/networkPolicy", _module);
281
+ pulumi.runtime.registerResourceModule("snowflake", "index/networkPolicyAttachment", _module);
282
+ pulumi.runtime.registerResourceModule("snowflake", "index/notificationIntegration", _module);
283
+ pulumi.runtime.registerResourceModule("snowflake", "index/pipe", _module);
284
+ pulumi.runtime.registerResourceModule("snowflake", "index/pipeGrant", _module);
285
+ pulumi.runtime.registerResourceModule("snowflake", "index/procedure", _module);
286
+ pulumi.runtime.registerResourceModule("snowflake", "index/procedureGrant", _module);
287
+ pulumi.runtime.registerResourceModule("snowflake", "index/resourceMonitor", _module);
288
+ pulumi.runtime.registerResourceModule("snowflake", "index/resourceMonitorGrant", _module);
289
+ pulumi.runtime.registerResourceModule("snowflake", "index/role", _module);
290
+ pulumi.runtime.registerResourceModule("snowflake", "index/roleGrants", _module);
291
+ pulumi.runtime.registerResourceModule("snowflake", "index/rowAccessPolicy", _module);
292
+ pulumi.runtime.registerResourceModule("snowflake", "index/rowAccessPolicyGrant", _module);
293
+ pulumi.runtime.registerResourceModule("snowflake", "index/schema", _module);
294
+ pulumi.runtime.registerResourceModule("snowflake", "index/schemaGrant", _module);
295
+ pulumi.runtime.registerResourceModule("snowflake", "index/scimIntegration", _module);
296
+ pulumi.runtime.registerResourceModule("snowflake", "index/sequence", _module);
297
+ pulumi.runtime.registerResourceModule("snowflake", "index/sequenceGrant", _module);
298
+ pulumi.runtime.registerResourceModule("snowflake", "index/share", _module);
299
+ pulumi.runtime.registerResourceModule("snowflake", "index/stage", _module);
300
+ pulumi.runtime.registerResourceModule("snowflake", "index/stageGrant", _module);
301
+ pulumi.runtime.registerResourceModule("snowflake", "index/storageIntegration", _module);
302
+ pulumi.runtime.registerResourceModule("snowflake", "index/stream", _module);
303
+ pulumi.runtime.registerResourceModule("snowflake", "index/streamGrant", _module);
304
+ pulumi.runtime.registerResourceModule("snowflake", "index/table", _module);
305
+ pulumi.runtime.registerResourceModule("snowflake", "index/tableGrant", _module);
306
+ pulumi.runtime.registerResourceModule("snowflake", "index/task", _module);
307
+ pulumi.runtime.registerResourceModule("snowflake", "index/taskGrant", _module);
308
+ pulumi.runtime.registerResourceModule("snowflake", "index/user", _module);
309
+ pulumi.runtime.registerResourceModule("snowflake", "index/userPublicKeys", _module);
310
+ pulumi.runtime.registerResourceModule("snowflake", "index/view", _module);
311
+ pulumi.runtime.registerResourceModule("snowflake", "index/viewGrant", _module);
312
+ pulumi.runtime.registerResourceModule("snowflake", "index/warehouse", _module);
313
+ pulumi.runtime.registerResourceModule("snowflake", "index/warehouseGrant", _module);
314
+ const provider_1 = require("./provider");
315
+ pulumi.runtime.registerResourcePackage("snowflake", {
316
+ version: utilities.getVersion(),
317
+ constructProvider: (name, type, urn) => {
318
+ if (type !== "pulumi:providers:snowflake") {
319
+ throw new Error(`unknown provider type ${type}`);
320
+ }
321
+ return new provider_1.Provider(name, undefined, { urn });
322
+ },
323
+ });
324
+ //# sourceMappingURL=index.js.map