@pulumi/databricks 1.57.0-alpha.1735882258 → 1.57.0-alpha.1735924227

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 (92) hide show
  1. package/app.d.ts +187 -0
  2. package/app.js +106 -0
  3. package/app.js.map +1 -0
  4. package/cluster.d.ts +9 -0
  5. package/cluster.js +6 -0
  6. package/cluster.js.map +1 -1
  7. package/credential.d.ts +275 -0
  8. package/credential.js +183 -0
  9. package/credential.js.map +1 -0
  10. package/getApp.d.ts +95 -0
  11. package/getApp.js +78 -0
  12. package/getApp.js.map +1 -0
  13. package/getApps.d.ts +66 -0
  14. package/getApps.js +70 -0
  15. package/getApps.js.map +1 -0
  16. package/getAwsAssumeRolePolicy.d.ts +18 -0
  17. package/getAwsAssumeRolePolicy.js +2 -0
  18. package/getAwsAssumeRolePolicy.js.map +1 -1
  19. package/getAwsBucketPolicy.d.ts +18 -0
  20. package/getAwsBucketPolicy.js +2 -0
  21. package/getAwsBucketPolicy.js.map +1 -1
  22. package/getAwsCrossAccountPolicy.d.ts +9 -0
  23. package/getAwsCrossAccountPolicy.js +2 -0
  24. package/getAwsCrossAccountPolicy.js.map +1 -1
  25. package/getAwsUnityCatalogAssumeRolePolicy.d.ts +11 -2
  26. package/getAwsUnityCatalogAssumeRolePolicy.js +2 -0
  27. package/getAwsUnityCatalogAssumeRolePolicy.js.map +1 -1
  28. package/getAwsUnityCatalogPolicy.d.ts +9 -0
  29. package/getAwsUnityCatalogPolicy.js +2 -0
  30. package/getAwsUnityCatalogPolicy.js.map +1 -1
  31. package/getFunctions.d.ts +1 -1
  32. package/getJobs.d.ts +15 -0
  33. package/getJobs.js +8 -0
  34. package/getJobs.js.map +1 -1
  35. package/getMwsNetworkConnectivityConfig.d.ts +160 -0
  36. package/getMwsNetworkConnectivityConfig.js +86 -0
  37. package/getMwsNetworkConnectivityConfig.js.map +1 -0
  38. package/getMwsNetworkConnectivityConfigs.d.ts +115 -0
  39. package/getMwsNetworkConnectivityConfigs.js +98 -0
  40. package/getMwsNetworkConnectivityConfigs.js.map +1 -0
  41. package/getNotificationDestinations.d.ts +1 -10
  42. package/getNotificationDestinations.js +0 -2
  43. package/getNotificationDestinations.js.map +1 -1
  44. package/getRegisteredModel.d.ts +1 -1
  45. package/getRegisteredModelVersions.d.ts +98 -0
  46. package/getRegisteredModelVersions.js +74 -0
  47. package/getRegisteredModelVersions.js.map +1 -0
  48. package/getServingEndpoints.d.ts +116 -0
  49. package/getServingEndpoints.js +104 -0
  50. package/getServingEndpoints.js.map +1 -0
  51. package/grant.d.ts +26 -0
  52. package/grant.js +25 -0
  53. package/grant.js.map +1 -1
  54. package/grants.d.ts +29 -1
  55. package/grants.js +28 -1
  56. package/grants.js.map +1 -1
  57. package/index.d.ts +24 -0
  58. package/index.js +33 -5
  59. package/index.js.map +1 -1
  60. package/mwsCustomerManagedKeys.d.ts +11 -1
  61. package/mwsCustomerManagedKeys.js +11 -1
  62. package/mwsCustomerManagedKeys.js.map +1 -1
  63. package/mwsNccPrivateEndpointRule.d.ts +3 -3
  64. package/mwsNetworks.d.ts +11 -1
  65. package/mwsNetworks.js +11 -1
  66. package/mwsNetworks.js.map +1 -1
  67. package/mwsPrivateAccessSettings.d.ts +5 -1
  68. package/mwsPrivateAccessSettings.js +5 -1
  69. package/mwsPrivateAccessSettings.js.map +1 -1
  70. package/mwsStorageConfigurations.d.ts +11 -1
  71. package/mwsStorageConfigurations.js +11 -1
  72. package/mwsStorageConfigurations.js.map +1 -1
  73. package/mwsWorkspaces.d.ts +21 -1
  74. package/mwsWorkspaces.js +21 -1
  75. package/mwsWorkspaces.js.map +1 -1
  76. package/notificationDestination.d.ts +10 -0
  77. package/notificationDestination.js +10 -0
  78. package/notificationDestination.js.map +1 -1
  79. package/package.json +2 -2
  80. package/permissions.d.ts +36 -0
  81. package/permissions.js +34 -0
  82. package/permissions.js.map +1 -1
  83. package/query.d.ts +3 -3
  84. package/storageCredential.d.ts +3 -1
  85. package/storageCredential.js +3 -1
  86. package/storageCredential.js.map +1 -1
  87. package/types/input.d.ts +1037 -72
  88. package/types/output.d.ts +1100 -62
  89. package/workspaceBinding.d.ts +4 -4
  90. package/workspaceBinding.js +1 -1
  91. package/workspaceConf.d.ts +1 -1
  92. package/workspaceConf.js +1 -1
package/getApps.d.ts ADDED
@@ -0,0 +1,66 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as outputs from "./types/output";
3
+ /**
4
+ * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
5
+ *
6
+ * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
7
+ *
8
+ * This data source allows you to fetch information about all Databricks Apps within a workspace.
9
+ *
10
+ * ## Example Usage
11
+ *
12
+ * ```typescript
13
+ * import * as pulumi from "@pulumi/pulumi";
14
+ * import * as databricks from "@pulumi/databricks";
15
+ *
16
+ * const allApps = databricks.getApps({});
17
+ * ```
18
+ *
19
+ * ## Related Resources
20
+ *
21
+ * The following resources are used in the same context:
22
+ *
23
+ * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
24
+ * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
25
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
26
+ * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
27
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
28
+ */
29
+ export declare function getApps(opts?: pulumi.InvokeOptions): Promise<GetAppsResult>;
30
+ /**
31
+ * A collection of values returned by getApps.
32
+ */
33
+ export interface GetAppsResult {
34
+ readonly apps: outputs.GetAppsApp[];
35
+ /**
36
+ * The provider-assigned unique ID for this managed resource.
37
+ */
38
+ readonly id: string;
39
+ }
40
+ /**
41
+ * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
42
+ *
43
+ * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
44
+ *
45
+ * This data source allows you to fetch information about all Databricks Apps within a workspace.
46
+ *
47
+ * ## Example Usage
48
+ *
49
+ * ```typescript
50
+ * import * as pulumi from "@pulumi/pulumi";
51
+ * import * as databricks from "@pulumi/databricks";
52
+ *
53
+ * const allApps = databricks.getApps({});
54
+ * ```
55
+ *
56
+ * ## Related Resources
57
+ *
58
+ * The following resources are used in the same context:
59
+ *
60
+ * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
61
+ * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
62
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
63
+ * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
64
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
65
+ */
66
+ export declare function getAppsOutput(opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetAppsResult>;
package/getApps.js ADDED
@@ -0,0 +1,70 @@
1
+ "use strict";
2
+ // *** WARNING: this file was generated by the Pulumi Terraform Bridge (tfgen) Tool. ***
3
+ // *** Do not edit by hand unless you're certain you know what you are doing! ***
4
+ Object.defineProperty(exports, "__esModule", { value: true });
5
+ exports.getAppsOutput = exports.getApps = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
10
+ *
11
+ * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
12
+ *
13
+ * This data source allows you to fetch information about all Databricks Apps within a workspace.
14
+ *
15
+ * ## Example Usage
16
+ *
17
+ * ```typescript
18
+ * import * as pulumi from "@pulumi/pulumi";
19
+ * import * as databricks from "@pulumi/databricks";
20
+ *
21
+ * const allApps = databricks.getApps({});
22
+ * ```
23
+ *
24
+ * ## Related Resources
25
+ *
26
+ * The following resources are used in the same context:
27
+ *
28
+ * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
29
+ * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
30
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
31
+ * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
32
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
33
+ */
34
+ function getApps(opts) {
35
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
+ return pulumi.runtime.invoke("databricks:index/getApps:getApps", {}, opts);
37
+ }
38
+ exports.getApps = getApps;
39
+ /**
40
+ * > This feature is in [Public Preview](https://docs.databricks.com/release-notes/release-types.html).
41
+ *
42
+ * [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html) run directly on a customer’s Databricks instance, integrate with their data, use and extend Databricks services, and enable users to interact through single sign-on. This resource creates the application but does not handle app deployment, which should be handled separately as part of your CI/CD pipeline.
43
+ *
44
+ * This data source allows you to fetch information about all Databricks Apps within a workspace.
45
+ *
46
+ * ## Example Usage
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as databricks from "@pulumi/databricks";
51
+ *
52
+ * const allApps = databricks.getApps({});
53
+ * ```
54
+ *
55
+ * ## Related Resources
56
+ *
57
+ * The following resources are used in the same context:
58
+ *
59
+ * * databricks.App to manage [Databricks Apps](https://docs.databricks.com/en/dev-tools/databricks-apps/index.html).
60
+ * * databricks.SqlEndpoint to manage Databricks SQL [Endpoints](https://docs.databricks.com/sql/admin/sql-endpoints.html).
61
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
62
+ * * databricks.Secret to manage [secrets](https://docs.databricks.com/security/secrets/index.html#secrets-user-guide) in Databricks workspace.
63
+ * * databricks.Job to manage [Databricks Jobs](https://docs.databricks.com/jobs.html) to run non-interactive code.
64
+ */
65
+ function getAppsOutput(opts) {
66
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
67
+ return pulumi.runtime.invokeOutput("databricks:index/getApps:getApps", {}, opts);
68
+ }
69
+ exports.getAppsOutput = getAppsOutput;
70
+ //# sourceMappingURL=getApps.js.map
package/getApps.js.map ADDED
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getApps.js","sourceRoot":"","sources":["../getApps.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,OAAO,CAAC,IAA2B;IAC/C,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE,EAChE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,0BAIC;AAYD;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,SAAgB,aAAa,CAAC,IAAiC;IAC3D,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,kCAAkC,EAAE,EACtE,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAJD,sCAIC"}
@@ -52,6 +52,13 @@ export declare function getAwsAssumeRolePolicy(args: GetAwsAssumeRolePolicyArgs,
52
52
  * A collection of arguments for invoking getAwsAssumeRolePolicy.
53
53
  */
54
54
  export interface GetAwsAssumeRolePolicyArgs {
55
+ /**
56
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
57
+ */
58
+ awsPartition?: string;
59
+ /**
60
+ * @deprecated databricks_account_id will be will be removed in the next major release.
61
+ */
55
62
  databricksAccountId?: string;
56
63
  /**
57
64
  * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
@@ -66,6 +73,10 @@ export interface GetAwsAssumeRolePolicyArgs {
66
73
  * A collection of values returned by getAwsAssumeRolePolicy.
67
74
  */
68
75
  export interface GetAwsAssumeRolePolicyResult {
76
+ readonly awsPartition?: string;
77
+ /**
78
+ * @deprecated databricks_account_id will be will be removed in the next major release.
79
+ */
69
80
  readonly databricksAccountId?: string;
70
81
  readonly externalId: string;
71
82
  readonly forLogDelivery?: boolean;
@@ -131,6 +142,13 @@ export declare function getAwsAssumeRolePolicyOutput(args: GetAwsAssumeRolePolic
131
142
  * A collection of arguments for invoking getAwsAssumeRolePolicy.
132
143
  */
133
144
  export interface GetAwsAssumeRolePolicyOutputArgs {
145
+ /**
146
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
147
+ */
148
+ awsPartition?: pulumi.Input<string>;
149
+ /**
150
+ * @deprecated databricks_account_id will be will be removed in the next major release.
151
+ */
134
152
  databricksAccountId?: pulumi.Input<string>;
135
153
  /**
136
154
  * Account Id that could be found in the top right corner of [Accounts Console](https://accounts.cloud.databricks.com/).
@@ -56,6 +56,7 @@ const utilities = require("./utilities");
56
56
  function getAwsAssumeRolePolicy(args, opts) {
57
57
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
58
58
  return pulumi.runtime.invoke("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", {
59
+ "awsPartition": args.awsPartition,
59
60
  "databricksAccountId": args.databricksAccountId,
60
61
  "externalId": args.externalId,
61
62
  "forLogDelivery": args.forLogDelivery,
@@ -113,6 +114,7 @@ exports.getAwsAssumeRolePolicy = getAwsAssumeRolePolicy;
113
114
  function getAwsAssumeRolePolicyOutput(args, opts) {
114
115
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
115
116
  return pulumi.runtime.invokeOutput("databricks:index/getAwsAssumeRolePolicy:getAwsAssumeRolePolicy", {
117
+ "awsPartition": args.awsPartition,
116
118
  "databricksAccountId": args.databricksAccountId,
117
119
  "externalId": args.externalId,
118
120
  "forLogDelivery": args.forLogDelivery,
@@ -1 +1 @@
1
- {"version":3,"file":"getAwsAssumeRolePolicy.js","sourceRoot":"","sources":["../getAwsAssumeRolePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA+CG;AACH,SAAgB,sBAAsB,CAAC,IAAgC,EAAE,IAA2B;IAChG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,gEAAgE,EAAE;QAC3F,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAPD,wDAOC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,gEAAgE,EAAE;QACjG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AARD,oEAQC"}
@@ -29,10 +29,17 @@ export declare function getAwsBucketPolicy(args: GetAwsBucketPolicyArgs, opts?:
29
29
  * A collection of arguments for invoking getAwsBucketPolicy.
30
30
  */
31
31
  export interface GetAwsBucketPolicyArgs {
32
+ /**
33
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
34
+ */
35
+ awsPartition?: string;
32
36
  /**
33
37
  * AWS S3 Bucket name for which to generate the policy document.
34
38
  */
35
39
  bucket: string;
40
+ /**
41
+ * @deprecated databricks_account_id will be will be removed in the next major release.
42
+ */
36
43
  databricksAccountId?: string;
37
44
  /**
38
45
  * Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket
@@ -47,7 +54,11 @@ export interface GetAwsBucketPolicyArgs {
47
54
  * A collection of values returned by getAwsBucketPolicy.
48
55
  */
49
56
  export interface GetAwsBucketPolicyResult {
57
+ readonly awsPartition?: string;
50
58
  readonly bucket: string;
59
+ /**
60
+ * @deprecated databricks_account_id will be will be removed in the next major release.
61
+ */
51
62
  readonly databricksAccountId?: string;
52
63
  readonly databricksE2AccountId?: string;
53
64
  readonly fullAccessRole?: string;
@@ -90,10 +101,17 @@ export declare function getAwsBucketPolicyOutput(args: GetAwsBucketPolicyOutputA
90
101
  * A collection of arguments for invoking getAwsBucketPolicy.
91
102
  */
92
103
  export interface GetAwsBucketPolicyOutputArgs {
104
+ /**
105
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
106
+ */
107
+ awsPartition?: pulumi.Input<string>;
93
108
  /**
94
109
  * AWS S3 Bucket name for which to generate the policy document.
95
110
  */
96
111
  bucket: pulumi.Input<string>;
112
+ /**
113
+ * @deprecated databricks_account_id will be will be removed in the next major release.
114
+ */
97
115
  databricksAccountId?: pulumi.Input<string>;
98
116
  /**
99
117
  * Your Databricks account ID. Used to generate restrictive IAM policies that will increase the security of your root bucket
@@ -33,6 +33,7 @@ const utilities = require("./utilities");
33
33
  function getAwsBucketPolicy(args, opts) {
34
34
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
35
35
  return pulumi.runtime.invoke("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", {
36
+ "awsPartition": args.awsPartition,
36
37
  "bucket": args.bucket,
37
38
  "databricksAccountId": args.databricksAccountId,
38
39
  "databricksE2AccountId": args.databricksE2AccountId,
@@ -68,6 +69,7 @@ exports.getAwsBucketPolicy = getAwsBucketPolicy;
68
69
  function getAwsBucketPolicyOutput(args, opts) {
69
70
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
70
71
  return pulumi.runtime.invokeOutput("databricks:index/getAwsBucketPolicy:getAwsBucketPolicy", {
72
+ "awsPartition": args.awsPartition,
71
73
  "bucket": args.bucket,
72
74
  "databricksAccountId": args.databricksAccountId,
73
75
  "databricksE2AccountId": args.databricksE2AccountId,
@@ -1 +1 @@
1
- {"version":3,"file":"getAwsBucketPolicy.js","sourceRoot":"","sources":["../getAwsBucketPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,kBAAkB,CAAC,IAA4B,EAAE,IAA2B;IACxF,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wDAAwD,EAAE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,qBAAqB;QACnD,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,gDASC;AAiDD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAAiC;IAC1G,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wDAAwD,EAAE;QACzF,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,qBAAqB,EAAE,IAAI,CAAC,mBAAmB;QAC/C,uBAAuB,EAAE,IAAI,CAAC,qBAAqB;QACnD,gBAAgB,EAAE,IAAI,CAAC,cAAc;KACxC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4DASC"}
@@ -33,6 +33,10 @@ export interface GetAwsCrossAccountPolicyArgs {
33
33
  * — Your AWS account ID, which is a number.
34
34
  */
35
35
  awsAccountId?: string;
36
+ /**
37
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
38
+ */
39
+ awsPartition?: string;
36
40
  /**
37
41
  * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action.
38
42
  * The below arguments are only valid for `restricted` policy type
@@ -60,6 +64,7 @@ export interface GetAwsCrossAccountPolicyArgs {
60
64
  */
61
65
  export interface GetAwsCrossAccountPolicyResult {
62
66
  readonly awsAccountId?: string;
67
+ readonly awsPartition?: string;
63
68
  /**
64
69
  * The provider-assigned unique ID for this managed resource.
65
70
  */
@@ -108,6 +113,10 @@ export interface GetAwsCrossAccountPolicyOutputArgs {
108
113
  * — Your AWS account ID, which is a number.
109
114
  */
110
115
  awsAccountId?: pulumi.Input<string>;
116
+ /**
117
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
118
+ */
119
+ awsPartition?: pulumi.Input<string>;
111
120
  /**
112
121
  * List of Data IAM role ARNs that are explicitly granted `iam:PassRole` action.
113
122
  * The below arguments are only valid for `restricted` policy type
@@ -35,6 +35,7 @@ function getAwsCrossAccountPolicy(args, opts) {
35
35
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
36
36
  return pulumi.runtime.invoke("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", {
37
37
  "awsAccountId": args.awsAccountId,
38
+ "awsPartition": args.awsPartition,
38
39
  "passRoles": args.passRoles,
39
40
  "policyType": args.policyType,
40
41
  "region": args.region,
@@ -73,6 +74,7 @@ function getAwsCrossAccountPolicyOutput(args, opts) {
73
74
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
74
75
  return pulumi.runtime.invokeOutput("databricks:index/getAwsCrossAccountPolicy:getAwsCrossAccountPolicy", {
75
76
  "awsAccountId": args.awsAccountId,
77
+ "awsPartition": args.awsPartition,
76
78
  "passRoles": args.passRoles,
77
79
  "policyType": args.policyType,
78
80
  "region": args.region,
@@ -1 +1 @@
1
- {"version":3,"file":"getAwsCrossAccountPolicy.js","sourceRoot":"","sources":["../getAwsCrossAccountPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,wBAAwB,CAAC,IAAmC,EAAE,IAA2B;IACrG,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI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,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,4DAYC;AAyDD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,8BAA8B,CAAC,IAAyC,EAAE,IAAiC;IACvH,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,WAAW,EAAE,IAAI,CAAC,SAAS;QAC3B,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,QAAQ,EAAE,IAAI,CAAC,MAAM;QACrB,iBAAiB,EAAE,IAAI,CAAC,eAAe;QACvC,OAAO,EAAE,IAAI,CAAC,KAAK;KACtB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAZD,wEAYC"}
@@ -42,6 +42,10 @@ export interface GetAwsUnityCatalogAssumeRolePolicyArgs {
42
42
  * The Account ID of the current AWS account (not your Databricks account).
43
43
  */
44
44
  awsAccountId: string;
45
+ /**
46
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
47
+ */
48
+ awsPartition?: string;
45
49
  /**
46
50
  * The storage credential external id.
47
51
  */
@@ -51,7 +55,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyArgs {
51
55
  */
52
56
  roleName: string;
53
57
  /**
54
- * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL`
58
+ * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection
55
59
  */
56
60
  unityCatalogIamArn?: string;
57
61
  }
@@ -60,6 +64,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyArgs {
60
64
  */
61
65
  export interface GetAwsUnityCatalogAssumeRolePolicyResult {
62
66
  readonly awsAccountId: string;
67
+ readonly awsPartition?: string;
63
68
  readonly externalId: string;
64
69
  readonly id: string;
65
70
  /**
@@ -112,6 +117,10 @@ export interface GetAwsUnityCatalogAssumeRolePolicyOutputArgs {
112
117
  * The Account ID of the current AWS account (not your Databricks account).
113
118
  */
114
119
  awsAccountId: pulumi.Input<string>;
120
+ /**
121
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
122
+ */
123
+ awsPartition?: pulumi.Input<string>;
115
124
  /**
116
125
  * The storage credential external id.
117
126
  */
@@ -121,7 +130,7 @@ export interface GetAwsUnityCatalogAssumeRolePolicyOutputArgs {
121
130
  */
122
131
  roleName: pulumi.Input<string>;
123
132
  /**
124
- * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL`
133
+ * The Databricks Unity Catalog IAM Role ARN. Defaults to `arn:aws:iam::414351767826:role/unity-catalog-prod-UCMasterRole-14S5ZJVKOTYTL` on standard AWS partition selection and `arn:aws-us-gov:iam::044793339203:role/unity-catalog-prod-UCMasterRole-1QRFA8SGY15OJ` on GovCloud partition selection
125
134
  */
126
135
  unityCatalogIamArn?: pulumi.Input<string>;
127
136
  }
@@ -43,6 +43,7 @@ function getAwsUnityCatalogAssumeRolePolicy(args, opts) {
43
43
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
44
  return pulumi.runtime.invoke("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", {
45
45
  "awsAccountId": args.awsAccountId,
46
+ "awsPartition": args.awsPartition,
46
47
  "externalId": args.externalId,
47
48
  "roleName": args.roleName,
48
49
  "unityCatalogIamArn": args.unityCatalogIamArn,
@@ -87,6 +88,7 @@ function getAwsUnityCatalogAssumeRolePolicyOutput(args, opts) {
87
88
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
88
89
  return pulumi.runtime.invokeOutput("databricks:index/getAwsUnityCatalogAssumeRolePolicy:getAwsUnityCatalogAssumeRolePolicy", {
89
90
  "awsAccountId": args.awsAccountId,
91
+ "awsPartition": args.awsPartition,
90
92
  "externalId": args.externalId,
91
93
  "roleName": args.roleName,
92
94
  "unityCatalogIamArn": args.unityCatalogIamArn,
@@ -1 +1 @@
1
- {"version":3,"file":"getAwsUnityCatalogAssumeRolePolicy.js","sourceRoot":"","sources":["../getAwsUnityCatalogAssumeRolePolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,kCAAkC,CAAC,IAA4C,EAAE,IAA2B;IACxH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wFAAwF,EAAE;QACnH,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IA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;;GAiCG;AACH,SAAgB,wCAAwC,CAAC,IAAkD,EAAE,IAAiC;IAC1I,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wFAAwF,EAAE;QACzH,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,oBAAoB,EAAE,IAAI,CAAC,kBAAkB;KAChD,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,4FASC"}
@@ -42,6 +42,10 @@ export interface GetAwsUnityCatalogPolicyArgs {
42
42
  * The Account ID of the current AWS account (not your Databricks account).
43
43
  */
44
44
  awsAccountId: string;
45
+ /**
46
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
47
+ */
48
+ awsPartition?: string;
45
49
  /**
46
50
  * The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog.
47
51
  */
@@ -60,6 +64,7 @@ export interface GetAwsUnityCatalogPolicyArgs {
60
64
  */
61
65
  export interface GetAwsUnityCatalogPolicyResult {
62
66
  readonly awsAccountId: string;
67
+ readonly awsPartition?: string;
63
68
  readonly bucketName: string;
64
69
  /**
65
70
  * The provider-assigned unique ID for this managed resource.
@@ -115,6 +120,10 @@ export interface GetAwsUnityCatalogPolicyOutputArgs {
115
120
  * The Account ID of the current AWS account (not your Databricks account).
116
121
  */
117
122
  awsAccountId: pulumi.Input<string>;
123
+ /**
124
+ * AWS partition. The options are `aws` or `aws-us-gov`. Defaults to `aws`
125
+ */
126
+ awsPartition?: pulumi.Input<string>;
118
127
  /**
119
128
  * The name of the S3 bucket used as root storage location for [managed tables](https://docs.databricks.com/data-governance/unity-catalog/index.html#managed-table) in Unity Catalog.
120
129
  */
@@ -43,6 +43,7 @@ function getAwsUnityCatalogPolicy(args, opts) {
43
43
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
44
44
  return pulumi.runtime.invoke("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", {
45
45
  "awsAccountId": args.awsAccountId,
46
+ "awsPartition": args.awsPartition,
46
47
  "bucketName": args.bucketName,
47
48
  "kmsName": args.kmsName,
48
49
  "roleName": args.roleName,
@@ -87,6 +88,7 @@ function getAwsUnityCatalogPolicyOutput(args, opts) {
87
88
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
88
89
  return pulumi.runtime.invokeOutput("databricks:index/getAwsUnityCatalogPolicy:getAwsUnityCatalogPolicy", {
89
90
  "awsAccountId": args.awsAccountId,
91
+ "awsPartition": args.awsPartition,
90
92
  "bucketName": args.bucketName,
91
93
  "kmsName": args.kmsName,
92
94
  "roleName": args.roleName,
@@ -1 +1 @@
1
- {"version":3,"file":"getAwsUnityCatalogPolicy.js","sourceRoot":"","sources":["../getAwsUnityCatalogPolicy.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,SAAgB,wBAAwB,CAAC,IAAkC,EAAE,IAA2B;IACpG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,oEAAoE,EAAE;QAC/F,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AAC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wC,EAAE,IAAiC;IACtH,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,oEAAoE,EAAE;QACrG,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,cAAc,EAAE,IAAI,CAAC,YAAY;QACjC,YAAY,EAAE,IAAI,CAAC,UAAU;QAC7B,SAAS,EAAE,IAAI,CAAC,OAAO;QACvB,UAAU,EAAE,IAAI,CAAC,QAAQ;KAC5B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AATD,wEASC"}
package/getFunctions.d.ts CHANGED
@@ -60,7 +60,7 @@ export interface GetFunctionsResult {
60
60
  /**
61
61
  * list of objects describing individual UDF. Each object consists of the following attributes (refer to [REST API documentation](https://docs.databricks.com/api/workspace/functions/list#functions) for up-to-date list of attributes. Default type is String):
62
62
  */
63
- readonly functions?: outputs.GetFunctionsFunction[];
63
+ readonly functions: outputs.GetFunctionsFunction[];
64
64
  /**
65
65
  * The provider-assigned unique ID for this managed resource.
66
66
  */
package/getJobs.d.ts CHANGED
@@ -16,6 +16,9 @@ import * as pulumi from "@pulumi/pulumi";
16
16
  *
17
17
  * export = async () => {
18
18
  * const this = await databricks.getJobs({});
19
+ * const tests = await databricks.getJobs({
20
+ * jobNameContains: "test",
21
+ * });
19
22
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
20
23
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
21
24
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -56,6 +59,10 @@ export interface GetJobsArgs {
56
59
  ids?: {
57
60
  [key: string]: string;
58
61
  };
62
+ /**
63
+ * Only return databricks.Job ids that match the given name string (case-insensitive).
64
+ */
65
+ jobNameContains?: string;
59
66
  }
60
67
  /**
61
68
  * A collection of values returned by getJobs.
@@ -71,6 +78,7 @@ export interface GetJobsResult {
71
78
  readonly ids: {
72
79
  [key: string]: string;
73
80
  };
81
+ readonly jobNameContains?: string;
74
82
  }
75
83
  /**
76
84
  * > **Note** If you have a fully automated setup with workspaces created by databricks.MwsWorkspaces or azurerm_databricks_workspace, please make sure to add dependsOn attribute in order to prevent _default auth: cannot configure default credentials_ errors.
@@ -89,6 +97,9 @@ export interface GetJobsResult {
89
97
  *
90
98
  * export = async () => {
91
99
  * const this = await databricks.getJobs({});
100
+ * const tests = await databricks.getJobs({
101
+ * jobNameContains: "test",
102
+ * });
92
103
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
93
104
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
94
105
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -129,4 +140,8 @@ export interface GetJobsOutputArgs {
129
140
  ids?: pulumi.Input<{
130
141
  [key: string]: pulumi.Input<string>;
131
142
  }>;
143
+ /**
144
+ * Only return databricks.Job ids that match the given name string (case-insensitive).
145
+ */
146
+ jobNameContains?: pulumi.Input<string>;
132
147
  }
package/getJobs.js CHANGED
@@ -22,6 +22,9 @@ const utilities = require("./utilities");
22
22
  *
23
23
  * export = async () => {
24
24
  * const this = await databricks.getJobs({});
25
+ * const tests = await databricks.getJobs({
26
+ * jobNameContains: "test",
27
+ * });
25
28
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
26
29
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
27
30
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -56,6 +59,7 @@ function getJobs(args, opts) {
56
59
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
57
60
  return pulumi.runtime.invoke("databricks:index/getJobs:getJobs", {
58
61
  "ids": args.ids,
62
+ "jobNameContains": args.jobNameContains,
59
63
  }, opts);
60
64
  }
61
65
  exports.getJobs = getJobs;
@@ -76,6 +80,9 @@ exports.getJobs = getJobs;
76
80
  *
77
81
  * export = async () => {
78
82
  * const this = await databricks.getJobs({});
83
+ * const tests = await databricks.getJobs({
84
+ * jobNameContains: "test",
85
+ * });
79
86
  * const everyoneCanViewAllJobs: databricks.Permissions[] = [];
80
87
  * for (const range of Object.entries(_this.ids).map(([k, v]) => ({key: k, value: v}))) {
81
88
  * everyoneCanViewAllJobs.push(new databricks.Permissions(`everyone_can_view_all_jobs-${range.key}`, {
@@ -110,6 +117,7 @@ function getJobsOutput(args, opts) {
110
117
  opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
111
118
  return pulumi.runtime.invokeOutput("databricks:index/getJobs:getJobs", {
112
119
  "ids": args.ids,
120
+ "jobNameContains": args.jobNameContains,
113
121
  }, opts);
114
122
  }
115
123
  exports.getJobsOutput = getJobsOutput;
package/getJobs.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"getJobs.js","sourceRoot":"","sources":["../getJobs.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,OAAO,CAAC,IAAkB,EAAE,IAA2B;IACnE,IAAI,GAAG,IAAI,IAAI,EAAE,CAAC;IAClB,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,kCAAkC,EAAE;QAC7D,KAAK,EAAE,IAAI,CAAC,GAAG;KAClB,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,0BAMC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,SAAgB,aAAa,CAAC,IAAwB,EAAE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