@pulumi/snowflake 0.52.0 → 0.52.1-alpha.1713904889

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 +1 -5
  2. package/account.js +1 -5
  3. package/account.js.map +1 -1
  4. package/accountGrant.d.ts +1 -3
  5. package/accountGrant.js +1 -3
  6. package/accountGrant.js.map +1 -1
  7. package/accountParameter.d.ts +1 -3
  8. package/accountParameter.js +1 -3
  9. package/accountParameter.js.map +1 -1
  10. package/accountPasswordPolicyAttachment.d.ts +1 -2
  11. package/accountPasswordPolicyAttachment.js +1 -2
  12. package/accountPasswordPolicyAttachment.js.map +1 -1
  13. package/alert.d.ts +6 -7
  14. package/alert.js +6 -7
  15. package/alert.js.map +1 -1
  16. package/apiIntegration.d.ts +9 -8
  17. package/apiIntegration.js +9 -8
  18. package/apiIntegration.js.map +1 -1
  19. package/database.d.ts +7 -5
  20. package/database.js +7 -5
  21. package/database.js.map +1 -1
  22. package/databaseGrant.d.ts +0 -2
  23. package/databaseGrant.js +0 -2
  24. package/databaseGrant.js.map +1 -1
  25. package/databaseRole.d.ts +3 -4
  26. package/databaseRole.js +3 -4
  27. package/databaseRole.js.map +1 -1
  28. package/dynamicTable.d.ts +3 -4
  29. package/dynamicTable.js +3 -4
  30. package/dynamicTable.js.map +1 -1
  31. package/emailNotificationIntegration.d.ts +3 -4
  32. package/emailNotificationIntegration.js +3 -4
  33. package/emailNotificationIntegration.js.map +1 -1
  34. package/externalFunction.d.ts +9 -10
  35. package/externalFunction.js +6 -7
  36. package/externalFunction.js.map +1 -1
  37. package/externalOauthIntegration.d.ts +4 -5
  38. package/externalOauthIntegration.js +4 -5
  39. package/externalOauthIntegration.js.map +1 -1
  40. package/externalTable.d.ts +15 -16
  41. package/externalTable.js +6 -7
  42. package/externalTable.js.map +1 -1
  43. package/externalTableGrant.d.ts +2 -4
  44. package/externalTableGrant.js +2 -4
  45. package/externalTableGrant.js.map +1 -1
  46. package/failoverGroup.d.ts +13 -14
  47. package/failoverGroup.js +10 -11
  48. package/failoverGroup.js.map +1 -1
  49. package/fileFormat.d.ts +3 -4
  50. package/fileFormat.js +3 -4
  51. package/fileFormat.js.map +1 -1
  52. package/fileFormatGrant.d.ts +2 -4
  53. package/fileFormatGrant.js +2 -4
  54. package/fileFormatGrant.js.map +1 -1
  55. package/function.d.ts +3 -3
  56. package/functionGrant.d.ts +4 -6
  57. package/functionGrant.js +4 -6
  58. package/functionGrant.js.map +1 -1
  59. package/getAlerts.d.ts +0 -4
  60. package/getAlerts.js +0 -4
  61. package/getAlerts.js.map +1 -1
  62. package/getCurrentAccount.d.ts +8 -10
  63. package/getCurrentAccount.js +8 -10
  64. package/getCurrentAccount.js.map +1 -1
  65. package/getDatabase.d.ts +0 -4
  66. package/getDatabase.js +0 -4
  67. package/getDatabase.js.map +1 -1
  68. package/getDatabaseRoles.d.ts +0 -4
  69. package/getDatabaseRoles.js +0 -4
  70. package/getDatabaseRoles.js.map +1 -1
  71. package/getDatabases.d.ts +0 -4
  72. package/getDatabases.js +0 -4
  73. package/getDatabases.js.map +1 -1
  74. package/getExternalFunctions.d.ts +12 -4
  75. package/getExternalFunctions.js +0 -4
  76. package/getExternalFunctions.js.map +1 -1
  77. package/getExternalTables.d.ts +12 -4
  78. package/getExternalTables.js +0 -4
  79. package/getExternalTables.js.map +1 -1
  80. package/getFileFormats.d.ts +12 -4
  81. package/getFileFormats.js +0 -4
  82. package/getFileFormats.js.map +1 -1
  83. package/getFunctions.d.ts +12 -4
  84. package/getFunctions.js +0 -4
  85. package/getFunctions.js.map +1 -1
  86. package/getGrants.d.ts +42 -4
  87. package/getGrants.js +42 -4
  88. package/getGrants.js.map +1 -1
  89. package/getMaskingPolicies.d.ts +12 -4
  90. package/getMaskingPolicies.js +0 -4
  91. package/getMaskingPolicies.js.map +1 -1
  92. package/getMaterializedViews.d.ts +12 -4
  93. package/getMaterializedViews.js +0 -4
  94. package/getMaterializedViews.js.map +1 -1
  95. package/getParameters.d.ts +12 -10
  96. package/getParameters.js +12 -10
  97. package/getParameters.js.map +1 -1
  98. package/getPipes.d.ts +12 -4
  99. package/getPipes.js +0 -4
  100. package/getPipes.js.map +1 -1
  101. package/getProcedures.d.ts +12 -4
  102. package/getProcedures.js +0 -4
  103. package/getProcedures.js.map +1 -1
  104. package/getResourceMonitors.d.ts +0 -4
  105. package/getResourceMonitors.js +0 -4
  106. package/getResourceMonitors.js.map +1 -1
  107. package/getRole.d.ts +0 -4
  108. package/getRole.js +0 -4
  109. package/getRole.js.map +1 -1
  110. package/getRoles.d.ts +0 -4
  111. package/getRoles.js +0 -4
  112. package/getRoles.js.map +1 -1
  113. package/getRowAccessPolicies.d.ts +12 -4
  114. package/getRowAccessPolicies.js +0 -4
  115. package/getRowAccessPolicies.js.map +1 -1
  116. package/getSchemas.d.ts +6 -4
  117. package/getSchemas.js +0 -4
  118. package/getSchemas.js.map +1 -1
  119. package/getSequences.d.ts +12 -4
  120. package/getSequences.js +0 -4
  121. package/getSequences.js.map +1 -1
  122. package/getShares.d.ts +0 -4
  123. package/getShares.js +0 -4
  124. package/getShares.js.map +1 -1
  125. package/getStages.d.ts +12 -4
  126. package/getStages.js +0 -4
  127. package/getStages.js.map +1 -1
  128. package/getStorageIntegrations.d.ts +0 -4
  129. package/getStorageIntegrations.js +0 -4
  130. package/getStorageIntegrations.js.map +1 -1
  131. package/getStreams.d.ts +12 -4
  132. package/getStreams.js +0 -4
  133. package/getStreams.js.map +1 -1
  134. package/getSystemGenerateScimAccessToken.d.ts +0 -4
  135. package/getSystemGenerateScimAccessToken.js +0 -4
  136. package/getSystemGenerateScimAccessToken.js.map +1 -1
  137. package/getSystemGetPrivateLinkConfig.d.ts +106 -0
  138. package/getSystemGetPrivateLinkConfig.js +106 -0
  139. package/getSystemGetPrivateLinkConfig.js.map +1 -1
  140. package/getTables.d.ts +12 -4
  141. package/getTables.js +0 -4
  142. package/getTables.js.map +1 -1
  143. package/getTasks.d.ts +12 -4
  144. package/getTasks.js +0 -4
  145. package/getTasks.js.map +1 -1
  146. package/getUsers.d.ts +0 -4
  147. package/getUsers.js +0 -4
  148. package/getUsers.js.map +1 -1
  149. package/getViews.d.ts +12 -4
  150. package/getViews.js +0 -4
  151. package/getViews.js.map +1 -1
  152. package/getWarehouses.d.ts +0 -4
  153. package/getWarehouses.js +0 -4
  154. package/getWarehouses.js.map +1 -1
  155. package/grantAccountRole.d.ts +0 -26
  156. package/grantAccountRole.js +0 -26
  157. package/grantAccountRole.js.map +1 -1
  158. package/grantDatabaseRole.d.ts +0 -33
  159. package/grantDatabaseRole.js +0 -33
  160. package/grantDatabaseRole.js.map +1 -1
  161. package/grantPrivilegesToDatabaseRole.d.ts +0 -168
  162. package/grantPrivilegesToDatabaseRole.js +0 -168
  163. package/grantPrivilegesToDatabaseRole.js.map +1 -1
  164. package/grantPrivilegesToRole.d.ts +20 -22
  165. package/grantPrivilegesToRole.js +20 -22
  166. package/grantPrivilegesToRole.js.map +1 -1
  167. package/integrationGrant.d.ts +0 -2
  168. package/integrationGrant.js +0 -2
  169. package/integrationGrant.js.map +1 -1
  170. package/maskingPolicy.d.ts +14 -16
  171. package/maskingPolicy.js +11 -13
  172. package/maskingPolicy.js.map +1 -1
  173. package/maskingPolicyGrant.d.ts +3 -5
  174. package/maskingPolicyGrant.js +3 -5
  175. package/maskingPolicyGrant.js.map +1 -1
  176. package/materializedView.d.ts +10 -11
  177. package/materializedView.js +1 -2
  178. package/materializedView.js.map +1 -1
  179. package/materializedViewGrant.d.ts +2 -4
  180. package/materializedViewGrant.js +2 -4
  181. package/materializedViewGrant.js.map +1 -1
  182. package/networkPolicy.d.ts +2 -3
  183. package/networkPolicy.js +2 -3
  184. package/networkPolicy.js.map +1 -1
  185. package/networkPolicyAttachment.d.ts +0 -2
  186. package/networkPolicyAttachment.js +0 -2
  187. package/networkPolicyAttachment.js.map +1 -1
  188. package/notificationIntegration.d.ts +5 -6
  189. package/notificationIntegration.js +5 -6
  190. package/notificationIntegration.js.map +1 -1
  191. package/oauthIntegration.d.ts +4 -5
  192. package/oauthIntegration.js +4 -5
  193. package/oauthIntegration.js.map +1 -1
  194. package/objectParameter.d.ts +16 -14
  195. package/objectParameter.js +16 -14
  196. package/objectParameter.js.map +1 -1
  197. package/package.json +1 -1
  198. package/pipeGrant.d.ts +2 -4
  199. package/pipeGrant.js +2 -4
  200. package/pipeGrant.js.map +1 -1
  201. package/procedure.d.ts +3 -3
  202. package/procedureGrant.d.ts +4 -6
  203. package/procedureGrant.js +4 -6
  204. package/procedureGrant.js.map +1 -1
  205. package/resourceMonitor.d.ts +5 -6
  206. package/resourceMonitor.js +5 -6
  207. package/resourceMonitor.js.map +1 -1
  208. package/resourceMonitorGrant.d.ts +0 -2
  209. package/resourceMonitorGrant.js +0 -2
  210. package/resourceMonitorGrant.js.map +1 -1
  211. package/role.d.ts +4 -12
  212. package/role.js +4 -3
  213. package/role.js.map +1 -1
  214. package/roleGrants.d.ts +13 -6
  215. package/roleGrants.js +13 -6
  216. package/roleGrants.js.map +1 -1
  217. package/roleOwnershipGrant.d.ts +5 -4
  218. package/roleOwnershipGrant.js +5 -4
  219. package/roleOwnershipGrant.js.map +1 -1
  220. package/rowAccessPolicy.d.ts +3 -4
  221. package/rowAccessPolicy.js +3 -4
  222. package/rowAccessPolicy.js.map +1 -1
  223. package/rowAccessPolicyGrant.d.ts +2 -4
  224. package/rowAccessPolicyGrant.js +2 -4
  225. package/rowAccessPolicyGrant.js.map +1 -1
  226. package/samlIntegration.d.ts +4 -5
  227. package/samlIntegration.js +4 -5
  228. package/samlIntegration.js.map +1 -1
  229. package/schema.d.ts +10 -11
  230. package/schema.js +4 -5
  231. package/schema.js.map +1 -1
  232. package/schemaGrant.d.ts +2 -4
  233. package/schemaGrant.js +2 -4
  234. package/schemaGrant.js.map +1 -1
  235. package/scimIntegration.d.ts +1 -2
  236. package/scimIntegration.js +1 -2
  237. package/scimIntegration.js.map +1 -1
  238. package/sequence.d.ts +8 -6
  239. package/sequence.js +8 -6
  240. package/sequence.js.map +1 -1
  241. package/sequenceGrant.d.ts +3 -5
  242. package/sequenceGrant.js +3 -5
  243. package/sequenceGrant.js.map +1 -1
  244. package/sessionParameter.d.ts +3 -5
  245. package/sessionParameter.js +3 -5
  246. package/sessionParameter.js.map +1 -1
  247. package/share.d.ts +2 -3
  248. package/share.js +2 -3
  249. package/share.js.map +1 -1
  250. package/stage.d.ts +13 -14
  251. package/stage.js +4 -5
  252. package/stage.js.map +1 -1
  253. package/stageGrant.d.ts +3 -5
  254. package/stageGrant.js +3 -5
  255. package/stageGrant.js.map +1 -1
  256. package/streamGrant.d.ts +3 -5
  257. package/streamGrant.js +3 -5
  258. package/streamGrant.js.map +1 -1
  259. package/table.d.ts +75 -12
  260. package/table.js +63 -0
  261. package/table.js.map +1 -1
  262. package/tableConstraint.d.ts +27 -21
  263. package/tableConstraint.js +21 -15
  264. package/tableConstraint.js.map +1 -1
  265. package/tableGrant.d.ts +3 -5
  266. package/tableGrant.js +3 -5
  267. package/tableGrant.js.map +1 -1
  268. package/tag.d.ts +6 -4
  269. package/tag.js +6 -4
  270. package/tag.js.map +1 -1
  271. package/tagAssociation.d.ts +18 -15
  272. package/tagAssociation.js +18 -15
  273. package/tagAssociation.js.map +1 -1
  274. package/tagGrant.d.ts +2 -4
  275. package/tagGrant.js +2 -4
  276. package/tagGrant.js.map +1 -1
  277. package/task.d.ts +5 -4
  278. package/task.js +5 -4
  279. package/task.js.map +1 -1
  280. package/taskGrant.d.ts +3 -5
  281. package/taskGrant.js +3 -5
  282. package/taskGrant.js.map +1 -1
  283. package/types/input.d.ts +3 -3
  284. package/types/output.d.ts +3 -3
  285. package/user.d.ts +7 -8
  286. package/user.js +7 -8
  287. package/user.js.map +1 -1
  288. package/userGrant.d.ts +1 -3
  289. package/userGrant.js +1 -3
  290. package/userGrant.js.map +1 -1
  291. package/view.d.ts +10 -11
  292. package/view.js +1 -2
  293. package/view.js.map +1 -1
  294. package/viewGrant.d.ts +8 -8
  295. package/viewGrant.js +8 -8
  296. package/warehouse.d.ts +1 -2
  297. package/warehouse.js +1 -2
  298. package/warehouse.js.map +1 -1
  299. package/warehouseGrant.d.ts +1 -3
  300. package/warehouseGrant.js +1 -3
  301. package/warehouseGrant.js.map +1 -1
@@ -1,6 +1,59 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
2
  /**
3
3
  * ## Example Usage
4
+ *
5
+ * ```typescript
6
+ * import * as pulumi from "@pulumi/pulumi";
7
+ * import * as aws from "@pulumi/aws";
8
+ * import * as snowflake from "@pulumi/snowflake";
9
+ *
10
+ * const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
11
+ * const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
12
+ * vpcId: vpcId,
13
+ * ingress: [
14
+ * {
15
+ * fromPort: 80,
16
+ * toPort: 80,
17
+ * cidrBlocks: vpcCidr,
18
+ * protocol: "tcp",
19
+ * },
20
+ * {
21
+ * fromPort: 443,
22
+ * toPort: 443,
23
+ * cidrBlocks: vpcCidr,
24
+ * protocol: "tcp",
25
+ * },
26
+ * ],
27
+ * });
28
+ * const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
29
+ * vpcId: vpcId,
30
+ * serviceName: snowflakePrivateLink.awsVpceId,
31
+ * vpcEndpointType: "Interface",
32
+ * securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
33
+ * subnetIds: subnetIds,
34
+ * privateDnsEnabled: false,
35
+ * });
36
+ * const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
37
+ * name: "privatelink.snowflakecomputing.com",
38
+ * vpc: [{
39
+ * vpcId: vpcId,
40
+ * }],
41
+ * });
42
+ * const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
43
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
44
+ * name: snowflakePrivateLink.accountUrl,
45
+ * type: "CNAME",
46
+ * ttl: "300",
47
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
48
+ * });
49
+ * const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
50
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
51
+ * name: snowflakePrivateLink.ocspUrl,
52
+ * type: "CNAME",
53
+ * ttl: "300",
54
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
55
+ * });
56
+ * ```
4
57
  */
5
58
  export declare function getSystemGetPrivateLinkConfig(opts?: pulumi.InvokeOptions): Promise<GetSystemGetPrivateLinkConfigResult>;
6
59
  /**
@@ -50,5 +103,58 @@ export interface GetSystemGetPrivateLinkConfigResult {
50
103
  }
51
104
  /**
52
105
  * ## Example Usage
106
+ *
107
+ * ```typescript
108
+ * import * as pulumi from "@pulumi/pulumi";
109
+ * import * as aws from "@pulumi/aws";
110
+ * import * as snowflake from "@pulumi/snowflake";
111
+ *
112
+ * const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
113
+ * const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
114
+ * vpcId: vpcId,
115
+ * ingress: [
116
+ * {
117
+ * fromPort: 80,
118
+ * toPort: 80,
119
+ * cidrBlocks: vpcCidr,
120
+ * protocol: "tcp",
121
+ * },
122
+ * {
123
+ * fromPort: 443,
124
+ * toPort: 443,
125
+ * cidrBlocks: vpcCidr,
126
+ * protocol: "tcp",
127
+ * },
128
+ * ],
129
+ * });
130
+ * const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
131
+ * vpcId: vpcId,
132
+ * serviceName: snowflakePrivateLink.awsVpceId,
133
+ * vpcEndpointType: "Interface",
134
+ * securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
135
+ * subnetIds: subnetIds,
136
+ * privateDnsEnabled: false,
137
+ * });
138
+ * const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
139
+ * name: "privatelink.snowflakecomputing.com",
140
+ * vpc: [{
141
+ * vpcId: vpcId,
142
+ * }],
143
+ * });
144
+ * const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
145
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
146
+ * name: snowflakePrivateLink.accountUrl,
147
+ * type: "CNAME",
148
+ * ttl: "300",
149
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
150
+ * });
151
+ * const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
152
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
153
+ * name: snowflakePrivateLink.ocspUrl,
154
+ * type: "CNAME",
155
+ * ttl: "300",
156
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
157
+ * });
158
+ * ```
53
159
  */
54
160
  export declare function getSystemGetPrivateLinkConfigOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetSystemGetPrivateLinkConfigResult>;
@@ -7,6 +7,59 @@ const pulumi = require("@pulumi/pulumi");
7
7
  const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as aws from "@pulumi/aws";
14
+ * import * as snowflake from "@pulumi/snowflake";
15
+ *
16
+ * const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
17
+ * const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
18
+ * vpcId: vpcId,
19
+ * ingress: [
20
+ * {
21
+ * fromPort: 80,
22
+ * toPort: 80,
23
+ * cidrBlocks: vpcCidr,
24
+ * protocol: "tcp",
25
+ * },
26
+ * {
27
+ * fromPort: 443,
28
+ * toPort: 443,
29
+ * cidrBlocks: vpcCidr,
30
+ * protocol: "tcp",
31
+ * },
32
+ * ],
33
+ * });
34
+ * const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
35
+ * vpcId: vpcId,
36
+ * serviceName: snowflakePrivateLink.awsVpceId,
37
+ * vpcEndpointType: "Interface",
38
+ * securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
39
+ * subnetIds: subnetIds,
40
+ * privateDnsEnabled: false,
41
+ * });
42
+ * const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
43
+ * name: "privatelink.snowflakecomputing.com",
44
+ * vpc: [{
45
+ * vpcId: vpcId,
46
+ * }],
47
+ * });
48
+ * const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
49
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
50
+ * name: snowflakePrivateLink.accountUrl,
51
+ * type: "CNAME",
52
+ * ttl: "300",
53
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
54
+ * });
55
+ * const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
56
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
57
+ * name: snowflakePrivateLink.ocspUrl,
58
+ * type: "CNAME",
59
+ * ttl: "300",
60
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
61
+ * });
62
+ * ```
10
63
  */
11
64
  function getSystemGetPrivateLinkConfig(opts) {
12
65
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -15,6 +68,59 @@ function getSystemGetPrivateLinkConfig(opts) {
15
68
  exports.getSystemGetPrivateLinkConfig = getSystemGetPrivateLinkConfig;
16
69
  /**
17
70
  * ## Example Usage
71
+ *
72
+ * ```typescript
73
+ * import * as pulumi from "@pulumi/pulumi";
74
+ * import * as aws from "@pulumi/aws";
75
+ * import * as snowflake from "@pulumi/snowflake";
76
+ *
77
+ * const snowflakePrivateLink = snowflake.getSystemGetPrivateLinkConfig({});
78
+ * const snowflakePrivateLinkSecurityGroup = new aws.index.SecurityGroup("snowflake_private_link", {
79
+ * vpcId: vpcId,
80
+ * ingress: [
81
+ * {
82
+ * fromPort: 80,
83
+ * toPort: 80,
84
+ * cidrBlocks: vpcCidr,
85
+ * protocol: "tcp",
86
+ * },
87
+ * {
88
+ * fromPort: 443,
89
+ * toPort: 443,
90
+ * cidrBlocks: vpcCidr,
91
+ * protocol: "tcp",
92
+ * },
93
+ * ],
94
+ * });
95
+ * const snowflakePrivateLinkVpcEndpoint = new aws.index.VpcEndpoint("snowflake_private_link", {
96
+ * vpcId: vpcId,
97
+ * serviceName: snowflakePrivateLink.awsVpceId,
98
+ * vpcEndpointType: "Interface",
99
+ * securityGroupIds: [snowflakePrivateLinkSecurityGroup.id],
100
+ * subnetIds: subnetIds,
101
+ * privateDnsEnabled: false,
102
+ * });
103
+ * const snowflakePrivateLinkRoute53Zone = new aws.index.Route53Zone("snowflake_private_link", {
104
+ * name: "privatelink.snowflakecomputing.com",
105
+ * vpc: [{
106
+ * vpcId: vpcId,
107
+ * }],
108
+ * });
109
+ * const snowflakePrivateLinkUrl = new aws.index.Route53Record("snowflake_private_link_url", {
110
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
111
+ * name: snowflakePrivateLink.accountUrl,
112
+ * type: "CNAME",
113
+ * ttl: "300",
114
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
115
+ * });
116
+ * const snowflakePrivateLinkOcspUrl = new aws.index.Route53Record("snowflake_private_link_ocsp_url", {
117
+ * zoneId: snowflakePrivateLinkRoute53Zone.zoneId,
118
+ * name: snowflakePrivateLink.ocspUrl,
119
+ * type: "CNAME",
120
+ * ttl: "300",
121
+ * records: [snowflakePrivateLinkVpcEndpoint.dnsEntry[0].dns_name],
122
+ * });
123
+ * ```
18
124
  */
19
125
  function getSystemGetPrivateLinkConfigOutput(opts) {
20
126
  return pulumi.output(getSystemGetPrivateLinkConfig(opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getSystemGetPrivateLinkConfig.js","sourceRoot":"","sources":["../getSystemGetPrivateLinkConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;GAEG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;IAErE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE,EAC3G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AA+CD;;GAEG;AACH,SAAgB,mCAAmC,CAAC,IAA2B;IAC3E,OAAO,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,kFAEC"}
1
+ {"version":3,"file":"getSystemGetPrivateLinkConfig.js","sourceRoot":"","sources":["../getSystemGetPrivateLinkConfig.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,SAAgB,6BAA6B,CAAC,IAA2B;IAErE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6EAA6E,EAAE,EAC3G,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sEAKC;AA+CD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuDG;AACH,SAAgB,mCAAmC,CAAC,IAA2B;IAC3E,OAAO,MAAM,CAAC,MAAM,CAAC,6BAA6B,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7D,CAAC;AAFD,kFAEC"}
package/getTables.d.ts CHANGED
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * ## Example Usage
5
5
  *
6
- * <!--Start PulumiCodeChooser -->
7
6
  * ```typescript
8
7
  * import * as pulumi from "@pulumi/pulumi";
9
8
  * import * as snowflake from "@pulumi/snowflake";
@@ -13,14 +12,19 @@ import * as outputs from "./types/output";
13
12
  * schema: "MYSCHEMA",
14
13
  * });
15
14
  * ```
16
- * <!--End PulumiCodeChooser -->
17
15
  */
18
16
  export declare function getTables(args: GetTablesArgs, opts?: pulumi.InvokeOptions): Promise<GetTablesResult>;
19
17
  /**
20
18
  * A collection of arguments for invoking getTables.
21
19
  */
22
20
  export interface GetTablesArgs {
21
+ /**
22
+ * The database from which to return the schemas from.
23
+ */
23
24
  database: string;
25
+ /**
26
+ * The schema from which to return the tables from.
27
+ */
24
28
  schema: string;
25
29
  }
26
30
  /**
@@ -47,7 +51,6 @@ export interface GetTablesResult {
47
51
  /**
48
52
  * ## Example Usage
49
53
  *
50
- * <!--Start PulumiCodeChooser -->
51
54
  * ```typescript
52
55
  * import * as pulumi from "@pulumi/pulumi";
53
56
  * import * as snowflake from "@pulumi/snowflake";
@@ -57,13 +60,18 @@ export interface GetTablesResult {
57
60
  * schema: "MYSCHEMA",
58
61
  * });
59
62
  * ```
60
- * <!--End PulumiCodeChooser -->
61
63
  */
62
64
  export declare function getTablesOutput(args: GetTablesOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTablesResult>;
63
65
  /**
64
66
  * A collection of arguments for invoking getTables.
65
67
  */
66
68
  export interface GetTablesOutputArgs {
69
+ /**
70
+ * The database from which to return the schemas from.
71
+ */
67
72
  database: pulumi.Input<string>;
73
+ /**
74
+ * The schema from which to return the tables from.
75
+ */
68
76
  schema: pulumi.Input<string>;
69
77
  }
package/getTables.js CHANGED
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as snowflake from "@pulumi/snowflake";
@@ -18,7 +17,6 @@ const utilities = require("./utilities");
18
17
  * schema: "MYSCHEMA",
19
18
  * });
20
19
  * ```
21
- * <!--End PulumiCodeChooser -->
22
20
  */
23
21
  function getTables(args, opts) {
24
22
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -31,7 +29,6 @@ exports.getTables = getTables;
31
29
  /**
32
30
  * ## Example Usage
33
31
  *
34
- * <!--Start PulumiCodeChooser -->
35
32
  * ```typescript
36
33
  * import * as pulumi from "@pulumi/pulumi";
37
34
  * import * as snowflake from "@pulumi/snowflake";
@@ -41,7 +38,6 @@ exports.getTables = getTables;
41
38
  * schema: "MYSCHEMA",
42
39
  * });
43
40
  * ```
44
- * <!--End PulumiCodeChooser -->
45
41
  */
46
42
  function getTablesOutput(args, opts) {
47
43
  return pulumi.output(args).apply((a) => getTables(a, opts));
package/getTables.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTables.js","sourceRoot":"","sources":["../getTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AA+BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
1
+ {"version":3,"file":"getTables.js","sourceRoot":"","sources":["../getTables.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,SAAS,CAAC,IAAmB,EAAE,IAA2B;IAEtE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,qCAAqC,EAAE;QAChE,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,QAAQ,EAAE,IAAI,CAAC,MAAM;KACxB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,8BAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,eAAe,CAAC,IAAyB,EAAE,IAA2B;IAClF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,SAAS,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACpE,CAAC;AAFD,0CAEC"}
package/getTasks.d.ts CHANGED
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * ## Example Usage
5
5
  *
6
- * <!--Start PulumiCodeChooser -->
7
6
  * ```typescript
8
7
  * import * as pulumi from "@pulumi/pulumi";
9
8
  * import * as snowflake from "@pulumi/snowflake";
@@ -13,14 +12,19 @@ import * as outputs from "./types/output";
13
12
  * schema: "MYSCHEMA",
14
13
  * });
15
14
  * ```
16
- * <!--End PulumiCodeChooser -->
17
15
  */
18
16
  export declare function getTasks(args: GetTasksArgs, opts?: pulumi.InvokeOptions): Promise<GetTasksResult>;
19
17
  /**
20
18
  * A collection of arguments for invoking getTasks.
21
19
  */
22
20
  export interface GetTasksArgs {
21
+ /**
22
+ * The database from which to return the schemas from.
23
+ */
23
24
  database: string;
25
+ /**
26
+ * The schema from which to return the tasks from.
27
+ */
24
28
  schema: string;
25
29
  }
26
30
  /**
@@ -47,7 +51,6 @@ export interface GetTasksResult {
47
51
  /**
48
52
  * ## Example Usage
49
53
  *
50
- * <!--Start PulumiCodeChooser -->
51
54
  * ```typescript
52
55
  * import * as pulumi from "@pulumi/pulumi";
53
56
  * import * as snowflake from "@pulumi/snowflake";
@@ -57,13 +60,18 @@ export interface GetTasksResult {
57
60
  * schema: "MYSCHEMA",
58
61
  * });
59
62
  * ```
60
- * <!--End PulumiCodeChooser -->
61
63
  */
62
64
  export declare function getTasksOutput(args: GetTasksOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetTasksResult>;
63
65
  /**
64
66
  * A collection of arguments for invoking getTasks.
65
67
  */
66
68
  export interface GetTasksOutputArgs {
69
+ /**
70
+ * The database from which to return the schemas from.
71
+ */
67
72
  database: pulumi.Input<string>;
73
+ /**
74
+ * The schema from which to return the tasks from.
75
+ */
68
76
  schema: pulumi.Input<string>;
69
77
  }
package/getTasks.js CHANGED
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as snowflake from "@pulumi/snowflake";
@@ -18,7 +17,6 @@ const utilities = require("./utilities");
18
17
  * schema: "MYSCHEMA",
19
18
  * });
20
19
  * ```
21
- * <!--End PulumiCodeChooser -->
22
20
  */
23
21
  function getTasks(args, opts) {
24
22
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -31,7 +29,6 @@ exports.getTasks = getTasks;
31
29
  /**
32
30
  * ## Example Usage
33
31
  *
34
- * <!--Start PulumiCodeChooser -->
35
32
  * ```typescript
36
33
  * import * as pulumi from "@pulumi/pulumi";
37
34
  * import * as snowflake from "@pulumi/snowflake";
@@ -41,7 +38,6 @@ exports.getTasks = getTasks;
41
38
  * schema: "MYSCHEMA",
42
39
  * });
43
40
  * ```
44
- * <!--End PulumiCodeChooser -->
45
41
  */
46
42
  function getTasksOutput(args, opts) {
47
43
  return pulumi.output(args).apply((a) => getTasks(a, opts));
package/getTasks.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getTasks.js","sourceRoot":"","sources":["../getTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,4BAOC;AA+BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getTasks.js","sourceRoot":"","sources":["../getTasks.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,4BAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
package/getUsers.d.ts CHANGED
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * ## Example Usage
5
5
  *
6
- * <!--Start PulumiCodeChooser -->
7
6
  * ```typescript
8
7
  * import * as pulumi from "@pulumi/pulumi";
9
8
  * import * as snowflake from "@pulumi/snowflake";
@@ -12,7 +11,6 @@ import * as outputs from "./types/output";
12
11
  * pattern: "user1",
13
12
  * });
14
13
  * ```
15
- * <!--End PulumiCodeChooser -->
16
14
  */
17
15
  export declare function getUsers(args: GetUsersArgs, opts?: pulumi.InvokeOptions): Promise<GetUsersResult>;
18
16
  /**
@@ -44,7 +42,6 @@ export interface GetUsersResult {
44
42
  /**
45
43
  * ## Example Usage
46
44
  *
47
- * <!--Start PulumiCodeChooser -->
48
45
  * ```typescript
49
46
  * import * as pulumi from "@pulumi/pulumi";
50
47
  * import * as snowflake from "@pulumi/snowflake";
@@ -53,7 +50,6 @@ export interface GetUsersResult {
53
50
  * pattern: "user1",
54
51
  * });
55
52
  * ```
56
- * <!--End PulumiCodeChooser -->
57
53
  */
58
54
  export declare function getUsersOutput(args: GetUsersOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetUsersResult>;
59
55
  /**
package/getUsers.js CHANGED
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as snowflake from "@pulumi/snowflake";
@@ -17,7 +16,6 @@ const utilities = require("./utilities");
17
16
  * pattern: "user1",
18
17
  * });
19
18
  * ```
20
- * <!--End PulumiCodeChooser -->
21
19
  */
22
20
  function getUsers(args, opts) {
23
21
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -29,7 +27,6 @@ exports.getUsers = getUsers;
29
27
  /**
30
28
  * ## Example Usage
31
29
  *
32
- * <!--Start PulumiCodeChooser -->
33
30
  * ```typescript
34
31
  * import * as pulumi from "@pulumi/pulumi";
35
32
  * import * as snowflake from "@pulumi/snowflake";
@@ -38,7 +35,6 @@ exports.getUsers = getUsers;
38
35
  * pattern: "user1",
39
36
  * });
40
37
  * ```
41
- * <!--End PulumiCodeChooser -->
42
38
  */
43
39
  function getUsersOutput(args, opts) {
44
40
  return pulumi.output(args).apply((a) => getUsers(a, opts));
package/getUsers.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;GAaG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AA6BD;;;;;;;;;;;;;GAaG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getUsers.js","sourceRoot":"","sources":["../getUsers.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,mCAAmC,EAAE;QAC9D,SAAS,EAAE,IAAI,CAAC,OAAO;KAC1B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4BAMC;AA6BD;;;;;;;;;;;GAWG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
package/getViews.d.ts CHANGED
@@ -3,7 +3,6 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * ## Example Usage
5
5
  *
6
- * <!--Start PulumiCodeChooser -->
7
6
  * ```typescript
8
7
  * import * as pulumi from "@pulumi/pulumi";
9
8
  * import * as snowflake from "@pulumi/snowflake";
@@ -13,14 +12,19 @@ import * as outputs from "./types/output";
13
12
  * schema: "MYSCHEMA",
14
13
  * });
15
14
  * ```
16
- * <!--End PulumiCodeChooser -->
17
15
  */
18
16
  export declare function getViews(args: GetViewsArgs, opts?: pulumi.InvokeOptions): Promise<GetViewsResult>;
19
17
  /**
20
18
  * A collection of arguments for invoking getViews.
21
19
  */
22
20
  export interface GetViewsArgs {
21
+ /**
22
+ * The database from which to return the schemas from.
23
+ */
23
24
  database: string;
25
+ /**
26
+ * The schema from which to return the views from.
27
+ */
24
28
  schema: string;
25
29
  }
26
30
  /**
@@ -47,7 +51,6 @@ export interface GetViewsResult {
47
51
  /**
48
52
  * ## Example Usage
49
53
  *
50
- * <!--Start PulumiCodeChooser -->
51
54
  * ```typescript
52
55
  * import * as pulumi from "@pulumi/pulumi";
53
56
  * import * as snowflake from "@pulumi/snowflake";
@@ -57,13 +60,18 @@ export interface GetViewsResult {
57
60
  * schema: "MYSCHEMA",
58
61
  * });
59
62
  * ```
60
- * <!--End PulumiCodeChooser -->
61
63
  */
62
64
  export declare function getViewsOutput(args: GetViewsOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output<GetViewsResult>;
63
65
  /**
64
66
  * A collection of arguments for invoking getViews.
65
67
  */
66
68
  export interface GetViewsOutputArgs {
69
+ /**
70
+ * The database from which to return the schemas from.
71
+ */
67
72
  database: pulumi.Input<string>;
73
+ /**
74
+ * The schema from which to return the views from.
75
+ */
68
76
  schema: pulumi.Input<string>;
69
77
  }
package/getViews.js CHANGED
@@ -8,7 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as snowflake from "@pulumi/snowflake";
@@ -18,7 +17,6 @@ const utilities = require("./utilities");
18
17
  * schema: "MYSCHEMA",
19
18
  * });
20
19
  * ```
21
- * <!--End PulumiCodeChooser -->
22
20
  */
23
21
  function getViews(args, opts) {
24
22
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -31,7 +29,6 @@ exports.getViews = getViews;
31
29
  /**
32
30
  * ## Example Usage
33
31
  *
34
- * <!--Start PulumiCodeChooser -->
35
32
  * ```typescript
36
33
  * import * as pulumi from "@pulumi/pulumi";
37
34
  * import * as snowflake from "@pulumi/snowflake";
@@ -41,7 +38,6 @@ exports.getViews = getViews;
41
38
  * schema: "MYSCHEMA",
42
39
  * });
43
40
  * ```
44
- * <!--End PulumiCodeChooser -->
45
41
  */
46
42
  function getViewsOutput(args, opts) {
47
43
  return pulumi.output(args).apply((a) => getViews(a, opts));
package/getViews.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;GAcG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,4BAOC;AA+BD;;;;;;;;;;;;;;GAcG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
1
+ {"version":3,"file":"getViews.js","sourceRoot":"","sources":["../getViews.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;GAYG;AACH,SAAgB,QAAQ,CAAC,IAAkB,EAAE,IAA2B;IAEpE,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,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;AAPD,4BAOC;AAqCD;;;;;;;;;;;;GAYG;AACH,SAAgB,cAAc,CAAC,IAAwB,EAAE,IAA2B;IAChF,OAAO,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,CAAC,CAAM,EAAE,EAAE,CAAC,QAAQ,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAA;AACnE,CAAC;AAFD,wCAEC"}
@@ -3,14 +3,12 @@ import * as outputs from "./types/output";
3
3
  /**
4
4
  * ## Example Usage
5
5
  *
6
- * <!--Start PulumiCodeChooser -->
7
6
  * ```typescript
8
7
  * import * as pulumi from "@pulumi/pulumi";
9
8
  * import * as snowflake from "@pulumi/snowflake";
10
9
  *
11
10
  * const current = snowflake.getWarehouses({});
12
11
  * ```
13
- * <!--End PulumiCodeChooser -->
14
12
  */
15
13
  export declare function getWarehouses(opts?: pulumi.InvokeOptions): Promise<GetWarehousesResult>;
16
14
  /**
@@ -29,13 +27,11 @@ export interface GetWarehousesResult {
29
27
  /**
30
28
  * ## Example Usage
31
29
  *
32
- * <!--Start PulumiCodeChooser -->
33
30
  * ```typescript
34
31
  * import * as pulumi from "@pulumi/pulumi";
35
32
  * import * as snowflake from "@pulumi/snowflake";
36
33
  *
37
34
  * const current = snowflake.getWarehouses({});
38
35
  * ```
39
- * <!--End PulumiCodeChooser -->
40
36
  */
41
37
  export declare function getWarehousesOutput(opts?: pulumi.InvokeOptions): pulumi.Output<GetWarehousesResult>;
package/getWarehouses.js CHANGED
@@ -8,14 +8,12 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Example Usage
10
10
  *
11
- * <!--Start PulumiCodeChooser -->
12
11
  * ```typescript
13
12
  * import * as pulumi from "@pulumi/pulumi";
14
13
  * import * as snowflake from "@pulumi/snowflake";
15
14
  *
16
15
  * const current = snowflake.getWarehouses({});
17
16
  * ```
18
- * <!--End PulumiCodeChooser -->
19
17
  */
20
18
  function getWarehouses(opts) {
21
19
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
@@ -25,14 +23,12 @@ exports.getWarehouses = getWarehouses;
25
23
  /**
26
24
  * ## Example Usage
27
25
  *
28
- * <!--Start PulumiCodeChooser -->
29
26
  * ```typescript
30
27
  * import * as pulumi from "@pulumi/pulumi";
31
28
  * import * as snowflake from "@pulumi/snowflake";
32
29
  *
33
30
  * const current = snowflake.getWarehouses({});
34
31
  * ```
35
- * <!--End PulumiCodeChooser -->
36
32
  */
37
33
  function getWarehousesOutput(opts) {
38
34
  return pulumi.output(getWarehouses(opts));
@@ -1 +1 @@
1
- {"version":3,"file":"getWarehouses.js","sourceRoot":"","sources":["../getWarehouses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;GAWG;AACH,SAAgB,aAAa,CAAC,IAA2B;IAErD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;;;;;;;;;;GAWG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}
1
+ {"version":3,"file":"getWarehouses.js","sourceRoot":"","sources":["../getWarehouses.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;GASG;AACH,SAAgB,aAAa,CAAC,IAA2B;IAErD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,6CAA6C,EAAE,EAC3E,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AALD,sCAKC;AAeD;;;;;;;;;GASG;AACH,SAAgB,mBAAmB,CAAC,IAA2B;IAC3D,OAAO,MAAM,CAAC,MAAM,CAAC,aAAa,CAAC,IAAI,CAAC,CAAC,CAAA;AAC7C,CAAC;AAFD,kDAEC"}