@databricks/sdk-marketplaces 0.1.0-dev.5 → 0.3.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.
- package/README.md +3 -8
- package/dist/v1/client.d.ts +15 -15
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +53 -53
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +4 -1
- package/dist/v1/index.d.ts.map +1 -1
- package/dist/v1/index.js +3 -0
- package/dist/v1/index.js.map +1 -1
- package/dist/v1/model.d.ts +24 -28
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +18 -18
- package/dist/v1/model.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
1
|
# @databricks/sdk-marketplaces
|
|
2
2
|
|
|
3
|
-
> [!
|
|
3
|
+
> [!NOTE]
|
|
4
4
|
>
|
|
5
|
-
> ##
|
|
5
|
+
> ## Beta
|
|
6
6
|
>
|
|
7
|
-
> **This SDK is in
|
|
8
|
-
>
|
|
9
|
-
> - **Do NOT use in production environments**
|
|
10
|
-
> - **Breaking changes may occur at any time**
|
|
11
|
-
> - **APIs are experimental and unstable**
|
|
12
|
-
> - **Use for development and testing only**
|
|
7
|
+
> **This SDK is in Beta and is supported for production use cases.** Interfaces might still change slightly before GA (e.g. name standardization and minor ergonomic tweaks). We are keen to hear feedback from early adopters — please [file issues](https://github.com/databricks/sdk-js/issues), and we will address them.
|
|
13
8
|
|
|
14
9
|
## Installation
|
|
15
10
|
|
package/dist/v1/client.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { CallOptions } from '@databricks/sdk-options/call';
|
|
2
2
|
import type { ClientOptions } from '@databricks/sdk-options/client';
|
|
3
|
-
import type { AddExchangeForListingRequest, AddExchangeForListingResponse, BatchGetListingsRequest, BatchGetListingsResponse, BatchGetProvidersRequest, BatchGetProvidersResponse, CreateExchangeFilterRequest, CreateExchangeFilterResponse, CreateExchangeRequest, CreateExchangeResponse, CreateFileRequest, CreateFileResponse, CreateInstallationResponse, CreateListingRequest, CreateListingResponse, CreatePersonalizationRequest, CreatePersonalizationResponse, CreateProviderAnalyticsDashboardRequest, CreateProviderAnalyticsDashboardResponse, CreateProviderRequest, CreateProviderResponse, DeleteExchangeFilterRequest, DeleteExchangeFilterResponse, DeleteExchangeRequest, DeleteExchangeResponse, DeleteFileRequest, DeleteFileResponse, DeleteInstallationResponse, DeleteListingRequest, DeleteListingResponse, DeleteProviderRequest, DeleteProviderResponse, Exchange, ExchangeFilter, ExchangeListing, FileInfo, GetAllPersonalizationRequestsForConsumerResponse, GetExchangeRequest, GetExchangeResponse, GetFileRequest, GetFileResponse,
|
|
3
|
+
import type { AddExchangeForListingRequest, AddExchangeForListingResponse, BatchGetListingsRequest, BatchGetListingsResponse, BatchGetProvidersRequest, BatchGetProvidersResponse, CreateExchangeFilterRequest, CreateExchangeFilterResponse, CreateExchangeRequest, CreateExchangeResponse, CreateFileRequest, CreateFileResponse, CreateInstallationRequest, CreateInstallationResponse, CreateListingRequest, CreateListingResponse, CreatePersonalizationRequest, CreatePersonalizationResponse, CreateProviderAnalyticsDashboardRequest, CreateProviderAnalyticsDashboardResponse, CreateProviderRequest, CreateProviderResponse, DeleteExchangeFilterRequest, DeleteExchangeFilterResponse, DeleteExchangeRequest, DeleteExchangeResponse, DeleteFileRequest, DeleteFileResponse, DeleteInstallationRequest, DeleteInstallationResponse, DeleteListingRequest, DeleteListingResponse, DeleteProviderRequest, DeleteProviderResponse, Exchange, ExchangeFilter, ExchangeListing, FileInfo, GetAllPersonalizationRequestsForConsumerResponse, GetExchangeRequest, GetExchangeResponse, GetFileRequest, GetFileResponse, GetInstallationDetailsRequest, GetLatestVersionProviderAnalyticsDashboardRequest, GetLatestVersionProviderAnalyticsDashboardResponse, GetListingContentMetadataRequest, GetListingContentMetadataResponse, GetListingRequest, GetListingResponse, GetListingsResponse, GetPersonalizationRequestsForConsumerRequest, GetPersonalizationRequestsForConsumerResponse, GetPersonalizationRequestsForProviderRequest, GetPersonalizationRequestsForProviderResponse, GetProviderRequest, GetProviderResponse, GetPublishedListingForConsumerRequest, GetPublishedListingForConsumerResponse, GetPublishedListingsForConsumerResponse, GetPublishedProviderForConsumerRequest, GetPublishedProviderForConsumerResponse, InstallationDetail, ListAllInstallationsResponse, ListExchangeFiltersRequest, ListExchangeFiltersResponse, ListExchangesForListingRequest, ListExchangesForListingResponse, ListExchangesRequest, ListExchangesResponse, ListFilesRequest, ListFilesResponse, ListFulfillmentsResponse, ListInstallationsRequest, ListInstallationsResponse, ListListingFulfillmentsRequest, ListListingsForExchangeRequest, ListListingsForExchangeResponse, ListListingsRequest, ListPersonalizationRequestsForConsumerRequest, ListProviderAnalyticsDashboardRequest, ListProviderAnalyticsDashboardResponse, ListProvidersRequest, ListProvidersResponse, ListPublishedListingsForConsumerRequest, ListPublishedProvidersForConsumerRequest, ListPublishedProvidersForConsumerResponse, Listing, ListingFulfillment, PersonalizationRequest, ProviderInfo, RemoveExchangeForListingRequest, RemoveExchangeForListingResponse, SearchPublishedListingsForConsumerRequest, SearchPublishedListingsForConsumerResponse, SharedDataObject, UpdateExchangeFilterRequest, UpdateExchangeFilterResponse, UpdateExchangeRequest, UpdateExchangeResponse, UpdateInstallationRequest, UpdateInstallationResponse, UpdateListingRequest, UpdateListingResponse, UpdatePersonalizationRequestStatusRequest, UpdatePersonalizationRequestStatusResponse, UpdateProviderAnalyticsDashboardRequest, UpdateProviderAnalyticsDashboardResponse, UpdateProviderRequest, UpdateProviderResponse } from './model';
|
|
4
4
|
export declare class MarketplacesClient {
|
|
5
5
|
private readonly options;
|
|
6
6
|
private readonly logger;
|
|
@@ -15,19 +15,19 @@ export declare class MarketplacesClient {
|
|
|
15
15
|
/** Create a personalization request for a listing. */
|
|
16
16
|
createPersonalizationRequest(req: CreatePersonalizationRequest, options?: CallOptions): Promise<CreatePersonalizationResponse>;
|
|
17
17
|
/** List all installations for a particular listing. */
|
|
18
|
-
getInstallationDetails(req:
|
|
19
|
-
getInstallationDetailsIter(req:
|
|
18
|
+
getInstallationDetails(req: GetInstallationDetailsRequest, options?: CallOptions): Promise<ListInstallationsResponse>;
|
|
19
|
+
getInstallationDetailsIter(req: GetInstallationDetailsRequest, options?: CallOptions): AsyncGenerator<InstallationDetail>;
|
|
20
20
|
/** Get a high level preview of the metadata of listing installable content. */
|
|
21
|
-
getListingContent(req:
|
|
22
|
-
getListingContentIter(req:
|
|
21
|
+
getListingContent(req: GetListingContentMetadataRequest, options?: CallOptions): Promise<GetListingContentMetadataResponse>;
|
|
22
|
+
getListingContentIter(req: GetListingContentMetadataRequest, options?: CallOptions): AsyncGenerator<SharedDataObject>;
|
|
23
23
|
/** Get the personalization request for a listing. Each consumer can make at *most* one personalization request for a listing. */
|
|
24
|
-
getPersonalizationRequestsForConsumer(req:
|
|
24
|
+
getPersonalizationRequestsForConsumer(req: GetPersonalizationRequestsForConsumerRequest, options?: CallOptions): Promise<GetPersonalizationRequestsForConsumerResponse>;
|
|
25
25
|
/** Get a published listing in the Databricks Marketplace that the consumer has access to. */
|
|
26
|
-
getPublishedListingForConsumer(req:
|
|
26
|
+
getPublishedListingForConsumer(req: GetPublishedListingForConsumerRequest, options?: CallOptions): Promise<GetPublishedListingForConsumerResponse>;
|
|
27
27
|
/** Get a provider in the Databricks Marketplace with at least one visible listing. */
|
|
28
|
-
getPublishedProviderForConsumer(req:
|
|
28
|
+
getPublishedProviderForConsumer(req: GetPublishedProviderForConsumerRequest, options?: CallOptions): Promise<GetPublishedProviderForConsumerResponse>;
|
|
29
29
|
/** Install payload associated with a Databricks Marketplace listing. */
|
|
30
|
-
installListing(req:
|
|
30
|
+
installListing(req: CreateInstallationRequest, options?: CallOptions): Promise<CreateInstallationResponse>;
|
|
31
31
|
/** List all installations across all listings. */
|
|
32
32
|
listInstallations(req: ListInstallationsRequest, options?: CallOptions): Promise<ListAllInstallationsResponse>;
|
|
33
33
|
listInstallationsIter(req: ListInstallationsRequest, options?: CallOptions): AsyncGenerator<InstallationDetail>;
|
|
@@ -45,23 +45,23 @@ export declare class MarketplacesClient {
|
|
|
45
45
|
listPublishedListingsForConsumer(req: ListPublishedListingsForConsumerRequest, options?: CallOptions): Promise<GetPublishedListingsForConsumerResponse>;
|
|
46
46
|
listPublishedListingsForConsumerIter(req: ListPublishedListingsForConsumerRequest, options?: CallOptions): AsyncGenerator<Listing>;
|
|
47
47
|
/** List all providers in the Databricks Marketplace with at least one visible listing. */
|
|
48
|
-
listPublishedProvidersForConsumer(req:
|
|
49
|
-
listPublishedProvidersForConsumerIter(req:
|
|
48
|
+
listPublishedProvidersForConsumer(req: ListPublishedProvidersForConsumerRequest, options?: CallOptions): Promise<ListPublishedProvidersForConsumerResponse>;
|
|
49
|
+
listPublishedProvidersForConsumerIter(req: ListPublishedProvidersForConsumerRequest, options?: CallOptions): AsyncGenerator<ProviderInfo>;
|
|
50
50
|
/**
|
|
51
51
|
* Search published listings in the Databricks Marketplace that the consumer has access to.
|
|
52
52
|
* This query supports a variety of different search parameters and performs fuzzy matching.
|
|
53
53
|
*/
|
|
54
|
-
searchPublishedListingsForConsumer(req:
|
|
55
|
-
searchPublishedListingsForConsumerIter(req:
|
|
54
|
+
searchPublishedListingsForConsumer(req: SearchPublishedListingsForConsumerRequest, options?: CallOptions): Promise<SearchPublishedListingsForConsumerResponse>;
|
|
55
|
+
searchPublishedListingsForConsumerIter(req: SearchPublishedListingsForConsumerRequest, options?: CallOptions): AsyncGenerator<Listing>;
|
|
56
56
|
/** Uninstall an installation associated with a Databricks Marketplace listing. */
|
|
57
|
-
uninstallListing(req:
|
|
57
|
+
uninstallListing(req: DeleteInstallationRequest, options?: CallOptions): Promise<DeleteInstallationResponse>;
|
|
58
58
|
/**
|
|
59
59
|
* This is a update API that will update the part of the fields defined in the installation table as well
|
|
60
60
|
* as interact with external services according to the fields not included in the installation table
|
|
61
61
|
* 1. the token will be rotate if the rotateToken flag is true
|
|
62
62
|
* 2. the token will be forcibly rotate if the rotateToken flag is true and the tokenInfo field is empty
|
|
63
63
|
*/
|
|
64
|
-
updateInstallationDetail(req:
|
|
64
|
+
updateInstallationDetail(req: UpdateInstallationRequest, options?: CallOptions): Promise<UpdateInstallationResponse>;
|
|
65
65
|
/** Associate an exchange with a listing */
|
|
66
66
|
addExchangeForListing(req: AddExchangeForListingRequest, options?: CallOptions): Promise<AddExchangeForListingResponse>;
|
|
67
67
|
/** Create an exchange */
|
package/dist/v1/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/v1/client.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAYlE,OAAO,KAAK,EACV,4BAA4B,EAC5B,6BAA6B,EAC7B,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,yBAAyB,EACzB,2BAA2B,EAC3B,4BAA4B,EAC5B,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,4BAA4B,EAC5B,6BAA6B,EAC7B,uCAAuC,EACvC,wCAAwC,EACxC,qBAAqB,EACrB,sBAAsB,EACtB,2BAA2B,EAC3B,4BAA4B,EAC5B,qBAAqB,EACrB,sBAAsB,EACtB,iBAAiB,EACjB,kBAAkB,EAClB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,QAAQ,EACR,cAAc,EACd,eAAe,EACf,QAAQ,EACR,gDAAgD,EAChD,kBAAkB,EAClB,mBAAmB,EACnB,cAAc,EACd,eAAe,EACf,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/v1/client.ts"],"names":[],"mappings":"A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CACjB,GAAG,EAAE,oBAAoB,EACzB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,qBAAqB,CAAC;IAkC1B,iBAAiB,CACtB,GAAG,EAAE,oBAAoB,EACzB,OAAO,CAAC,EAAE,WAAW,GACpB,cAAc,CAAC,YAAY,CAAC;IAc/B,8CAA8C;IACxC,wBAAwB,CAC5B,GAAG,EAAE,+BAA+B,EACpC,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,gCAAgC,CAAC;IA4B5C,yBAAyB;IACnB,cAAc,CAClB,GAAG,EAAE,qBAAqB,EAC1B,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,sBAAsB,CAAC;IA0BlC,iCAAiC;IAC3B,oBAAoB,CACxB,GAAG,EAAE,2BAA2B,EAChC,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,4BAA4B,CAAC;IA6BxC,uBAAuB;IACjB,aAAa,CACjB,GAAG,EAAE,oBAAoB,EACzB,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,qBAAqB,CAAC;IA0BjC,mGAAmG;IAC7F,kCAAkC,CACtC,GAAG,EAAE,yCAAyC,EAC9C,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,0CAA0C,CAAC;IAgCtD,8BAA8B;IACxB,cAAc,CAClB,GAAG,EAAE,qBAAqB,EAC1B,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,sBAAsB,CAAC;IA0BlC,2CAA2C;IACrC,gCAAgC,CACpC,GAAG,EAAE,uCAAuC,EAC5C,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,wCAAwC,CAAC;CA+BrD"}
|
package/dist/v1/client.js
CHANGED
|
@@ -5,7 +5,7 @@ import { NoOpLogger } from '@databricks/sdk-core/logger';
|
|
|
5
5
|
import { resolveClientConfig } from './transport';
|
|
6
6
|
import { buildHttpRequest, executeCall, executeHttpCall, marshalRequest, parseResponse, flattenQueryParams, } from './utils';
|
|
7
7
|
import pkgJson from '../../package.json' with { type: 'json' };
|
|
8
|
-
import { marshalAddExchangeForListingRequestSchema, marshalCreateExchangeFilterRequestSchema, marshalCreateExchangeRequestSchema, marshalCreateFileRequestSchema, marshalCreateListingRequestSchema, marshalCreatePersonalizationRequestSchema, marshalCreateProviderAnalyticsDashboardRequestSchema, marshalCreateProviderRequestSchema, marshalFileParentSchema,
|
|
8
|
+
import { marshalAddExchangeForListingRequestSchema, marshalCreateExchangeFilterRequestSchema, marshalCreateExchangeRequestSchema, marshalCreateFileRequestSchema, marshalCreateInstallationRequestSchema, marshalCreateListingRequestSchema, marshalCreatePersonalizationRequestSchema, marshalCreateProviderAnalyticsDashboardRequestSchema, marshalCreateProviderRequestSchema, marshalFileParentSchema, marshalListingTagSchema, marshalUpdateExchangeFilterRequestSchema, marshalUpdateExchangeRequestSchema, marshalUpdateInstallationRequestSchema, marshalUpdateListingRequestSchema, marshalUpdatePersonalizationRequestStatusRequestSchema, marshalUpdateProviderAnalyticsDashboardRequestSchema, marshalUpdateProviderRequestSchema, unmarshalAddExchangeForListingResponseSchema, unmarshalBatchGetListingsResponseSchema, unmarshalBatchGetProvidersResponseSchema, unmarshalCreateExchangeFilterResponseSchema, unmarshalCreateExchangeResponseSchema, unmarshalCreateFileResponseSchema, unmarshalCreateInstallationResponseSchema, unmarshalCreateListingResponseSchema, unmarshalCreatePersonalizationResponseSchema, unmarshalCreateProviderAnalyticsDashboardResponseSchema, unmarshalCreateProviderResponseSchema, unmarshalDeleteExchangeFilterResponseSchema, unmarshalDeleteExchangeResponseSchema, unmarshalDeleteFileResponseSchema, unmarshalDeleteInstallationResponseSchema, unmarshalDeleteListingResponseSchema, unmarshalDeleteProviderResponseSchema, unmarshalGetAllPersonalizationRequestsForConsumerResponseSchema, unmarshalGetExchangeResponseSchema, unmarshalGetFileResponseSchema, unmarshalGetLatestVersionProviderAnalyticsDashboardResponseSchema, unmarshalGetListingContentMetadataResponseSchema, unmarshalGetListingResponseSchema, unmarshalGetListingsResponseSchema, unmarshalGetPersonalizationRequestsForConsumerResponseSchema, unmarshalGetPersonalizationRequestsForProviderResponseSchema, unmarshalGetProviderResponseSchema, unmarshalGetPublishedListingForConsumerResponseSchema, unmarshalGetPublishedListingsForConsumerResponseSchema, unmarshalGetPublishedProviderForConsumerResponseSchema, unmarshalListAllInstallationsResponseSchema, unmarshalListExchangeFiltersResponseSchema, unmarshalListExchangesForListingResponseSchema, unmarshalListExchangesResponseSchema, unmarshalListFilesResponseSchema, unmarshalListFulfillmentsResponseSchema, unmarshalListInstallationsResponseSchema, unmarshalListListingsForExchangeResponseSchema, unmarshalListProviderAnalyticsDashboardResponseSchema, unmarshalListProvidersResponseSchema, unmarshalListPublishedProvidersForConsumerResponseSchema, unmarshalRemoveExchangeForListingResponseSchema, unmarshalSearchPublishedListingsForConsumerResponseSchema, unmarshalUpdateExchangeFilterResponseSchema, unmarshalUpdateExchangeResponseSchema, unmarshalUpdateInstallationResponseSchema, unmarshalUpdateListingResponseSchema, unmarshalUpdatePersonalizationRequestStatusResponseSchema, unmarshalUpdateProviderAnalyticsDashboardResponseSchema, unmarshalUpdateProviderResponseSchema, } from './model';
|
|
9
9
|
// Package identity segment for this client to be used in the User-Agent header.
|
|
10
10
|
const PACKAGE_SEGMENT = {
|
|
11
11
|
key: 'sdk-js-' + pkgJson.name.replace(/^@[^/]+\/sdk-/, ''),
|
|
@@ -49,7 +49,7 @@ export class MarketplacesClient {
|
|
|
49
49
|
const call = async (callSignal) => {
|
|
50
50
|
const headers = new Headers();
|
|
51
51
|
if (workspaceId !== undefined) {
|
|
52
|
-
headers.set('X-Databricks-
|
|
52
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
53
53
|
}
|
|
54
54
|
headers.set('User-Agent', this.userAgent);
|
|
55
55
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -80,7 +80,7 @@ export class MarketplacesClient {
|
|
|
80
80
|
const call = async (callSignal) => {
|
|
81
81
|
const headers = new Headers();
|
|
82
82
|
if (workspaceId !== undefined) {
|
|
83
|
-
headers.set('X-Databricks-
|
|
83
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
84
84
|
}
|
|
85
85
|
headers.set('User-Agent', this.userAgent);
|
|
86
86
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -106,7 +106,7 @@ export class MarketplacesClient {
|
|
|
106
106
|
const call = async (callSignal) => {
|
|
107
107
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
108
108
|
if (workspaceId !== undefined) {
|
|
109
|
-
headers.set('X-Databricks-
|
|
109
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
110
110
|
}
|
|
111
111
|
headers.set('User-Agent', this.userAgent);
|
|
112
112
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -140,7 +140,7 @@ export class MarketplacesClient {
|
|
|
140
140
|
const call = async (callSignal) => {
|
|
141
141
|
const headers = new Headers();
|
|
142
142
|
if (workspaceId !== undefined) {
|
|
143
|
-
headers.set('X-Databricks-
|
|
143
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
144
144
|
}
|
|
145
145
|
headers.set('User-Agent', this.userAgent);
|
|
146
146
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -187,7 +187,7 @@ export class MarketplacesClient {
|
|
|
187
187
|
const call = async (callSignal) => {
|
|
188
188
|
const headers = new Headers();
|
|
189
189
|
if (workspaceId !== undefined) {
|
|
190
|
-
headers.set('X-Databricks-
|
|
190
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
191
191
|
}
|
|
192
192
|
headers.set('User-Agent', this.userAgent);
|
|
193
193
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -225,7 +225,7 @@ export class MarketplacesClient {
|
|
|
225
225
|
const call = async (callSignal) => {
|
|
226
226
|
const headers = new Headers();
|
|
227
227
|
if (workspaceId !== undefined) {
|
|
228
|
-
headers.set('X-Databricks-
|
|
228
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
229
229
|
}
|
|
230
230
|
headers.set('User-Agent', this.userAgent);
|
|
231
231
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -250,7 +250,7 @@ export class MarketplacesClient {
|
|
|
250
250
|
const call = async (callSignal) => {
|
|
251
251
|
const headers = new Headers();
|
|
252
252
|
if (workspaceId !== undefined) {
|
|
253
|
-
headers.set('X-Databricks-
|
|
253
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
254
254
|
}
|
|
255
255
|
headers.set('User-Agent', this.userAgent);
|
|
256
256
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -275,7 +275,7 @@ export class MarketplacesClient {
|
|
|
275
275
|
const call = async (callSignal) => {
|
|
276
276
|
const headers = new Headers();
|
|
277
277
|
if (workspaceId !== undefined) {
|
|
278
|
-
headers.set('X-Databricks-
|
|
278
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
279
279
|
}
|
|
280
280
|
headers.set('User-Agent', this.userAgent);
|
|
281
281
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -296,12 +296,12 @@ export class MarketplacesClient {
|
|
|
296
296
|
async installListing(req, options) {
|
|
297
297
|
const { host, workspaceId, httpClient } = await this.resolveConfig();
|
|
298
298
|
const url = `${host}/api/2.0/marketplace-consumer/listings/${req.listingId ?? ''}/installations`;
|
|
299
|
-
const body = marshalRequest(req,
|
|
299
|
+
const body = marshalRequest(req, marshalCreateInstallationRequestSchema);
|
|
300
300
|
let resp;
|
|
301
301
|
const call = async (callSignal) => {
|
|
302
302
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
303
303
|
if (workspaceId !== undefined) {
|
|
304
|
-
headers.set('X-Databricks-
|
|
304
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
305
305
|
}
|
|
306
306
|
headers.set('User-Agent', this.userAgent);
|
|
307
307
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -335,7 +335,7 @@ export class MarketplacesClient {
|
|
|
335
335
|
const call = async (callSignal) => {
|
|
336
336
|
const headers = new Headers();
|
|
337
337
|
if (workspaceId !== undefined) {
|
|
338
|
-
headers.set('X-Databricks-
|
|
338
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
339
339
|
}
|
|
340
340
|
headers.set('User-Agent', this.userAgent);
|
|
341
341
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -386,7 +386,7 @@ export class MarketplacesClient {
|
|
|
386
386
|
const call = async (callSignal) => {
|
|
387
387
|
const headers = new Headers();
|
|
388
388
|
if (workspaceId !== undefined) {
|
|
389
|
-
headers.set('X-Databricks-
|
|
389
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
390
390
|
}
|
|
391
391
|
headers.set('User-Agent', this.userAgent);
|
|
392
392
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -433,7 +433,7 @@ export class MarketplacesClient {
|
|
|
433
433
|
const call = async (callSignal) => {
|
|
434
434
|
const headers = new Headers();
|
|
435
435
|
if (workspaceId !== undefined) {
|
|
436
|
-
headers.set('X-Databricks-
|
|
436
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
437
437
|
}
|
|
438
438
|
headers.set('User-Agent', this.userAgent);
|
|
439
439
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -501,7 +501,7 @@ export class MarketplacesClient {
|
|
|
501
501
|
const call = async (callSignal) => {
|
|
502
502
|
const headers = new Headers();
|
|
503
503
|
if (workspaceId !== undefined) {
|
|
504
|
-
headers.set('X-Databricks-
|
|
504
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
505
505
|
}
|
|
506
506
|
headers.set('User-Agent', this.userAgent);
|
|
507
507
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -551,7 +551,7 @@ export class MarketplacesClient {
|
|
|
551
551
|
const call = async (callSignal) => {
|
|
552
552
|
const headers = new Headers();
|
|
553
553
|
if (workspaceId !== undefined) {
|
|
554
|
-
headers.set('X-Databricks-
|
|
554
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
555
555
|
}
|
|
556
556
|
headers.set('User-Agent', this.userAgent);
|
|
557
557
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -619,7 +619,7 @@ export class MarketplacesClient {
|
|
|
619
619
|
const call = async (callSignal) => {
|
|
620
620
|
const headers = new Headers();
|
|
621
621
|
if (workspaceId !== undefined) {
|
|
622
|
-
headers.set('X-Databricks-
|
|
622
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
623
623
|
}
|
|
624
624
|
headers.set('User-Agent', this.userAgent);
|
|
625
625
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -657,7 +657,7 @@ export class MarketplacesClient {
|
|
|
657
657
|
const call = async (callSignal) => {
|
|
658
658
|
const headers = new Headers();
|
|
659
659
|
if (workspaceId !== undefined) {
|
|
660
|
-
headers.set('X-Databricks-
|
|
660
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
661
661
|
}
|
|
662
662
|
headers.set('User-Agent', this.userAgent);
|
|
663
663
|
const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);
|
|
@@ -683,12 +683,12 @@ export class MarketplacesClient {
|
|
|
683
683
|
async updateInstallationDetail(req, options) {
|
|
684
684
|
const { host, workspaceId, httpClient } = await this.resolveConfig();
|
|
685
685
|
const url = `${host}/api/2.0/marketplace-consumer/listings/${req.listingId ?? ''}/installations/${req.installationId ?? ''}`;
|
|
686
|
-
const body = marshalRequest(req,
|
|
686
|
+
const body = marshalRequest(req, marshalUpdateInstallationRequestSchema);
|
|
687
687
|
let resp;
|
|
688
688
|
const call = async (callSignal) => {
|
|
689
689
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
690
690
|
if (workspaceId !== undefined) {
|
|
691
|
-
headers.set('X-Databricks-
|
|
691
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
692
692
|
}
|
|
693
693
|
headers.set('User-Agent', this.userAgent);
|
|
694
694
|
const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);
|
|
@@ -714,7 +714,7 @@ export class MarketplacesClient {
|
|
|
714
714
|
const call = async (callSignal) => {
|
|
715
715
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
716
716
|
if (workspaceId !== undefined) {
|
|
717
|
-
headers.set('X-Databricks-
|
|
717
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
718
718
|
}
|
|
719
719
|
headers.set('User-Agent', this.userAgent);
|
|
720
720
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -740,7 +740,7 @@ export class MarketplacesClient {
|
|
|
740
740
|
const call = async (callSignal) => {
|
|
741
741
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
742
742
|
if (workspaceId !== undefined) {
|
|
743
|
-
headers.set('X-Databricks-
|
|
743
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
744
744
|
}
|
|
745
745
|
headers.set('User-Agent', this.userAgent);
|
|
746
746
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -766,7 +766,7 @@ export class MarketplacesClient {
|
|
|
766
766
|
const call = async (callSignal) => {
|
|
767
767
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
768
768
|
if (workspaceId !== undefined) {
|
|
769
|
-
headers.set('X-Databricks-
|
|
769
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
770
770
|
}
|
|
771
771
|
headers.set('User-Agent', this.userAgent);
|
|
772
772
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -792,7 +792,7 @@ export class MarketplacesClient {
|
|
|
792
792
|
const call = async (callSignal) => {
|
|
793
793
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
794
794
|
if (workspaceId !== undefined) {
|
|
795
|
-
headers.set('X-Databricks-
|
|
795
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
796
796
|
}
|
|
797
797
|
headers.set('User-Agent', this.userAgent);
|
|
798
798
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -818,7 +818,7 @@ export class MarketplacesClient {
|
|
|
818
818
|
const call = async (callSignal) => {
|
|
819
819
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
820
820
|
if (workspaceId !== undefined) {
|
|
821
|
-
headers.set('X-Databricks-
|
|
821
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
822
822
|
}
|
|
823
823
|
headers.set('User-Agent', this.userAgent);
|
|
824
824
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -844,7 +844,7 @@ export class MarketplacesClient {
|
|
|
844
844
|
const call = async (callSignal) => {
|
|
845
845
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
846
846
|
if (workspaceId !== undefined) {
|
|
847
|
-
headers.set('X-Databricks-
|
|
847
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
848
848
|
}
|
|
849
849
|
headers.set('User-Agent', this.userAgent);
|
|
850
850
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -870,7 +870,7 @@ export class MarketplacesClient {
|
|
|
870
870
|
const call = async (callSignal) => {
|
|
871
871
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
872
872
|
if (workspaceId !== undefined) {
|
|
873
|
-
headers.set('X-Databricks-
|
|
873
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
874
874
|
}
|
|
875
875
|
headers.set('User-Agent', this.userAgent);
|
|
876
876
|
const httpReq = buildHttpRequest('POST', url, headers, callSignal, body);
|
|
@@ -895,7 +895,7 @@ export class MarketplacesClient {
|
|
|
895
895
|
const call = async (callSignal) => {
|
|
896
896
|
const headers = new Headers();
|
|
897
897
|
if (workspaceId !== undefined) {
|
|
898
|
-
headers.set('X-Databricks-
|
|
898
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
899
899
|
}
|
|
900
900
|
headers.set('User-Agent', this.userAgent);
|
|
901
901
|
const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);
|
|
@@ -920,7 +920,7 @@ export class MarketplacesClient {
|
|
|
920
920
|
const call = async (callSignal) => {
|
|
921
921
|
const headers = new Headers();
|
|
922
922
|
if (workspaceId !== undefined) {
|
|
923
|
-
headers.set('X-Databricks-
|
|
923
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
924
924
|
}
|
|
925
925
|
headers.set('User-Agent', this.userAgent);
|
|
926
926
|
const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);
|
|
@@ -945,7 +945,7 @@ export class MarketplacesClient {
|
|
|
945
945
|
const call = async (callSignal) => {
|
|
946
946
|
const headers = new Headers();
|
|
947
947
|
if (workspaceId !== undefined) {
|
|
948
|
-
headers.set('X-Databricks-
|
|
948
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
949
949
|
}
|
|
950
950
|
headers.set('User-Agent', this.userAgent);
|
|
951
951
|
const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);
|
|
@@ -970,7 +970,7 @@ export class MarketplacesClient {
|
|
|
970
970
|
const call = async (callSignal) => {
|
|
971
971
|
const headers = new Headers();
|
|
972
972
|
if (workspaceId !== undefined) {
|
|
973
|
-
headers.set('X-Databricks-
|
|
973
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
974
974
|
}
|
|
975
975
|
headers.set('User-Agent', this.userAgent);
|
|
976
976
|
const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);
|
|
@@ -995,7 +995,7 @@ export class MarketplacesClient {
|
|
|
995
995
|
const call = async (callSignal) => {
|
|
996
996
|
const headers = new Headers();
|
|
997
997
|
if (workspaceId !== undefined) {
|
|
998
|
-
headers.set('X-Databricks-
|
|
998
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
999
999
|
}
|
|
1000
1000
|
headers.set('User-Agent', this.userAgent);
|
|
1001
1001
|
const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);
|
|
@@ -1020,7 +1020,7 @@ export class MarketplacesClient {
|
|
|
1020
1020
|
const call = async (callSignal) => {
|
|
1021
1021
|
const headers = new Headers();
|
|
1022
1022
|
if (workspaceId !== undefined) {
|
|
1023
|
-
headers.set('X-Databricks-
|
|
1023
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1024
1024
|
}
|
|
1025
1025
|
headers.set('User-Agent', this.userAgent);
|
|
1026
1026
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -1045,7 +1045,7 @@ export class MarketplacesClient {
|
|
|
1045
1045
|
const call = async (callSignal) => {
|
|
1046
1046
|
const headers = new Headers();
|
|
1047
1047
|
if (workspaceId !== undefined) {
|
|
1048
|
-
headers.set('X-Databricks-
|
|
1048
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1049
1049
|
}
|
|
1050
1050
|
headers.set('User-Agent', this.userAgent);
|
|
1051
1051
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -1070,7 +1070,7 @@ export class MarketplacesClient {
|
|
|
1070
1070
|
const call = async (callSignal) => {
|
|
1071
1071
|
const headers = new Headers();
|
|
1072
1072
|
if (workspaceId !== undefined) {
|
|
1073
|
-
headers.set('X-Databricks-
|
|
1073
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1074
1074
|
}
|
|
1075
1075
|
headers.set('User-Agent', this.userAgent);
|
|
1076
1076
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -1095,7 +1095,7 @@ export class MarketplacesClient {
|
|
|
1095
1095
|
const call = async (callSignal) => {
|
|
1096
1096
|
const headers = new Headers();
|
|
1097
1097
|
if (workspaceId !== undefined) {
|
|
1098
|
-
headers.set('X-Databricks-
|
|
1098
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1099
1099
|
}
|
|
1100
1100
|
headers.set('User-Agent', this.userAgent);
|
|
1101
1101
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -1132,7 +1132,7 @@ export class MarketplacesClient {
|
|
|
1132
1132
|
const call = async (callSignal) => {
|
|
1133
1133
|
const headers = new Headers();
|
|
1134
1134
|
if (workspaceId !== undefined) {
|
|
1135
|
-
headers.set('X-Databricks-
|
|
1135
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1136
1136
|
}
|
|
1137
1137
|
headers.set('User-Agent', this.userAgent);
|
|
1138
1138
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1170,7 +1170,7 @@ export class MarketplacesClient {
|
|
|
1170
1170
|
const call = async (callSignal) => {
|
|
1171
1171
|
const headers = new Headers();
|
|
1172
1172
|
if (workspaceId !== undefined) {
|
|
1173
|
-
headers.set('X-Databricks-
|
|
1173
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1174
1174
|
}
|
|
1175
1175
|
headers.set('User-Agent', this.userAgent);
|
|
1176
1176
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -1207,7 +1207,7 @@ export class MarketplacesClient {
|
|
|
1207
1207
|
const call = async (callSignal) => {
|
|
1208
1208
|
const headers = new Headers();
|
|
1209
1209
|
if (workspaceId !== undefined) {
|
|
1210
|
-
headers.set('X-Databricks-
|
|
1210
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1211
1211
|
}
|
|
1212
1212
|
headers.set('User-Agent', this.userAgent);
|
|
1213
1213
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1254,7 +1254,7 @@ export class MarketplacesClient {
|
|
|
1254
1254
|
const call = async (callSignal) => {
|
|
1255
1255
|
const headers = new Headers();
|
|
1256
1256
|
if (workspaceId !== undefined) {
|
|
1257
|
-
headers.set('X-Databricks-
|
|
1257
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1258
1258
|
}
|
|
1259
1259
|
headers.set('User-Agent', this.userAgent);
|
|
1260
1260
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1304,7 +1304,7 @@ export class MarketplacesClient {
|
|
|
1304
1304
|
const call = async (callSignal) => {
|
|
1305
1305
|
const headers = new Headers();
|
|
1306
1306
|
if (workspaceId !== undefined) {
|
|
1307
|
-
headers.set('X-Databricks-
|
|
1307
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1308
1308
|
}
|
|
1309
1309
|
headers.set('User-Agent', this.userAgent);
|
|
1310
1310
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1354,7 +1354,7 @@ export class MarketplacesClient {
|
|
|
1354
1354
|
const call = async (callSignal) => {
|
|
1355
1355
|
const headers = new Headers();
|
|
1356
1356
|
if (workspaceId !== undefined) {
|
|
1357
|
-
headers.set('X-Databricks-
|
|
1357
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1358
1358
|
}
|
|
1359
1359
|
headers.set('User-Agent', this.userAgent);
|
|
1360
1360
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1401,7 +1401,7 @@ export class MarketplacesClient {
|
|
|
1401
1401
|
const call = async (callSignal) => {
|
|
1402
1402
|
const headers = new Headers();
|
|
1403
1403
|
if (workspaceId !== undefined) {
|
|
1404
|
-
headers.set('X-Databricks-
|
|
1404
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1405
1405
|
}
|
|
1406
1406
|
headers.set('User-Agent', this.userAgent);
|
|
1407
1407
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1451,7 +1451,7 @@ export class MarketplacesClient {
|
|
|
1451
1451
|
const call = async (callSignal) => {
|
|
1452
1452
|
const headers = new Headers();
|
|
1453
1453
|
if (workspaceId !== undefined) {
|
|
1454
|
-
headers.set('X-Databricks-
|
|
1454
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1455
1455
|
}
|
|
1456
1456
|
headers.set('User-Agent', this.userAgent);
|
|
1457
1457
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1489,7 +1489,7 @@ export class MarketplacesClient {
|
|
|
1489
1489
|
const call = async (callSignal) => {
|
|
1490
1490
|
const headers = new Headers();
|
|
1491
1491
|
if (workspaceId !== undefined) {
|
|
1492
|
-
headers.set('X-Databricks-
|
|
1492
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1493
1493
|
}
|
|
1494
1494
|
headers.set('User-Agent', this.userAgent);
|
|
1495
1495
|
const httpReq = buildHttpRequest('GET', url, headers, callSignal);
|
|
@@ -1523,7 +1523,7 @@ export class MarketplacesClient {
|
|
|
1523
1523
|
const call = async (callSignal) => {
|
|
1524
1524
|
const headers = new Headers();
|
|
1525
1525
|
if (workspaceId !== undefined) {
|
|
1526
|
-
headers.set('X-Databricks-
|
|
1526
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1527
1527
|
}
|
|
1528
1528
|
headers.set('User-Agent', this.userAgent);
|
|
1529
1529
|
const httpReq = buildHttpRequest('GET', fullUrl, headers, callSignal);
|
|
@@ -1561,7 +1561,7 @@ export class MarketplacesClient {
|
|
|
1561
1561
|
const call = async (callSignal) => {
|
|
1562
1562
|
const headers = new Headers();
|
|
1563
1563
|
if (workspaceId !== undefined) {
|
|
1564
|
-
headers.set('X-Databricks-
|
|
1564
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1565
1565
|
}
|
|
1566
1566
|
headers.set('User-Agent', this.userAgent);
|
|
1567
1567
|
const httpReq = buildHttpRequest('DELETE', url, headers, callSignal);
|
|
@@ -1587,7 +1587,7 @@ export class MarketplacesClient {
|
|
|
1587
1587
|
const call = async (callSignal) => {
|
|
1588
1588
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
1589
1589
|
if (workspaceId !== undefined) {
|
|
1590
|
-
headers.set('X-Databricks-
|
|
1590
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1591
1591
|
}
|
|
1592
1592
|
headers.set('User-Agent', this.userAgent);
|
|
1593
1593
|
const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);
|
|
@@ -1613,7 +1613,7 @@ export class MarketplacesClient {
|
|
|
1613
1613
|
const call = async (callSignal) => {
|
|
1614
1614
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
1615
1615
|
if (workspaceId !== undefined) {
|
|
1616
|
-
headers.set('X-Databricks-
|
|
1616
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1617
1617
|
}
|
|
1618
1618
|
headers.set('User-Agent', this.userAgent);
|
|
1619
1619
|
const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);
|
|
@@ -1639,7 +1639,7 @@ export class MarketplacesClient {
|
|
|
1639
1639
|
const call = async (callSignal) => {
|
|
1640
1640
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
1641
1641
|
if (workspaceId !== undefined) {
|
|
1642
|
-
headers.set('X-Databricks-
|
|
1642
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1643
1643
|
}
|
|
1644
1644
|
headers.set('User-Agent', this.userAgent);
|
|
1645
1645
|
const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);
|
|
@@ -1665,7 +1665,7 @@ export class MarketplacesClient {
|
|
|
1665
1665
|
const call = async (callSignal) => {
|
|
1666
1666
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
1667
1667
|
if (workspaceId !== undefined) {
|
|
1668
|
-
headers.set('X-Databricks-
|
|
1668
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1669
1669
|
}
|
|
1670
1670
|
headers.set('User-Agent', this.userAgent);
|
|
1671
1671
|
const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);
|
|
@@ -1691,7 +1691,7 @@ export class MarketplacesClient {
|
|
|
1691
1691
|
const call = async (callSignal) => {
|
|
1692
1692
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
1693
1693
|
if (workspaceId !== undefined) {
|
|
1694
|
-
headers.set('X-Databricks-
|
|
1694
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1695
1695
|
}
|
|
1696
1696
|
headers.set('User-Agent', this.userAgent);
|
|
1697
1697
|
const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);
|
|
@@ -1717,7 +1717,7 @@ export class MarketplacesClient {
|
|
|
1717
1717
|
const call = async (callSignal) => {
|
|
1718
1718
|
const headers = new Headers({ 'Content-Type': 'application/json' });
|
|
1719
1719
|
if (workspaceId !== undefined) {
|
|
1720
|
-
headers.set('X-Databricks-
|
|
1720
|
+
headers.set('X-Databricks-Workspace-Id', workspaceId);
|
|
1721
1721
|
}
|
|
1722
1722
|
headers.set('User-Agent', this.userAgent);
|
|
1723
1723
|
const httpReq = buildHttpRequest('PUT', url, headers, callSignal, body);
|