@qlik/api 1.32.0 → 1.34.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/api-keys.d.ts +13 -12
- package/api-keys.js +64 -50
- package/apps.d.ts +56 -56
- package/apps.js +392 -304
- package/assistants.d.ts +34 -34
- package/assistants.js +257 -201
- package/audits.d.ts +10 -10
- package/audits.js +48 -36
- package/{auth-types-DqfMuSRX.d.ts → auth-types-Cj5bM3Yk.d.ts} +29 -9
- package/auth.d.ts +17 -4
- package/auth.js +4 -2
- package/automation-connections.d.ts +12 -12
- package/automation-connections.js +75 -59
- package/automations.d.ts +29 -29
- package/automations.js +159 -123
- package/automl-deployments.d.ts +4 -4
- package/automl-deployments.js +14 -12
- package/automl-predictions.d.ts +13 -13
- package/automl-predictions.js +56 -44
- package/brands.d.ts +18 -18
- package/brands.js +107 -83
- package/chunks/{LY7RP2HA.js → 4V6T7Y4L.js} +26 -8
- package/chunks/{RCLKKVYB.js → 6C6WMV7V.js} +9 -2
- package/chunks/{VVD2DPKQ.js → 6WNP7HZQ.js} +3 -3
- package/chunks/7MMXU6EL.js +86 -0
- package/chunks/{6ZONDHRN.js → EEE42MLS.js} +11 -4
- package/chunks/{FKDGGR2O.js → I2HA7WJB.js} +1362 -1366
- package/chunks/{M64RLKVG.js → M7AINAXZ.js} +7 -5
- package/chunks/{LTNGXTXG.js → QAOVZB27.js} +3 -3
- package/chunks/{YTT2FEVE.js → QZKOA6VR.js} +1 -1
- package/chunks/{UZTIZ4H5.js → VUYZKBT5.js} +74 -74
- package/chunks/{3RGGGGAR.js → ZCTVPXGO.js} +1 -1
- package/collections.d.ts +16 -15
- package/collections.js +98 -76
- package/conditions.d.ts +13 -13
- package/conditions.js +97 -75
- package/consumption.d.ts +4 -4
- package/consumption.js +11 -9
- package/csp-origins.d.ts +9 -9
- package/csp-origins.js +53 -41
- package/csrf-token.d.ts +3 -3
- package/csrf-token.js +10 -8
- package/data-alerts.d.ts +22 -22
- package/data-alerts.js +139 -107
- package/data-assets.d.ts +8 -8
- package/data-assets.js +50 -40
- package/data-connections.d.ts +16 -16
- package/data-connections.js +87 -69
- package/data-credentials.d.ts +11 -11
- package/data-credentials.js +52 -42
- package/data-files.d.ts +18 -18
- package/data-files.js +107 -83
- package/data-qualities.d.ts +6 -6
- package/data-qualities.js +28 -22
- package/data-sets.d.ts +10 -10
- package/data-sets.js +59 -47
- package/data-sources.d.ts +7 -7
- package/data-sources.js +28 -22
- package/data-stores.d.ts +16 -16
- package/data-stores.js +92 -72
- package/dcaas.d.ts +6 -6
- package/dcaas.js +28 -22
- package/di-projects.d.ts +22 -22
- package/di-projects.js +148 -116
- package/direct-access-agents.d.ts +328 -0
- package/direct-access-agents.js +108 -0
- package/encryption.d.ts +12 -12
- package/encryption.js +82 -62
- package/extensions.d.ts +11 -11
- package/extensions.js +61 -47
- package/glossaries.d.ts +33 -33
- package/glossaries.js +221 -173
- package/groups.d.ts +12 -12
- package/groups.js +72 -56
- package/identity-providers.d.ts +11 -11
- package/identity-providers.js +67 -51
- package/index.d.ts +9 -4
- package/index.js +102 -67
- package/interceptors.d.ts +9 -2
- package/interceptors.js +2 -2
- package/invoke-fetch-types-BYCD4pc9.d.ts +98 -0
- package/items.d.ts +14 -13
- package/items.js +71 -55
- package/knowledgebases.d.ts +23 -23
- package/knowledgebases.js +153 -119
- package/licenses.d.ts +16 -14
- package/licenses.js +76 -58
- package/lineage-graphs.d.ts +17 -17
- package/lineage-graphs.js +76 -60
- package/ml.d.ts +238 -60
- package/ml.js +391 -286
- package/notes.d.ts +4 -4
- package/notes.js +19 -15
- package/notifications.d.ts +4 -4
- package/notifications.js +11 -9
- package/oauth-clients.d.ts +14 -14
- package/oauth-clients.js +96 -74
- package/oauth-tokens.d.ts +5 -5
- package/oauth-tokens.js +19 -15
- package/package.json +8 -6
- package/qix.d.ts +145 -4
- package/qix.js +2 -2
- package/questions.d.ts +5 -5
- package/questions.js +22 -18
- package/quotas.d.ts +6 -6
- package/quotas.js +20 -16
- package/reload-tasks.d.ts +8 -8
- package/reload-tasks.js +46 -36
- package/reloads.d.ts +7 -7
- package/reloads.js +36 -28
- package/report-templates.d.ts +10 -10
- package/report-templates.js +64 -50
- package/reports.d.ts +4 -4
- package/reports.js +20 -16
- package/roles.d.ts +8 -8
- package/roles.js +46 -36
- package/sharing-tasks.d.ts +14 -14
- package/sharing-tasks.js +89 -69
- package/spaces.d.ts +27 -23
- package/spaces.js +153 -119
- package/tasks.d.ts +17 -17
- package/tasks.js +90 -70
- package/temp-contents.d.ts +7 -7
- package/temp-contents.js +30 -24
- package/tenants.d.ts +8 -8
- package/tenants.js +57 -45
- package/themes.d.ts +11 -11
- package/themes.js +61 -47
- package/transports.d.ts +8 -8
- package/transports.js +49 -37
- package/ui-config.d.ts +9 -9
- package/ui-config.js +61 -47
- package/users.d.ts +15 -15
- package/users.js +81 -63
- package/web-integrations.d.ts +8 -8
- package/web-integrations.js +46 -36
- package/web-notifications.d.ts +9 -9
- package/web-notifications.js +53 -41
- package/webhooks.d.ts +14 -14
- package/webhooks.js +88 -68
- package/chunks/2ZQ3ZX7F.js +0 -33
- package/invoke-fetch-types-Cq7bjkqn.d.ts +0 -243
package/ml.js
CHANGED
|
@@ -1,294 +1,395 @@
|
|
|
1
1
|
import {
|
|
2
2
|
clearApiCache,
|
|
3
3
|
invokeFetch
|
|
4
|
-
} from "./chunks/
|
|
5
|
-
import "./chunks/
|
|
6
|
-
import "./chunks/
|
|
4
|
+
} from "./chunks/6WNP7HZQ.js";
|
|
5
|
+
import "./chunks/QAOVZB27.js";
|
|
6
|
+
import "./chunks/7MMXU6EL.js";
|
|
7
7
|
|
|
8
8
|
// src/public/rest/ml.ts
|
|
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
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
}
|
|
151
|
-
|
|
152
|
-
|
|
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
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
});
|
|
192
|
-
|
|
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
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
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
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
});
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
}
|
|
9
|
+
async function getMlDeployments(query, options) {
|
|
10
|
+
return invokeFetch("ml", {
|
|
11
|
+
method: "get",
|
|
12
|
+
pathTemplate: "/api/v1/ml/deployments",
|
|
13
|
+
query,
|
|
14
|
+
options
|
|
15
|
+
});
|
|
16
|
+
}
|
|
17
|
+
async function createMlDeployment(body, options) {
|
|
18
|
+
return invokeFetch("ml", {
|
|
19
|
+
method: "post",
|
|
20
|
+
pathTemplate: "/api/v1/ml/deployments",
|
|
21
|
+
body,
|
|
22
|
+
contentType: "application/json",
|
|
23
|
+
options
|
|
24
|
+
});
|
|
25
|
+
}
|
|
26
|
+
async function deleteMlDeployment(deploymentId, options) {
|
|
27
|
+
return invokeFetch("ml", {
|
|
28
|
+
method: "delete",
|
|
29
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
|
|
30
|
+
pathVariables: { deploymentId },
|
|
31
|
+
options
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
async function getMlDeployment(deploymentId, options) {
|
|
35
|
+
return invokeFetch("ml", {
|
|
36
|
+
method: "get",
|
|
37
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
|
|
38
|
+
pathVariables: { deploymentId },
|
|
39
|
+
options
|
|
40
|
+
});
|
|
41
|
+
}
|
|
42
|
+
async function patchMlDeployment(deploymentId, body, options) {
|
|
43
|
+
return invokeFetch("ml", {
|
|
44
|
+
method: "patch",
|
|
45
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}",
|
|
46
|
+
pathVariables: { deploymentId },
|
|
47
|
+
body,
|
|
48
|
+
contentType: "application/json",
|
|
49
|
+
options
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
async function activateModelsMlDeployment(deploymentId, options) {
|
|
53
|
+
return invokeFetch("ml", {
|
|
54
|
+
method: "post",
|
|
55
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/actions/activate-models",
|
|
56
|
+
pathVariables: { deploymentId },
|
|
57
|
+
options
|
|
58
|
+
});
|
|
59
|
+
}
|
|
60
|
+
async function deactivateModelsMlDeployment(deploymentId, options) {
|
|
61
|
+
return invokeFetch("ml", {
|
|
62
|
+
method: "post",
|
|
63
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/actions/deactivate-models",
|
|
64
|
+
pathVariables: { deploymentId },
|
|
65
|
+
options
|
|
66
|
+
});
|
|
67
|
+
}
|
|
68
|
+
async function getMlDeploymentAliases(deploymentId, query, options) {
|
|
69
|
+
return invokeFetch("ml", {
|
|
70
|
+
method: "get",
|
|
71
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases",
|
|
72
|
+
pathVariables: { deploymentId },
|
|
73
|
+
query,
|
|
74
|
+
options
|
|
75
|
+
});
|
|
76
|
+
}
|
|
77
|
+
async function createMlDeploymentAliase(deploymentId, body, options) {
|
|
78
|
+
return invokeFetch("ml", {
|
|
79
|
+
method: "post",
|
|
80
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases",
|
|
81
|
+
pathVariables: { deploymentId },
|
|
82
|
+
body,
|
|
83
|
+
contentType: "application/json",
|
|
84
|
+
options
|
|
85
|
+
});
|
|
86
|
+
}
|
|
87
|
+
async function deleteMlDeploymentAliase(deploymentId, aliasId, options) {
|
|
88
|
+
return invokeFetch("ml", {
|
|
89
|
+
method: "delete",
|
|
90
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
|
|
91
|
+
pathVariables: { deploymentId, aliasId },
|
|
92
|
+
options
|
|
93
|
+
});
|
|
94
|
+
}
|
|
95
|
+
async function getMlDeploymentAliase(deploymentId, aliasId, options) {
|
|
96
|
+
return invokeFetch("ml", {
|
|
97
|
+
method: "get",
|
|
98
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
|
|
99
|
+
pathVariables: { deploymentId, aliasId },
|
|
100
|
+
options
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
async function patchMlDeploymentAliase(deploymentId, aliasId, body, options) {
|
|
104
|
+
return invokeFetch("ml", {
|
|
105
|
+
method: "patch",
|
|
106
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasId}",
|
|
107
|
+
pathVariables: { deploymentId, aliasId },
|
|
108
|
+
body,
|
|
109
|
+
contentType: "application/json",
|
|
110
|
+
options
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
async function runMlDeploymentAliaseRealtimePredictions(deploymentId, aliasName, query, body, options) {
|
|
114
|
+
return invokeFetch("ml", {
|
|
115
|
+
method: "post",
|
|
116
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/aliases/{aliasName}/realtime-predictions/actions/run",
|
|
117
|
+
pathVariables: { deploymentId, aliasName },
|
|
118
|
+
query,
|
|
119
|
+
body,
|
|
120
|
+
contentType: "application/json",
|
|
121
|
+
options
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
async function getMlDeploymentBatchPredictions(deploymentId, query, options) {
|
|
125
|
+
return invokeFetch("ml", {
|
|
126
|
+
method: "get",
|
|
127
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions",
|
|
128
|
+
pathVariables: { deploymentId },
|
|
129
|
+
query,
|
|
130
|
+
options
|
|
131
|
+
});
|
|
132
|
+
}
|
|
133
|
+
async function createMlDeploymentBatchPrediction(deploymentId, body, options) {
|
|
134
|
+
return invokeFetch("ml", {
|
|
135
|
+
method: "post",
|
|
136
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions",
|
|
137
|
+
pathVariables: { deploymentId },
|
|
138
|
+
body,
|
|
139
|
+
contentType: "application/json",
|
|
140
|
+
options
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
async function deleteMlDeploymentBatchPrediction(deploymentId, batchPredictionId, options) {
|
|
144
|
+
return invokeFetch("ml", {
|
|
145
|
+
method: "delete",
|
|
146
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
|
|
147
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
148
|
+
options
|
|
149
|
+
});
|
|
150
|
+
}
|
|
151
|
+
async function getMlDeploymentBatchPrediction(deploymentId, batchPredictionId, options) {
|
|
152
|
+
return invokeFetch("ml", {
|
|
153
|
+
method: "get",
|
|
154
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
|
|
155
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
156
|
+
options
|
|
157
|
+
});
|
|
158
|
+
}
|
|
159
|
+
async function patchMlDeploymentBatchPrediction(deploymentId, batchPredictionId, body, options) {
|
|
160
|
+
return invokeFetch("ml", {
|
|
161
|
+
method: "patch",
|
|
162
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}",
|
|
163
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
164
|
+
body,
|
|
165
|
+
contentType: "application/json",
|
|
166
|
+
options
|
|
167
|
+
});
|
|
168
|
+
}
|
|
169
|
+
async function predictMlDeploymentBatchPrediction(deploymentId, batchPredictionId, options) {
|
|
170
|
+
return invokeFetch("ml", {
|
|
171
|
+
method: "post",
|
|
172
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/actions/predict",
|
|
173
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
174
|
+
options
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
async function deleteMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, options) {
|
|
178
|
+
return invokeFetch("ml", {
|
|
179
|
+
method: "delete",
|
|
180
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
|
|
181
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
182
|
+
options
|
|
183
|
+
});
|
|
184
|
+
}
|
|
185
|
+
async function getMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, options) {
|
|
186
|
+
return invokeFetch("ml", {
|
|
187
|
+
method: "get",
|
|
188
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
|
|
189
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
190
|
+
options
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
async function updateMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, body, options) {
|
|
194
|
+
return invokeFetch("ml", {
|
|
195
|
+
method: "patch",
|
|
196
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
|
|
197
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
198
|
+
body,
|
|
199
|
+
contentType: "application/json",
|
|
200
|
+
options
|
|
201
|
+
});
|
|
202
|
+
}
|
|
203
|
+
async function setMlDeploymentBatchPredictionSchedule(deploymentId, batchPredictionId, body, options) {
|
|
204
|
+
return invokeFetch("ml", {
|
|
205
|
+
method: "put",
|
|
206
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/batch-predictions/{batchPredictionId}/schedule",
|
|
207
|
+
pathVariables: { deploymentId, batchPredictionId },
|
|
208
|
+
body,
|
|
209
|
+
contentType: "application/json",
|
|
210
|
+
options
|
|
211
|
+
});
|
|
212
|
+
}
|
|
213
|
+
async function addMlDeploymentModels(deploymentId, body, options) {
|
|
214
|
+
return invokeFetch("ml", {
|
|
215
|
+
method: "post",
|
|
216
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/models/actions/add",
|
|
217
|
+
pathVariables: { deploymentId },
|
|
218
|
+
body,
|
|
219
|
+
contentType: "application/json",
|
|
220
|
+
options
|
|
221
|
+
});
|
|
222
|
+
}
|
|
223
|
+
async function removeMlDeploymentModels(deploymentId, body, options) {
|
|
224
|
+
return invokeFetch("ml", {
|
|
225
|
+
method: "post",
|
|
226
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/models/actions/remove",
|
|
227
|
+
pathVariables: { deploymentId },
|
|
228
|
+
body,
|
|
229
|
+
contentType: "application/json",
|
|
230
|
+
options
|
|
231
|
+
});
|
|
232
|
+
}
|
|
233
|
+
async function runMlDeploymentRealtimePredictions(deploymentId, query, body, options) {
|
|
234
|
+
return invokeFetch("ml", {
|
|
235
|
+
method: "post",
|
|
236
|
+
pathTemplate: "/api/v1/ml/deployments/{deploymentId}/realtime-predictions/actions/run",
|
|
237
|
+
pathVariables: { deploymentId },
|
|
238
|
+
query,
|
|
239
|
+
body,
|
|
240
|
+
contentType: "application/json",
|
|
241
|
+
options
|
|
242
|
+
});
|
|
243
|
+
}
|
|
244
|
+
async function getMlExperiments(query, options) {
|
|
245
|
+
return invokeFetch("ml", {
|
|
246
|
+
method: "get",
|
|
247
|
+
pathTemplate: "/api/v1/ml/experiments",
|
|
248
|
+
query,
|
|
249
|
+
options
|
|
250
|
+
});
|
|
251
|
+
}
|
|
252
|
+
async function createMlExperiment(body, options) {
|
|
253
|
+
return invokeFetch("ml", {
|
|
254
|
+
method: "post",
|
|
255
|
+
pathTemplate: "/api/v1/ml/experiments",
|
|
256
|
+
body,
|
|
257
|
+
contentType: "application/json",
|
|
258
|
+
options
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
async function deleteMlExperiment(experimentId, options) {
|
|
262
|
+
return invokeFetch("ml", {
|
|
263
|
+
method: "delete",
|
|
264
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}",
|
|
265
|
+
pathVariables: { experimentId },
|
|
266
|
+
options
|
|
267
|
+
});
|
|
268
|
+
}
|
|
269
|
+
async function getMlExperiment(experimentId, options) {
|
|
270
|
+
return invokeFetch("ml", {
|
|
271
|
+
method: "get",
|
|
272
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}",
|
|
273
|
+
pathVariables: { experimentId },
|
|
274
|
+
options
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
async function patchMlExperiment(experimentId, body, options) {
|
|
278
|
+
return invokeFetch("ml", {
|
|
279
|
+
method: "patch",
|
|
280
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}",
|
|
281
|
+
pathVariables: { experimentId },
|
|
282
|
+
body,
|
|
283
|
+
contentType: "application/json",
|
|
284
|
+
options
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
async function recommendModelsMlExperiment(experimentId, body, options) {
|
|
288
|
+
return invokeFetch("ml", {
|
|
289
|
+
method: "post",
|
|
290
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/actions/recommend-models",
|
|
291
|
+
pathVariables: { experimentId },
|
|
292
|
+
body,
|
|
293
|
+
contentType: "application/json",
|
|
294
|
+
options
|
|
295
|
+
});
|
|
296
|
+
}
|
|
297
|
+
async function getMlExperimentModels(experimentId, query, options) {
|
|
298
|
+
return invokeFetch("ml", {
|
|
299
|
+
method: "get",
|
|
300
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/models",
|
|
301
|
+
pathVariables: { experimentId },
|
|
302
|
+
query,
|
|
303
|
+
options
|
|
304
|
+
});
|
|
305
|
+
}
|
|
306
|
+
async function getMlExperimentModel(experimentId, modelId, options) {
|
|
307
|
+
return invokeFetch("ml", {
|
|
308
|
+
method: "get",
|
|
309
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/models/{modelId}",
|
|
310
|
+
pathVariables: { experimentId, modelId },
|
|
311
|
+
options
|
|
312
|
+
});
|
|
313
|
+
}
|
|
314
|
+
async function getMlExperimentVersions(experimentId, query, options) {
|
|
315
|
+
return invokeFetch("ml", {
|
|
316
|
+
method: "get",
|
|
317
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions",
|
|
318
|
+
pathVariables: { experimentId },
|
|
319
|
+
query,
|
|
320
|
+
options
|
|
321
|
+
});
|
|
322
|
+
}
|
|
323
|
+
async function createMlExperimentVersion(experimentId, body, options) {
|
|
324
|
+
return invokeFetch("ml", {
|
|
325
|
+
method: "post",
|
|
326
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions",
|
|
327
|
+
pathVariables: { experimentId },
|
|
328
|
+
body,
|
|
329
|
+
contentType: "application/json",
|
|
330
|
+
options
|
|
331
|
+
});
|
|
332
|
+
}
|
|
333
|
+
async function deleteMlExperimentVersion(experimentId, experimentVersionId, options) {
|
|
334
|
+
return invokeFetch("ml", {
|
|
335
|
+
method: "delete",
|
|
336
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
|
|
337
|
+
pathVariables: { experimentId, experimentVersionId },
|
|
338
|
+
options
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
async function getMlExperimentVersion(experimentId, experimentVersionId, options) {
|
|
342
|
+
return invokeFetch("ml", {
|
|
343
|
+
method: "get",
|
|
344
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
|
|
345
|
+
pathVariables: { experimentId, experimentVersionId },
|
|
346
|
+
options
|
|
347
|
+
});
|
|
348
|
+
}
|
|
349
|
+
async function patchMlExperimentVersion(experimentId, experimentVersionId, body, options) {
|
|
350
|
+
return invokeFetch("ml", {
|
|
351
|
+
method: "patch",
|
|
352
|
+
pathTemplate: "/api/v1/ml/experiments/{experimentId}/versions/{experimentVersionId}",
|
|
353
|
+
pathVariables: { experimentId, experimentVersionId },
|
|
354
|
+
body,
|
|
355
|
+
contentType: "application/json",
|
|
356
|
+
options
|
|
357
|
+
});
|
|
358
|
+
}
|
|
359
|
+
async function cancelMlJob(corrType, corrId, options) {
|
|
360
|
+
return invokeFetch("ml", {
|
|
361
|
+
method: "post",
|
|
362
|
+
pathTemplate: "/api/v1/ml/jobs/{corrType}/{corrId}/actions/cancel",
|
|
363
|
+
pathVariables: { corrType, corrId },
|
|
364
|
+
options
|
|
365
|
+
});
|
|
366
|
+
}
|
|
367
|
+
async function createMlProfileInsight(body, options) {
|
|
368
|
+
return invokeFetch("ml", {
|
|
369
|
+
method: "post",
|
|
370
|
+
pathTemplate: "/api/v1/ml/profile-insights",
|
|
371
|
+
body,
|
|
372
|
+
contentType: "application/json",
|
|
373
|
+
options
|
|
374
|
+
});
|
|
375
|
+
}
|
|
376
|
+
async function getMlProfileInsightWithQuery(dataSetId, query, options) {
|
|
377
|
+
return invokeFetch("ml", {
|
|
378
|
+
method: "get",
|
|
379
|
+
pathTemplate: "/api/v1/ml/profile-insights/{dataSetId}",
|
|
380
|
+
pathVariables: { dataSetId },
|
|
381
|
+
query,
|
|
382
|
+
options
|
|
383
|
+
});
|
|
384
|
+
}
|
|
385
|
+
async function getMlProfileInsight(dataSetId, options) {
|
|
386
|
+
return invokeFetch("ml", {
|
|
387
|
+
method: "get",
|
|
388
|
+
pathTemplate: "/api/v1/ml/profile-insights/{dataSetId}",
|
|
389
|
+
pathVariables: { dataSetId },
|
|
390
|
+
options
|
|
391
|
+
});
|
|
392
|
+
}
|
|
292
393
|
function clearCache() {
|
|
293
394
|
return clearApiCache("ml");
|
|
294
395
|
}
|
|
@@ -324,6 +425,7 @@ var mlExport = {
|
|
|
324
425
|
deleteMlExperiment,
|
|
325
426
|
getMlExperiment,
|
|
326
427
|
patchMlExperiment,
|
|
428
|
+
recommendModelsMlExperiment,
|
|
327
429
|
getMlExperimentModels,
|
|
328
430
|
getMlExperimentModel,
|
|
329
431
|
getMlExperimentVersions,
|
|
@@ -333,6 +435,7 @@ var mlExport = {
|
|
|
333
435
|
patchMlExperimentVersion,
|
|
334
436
|
cancelMlJob,
|
|
335
437
|
createMlProfileInsight,
|
|
438
|
+
getMlProfileInsightWithQuery,
|
|
336
439
|
getMlProfileInsight,
|
|
337
440
|
clearCache
|
|
338
441
|
};
|
|
@@ -370,12 +473,14 @@ export {
|
|
|
370
473
|
getMlExperimentVersions,
|
|
371
474
|
getMlExperiments,
|
|
372
475
|
getMlProfileInsight,
|
|
476
|
+
getMlProfileInsightWithQuery,
|
|
373
477
|
patchMlDeployment,
|
|
374
478
|
patchMlDeploymentAliase,
|
|
375
479
|
patchMlDeploymentBatchPrediction,
|
|
376
480
|
patchMlExperiment,
|
|
377
481
|
patchMlExperimentVersion,
|
|
378
482
|
predictMlDeploymentBatchPrediction,
|
|
483
|
+
recommendModelsMlExperiment,
|
|
379
484
|
removeMlDeploymentModels,
|
|
380
485
|
runMlDeploymentAliaseRealtimePredictions,
|
|
381
486
|
runMlDeploymentRealtimePredictions,
|