@databricks/sdk-dataquality 0.34.0 → 0.35.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/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/v1/client.d.ts +129 -125
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +370 -451
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -8
- package/dist/v1/index.js +4 -8
- package/dist/v1/model.d.ts +416 -441
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +392 -531
- package/dist/v1/model.js.map +1 -1
- package/dist/v1/transport.d.ts +21 -17
- package/dist/v1/transport.d.ts.map +1 -1
- package/dist/v1/transport.js +60 -69
- package/dist/v1/transport.js.map +1 -1
- package/dist/v1/utils.d.ts +18 -14
- package/dist/v1/utils.d.ts.map +1 -1
- package/dist/v1/utils.js +76 -103
- package/dist/v1/utils.js.map +1 -1
- package/package.json +5 -5
- package/dist/v1/index.d.ts.map +0 -1
- package/dist/v1/index.js.map +0 -1
package/dist/package.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"package.js","names":[],"sources":["../package.json"],"sourcesContent":[""],"mappings":""}
|
package/dist/v1/client.d.ts
CHANGED
|
@@ -1,127 +1,131 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
1
|
+
import { CancelRefreshRequest, CancelRefreshResponse, CreateMonitorRequest, CreateRefreshRequest, DeleteMonitorRequest, DeleteRefreshRequest, GetMonitorRequest, GetRefreshRequest, ListMonitorRequest, ListMonitorResponse, ListRefreshRequest, ListRefreshResponse, Monitor, Refresh, UpdateMonitorRequest, UpdateRefreshRequest } from "./model.js";
|
|
2
|
+
import { CallOptions } from "@databricks/sdk-options/call";
|
|
3
|
+
import { ClientOptions } from "@databricks/sdk-options/client";
|
|
4
|
+
|
|
5
|
+
//#region src/v1/client.d.ts
|
|
6
|
+
declare class DataQualityClient {
|
|
7
|
+
private readonly options;
|
|
8
|
+
private readonly logger;
|
|
9
|
+
private readonly userAgent;
|
|
10
|
+
private config;
|
|
11
|
+
constructor(options: ClientOptions);
|
|
12
|
+
private resolveConfig;
|
|
13
|
+
/**
|
|
14
|
+
* Cancels a data quality monitor refresh. Currently only supported for the `table` `object_type`.
|
|
15
|
+
* The call must be made in the same workspace as where the monitor was created.
|
|
16
|
+
*
|
|
17
|
+
* The caller must have either of the following sets of permissions:
|
|
18
|
+
* 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog.
|
|
19
|
+
* 2. **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema.
|
|
20
|
+
* 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the table.
|
|
21
|
+
*/
|
|
22
|
+
cancelRefresh(req: CancelRefreshRequest, options?: CallOptions): Promise<CancelRefreshResponse>;
|
|
23
|
+
/**
|
|
24
|
+
* Create a data quality monitor on a Unity Catalog object. The caller must provide either `anomaly_detection_config` for a schema monitor or `data_profiling_config` for a table monitor.
|
|
25
|
+
*
|
|
26
|
+
* For the `table` `object_type`, the caller must have either of the following sets of permissions:
|
|
27
|
+
* 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **SELECT** on the table
|
|
28
|
+
* 2. **USE_CATALOG** on the table's parent catalog, **MANAGE** and **USE_SCHEMA** on the table's parent schema, and **SELECT** on the table.
|
|
29
|
+
* 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** and **SELECT** on the table.
|
|
30
|
+
*
|
|
31
|
+
* Workspace assets, such as the dashboard, will be created in the workspace where this call was made.
|
|
32
|
+
*
|
|
33
|
+
* For the `schema` `object_type`, the caller must have either of the following sets of permissions:
|
|
34
|
+
* 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog.
|
|
35
|
+
* 2. **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the schema.
|
|
36
|
+
*/
|
|
37
|
+
createMonitor(req: CreateMonitorRequest, options?: CallOptions): Promise<Monitor>;
|
|
38
|
+
/**
|
|
39
|
+
* Creates a refresh. Currently only supported for the `table` `object_type`.
|
|
40
|
+
* The call must be made in the same workspace as where the monitor was created.
|
|
41
|
+
*
|
|
42
|
+
* The caller must have either of the following sets of permissions:
|
|
43
|
+
* 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog.
|
|
44
|
+
* 2. **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema.
|
|
45
|
+
* 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the table.
|
|
46
|
+
*/
|
|
47
|
+
createRefresh(req: CreateRefreshRequest, options?: CallOptions): Promise<Refresh>;
|
|
48
|
+
/**
|
|
49
|
+
* Delete a data quality monitor on Unity Catalog object.
|
|
50
|
+
*
|
|
51
|
+
* For the `table` `object_type`, the caller must have either of the following sets of permissions:
|
|
52
|
+
* **MANAGE** and **USE_CATALOG** on the table's parent catalog.
|
|
53
|
+
* **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema.
|
|
54
|
+
* **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the table.
|
|
55
|
+
*
|
|
56
|
+
* Note that the metric tables and dashboard will not be deleted as part of this call; those
|
|
57
|
+
* assets must be manually cleaned up (if desired).
|
|
58
|
+
*
|
|
59
|
+
* For the `schema` `object_type`, the caller must have either of the following sets of permissions:
|
|
60
|
+
* 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog.
|
|
61
|
+
* 2. **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the schema.
|
|
62
|
+
*/
|
|
63
|
+
deleteMonitor(req: DeleteMonitorRequest, options?: CallOptions): Promise<void>;
|
|
64
|
+
/** (Unimplemented) Delete a refresh */
|
|
65
|
+
deleteRefresh(req: DeleteRefreshRequest, options?: CallOptions): Promise<void>;
|
|
66
|
+
/**
|
|
67
|
+
* Read a data quality monitor on a Unity Catalog object.
|
|
68
|
+
*
|
|
69
|
+
* For the `table` `object_type`, the caller must have either of the following sets of permissions:
|
|
70
|
+
* 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog.
|
|
71
|
+
* 2. **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema.
|
|
72
|
+
* 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **SELECT** on the table.
|
|
73
|
+
*
|
|
74
|
+
* For the `schema` `object_type`, the caller must have either of the following sets of permissions:
|
|
75
|
+
* 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog.
|
|
76
|
+
* 2. **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema.
|
|
77
|
+
*
|
|
78
|
+
* The returned information includes configuration values on the entity and parent entity as well as information on
|
|
79
|
+
* assets created by the monitor. Some information (e.g. dashboard) may be filtered out
|
|
80
|
+
* if the caller is in a different workspace than where the monitor was created.
|
|
81
|
+
*/
|
|
82
|
+
getMonitor(req: GetMonitorRequest, options?: CallOptions): Promise<Monitor>;
|
|
83
|
+
/**
|
|
84
|
+
* Get data quality monitor refresh. The call must be made in the same workspace as where the monitor was created.
|
|
85
|
+
*
|
|
86
|
+
* For the `table` `object_type`, the caller must have either of the following sets of permissions:
|
|
87
|
+
* 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog.
|
|
88
|
+
* 2. **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema.
|
|
89
|
+
* 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **SELECT** on the table.
|
|
90
|
+
*
|
|
91
|
+
* For the `schema` `object_type`, the caller must have either of the following sets of permissions:
|
|
92
|
+
* 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog.
|
|
93
|
+
* 2. **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema.
|
|
94
|
+
*/
|
|
95
|
+
getRefresh(req: GetRefreshRequest, options?: CallOptions): Promise<Refresh>;
|
|
96
|
+
/** (Unimplemented) List data quality monitors. */
|
|
97
|
+
listMonitor(req: ListMonitorRequest, options?: CallOptions): Promise<ListMonitorResponse>;
|
|
98
|
+
listMonitorIter(req: ListMonitorRequest, options?: CallOptions): AsyncGenerator<Monitor>;
|
|
99
|
+
/**
|
|
100
|
+
* List data quality monitor refreshes. The call must be made in the same workspace as where the monitor was created.
|
|
101
|
+
*
|
|
102
|
+
* For the `table` `object_type`, the caller must have either of the following sets of permissions:
|
|
103
|
+
* 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog.
|
|
104
|
+
* 2. **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema.
|
|
105
|
+
* 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **SELECT** on the table.
|
|
106
|
+
*
|
|
107
|
+
* For the `schema` `object_type`, the caller must have either of the following sets of permissions:
|
|
108
|
+
* 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog.
|
|
109
|
+
* 2. **USE_CATALOG** on the schema's parent catalog, and **USE_SCHEMA** on the schema.
|
|
110
|
+
*/
|
|
111
|
+
listRefresh(req: ListRefreshRequest, options?: CallOptions): Promise<ListRefreshResponse>;
|
|
112
|
+
listRefreshIter(req: ListRefreshRequest, options?: CallOptions): AsyncGenerator<Refresh>;
|
|
113
|
+
/**
|
|
114
|
+
* Update a data quality monitor on Unity Catalog object.
|
|
115
|
+
*
|
|
116
|
+
* For the `table` `object_type`, the caller must have either of the following sets of permissions:
|
|
117
|
+
* 1. **MANAGE** and **USE_CATALOG** on the table's parent catalog.
|
|
118
|
+
* 2. **USE_CATALOG** on the table's parent catalog, and **MANAGE** and **USE_SCHEMA** on the table's parent schema.
|
|
119
|
+
* 3. **USE_CATALOG** on the table's parent catalog, **USE_SCHEMA** on the table's parent schema, and **MANAGE** on the table.
|
|
120
|
+
*
|
|
121
|
+
* For the `schema` `object_type`, the caller must have either of the following sets of permissions:
|
|
122
|
+
* 1. **MANAGE** and **USE_CATALOG** on the schema's parent catalog.
|
|
123
|
+
* 2. **USE_CATALOG** on the schema's parent catalog, and **MANAGE** and **USE_SCHEMA** on the schema.
|
|
124
|
+
*/
|
|
125
|
+
updateMonitor(req: UpdateMonitorRequest, options?: CallOptions): Promise<Monitor>;
|
|
126
|
+
/** (Unimplemented) Update a refresh */
|
|
127
|
+
updateRefresh(req: UpdateRefreshRequest, options?: CallOptions): Promise<Refresh>;
|
|
126
128
|
}
|
|
129
|
+
//#endregion
|
|
130
|
+
export { DataQualityClient };
|
|
127
131
|
//# sourceMappingURL=client.d.ts.map
|
package/dist/v1/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","
|
|
1
|
+
{"version":3,"file":"client.d.ts","names":[],"sources":["../../src/v1/client.ts"],"mappings":";;;;;cAqDa,iBAAA;EAAA,iBACM,OAAA;EAAA,iBACA,MAAA;EAAA,iBAIA,SAAA;EAAA,QAIT,MAAA;cAEI,OAAA,EAAS,aAAA;EAAA,QAUb,aAAA;EAgBI;;;;;;;;;EAFN,aAAA,CACJ,GAAA,EAAK,oBAAA,EACL,OAAA,GAAU,WAAA,GACT,OAAA,CAAQ,qBAAA;EAiFR;;;;;;;;;;;;;;EAzCG,aAAA,CACJ,GAAA,EAAK,oBAAA,EACL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