@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/streamOnView.d.ts CHANGED
@@ -34,12 +34,9 @@ export declare class StreamOnView extends pulumi.CustomResource {
34
34
  * Specifies a comment for the stream.
35
35
  */
36
36
  readonly comment: pulumi.Output<string | undefined>;
37
- /**
38
- * Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
39
- */
40
37
  readonly copyGrants: pulumi.Output<boolean | undefined>;
41
38
  /**
42
- * The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
39
+ * The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
43
40
  */
44
41
  readonly database: pulumi.Output<string>;
45
42
  /**
@@ -51,11 +48,11 @@ export declare class StreamOnView extends pulumi.CustomResource {
51
48
  */
52
49
  readonly fullyQualifiedName: pulumi.Output<string>;
53
50
  /**
54
- * Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
51
+ * Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
55
52
  */
56
53
  readonly name: pulumi.Output<string>;
57
54
  /**
58
- * The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
55
+ * The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
59
56
  */
60
57
  readonly schema: pulumi.Output<string>;
61
58
  readonly showInitialRows: pulumi.Output<string | undefined>;
@@ -69,7 +66,7 @@ export declare class StreamOnView extends pulumi.CustomResource {
69
66
  */
70
67
  readonly streamType: pulumi.Output<string>;
71
68
  /**
72
- * Specifies an identifier for the view the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
69
+ * Specifies an identifier for the view the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
73
70
  */
74
71
  readonly view: pulumi.Output<string>;
75
72
  /**
@@ -95,12 +92,9 @@ export interface StreamOnViewState {
95
92
  * Specifies a comment for the stream.
96
93
  */
97
94
  comment?: pulumi.Input<string>;
98
- /**
99
- * Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
100
- */
101
95
  copyGrants?: pulumi.Input<boolean>;
102
96
  /**
103
- * The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
97
+ * The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
104
98
  */
105
99
  database?: pulumi.Input<string>;
106
100
  /**
@@ -112,11 +106,11 @@ export interface StreamOnViewState {
112
106
  */
113
107
  fullyQualifiedName?: pulumi.Input<string>;
114
108
  /**
115
- * Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
109
+ * Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
116
110
  */
117
111
  name?: pulumi.Input<string>;
118
112
  /**
119
- * The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
113
+ * The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
120
114
  */
121
115
  schema?: pulumi.Input<string>;
122
116
  showInitialRows?: pulumi.Input<string>;
@@ -130,7 +124,7 @@ export interface StreamOnViewState {
130
124
  */
131
125
  streamType?: pulumi.Input<string>;
132
126
  /**
133
- * Specifies an identifier for the view the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
127
+ * Specifies an identifier for the view the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
134
128
  */
135
129
  view?: pulumi.Input<string>;
136
130
  }
@@ -148,25 +142,22 @@ export interface StreamOnViewArgs {
148
142
  * Specifies a comment for the stream.
149
143
  */
150
144
  comment?: pulumi.Input<string>;
151
- /**
152
- * Retains the access permissions from the original stream when a stream is recreated using the OR REPLACE clause. That is sometimes used when the provider detects changes for fields that can not be changed by ALTER. This value will not have any effect when creating a new stream.
153
- */
154
145
  copyGrants?: pulumi.Input<boolean>;
155
146
  /**
156
- * The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
147
+ * The database in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
157
148
  */
158
149
  database: pulumi.Input<string>;
159
150
  /**
160
- * Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
151
+ * Specifies the identifier for the stream; must be unique for the database and schema in which the stream is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
161
152
  */
162
153
  name?: pulumi.Input<string>;
163
154
  /**
164
- * The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
155
+ * The schema in which to create the stream. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
165
156
  */
166
157
  schema: pulumi.Input<string>;
167
158
  showInitialRows?: pulumi.Input<string>;
168
159
  /**
169
- * Specifies an identifier for the view the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
160
+ * Specifies an identifier for the view the stream will monitor. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`. For more information about this resource, see docs.
170
161
  */
171
162
  view: pulumi.Input<string>;
172
163
  }
@@ -1 +1 @@
1
- {"version":3,"file":"streamOnView.js","sourceRoot":"","sources":["../streamOnView.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;GAMG;AACH,MAAa,YAAa,SAAQ,MAAM,CAAC,cAAc;IACnD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAyB,EAAE,IAAmC;QACvH,OAAO,IAAI,YAAY,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACnE,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,YAAY,CAAC,YAAY,CAAC;IAC7D,CAAC;IA2DD,YAAY,IAAY,EAAE,WAAkD,EAAE,IAAmC;QAC7G,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA4C,CAAC;YAC3D,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACpE,cAAc,CAAC,IAAI,CAAC,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AAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,SAAS,CAAC;YAC5E,cAAc,CAAC,MAAM,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;YACtD,cAAc,CAAC,iBAAiB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACtD,cAAc,CAAC,oBAAoB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACzD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,OAAO,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAC5C,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACpD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,YAAY,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACjE,CAAC;;AAnIL,oCAoIC;AAtHG,gBAAgB;AACO,yBAAY,GAAG,2CAA2C,CAAC"}
package/streamlit.d.ts CHANGED
@@ -4,8 +4,6 @@ import * as outputs from "./types/output";
4
4
  /**
5
5
  * ## Import
6
6
  *
7
- * format is <database_name>.<schema_name>.<streamlit_name>
8
- *
9
7
  * ```sh
10
8
  * $ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
11
9
  * ```
@@ -31,7 +29,7 @@ export declare class Streamlit extends pulumi.CustomResource {
31
29
  */
32
30
  readonly comment: pulumi.Output<string | undefined>;
33
31
  /**
34
- * The database in which to create the streamlit
32
+ * The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
35
33
  */
36
34
  readonly database: pulumi.Output<string>;
37
35
  /**
@@ -51,19 +49,19 @@ export declare class Streamlit extends pulumi.CustomResource {
51
49
  */
52
50
  readonly fullyQualifiedName: pulumi.Output<string>;
53
51
  /**
54
- * Specifies the filename of the Streamlit Python application. This filename is relative to the value of `rootLocation`
52
+ * Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directoryLocation`
55
53
  */
56
54
  readonly mainFile: pulumi.Output<string>;
57
55
  /**
58
- * String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
56
+ * String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
59
57
  */
60
58
  readonly name: pulumi.Output<string>;
61
59
  /**
62
- * Specifies the warehouse where SQL queries issued by the Streamlit application are run.
60
+ * Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
63
61
  */
64
62
  readonly queryWarehouse: pulumi.Output<string | undefined>;
65
63
  /**
66
- * The schema in which to create the streamlit.
64
+ * The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
67
65
  */
68
66
  readonly schema: pulumi.Output<string>;
69
67
  /**
@@ -71,7 +69,7 @@ export declare class Streamlit extends pulumi.CustomResource {
71
69
  */
72
70
  readonly showOutputs: pulumi.Output<outputs.StreamlitShowOutput[]>;
73
71
  /**
74
- * The stage in which streamlit files are located.
72
+ * The stage in which streamlit files are located. For more information about this resource, see docs.
75
73
  */
76
74
  readonly stage: pulumi.Output<string>;
77
75
  /**
@@ -96,7 +94,7 @@ export interface StreamlitState {
96
94
  */
97
95
  comment?: pulumi.Input<string>;
98
96
  /**
99
- * The database in which to create the streamlit
97
+ * The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
100
98
  */
101
99
  database?: pulumi.Input<string>;
102
100
  /**
@@ -116,19 +114,19 @@ export interface StreamlitState {
116
114
  */
117
115
  fullyQualifiedName?: pulumi.Input<string>;
118
116
  /**
119
- * Specifies the filename of the Streamlit Python application. This filename is relative to the value of `rootLocation`
117
+ * Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directoryLocation`
120
118
  */
121
119
  mainFile?: pulumi.Input<string>;
122
120
  /**
123
- * String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
121
+ * String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
124
122
  */
125
123
  name?: pulumi.Input<string>;
126
124
  /**
127
- * Specifies the warehouse where SQL queries issued by the Streamlit application are run.
125
+ * Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
128
126
  */
129
127
  queryWarehouse?: pulumi.Input<string>;
130
128
  /**
131
- * The schema in which to create the streamlit.
129
+ * The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
132
130
  */
133
131
  schema?: pulumi.Input<string>;
134
132
  /**
@@ -136,7 +134,7 @@ export interface StreamlitState {
136
134
  */
137
135
  showOutputs?: pulumi.Input<pulumi.Input<inputs.StreamlitShowOutput>[]>;
138
136
  /**
139
- * The stage in which streamlit files are located.
137
+ * The stage in which streamlit files are located. For more information about this resource, see docs.
140
138
  */
141
139
  stage?: pulumi.Input<string>;
142
140
  /**
@@ -153,7 +151,7 @@ export interface StreamlitArgs {
153
151
  */
154
152
  comment?: pulumi.Input<string>;
155
153
  /**
156
- * The database in which to create the streamlit
154
+ * The database in which to create the streamlit Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
157
155
  */
158
156
  database: pulumi.Input<string>;
159
157
  /**
@@ -165,23 +163,23 @@ export interface StreamlitArgs {
165
163
  */
166
164
  externalAccessIntegrations?: pulumi.Input<pulumi.Input<string>[]>;
167
165
  /**
168
- * Specifies the filename of the Streamlit Python application. This filename is relative to the value of `rootLocation`
166
+ * Specifies the filename of the Streamlit Python application. This filename is relative to the value of `directoryLocation`
169
167
  */
170
168
  mainFile: pulumi.Input<string>;
171
169
  /**
172
- * String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account.
170
+ * String that specifies the identifier (i.e. name) for the streamlit; must be unique in your account. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
173
171
  */
174
172
  name?: pulumi.Input<string>;
175
173
  /**
176
- * Specifies the warehouse where SQL queries issued by the Streamlit application are run.
174
+ * Specifies the warehouse where SQL queries issued by the Streamlit application are run. Due to Snowflake limitations warehouse identifier can consist of only upper-cased letters. For more information about this resource, see docs.
177
175
  */
178
176
  queryWarehouse?: pulumi.Input<string>;
179
177
  /**
180
- * The schema in which to create the streamlit.
178
+ * The schema in which to create the streamlit. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
181
179
  */
182
180
  schema: pulumi.Input<string>;
183
181
  /**
184
- * The stage in which streamlit files are located.
182
+ * The stage in which streamlit files are located. For more information about this resource, see docs.
185
183
  */
186
184
  stage: pulumi.Input<string>;
187
185
  /**
package/streamlit.js CHANGED
@@ -8,8 +8,6 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Import
10
10
  *
11
- * format is <database_name>.<schema_name>.<streamlit_name>
12
- *
13
11
  * ```sh
14
12
  * $ pulumi import snowflake:index/streamlit:Streamlit example '"<database_name>"."<schema_name>"."<streamlit_name>"'
15
13
  * ```
package/streamlit.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"streamlit.js","sourceRoot":"","sources":["../streamlit.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC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AO,CAAC;SACrD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,SAAS,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC9D,CAAC;;AAzIL,8BA0IC;AA5HG,gBAAgB;AACO,sBAAY,GAAG,qCAAqC,CAAC"}
package/tag.d.ts CHANGED
@@ -33,7 +33,7 @@ export declare class Tag extends pulumi.CustomResource {
33
33
  */
34
34
  readonly comment: pulumi.Output<string | undefined>;
35
35
  /**
36
- * The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
36
+ * The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
37
37
  */
38
38
  readonly database: pulumi.Output<string>;
39
39
  /**
@@ -41,15 +41,15 @@ export declare class Tag extends pulumi.CustomResource {
41
41
  */
42
42
  readonly fullyQualifiedName: pulumi.Output<string>;
43
43
  /**
44
- * Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
44
+ * Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
45
45
  */
46
46
  readonly maskingPolicies: pulumi.Output<string[] | undefined>;
47
47
  /**
48
- * Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
48
+ * Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
49
49
  */
50
50
  readonly name: pulumi.Output<string>;
51
51
  /**
52
- * The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
52
+ * The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
53
53
  */
54
54
  readonly schema: pulumi.Output<string>;
55
55
  /**
@@ -78,7 +78,7 @@ export interface TagState {
78
78
  */
79
79
  comment?: pulumi.Input<string>;
80
80
  /**
81
- * The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
81
+ * The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
82
82
  */
83
83
  database?: pulumi.Input<string>;
84
84
  /**
@@ -86,15 +86,15 @@ export interface TagState {
86
86
  */
87
87
  fullyQualifiedName?: pulumi.Input<string>;
88
88
  /**
89
- * Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
89
+ * Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
90
90
  */
91
91
  maskingPolicies?: pulumi.Input<pulumi.Input<string>[]>;
92
92
  /**
93
- * Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
93
+ * Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
94
94
  */
95
95
  name?: pulumi.Input<string>;
96
96
  /**
97
- * The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
97
+ * The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
98
98
  */
99
99
  schema?: pulumi.Input<string>;
100
100
  /**
@@ -115,19 +115,19 @@ export interface TagArgs {
115
115
  */
116
116
  comment?: pulumi.Input<string>;
117
117
  /**
118
- * The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
118
+ * The database in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
119
119
  */
120
120
  database: pulumi.Input<string>;
121
121
  /**
122
- * Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them.
122
+ * Set of masking policies for the tag. A tag can support one masking policy for each data type. If masking policies are assigned to the tag, before dropping the tag, the provider automatically unassigns them. For more information about this resource, see docs.
123
123
  */
124
124
  maskingPolicies?: pulumi.Input<pulumi.Input<string>[]>;
125
125
  /**
126
- * Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
126
+ * Specifies the identifier for the tag; must be unique for the database in which the tag is created. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
127
127
  */
128
128
  name?: pulumi.Input<string>;
129
129
  /**
130
- * The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`
130
+ * The schema in which to create the tag. Due to technical limitations (read more here), avoid using the following characters: `|`, `.`, `"`.
131
131
  */
132
132
  schema: pulumi.Input<string>;
133
133
  }
@@ -1,13 +1,11 @@
1
1
  import * as pulumi from "@pulumi/pulumi";
2
- import * as inputs from "./types/input";
3
- import * as outputs from "./types/output";
4
2
  /**
5
3
  * ## Import
6
4
  *
7
- * format is dbName.schemaName.tagName or dbName.schemaName.tagName
5
+ * ~> **Note** Due to technical limitations of Terraform SDK, `object_identifiers` are not set during import state. Please run `terraform refresh` after importing to get this field populated.
8
6
  *
9
7
  * ```sh
10
- * $ pulumi import snowflake:index/tagAssociation:TagAssociation example 'dbName.schemaName.tagName'
8
+ * $ pulumi import snowflake:index/tagAssociation:TagAssociation example '"TAG_DATABASE"."TAG_SCHEMA"."TAG_NAME"|TAG_VALUE|OBJECT_TYPE'
11
9
  * ```
12
10
  */
13
11
  export declare class TagAssociation extends pulumi.CustomResource {
@@ -27,15 +25,9 @@ export declare class TagAssociation extends pulumi.CustomResource {
27
25
  */
28
26
  static isInstance(obj: any): obj is TagAssociation;
29
27
  /**
30
- * Specifies the object identifier for the tag association.
28
+ * Specifies the object identifiers for the tag association.
31
29
  */
32
- readonly objectIdentifiers: pulumi.Output<outputs.TagAssociationObjectIdentifier[]>;
33
- /**
34
- * Specifies the object identifier for the tag association.
35
- *
36
- * @deprecated Use `objectIdentifier` instead
37
- */
38
- readonly objectName: pulumi.Output<string | undefined>;
30
+ readonly objectIdentifiers: pulumi.Output<string[]>;
39
31
  /**
40
32
  * Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE FAILOVER GROUP INTEGRATION NETWORK POLICY REPLICATION GROUP ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT SNOWFLAKE.CORE.BUDGET SNOWFLAKE.ML.CLASSIFICATION EXTERNAL FUNCTION EXTERNAL TABLE FUNCTION GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PRIVACY POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
41
33
  */
@@ -45,7 +37,7 @@ export declare class TagAssociation extends pulumi.CustomResource {
45
37
  */
46
38
  readonly skipValidation: pulumi.Output<boolean | undefined>;
47
39
  /**
48
- * Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
40
+ * Specifies the identifier for the tag.
49
41
  */
50
42
  readonly tagId: pulumi.Output<string>;
51
43
  /**
@@ -66,15 +58,9 @@ export declare class TagAssociation extends pulumi.CustomResource {
66
58
  */
67
59
  export interface TagAssociationState {
68
60
  /**
69
- * Specifies the object identifier for the tag association.
61
+ * Specifies the object identifiers for the tag association.
70
62
  */
71
- objectIdentifiers?: pulumi.Input<pulumi.Input<inputs.TagAssociationObjectIdentifier>[]>;
72
- /**
73
- * Specifies the object identifier for the tag association.
74
- *
75
- * @deprecated Use `objectIdentifier` instead
76
- */
77
- objectName?: pulumi.Input<string>;
63
+ objectIdentifiers?: pulumi.Input<pulumi.Input<string>[]>;
78
64
  /**
79
65
  * Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE FAILOVER GROUP INTEGRATION NETWORK POLICY REPLICATION GROUP ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT SNOWFLAKE.CORE.BUDGET SNOWFLAKE.ML.CLASSIFICATION EXTERNAL FUNCTION EXTERNAL TABLE FUNCTION GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PRIVACY POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
80
66
  */
@@ -84,7 +70,7 @@ export interface TagAssociationState {
84
70
  */
85
71
  skipValidation?: pulumi.Input<boolean>;
86
72
  /**
87
- * Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
73
+ * Specifies the identifier for the tag.
88
74
  */
89
75
  tagId?: pulumi.Input<string>;
90
76
  /**
@@ -97,15 +83,9 @@ export interface TagAssociationState {
97
83
  */
98
84
  export interface TagAssociationArgs {
99
85
  /**
100
- * Specifies the object identifier for the tag association.
101
- */
102
- objectIdentifiers: pulumi.Input<pulumi.Input<inputs.TagAssociationObjectIdentifier>[]>;
103
- /**
104
- * Specifies the object identifier for the tag association.
105
- *
106
- * @deprecated Use `objectIdentifier` instead
86
+ * Specifies the object identifiers for the tag association.
107
87
  */
108
- objectName?: pulumi.Input<string>;
88
+ objectIdentifiers: pulumi.Input<pulumi.Input<string>[]>;
109
89
  /**
110
90
  * Specifies the type of object to add a tag. Allowed object types: [ACCOUNT APPLICATION APPLICATION PACKAGE DATABASE FAILOVER GROUP INTEGRATION NETWORK POLICY REPLICATION GROUP ROLE SHARE USER WAREHOUSE DATABASE ROLE SCHEMA ALERT SNOWFLAKE.CORE.BUDGET SNOWFLAKE.ML.CLASSIFICATION EXTERNAL FUNCTION EXTERNAL TABLE FUNCTION GIT REPOSITORY ICEBERG TABLE MATERIALIZED VIEW PIPE MASKING POLICY PASSWORD POLICY ROW ACCESS POLICY SESSION POLICY PRIVACY POLICY PROCEDURE STAGE STREAM TABLE TASK VIEW COLUMN EVENT TABLE].
111
91
  */
@@ -115,7 +95,7 @@ export interface TagAssociationArgs {
115
95
  */
116
96
  skipValidation?: pulumi.Input<boolean>;
117
97
  /**
118
- * Specifies the identifier for the tag. Note: format must follow: "databaseName"."schemaName"."tagName" or "databaseName.schemaName.tagName" or "databaseName|schemaName.tagName" (snowflake_tag.tag.id)
98
+ * Specifies the identifier for the tag.
119
99
  */
120
100
  tagId: pulumi.Input<string>;
121
101
  /**
package/tagAssociation.js CHANGED
@@ -8,10 +8,10 @@ const utilities = require("./utilities");
8
8
  /**
9
9
  * ## Import
10
10
  *
11
- * format is dbName.schemaName.tagName or dbName.schemaName.tagName
11
+ * ~> **Note** Due to technical limitations of Terraform SDK, `object_identifiers` are not set during import state. Please run `terraform refresh` after importing to get this field populated.
12
12
  *
13
13
  * ```sh
14
- * $ pulumi import snowflake:index/tagAssociation:TagAssociation example 'dbName.schemaName.tagName'
14
+ * $ pulumi import snowflake:index/tagAssociation:TagAssociation example '"TAG_DATABASE"."TAG_SCHEMA"."TAG_NAME"|TAG_VALUE|OBJECT_TYPE'
15
15
  * ```
16
16
  */
17
17
  class TagAssociation extends pulumi.CustomResource {
@@ -43,7 +43,6 @@ class TagAssociation extends pulumi.CustomResource {
43
43
  if (opts.id) {
44
44
  const state = argsOrState;
45
45
  resourceInputs["objectIdentifiers"] = state ? state.objectIdentifiers : undefined;
46
- resourceInputs["objectName"] = state ? state.objectName : undefined;
47
46
  resourceInputs["objectType"] = state ? state.objectType : undefined;
48
47
  resourceInputs["skipValidation"] = state ? state.skipValidation : undefined;
49
48
  resourceInputs["tagId"] = state ? state.tagId : undefined;
@@ -64,7 +63,6 @@ class TagAssociation extends pulumi.CustomResource {
64
63
  throw new Error("Missing required property 'tagValue'");
65
64
  }
66
65
  resourceInputs["objectIdentifiers"] = args ? args.objectIdentifiers : undefined;
67
- resourceInputs["objectName"] = args ? args.objectName : undefined;
68
66
  resourceInputs["objectType"] = args ? args.objectType : undefined;
69
67
  resourceInputs["skipValidation"] = args ? args.skipValidation : undefined;
70
68
  resourceInputs["tagId"] = args ? args.tagId : undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"tagAssociation.js","sourceRoot":"","sources":["../tagAssociation.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;GAQG;AACH,MAAa,cAAe,SAAQ,MAAM,CAAC,cAAc;IACrD;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAA2B,EAAE,IAAmC;QACzH,OAAO,IAAI,cAAc,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IACrE,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,cAAc,CAAC,YAAY,CAAC;IAC/D,CAAC;IAqCD,YAAY,IAAY,EAAE,WAAsD,EAAE,IAAmC;QACjH,IAAI,cAAc,GAAkB,EAAE,CAAC;QACvC,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;QAClB,IAAI,IAAI,CAAC,EAAE,EAAE;YACT,MAAM,KAAK,GAAG,WAA8C,CAAC;YAC7D,cAAc,CAAC,mBAAmB,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAClF,cAAc,CAAC,YAAY,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,CAAC,CAAC,SAAS,CAAC;YACp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