@pulumi/databricks 1.57.0-alpha.1735914673 → 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
@@ -0,0 +1,74 @@
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.getRegisteredModelVersionsOutput = exports.getRegisteredModelVersions = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * > This resource can only be used with a workspace-level provider!
10
+ *
11
+ * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html).
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const this = databricks.getRegisteredModelVersions({
20
+ * fullName: "main.default.my_model",
21
+ * });
22
+ * ```
23
+ *
24
+ * ## Related Resources
25
+ *
26
+ * The following resources are often used in the same context:
27
+ *
28
+ * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog.
29
+ * * databricks.RegisteredModel resource to manage models within Unity Catalog.
30
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
31
+ * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.
32
+ */
33
+ function getRegisteredModelVersions(args, opts) {
34
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
35
+ return pulumi.runtime.invoke("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", {
36
+ "fullName": args.fullName,
37
+ "modelVersions": args.modelVersions,
38
+ }, opts);
39
+ }
40
+ exports.getRegisteredModelVersions = getRegisteredModelVersions;
41
+ /**
42
+ * > This resource can only be used with a workspace-level provider!
43
+ *
44
+ * This resource allows you to get information about versions of [Model in Unity Catalog](https://docs.databricks.com/en/mlflow/models-in-uc.html).
45
+ *
46
+ * ## Example Usage
47
+ *
48
+ * ```typescript
49
+ * import * as pulumi from "@pulumi/pulumi";
50
+ * import * as databricks from "@pulumi/databricks";
51
+ *
52
+ * const this = databricks.getRegisteredModelVersions({
53
+ * fullName: "main.default.my_model",
54
+ * });
55
+ * ```
56
+ *
57
+ * ## Related Resources
58
+ *
59
+ * The following resources are often used in the same context:
60
+ *
61
+ * * databricks.RegisteredModel data source to retrieve information about a model within Unity Catalog.
62
+ * * databricks.RegisteredModel resource to manage models within Unity Catalog.
63
+ * * databricks.ModelServing to serve this model on a Databricks serving endpoint.
64
+ * * databricks.MlflowExperiment to manage [MLflow experiments](https://docs.databricks.com/data/data-sources/mlflow-experiment.html) in Databricks.
65
+ */
66
+ function getRegisteredModelVersionsOutput(args, opts) {
67
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
68
+ return pulumi.runtime.invokeOutput("databricks:index/getRegisteredModelVersions:getRegisteredModelVersions", {
69
+ "fullName": args.fullName,
70
+ "modelVersions": args.modelVersions,
71
+ }, opts);
72
+ }
73
+ exports.getRegisteredModelVersionsOutput = getRegisteredModelVersionsOutput;
74
+ //# sourceMappingURL=getRegisteredModelVersions.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getRegisteredModelVersions.js","sourceRoot":"","sources":["../getRegisteredModelVersions.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,0BAA0B,CAAC,IAAoC,EAAE,IAA2B;IACxG,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,wEAAwE,EAAE;QACnG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,gEAMC;AAiCD;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,SAAgB,gCAAgC,CAAC,IAA0C,EAAE,IAAiC;IAC1H,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,IAAI,EAAE,CAAC,CAAC;IACzE,OAAO,MAAM,CAAC,OAAO,CAAC,YAAY,CAAC,wEAAwE,EAAE;QACzG,UAAU,EAAE,IAAI,CAAC,QAAQ;QACzB,eAAe,EAAE,IAAI,CAAC,aAAa;KACtC,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,4EAMC"}
@@ -0,0 +1,116 @@
1
+ import * as pulumi from "@pulumi/pulumi";
2
+ import * as inputs from "./types/input";
3
+ import * as outputs from "./types/output";
4
+ /**
5
+ * > This resource can only be used with a workspace-level provider!
6
+ *
7
+ * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
8
+ *
9
+ * ## Example Usage
10
+ *
11
+ * ```typescript
12
+ * import * as pulumi from "@pulumi/pulumi";
13
+ * import * as databricks from "@pulumi/databricks";
14
+ *
15
+ * const all = databricks.getServingEndpoints({});
16
+ * const mlServingUsage: databricks.Permissions[] = [];
17
+ * for (const range = {value: 0}; range.value < allDatabricksServingEndpoints.endpoints; range.value++) {
18
+ * mlServingUsage.push(new databricks.Permissions(`ml_serving_usage-${range.value}`, {
19
+ * servingEndpointId: range.value.id,
20
+ * accessControls: [
21
+ * {
22
+ * groupName: "users",
23
+ * permissionLevel: "CAN_VIEW",
24
+ * },
25
+ * {
26
+ * groupName: auto.displayName,
27
+ * permissionLevel: "CAN_MANAGE",
28
+ * },
29
+ * {
30
+ * groupName: eng.displayName,
31
+ * permissionLevel: "CAN_QUERY",
32
+ * },
33
+ * ],
34
+ * }));
35
+ * }
36
+ * ```
37
+ *
38
+ * ## Related Resources
39
+ *
40
+ * The following resources are often used in the same context:
41
+ *
42
+ * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
43
+ */
44
+ export declare function getServingEndpoints(args?: GetServingEndpointsArgs, opts?: pulumi.InvokeOptions): Promise<GetServingEndpointsResult>;
45
+ /**
46
+ * A collection of arguments for invoking getServingEndpoints.
47
+ */
48
+ export interface GetServingEndpointsArgs {
49
+ /**
50
+ * List of objects describing the serving endpoints. Each object consists of following attributes:
51
+ */
52
+ endpoints?: inputs.GetServingEndpointsEndpoint[];
53
+ }
54
+ /**
55
+ * A collection of values returned by getServingEndpoints.
56
+ */
57
+ export interface GetServingEndpointsResult {
58
+ /**
59
+ * List of objects describing the serving endpoints. Each object consists of following attributes:
60
+ */
61
+ readonly endpoints: outputs.GetServingEndpointsEndpoint[];
62
+ /**
63
+ * The provider-assigned unique ID for this managed resource.
64
+ */
65
+ readonly id: string;
66
+ }
67
+ /**
68
+ * > This resource can only be used with a workspace-level provider!
69
+ *
70
+ * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
71
+ *
72
+ * ## Example Usage
73
+ *
74
+ * ```typescript
75
+ * import * as pulumi from "@pulumi/pulumi";
76
+ * import * as databricks from "@pulumi/databricks";
77
+ *
78
+ * const all = databricks.getServingEndpoints({});
79
+ * const mlServingUsage: databricks.Permissions[] = [];
80
+ * for (const range = {value: 0}; range.value < allDatabricksServingEndpoints.endpoints; range.value++) {
81
+ * mlServingUsage.push(new databricks.Permissions(`ml_serving_usage-${range.value}`, {
82
+ * servingEndpointId: range.value.id,
83
+ * accessControls: [
84
+ * {
85
+ * groupName: "users",
86
+ * permissionLevel: "CAN_VIEW",
87
+ * },
88
+ * {
89
+ * groupName: auto.displayName,
90
+ * permissionLevel: "CAN_MANAGE",
91
+ * },
92
+ * {
93
+ * groupName: eng.displayName,
94
+ * permissionLevel: "CAN_QUERY",
95
+ * },
96
+ * ],
97
+ * }));
98
+ * }
99
+ * ```
100
+ *
101
+ * ## Related Resources
102
+ *
103
+ * The following resources are often used in the same context:
104
+ *
105
+ * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
106
+ */
107
+ export declare function getServingEndpointsOutput(args?: GetServingEndpointsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetServingEndpointsResult>;
108
+ /**
109
+ * A collection of arguments for invoking getServingEndpoints.
110
+ */
111
+ export interface GetServingEndpointsOutputArgs {
112
+ /**
113
+ * List of objects describing the serving endpoints. Each object consists of following attributes:
114
+ */
115
+ endpoints?: pulumi.Input<pulumi.Input<inputs.GetServingEndpointsEndpointArgs>[]>;
116
+ }
@@ -0,0 +1,104 @@
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.getServingEndpointsOutput = exports.getServingEndpoints = void 0;
6
+ const pulumi = require("@pulumi/pulumi");
7
+ const utilities = require("./utilities");
8
+ /**
9
+ * > This resource can only be used with a workspace-level provider!
10
+ *
11
+ * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
12
+ *
13
+ * ## Example Usage
14
+ *
15
+ * ```typescript
16
+ * import * as pulumi from "@pulumi/pulumi";
17
+ * import * as databricks from "@pulumi/databricks";
18
+ *
19
+ * const all = databricks.getServingEndpoints({});
20
+ * const mlServingUsage: databricks.Permissions[] = [];
21
+ * for (const range = {value: 0}; range.value < allDatabricksServingEndpoints.endpoints; range.value++) {
22
+ * mlServingUsage.push(new databricks.Permissions(`ml_serving_usage-${range.value}`, {
23
+ * servingEndpointId: range.value.id,
24
+ * accessControls: [
25
+ * {
26
+ * groupName: "users",
27
+ * permissionLevel: "CAN_VIEW",
28
+ * },
29
+ * {
30
+ * groupName: auto.displayName,
31
+ * permissionLevel: "CAN_MANAGE",
32
+ * },
33
+ * {
34
+ * groupName: eng.displayName,
35
+ * permissionLevel: "CAN_QUERY",
36
+ * },
37
+ * ],
38
+ * }));
39
+ * }
40
+ * ```
41
+ *
42
+ * ## Related Resources
43
+ *
44
+ * The following resources are often used in the same context:
45
+ *
46
+ * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
47
+ */
48
+ function getServingEndpoints(args, opts) {
49
+ args = args || {};
50
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
51
+ return pulumi.runtime.invoke("databricks:index/getServingEndpoints:getServingEndpoints", {
52
+ "endpoints": args.endpoints,
53
+ }, opts);
54
+ }
55
+ exports.getServingEndpoints = getServingEndpoints;
56
+ /**
57
+ * > This resource can only be used with a workspace-level provider!
58
+ *
59
+ * This resource allows you to get information about [Model Serving](https://docs.databricks.com/machine-learning/model-serving/index.html) endpoints in Databricks.
60
+ *
61
+ * ## Example Usage
62
+ *
63
+ * ```typescript
64
+ * import * as pulumi from "@pulumi/pulumi";
65
+ * import * as databricks from "@pulumi/databricks";
66
+ *
67
+ * const all = databricks.getServingEndpoints({});
68
+ * const mlServingUsage: databricks.Permissions[] = [];
69
+ * for (const range = {value: 0}; range.value < allDatabricksServingEndpoints.endpoints; range.value++) {
70
+ * mlServingUsage.push(new databricks.Permissions(`ml_serving_usage-${range.value}`, {
71
+ * servingEndpointId: range.value.id,
72
+ * accessControls: [
73
+ * {
74
+ * groupName: "users",
75
+ * permissionLevel: "CAN_VIEW",
76
+ * },
77
+ * {
78
+ * groupName: auto.displayName,
79
+ * permissionLevel: "CAN_MANAGE",
80
+ * },
81
+ * {
82
+ * groupName: eng.displayName,
83
+ * permissionLevel: "CAN_QUERY",
84
+ * },
85
+ * ],
86
+ * }));
87
+ * }
88
+ * ```
89
+ *
90
+ * ## Related Resources
91
+ *
92
+ * The following resources are often used in the same context:
93
+ *
94
+ * * databricks.Permissions can control which groups or individual users can *Manage*, *Query* or *View* individual serving endpoints.
95
+ */
96
+ function getServingEndpointsOutput(args, opts) {
97
+ args = args || {};
98
+ opts = pulumi.mergeOptions(utilities.resourceOptsDefaults(), opts || {});
99
+ return pulumi.runtime.invokeOutput("databricks:index/getServingEndpoints:getServingEndpoints", {
100
+ "endpoints": args.endpoints,
101
+ }, opts);
102
+ }
103
+ exports.getServingEndpointsOutput = getServingEndpointsOutput;
104
+ //# sourceMappingURL=getServingEndpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getServingEndpoints.js","sourceRoot":"","sources":["../getServingEndpoints.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,mBAAmB,CAAC,IAA8B,EAAE,IAA2B;IAC3F,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,0DAA0D,EAAE;QACrF,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,kDAMC;AAyBD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,SAAgB,yBAAyB,CAAC,IAAoC,EAAE,IAAiC;IAC7G,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,0DAA0D,EAAE;QAC3F,WAAW,EAAE,IAAI,CAAC,SAAS;KAC9B,EAAE,IAAI,CAAC,CAAC;AACb,CAAC;AAND,8DAMC"}
package/grant.d.ts CHANGED
@@ -272,6 +272,29 @@ import * as pulumi from "@pulumi/pulumi";
272
272
  * });
273
273
  * ```
274
274
  *
275
+ * ## Service credential grants
276
+ *
277
+ * See databricks.Grants Service credential grants for the list of privileges that apply to Service credentials.
278
+ *
279
+ * ```typescript
280
+ * import * as pulumi from "@pulumi/pulumi";
281
+ * import * as databricks from "@pulumi/databricks";
282
+ *
283
+ * const external = new databricks.Credential("external", {
284
+ * name: externalDataAccess.name,
285
+ * awsIamRole: {
286
+ * roleArn: externalDataAccess.arn,
287
+ * },
288
+ * purpose: "SERVICE",
289
+ * comment: "Managed by TF",
290
+ * });
291
+ * const externalCreds = new databricks.Grant("external_creds", {
292
+ * credential: external.id,
293
+ * principal: "Data Engineers",
294
+ * privileges: ["ACCESS"],
295
+ * });
296
+ * ```
297
+ *
275
298
  * ## Storage credential grants
276
299
  *
277
300
  * See databricks.Grants Storage credential grants for the list of privileges that apply to Storage credentials.
@@ -422,6 +445,7 @@ export declare class Grant extends pulumi.CustomResource {
422
445
  */
423
446
  static isInstance(obj: any): obj is Grant;
424
447
  readonly catalog: pulumi.Output<string | undefined>;
448
+ readonly credential: pulumi.Output<string | undefined>;
425
449
  readonly externalLocation: pulumi.Output<string | undefined>;
426
450
  readonly foreignConnection: pulumi.Output<string | undefined>;
427
451
  readonly function: pulumi.Output<string | undefined>;
@@ -450,6 +474,7 @@ export declare class Grant extends pulumi.CustomResource {
450
474
  */
451
475
  export interface GrantState {
452
476
  catalog?: pulumi.Input<string>;
477
+ credential?: pulumi.Input<string>;
453
478
  externalLocation?: pulumi.Input<string>;
454
479
  foreignConnection?: pulumi.Input<string>;
455
480
  function?: pulumi.Input<string>;
@@ -470,6 +495,7 @@ export interface GrantState {
470
495
  */
471
496
  export interface GrantArgs {
472
497
  catalog?: pulumi.Input<string>;
498
+ credential?: pulumi.Input<string>;
473
499
  externalLocation?: pulumi.Input<string>;
474
500
  foreignConnection?: pulumi.Input<string>;
475
501
  function?: pulumi.Input<string>;
package/grant.js CHANGED
@@ -278,6 +278,29 @@ const utilities = require("./utilities");
278
278
  * });
279
279
  * ```
280
280
  *
281
+ * ## Service credential grants
282
+ *
283
+ * See databricks.Grants Service credential grants for the list of privileges that apply to Service credentials.
284
+ *
285
+ * ```typescript
286
+ * import * as pulumi from "@pulumi/pulumi";
287
+ * import * as databricks from "@pulumi/databricks";
288
+ *
289
+ * const external = new databricks.Credential("external", {
290
+ * name: externalDataAccess.name,
291
+ * awsIamRole: {
292
+ * roleArn: externalDataAccess.arn,
293
+ * },
294
+ * purpose: "SERVICE",
295
+ * comment: "Managed by TF",
296
+ * });
297
+ * const externalCreds = new databricks.Grant("external_creds", {
298
+ * credential: external.id,
299
+ * principal: "Data Engineers",
300
+ * privileges: ["ACCESS"],
301
+ * });
302
+ * ```
303
+ *
281
304
  * ## Storage credential grants
282
305
  *
283
306
  * See databricks.Grants Storage credential grants for the list of privileges that apply to Storage credentials.
@@ -440,6 +463,7 @@ class Grant extends pulumi.CustomResource {
440
463
  if (opts.id) {
441
464
  const state = argsOrState;
442
465
  resourceInputs["catalog"] = state ? state.catalog : undefined;
466
+ resourceInputs["credential"] = state ? state.credential : undefined;
443
467
  resourceInputs["externalLocation"] = state ? state.externalLocation : undefined;
444
468
  resourceInputs["foreignConnection"] = state ? state.foreignConnection : undefined;
445
469
  resourceInputs["function"] = state ? state.function : undefined;
@@ -464,6 +488,7 @@ class Grant extends pulumi.CustomResource {
464
488
  throw new Error("Missing required property 'privileges'");
465
489
  }
466
490
  resourceInputs["catalog"] = args ? args.catalog : undefined;
491
+ resourceInputs["credential"] = args ? args.credential : undefined;
467
492
  resourceInputs["externalLocation"] = args ? args.externalLocation : undefined;
468
493
  resourceInputs["foreignConnection"] = args ? args.foreignConnection : undefined;
469
494
  resourceInputs["function"] = args ? args.function : undefined;
package/grant.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"grant.js","sourceRoot":"","sources":["../grant.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AACzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqZG;AACH,MAAa,KAAM,SAAQ,MAAM,CAAC,cAAc;IAC5C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAkB,EAAE,IAAmC;QAChH,OAAO,IAAI,KAAK,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC5D,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,KAAK,CAAC,YAAY,CAAC;IACtD,CAAC;IA0BD,YAAY,IAAY,EAAE,WAAoC,EAAE,IAAmC;QAC/F,IAAI,cAAc,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S,CAAC;YAClE,cAAc,CAAC,WAAW,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,CAAC,SAAS,CAAC;YAChE,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;YAC1D,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,mBAAmB,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,iBAAiB,CAAC,CAAC,CAAC,SAAS,CAAC;YAChF,cAAc,CAAC,OAAO,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,SAAS,CAAC;YACxD,cAAc,CAAC,QAAQ,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,KAAK,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC1D,CAAC;;AArGL,sBAsGC;AAxFG,gBAAgB;AACO,kBAAY,GAAG,8BAA8B,CAAC"}
package/grants.d.ts CHANGED
@@ -28,7 +28,7 @@ import * as outputs from "./types/output";
28
28
  *
29
29
  * ## Metastore grants
30
30
  *
31
- * You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace.
31
+ * You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace.
32
32
  *
33
33
  * ```typescript
34
34
  * import * as pulumi from "@pulumi/pulumi";
@@ -303,6 +303,31 @@ import * as outputs from "./types/output";
303
303
  * });
304
304
  * ```
305
305
  *
306
+ * ## Service credential grants
307
+ *
308
+ * You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to databricks.Credential id specified in `credential` attribute:
309
+ *
310
+ * ```typescript
311
+ * import * as pulumi from "@pulumi/pulumi";
312
+ * import * as databricks from "@pulumi/databricks";
313
+ *
314
+ * const external = new databricks.Credential("external", {
315
+ * name: externalDataAccess.name,
316
+ * awsIamRole: {
317
+ * roleArn: externalDataAccess.arn,
318
+ * },
319
+ * purpose: "SERVICE",
320
+ * comment: "Managed by TF",
321
+ * });
322
+ * const externalCreds = new databricks.Grants("external_creds", {
323
+ * credential: external.id,
324
+ * grants: [{
325
+ * principal: "Data Engineers",
326
+ * privileges: ["CREATE_CONNECTION"],
327
+ * }],
328
+ * });
329
+ * ```
330
+ *
306
331
  * ## Storage credential grants
307
332
  *
308
333
  * You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storageCredential` attribute:
@@ -460,6 +485,7 @@ export declare class Grants extends pulumi.CustomResource {
460
485
  */
461
486
  static isInstance(obj: any): obj is Grants;
462
487
  readonly catalog: pulumi.Output<string | undefined>;
488
+ readonly credential: pulumi.Output<string | undefined>;
463
489
  readonly externalLocation: pulumi.Output<string | undefined>;
464
490
  readonly foreignConnection: pulumi.Output<string | undefined>;
465
491
  readonly function: pulumi.Output<string | undefined>;
@@ -487,6 +513,7 @@ export declare class Grants extends pulumi.CustomResource {
487
513
  */
488
514
  export interface GrantsState {
489
515
  catalog?: pulumi.Input<string>;
516
+ credential?: pulumi.Input<string>;
490
517
  externalLocation?: pulumi.Input<string>;
491
518
  foreignConnection?: pulumi.Input<string>;
492
519
  function?: pulumi.Input<string>;
@@ -506,6 +533,7 @@ export interface GrantsState {
506
533
  */
507
534
  export interface GrantsArgs {
508
535
  catalog?: pulumi.Input<string>;
536
+ credential?: pulumi.Input<string>;
509
537
  externalLocation?: pulumi.Input<string>;
510
538
  foreignConnection?: pulumi.Input<string>;
511
539
  function?: pulumi.Input<string>;
package/grants.js CHANGED
@@ -32,7 +32,7 @@ const utilities = require("./utilities");
32
32
  *
33
33
  * ## Metastore grants
34
34
  *
35
- * You can grant `CREATE_CATALOG`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_STORAGE_CREDENTIAL`, `MANAGE_ALLOWLIST`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_CONNECTION`, `USE_PROVIDER`, `USE_RECIPIENT` and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace.
35
+ * You can grant `CREATE_CATALOG`, `CREATE_CLEAN_ROOM`, `CREATE_CONNECTION`, `CREATE_EXTERNAL_LOCATION`, `CREATE_PROVIDER`, `CREATE_RECIPIENT`, `CREATE_SHARE`, `CREATE_SERVICE_CREDENTIAL`, `CREATE_STORAGE_CREDENTIAL`, `SET_SHARE_PERMISSION`, `USE_MARKETPLACE_ASSETS`, `USE_PROVIDER`, `USE_RECIPIENT`, and `USE_SHARE` privileges to databricks.Metastore assigned to the workspace.
36
36
  *
37
37
  * ```typescript
38
38
  * import * as pulumi from "@pulumi/pulumi";
@@ -307,6 +307,31 @@ const utilities = require("./utilities");
307
307
  * });
308
308
  * ```
309
309
  *
310
+ * ## Service credential grants
311
+ *
312
+ * You can grant `ALL_PRIVILEGES`, `ACCESS` and `CREATE_CONNECTION` privileges to databricks.Credential id specified in `credential` attribute:
313
+ *
314
+ * ```typescript
315
+ * import * as pulumi from "@pulumi/pulumi";
316
+ * import * as databricks from "@pulumi/databricks";
317
+ *
318
+ * const external = new databricks.Credential("external", {
319
+ * name: externalDataAccess.name,
320
+ * awsIamRole: {
321
+ * roleArn: externalDataAccess.arn,
322
+ * },
323
+ * purpose: "SERVICE",
324
+ * comment: "Managed by TF",
325
+ * });
326
+ * const externalCreds = new databricks.Grants("external_creds", {
327
+ * credential: external.id,
328
+ * grants: [{
329
+ * principal: "Data Engineers",
330
+ * privileges: ["CREATE_CONNECTION"],
331
+ * }],
332
+ * });
333
+ * ```
334
+ *
310
335
  * ## Storage credential grants
311
336
  *
312
337
  * You can grant `ALL_PRIVILEGES`, `CREATE_EXTERNAL_LOCATION`, `CREATE_EXTERNAL_TABLE`, `READ_FILES` and `WRITE_FILES` privileges to databricks.StorageCredential id specified in `storageCredential` attribute:
@@ -476,6 +501,7 @@ class Grants extends pulumi.CustomResource {
476
501
  if (opts.id) {
477
502
  const state = argsOrState;
478
503
  resourceInputs["catalog"] = state ? state.catalog : undefined;
504
+ resourceInputs["credential"] = state ? state.credential : undefined;
479
505
  resourceInputs["externalLocation"] = state ? state.externalLocation : undefined;
480
506
  resourceInputs["foreignConnection"] = state ? state.foreignConnection : undefined;
481
507
  resourceInputs["function"] = state ? state.function : undefined;
@@ -496,6 +522,7 @@ class Grants extends pulumi.CustomResource {
496
522
  throw new Error("Missing required property 'grants'");
497
523
  }
498
524
  resourceInputs["catalog"] = args ? args.catalog : undefined;
525
+ resourceInputs["credential"] = args ? args.credential : undefined;
499
526
  resourceInputs["externalLocation"] = args ? args.externalLocation : undefined;
500
527
  resourceInputs["foreignConnection"] = args ? args.foreignConnection : undefined;
501
528
  resourceInputs["function"] = args ? args.function : undefined;
package/grants.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"grants.js","sourceRoot":"","sources":["../grants.ts"],"names":[],"mappings":";AAAA,wFAAwF;AACxF,iFAAiF;;;AAEjF,yCAAyC;AAGzC,yCAAyC;AAEzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAybG;AACH,MAAa,MAAO,SAAQ,MAAM,CAAC,cAAc;IAC7C;;;;;;;;OAQG;IACI,MAAM,CAAC,GAAG,CAAC,IAAY,EAAE,EAA2B,EAAE,KAAmB,EAAE,IAAmC;QACjH,OAAO,IAAI,MAAM,CAAC,IAAI,EAAO,KAAK,kCAAO,IAAI,KAAE,EAAE,EAAE,EAAE,IAAG,CAAC;IAC7D,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,CA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AAC,CAAC,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC;SAC7D;QACD,IAAI,GAAG,MAAM,CAAC,YAAY,CAAC,SAAS,CAAC,oBAAoB,EAAE,EAAE,IAAI,CAAC,CAAC;QACnE,KAAK,CAAC,MAAM,CAAC,YAAY,EAAE,IAAI,EAAE,cAAc,EAAE,IAAI,CAAC,CAAC;IAC3D,CAAC;;AA/FL,wBAgGC;AAlFG,gBAAgB;AACO,mBAAY,GAAG,gCAAgC,CAAC"}
package/index.d.ts CHANGED
@@ -4,6 +4,9 @@ export declare const AccessControlRuleSet: typeof import("./accessControlRuleSet
4
4
  export { AlertArgs, AlertState } from "./alert";
5
5
  export type Alert = import("./alert").Alert;
6
6
  export declare const Alert: typeof import("./alert").Alert;
7
+ export { AppArgs, AppState } from "./app";
8
+ export type App = import("./app").App;
9
+ export declare const App: typeof import("./app").App;
7
10
  export { ArtifactAllowlistArgs, ArtifactAllowlistState } from "./artifactAllowlist";
8
11
  export type ArtifactAllowlist = import("./artifactAllowlist").ArtifactAllowlist;
9
12
  export declare const ArtifactAllowlist: typeof import("./artifactAllowlist").ArtifactAllowlist;
@@ -31,6 +34,9 @@ export declare const ComplianceSecurityProfileWorkspaceSetting: typeof import(".
31
34
  export { ConnectionArgs, ConnectionState } from "./connection";
32
35
  export type Connection = import("./connection").Connection;
33
36
  export declare const Connection: typeof import("./connection").Connection;
37
+ export { CredentialArgs, CredentialState } from "./credential";
38
+ export type Credential = import("./credential").Credential;
39
+ export declare const Credential: typeof import("./credential").Credential;
34
40
  export { CustomAppIntegrationArgs, CustomAppIntegrationState } from "./customAppIntegration";
35
41
  export type CustomAppIntegration = import("./customAppIntegration").CustomAppIntegration;
36
42
  export declare const CustomAppIntegration: typeof import("./customAppIntegration").CustomAppIntegration;
@@ -58,6 +64,12 @@ export declare const ExternalLocation: typeof import("./externalLocation").Exter
58
64
  export { FileArgs, FileState } from "./file";
59
65
  export type File = import("./file").File;
60
66
  export declare const File: typeof import("./file").File;
67
+ export { GetAppArgs, GetAppResult, GetAppOutputArgs } from "./getApp";
68
+ export declare const getApp: typeof import("./getApp").getApp;
69
+ export declare const getAppOutput: typeof import("./getApp").getAppOutput;
70
+ export { GetAppsResult } from "./getApps";
71
+ export declare const getApps: typeof import("./getApps").getApps;
72
+ export declare const getAppsOutput: typeof import("./getApps").getAppsOutput;
61
73
  export { GetAwsAssumeRolePolicyArgs, GetAwsAssumeRolePolicyResult, GetAwsAssumeRolePolicyOutputArgs } from "./getAwsAssumeRolePolicy";
62
74
  export declare const getAwsAssumeRolePolicy: typeof import("./getAwsAssumeRolePolicy").getAwsAssumeRolePolicy;
63
75
  export declare const getAwsAssumeRolePolicyOutput: typeof import("./getAwsAssumeRolePolicy").getAwsAssumeRolePolicyOutput;
@@ -148,6 +160,12 @@ export declare const getMlflowModelsOutput: typeof import("./getMlflowModels").g
148
160
  export { GetMwsCredentialsArgs, GetMwsCredentialsResult, GetMwsCredentialsOutputArgs } from "./getMwsCredentials";
149
161
  export declare const getMwsCredentials: typeof import("./getMwsCredentials").getMwsCredentials;
150
162
  export declare const getMwsCredentialsOutput: typeof import("./getMwsCredentials").getMwsCredentialsOutput;
163
+ export { GetMwsNetworkConnectivityConfigArgs, GetMwsNetworkConnectivityConfigResult, GetMwsNetworkConnectivityConfigOutputArgs } from "./getMwsNetworkConnectivityConfig";
164
+ export declare const getMwsNetworkConnectivityConfig: typeof import("./getMwsNetworkConnectivityConfig").getMwsNetworkConnectivityConfig;
165
+ export declare const getMwsNetworkConnectivityConfigOutput: typeof import("./getMwsNetworkConnectivityConfig").getMwsNetworkConnectivityConfigOutput;
166
+ export { GetMwsNetworkConnectivityConfigsArgs, GetMwsNetworkConnectivityConfigsResult, GetMwsNetworkConnectivityConfigsOutputArgs } from "./getMwsNetworkConnectivityConfigs";
167
+ export declare const getMwsNetworkConnectivityConfigs: typeof import("./getMwsNetworkConnectivityConfigs").getMwsNetworkConnectivityConfigs;
168
+ export declare const getMwsNetworkConnectivityConfigsOutput: typeof import("./getMwsNetworkConnectivityConfigs").getMwsNetworkConnectivityConfigsOutput;
151
169
  export { GetMwsWorkspacesArgs, GetMwsWorkspacesResult, GetMwsWorkspacesOutputArgs } from "./getMwsWorkspaces";
152
170
  export declare const getMwsWorkspaces: typeof import("./getMwsWorkspaces").getMwsWorkspaces;
153
171
  export declare const getMwsWorkspacesOutput: typeof import("./getMwsWorkspaces").getMwsWorkspacesOutput;
@@ -169,6 +187,9 @@ export declare const getPipelinesOutput: typeof import("./getPipelines").getPipe
169
187
  export { GetRegisteredModelArgs, GetRegisteredModelResult, GetRegisteredModelOutputArgs } from "./getRegisteredModel";
170
188
  export declare const getRegisteredModel: typeof import("./getRegisteredModel").getRegisteredModel;
171
189
  export declare const getRegisteredModelOutput: typeof import("./getRegisteredModel").getRegisteredModelOutput;
190
+ export { GetRegisteredModelVersionsArgs, GetRegisteredModelVersionsResult, GetRegisteredModelVersionsOutputArgs } from "./getRegisteredModelVersions";
191
+ export declare const getRegisteredModelVersions: typeof import("./getRegisteredModelVersions").getRegisteredModelVersions;
192
+ export declare const getRegisteredModelVersionsOutput: typeof import("./getRegisteredModelVersions").getRegisteredModelVersionsOutput;
172
193
  export { GetSchemaArgs, GetSchemaResult, GetSchemaOutputArgs } from "./getSchema";
173
194
  export declare const getSchema: typeof import("./getSchema").getSchema;
174
195
  export declare const getSchemaOutput: typeof import("./getSchema").getSchemaOutput;
@@ -181,6 +202,9 @@ export declare const getServicePrincipalOutput: typeof import("./getServicePrinc
181
202
  export { GetServicePrincipalsArgs, GetServicePrincipalsResult, GetServicePrincipalsOutputArgs } from "./getServicePrincipals";
182
203
  export declare const getServicePrincipals: typeof import("./getServicePrincipals").getServicePrincipals;
183
204
  export declare const getServicePrincipalsOutput: typeof import("./getServicePrincipals").getServicePrincipalsOutput;
205
+ export { GetServingEndpointsArgs, GetServingEndpointsResult, GetServingEndpointsOutputArgs } from "./getServingEndpoints";
206
+ export declare const getServingEndpoints: typeof import("./getServingEndpoints").getServingEndpoints;
207
+ export declare const getServingEndpointsOutput: typeof import("./getServingEndpoints").getServingEndpointsOutput;
184
208
  export { GetShareArgs, GetShareResult, GetShareOutputArgs } from "./getShare";
185
209
  export declare const getShare: typeof import("./getShare").getShare;
186
210
  export declare const getShareOutput: typeof import("./getShare").getShareOutput;