@databricks/sdk-pipelines 0.34.0 → 0.36.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.
@@ -0,0 +1,7 @@
1
+ //#region package.json
2
+ var name = "@databricks/sdk-pipelines";
3
+ var version = "0.36.0";
4
+
5
+ //#endregion
6
+ export { name, version };
7
+ //# sourceMappingURL=package.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"package.js","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
@@ -1,68 +1,72 @@
1
- import type { CallOptions } from '@databricks/sdk-options/call';
2
- import type { ClientOptions } from '@databricks/sdk-options/client';
3
- import type { LroOptions } from '@databricks/sdk-options/lro';
4
- import type { ApplyEnvironmentRequest, ApplyEnvironmentResponse, ClonePipelineRequest, ClonePipelineResponse, CreatePipelineRequest, CreatePipelineResponse, DeletePipelineRequest, DeletePipelineResponse, EditPipelineRequest, EditPipelineResponse, GetPipelineRequest, GetPipelineResponse, GetUpdateRequest, GetUpdateResponse, ListPipelineEventsRequest, ListPipelineEventsResponse, ListPipelinesRequest, ListPipelinesResponse, ListUpdatesRequest, ListUpdatesResponse, PipelineEvent, PipelineStateInfo, StartUpdateRequest, StartUpdateResponse, StopPipelineRequest } from './model';
5
- export declare class PipelinesClient {
6
- private readonly options;
7
- private readonly logger;
8
- private readonly userAgent;
9
- private config;
10
- constructor(options: ClientOptions);
11
- private resolveConfig;
12
- /**
13
- * *
14
- * Applies the current pipeline environment onto the pipeline compute. The environment applied can be used by subsequent
15
- * dev-mode updates.
16
- */
17
- applyEnvironment(req: ApplyEnvironmentRequest, options?: CallOptions): Promise<ApplyEnvironmentResponse>;
18
- /**
19
- * Creates a new pipeline using Unity Catalog from a pipeline using Hive Metastore.
20
- * This method returns the ID of the newly created clone.
21
- * Additionally, this method starts an update for the newly created pipeline.
22
- */
23
- clone(req: ClonePipelineRequest, options?: CallOptions): Promise<ClonePipelineResponse>;
24
- /**
25
- * Creates a new data processing pipeline based on the requested configuration. If successful, this method returns
26
- * the ID of the new pipeline.
27
- */
28
- create(req: CreatePipelineRequest, options?: CallOptions): Promise<CreatePipelineResponse>;
29
- /**
30
- * Deletes a pipeline. If the pipeline publishes to Unity Catalog, pipeline deletion will cascade to
31
- * all pipeline tables. Please reach out to <Databricks> support for assistance to undo this action.
32
- */
33
- delete(req: DeletePipelineRequest, options?: CallOptions): Promise<DeletePipelineResponse>;
34
- /** Updates a pipeline with the supplied configuration. */
35
- edit(req: EditPipelineRequest, options?: CallOptions): Promise<EditPipelineResponse>;
36
- /** Retrieves events for a pipeline. */
37
- events(req: ListPipelineEventsRequest, options?: CallOptions): Promise<ListPipelineEventsResponse>;
38
- eventsIter(req: ListPipelineEventsRequest, options?: CallOptions): AsyncGenerator<PipelineEvent>;
39
- /** Get a pipeline. */
40
- get(req: GetPipelineRequest, options?: CallOptions): Promise<GetPipelineResponse>;
41
- /** Gets an update from an active pipeline. */
42
- getUpdate(req: GetUpdateRequest, options?: CallOptions): Promise<GetUpdateResponse>;
43
- /** Lists pipelines defined in the Spark Declarative Pipelines system. */
44
- list(req: ListPipelinesRequest, options?: CallOptions): Promise<ListPipelinesResponse>;
45
- listIter(req: ListPipelinesRequest, options?: CallOptions): AsyncGenerator<PipelineStateInfo>;
46
- /** List updates for an active pipeline. */
47
- listUpdates(req: ListUpdatesRequest, options?: CallOptions): Promise<ListUpdatesResponse>;
48
- /** Starts a new update for the pipeline. If there is already an active update for the pipeline, the request will fail and the active update will remain running. */
49
- start(req: StartUpdateRequest, options?: CallOptions): Promise<StartUpdateResponse>;
50
- /** Stops the pipeline by canceling the active update. If there is no active update for the pipeline, this request is a no-op. */
51
- private stopBase;
52
- /** Stops the pipeline by canceling the active update. If there is no active update for the pipeline, this request is a no-op. */
53
- stop(req: StopPipelineRequest, options?: CallOptions): Promise<StopWaiter>;
1
+ import { ApplyEnvironmentRequest, ApplyEnvironmentResponse, ClonePipelineRequest, ClonePipelineResponse, CreatePipelineRequest, CreatePipelineResponse, DeletePipelineRequest, DeletePipelineResponse, EditPipelineRequest, EditPipelineResponse, GetPipelineRequest, GetPipelineResponse, GetUpdateRequest, GetUpdateResponse, ListPipelineEventsRequest, ListPipelineEventsResponse, ListPipelinesRequest, ListPipelinesResponse, ListUpdatesRequest, ListUpdatesResponse, PipelineEvent, PipelineStateInfo, StartUpdateRequest, StartUpdateResponse, StopPipelineRequest } from "./model.js";
2
+ import { CallOptions } from "@databricks/sdk-options/call";
3
+ import { ClientOptions } from "@databricks/sdk-options/client";
4
+ import { LroOptions } from "@databricks/sdk-options/lro";
5
+
6
+ //#region src/v2/client.d.ts
7
+ declare class PipelinesClient {
8
+ private readonly options;
9
+ private readonly logger;
10
+ private readonly userAgent;
11
+ private config;
12
+ constructor(options: ClientOptions);
13
+ private resolveConfig;
14
+ /**
15
+ * *
16
+ * Applies the current pipeline environment onto the pipeline compute. The environment applied can be used by subsequent
17
+ * dev-mode updates.
18
+ */
19
+ applyEnvironment(req: ApplyEnvironmentRequest, options?: CallOptions): Promise<ApplyEnvironmentResponse>;
20
+ /**
21
+ * Creates a new pipeline using Unity Catalog from a pipeline using Hive Metastore.
22
+ * This method returns the ID of the newly created clone.
23
+ * Additionally, this method starts an update for the newly created pipeline.
24
+ */
25
+ clone(req: ClonePipelineRequest, options?: CallOptions): Promise<ClonePipelineResponse>;
26
+ /**
27
+ * Creates a new data processing pipeline based on the requested configuration. If successful, this method returns
28
+ * the ID of the new pipeline.
29
+ */
30
+ create(req: CreatePipelineRequest, options?: CallOptions): Promise<CreatePipelineResponse>;
31
+ /**
32
+ * Deletes a pipeline. If the pipeline publishes to Unity Catalog, pipeline deletion will cascade to
33
+ * all pipeline tables. Please reach out to <Databricks> support for assistance to undo this action.
34
+ */
35
+ delete(req: DeletePipelineRequest, options?: CallOptions): Promise<DeletePipelineResponse>;
36
+ /** Updates a pipeline with the supplied configuration. */
37
+ edit(req: EditPipelineRequest, options?: CallOptions): Promise<EditPipelineResponse>;
38
+ /** Retrieves events for a pipeline. */
39
+ events(req: ListPipelineEventsRequest, options?: CallOptions): Promise<ListPipelineEventsResponse>;
40
+ eventsIter(req: ListPipelineEventsRequest, options?: CallOptions): AsyncGenerator<PipelineEvent>;
41
+ /** Get a pipeline. */
42
+ get(req: GetPipelineRequest, options?: CallOptions): Promise<GetPipelineResponse>;
43
+ /** Gets an update from an active pipeline. */
44
+ getUpdate(req: GetUpdateRequest, options?: CallOptions): Promise<GetUpdateResponse>;
45
+ /** Lists pipelines defined in the Spark Declarative Pipelines system. */
46
+ list(req: ListPipelinesRequest, options?: CallOptions): Promise<ListPipelinesResponse>;
47
+ listIter(req: ListPipelinesRequest, options?: CallOptions): AsyncGenerator<PipelineStateInfo>;
48
+ /** List updates for an active pipeline. */
49
+ listUpdates(req: ListUpdatesRequest, options?: CallOptions): Promise<ListUpdatesResponse>;
50
+ /** Starts a new update for the pipeline. If there is already an active update for the pipeline, the request will fail and the active update will remain running. */
51
+ start(req: StartUpdateRequest, options?: CallOptions): Promise<StartUpdateResponse>;
52
+ /** Stops the pipeline by canceling the active update. If there is no active update for the pipeline, this request is a no-op. */
53
+ private stopBase;
54
+ /** Stops the pipeline by canceling the active update. If there is no active update for the pipeline, this request is a no-op. */
55
+ stop(req: StopPipelineRequest, options?: CallOptions): Promise<StopWaiter>;
54
56
  }
55
- export declare class StopWaiter {
56
- private readonly client;
57
- readonly pipelineId: string;
58
- constructor(client: PipelinesClient, pipelineId: string);
59
- /**
60
- * Polls until the operation reaches a terminal state.
61
- *
62
- * Throws if a failure state is reached.
63
- */
64
- wait(options?: LroOptions): Promise<GetPipelineResponse>;
65
- /** Checks whether the operation has reached a terminal state. */
66
- done(options?: CallOptions): Promise<boolean>;
57
+ declare class StopWaiter {
58
+ private readonly client;
59
+ readonly pipelineId: string;
60
+ constructor(client: PipelinesClient, pipelineId: string);
61
+ /**
62
+ * Polls until the operation reaches a terminal state.
63
+ *
64
+ * Throws if a failure state is reached.
65
+ */
66
+ wait(options?: LroOptions): Promise<GetPipelineResponse>;
67
+ /** Checks whether the operation has reached a terminal state. */
68
+ done(options?: CallOptions): Promise<boolean>;
67
69
  }
70
+ //#endregion
71
+ export { PipelinesClient, StopWaiter };
68
72
  //# sourceMappingURL=client.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../../src/v2/client.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,8BAA8B,CAAC;AAC9D,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,gCAAgC,CAAC;AAClE,OAAO,KAAK,EAAC,UAAU,EAAC,MAAM,6BAA6B,CAAC;AAc5D,OAAO,KAAK,EACV,uBAAuB,EACvB,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,EACjB,yBAAyB,EACzB,0BAA0B,EAC1B,oBAAoB,EACpB,qBAAqB,EACrB,kBAAkB,EAClB,mBAAmB,EACnB,aAAa,EACb,iBAAiB,EACjB,kBAAkB,EAClB,mBAAmB,EACnB,mBAAmB,EAEpB,MAAM,SAAS,CAAC;AA6BjB,qBAAa,eAAe;IAC1B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAgB;IACxC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAIhC,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IAInC,OAAO,CAAC,MAAM,CAA4C;gBAE9C,OAAO,EAAE,aAAa;IAUlC,OAAO,CAAC,aAAa;IAKrB;;;;OAIG;IACG,gBAAgB,CACpB,GAAG,EAAE,uBAAuB,EAC5B,OAAO,CAAC,EAAE,WAAW,GACpB,OAAO,CAAC,wBAAwB,CAAC;IA0BpC;;;;OAIG;IACG,KAAK,CACT,GAAG,EAAE,oBAAoB,EACzB,O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