@pulumi/databricks 1.105.0 → 1.106.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 (196) hide show
  1. package/accountIamDirectGroupMemberV2.d.ts +118 -0
  2. package/accountIamDirectGroupMemberV2.d.ts.map +1 -0
  3. package/accountIamDirectGroupMemberV2.js +110 -0
  4. package/accountIamDirectGroupMemberV2.js.map +1 -0
  5. package/accountIamGroupV2.d.ts +99 -0
  6. package/accountIamGroupV2.d.ts.map +1 -0
  7. package/accountIamGroupV2.js +100 -0
  8. package/accountIamGroupV2.js.map +1 -0
  9. package/accountIamServicePrincipalV2.d.ts +129 -0
  10. package/accountIamServicePrincipalV2.d.ts.map +1 -0
  11. package/accountIamServicePrincipalV2.js +113 -0
  12. package/accountIamServicePrincipalV2.js.map +1 -0
  13. package/accountIamUserV2.d.ts +123 -0
  14. package/accountIamUserV2.d.ts.map +1 -0
  15. package/accountIamUserV2.js +120 -0
  16. package/accountIamUserV2.js.map +1 -0
  17. package/accountIamWorkspaceAssignmentV2.d.ts +136 -0
  18. package/accountIamWorkspaceAssignmentV2.d.ts.map +1 -0
  19. package/accountIamWorkspaceAssignmentV2.js +113 -0
  20. package/accountIamWorkspaceAssignmentV2.js.map +1 -0
  21. package/aiGatewayMcpService.d.ts +6 -19
  22. package/aiGatewayMcpService.d.ts.map +1 -1
  23. package/aiGatewayMcpService.js +0 -2
  24. package/aiGatewayMcpService.js.map +1 -1
  25. package/aiGatewayModelProviderService.d.ts +6 -19
  26. package/aiGatewayModelProviderService.d.ts.map +1 -1
  27. package/aiGatewayModelProviderService.js +0 -2
  28. package/aiGatewayModelProviderService.js.map +1 -1
  29. package/aiGatewayModelService.d.ts +6 -19
  30. package/aiGatewayModelService.d.ts.map +1 -1
  31. package/aiGatewayModelService.js +0 -2
  32. package/aiGatewayModelService.js.map +1 -1
  33. package/app.d.ts +20 -0
  34. package/app.d.ts.map +1 -1
  35. package/app.js +8 -0
  36. package/app.js.map +1 -1
  37. package/budget.d.ts +89 -5
  38. package/budget.d.ts.map +1 -1
  39. package/budget.js +80 -5
  40. package/budget.js.map +1 -1
  41. package/dataClassificationCatalogConfig.d.ts +1 -1
  42. package/dataClassificationCatalogConfig.js +1 -1
  43. package/getAccountIamDirectGroupMemberV2.d.ts +105 -0
  44. package/getAccountIamDirectGroupMemberV2.d.ts.map +1 -0
  45. package/getAccountIamDirectGroupMemberV2.js +93 -0
  46. package/getAccountIamDirectGroupMemberV2.js.map +1 -0
  47. package/getAccountIamDirectGroupMembersV2.d.ts +88 -0
  48. package/getAccountIamDirectGroupMembersV2.d.ts.map +1 -0
  49. package/getAccountIamDirectGroupMembersV2.js +91 -0
  50. package/getAccountIamDirectGroupMembersV2.js.map +1 -0
  51. package/getAccountIamGroupV2.d.ts +87 -0
  52. package/getAccountIamGroupV2.d.ts.map +1 -0
  53. package/getAccountIamGroupV2.js +89 -0
  54. package/getAccountIamGroupV2.js.map +1 -0
  55. package/getAccountIamGroupsV2.d.ts +79 -0
  56. package/getAccountIamGroupsV2.d.ts.map +1 -0
  57. package/getAccountIamGroupsV2.js +89 -0
  58. package/getAccountIamGroupsV2.js.map +1 -0
  59. package/getAccountIamServicePrincipalV2.d.ts +96 -0
  60. package/getAccountIamServicePrincipalV2.d.ts.map +1 -0
  61. package/getAccountIamServicePrincipalV2.js +89 -0
  62. package/getAccountIamServicePrincipalV2.js.map +1 -0
  63. package/getAccountIamServicePrincipalsV2.d.ts +79 -0
  64. package/getAccountIamServicePrincipalsV2.d.ts.map +1 -0
  65. package/getAccountIamServicePrincipalsV2.js +89 -0
  66. package/getAccountIamServicePrincipalsV2.js.map +1 -0
  67. package/getAccountIamUserV2.d.ts +96 -0
  68. package/getAccountIamUserV2.d.ts.map +1 -0
  69. package/getAccountIamUserV2.js +89 -0
  70. package/getAccountIamUserV2.js.map +1 -0
  71. package/getAccountIamUsersV2.d.ts +79 -0
  72. package/getAccountIamUsersV2.d.ts.map +1 -0
  73. package/getAccountIamUsersV2.js +89 -0
  74. package/getAccountIamUsersV2.js.map +1 -0
  75. package/getAccountIamWorkspaceAssignmentV2.d.ts +109 -0
  76. package/getAccountIamWorkspaceAssignmentV2.d.ts.map +1 -0
  77. package/getAccountIamWorkspaceAssignmentV2.js +93 -0
  78. package/getAccountIamWorkspaceAssignmentV2.js.map +1 -0
  79. package/getAccountIamWorkspaceAssignmentsV2.d.ts +56 -0
  80. package/getAccountIamWorkspaceAssignmentsV2.d.ts.map +1 -0
  81. package/getAccountIamWorkspaceAssignmentsV2.js +61 -0
  82. package/getAccountIamWorkspaceAssignmentsV2.js.map +1 -0
  83. package/getAiGatewayMcpService.d.ts +2 -6
  84. package/getAiGatewayMcpService.d.ts.map +1 -1
  85. package/getAiGatewayMcpService.js.map +1 -1
  86. package/getAiGatewayMcpServices.d.ts +10 -17
  87. package/getAiGatewayMcpServices.d.ts.map +1 -1
  88. package/getAiGatewayMcpServices.js +0 -2
  89. package/getAiGatewayMcpServices.js.map +1 -1
  90. package/getAiGatewayModelProviderService.d.ts +0 -5
  91. package/getAiGatewayModelProviderService.d.ts.map +1 -1
  92. package/getAiGatewayModelProviderService.js.map +1 -1
  93. package/getAiGatewayModelProviderServices.d.ts +10 -17
  94. package/getAiGatewayModelProviderServices.d.ts.map +1 -1
  95. package/getAiGatewayModelProviderServices.js +0 -2
  96. package/getAiGatewayModelProviderServices.js.map +1 -1
  97. package/getAiGatewayModelService.d.ts +0 -5
  98. package/getAiGatewayModelService.d.ts.map +1 -1
  99. package/getAiGatewayModelService.js.map +1 -1
  100. package/getAiGatewayModelServices.d.ts +10 -17
  101. package/getAiGatewayModelServices.d.ts.map +1 -1
  102. package/getAiGatewayModelServices.js +0 -2
  103. package/getAiGatewayModelServices.js.map +1 -1
  104. package/getDataClassificationCatalogConfig.d.ts +2 -2
  105. package/getDataClassificationCatalogConfig.js +2 -2
  106. package/getPolicyInfo.d.ts +0 -1
  107. package/getPolicyInfo.d.ts.map +1 -1
  108. package/getPolicyInfo.js.map +1 -1
  109. package/getWorkspaceIamDirectGroupMemberV2.d.ts +118 -0
  110. package/getWorkspaceIamDirectGroupMemberV2.d.ts.map +1 -0
  111. package/getWorkspaceIamDirectGroupMemberV2.js +97 -0
  112. package/getWorkspaceIamDirectGroupMemberV2.js.map +1 -0
  113. package/getWorkspaceIamDirectGroupMembersV2.d.ts +98 -0
  114. package/getWorkspaceIamDirectGroupMembersV2.d.ts.map +1 -0
  115. package/getWorkspaceIamDirectGroupMembersV2.js +93 -0
  116. package/getWorkspaceIamDirectGroupMembersV2.js.map +1 -0
  117. package/getWorkspaceIamGroupV2.d.ts +98 -0
  118. package/getWorkspaceIamGroupV2.d.ts.map +1 -0
  119. package/getWorkspaceIamGroupV2.js +91 -0
  120. package/getWorkspaceIamGroupV2.js.map +1 -0
  121. package/getWorkspaceIamGroupsV2.d.ts +89 -0
  122. package/getWorkspaceIamGroupsV2.d.ts.map +1 -0
  123. package/getWorkspaceIamGroupsV2.js +91 -0
  124. package/getWorkspaceIamGroupsV2.js.map +1 -0
  125. package/getWorkspaceIamServicePrincipalV2.d.ts +107 -0
  126. package/getWorkspaceIamServicePrincipalV2.d.ts.map +1 -0
  127. package/getWorkspaceIamServicePrincipalV2.js +91 -0
  128. package/getWorkspaceIamServicePrincipalV2.js.map +1 -0
  129. package/getWorkspaceIamServicePrincipalsV2.d.ts +89 -0
  130. package/getWorkspaceIamServicePrincipalsV2.d.ts.map +1 -0
  131. package/getWorkspaceIamServicePrincipalsV2.js +91 -0
  132. package/getWorkspaceIamServicePrincipalsV2.js.map +1 -0
  133. package/getWorkspaceIamUserV2.d.ts +106 -0
  134. package/getWorkspaceIamUserV2.d.ts.map +1 -0
  135. package/getWorkspaceIamUserV2.js +91 -0
  136. package/getWorkspaceIamUserV2.js.map +1 -0
  137. package/getWorkspaceIamUsersV2.d.ts +89 -0
  138. package/getWorkspaceIamUsersV2.d.ts.map +1 -0
  139. package/getWorkspaceIamUsersV2.js +91 -0
  140. package/getWorkspaceIamUsersV2.js.map +1 -0
  141. package/getWorkspaceIamWorkspaceAssignmentV2.d.ts +112 -0
  142. package/getWorkspaceIamWorkspaceAssignmentV2.d.ts.map +1 -0
  143. package/getWorkspaceIamWorkspaceAssignmentV2.js +93 -0
  144. package/getWorkspaceIamWorkspaceAssignmentV2.js.map +1 -0
  145. package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts +54 -0
  146. package/getWorkspaceIamWorkspaceAssignmentsV2.d.ts.map +1 -0
  147. package/getWorkspaceIamWorkspaceAssignmentsV2.js +63 -0
  148. package/getWorkspaceIamWorkspaceAssignmentsV2.js.map +1 -0
  149. package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts +68 -0
  150. package/getWorkspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -0
  151. package/getWorkspaceIamWorkspaceIdentityDetailV2.js +61 -0
  152. package/getWorkspaceIamWorkspaceIdentityDetailV2.js.map +1 -0
  153. package/index.d.ts +96 -0
  154. package/index.d.ts.map +1 -1
  155. package/index.js +129 -10
  156. package/index.js.map +1 -1
  157. package/job.d.ts +3 -0
  158. package/job.d.ts.map +1 -1
  159. package/job.js +2 -0
  160. package/job.js.map +1 -1
  161. package/mwsWorkspaces.d.ts +3 -3
  162. package/package.json +2 -2
  163. package/policyInfo.d.ts +0 -3
  164. package/policyInfo.d.ts.map +1 -1
  165. package/policyInfo.js.map +1 -1
  166. package/secretUc.d.ts.map +1 -1
  167. package/secretUc.js +3 -1
  168. package/secretUc.js.map +1 -1
  169. package/types/input.d.ts +388 -29
  170. package/types/input.d.ts.map +1 -1
  171. package/types/output.d.ts +888 -82
  172. package/types/output.d.ts.map +1 -1
  173. package/workspaceIamDirectGroupMemberV2.d.ts +133 -0
  174. package/workspaceIamDirectGroupMemberV2.d.ts.map +1 -0
  175. package/workspaceIamDirectGroupMemberV2.js +113 -0
  176. package/workspaceIamDirectGroupMemberV2.js.map +1 -0
  177. package/workspaceIamGroupV2.d.ts +113 -0
  178. package/workspaceIamGroupV2.d.ts.map +1 -0
  179. package/workspaceIamGroupV2.js +102 -0
  180. package/workspaceIamGroupV2.js.map +1 -0
  181. package/workspaceIamServicePrincipalV2.d.ts +143 -0
  182. package/workspaceIamServicePrincipalV2.d.ts.map +1 -0
  183. package/workspaceIamServicePrincipalV2.js +115 -0
  184. package/workspaceIamServicePrincipalV2.js.map +1 -0
  185. package/workspaceIamUserV2.d.ts +135 -0
  186. package/workspaceIamUserV2.d.ts.map +1 -0
  187. package/workspaceIamUserV2.js +122 -0
  188. package/workspaceIamUserV2.js.map +1 -0
  189. package/workspaceIamWorkspaceAssignmentV2.d.ts +150 -0
  190. package/workspaceIamWorkspaceAssignmentV2.d.ts.map +1 -0
  191. package/workspaceIamWorkspaceAssignmentV2.js +115 -0
  192. package/workspaceIamWorkspaceAssignmentV2.js.map +1 -0
  193. package/workspaceIamWorkspaceIdentityDetailV2.d.ts +117 -0
  194. package/workspaceIamWorkspaceIdentityDetailV2.d.ts.map +1 -0
  195. package/workspaceIamWorkspaceIdentityDetailV2.js +110 -0
  196. package/workspaceIamWorkspaceIdentityDetailV2.js.map +1 -0
@@ -0,0 +1,118 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
4
+ *
5
+ * [API Documentation](https://docs.databricks.com/api/account/iamv2)
6
+ *
7
+ * Manages a direct membership of a principal (user, service principal, or group) in an account group. Creating the resource adds the member; deleting it removes the member. Membership is immutable — changing the group or principal replaces the resource. Only directly-assigned, Databricks-managed memberships are managed here; memberships inherited through the identity provider are read-only.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * Example usage:
12
+ *
13
+ * Adds a principal as a direct member of a group. `groupId` and `principalId`
14
+ * are the internal Databricks IDs of the group and the member. Membership is
15
+ * immutable — changing either field replaces the resource.
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const _this = new databricks.AccountIamDirectGroupMemberV2("this", {
22
+ * groupId: 123456789,
23
+ * principalId: "987654321",
24
+ * });
25
+ * ```
26
+ */
27
+ export declare class AccountIamDirectGroupMemberV2 extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing AccountIamDirectGroupMemberV2 resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountIamDirectGroupMemberV2State, opts?: pulumi.CustomResourceOptions): AccountIamDirectGroupMemberV2;
38
+ /**
39
+ * Returns true if the given object is an instance of AccountIamDirectGroupMemberV2. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is AccountIamDirectGroupMemberV2;
43
+ /**
44
+ * (string) - Display name of the principal
45
+ */
46
+ readonly displayName: pulumi.Output<string>;
47
+ /**
48
+ * (string) - The external ID of the principal in Databricks
49
+ */
50
+ readonly externalId: pulumi.Output<string>;
51
+ /**
52
+ * (integer) - The internal ID of the group this member belongs to
53
+ */
54
+ readonly groupId: pulumi.Output<number>;
55
+ /**
56
+ * (string) - The source of group membership (internal or from identity provider). Possible values are: `IDENTITY_PROVIDER`, `INTERNAL`
57
+ */
58
+ readonly membershipSource: pulumi.Output<string>;
59
+ /**
60
+ * Internal ID of the principal in Databricks
61
+ */
62
+ readonly principalId: pulumi.Output<string>;
63
+ /**
64
+ * (string) - The type of the principal (user/service principal/group). Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
65
+ */
66
+ readonly principalType: pulumi.Output<string>;
67
+ /**
68
+ * Create a AccountIamDirectGroupMemberV2 resource with the given unique name, arguments, and options.
69
+ *
70
+ * @param name The _unique_ name of the resource.
71
+ * @param args The arguments to use to populate this resource's properties.
72
+ * @param opts A bag of options that control this resource's behavior.
73
+ */
74
+ constructor(name: string, args: AccountIamDirectGroupMemberV2Args, opts?: pulumi.CustomResourceOptions);
75
+ }
76
+ /**
77
+ * Input properties used for looking up and filtering AccountIamDirectGroupMemberV2 resources.
78
+ */
79
+ export interface AccountIamDirectGroupMemberV2State {
80
+ /**
81
+ * (string) - Display name of the principal
82
+ */
83
+ displayName?: pulumi.Input<string | undefined>;
84
+ /**
85
+ * (string) - The external ID of the principal in Databricks
86
+ */
87
+ externalId?: pulumi.Input<string | undefined>;
88
+ /**
89
+ * (integer) - The internal ID of the group this member belongs to
90
+ */
91
+ groupId?: pulumi.Input<number | undefined>;
92
+ /**
93
+ * (string) - The source of group membership (internal or from identity provider). Possible values are: `IDENTITY_PROVIDER`, `INTERNAL`
94
+ */
95
+ membershipSource?: pulumi.Input<string | undefined>;
96
+ /**
97
+ * Internal ID of the principal in Databricks
98
+ */
99
+ principalId?: pulumi.Input<string | undefined>;
100
+ /**
101
+ * (string) - The type of the principal (user/service principal/group). Possible values are: `GROUP`, `SERVICE_PRINCIPAL`, `USER`
102
+ */
103
+ principalType?: pulumi.Input<string | undefined>;
104
+ }
105
+ /**
106
+ * The set of arguments for constructing a AccountIamDirectGroupMemberV2 resource.
107
+ */
108
+ export interface AccountIamDirectGroupMemberV2Args {
109
+ /**
110
+ * (integer) - The internal ID of the group this member belongs to
111
+ */
112
+ groupId?: pulumi.Input<number | undefined>;
113
+ /**
114
+ * Internal ID of the principal in Databricks
115
+ */
116
+ principalId: pulumi.Input<string>;
117
+ }
118
+ //# sourceMappingURL=accountIamDirectGroupMemberV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountIamDirectGroupMemberV2.d.ts","sourceRoot":"","sources":["../accountIamDirectGroupMemberV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;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AAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACpD;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC/C;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CACpD;AAED;;GAEG;AACH,MAAM,WAAW,iCAAiC;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,CAAC;CACrC"}
@@ -0,0 +1,110 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AccountIamDirectGroupMemberV2 = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
+ *
34
+ * [API Documentation](https://docs.databricks.com/api/account/iamv2)
35
+ *
36
+ * Manages a direct membership of a principal (user, service principal, or group) in an account group. Creating the resource adds the member; deleting it removes the member. Membership is immutable — changing the group or principal replaces the resource. Only directly-assigned, Databricks-managed memberships are managed here; memberships inherited through the identity provider are read-only.
37
+ *
38
+ * ## Example Usage
39
+ *
40
+ * Example usage:
41
+ *
42
+ * Adds a principal as a direct member of a group. `groupId` and `principalId`
43
+ * are the internal Databricks IDs of the group and the member. Membership is
44
+ * immutable — changing either field replaces the resource.
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as databricks from "@pulumi/databricks";
49
+ *
50
+ * const _this = new databricks.AccountIamDirectGroupMemberV2("this", {
51
+ * groupId: 123456789,
52
+ * principalId: "987654321",
53
+ * });
54
+ * ```
55
+ */
56
+ class AccountIamDirectGroupMemberV2 extends pulumi.CustomResource {
57
+ /**
58
+ * Get an existing AccountIamDirectGroupMemberV2 resource's state with the given name, ID, and optional extra
59
+ * properties used to qualify the lookup.
60
+ *
61
+ * @param name The _unique_ name of the resulting resource.
62
+ * @param id The _unique_ provider ID of the resource to lookup.
63
+ * @param state Any extra arguments used during the lookup.
64
+ * @param opts Optional settings to control the behavior of the CustomResource.
65
+ */
66
+ static get(name, id, state, opts) {
67
+ return new AccountIamDirectGroupMemberV2(name, state, { ...opts, id: id });
68
+ }
69
+ /** @internal */
70
+ static __pulumiType = 'databricks:index/accountIamDirectGroupMemberV2:AccountIamDirectGroupMemberV2';
71
+ /**
72
+ * Returns true if the given object is an instance of AccountIamDirectGroupMemberV2. This is designed to work even
73
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
74
+ */
75
+ static isInstance(obj) {
76
+ if (obj === undefined || obj === null) {
77
+ return false;
78
+ }
79
+ return obj['__pulumiType'] === AccountIamDirectGroupMemberV2.__pulumiType;
80
+ }
81
+ constructor(name, argsOrState, opts) {
82
+ let resourceInputs = {};
83
+ opts = opts || {};
84
+ if (opts.id) {
85
+ const state = argsOrState;
86
+ resourceInputs["displayName"] = state?.displayName;
87
+ resourceInputs["externalId"] = state?.externalId;
88
+ resourceInputs["groupId"] = state?.groupId;
89
+ resourceInputs["membershipSource"] = state?.membershipSource;
90
+ resourceInputs["principalId"] = state?.principalId;
91
+ resourceInputs["principalType"] = state?.principalType;
92
+ }
93
+ else {
94
+ const args = argsOrState;
95
+ if (args?.principalId === undefined && !opts.urn) {
96
+ throw new Error("Missing required property 'principalId'");
97
+ }
98
+ resourceInputs["groupId"] = args?.groupId;
99
+ resourceInputs["principalId"] = args?.principalId;
100
+ resourceInputs["displayName"] = undefined /*out*/;
101
+ resourceInputs["externalId"] = undefined /*out*/;
102
+ resourceInputs["membershipSource"] = undefined /*out*/;
103
+ resourceInputs["principalType"] = undefined /*out*/;
104
+ }
105
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
106
+ super(AccountIamDirectGroupMemberV2.__pulumiType, name, resourceInputs, opts);
107
+ }
108
+ }
109
+ exports.AccountIamDirectGroupMemberV2 = AccountIamDirectGroupMemberV2;
110
+ //# sourceMappingURL=accountIamDirectGroupMemberV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountIamDirectGroupMemberV2.js","sourceRoot":"","sources":["../accountIamDirectGroupMemberV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;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I,CAAC,IAAI,CAAC,GAAG,EAAE;gBAC9C,MAAM,IAAI,KAAK,CAAC,yCAAyC,CAAC,CAAC;aAC9D;YACD,cAAc,CAAC,SAAS,CAAC,GAAG,IAAI,EAAE,OAAO,CAAC;YAC1C,cAAc,CAAC,aAAa,CAAC,GAAG,IAAI,EAAE,WAAW,CAAC;YAClD,cAAc,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YAClD,cAAc,CAAC,YAAY,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACjD,cAAc,CAAC,kBAAkB,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;YACvD,cAAc,CAAC,eAAe,CAAC,GAAG,SAAS,CAAC,OAAO,CAAC;SACvD;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,6BAA6B,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAClF,CAAC;;AAtFL,sEAuFC"}
@@ -0,0 +1,99 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
4
+ *
5
+ * [API Documentation](https://docs.databricks.com/api/account/iamv2)
6
+ *
7
+ * Manages an account-level group. Creating the resource creates the group; deleting it removes the group.
8
+ *
9
+ * When Automatic Identity Management (AIM) is enabled for the account, this resource manages local groups only: a group cannot be created with `externalId` set. Groups that already have an `externalId` can still be read through this resource, but only their `externalId` may be updated — their other fields are sourced from the identity provider.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Example usage:
14
+ *
15
+ * Creates an account-level group. When AIM is enabled, the group cannot be created with `externalId` set.
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const _this = new databricks.AccountIamGroupV2("this", {groupName: "data-engineers"});
22
+ * ```
23
+ */
24
+ export declare class AccountIamGroupV2 extends pulumi.CustomResource {
25
+ /**
26
+ * Get an existing AccountIamGroupV2 resource's state with the given name, ID, and optional extra
27
+ * properties used to qualify the lookup.
28
+ *
29
+ * @param name The _unique_ name of the resulting resource.
30
+ * @param id The _unique_ provider ID of the resource to lookup.
31
+ * @param state Any extra arguments used during the lookup.
32
+ * @param opts Optional settings to control the behavior of the CustomResource.
33
+ */
34
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountIamGroupV2State, opts?: pulumi.CustomResourceOptions): AccountIamGroupV2;
35
+ /**
36
+ * Returns true if the given object is an instance of AccountIamGroupV2. This is designed to work even
37
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
38
+ */
39
+ static isInstance(obj: any): obj is AccountIamGroupV2;
40
+ /**
41
+ * (string) - The parent account ID for group in Databricks
42
+ */
43
+ readonly accountId: pulumi.Output<string>;
44
+ /**
45
+ * ExternalId of the group in the customer's IdP
46
+ */
47
+ readonly externalId: pulumi.Output<string | undefined>;
48
+ /**
49
+ * (string) - Internal group ID of the group in Databricks
50
+ */
51
+ readonly groupId: pulumi.Output<string>;
52
+ /**
53
+ * Display name of the group
54
+ */
55
+ readonly groupName: pulumi.Output<string | undefined>;
56
+ /**
57
+ * Create a AccountIamGroupV2 resource with the given unique name, arguments, and options.
58
+ *
59
+ * @param name The _unique_ name of the resource.
60
+ * @param args The arguments to use to populate this resource's properties.
61
+ * @param opts A bag of options that control this resource's behavior.
62
+ */
63
+ constructor(name: string, args?: AccountIamGroupV2Args, opts?: pulumi.CustomResourceOptions);
64
+ }
65
+ /**
66
+ * Input properties used for looking up and filtering AccountIamGroupV2 resources.
67
+ */
68
+ export interface AccountIamGroupV2State {
69
+ /**
70
+ * (string) - The parent account ID for group in Databricks
71
+ */
72
+ accountId?: pulumi.Input<string | undefined>;
73
+ /**
74
+ * ExternalId of the group in the customer's IdP
75
+ */
76
+ externalId?: pulumi.Input<string | undefined>;
77
+ /**
78
+ * (string) - Internal group ID of the group in Databricks
79
+ */
80
+ groupId?: pulumi.Input<string | undefined>;
81
+ /**
82
+ * Display name of the group
83
+ */
84
+ groupName?: pulumi.Input<string | undefined>;
85
+ }
86
+ /**
87
+ * The set of arguments for constructing a AccountIamGroupV2 resource.
88
+ */
89
+ export interface AccountIamGroupV2Args {
90
+ /**
91
+ * ExternalId of the group in the customer's IdP
92
+ */
93
+ externalId?: pulumi.Input<string | undefined>;
94
+ /**
95
+ * Display name of the group
96
+ */
97
+ groupName?: pulumi.Input<string | undefined>;
98
+ }
99
+ //# sourceMappingURL=accountIamGroupV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountIamGroupV2.d.ts","sourceRoot":"","sources":["../accountIamGroupV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,qBAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,sBAAsB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB,GAAG,iBAAiB;IAOpJ;;;OAGG;WACW,UAAU,CAAC,GAAG,EAAE,GAAG,GAAG,GAAG,IAAI,iBAAiB;IAO5D;;OAEG;IACH,SAAgC,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IACjE;;OAEG;IACH,SAAwB,UAAU,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IACtE;;OAEG;IACH,SAAgC,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAC/D;;OAEG;IACH,SAAwB,SAAS,EAAE,MAAM,CAAC,MAAM,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAErE;;;;;;OAMG;gBACS,IAAI,EAAE,MAAM,EAAE,IAAI,CAAC,EAAE,qBAAqB,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAqB;CAoB9F;AAED;;GAEG;AACH,MAAM,WAAW,sBAAsB;IACnC;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC3C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IAClC;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;IAC9C;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,GAAG,SAAS,CAAC,CAAC;CAChD"}
@@ -0,0 +1,100 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by pulumi-language-nodejs. ***
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
+ var desc = Object.getOwnPropertyDescriptor(m, k);
7
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
8
+ desc = { enumerable: true, get: function() { return m[k]; } };
9
+ }
10
+ Object.defineProperty(o, k2, desc);
11
+ }) : (function(o, m, k, k2) {
12
+ if (k2 === undefined) k2 = k;
13
+ o[k2] = m[k];
14
+ }));
15
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
16
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
17
+ }) : function(o, v) {
18
+ o["default"] = v;
19
+ });
20
+ var __importStar = (this && this.__importStar) || function (mod) {
21
+ if (mod && mod.__esModule) return mod;
22
+ var result = {};
23
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
24
+ __setModuleDefault(result, mod);
25
+ return result;
26
+ };
27
+ Object.defineProperty(exports, "__esModule", { value: true });
28
+ exports.AccountIamGroupV2 = void 0;
29
+ const pulumi = __importStar(require("@pulumi/pulumi"));
30
+ const utilities = __importStar(require("./utilities"));
31
+ /**
32
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
33
+ *
34
+ * [API Documentation](https://docs.databricks.com/api/account/iamv2)
35
+ *
36
+ * Manages an account-level group. Creating the resource creates the group; deleting it removes the group.
37
+ *
38
+ * When Automatic Identity Management (AIM) is enabled for the account, this resource manages local groups only: a group cannot be created with `externalId` set. Groups that already have an `externalId` can still be read through this resource, but only their `externalId` may be updated — their other fields are sourced from the identity provider.
39
+ *
40
+ * ## Example Usage
41
+ *
42
+ * Example usage:
43
+ *
44
+ * Creates an account-level group. When AIM is enabled, the group cannot be created with `externalId` set.
45
+ *
46
+ * ```typescript
47
+ * import * as pulumi from "@pulumi/pulumi";
48
+ * import * as databricks from "@pulumi/databricks";
49
+ *
50
+ * const _this = new databricks.AccountIamGroupV2("this", {groupName: "data-engineers"});
51
+ * ```
52
+ */
53
+ class AccountIamGroupV2 extends pulumi.CustomResource {
54
+ /**
55
+ * Get an existing AccountIamGroupV2 resource's state with the given name, ID, and optional extra
56
+ * properties used to qualify the lookup.
57
+ *
58
+ * @param name The _unique_ name of the resulting resource.
59
+ * @param id The _unique_ provider ID of the resource to lookup.
60
+ * @param state Any extra arguments used during the lookup.
61
+ * @param opts Optional settings to control the behavior of the CustomResource.
62
+ */
63
+ static get(name, id, state, opts) {
64
+ return new AccountIamGroupV2(name, state, { ...opts, id: id });
65
+ }
66
+ /** @internal */
67
+ static __pulumiType = 'databricks:index/accountIamGroupV2:AccountIamGroupV2';
68
+ /**
69
+ * Returns true if the given object is an instance of AccountIamGroupV2. This is designed to work even
70
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
71
+ */
72
+ static isInstance(obj) {
73
+ if (obj === undefined || obj === null) {
74
+ return false;
75
+ }
76
+ return obj['__pulumiType'] === AccountIamGroupV2.__pulumiType;
77
+ }
78
+ constructor(name, argsOrState, opts) {
79
+ let resourceInputs = {};
80
+ opts = opts || {};
81
+ if (opts.id) {
82
+ const state = argsOrState;
83
+ resourceInputs["accountId"] = state?.accountId;
84
+ resourceInputs["externalId"] = state?.externalId;
85
+ resourceInputs["groupId"] = state?.groupId;
86
+ resourceInputs["groupName"] = state?.groupName;
87
+ }
88
+ else {
89
+ const args = argsOrState;
90
+ resourceInputs["externalId"] = args?.externalId;
91
+ resourceInputs["groupName"] = args?.groupName;
92
+ resourceInputs["accountId"] = undefined /*out*/;
93
+ resourceInputs["groupId"] = undefined /*out*/;
94
+ }
95
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts);
96
+ super(AccountIamGroupV2.__pulumiType, name, resourceInputs, opts);
97
+ }
98
+ }
99
+ exports.AccountIamGroupV2 = AccountIamGroupV2;
100
+ //# sourceMappingURL=accountIamGroupV2.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountIamGroupV2.js","sourceRoot":"","sources":["../accountIamGroupV2.ts"],"names":[],"mappings":";AAAA,sEAAsE;AACtE,iFAAiF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEjF,uDAAyC;AACzC,uDAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,MAAa,iBAAkB,SAAQ,MAAM,CAAC,cAAc;IACxD;;;;;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ACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,iBAAiB,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IACtE,CAAC;;AAvEL,8CAwEC"}
@@ -0,0 +1,129 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ /**
3
+ * [![Private Preview](https://img.shields.io/badge/Release_Stage-Private_Preview-blueviolet)](https://docs.databricks.com/aws/en/release-notes/release-types)
4
+ *
5
+ * [API Documentation](https://docs.databricks.com/api/account/iamv2)
6
+ *
7
+ * Manages an account-level service principal. Creating the resource provisions the service principal; deleting it removes the service principal. `applicationId` is immutable — changing it replaces the resource.
8
+ *
9
+ * When Automatic Identity Management (AIM) is enabled for the account, this resource manages local service principals only: a service principal cannot be created with `externalId` set. Service principals that already have an `externalId` can still be read through this resource, but only their `externalId` may be updated — their other fields are sourced from the identity provider.
10
+ *
11
+ * ## Example Usage
12
+ *
13
+ * Example usage:
14
+ *
15
+ * Creates an account-level service principal. When AIM is enabled, the service principal cannot be created with `externalId` set.
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const _this = new databricks.AccountIamServicePrincipalV2("this", {
22
+ * displayName: "ci-runner",
23
+ * accountSpStatus: "ACTIVE",
24
+ * });
25
+ * ```
26
+ */
27
+ export declare class AccountIamServicePrincipalV2 extends pulumi.CustomResource {
28
+ /**
29
+ * Get an existing AccountIamServicePrincipalV2 resource's state with the given name, ID, and optional extra
30
+ * properties used to qualify the lookup.
31
+ *
32
+ * @param name The _unique_ name of the resulting resource.
33
+ * @param id The _unique_ provider ID of the resource to lookup.
34
+ * @param state Any extra arguments used during the lookup.
35
+ * @param opts Optional settings to control the behavior of the CustomResource.
36
+ */
37
+ static get(name: string, id: pulumi.Input<pulumi.ID>, state?: AccountIamServicePrincipalV2State, opts?: pulumi.CustomResourceOptions): AccountIamServicePrincipalV2;
38
+ /**
39
+ * Returns true if the given object is an instance of AccountIamServicePrincipalV2. This is designed to work even
40
+ * when multiple copies of the Pulumi SDK have been loaded into the same process.
41
+ */
42
+ static isInstance(obj: any): obj is AccountIamServicePrincipalV2;
43
+ /**
44
+ * (string) - The parent account ID for the service principal in Databricks
45
+ */
46
+ readonly accountId: pulumi.Output<string>;
47
+ /**
48
+ * The activity status of a service principal in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
49
+ */
50
+ readonly accountSpStatus: pulumi.Output<string>;
51
+ /**
52
+ * (string) - Application ID of the service principal. Set at creation time and cannot be changed
53
+ * afterwards; when omitted, the server generates one
54
+ */
55
+ readonly applicationId: pulumi.Output<string>;
56
+ /**
57
+ * Display name of the service principal
58
+ */
59
+ readonly displayName: pulumi.Output<string>;
60
+ /**
61
+ * ExternalId of the service principal in the customer's IdP
62
+ */
63
+ readonly externalId: pulumi.Output<string | undefined>;
64
+ /**
65
+ * (string) - Internal service principal ID of the service principal in Databricks
66
+ */
67
+ readonly servicePrincipalId: pulumi.Output<string>;
68
+ /**
69
+ * Create a AccountIamServicePrincipalV2 resource with the given unique name, arguments, and options.
70
+ *
71
+ * @param name The _unique_ name of the resource.
72
+ * @param args The arguments to use to populate this resource's properties.
73
+ * @param opts A bag of options that control this resource's behavior.
74
+ */
75
+ constructor(name: string, args: AccountIamServicePrincipalV2Args, opts?: pulumi.CustomResourceOptions);
76
+ }
77
+ /**
78
+ * Input properties used for looking up and filtering AccountIamServicePrincipalV2 resources.
79
+ */
80
+ export interface AccountIamServicePrincipalV2State {
81
+ /**
82
+ * (string) - The parent account ID for the service principal in Databricks
83
+ */
84
+ accountId?: pulumi.Input<string | undefined>;
85
+ /**
86
+ * The activity status of a service principal in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
87
+ */
88
+ accountSpStatus?: pulumi.Input<string | undefined>;
89
+ /**
90
+ * (string) - Application ID of the service principal. Set at creation time and cannot be changed
91
+ * afterwards; when omitted, the server generates one
92
+ */
93
+ applicationId?: pulumi.Input<string | undefined>;
94
+ /**
95
+ * Display name of the service principal
96
+ */
97
+ displayName?: pulumi.Input<string | undefined>;
98
+ /**
99
+ * ExternalId of the service principal in the customer's IdP
100
+ */
101
+ externalId?: pulumi.Input<string | undefined>;
102
+ /**
103
+ * (string) - Internal service principal ID of the service principal in Databricks
104
+ */
105
+ servicePrincipalId?: pulumi.Input<string | undefined>;
106
+ }
107
+ /**
108
+ * The set of arguments for constructing a AccountIamServicePrincipalV2 resource.
109
+ */
110
+ export interface AccountIamServicePrincipalV2Args {
111
+ /**
112
+ * The activity status of a service principal in a Databricks account. Possible values are: `ACTIVE`, `INACTIVE`
113
+ */
114
+ accountSpStatus: pulumi.Input<string>;
115
+ /**
116
+ * (string) - Application ID of the service principal. Set at creation time and cannot be changed
117
+ * afterwards; when omitted, the server generates one
118
+ */
119
+ applicationId?: pulumi.Input<string | undefined>;
120
+ /**
121
+ * Display name of the service principal
122
+ */
123
+ displayName: pulumi.Input<string>;
124
+ /**
125
+ * ExternalId of the service principal in the customer's IdP
126
+ */
127
+ externalId?: pulumi.Input<string | undefined>;
128
+ }
129
+ //# sourceMappingURL=accountIamServicePrincipalV2.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"accountIamServicePrincipalV2.d.ts","sourceRoot":"","sources":["../accountIamServicePrincipalV2.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,MAAM,MAAM,gBAAgB,CAAC;AAGzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,qBAAa,4BAA6B,SAAQ,MAAM,CAAC,cAAc;IACnE;;;;;;;;OAQG;WACW,GAAG,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,CAAC,EAAE,CAAC,EAAE,KAAK,CAAC,EAAE,iCAAiC,EAAE,IAAI,CAAC,EAAE,MAAM,CAAC,qBAAq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