@databricks/sdk-uc-registeredmodels 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.
- package/dist/package.js +7 -0
- package/dist/package.js.map +1 -0
- package/dist/v1/client.d.ts +145 -141
- package/dist/v1/client.d.ts.map +1 -1
- package/dist/v1/client.js +418 -525
- package/dist/v1/client.js.map +1 -1
- package/dist/v1/index.d.ts +3 -7
- package/dist/v1/index.js +4 -7
- package/dist/v1/model.d.ts +371 -373
- package/dist/v1/model.d.ts.map +1 -1
- package/dist/v1/model.js +286 -411
- 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/v1/model.d.ts
CHANGED
|
@@ -1,407 +1,405 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
readonly READY: "READY";
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
|
|
3
|
+
//#region src/v1/model.d.ts
|
|
4
|
+
declare const ModelVersionStatus: {
|
|
5
|
+
readonly MODEL_VERSION_STATUS_UNKNOWN: "MODEL_VERSION_STATUS_UNKNOWN"; /** Request to register a new model version is pending as client uploads model files. */
|
|
6
|
+
readonly PENDING_REGISTRATION: "PENDING_REGISTRATION"; /** Request to register a new model version has failed. */
|
|
7
|
+
readonly FAILED_REGISTRATION: "FAILED_REGISTRATION"; /** Model version is ready for use. */
|
|
8
|
+
readonly READY: "READY";
|
|
10
9
|
};
|
|
11
|
-
|
|
10
|
+
type ModelVersionStatus = (typeof ModelVersionStatus)[keyof typeof ModelVersionStatus] | (string & {});
|
|
12
11
|
/** A connection that is dependent on a SQL object. */
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
12
|
+
interface ConnectionDependency {
|
|
13
|
+
/** Full name of the dependent connection, in the form of __connection_name__. */
|
|
14
|
+
connectionName?: string | undefined;
|
|
16
15
|
}
|
|
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
|
-
|
|
16
|
+
interface CreateRegisteredModelRequest {
|
|
17
|
+
/** The name of the registered model */
|
|
18
|
+
name?: string | undefined;
|
|
19
|
+
/** The name of the catalog where the schema and the registered model reside */
|
|
20
|
+
catalogName?: string | undefined;
|
|
21
|
+
/** The name of the schema where the registered model resides */
|
|
22
|
+
schemaName?: string | undefined;
|
|
23
|
+
/** The identifier of the user who owns the registered model */
|
|
24
|
+
owner?: string | undefined;
|
|
25
|
+
/** The comment attached to the registered model */
|
|
26
|
+
comment?: string | undefined;
|
|
27
|
+
/** The storage location on the cloud under which model version data files are stored */
|
|
28
|
+
storageLocation?: string | undefined;
|
|
29
|
+
/** The unique identifier of the metastore */
|
|
30
|
+
metastoreId?: string | undefined;
|
|
31
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
32
|
+
fullName?: string | undefined;
|
|
33
|
+
/** Creation timestamp of the registered model in milliseconds since the Unix epoch */
|
|
34
|
+
createdAt?: bigint | undefined;
|
|
35
|
+
/** The identifier of the user who created the registered model */
|
|
36
|
+
createdBy?: string | undefined;
|
|
37
|
+
/** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
|
|
38
|
+
updatedAt?: bigint | undefined;
|
|
39
|
+
/** The identifier of the user who updated the registered model last time */
|
|
40
|
+
updatedBy?: string | undefined;
|
|
41
|
+
/** List of aliases associated with the registered model */
|
|
42
|
+
aliases?: RegisteredModelAliasInfo[] | undefined;
|
|
43
|
+
/** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
|
|
44
|
+
browseOnly?: boolean | undefined;
|
|
46
45
|
}
|
|
47
46
|
/** A credential that is dependent on a SQL object. */
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
interface CredentialDependency {
|
|
48
|
+
/** Full name of the dependent credential, in the form of __credential_name__. */
|
|
49
|
+
credentialName?: string | undefined;
|
|
51
50
|
}
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
51
|
+
interface DeleteModelVersionRequest {
|
|
52
|
+
/** The three-level (fully qualified) name of the model version */
|
|
53
|
+
fullNameArg?: string | undefined;
|
|
54
|
+
/** The integer version number of the model version */
|
|
55
|
+
versionArg?: bigint | undefined;
|
|
57
56
|
}
|
|
58
|
-
|
|
57
|
+
interface DeleteModelVersionResponse {}
|
|
58
|
+
interface DeleteRegisteredModelAliasRequest {
|
|
59
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
60
|
+
fullNameArg?: string | undefined;
|
|
61
|
+
/** The name of the alias */
|
|
62
|
+
aliasArg?: string | undefined;
|
|
59
63
|
}
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
aliasArg?: string | undefined;
|
|
65
|
-
}
|
|
66
|
-
export interface DeleteRegisteredModelAliasResponse {
|
|
67
|
-
}
|
|
68
|
-
export interface DeleteRegisteredModelRequest {
|
|
69
|
-
/** The three-level (fully qualified) name of the registered model */
|
|
70
|
-
fullNameArg?: string | undefined;
|
|
71
|
-
}
|
|
72
|
-
export interface DeleteRegisteredModelResponse {
|
|
64
|
+
interface DeleteRegisteredModelAliasResponse {}
|
|
65
|
+
interface DeleteRegisteredModelRequest {
|
|
66
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
67
|
+
fullNameArg?: string | undefined;
|
|
73
68
|
}
|
|
69
|
+
interface DeleteRegisteredModelResponse {}
|
|
74
70
|
/**
|
|
75
71
|
* A dependency of a SQL object. One of the following fields must be defined:
|
|
76
72
|
* __table__, __function__, __connection__, __credential__, __volume__, or __secret__.
|
|
77
73
|
*/
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
74
|
+
interface Dependency {
|
|
75
|
+
value?: {
|
|
76
|
+
$case: 'table';
|
|
77
|
+
table: TableDependency;
|
|
78
|
+
} | {
|
|
79
|
+
$case: 'function';
|
|
80
|
+
function: FunctionDependency;
|
|
81
|
+
} | {
|
|
82
|
+
$case: 'connection';
|
|
83
|
+
connection: ConnectionDependency;
|
|
84
|
+
} | {
|
|
85
|
+
$case: 'credential';
|
|
86
|
+
credential: CredentialDependency;
|
|
87
|
+
} | undefined;
|
|
92
88
|
}
|
|
93
89
|
/** A list of dependencies. */
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
90
|
+
interface DependencyList {
|
|
91
|
+
/** Array of dependencies. */
|
|
92
|
+
dependencies?: Dependency[] | undefined;
|
|
97
93
|
}
|
|
98
94
|
/** A function that is dependent on a SQL object. */
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
95
|
+
interface FunctionDependency {
|
|
96
|
+
/** Full name of the dependent function, in the form of __catalog_name__.__schema_name__.__function_name__. */
|
|
97
|
+
functionFullName?: string | undefined;
|
|
102
98
|
}
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
99
|
+
interface GetModelVersionByAliasRequest {
|
|
100
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
101
|
+
fullNameArg?: string | undefined;
|
|
102
|
+
/** The name of the alias */
|
|
103
|
+
aliasArg?: string | undefined;
|
|
104
|
+
/** Whether to include aliases associated with the model version in the response */
|
|
105
|
+
includeAliases?: boolean | undefined;
|
|
110
106
|
}
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
107
|
+
interface GetModelVersionRequest {
|
|
108
|
+
/** The three-level (fully qualified) name of the model version */
|
|
109
|
+
fullNameArg?: string | undefined;
|
|
110
|
+
/** The integer version number of the model version */
|
|
111
|
+
versionArg?: bigint | undefined;
|
|
112
|
+
/** Whether to include aliases associated with the model version in the response */
|
|
113
|
+
includeAliases?: boolean | undefined;
|
|
114
|
+
/** Whether to include model versions in the response for which the principal can only access selective metadata for */
|
|
115
|
+
includeBrowse?: boolean | undefined;
|
|
120
116
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
117
|
+
interface GetRegisteredModelRequest {
|
|
118
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
119
|
+
fullNameArg?: string | undefined;
|
|
120
|
+
/** Whether to include registered model aliases in the response */
|
|
121
|
+
includeAliases?: boolean | undefined;
|
|
122
|
+
/** Whether to include registered models in the response for which the principal can only access selective metadata for */
|
|
123
|
+
includeBrowse?: boolean | undefined;
|
|
128
124
|
}
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
125
|
+
interface ListModelVersionsRequest {
|
|
126
|
+
/** The full three-level name of the registered model under which to list model versions */
|
|
127
|
+
fullNameArg?: string | undefined;
|
|
128
|
+
/**
|
|
129
|
+
* Maximum number of model versions to return.
|
|
130
|
+
* If not set, the page length is set to a server configured value (100, as of 1/3/2024).
|
|
131
|
+
* - when set to a value greater than 0, the page length is the minimum of this value and a server configured value(1000, as of 1/3/2024);
|
|
132
|
+
* - when set to 0, the page length is set to a server configured value (100, as of 1/3/2024) (recommended);
|
|
133
|
+
* - when set to a value less than 0, an invalid parameter error is returned;
|
|
134
|
+
*/
|
|
135
|
+
maxResults?: bigint | undefined;
|
|
136
|
+
/** Opaque pagination token to go to next page based on previous query. */
|
|
137
|
+
pageToken?: string | undefined;
|
|
138
|
+
/** Whether to include model versions in the response for which the principal can only access selective metadata for */
|
|
139
|
+
includeBrowse?: boolean | undefined;
|
|
144
140
|
}
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
141
|
+
interface ListModelVersionsResponse {
|
|
142
|
+
modelVersions?: ModelVersionInfo[] | undefined;
|
|
143
|
+
/**
|
|
144
|
+
* Opaque token to retrieve the next page of results. Absent if there are no more pages.
|
|
145
|
+
* __page_token__ should be set to this value for the next request (for the next page of results).
|
|
146
|
+
*/
|
|
147
|
+
nextPageToken?: string | undefined;
|
|
152
148
|
}
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
149
|
+
interface ListRegisteredModelsRequest {
|
|
150
|
+
/**
|
|
151
|
+
* The identifier of the catalog under which to list registered models.
|
|
152
|
+
* If specified, schema_name must be specified.
|
|
153
|
+
*/
|
|
154
|
+
catalogName?: string | undefined;
|
|
155
|
+
/**
|
|
156
|
+
* The identifier of the schema under which to list registered models.
|
|
157
|
+
* If specified, catalog_name must be specified.
|
|
158
|
+
*/
|
|
159
|
+
schemaName?: string | undefined;
|
|
160
|
+
/** Whether to include registered models in the response for which the principal can only access selective metadata for */
|
|
161
|
+
includeBrowse?: boolean | undefined;
|
|
162
|
+
/**
|
|
163
|
+
* Max number of registered models to return.
|
|
164
|
+
*
|
|
165
|
+
* If both catalog and schema are specified:
|
|
166
|
+
* - when max_results is not specified, the page length is set to a server configured value (10000, as of 4/2/2024).
|
|
167
|
+
* - when set to a value greater than 0, the page length is the minimum of this value and a server configured value (10000, as of 4/2/2024);
|
|
168
|
+
* - when set to 0, the page length is set to a server configured value (10000, as of 4/2/2024);
|
|
169
|
+
* - when set to a value less than 0, an invalid parameter error is returned;
|
|
170
|
+
*
|
|
171
|
+
* If neither schema nor catalog is specified:
|
|
172
|
+
* - when max_results is not specified, the page length is set to a server configured value (100, as of 4/2/2024).
|
|
173
|
+
* - when set to a value greater than 0, the page length is the minimum of this value and a server configured value (1000, as of 4/2/2024);
|
|
174
|
+
* - when set to 0, the page length is set to a server configured value (100, as of 4/2/2024);
|
|
175
|
+
* - when set to a value less than 0, an invalid parameter error is returned;
|
|
176
|
+
*/
|
|
177
|
+
maxResults?: bigint | undefined;
|
|
178
|
+
/** Opaque token to send for the next page of results (pagination). */
|
|
179
|
+
pageToken?: string | undefined;
|
|
184
180
|
}
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
181
|
+
interface ListRegisteredModelsResponse {
|
|
182
|
+
registeredModels?: RegisteredModelInfo[] | undefined;
|
|
183
|
+
/**
|
|
184
|
+
* Opaque token for pagination. Omitted if there are no more results. page_token should
|
|
185
|
+
* be set to this value for fetching the next page.
|
|
186
|
+
*/
|
|
187
|
+
nextPageToken?: string | undefined;
|
|
192
188
|
}
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
189
|
+
interface ModelVersionInfo {
|
|
190
|
+
/** The name of the parent registered model of the model version, relative to parent schema */
|
|
191
|
+
modelName?: string | undefined;
|
|
192
|
+
/** The name of the catalog containing the model version */
|
|
193
|
+
catalogName?: string | undefined;
|
|
194
|
+
/** The name of the schema containing the model version, relative to parent catalog */
|
|
195
|
+
schemaName?: string | undefined;
|
|
196
|
+
/** URI indicating the location of the source artifacts (files) for the model version */
|
|
197
|
+
source?: string | undefined;
|
|
198
|
+
/** The comment attached to the model version */
|
|
199
|
+
comment?: string | undefined;
|
|
200
|
+
/**
|
|
201
|
+
* MLflow run ID used when creating the model version, if ``source`` was generated by an
|
|
202
|
+
* experiment run stored in an MLflow tracking server
|
|
203
|
+
*/
|
|
204
|
+
runId?: string | undefined;
|
|
205
|
+
/**
|
|
206
|
+
* ID of the <Databricks> workspace containing the MLflow run that generated this model
|
|
207
|
+
* version, if applicable
|
|
208
|
+
*/
|
|
209
|
+
runWorkspaceId?: bigint | undefined;
|
|
210
|
+
/** Model version dependencies, for feature-store packaged models */
|
|
211
|
+
modelVersionDependencies?: DependencyList | undefined;
|
|
212
|
+
/**
|
|
213
|
+
* Current status of the model version. Newly created model versions start in
|
|
214
|
+
* PENDING_REGISTRATION status, then move to READY status once the model version files are uploaded and
|
|
215
|
+
* the model version is finalized. Only model versions in READY status can be loaded for inference or
|
|
216
|
+
* served.
|
|
217
|
+
*/
|
|
218
|
+
status?: ModelVersionStatus | undefined;
|
|
219
|
+
/** Integer model version number, used to reference the model version in API requests. */
|
|
220
|
+
version?: bigint | undefined;
|
|
221
|
+
/** The storage location on the cloud under which model version data files are stored */
|
|
222
|
+
storageLocation?: string | undefined;
|
|
223
|
+
/** The unique identifier of the metastore containing the model version */
|
|
224
|
+
metastoreId?: string | undefined;
|
|
225
|
+
createdAt?: bigint | undefined;
|
|
226
|
+
/** The identifier of the user who created the model version */
|
|
227
|
+
createdBy?: string | undefined;
|
|
228
|
+
updatedAt?: bigint | undefined;
|
|
229
|
+
/** The identifier of the user who updated the model version last time */
|
|
230
|
+
updatedBy?: string | undefined;
|
|
231
|
+
/** The unique identifier of the model version */
|
|
232
|
+
id?: string | undefined;
|
|
233
|
+
/** List of aliases associated with the model version */
|
|
234
|
+
aliases?: RegisteredModelAliasInfo[] | undefined;
|
|
239
235
|
}
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
236
|
+
interface RegisteredModelAliasInfo {
|
|
237
|
+
/** Name of the alias, e.g. 'champion' or 'latest_stable' */
|
|
238
|
+
aliasName?: string | undefined;
|
|
239
|
+
/** Integer version number of the model version to which this alias points. */
|
|
240
|
+
versionNum?: bigint | undefined;
|
|
241
|
+
/** The unique identifier of the alias */
|
|
242
|
+
id?: string | undefined;
|
|
243
|
+
/** The name of the parent registered model of the model version, relative to parent schema */
|
|
244
|
+
modelName?: string | undefined;
|
|
245
|
+
/** The name of the catalog containing the model version */
|
|
246
|
+
catalogName?: string | undefined;
|
|
247
|
+
/** The name of the schema containing the model version, relative to parent catalog */
|
|
248
|
+
schemaName?: string | undefined;
|
|
253
249
|
}
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
250
|
+
interface RegisteredModelInfo {
|
|
251
|
+
/** The name of the registered model */
|
|
252
|
+
name?: string | undefined;
|
|
253
|
+
/** The name of the catalog where the schema and the registered model reside */
|
|
254
|
+
catalogName?: string | undefined;
|
|
255
|
+
/** The name of the schema where the registered model resides */
|
|
256
|
+
schemaName?: string | undefined;
|
|
257
|
+
/** The identifier of the user who owns the registered model */
|
|
258
|
+
owner?: string | undefined;
|
|
259
|
+
/** The comment attached to the registered model */
|
|
260
|
+
comment?: string | undefined;
|
|
261
|
+
/** The storage location on the cloud under which model version data files are stored */
|
|
262
|
+
storageLocation?: string | undefined;
|
|
263
|
+
/** The unique identifier of the metastore */
|
|
264
|
+
metastoreId?: string | undefined;
|
|
265
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
266
|
+
fullName?: string | undefined;
|
|
267
|
+
/** Creation timestamp of the registered model in milliseconds since the Unix epoch */
|
|
268
|
+
createdAt?: bigint | undefined;
|
|
269
|
+
/** The identifier of the user who created the registered model */
|
|
270
|
+
createdBy?: string | undefined;
|
|
271
|
+
/** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
|
|
272
|
+
updatedAt?: bigint | undefined;
|
|
273
|
+
/** The identifier of the user who updated the registered model last time */
|
|
274
|
+
updatedBy?: string | undefined;
|
|
275
|
+
/** List of aliases associated with the registered model */
|
|
276
|
+
aliases?: RegisteredModelAliasInfo[] | undefined;
|
|
277
|
+
/** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
|
|
278
|
+
browseOnly?: boolean | undefined;
|
|
283
279
|
}
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
280
|
+
interface SetRegisteredModelAliasRequest {
|
|
281
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
282
|
+
fullNameArg?: string | undefined;
|
|
283
|
+
/** The name of the alias */
|
|
284
|
+
aliasArg?: string | undefined;
|
|
285
|
+
/** The version number of the model version to which the alias points */
|
|
286
|
+
versionNum?: bigint | undefined;
|
|
291
287
|
}
|
|
292
288
|
/** A table that is dependent on a SQL object. */
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
289
|
+
interface TableDependency {
|
|
290
|
+
/** Full name of the dependent table, in the form of __catalog_name__.__schema_name__.__table_name__. */
|
|
291
|
+
tableFullName?: string | undefined;
|
|
296
292
|
}
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
293
|
+
interface UpdateModelVersionRequest {
|
|
294
|
+
/** The three-level (fully qualified) name of the model version */
|
|
295
|
+
fullNameArg?: string | undefined;
|
|
296
|
+
/** The integer version number of the model version */
|
|
297
|
+
versionArg?: bigint | undefined;
|
|
298
|
+
/** The name of the parent registered model of the model version, relative to parent schema */
|
|
299
|
+
modelName?: string | undefined;
|
|
300
|
+
/** The name of the catalog containing the model version */
|
|
301
|
+
catalogName?: string | undefined;
|
|
302
|
+
/** The name of the schema containing the model version, relative to parent catalog */
|
|
303
|
+
schemaName?: string | undefined;
|
|
304
|
+
/** URI indicating the location of the source artifacts (files) for the model version */
|
|
305
|
+
source?: string | undefined;
|
|
306
|
+
/** The comment attached to the model version */
|
|
307
|
+
comment?: string | undefined;
|
|
308
|
+
/**
|
|
309
|
+
* MLflow run ID used when creating the model version, if ``source`` was generated by an
|
|
310
|
+
* experiment run stored in an MLflow tracking server
|
|
311
|
+
*/
|
|
312
|
+
runId?: string | undefined;
|
|
313
|
+
/**
|
|
314
|
+
* ID of the <Databricks> workspace containing the MLflow run that generated this model
|
|
315
|
+
* version, if applicable
|
|
316
|
+
*/
|
|
317
|
+
runWorkspaceId?: bigint | undefined;
|
|
318
|
+
/** Model version dependencies, for feature-store packaged models */
|
|
319
|
+
modelVersionDependencies?: DependencyList | undefined;
|
|
320
|
+
/**
|
|
321
|
+
* Current status of the model version. Newly created model versions start in
|
|
322
|
+
* PENDING_REGISTRATION status, then move to READY status once the model version files are uploaded and
|
|
323
|
+
* the model version is finalized. Only model versions in READY status can be loaded for inference or
|
|
324
|
+
* served.
|
|
325
|
+
*/
|
|
326
|
+
status?: ModelVersionStatus | undefined;
|
|
327
|
+
/** Integer model version number, used to reference the model version in API requests. */
|
|
328
|
+
version?: bigint | undefined;
|
|
329
|
+
/** The storage location on the cloud under which model version data files are stored */
|
|
330
|
+
storageLocation?: string | undefined;
|
|
331
|
+
/** The unique identifier of the metastore containing the model version */
|
|
332
|
+
metastoreId?: string | undefined;
|
|
333
|
+
createdAt?: bigint | undefined;
|
|
334
|
+
/** The identifier of the user who created the model version */
|
|
335
|
+
createdBy?: string | undefined;
|
|
336
|
+
updatedAt?: bigint | undefined;
|
|
337
|
+
/** The identifier of the user who updated the model version last time */
|
|
338
|
+
updatedBy?: string | undefined;
|
|
339
|
+
/** The unique identifier of the model version */
|
|
340
|
+
id?: string | undefined;
|
|
341
|
+
/** List of aliases associated with the model version */
|
|
342
|
+
aliases?: RegisteredModelAliasInfo[] | undefined;
|
|
347
343
|
}
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
344
|
+
interface UpdateRegisteredModelRequest {
|
|
345
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
346
|
+
fullNameArg?: string | undefined;
|
|
347
|
+
/** New name for the registered model. */
|
|
348
|
+
newName?: string | undefined;
|
|
349
|
+
/** The name of the registered model */
|
|
350
|
+
name?: string | undefined;
|
|
351
|
+
/** The name of the catalog where the schema and the registered model reside */
|
|
352
|
+
catalogName?: string | undefined;
|
|
353
|
+
/** The name of the schema where the registered model resides */
|
|
354
|
+
schemaName?: string | undefined;
|
|
355
|
+
/** The identifier of the user who owns the registered model */
|
|
356
|
+
owner?: string | undefined;
|
|
357
|
+
/** The comment attached to the registered model */
|
|
358
|
+
comment?: string | undefined;
|
|
359
|
+
/** The storage location on the cloud under which model version data files are stored */
|
|
360
|
+
storageLocation?: string | undefined;
|
|
361
|
+
/** The unique identifier of the metastore */
|
|
362
|
+
metastoreId?: string | undefined;
|
|
363
|
+
/** The three-level (fully qualified) name of the registered model */
|
|
364
|
+
fullName?: string | undefined;
|
|
365
|
+
/** Creation timestamp of the registered model in milliseconds since the Unix epoch */
|
|
366
|
+
createdAt?: bigint | undefined;
|
|
367
|
+
/** The identifier of the user who created the registered model */
|
|
368
|
+
createdBy?: string | undefined;
|
|
369
|
+
/** Last-update timestamp of the registered model in milliseconds since the Unix epoch */
|
|
370
|
+
updatedAt?: bigint | undefined;
|
|
371
|
+
/** The identifier of the user who updated the registered model last time */
|
|
372
|
+
updatedBy?: string | undefined;
|
|
373
|
+
/** List of aliases associated with the registered model */
|
|
374
|
+
aliases?: RegisteredModelAliasInfo[] | undefined;
|
|
375
|
+
/** Indicates whether the principal is limited to retrieving metadata for the associated object through the BROWSE privilege when include_browse is enabled in the request. */
|
|
376
|
+
browseOnly?: boolean | undefined;
|
|
381
377
|
}
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
378
|
+
declare const unmarshalConnectionDependencySchema: z.ZodType<ConnectionDependency>;
|
|
379
|
+
declare const unmarshalCredentialDependencySchema: z.ZodType<CredentialDependency>;
|
|
380
|
+
declare const unmarshalDeleteModelVersionResponseSchema: z.ZodType<DeleteModelVersionResponse>;
|
|
381
|
+
declare const unmarshalDeleteRegisteredModelAliasResponseSchema: z.ZodType<DeleteRegisteredModelAliasResponse>;
|
|
382
|
+
declare const unmarshalDeleteRegisteredModelResponseSchema: z.ZodType<DeleteRegisteredModelResponse>;
|
|
383
|
+
declare const unmarshalDependencySchema: z.ZodType<Dependency>;
|
|
384
|
+
declare const unmarshalDependencyListSchema: z.ZodType<DependencyList>;
|
|
385
|
+
declare const unmarshalFunctionDependencySchema: z.ZodType<FunctionDependency>;
|
|
386
|
+
declare const unmarshalListModelVersionsResponseSchema: z.ZodType<ListModelVersionsResponse>;
|
|
387
|
+
declare const unmarshalListRegisteredModelsResponseSchema: z.ZodType<ListRegisteredModelsResponse>;
|
|
388
|
+
declare const unmarshalModelVersionInfoSchema: z.ZodType<ModelVersionInfo>;
|
|
389
|
+
declare const unmarshalRegisteredModelAliasInfoSchema: z.ZodType<RegisteredModelAliasInfo>;
|
|
390
|
+
declare const unmarshalRegisteredModelInfoSchema: z.ZodType<RegisteredModelInfo>;
|
|
391
|
+
declare const unmarshalTableDependencySchema: z.ZodType<TableDependency>;
|
|
392
|
+
declare const marshalConnectionDependencySchema: z.ZodType;
|
|
393
|
+
declare const marshalCreateRegisteredModelRequestSchema: z.ZodType;
|
|
394
|
+
declare const marshalCredentialDependencySchema: z.ZodType;
|
|
395
|
+
declare const marshalDependencySchema: z.ZodType;
|
|
396
|
+
declare const marshalDependencyListSchema: z.ZodType;
|
|
397
|
+
declare const marshalFunctionDependencySchema: z.ZodType;
|
|
398
|
+
declare const marshalRegisteredModelAliasInfoSchema: z.ZodType;
|
|
399
|
+
declare const marshalSetRegisteredModelAliasRequestSchema: z.ZodType;
|
|
400
|
+
declare const marshalTableDependencySchema: z.ZodType;
|
|
401
|
+
declare const marshalUpdateModelVersionRequestSchema: z.ZodType;
|
|
402
|
+
declare const marshalUpdateRegisteredModelRequestSchema: z.ZodType;
|
|
403
|
+
//#endregion
|
|
404
|
+
export { ConnectionDependency, CreateRegisteredModelRequest, CredentialDependency, DeleteModelVersionRequest, DeleteModelVersionResponse, DeleteRegisteredModelAliasRequest, DeleteRegisteredModelAliasResponse, DeleteRegisteredModelRequest, DeleteRegisteredModelResponse, Dependency, DependencyList, FunctionDependency, GetModelVersionByAliasRequest, GetModelVersionRequest, GetRegisteredModelRequest, ListModelVersionsRequest, ListModelVersionsResponse, ListRegisteredModelsRequest, ListRegisteredModelsResponse, ModelVersionInfo, ModelVersionStatus, RegisteredModelAliasInfo, RegisteredModelInfo, SetRegisteredModelAliasRequest, TableDependency, UpdateModelVersionRequest, UpdateRegisteredModelRequest, marshalConnectionDependencySchema, marshalCreateRegisteredModelRequestSchema, marshalCredentialDependencySchema, marshalDependencyListSchema, marshalDependencySchema, marshalFunctionDependencySchema, marshalRegisteredModelAliasInfoSchema, marshalSetRegisteredModelAliasRequestSchema, marshalTableDependencySchema, marshalUpdateModelVersionRequestSchema, marshalUpdateRegisteredModelRequestSchema, unmarshalConnectionDependencySchema, unmarshalCredentialDependencySchema, unmarshalDeleteModelVersionResponseSchema, unmarshalDeleteRegisteredModelAliasResponseSchema, unmarshalDeleteRegisteredModelResponseSchema, unmarshalDependencyListSchema, unmarshalDependencySchema, unmarshalFunctionDependencySchema, unmarshalListModelVersionsResponseSchema, unmarshalListRegisteredModelsResponseSchema, unmarshalModelVersionInfoSchema, unmarshalRegisteredModelAliasInfoSchema, unmarshalRegisteredModelInfoSchema, unmarshalTableDependencySchema };
|
|
407
405
|
//# sourceMappingURL=model.d.ts.map
|