tencentcloud-sdk-nodejs-intl-en 3.0.1432 → 3.0.1434
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/package.json +1 -1
- package/tencentcloud/as/v20180419/as_client.js +5 -4
- package/tencentcloud/as/v20180419/models.js +279 -259
- package/tencentcloud/ciam/index.js +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/cynosdb/v20190107/models.js +42 -0
- package/tencentcloud/es/index.js +1 -1
- package/tencentcloud/monitor/v20230616/models.js +3585 -177
- package/tencentcloud/monitor/v20230616/monitor_client.js +319 -3
- package/tencentcloud/sms/v20210111/models.js +2 -2
- package/tencentcloud/sms/v20210111/sms_client.js +0 -1
- package/tencentcloud/tdmysql/v20211122/models.js +1375 -308
- package/tencentcloud/tdmysql/v20211122/tdmysql_client.js +157 -49
- package/tencentcloud/tem/index.js +1 -1
- package/tencentcloud/tione/v20211111/models.js +1703 -280
- package/tencentcloud/tione/v20211111/tione_client.js +40 -7
- package/tencentcloud/vm/index.js +1 -1
- package/tencentcloud/vod/v20180717/models.js +1500 -311
- package/tencentcloud/vod/v20180717/vod_client.js +153 -38
- package/tencentcloud/wedata/index.js +1 -1
|
@@ -16,43 +16,6 @@
|
|
|
16
16
|
*/
|
|
17
17
|
const AbstractModel = require("../../common/abstract_model");
|
|
18
18
|
|
|
19
|
-
/**
|
|
20
|
-
* Pagination request parameters
|
|
21
|
-
* @class
|
|
22
|
-
*/
|
|
23
|
-
class PageByNoParams extends AbstractModel {
|
|
24
|
-
constructor(){
|
|
25
|
-
super();
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Number of items per page.
|
|
29
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
30
|
-
* @type {number || null}
|
|
31
|
-
*/
|
|
32
|
-
this.PerPage = null;
|
|
33
|
-
|
|
34
|
-
/**
|
|
35
|
-
* Page number, starting from 1.
|
|
36
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
37
|
-
* @type {string || null}
|
|
38
|
-
*/
|
|
39
|
-
this.PageNo = null;
|
|
40
|
-
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
/**
|
|
44
|
-
* @private
|
|
45
|
-
*/
|
|
46
|
-
deserialize(params) {
|
|
47
|
-
if (!params) {
|
|
48
|
-
return;
|
|
49
|
-
}
|
|
50
|
-
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
51
|
-
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
52
|
-
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
|
|
56
19
|
/**
|
|
57
20
|
* DescribeAlarmNotifyHistories request structure.
|
|
58
21
|
* @class
|
|
@@ -129,46 +92,42 @@ class DescribeAlarmNotifyHistoriesRequest extends AbstractModel {
|
|
|
129
92
|
}
|
|
130
93
|
|
|
131
94
|
/**
|
|
132
|
-
*
|
|
95
|
+
* ListAIWorkbenchArtifacts request structure.
|
|
133
96
|
* @class
|
|
134
97
|
*/
|
|
135
|
-
class
|
|
98
|
+
class ListAIWorkbenchArtifactsRequest extends AbstractModel {
|
|
136
99
|
constructor(){
|
|
137
100
|
super();
|
|
138
101
|
|
|
139
102
|
/**
|
|
140
|
-
*
|
|
141
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
103
|
+
* <p>Number of items per page</p>
|
|
142
104
|
* @type {number || null}
|
|
143
105
|
*/
|
|
144
|
-
this.
|
|
106
|
+
this.PerPage = null;
|
|
145
107
|
|
|
146
108
|
/**
|
|
147
|
-
*
|
|
148
|
-
Note: This field may return null, indicating that no valid values can be obtained.
|
|
109
|
+
* <p>Page number.</p>
|
|
149
110
|
* @type {number || null}
|
|
150
111
|
*/
|
|
151
|
-
this.
|
|
112
|
+
this.PageNo = null;
|
|
152
113
|
|
|
153
114
|
/**
|
|
154
|
-
*
|
|
155
|
-
|
|
156
|
-
* @type {number || null}
|
|
115
|
+
* <p>Session ID.</p>
|
|
116
|
+
* @type {Array.<string> || null}
|
|
157
117
|
*/
|
|
158
|
-
this.
|
|
118
|
+
this.SessionIds = null;
|
|
159
119
|
|
|
160
120
|
/**
|
|
161
|
-
*
|
|
162
|
-
|
|
163
|
-
* @type {boolean || null}
|
|
121
|
+
* <p>Message content type</p>
|
|
122
|
+
* @type {Array.<string> || null}
|
|
164
123
|
*/
|
|
165
|
-
this.
|
|
124
|
+
this.MimeTypes = null;
|
|
166
125
|
|
|
167
126
|
/**
|
|
168
|
-
*
|
|
169
|
-
* @type {
|
|
127
|
+
* <p>Sorting order</p><p>Enumeration values:</p><ul><li>ASC: ascending order</li><li>DESC: descending order</li></ul>
|
|
128
|
+
* @type {string || null}
|
|
170
129
|
*/
|
|
171
|
-
this.
|
|
130
|
+
this.OrderDirection = null;
|
|
172
131
|
|
|
173
132
|
}
|
|
174
133
|
|
|
@@ -179,34 +138,98 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
179
138
|
if (!params) {
|
|
180
139
|
return;
|
|
181
140
|
}
|
|
182
|
-
this.
|
|
183
|
-
this.
|
|
184
|
-
this.
|
|
185
|
-
this.
|
|
186
|
-
this.
|
|
141
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
142
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
143
|
+
this.SessionIds = 'SessionIds' in params ? params.SessionIds : null;
|
|
144
|
+
this.MimeTypes = 'MimeTypes' in params ? params.MimeTypes : null;
|
|
145
|
+
this.OrderDirection = 'OrderDirection' in params ? params.OrderDirection : null;
|
|
187
146
|
|
|
188
147
|
}
|
|
189
148
|
}
|
|
190
149
|
|
|
191
150
|
/**
|
|
192
|
-
*
|
|
151
|
+
* ListAIWorkbenchMCPs request structure.
|
|
193
152
|
* @class
|
|
194
153
|
*/
|
|
195
|
-
class
|
|
154
|
+
class ListAIWorkbenchMCPsRequest extends AbstractModel {
|
|
196
155
|
constructor(){
|
|
197
156
|
super();
|
|
198
157
|
|
|
199
158
|
/**
|
|
200
|
-
*
|
|
201
|
-
* @type {
|
|
159
|
+
* <p>Number of items per page</p>
|
|
160
|
+
* @type {number || null}
|
|
202
161
|
*/
|
|
203
|
-
this.
|
|
162
|
+
this.PerPage = null;
|
|
204
163
|
|
|
205
164
|
/**
|
|
206
|
-
*
|
|
207
|
-
* @type {
|
|
165
|
+
* <p>Page number.</p>
|
|
166
|
+
* @type {number || null}
|
|
208
167
|
*/
|
|
209
|
-
this.
|
|
168
|
+
this.PageNo = null;
|
|
169
|
+
|
|
170
|
+
/**
|
|
171
|
+
* <p>Filter by transmission protocol</p>
|
|
172
|
+
* @type {string || null}
|
|
173
|
+
*/
|
|
174
|
+
this.Transport = null;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* <p>Search keyword</p>
|
|
178
|
+
* @type {string || null}
|
|
179
|
+
*/
|
|
180
|
+
this.Keyword = null;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* <p>Whether to enable filter</p>
|
|
184
|
+
* @type {boolean || null}
|
|
185
|
+
*/
|
|
186
|
+
this.Enabled = null;
|
|
187
|
+
|
|
188
|
+
/**
|
|
189
|
+
* <p>Associated mcp</p>
|
|
190
|
+
* @type {Array.<string> || null}
|
|
191
|
+
*/
|
|
192
|
+
this.MCPIds = null;
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* <p>MCP type (built-in/private)</p><p>Enumeration values:</p><ul><li>builtin: platform built-in</li><li>private: user-customized</li></ul>
|
|
196
|
+
* @type {string || null}
|
|
197
|
+
*/
|
|
198
|
+
this.Type = null;
|
|
199
|
+
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @private
|
|
204
|
+
*/
|
|
205
|
+
deserialize(params) {
|
|
206
|
+
if (!params) {
|
|
207
|
+
return;
|
|
208
|
+
}
|
|
209
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
210
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
211
|
+
this.Transport = 'Transport' in params ? params.Transport : null;
|
|
212
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
213
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
214
|
+
this.MCPIds = 'MCPIds' in params ? params.MCPIds : null;
|
|
215
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
216
|
+
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
|
|
220
|
+
/**
|
|
221
|
+
* DescribeAIWorkbenchAgent response structure.
|
|
222
|
+
* @class
|
|
223
|
+
*/
|
|
224
|
+
class DescribeAIWorkbenchAgentResponse extends AbstractModel {
|
|
225
|
+
constructor(){
|
|
226
|
+
super();
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* <p>Agent Information</p>
|
|
230
|
+
* @type {AgentInfo || null}
|
|
231
|
+
*/
|
|
232
|
+
this.Agent = null;
|
|
210
233
|
|
|
211
234
|
/**
|
|
212
235
|
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
@@ -224,44 +247,101 @@ class DescribeAlarmNotifyHistoriesResponse extends AbstractModel {
|
|
|
224
247
|
return;
|
|
225
248
|
}
|
|
226
249
|
|
|
227
|
-
if (params.
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
obj.deserialize(params.AlarmNotifyHistoryList[z]);
|
|
232
|
-
this.AlarmNotifyHistoryList.push(obj);
|
|
233
|
-
}
|
|
250
|
+
if (params.Agent) {
|
|
251
|
+
let obj = new AgentInfo();
|
|
252
|
+
obj.deserialize(params.Agent)
|
|
253
|
+
this.Agent = obj;
|
|
234
254
|
}
|
|
255
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
235
256
|
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* CreateAIWorkbenchAgent response structure.
|
|
262
|
+
* @class
|
|
263
|
+
*/
|
|
264
|
+
class CreateAIWorkbenchAgentResponse extends AbstractModel {
|
|
265
|
+
constructor(){
|
|
266
|
+
super();
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* <p>Agent ID</p>
|
|
270
|
+
* @type {string || null}
|
|
271
|
+
*/
|
|
272
|
+
this.AgentId = null;
|
|
273
|
+
|
|
274
|
+
/**
|
|
275
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
276
|
+
* @type {string || null}
|
|
277
|
+
*/
|
|
278
|
+
this.RequestId = null;
|
|
279
|
+
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* @private
|
|
284
|
+
*/
|
|
285
|
+
deserialize(params) {
|
|
286
|
+
if (!params) {
|
|
287
|
+
return;
|
|
240
288
|
}
|
|
289
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
241
290
|
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
242
291
|
|
|
243
292
|
}
|
|
244
293
|
}
|
|
245
294
|
|
|
246
295
|
/**
|
|
247
|
-
*
|
|
296
|
+
* Pagination request parameters
|
|
248
297
|
* @class
|
|
249
298
|
*/
|
|
250
|
-
class
|
|
299
|
+
class PageByNoParams extends AbstractModel {
|
|
251
300
|
constructor(){
|
|
252
301
|
super();
|
|
253
302
|
|
|
254
303
|
/**
|
|
255
|
-
*
|
|
304
|
+
* Number of items per page.
|
|
305
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
306
|
+
* @type {number || null}
|
|
307
|
+
*/
|
|
308
|
+
this.PerPage = null;
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* Page number, starting from 1.
|
|
312
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
256
313
|
* @type {string || null}
|
|
257
314
|
*/
|
|
258
|
-
this.
|
|
315
|
+
this.PageNo = null;
|
|
316
|
+
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @private
|
|
321
|
+
*/
|
|
322
|
+
deserialize(params) {
|
|
323
|
+
if (!params) {
|
|
324
|
+
return;
|
|
325
|
+
}
|
|
326
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
327
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
328
|
+
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* DeleteAIWorkbenchAgent request structure.
|
|
334
|
+
* @class
|
|
335
|
+
*/
|
|
336
|
+
class DeleteAIWorkbenchAgentRequest extends AbstractModel {
|
|
337
|
+
constructor(){
|
|
338
|
+
super();
|
|
259
339
|
|
|
260
340
|
/**
|
|
261
|
-
*
|
|
341
|
+
* <p>Agent ID</p>
|
|
262
342
|
* @type {string || null}
|
|
263
343
|
*/
|
|
264
|
-
this.
|
|
344
|
+
this.AgentId = null;
|
|
265
345
|
|
|
266
346
|
}
|
|
267
347
|
|
|
@@ -272,8 +352,47 @@ class AlarmLable extends AbstractModel {
|
|
|
272
352
|
if (!params) {
|
|
273
353
|
return;
|
|
274
354
|
}
|
|
275
|
-
this.
|
|
276
|
-
|
|
355
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
356
|
+
|
|
357
|
+
}
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* ListAIWorkbenchResourceInstances request structure.
|
|
362
|
+
* @class
|
|
363
|
+
*/
|
|
364
|
+
class ListAIWorkbenchResourceInstancesRequest extends AbstractModel {
|
|
365
|
+
constructor(){
|
|
366
|
+
super();
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* <p>Resource map ID</p>
|
|
370
|
+
* @type {string || null}
|
|
371
|
+
*/
|
|
372
|
+
this.ResourceMapId = null;
|
|
373
|
+
|
|
374
|
+
/**
|
|
375
|
+
* <p>Pagination parameters</p>
|
|
376
|
+
* @type {PageByNumParams || null}
|
|
377
|
+
*/
|
|
378
|
+
this.PageParams = null;
|
|
379
|
+
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* @private
|
|
384
|
+
*/
|
|
385
|
+
deserialize(params) {
|
|
386
|
+
if (!params) {
|
|
387
|
+
return;
|
|
388
|
+
}
|
|
389
|
+
this.ResourceMapId = 'ResourceMapId' in params ? params.ResourceMapId : null;
|
|
390
|
+
|
|
391
|
+
if (params.PageParams) {
|
|
392
|
+
let obj = new PageByNumParams();
|
|
393
|
+
obj.deserialize(params.PageParams)
|
|
394
|
+
this.PageParams = obj;
|
|
395
|
+
}
|
|
277
396
|
|
|
278
397
|
}
|
|
279
398
|
}
|
|
@@ -324,24 +443,24 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
324
443
|
}
|
|
325
444
|
|
|
326
445
|
/**
|
|
327
|
-
*
|
|
446
|
+
* CreateAIWorkbenchTask response structure.
|
|
328
447
|
* @class
|
|
329
448
|
*/
|
|
330
|
-
class
|
|
449
|
+
class CreateAIWorkbenchTaskResponse extends AbstractModel {
|
|
331
450
|
constructor(){
|
|
332
451
|
super();
|
|
333
452
|
|
|
334
453
|
/**
|
|
335
|
-
*
|
|
454
|
+
* <p>Task ID.</p>
|
|
336
455
|
* @type {string || null}
|
|
337
456
|
*/
|
|
338
|
-
this.
|
|
457
|
+
this.TaskId = null;
|
|
339
458
|
|
|
340
459
|
/**
|
|
341
|
-
*
|
|
460
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
342
461
|
* @type {string || null}
|
|
343
462
|
*/
|
|
344
|
-
this.
|
|
463
|
+
this.RequestId = null;
|
|
345
464
|
|
|
346
465
|
}
|
|
347
466
|
|
|
@@ -352,122 +471,3333 @@ class NotifyRelatedNotice extends AbstractModel {
|
|
|
352
471
|
if (!params) {
|
|
353
472
|
return;
|
|
354
473
|
}
|
|
355
|
-
this.
|
|
356
|
-
this.
|
|
474
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
475
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
357
476
|
|
|
358
477
|
}
|
|
359
478
|
}
|
|
360
479
|
|
|
361
480
|
/**
|
|
362
|
-
*
|
|
481
|
+
* Session entity
|
|
363
482
|
* @class
|
|
364
483
|
*/
|
|
365
|
-
class
|
|
484
|
+
class SessionInfo extends AbstractModel {
|
|
366
485
|
constructor(){
|
|
367
486
|
super();
|
|
368
487
|
|
|
369
488
|
/**
|
|
370
|
-
*
|
|
489
|
+
* <p>Session ID</p>
|
|
371
490
|
* @type {string || null}
|
|
372
491
|
*/
|
|
373
|
-
this.
|
|
492
|
+
this.SessionId = null;
|
|
374
493
|
|
|
375
494
|
/**
|
|
376
|
-
*
|
|
495
|
+
* <p>Agent ID</p>
|
|
377
496
|
* @type {string || null}
|
|
378
497
|
*/
|
|
379
|
-
this.
|
|
498
|
+
this.AgentId = null;
|
|
380
499
|
|
|
381
500
|
/**
|
|
382
|
-
*
|
|
501
|
+
* <p>Session title</p>
|
|
383
502
|
* @type {string || null}
|
|
384
503
|
*/
|
|
385
|
-
this.
|
|
504
|
+
this.Title = null;
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* <p>Status: active / archived / deleted</p>
|
|
508
|
+
* @type {string || null}
|
|
509
|
+
*/
|
|
510
|
+
this.Status = null;
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* <p>If the session is triggered by a task, carry the task ID that triggers the session.</p>
|
|
514
|
+
* @type {string || null}
|
|
515
|
+
*/
|
|
516
|
+
this.TaskId = null;
|
|
517
|
+
|
|
518
|
+
}
|
|
519
|
+
|
|
520
|
+
/**
|
|
521
|
+
* @private
|
|
522
|
+
*/
|
|
523
|
+
deserialize(params) {
|
|
524
|
+
if (!params) {
|
|
525
|
+
return;
|
|
526
|
+
}
|
|
527
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
528
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
529
|
+
this.Title = 'Title' in params ? params.Title : null;
|
|
530
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
531
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
532
|
+
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
/**
|
|
537
|
+
* DescribeAIWorkbenchExecution request structure.
|
|
538
|
+
* @class
|
|
539
|
+
*/
|
|
540
|
+
class DescribeAIWorkbenchExecutionRequest extends AbstractModel {
|
|
541
|
+
constructor(){
|
|
542
|
+
super();
|
|
543
|
+
|
|
544
|
+
/**
|
|
545
|
+
* <p>Execution ID</p>
|
|
546
|
+
* @type {string || null}
|
|
547
|
+
*/
|
|
548
|
+
this.ExecutionId = null;
|
|
549
|
+
|
|
550
|
+
}
|
|
551
|
+
|
|
552
|
+
/**
|
|
553
|
+
* @private
|
|
554
|
+
*/
|
|
555
|
+
deserialize(params) {
|
|
556
|
+
if (!params) {
|
|
557
|
+
return;
|
|
558
|
+
}
|
|
559
|
+
this.ExecutionId = 'ExecutionId' in params ? params.ExecutionId : null;
|
|
560
|
+
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Execution record entity
|
|
566
|
+
* @class
|
|
567
|
+
*/
|
|
568
|
+
class ExecutionInfo extends AbstractModel {
|
|
569
|
+
constructor(){
|
|
570
|
+
super();
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* <p>Task name</p>
|
|
574
|
+
* @type {string || null}
|
|
575
|
+
*/
|
|
576
|
+
this.Name = null;
|
|
577
|
+
|
|
578
|
+
/**
|
|
579
|
+
* <p>Task ID.</p>
|
|
580
|
+
* @type {string || null}
|
|
581
|
+
*/
|
|
582
|
+
this.TaskId = null;
|
|
583
|
+
|
|
584
|
+
/**
|
|
585
|
+
* <p>Execution ID</p>
|
|
586
|
+
* @type {string || null}
|
|
587
|
+
*/
|
|
588
|
+
this.ExecutionId = null;
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* <p>Agent ID</p>
|
|
592
|
+
* @type {string || null}
|
|
593
|
+
*/
|
|
594
|
+
this.AgentId = null;
|
|
595
|
+
|
|
596
|
+
/**
|
|
597
|
+
* <p>Session ID</p>
|
|
598
|
+
* @type {string || null}
|
|
599
|
+
*/
|
|
600
|
+
this.SessionId = null;
|
|
601
|
+
|
|
602
|
+
/**
|
|
603
|
+
* <p>Trigger type: manual / cron / webhook</p>
|
|
604
|
+
* @type {string || null}
|
|
605
|
+
*/
|
|
606
|
+
this.TriggerType = null;
|
|
607
|
+
|
|
608
|
+
/**
|
|
609
|
+
* <p>Status: pending/running/completed/failed/timeout/cancelled</p>
|
|
610
|
+
* @type {string || null}
|
|
611
|
+
*/
|
|
612
|
+
this.Status = null;
|
|
613
|
+
|
|
614
|
+
/**
|
|
615
|
+
* <p>Execution Abstract</p>
|
|
616
|
+
* @type {string || null}
|
|
617
|
+
*/
|
|
618
|
+
this.Summary = null;
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* <p>Execution time (ms)</p>
|
|
622
|
+
* @type {number || null}
|
|
623
|
+
*/
|
|
624
|
+
this.DurationMs = null;
|
|
625
|
+
|
|
626
|
+
}
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* @private
|
|
630
|
+
*/
|
|
631
|
+
deserialize(params) {
|
|
632
|
+
if (!params) {
|
|
633
|
+
return;
|
|
634
|
+
}
|
|
635
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
636
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
637
|
+
this.ExecutionId = 'ExecutionId' in params ? params.ExecutionId : null;
|
|
638
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
639
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
640
|
+
this.TriggerType = 'TriggerType' in params ? params.TriggerType : null;
|
|
641
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
642
|
+
this.Summary = 'Summary' in params ? params.Summary : null;
|
|
643
|
+
this.DurationMs = 'DurationMs' in params ? params.DurationMs : null;
|
|
644
|
+
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* TriggerAIWorkbenchTask response structure.
|
|
650
|
+
* @class
|
|
651
|
+
*/
|
|
652
|
+
class TriggerAIWorkbenchTaskResponse extends AbstractModel {
|
|
653
|
+
constructor(){
|
|
654
|
+
super();
|
|
655
|
+
|
|
656
|
+
/**
|
|
657
|
+
* <p>Execution ID.</p>
|
|
658
|
+
* @type {string || null}
|
|
659
|
+
*/
|
|
660
|
+
this.ExecutionId = null;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
664
|
+
* @type {string || null}
|
|
665
|
+
*/
|
|
666
|
+
this.RequestId = null;
|
|
667
|
+
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
/**
|
|
671
|
+
* @private
|
|
672
|
+
*/
|
|
673
|
+
deserialize(params) {
|
|
674
|
+
if (!params) {
|
|
675
|
+
return;
|
|
676
|
+
}
|
|
677
|
+
this.ExecutionId = 'ExecutionId' in params ? params.ExecutionId : null;
|
|
678
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
679
|
+
|
|
680
|
+
}
|
|
681
|
+
}
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Pagination result parameters
|
|
685
|
+
* @class
|
|
686
|
+
*/
|
|
687
|
+
class PageByNoResult extends AbstractModel {
|
|
688
|
+
constructor(){
|
|
689
|
+
super();
|
|
690
|
+
|
|
691
|
+
/**
|
|
692
|
+
* Total data.
|
|
693
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
694
|
+
* @type {number || null}
|
|
695
|
+
*/
|
|
696
|
+
this.TotalCount = null;
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* Total number of pages.
|
|
700
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
701
|
+
* @type {number || null}
|
|
702
|
+
*/
|
|
703
|
+
this.TotalPage = null;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Current page number.
|
|
707
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
708
|
+
* @type {number || null}
|
|
709
|
+
*/
|
|
710
|
+
this.CurrentPageNo = null;
|
|
711
|
+
|
|
712
|
+
/**
|
|
713
|
+
* [Deprecated] Whether it has reached the end.
|
|
714
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
715
|
+
* @type {boolean || null}
|
|
716
|
+
*/
|
|
717
|
+
this.IsEnd = null;
|
|
718
|
+
|
|
719
|
+
/**
|
|
720
|
+
* Whether it has traversed to the end.
|
|
721
|
+
* @type {boolean || null}
|
|
722
|
+
*/
|
|
723
|
+
this.End = null;
|
|
724
|
+
|
|
725
|
+
}
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* @private
|
|
729
|
+
*/
|
|
730
|
+
deserialize(params) {
|
|
731
|
+
if (!params) {
|
|
732
|
+
return;
|
|
733
|
+
}
|
|
734
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
735
|
+
this.TotalPage = 'TotalPage' in params ? params.TotalPage : null;
|
|
736
|
+
this.CurrentPageNo = 'CurrentPageNo' in params ? params.CurrentPageNo : null;
|
|
737
|
+
this.IsEnd = 'IsEnd' in params ? params.IsEnd : null;
|
|
738
|
+
this.End = 'End' in params ? params.End : null;
|
|
739
|
+
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
/**
|
|
744
|
+
* GetAIWorkbenchArtifactDownloadURL response structure.
|
|
745
|
+
* @class
|
|
746
|
+
*/
|
|
747
|
+
class GetAIWorkbenchArtifactDownloadURLResponse extends AbstractModel {
|
|
748
|
+
constructor(){
|
|
749
|
+
super();
|
|
750
|
+
|
|
751
|
+
/**
|
|
752
|
+
* <p>COS pre-signed HTTPS download URL</p>
|
|
753
|
+
* @type {string || null}
|
|
754
|
+
*/
|
|
755
|
+
this.DownloadURL = null;
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* <p>URL expiration time (RFC3339 format)</p>
|
|
759
|
+
* @type {string || null}
|
|
760
|
+
*/
|
|
761
|
+
this.ExpiredAt = null;
|
|
762
|
+
|
|
763
|
+
/**
|
|
764
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
765
|
+
* @type {string || null}
|
|
766
|
+
*/
|
|
767
|
+
this.RequestId = null;
|
|
768
|
+
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
/**
|
|
772
|
+
* @private
|
|
773
|
+
*/
|
|
774
|
+
deserialize(params) {
|
|
775
|
+
if (!params) {
|
|
776
|
+
return;
|
|
777
|
+
}
|
|
778
|
+
this.DownloadURL = 'DownloadURL' in params ? params.DownloadURL : null;
|
|
779
|
+
this.ExpiredAt = 'ExpiredAt' in params ? params.ExpiredAt : null;
|
|
780
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
781
|
+
|
|
782
|
+
}
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
/**
|
|
786
|
+
* ListAIWorkbenchResourceMaps request structure.
|
|
787
|
+
* @class
|
|
788
|
+
*/
|
|
789
|
+
class ListAIWorkbenchResourceMapsRequest extends AbstractModel {
|
|
790
|
+
constructor(){
|
|
791
|
+
super();
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* <p>Number of items per page</p>
|
|
795
|
+
* @type {number || null}
|
|
796
|
+
*/
|
|
797
|
+
this.PerPage = null;
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* <p>Page number.</p>
|
|
801
|
+
* @type {number || null}
|
|
802
|
+
*/
|
|
803
|
+
this.PageNo = null;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* <p>Search by name</p>
|
|
807
|
+
* @type {string || null}
|
|
808
|
+
*/
|
|
809
|
+
this.Keyword = null;
|
|
810
|
+
|
|
811
|
+
}
|
|
812
|
+
|
|
813
|
+
/**
|
|
814
|
+
* @private
|
|
815
|
+
*/
|
|
816
|
+
deserialize(params) {
|
|
817
|
+
if (!params) {
|
|
818
|
+
return;
|
|
819
|
+
}
|
|
820
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
821
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
822
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
823
|
+
|
|
824
|
+
}
|
|
825
|
+
}
|
|
826
|
+
|
|
827
|
+
/**
|
|
828
|
+
* Resource map entity
|
|
829
|
+
* @class
|
|
830
|
+
*/
|
|
831
|
+
class ResourceMapInfo extends AbstractModel {
|
|
832
|
+
constructor(){
|
|
833
|
+
super();
|
|
834
|
+
|
|
835
|
+
/**
|
|
836
|
+
* <p>Resource map ID</p>
|
|
837
|
+
* @type {string || null}
|
|
838
|
+
*/
|
|
839
|
+
this.ResourceMapId = null;
|
|
840
|
+
|
|
841
|
+
/**
|
|
842
|
+
* <p>Resource map name</p>
|
|
843
|
+
* @type {string || null}
|
|
844
|
+
*/
|
|
845
|
+
this.Name = null;
|
|
846
|
+
|
|
847
|
+
/**
|
|
848
|
+
* <p>Resource map description</p>
|
|
849
|
+
* @type {string || null}
|
|
850
|
+
*/
|
|
851
|
+
this.Description = null;
|
|
852
|
+
|
|
853
|
+
/**
|
|
854
|
+
* <p>Total number of instances</p>
|
|
855
|
+
* @type {number || null}
|
|
856
|
+
*/
|
|
857
|
+
this.InstanceCount = null;
|
|
858
|
+
|
|
859
|
+
}
|
|
860
|
+
|
|
861
|
+
/**
|
|
862
|
+
* @private
|
|
863
|
+
*/
|
|
864
|
+
deserialize(params) {
|
|
865
|
+
if (!params) {
|
|
866
|
+
return;
|
|
867
|
+
}
|
|
868
|
+
this.ResourceMapId = 'ResourceMapId' in params ? params.ResourceMapId : null;
|
|
869
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
870
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
871
|
+
this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
|
|
872
|
+
|
|
873
|
+
}
|
|
874
|
+
}
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Agent information.
|
|
878
|
+
* @class
|
|
879
|
+
*/
|
|
880
|
+
class AgentInfo extends AbstractModel {
|
|
881
|
+
constructor(){
|
|
882
|
+
super();
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* <p>Agent ID</p>
|
|
886
|
+
* @type {string || null}
|
|
887
|
+
*/
|
|
888
|
+
this.AgentId = null;
|
|
889
|
+
|
|
890
|
+
/**
|
|
891
|
+
* <p>Agent name</p>
|
|
892
|
+
* @type {string || null}
|
|
893
|
+
*/
|
|
894
|
+
this.Name = null;
|
|
895
|
+
|
|
896
|
+
/**
|
|
897
|
+
* <p>Agent description</p>
|
|
898
|
+
* @type {string || null}
|
|
899
|
+
*/
|
|
900
|
+
this.Description = null;
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* <p>Agent Category.</p>
|
|
904
|
+
* @type {string || null}
|
|
905
|
+
*/
|
|
906
|
+
this.Category = null;
|
|
907
|
+
|
|
908
|
+
/**
|
|
909
|
+
* <p>Status: draft/configured/running/standby/disabled</p>
|
|
910
|
+
* @type {string || null}
|
|
911
|
+
*/
|
|
912
|
+
this.Status = null;
|
|
913
|
+
|
|
914
|
+
/**
|
|
915
|
+
* <p>List of associated skill IDs.</p>
|
|
916
|
+
* @type {Array.<string> || null}
|
|
917
|
+
*/
|
|
918
|
+
this.SkillIds = null;
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* <p>Associated resource map ID.</p>
|
|
922
|
+
* @type {string || null}
|
|
923
|
+
*/
|
|
924
|
+
this.ResourceMapId = null;
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* <p>Associated mcp id.</p>
|
|
928
|
+
* @type {Array.<string> || null}
|
|
929
|
+
*/
|
|
930
|
+
this.MCPIds = null;
|
|
931
|
+
|
|
932
|
+
/**
|
|
933
|
+
* <p>Resource Tag.</p>
|
|
934
|
+
* @type {Array.<Tag> || null}
|
|
935
|
+
*/
|
|
936
|
+
this.CamTags = null;
|
|
937
|
+
|
|
938
|
+
/**
|
|
939
|
+
* <p>Environment variables required by the agent at runtime</p>
|
|
940
|
+
* @type {Array.<EnvVar> || null}
|
|
941
|
+
*/
|
|
942
|
+
this.EnvVars = null;
|
|
943
|
+
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
/**
|
|
947
|
+
* @private
|
|
948
|
+
*/
|
|
949
|
+
deserialize(params) {
|
|
950
|
+
if (!params) {
|
|
951
|
+
return;
|
|
952
|
+
}
|
|
953
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
954
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
955
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
956
|
+
this.Category = 'Category' in params ? params.Category : null;
|
|
957
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
958
|
+
this.SkillIds = 'SkillIds' in params ? params.SkillIds : null;
|
|
959
|
+
this.ResourceMapId = 'ResourceMapId' in params ? params.ResourceMapId : null;
|
|
960
|
+
this.MCPIds = 'MCPIds' in params ? params.MCPIds : null;
|
|
961
|
+
|
|
962
|
+
if (params.CamTags) {
|
|
963
|
+
this.CamTags = new Array();
|
|
964
|
+
for (let z in params.CamTags) {
|
|
965
|
+
let obj = new Tag();
|
|
966
|
+
obj.deserialize(params.CamTags[z]);
|
|
967
|
+
this.CamTags.push(obj);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
|
|
971
|
+
if (params.EnvVars) {
|
|
972
|
+
this.EnvVars = new Array();
|
|
973
|
+
for (let z in params.EnvVars) {
|
|
974
|
+
let obj = new EnvVar();
|
|
975
|
+
obj.deserialize(params.EnvVars[z]);
|
|
976
|
+
this.EnvVars.push(obj);
|
|
977
|
+
}
|
|
978
|
+
}
|
|
979
|
+
|
|
980
|
+
}
|
|
981
|
+
}
|
|
982
|
+
|
|
983
|
+
/**
|
|
984
|
+
* DescribeAIWorkbenchSkill response structure.
|
|
985
|
+
* @class
|
|
986
|
+
*/
|
|
987
|
+
class DescribeAIWorkbenchSkillResponse extends AbstractModel {
|
|
988
|
+
constructor(){
|
|
989
|
+
super();
|
|
990
|
+
|
|
991
|
+
/**
|
|
992
|
+
* <p>Skill information.</p>
|
|
993
|
+
* @type {SkillInfo || null}
|
|
994
|
+
*/
|
|
995
|
+
this.Skill = null;
|
|
996
|
+
|
|
997
|
+
/**
|
|
998
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
999
|
+
* @type {string || null}
|
|
1000
|
+
*/
|
|
1001
|
+
this.RequestId = null;
|
|
1002
|
+
|
|
1003
|
+
}
|
|
1004
|
+
|
|
1005
|
+
/**
|
|
1006
|
+
* @private
|
|
1007
|
+
*/
|
|
1008
|
+
deserialize(params) {
|
|
1009
|
+
if (!params) {
|
|
1010
|
+
return;
|
|
1011
|
+
}
|
|
1012
|
+
|
|
1013
|
+
if (params.Skill) {
|
|
1014
|
+
let obj = new SkillInfo();
|
|
1015
|
+
obj.deserialize(params.Skill)
|
|
1016
|
+
this.Skill = obj;
|
|
1017
|
+
}
|
|
1018
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1019
|
+
|
|
1020
|
+
}
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1023
|
+
/**
|
|
1024
|
+
* Alarming Label
|
|
1025
|
+
* @class
|
|
1026
|
+
*/
|
|
1027
|
+
class AlarmLable extends AbstractModel {
|
|
1028
|
+
constructor(){
|
|
1029
|
+
super();
|
|
1030
|
+
|
|
1031
|
+
/**
|
|
1032
|
+
* label name
|
|
1033
|
+
* @type {string || null}
|
|
1034
|
+
*/
|
|
1035
|
+
this.Name = null;
|
|
1036
|
+
|
|
1037
|
+
/**
|
|
1038
|
+
* label value
|
|
1039
|
+
* @type {string || null}
|
|
1040
|
+
*/
|
|
1041
|
+
this.Value = null;
|
|
1042
|
+
|
|
1043
|
+
}
|
|
1044
|
+
|
|
1045
|
+
/**
|
|
1046
|
+
* @private
|
|
1047
|
+
*/
|
|
1048
|
+
deserialize(params) {
|
|
1049
|
+
if (!params) {
|
|
1050
|
+
return;
|
|
1051
|
+
}
|
|
1052
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1053
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1054
|
+
|
|
1055
|
+
}
|
|
1056
|
+
}
|
|
1057
|
+
|
|
1058
|
+
/**
|
|
1059
|
+
* Pagination result parameters
|
|
1060
|
+
* @class
|
|
1061
|
+
*/
|
|
1062
|
+
class PageByNumResult extends AbstractModel {
|
|
1063
|
+
constructor(){
|
|
1064
|
+
super();
|
|
1065
|
+
|
|
1066
|
+
/**
|
|
1067
|
+
* <p>Total number of data</p>
|
|
1068
|
+
* @type {number || null}
|
|
1069
|
+
*/
|
|
1070
|
+
this.TotalCount = null;
|
|
1071
|
+
|
|
1072
|
+
/**
|
|
1073
|
+
* <p>Total number of pages</p>
|
|
1074
|
+
* @type {number || null}
|
|
1075
|
+
*/
|
|
1076
|
+
this.TotalPage = null;
|
|
1077
|
+
|
|
1078
|
+
/**
|
|
1079
|
+
* <p>Current page number</p>
|
|
1080
|
+
* @type {number || null}
|
|
1081
|
+
*/
|
|
1082
|
+
this.CurrentPageNo = null;
|
|
1083
|
+
|
|
1084
|
+
}
|
|
1085
|
+
|
|
1086
|
+
/**
|
|
1087
|
+
* @private
|
|
1088
|
+
*/
|
|
1089
|
+
deserialize(params) {
|
|
1090
|
+
if (!params) {
|
|
1091
|
+
return;
|
|
1092
|
+
}
|
|
1093
|
+
this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
|
|
1094
|
+
this.TotalPage = 'TotalPage' in params ? params.TotalPage : null;
|
|
1095
|
+
this.CurrentPageNo = 'CurrentPageNo' in params ? params.CurrentPageNo : null;
|
|
1096
|
+
|
|
1097
|
+
}
|
|
1098
|
+
}
|
|
1099
|
+
|
|
1100
|
+
/**
|
|
1101
|
+
* Tag.
|
|
1102
|
+
* @class
|
|
1103
|
+
*/
|
|
1104
|
+
class Tag extends AbstractModel {
|
|
1105
|
+
constructor(){
|
|
1106
|
+
super();
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Tag key
|
|
1110
|
+
* @type {string || null}
|
|
1111
|
+
*/
|
|
1112
|
+
this.Key = null;
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Tag value
|
|
1116
|
+
* @type {string || null}
|
|
1117
|
+
*/
|
|
1118
|
+
this.Value = null;
|
|
1119
|
+
|
|
1120
|
+
}
|
|
1121
|
+
|
|
1122
|
+
/**
|
|
1123
|
+
* @private
|
|
1124
|
+
*/
|
|
1125
|
+
deserialize(params) {
|
|
1126
|
+
if (!params) {
|
|
1127
|
+
return;
|
|
1128
|
+
}
|
|
1129
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
1130
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
1131
|
+
|
|
1132
|
+
}
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* ListAIWorkbenchMCPs response structure.
|
|
1137
|
+
* @class
|
|
1138
|
+
*/
|
|
1139
|
+
class ListAIWorkbenchMCPsResponse extends AbstractModel {
|
|
1140
|
+
constructor(){
|
|
1141
|
+
super();
|
|
1142
|
+
|
|
1143
|
+
/**
|
|
1144
|
+
* <p>MCP list</p>
|
|
1145
|
+
* @type {Array.<MCPInfo> || null}
|
|
1146
|
+
*/
|
|
1147
|
+
this.MCPs = null;
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* <p>Pagination result.</p>
|
|
1151
|
+
* @type {PageByNumResult || null}
|
|
1152
|
+
*/
|
|
1153
|
+
this.PageResult = null;
|
|
1154
|
+
|
|
1155
|
+
/**
|
|
1156
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1157
|
+
* @type {string || null}
|
|
1158
|
+
*/
|
|
1159
|
+
this.RequestId = null;
|
|
1160
|
+
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
/**
|
|
1164
|
+
* @private
|
|
1165
|
+
*/
|
|
1166
|
+
deserialize(params) {
|
|
1167
|
+
if (!params) {
|
|
1168
|
+
return;
|
|
1169
|
+
}
|
|
1170
|
+
|
|
1171
|
+
if (params.MCPs) {
|
|
1172
|
+
this.MCPs = new Array();
|
|
1173
|
+
for (let z in params.MCPs) {
|
|
1174
|
+
let obj = new MCPInfo();
|
|
1175
|
+
obj.deserialize(params.MCPs[z]);
|
|
1176
|
+
this.MCPs.push(obj);
|
|
1177
|
+
}
|
|
1178
|
+
}
|
|
1179
|
+
|
|
1180
|
+
if (params.PageResult) {
|
|
1181
|
+
let obj = new PageByNumResult();
|
|
1182
|
+
obj.deserialize(params.PageResult)
|
|
1183
|
+
this.PageResult = obj;
|
|
1184
|
+
}
|
|
1185
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1186
|
+
|
|
1187
|
+
}
|
|
1188
|
+
}
|
|
1189
|
+
|
|
1190
|
+
/**
|
|
1191
|
+
* CreateAIWorkbenchAgent request structure.
|
|
1192
|
+
* @class
|
|
1193
|
+
*/
|
|
1194
|
+
class CreateAIWorkbenchAgentRequest extends AbstractModel {
|
|
1195
|
+
constructor(){
|
|
1196
|
+
super();
|
|
1197
|
+
|
|
1198
|
+
/**
|
|
1199
|
+
* <p>Agent Name</p>
|
|
1200
|
+
* @type {string || null}
|
|
1201
|
+
*/
|
|
1202
|
+
this.Name = null;
|
|
1203
|
+
|
|
1204
|
+
/**
|
|
1205
|
+
* <p>Agent description</p>
|
|
1206
|
+
* @type {string || null}
|
|
1207
|
+
*/
|
|
1208
|
+
this.Description = null;
|
|
1209
|
+
|
|
1210
|
+
/**
|
|
1211
|
+
* <p>Agent Category</p>
|
|
1212
|
+
* @type {string || null}
|
|
1213
|
+
*/
|
|
1214
|
+
this.Category = null;
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* <p>Agent tag</p>
|
|
1218
|
+
* @type {Array.<string> || null}
|
|
1219
|
+
*/
|
|
1220
|
+
this.Tags = null;
|
|
1221
|
+
|
|
1222
|
+
/**
|
|
1223
|
+
* <p>Agent prompt content</p>
|
|
1224
|
+
* @type {InstructionConfig || null}
|
|
1225
|
+
*/
|
|
1226
|
+
this.Instruction = null;
|
|
1227
|
+
|
|
1228
|
+
/**
|
|
1229
|
+
* <p>List of associated skill IDs.</p>
|
|
1230
|
+
* @type {Array.<string> || null}
|
|
1231
|
+
*/
|
|
1232
|
+
this.SkillIds = null;
|
|
1233
|
+
|
|
1234
|
+
/**
|
|
1235
|
+
* <p>Source: builtin / custom</p>
|
|
1236
|
+
* @type {string || null}
|
|
1237
|
+
*/
|
|
1238
|
+
this.Source = null;
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* <p>Map ID of the associated resource</p>
|
|
1242
|
+
* @type {string || null}
|
|
1243
|
+
*/
|
|
1244
|
+
this.ResourceMapId = null;
|
|
1245
|
+
|
|
1246
|
+
/**
|
|
1247
|
+
* <p>Associated mcp tool</p>
|
|
1248
|
+
* @type {Array.<string> || null}
|
|
1249
|
+
*/
|
|
1250
|
+
this.MCPIds = null;
|
|
1251
|
+
|
|
1252
|
+
/**
|
|
1253
|
+
* <p>Resource tag</p>
|
|
1254
|
+
* @type {Array.<Tag> || null}
|
|
1255
|
+
*/
|
|
1256
|
+
this.CamTags = null;
|
|
1257
|
+
|
|
1258
|
+
/**
|
|
1259
|
+
* <p>agent runtime environment variable</p>
|
|
1260
|
+
* @type {Array.<EnvVar> || null}
|
|
1261
|
+
*/
|
|
1262
|
+
this.EnvVars = null;
|
|
1263
|
+
|
|
1264
|
+
}
|
|
1265
|
+
|
|
1266
|
+
/**
|
|
1267
|
+
* @private
|
|
1268
|
+
*/
|
|
1269
|
+
deserialize(params) {
|
|
1270
|
+
if (!params) {
|
|
1271
|
+
return;
|
|
1272
|
+
}
|
|
1273
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1274
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1275
|
+
this.Category = 'Category' in params ? params.Category : null;
|
|
1276
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
1277
|
+
|
|
1278
|
+
if (params.Instruction) {
|
|
1279
|
+
let obj = new InstructionConfig();
|
|
1280
|
+
obj.deserialize(params.Instruction)
|
|
1281
|
+
this.Instruction = obj;
|
|
1282
|
+
}
|
|
1283
|
+
this.SkillIds = 'SkillIds' in params ? params.SkillIds : null;
|
|
1284
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
1285
|
+
this.ResourceMapId = 'ResourceMapId' in params ? params.ResourceMapId : null;
|
|
1286
|
+
this.MCPIds = 'MCPIds' in params ? params.MCPIds : null;
|
|
1287
|
+
|
|
1288
|
+
if (params.CamTags) {
|
|
1289
|
+
this.CamTags = new Array();
|
|
1290
|
+
for (let z in params.CamTags) {
|
|
1291
|
+
let obj = new Tag();
|
|
1292
|
+
obj.deserialize(params.CamTags[z]);
|
|
1293
|
+
this.CamTags.push(obj);
|
|
1294
|
+
}
|
|
1295
|
+
}
|
|
1296
|
+
|
|
1297
|
+
if (params.EnvVars) {
|
|
1298
|
+
this.EnvVars = new Array();
|
|
1299
|
+
for (let z in params.EnvVars) {
|
|
1300
|
+
let obj = new EnvVar();
|
|
1301
|
+
obj.deserialize(params.EnvVars[z]);
|
|
1302
|
+
this.EnvVars.push(obj);
|
|
1303
|
+
}
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
}
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
/**
|
|
1310
|
+
* ListAIWorkbenchSkills response structure.
|
|
1311
|
+
* @class
|
|
1312
|
+
*/
|
|
1313
|
+
class ListAIWorkbenchSkillsResponse extends AbstractModel {
|
|
1314
|
+
constructor(){
|
|
1315
|
+
super();
|
|
1316
|
+
|
|
1317
|
+
/**
|
|
1318
|
+
* <p>List of skills</p>
|
|
1319
|
+
* @type {Array.<SkillInfo> || null}
|
|
1320
|
+
*/
|
|
1321
|
+
this.Skills = null;
|
|
1322
|
+
|
|
1323
|
+
/**
|
|
1324
|
+
* <p>Pagination result</p>
|
|
1325
|
+
* @type {PageByNumResult || null}
|
|
1326
|
+
*/
|
|
1327
|
+
this.PageResult = null;
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1331
|
+
* @type {string || null}
|
|
1332
|
+
*/
|
|
1333
|
+
this.RequestId = null;
|
|
1334
|
+
|
|
1335
|
+
}
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* @private
|
|
1339
|
+
*/
|
|
1340
|
+
deserialize(params) {
|
|
1341
|
+
if (!params) {
|
|
1342
|
+
return;
|
|
1343
|
+
}
|
|
1344
|
+
|
|
1345
|
+
if (params.Skills) {
|
|
1346
|
+
this.Skills = new Array();
|
|
1347
|
+
for (let z in params.Skills) {
|
|
1348
|
+
let obj = new SkillInfo();
|
|
1349
|
+
obj.deserialize(params.Skills[z]);
|
|
1350
|
+
this.Skills.push(obj);
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
if (params.PageResult) {
|
|
1355
|
+
let obj = new PageByNumResult();
|
|
1356
|
+
obj.deserialize(params.PageResult)
|
|
1357
|
+
this.PageResult = obj;
|
|
1358
|
+
}
|
|
1359
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1360
|
+
|
|
1361
|
+
}
|
|
1362
|
+
}
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* DeleteAIWorkbenchTask request structure.
|
|
1366
|
+
* @class
|
|
1367
|
+
*/
|
|
1368
|
+
class DeleteAIWorkbenchTaskRequest extends AbstractModel {
|
|
1369
|
+
constructor(){
|
|
1370
|
+
super();
|
|
1371
|
+
|
|
1372
|
+
/**
|
|
1373
|
+
* <p>Task ID.</p>
|
|
1374
|
+
* @type {string || null}
|
|
1375
|
+
*/
|
|
1376
|
+
this.TaskId = null;
|
|
1377
|
+
|
|
1378
|
+
}
|
|
1379
|
+
|
|
1380
|
+
/**
|
|
1381
|
+
* @private
|
|
1382
|
+
*/
|
|
1383
|
+
deserialize(params) {
|
|
1384
|
+
if (!params) {
|
|
1385
|
+
return;
|
|
1386
|
+
}
|
|
1387
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
1388
|
+
|
|
1389
|
+
}
|
|
1390
|
+
}
|
|
1391
|
+
|
|
1392
|
+
/**
|
|
1393
|
+
* CreateAIWorkbenchTask request structure.
|
|
1394
|
+
* @class
|
|
1395
|
+
*/
|
|
1396
|
+
class CreateAIWorkbenchTaskRequest extends AbstractModel {
|
|
1397
|
+
constructor(){
|
|
1398
|
+
super();
|
|
1399
|
+
|
|
1400
|
+
/**
|
|
1401
|
+
* <p>Task Name</p>
|
|
1402
|
+
* @type {string || null}
|
|
1403
|
+
*/
|
|
1404
|
+
this.Name = null;
|
|
1405
|
+
|
|
1406
|
+
/**
|
|
1407
|
+
* <p>Task description</p>
|
|
1408
|
+
* @type {string || null}
|
|
1409
|
+
*/
|
|
1410
|
+
this.Description = null;
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* <p>Associated Agent ID</p>
|
|
1414
|
+
* @type {string || null}
|
|
1415
|
+
*/
|
|
1416
|
+
this.AgentId = null;
|
|
1417
|
+
|
|
1418
|
+
/**
|
|
1419
|
+
* <p>Prompt Template</p>
|
|
1420
|
+
* @type {string || null}
|
|
1421
|
+
*/
|
|
1422
|
+
this.PromptTemplate = null;
|
|
1423
|
+
|
|
1424
|
+
/**
|
|
1425
|
+
* <p>Output format: markdown / json</p>
|
|
1426
|
+
* @type {string || null}
|
|
1427
|
+
*/
|
|
1428
|
+
this.OutputFormat = null;
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* <p>Trigger type: manual / cron / webhook</p>
|
|
1432
|
+
* @type {string || null}
|
|
1433
|
+
*/
|
|
1434
|
+
this.TriggerType = null;
|
|
1435
|
+
|
|
1436
|
+
/**
|
|
1437
|
+
* <p>Cron expression</p>
|
|
1438
|
+
* @type {string || null}
|
|
1439
|
+
*/
|
|
1440
|
+
this.CronExpr = null;
|
|
1441
|
+
|
|
1442
|
+
/**
|
|
1443
|
+
* <p>Cron time zone</p>
|
|
1444
|
+
* @type {string || null}
|
|
1445
|
+
*/
|
|
1446
|
+
this.CronTimezone = null;
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* <p>Associated resource map ID</p>
|
|
1450
|
+
* @type {string || null}
|
|
1451
|
+
*/
|
|
1452
|
+
this.ResourceMapId = null;
|
|
1453
|
+
|
|
1454
|
+
/**
|
|
1455
|
+
* <p>Skill ID list</p>
|
|
1456
|
+
* @type {Array.<string> || null}
|
|
1457
|
+
*/
|
|
1458
|
+
this.SkillIds = null;
|
|
1459
|
+
|
|
1460
|
+
/**
|
|
1461
|
+
* <p>MCP endpoint ID list</p>
|
|
1462
|
+
* @type {Array.<string> || null}
|
|
1463
|
+
*/
|
|
1464
|
+
this.McpEndpointIds = null;
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* <p>Timeout (seconds)</p>
|
|
1468
|
+
* @type {number || null}
|
|
1469
|
+
*/
|
|
1470
|
+
this.TimeoutSec = null;
|
|
1471
|
+
|
|
1472
|
+
/**
|
|
1473
|
+
* <p>Retry count</p>
|
|
1474
|
+
* @type {number || null}
|
|
1475
|
+
*/
|
|
1476
|
+
this.RetryCount = null;
|
|
1477
|
+
|
|
1478
|
+
/**
|
|
1479
|
+
* <p>Whether to enable</p>
|
|
1480
|
+
* @type {boolean || null}
|
|
1481
|
+
*/
|
|
1482
|
+
this.Enabled = null;
|
|
1483
|
+
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
/**
|
|
1487
|
+
* @private
|
|
1488
|
+
*/
|
|
1489
|
+
deserialize(params) {
|
|
1490
|
+
if (!params) {
|
|
1491
|
+
return;
|
|
1492
|
+
}
|
|
1493
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1494
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1495
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
1496
|
+
this.PromptTemplate = 'PromptTemplate' in params ? params.PromptTemplate : null;
|
|
1497
|
+
this.OutputFormat = 'OutputFormat' in params ? params.OutputFormat : null;
|
|
1498
|
+
this.TriggerType = 'TriggerType' in params ? params.TriggerType : null;
|
|
1499
|
+
this.CronExpr = 'CronExpr' in params ? params.CronExpr : null;
|
|
1500
|
+
this.CronTimezone = 'CronTimezone' in params ? params.CronTimezone : null;
|
|
1501
|
+
this.ResourceMapId = 'ResourceMapId' in params ? params.ResourceMapId : null;
|
|
1502
|
+
this.SkillIds = 'SkillIds' in params ? params.SkillIds : null;
|
|
1503
|
+
this.McpEndpointIds = 'McpEndpointIds' in params ? params.McpEndpointIds : null;
|
|
1504
|
+
this.TimeoutSec = 'TimeoutSec' in params ? params.TimeoutSec : null;
|
|
1505
|
+
this.RetryCount = 'RetryCount' in params ? params.RetryCount : null;
|
|
1506
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
1507
|
+
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* DescribeAIWorkbenchArtifact request structure.
|
|
1513
|
+
* @class
|
|
1514
|
+
*/
|
|
1515
|
+
class DescribeAIWorkbenchArtifactRequest extends AbstractModel {
|
|
1516
|
+
constructor(){
|
|
1517
|
+
super();
|
|
1518
|
+
|
|
1519
|
+
/**
|
|
1520
|
+
* <p>Product ID</p>
|
|
1521
|
+
* @type {string || null}
|
|
1522
|
+
*/
|
|
1523
|
+
this.ArtifactId = null;
|
|
1524
|
+
|
|
1525
|
+
/**
|
|
1526
|
+
* <p>Whether to download the URL</p><p><code>1</code> = required, <code>0</code> or not passed = not required</p>
|
|
1527
|
+
* @type {number || null}
|
|
1528
|
+
*/
|
|
1529
|
+
this.NeedDownloadURL = null;
|
|
1530
|
+
|
|
1531
|
+
}
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* @private
|
|
1535
|
+
*/
|
|
1536
|
+
deserialize(params) {
|
|
1537
|
+
if (!params) {
|
|
1538
|
+
return;
|
|
1539
|
+
}
|
|
1540
|
+
this.ArtifactId = 'ArtifactId' in params ? params.ArtifactId : null;
|
|
1541
|
+
this.NeedDownloadURL = 'NeedDownloadURL' in params ? params.NeedDownloadURL : null;
|
|
1542
|
+
|
|
1543
|
+
}
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
/**
|
|
1547
|
+
* ListAIWorkbenchSkills request structure.
|
|
1548
|
+
* @class
|
|
1549
|
+
*/
|
|
1550
|
+
class ListAIWorkbenchSkillsRequest extends AbstractModel {
|
|
1551
|
+
constructor(){
|
|
1552
|
+
super();
|
|
1553
|
+
|
|
1554
|
+
/**
|
|
1555
|
+
* <p>Number of items per page</p>
|
|
1556
|
+
* @type {number || null}
|
|
1557
|
+
*/
|
|
1558
|
+
this.PerPage = null;
|
|
1559
|
+
|
|
1560
|
+
/**
|
|
1561
|
+
* <p>Page number.</p>
|
|
1562
|
+
* @type {number || null}
|
|
1563
|
+
*/
|
|
1564
|
+
this.PageNo = null;
|
|
1565
|
+
|
|
1566
|
+
/**
|
|
1567
|
+
* <p>Filter by type</p>
|
|
1568
|
+
* @type {string || null}
|
|
1569
|
+
*/
|
|
1570
|
+
this.Type = null;
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* <p>Search keyword</p>
|
|
1574
|
+
* @type {string || null}
|
|
1575
|
+
*/
|
|
1576
|
+
this.Keyword = null;
|
|
1577
|
+
|
|
1578
|
+
/**
|
|
1579
|
+
* <p>Whether to enable filter</p>
|
|
1580
|
+
* @type {boolean || null}
|
|
1581
|
+
*/
|
|
1582
|
+
this.Enabled = null;
|
|
1583
|
+
|
|
1584
|
+
/**
|
|
1585
|
+
* <p>Skill ID list filter</p>
|
|
1586
|
+
* @type {Array.<string> || null}
|
|
1587
|
+
*/
|
|
1588
|
+
this.SkillIds = null;
|
|
1589
|
+
|
|
1590
|
+
}
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* @private
|
|
1594
|
+
*/
|
|
1595
|
+
deserialize(params) {
|
|
1596
|
+
if (!params) {
|
|
1597
|
+
return;
|
|
1598
|
+
}
|
|
1599
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
1600
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
1601
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
1602
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
1603
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
1604
|
+
this.SkillIds = 'SkillIds' in params ? params.SkillIds : null;
|
|
1605
|
+
|
|
1606
|
+
}
|
|
1607
|
+
}
|
|
1608
|
+
|
|
1609
|
+
/**
|
|
1610
|
+
* ListAIWorkbenchResourceMaps response structure.
|
|
1611
|
+
* @class
|
|
1612
|
+
*/
|
|
1613
|
+
class ListAIWorkbenchResourceMapsResponse extends AbstractModel {
|
|
1614
|
+
constructor(){
|
|
1615
|
+
super();
|
|
1616
|
+
|
|
1617
|
+
/**
|
|
1618
|
+
* <p>Resource map list</p>
|
|
1619
|
+
* @type {Array.<ResourceMapInfo> || null}
|
|
1620
|
+
*/
|
|
1621
|
+
this.ResourceMaps = null;
|
|
1622
|
+
|
|
1623
|
+
/**
|
|
1624
|
+
* <p>Pagination result.</p>
|
|
1625
|
+
* @type {PageByNumResult || null}
|
|
1626
|
+
*/
|
|
1627
|
+
this.PageResult = null;
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1631
|
+
* @type {string || null}
|
|
1632
|
+
*/
|
|
1633
|
+
this.RequestId = null;
|
|
1634
|
+
|
|
1635
|
+
}
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* @private
|
|
1639
|
+
*/
|
|
1640
|
+
deserialize(params) {
|
|
1641
|
+
if (!params) {
|
|
1642
|
+
return;
|
|
1643
|
+
}
|
|
1644
|
+
|
|
1645
|
+
if (params.ResourceMaps) {
|
|
1646
|
+
this.ResourceMaps = new Array();
|
|
1647
|
+
for (let z in params.ResourceMaps) {
|
|
1648
|
+
let obj = new ResourceMapInfo();
|
|
1649
|
+
obj.deserialize(params.ResourceMaps[z]);
|
|
1650
|
+
this.ResourceMaps.push(obj);
|
|
1651
|
+
}
|
|
1652
|
+
}
|
|
1653
|
+
|
|
1654
|
+
if (params.PageResult) {
|
|
1655
|
+
let obj = new PageByNumResult();
|
|
1656
|
+
obj.deserialize(params.PageResult)
|
|
1657
|
+
this.PageResult = obj;
|
|
1658
|
+
}
|
|
1659
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1660
|
+
|
|
1661
|
+
}
|
|
1662
|
+
}
|
|
1663
|
+
|
|
1664
|
+
/**
|
|
1665
|
+
* ListAIWorkbenchSessions request structure.
|
|
1666
|
+
* @class
|
|
1667
|
+
*/
|
|
1668
|
+
class ListAIWorkbenchSessionsRequest extends AbstractModel {
|
|
1669
|
+
constructor(){
|
|
1670
|
+
super();
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* <p>Number of items per page</p>
|
|
1674
|
+
* @type {number || null}
|
|
1675
|
+
*/
|
|
1676
|
+
this.PerPage = null;
|
|
1677
|
+
|
|
1678
|
+
/**
|
|
1679
|
+
* <p>Page number.</p>
|
|
1680
|
+
* @type {number || null}
|
|
1681
|
+
*/
|
|
1682
|
+
this.PageNo = null;
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* <p>Filter by Agent</p>
|
|
1686
|
+
* @type {string || null}
|
|
1687
|
+
*/
|
|
1688
|
+
this.AgentId = null;
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* <p>Search keyword</p>
|
|
1692
|
+
* @type {string || null}
|
|
1693
|
+
*/
|
|
1694
|
+
this.Keyword = null;
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* <p>Session ID list filtering</p>
|
|
1698
|
+
* @type {Array.<string> || null}
|
|
1699
|
+
*/
|
|
1700
|
+
this.SessionIds = null;
|
|
1701
|
+
|
|
1702
|
+
}
|
|
1703
|
+
|
|
1704
|
+
/**
|
|
1705
|
+
* @private
|
|
1706
|
+
*/
|
|
1707
|
+
deserialize(params) {
|
|
1708
|
+
if (!params) {
|
|
1709
|
+
return;
|
|
1710
|
+
}
|
|
1711
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
1712
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
1713
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
1714
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
1715
|
+
this.SessionIds = 'SessionIds' in params ? params.SessionIds : null;
|
|
1716
|
+
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1720
|
+
/**
|
|
1721
|
+
* DescribeAIWorkbenchArtifact response structure.
|
|
1722
|
+
* @class
|
|
1723
|
+
*/
|
|
1724
|
+
class DescribeAIWorkbenchArtifactResponse extends AbstractModel {
|
|
1725
|
+
constructor(){
|
|
1726
|
+
super();
|
|
1727
|
+
|
|
1728
|
+
/**
|
|
1729
|
+
* <p>Product information</p>
|
|
1730
|
+
* @type {ArtifactInfo || null}
|
|
1731
|
+
*/
|
|
1732
|
+
this.Artifact = null;
|
|
1733
|
+
|
|
1734
|
+
/**
|
|
1735
|
+
* <p>COS pre-signed download URL</p>
|
|
1736
|
+
* @type {string || null}
|
|
1737
|
+
*/
|
|
1738
|
+
this.DownloadURL = null;
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* <p>Download URL expiration time (in RFC3339 format)</p>
|
|
1742
|
+
* @type {string || null}
|
|
1743
|
+
*/
|
|
1744
|
+
this.DownloadURLExpiredAt = null;
|
|
1745
|
+
|
|
1746
|
+
/**
|
|
1747
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1748
|
+
* @type {string || null}
|
|
1749
|
+
*/
|
|
1750
|
+
this.RequestId = null;
|
|
1751
|
+
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
/**
|
|
1755
|
+
* @private
|
|
1756
|
+
*/
|
|
1757
|
+
deserialize(params) {
|
|
1758
|
+
if (!params) {
|
|
1759
|
+
return;
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1762
|
+
if (params.Artifact) {
|
|
1763
|
+
let obj = new ArtifactInfo();
|
|
1764
|
+
obj.deserialize(params.Artifact)
|
|
1765
|
+
this.Artifact = obj;
|
|
1766
|
+
}
|
|
1767
|
+
this.DownloadURL = 'DownloadURL' in params ? params.DownloadURL : null;
|
|
1768
|
+
this.DownloadURLExpiredAt = 'DownloadURLExpiredAt' in params ? params.DownloadURLExpiredAt : null;
|
|
1769
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1770
|
+
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
|
|
1774
|
+
/**
|
|
1775
|
+
* CancelAIWorkbenchChat response structure.
|
|
1776
|
+
* @class
|
|
1777
|
+
*/
|
|
1778
|
+
class CancelAIWorkbenchChatResponse extends AbstractModel {
|
|
1779
|
+
constructor(){
|
|
1780
|
+
super();
|
|
1781
|
+
|
|
1782
|
+
/**
|
|
1783
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1784
|
+
* @type {string || null}
|
|
1785
|
+
*/
|
|
1786
|
+
this.RequestId = null;
|
|
1787
|
+
|
|
1788
|
+
}
|
|
1789
|
+
|
|
1790
|
+
/**
|
|
1791
|
+
* @private
|
|
1792
|
+
*/
|
|
1793
|
+
deserialize(params) {
|
|
1794
|
+
if (!params) {
|
|
1795
|
+
return;
|
|
1796
|
+
}
|
|
1797
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1798
|
+
|
|
1799
|
+
}
|
|
1800
|
+
}
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* UpdateAIWorkbenchAgent request structure.
|
|
1804
|
+
* @class
|
|
1805
|
+
*/
|
|
1806
|
+
class UpdateAIWorkbenchAgentRequest extends AbstractModel {
|
|
1807
|
+
constructor(){
|
|
1808
|
+
super();
|
|
1809
|
+
|
|
1810
|
+
/**
|
|
1811
|
+
* <p>Agent ID</p>
|
|
1812
|
+
* @type {string || null}
|
|
1813
|
+
*/
|
|
1814
|
+
this.AgentId = null;
|
|
1815
|
+
|
|
1816
|
+
/**
|
|
1817
|
+
* <p>Agent name</p>
|
|
1818
|
+
* @type {string || null}
|
|
1819
|
+
*/
|
|
1820
|
+
this.Name = null;
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* <p>Agent description</p>
|
|
1824
|
+
* @type {string || null}
|
|
1825
|
+
*/
|
|
1826
|
+
this.Description = null;
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* <p>Agent Category.</p>
|
|
1830
|
+
* @type {string || null}
|
|
1831
|
+
*/
|
|
1832
|
+
this.Category = null;
|
|
1833
|
+
|
|
1834
|
+
/**
|
|
1835
|
+
* <p>Agent Tag.</p>
|
|
1836
|
+
* @type {Array.<string> || null}
|
|
1837
|
+
*/
|
|
1838
|
+
this.Tags = null;
|
|
1839
|
+
|
|
1840
|
+
/**
|
|
1841
|
+
* <p>Agent prompt</p>
|
|
1842
|
+
* @type {InstructionConfig || null}
|
|
1843
|
+
*/
|
|
1844
|
+
this.Instruction = null;
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* <p>List of associated skill IDs.</p>
|
|
1848
|
+
* @type {Array.<string> || null}
|
|
1849
|
+
*/
|
|
1850
|
+
this.SkillIds = null;
|
|
1851
|
+
|
|
1852
|
+
/**
|
|
1853
|
+
* <p>Source</p>
|
|
1854
|
+
* @type {string || null}
|
|
1855
|
+
*/
|
|
1856
|
+
this.Source = null;
|
|
1857
|
+
|
|
1858
|
+
/**
|
|
1859
|
+
* <p>Status.</p>
|
|
1860
|
+
* @type {string || null}
|
|
1861
|
+
*/
|
|
1862
|
+
this.Status = null;
|
|
1863
|
+
|
|
1864
|
+
/**
|
|
1865
|
+
* <p>ID of the associated resource map</p>
|
|
1866
|
+
* @type {string || null}
|
|
1867
|
+
*/
|
|
1868
|
+
this.ResourceMapId = null;
|
|
1869
|
+
|
|
1870
|
+
/**
|
|
1871
|
+
* <p>Associated mcp</p>
|
|
1872
|
+
* @type {Array.<string> || null}
|
|
1873
|
+
*/
|
|
1874
|
+
this.MCPIds = null;
|
|
1875
|
+
|
|
1876
|
+
/**
|
|
1877
|
+
* <p>Environment variables required by the agent at runtime</p>
|
|
1878
|
+
* @type {Array.<EnvVar> || null}
|
|
1879
|
+
*/
|
|
1880
|
+
this.EnvVars = null;
|
|
1881
|
+
|
|
1882
|
+
}
|
|
1883
|
+
|
|
1884
|
+
/**
|
|
1885
|
+
* @private
|
|
1886
|
+
*/
|
|
1887
|
+
deserialize(params) {
|
|
1888
|
+
if (!params) {
|
|
1889
|
+
return;
|
|
1890
|
+
}
|
|
1891
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
1892
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
1893
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
1894
|
+
this.Category = 'Category' in params ? params.Category : null;
|
|
1895
|
+
this.Tags = 'Tags' in params ? params.Tags : null;
|
|
1896
|
+
|
|
1897
|
+
if (params.Instruction) {
|
|
1898
|
+
let obj = new InstructionConfig();
|
|
1899
|
+
obj.deserialize(params.Instruction)
|
|
1900
|
+
this.Instruction = obj;
|
|
1901
|
+
}
|
|
1902
|
+
this.SkillIds = 'SkillIds' in params ? params.SkillIds : null;
|
|
1903
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
1904
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
1905
|
+
this.ResourceMapId = 'ResourceMapId' in params ? params.ResourceMapId : null;
|
|
1906
|
+
this.MCPIds = 'MCPIds' in params ? params.MCPIds : null;
|
|
1907
|
+
|
|
1908
|
+
if (params.EnvVars) {
|
|
1909
|
+
this.EnvVars = new Array();
|
|
1910
|
+
for (let z in params.EnvVars) {
|
|
1911
|
+
let obj = new EnvVar();
|
|
1912
|
+
obj.deserialize(params.EnvVars[z]);
|
|
1913
|
+
this.EnvVars.push(obj);
|
|
1914
|
+
}
|
|
1915
|
+
}
|
|
1916
|
+
|
|
1917
|
+
}
|
|
1918
|
+
}
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* ListAIWorkbenchArtifacts response structure.
|
|
1922
|
+
* @class
|
|
1923
|
+
*/
|
|
1924
|
+
class ListAIWorkbenchArtifactsResponse extends AbstractModel {
|
|
1925
|
+
constructor(){
|
|
1926
|
+
super();
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* <p>Product list</p>
|
|
1930
|
+
* @type {Array.<ArtifactInfo> || null}
|
|
1931
|
+
*/
|
|
1932
|
+
this.Artifacts = null;
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* <p>Pagination result.</p>
|
|
1936
|
+
* @type {PageByNumResult || null}
|
|
1937
|
+
*/
|
|
1938
|
+
this.PageResult = null;
|
|
1939
|
+
|
|
1940
|
+
/**
|
|
1941
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
1942
|
+
* @type {string || null}
|
|
1943
|
+
*/
|
|
1944
|
+
this.RequestId = null;
|
|
1945
|
+
|
|
1946
|
+
}
|
|
1947
|
+
|
|
1948
|
+
/**
|
|
1949
|
+
* @private
|
|
1950
|
+
*/
|
|
1951
|
+
deserialize(params) {
|
|
1952
|
+
if (!params) {
|
|
1953
|
+
return;
|
|
1954
|
+
}
|
|
1955
|
+
|
|
1956
|
+
if (params.Artifacts) {
|
|
1957
|
+
this.Artifacts = new Array();
|
|
1958
|
+
for (let z in params.Artifacts) {
|
|
1959
|
+
let obj = new ArtifactInfo();
|
|
1960
|
+
obj.deserialize(params.Artifacts[z]);
|
|
1961
|
+
this.Artifacts.push(obj);
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
if (params.PageResult) {
|
|
1966
|
+
let obj = new PageByNumResult();
|
|
1967
|
+
obj.deserialize(params.PageResult)
|
|
1968
|
+
this.PageResult = obj;
|
|
1969
|
+
}
|
|
1970
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
1971
|
+
|
|
1972
|
+
}
|
|
1973
|
+
}
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* CancelAIWorkbenchChat request structure.
|
|
1977
|
+
* @class
|
|
1978
|
+
*/
|
|
1979
|
+
class CancelAIWorkbenchChatRequest extends AbstractModel {
|
|
1980
|
+
constructor(){
|
|
1981
|
+
super();
|
|
1982
|
+
|
|
1983
|
+
/**
|
|
1984
|
+
* <p>Session id.</p>
|
|
1985
|
+
* @type {string || null}
|
|
1986
|
+
*/
|
|
1987
|
+
this.SessionId = null;
|
|
1988
|
+
|
|
1989
|
+
}
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* @private
|
|
1993
|
+
*/
|
|
1994
|
+
deserialize(params) {
|
|
1995
|
+
if (!params) {
|
|
1996
|
+
return;
|
|
1997
|
+
}
|
|
1998
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
1999
|
+
|
|
2000
|
+
}
|
|
2001
|
+
}
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* ListAIWorkbenchMessages request structure.
|
|
2005
|
+
* @class
|
|
2006
|
+
*/
|
|
2007
|
+
class ListAIWorkbenchMessagesRequest extends AbstractModel {
|
|
2008
|
+
constructor(){
|
|
2009
|
+
super();
|
|
2010
|
+
|
|
2011
|
+
/**
|
|
2012
|
+
* <p>Conversation ID</p>
|
|
2013
|
+
* @type {string || null}
|
|
2014
|
+
*/
|
|
2015
|
+
this.SessionId = null;
|
|
2016
|
+
|
|
2017
|
+
/**
|
|
2018
|
+
* <p>Tag for cursor pagination</p>
|
|
2019
|
+
* @type {string || null}
|
|
2020
|
+
*/
|
|
2021
|
+
this.Cursor = null;
|
|
2022
|
+
|
|
2023
|
+
/**
|
|
2024
|
+
* <p>Window size</p>
|
|
2025
|
+
* @type {number || null}
|
|
2026
|
+
*/
|
|
2027
|
+
this.Limit = null;
|
|
2028
|
+
|
|
2029
|
+
/**
|
|
2030
|
+
* <p>Pull sequence</p>
|
|
2031
|
+
* @type {string || null}
|
|
2032
|
+
*/
|
|
2033
|
+
this.Direction = null;
|
|
2034
|
+
|
|
2035
|
+
}
|
|
2036
|
+
|
|
2037
|
+
/**
|
|
2038
|
+
* @private
|
|
2039
|
+
*/
|
|
2040
|
+
deserialize(params) {
|
|
2041
|
+
if (!params) {
|
|
2042
|
+
return;
|
|
2043
|
+
}
|
|
2044
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
2045
|
+
this.Cursor = 'Cursor' in params ? params.Cursor : null;
|
|
2046
|
+
this.Limit = 'Limit' in params ? params.Limit : null;
|
|
2047
|
+
this.Direction = 'Direction' in params ? params.Direction : null;
|
|
2048
|
+
|
|
2049
|
+
}
|
|
2050
|
+
}
|
|
2051
|
+
|
|
2052
|
+
/**
|
|
2053
|
+
* ListAIWorkbenchAgents response structure.
|
|
2054
|
+
* @class
|
|
2055
|
+
*/
|
|
2056
|
+
class ListAIWorkbenchAgentsResponse extends AbstractModel {
|
|
2057
|
+
constructor(){
|
|
2058
|
+
super();
|
|
2059
|
+
|
|
2060
|
+
/**
|
|
2061
|
+
* <p>Agent list</p>
|
|
2062
|
+
* @type {Array.<AgentInfo> || null}
|
|
2063
|
+
*/
|
|
2064
|
+
this.Agents = null;
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* <p>Pagination result</p>
|
|
2068
|
+
* @type {PageByNumResult || null}
|
|
2069
|
+
*/
|
|
2070
|
+
this.PageResult = null;
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2074
|
+
* @type {string || null}
|
|
2075
|
+
*/
|
|
2076
|
+
this.RequestId = null;
|
|
2077
|
+
|
|
2078
|
+
}
|
|
2079
|
+
|
|
2080
|
+
/**
|
|
2081
|
+
* @private
|
|
2082
|
+
*/
|
|
2083
|
+
deserialize(params) {
|
|
2084
|
+
if (!params) {
|
|
2085
|
+
return;
|
|
2086
|
+
}
|
|
2087
|
+
|
|
2088
|
+
if (params.Agents) {
|
|
2089
|
+
this.Agents = new Array();
|
|
2090
|
+
for (let z in params.Agents) {
|
|
2091
|
+
let obj = new AgentInfo();
|
|
2092
|
+
obj.deserialize(params.Agents[z]);
|
|
2093
|
+
this.Agents.push(obj);
|
|
2094
|
+
}
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
if (params.PageResult) {
|
|
2098
|
+
let obj = new PageByNumResult();
|
|
2099
|
+
obj.deserialize(params.PageResult)
|
|
2100
|
+
this.PageResult = obj;
|
|
2101
|
+
}
|
|
2102
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2103
|
+
|
|
2104
|
+
}
|
|
2105
|
+
}
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* ListAIWorkbenchExecutions response structure.
|
|
2109
|
+
* @class
|
|
2110
|
+
*/
|
|
2111
|
+
class ListAIWorkbenchExecutionsResponse extends AbstractModel {
|
|
2112
|
+
constructor(){
|
|
2113
|
+
super();
|
|
2114
|
+
|
|
2115
|
+
/**
|
|
2116
|
+
* <p>Execution list.</p>
|
|
2117
|
+
* @type {Array.<ExecutionInfo> || null}
|
|
2118
|
+
*/
|
|
2119
|
+
this.Executions = null;
|
|
2120
|
+
|
|
2121
|
+
/**
|
|
2122
|
+
* <p>Pagination result.</p>
|
|
2123
|
+
* @type {PageByNumResult || null}
|
|
2124
|
+
*/
|
|
2125
|
+
this.PageResult = null;
|
|
2126
|
+
|
|
2127
|
+
/**
|
|
2128
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2129
|
+
* @type {string || null}
|
|
2130
|
+
*/
|
|
2131
|
+
this.RequestId = null;
|
|
2132
|
+
|
|
2133
|
+
}
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* @private
|
|
2137
|
+
*/
|
|
2138
|
+
deserialize(params) {
|
|
2139
|
+
if (!params) {
|
|
2140
|
+
return;
|
|
2141
|
+
}
|
|
2142
|
+
|
|
2143
|
+
if (params.Executions) {
|
|
2144
|
+
this.Executions = new Array();
|
|
2145
|
+
for (let z in params.Executions) {
|
|
2146
|
+
let obj = new ExecutionInfo();
|
|
2147
|
+
obj.deserialize(params.Executions[z]);
|
|
2148
|
+
this.Executions.push(obj);
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
if (params.PageResult) {
|
|
2153
|
+
let obj = new PageByNumResult();
|
|
2154
|
+
obj.deserialize(params.PageResult)
|
|
2155
|
+
this.PageResult = obj;
|
|
2156
|
+
}
|
|
2157
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2158
|
+
|
|
2159
|
+
}
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* DescribeAIWorkbenchAgent request structure.
|
|
2164
|
+
* @class
|
|
2165
|
+
*/
|
|
2166
|
+
class DescribeAIWorkbenchAgentRequest extends AbstractModel {
|
|
2167
|
+
constructor(){
|
|
2168
|
+
super();
|
|
2169
|
+
|
|
2170
|
+
/**
|
|
2171
|
+
* <p>Agent ID</p>
|
|
2172
|
+
* @type {string || null}
|
|
2173
|
+
*/
|
|
2174
|
+
this.AgentId = null;
|
|
2175
|
+
|
|
2176
|
+
}
|
|
2177
|
+
|
|
2178
|
+
/**
|
|
2179
|
+
* @private
|
|
2180
|
+
*/
|
|
2181
|
+
deserialize(params) {
|
|
2182
|
+
if (!params) {
|
|
2183
|
+
return;
|
|
2184
|
+
}
|
|
2185
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
2186
|
+
|
|
2187
|
+
}
|
|
2188
|
+
}
|
|
2189
|
+
|
|
2190
|
+
/**
|
|
2191
|
+
* DescribeAlarmNotifyHistories response structure.
|
|
2192
|
+
* @class
|
|
2193
|
+
*/
|
|
2194
|
+
class DescribeAlarmNotifyHistoriesResponse extends AbstractModel {
|
|
2195
|
+
constructor(){
|
|
2196
|
+
super();
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* Alarm history
|
|
2200
|
+
* @type {Array.<AlarmNotifyHistory> || null}
|
|
2201
|
+
*/
|
|
2202
|
+
this.AlarmNotifyHistoryList = null;
|
|
2203
|
+
|
|
2204
|
+
/**
|
|
2205
|
+
* Pagination condition
|
|
2206
|
+
* @type {PageByNoResult || null}
|
|
2207
|
+
*/
|
|
2208
|
+
this.PageResult = null;
|
|
2209
|
+
|
|
2210
|
+
/**
|
|
2211
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2212
|
+
* @type {string || null}
|
|
2213
|
+
*/
|
|
2214
|
+
this.RequestId = null;
|
|
2215
|
+
|
|
2216
|
+
}
|
|
2217
|
+
|
|
2218
|
+
/**
|
|
2219
|
+
* @private
|
|
2220
|
+
*/
|
|
2221
|
+
deserialize(params) {
|
|
2222
|
+
if (!params) {
|
|
2223
|
+
return;
|
|
2224
|
+
}
|
|
2225
|
+
|
|
2226
|
+
if (params.AlarmNotifyHistoryList) {
|
|
2227
|
+
this.AlarmNotifyHistoryList = new Array();
|
|
2228
|
+
for (let z in params.AlarmNotifyHistoryList) {
|
|
2229
|
+
let obj = new AlarmNotifyHistory();
|
|
2230
|
+
obj.deserialize(params.AlarmNotifyHistoryList[z]);
|
|
2231
|
+
this.AlarmNotifyHistoryList.push(obj);
|
|
2232
|
+
}
|
|
2233
|
+
}
|
|
2234
|
+
|
|
2235
|
+
if (params.PageResult) {
|
|
2236
|
+
let obj = new PageByNoResult();
|
|
2237
|
+
obj.deserialize(params.PageResult)
|
|
2238
|
+
this.PageResult = obj;
|
|
2239
|
+
}
|
|
2240
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2241
|
+
|
|
2242
|
+
}
|
|
2243
|
+
}
|
|
2244
|
+
|
|
2245
|
+
/**
|
|
2246
|
+
* Clone prompt configuration
|
|
2247
|
+
* @class
|
|
2248
|
+
*/
|
|
2249
|
+
class InstructionConfig extends AbstractModel {
|
|
2250
|
+
constructor(){
|
|
2251
|
+
super();
|
|
2252
|
+
|
|
2253
|
+
/**
|
|
2254
|
+
* <p>Role definition</p>
|
|
2255
|
+
* @type {string || null}
|
|
2256
|
+
*/
|
|
2257
|
+
this.RolePosition = null;
|
|
2258
|
+
|
|
2259
|
+
/**
|
|
2260
|
+
* <p>Core responsibility</p>
|
|
2261
|
+
* @type {string || null}
|
|
2262
|
+
*/
|
|
2263
|
+
this.CoreDuty = null;
|
|
2264
|
+
|
|
2265
|
+
/**
|
|
2266
|
+
* <p>Core principle</p>
|
|
2267
|
+
* @type {string || null}
|
|
2268
|
+
*/
|
|
2269
|
+
this.CoreTruths = null;
|
|
2270
|
+
|
|
2271
|
+
/**
|
|
2272
|
+
* <p>Style constraints</p>
|
|
2273
|
+
* @type {string || null}
|
|
2274
|
+
*/
|
|
2275
|
+
this.Vibe = null;
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* <p>Notes</p>
|
|
2279
|
+
* @type {string || null}
|
|
2280
|
+
*/
|
|
2281
|
+
this.Boundaries = null;
|
|
2282
|
+
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
/**
|
|
2286
|
+
* @private
|
|
2287
|
+
*/
|
|
2288
|
+
deserialize(params) {
|
|
2289
|
+
if (!params) {
|
|
2290
|
+
return;
|
|
2291
|
+
}
|
|
2292
|
+
this.RolePosition = 'RolePosition' in params ? params.RolePosition : null;
|
|
2293
|
+
this.CoreDuty = 'CoreDuty' in params ? params.CoreDuty : null;
|
|
2294
|
+
this.CoreTruths = 'CoreTruths' in params ? params.CoreTruths : null;
|
|
2295
|
+
this.Vibe = 'Vibe' in params ? params.Vibe : null;
|
|
2296
|
+
this.Boundaries = 'Boundaries' in params ? params.Boundaries : null;
|
|
2297
|
+
|
|
2298
|
+
}
|
|
2299
|
+
}
|
|
2300
|
+
|
|
2301
|
+
/**
|
|
2302
|
+
* DeleteAIWorkbenchTask response structure.
|
|
2303
|
+
* @class
|
|
2304
|
+
*/
|
|
2305
|
+
class DeleteAIWorkbenchTaskResponse extends AbstractModel {
|
|
2306
|
+
constructor(){
|
|
2307
|
+
super();
|
|
2308
|
+
|
|
2309
|
+
/**
|
|
2310
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2311
|
+
* @type {string || null}
|
|
2312
|
+
*/
|
|
2313
|
+
this.RequestId = null;
|
|
2314
|
+
|
|
2315
|
+
}
|
|
2316
|
+
|
|
2317
|
+
/**
|
|
2318
|
+
* @private
|
|
2319
|
+
*/
|
|
2320
|
+
deserialize(params) {
|
|
2321
|
+
if (!params) {
|
|
2322
|
+
return;
|
|
2323
|
+
}
|
|
2324
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2325
|
+
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
|
|
2329
|
+
/**
|
|
2330
|
+
* Each ContentBlockInfo corresponds to an AGUI event converted from a downstream ContentBlock.
|
|
2331
|
+
* @class
|
|
2332
|
+
*/
|
|
2333
|
+
class ContentBlockInfo extends AbstractModel {
|
|
2334
|
+
constructor(){
|
|
2335
|
+
super();
|
|
2336
|
+
|
|
2337
|
+
/**
|
|
2338
|
+
* <p>Type.</p>
|
|
2339
|
+
* @type {string || null}
|
|
2340
|
+
*/
|
|
2341
|
+
this.Type = null;
|
|
2342
|
+
|
|
2343
|
+
/**
|
|
2344
|
+
* <p>Data content.</p>
|
|
2345
|
+
* @type {string || null}
|
|
2346
|
+
*/
|
|
2347
|
+
this.Data = null;
|
|
2348
|
+
|
|
2349
|
+
}
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* @private
|
|
2353
|
+
*/
|
|
2354
|
+
deserialize(params) {
|
|
2355
|
+
if (!params) {
|
|
2356
|
+
return;
|
|
2357
|
+
}
|
|
2358
|
+
this.Type = 'Type' in params ? params.Type : null;
|
|
2359
|
+
this.Data = 'Data' in params ? params.Data : null;
|
|
2360
|
+
|
|
2361
|
+
}
|
|
2362
|
+
}
|
|
2363
|
+
|
|
2364
|
+
/**
|
|
2365
|
+
* Product entity
|
|
2366
|
+
* @class
|
|
2367
|
+
*/
|
|
2368
|
+
class ArtifactInfo extends AbstractModel {
|
|
2369
|
+
constructor(){
|
|
2370
|
+
super();
|
|
2371
|
+
|
|
2372
|
+
/**
|
|
2373
|
+
* <p>Product ID</p>
|
|
2374
|
+
* @type {string || null}
|
|
2375
|
+
*/
|
|
2376
|
+
this.ArtifactId = null;
|
|
2377
|
+
|
|
2378
|
+
/**
|
|
2379
|
+
* <p>Product name</p>
|
|
2380
|
+
* @type {string || null}
|
|
2381
|
+
*/
|
|
2382
|
+
this.Name = null;
|
|
2383
|
+
|
|
2384
|
+
/**
|
|
2385
|
+
* <p>Physical type</p>
|
|
2386
|
+
* @type {string || null}
|
|
2387
|
+
*/
|
|
2388
|
+
this.MimeType = null;
|
|
2389
|
+
|
|
2390
|
+
/**
|
|
2391
|
+
* <p>File size (byte)</p>
|
|
2392
|
+
* @type {number || null}
|
|
2393
|
+
*/
|
|
2394
|
+
this.SizeBytes = null;
|
|
2395
|
+
|
|
2396
|
+
/**
|
|
2397
|
+
* <p>Whether it is public</p>
|
|
2398
|
+
* @type {boolean || null}
|
|
2399
|
+
*/
|
|
2400
|
+
this.IsGlobal = null;
|
|
2401
|
+
|
|
2402
|
+
/**
|
|
2403
|
+
* <p>Creation time (Unix timestamp in seconds).</p>
|
|
2404
|
+
* @type {number || null}
|
|
2405
|
+
*/
|
|
2406
|
+
this.CreatedAt = null;
|
|
2407
|
+
|
|
2408
|
+
/**
|
|
2409
|
+
* <p>Modification time.</p>
|
|
2410
|
+
* @type {number || null}
|
|
2411
|
+
*/
|
|
2412
|
+
this.UpdatedAt = null;
|
|
2413
|
+
|
|
2414
|
+
/**
|
|
2415
|
+
* <p>Agent ID that generated the artifact</p>
|
|
2416
|
+
* @type {string || null}
|
|
2417
|
+
*/
|
|
2418
|
+
this.AgentId = null;
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* <p>Skill ID that generates the artifact</p>
|
|
2422
|
+
* @type {string || null}
|
|
2423
|
+
*/
|
|
2424
|
+
this.SkillId = null;
|
|
2425
|
+
|
|
2426
|
+
/**
|
|
2427
|
+
* <p>For parsing calls to the download API</p>
|
|
2428
|
+
* @type {string || null}
|
|
2429
|
+
*/
|
|
2430
|
+
this.StoragePath = null;
|
|
2431
|
+
|
|
2432
|
+
}
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* @private
|
|
2436
|
+
*/
|
|
2437
|
+
deserialize(params) {
|
|
2438
|
+
if (!params) {
|
|
2439
|
+
return;
|
|
2440
|
+
}
|
|
2441
|
+
this.ArtifactId = 'ArtifactId' in params ? params.ArtifactId : null;
|
|
2442
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2443
|
+
this.MimeType = 'MimeType' in params ? params.MimeType : null;
|
|
2444
|
+
this.SizeBytes = 'SizeBytes' in params ? params.SizeBytes : null;
|
|
2445
|
+
this.IsGlobal = 'IsGlobal' in params ? params.IsGlobal : null;
|
|
2446
|
+
this.CreatedAt = 'CreatedAt' in params ? params.CreatedAt : null;
|
|
2447
|
+
this.UpdatedAt = 'UpdatedAt' in params ? params.UpdatedAt : null;
|
|
2448
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
2449
|
+
this.SkillId = 'SkillId' in params ? params.SkillId : null;
|
|
2450
|
+
this.StoragePath = 'StoragePath' in params ? params.StoragePath : null;
|
|
2451
|
+
|
|
2452
|
+
}
|
|
2453
|
+
}
|
|
2454
|
+
|
|
2455
|
+
/**
|
|
2456
|
+
* Input parameter for paginating by which page
|
|
2457
|
+
* @class
|
|
2458
|
+
*/
|
|
2459
|
+
class PageByNumParams extends AbstractModel {
|
|
2460
|
+
constructor(){
|
|
2461
|
+
super();
|
|
2462
|
+
|
|
2463
|
+
/**
|
|
2464
|
+
* <p>Number of items per page</p>
|
|
2465
|
+
* @type {number || null}
|
|
2466
|
+
*/
|
|
2467
|
+
this.PerPage = null;
|
|
2468
|
+
|
|
2469
|
+
/**
|
|
2470
|
+
* <p>Page number, starting from 1</p>
|
|
2471
|
+
* @type {number || null}
|
|
2472
|
+
*/
|
|
2473
|
+
this.PageNo = null;
|
|
2474
|
+
|
|
2475
|
+
}
|
|
2476
|
+
|
|
2477
|
+
/**
|
|
2478
|
+
* @private
|
|
2479
|
+
*/
|
|
2480
|
+
deserialize(params) {
|
|
2481
|
+
if (!params) {
|
|
2482
|
+
return;
|
|
2483
|
+
}
|
|
2484
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
2485
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
2486
|
+
|
|
2487
|
+
}
|
|
2488
|
+
}
|
|
2489
|
+
|
|
2490
|
+
/**
|
|
2491
|
+
* GetAIWorkbenchArtifactDownloadURL request structure.
|
|
2492
|
+
* @class
|
|
2493
|
+
*/
|
|
2494
|
+
class GetAIWorkbenchArtifactDownloadURLRequest extends AbstractModel {
|
|
2495
|
+
constructor(){
|
|
2496
|
+
super();
|
|
2497
|
+
|
|
2498
|
+
/**
|
|
2499
|
+
* <p>Session ID.</p>
|
|
2500
|
+
* @type {string || null}
|
|
2501
|
+
*/
|
|
2502
|
+
this.SessionId = null;
|
|
2503
|
+
|
|
2504
|
+
/**
|
|
2505
|
+
* <p>Artifact ID</p>
|
|
2506
|
+
* @type {string || null}
|
|
2507
|
+
*/
|
|
2508
|
+
this.ArtifactId = null;
|
|
2509
|
+
|
|
2510
|
+
}
|
|
2511
|
+
|
|
2512
|
+
/**
|
|
2513
|
+
* @private
|
|
2514
|
+
*/
|
|
2515
|
+
deserialize(params) {
|
|
2516
|
+
if (!params) {
|
|
2517
|
+
return;
|
|
2518
|
+
}
|
|
2519
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
2520
|
+
this.ArtifactId = 'ArtifactId' in params ? params.ArtifactId : null;
|
|
2521
|
+
|
|
2522
|
+
}
|
|
2523
|
+
}
|
|
2524
|
+
|
|
2525
|
+
/**
|
|
2526
|
+
* ListAIWorkbenchResourceInstances response structure.
|
|
2527
|
+
* @class
|
|
2528
|
+
*/
|
|
2529
|
+
class ListAIWorkbenchResourceInstancesResponse extends AbstractModel {
|
|
2530
|
+
constructor(){
|
|
2531
|
+
super();
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* <p>Resource instance list</p>
|
|
2535
|
+
* @type {Array.<ResourceInstance> || null}
|
|
2536
|
+
*/
|
|
2537
|
+
this.Instances = null;
|
|
2538
|
+
|
|
2539
|
+
/**
|
|
2540
|
+
* <p>Pagination result</p>
|
|
2541
|
+
* @type {PageByNumResult || null}
|
|
2542
|
+
*/
|
|
2543
|
+
this.PageResult = null;
|
|
2544
|
+
|
|
2545
|
+
/**
|
|
2546
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
2547
|
+
* @type {string || null}
|
|
2548
|
+
*/
|
|
2549
|
+
this.RequestId = null;
|
|
2550
|
+
|
|
2551
|
+
}
|
|
2552
|
+
|
|
2553
|
+
/**
|
|
2554
|
+
* @private
|
|
2555
|
+
*/
|
|
2556
|
+
deserialize(params) {
|
|
2557
|
+
if (!params) {
|
|
2558
|
+
return;
|
|
2559
|
+
}
|
|
2560
|
+
|
|
2561
|
+
if (params.Instances) {
|
|
2562
|
+
this.Instances = new Array();
|
|
2563
|
+
for (let z in params.Instances) {
|
|
2564
|
+
let obj = new ResourceInstance();
|
|
2565
|
+
obj.deserialize(params.Instances[z]);
|
|
2566
|
+
this.Instances.push(obj);
|
|
2567
|
+
}
|
|
2568
|
+
}
|
|
2569
|
+
|
|
2570
|
+
if (params.PageResult) {
|
|
2571
|
+
let obj = new PageByNumResult();
|
|
2572
|
+
obj.deserialize(params.PageResult)
|
|
2573
|
+
this.PageResult = obj;
|
|
2574
|
+
}
|
|
2575
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
2576
|
+
|
|
2577
|
+
}
|
|
2578
|
+
}
|
|
2579
|
+
|
|
2580
|
+
/**
|
|
2581
|
+
* ListAIWorkbenchExecutions request structure.
|
|
2582
|
+
* @class
|
|
2583
|
+
*/
|
|
2584
|
+
class ListAIWorkbenchExecutionsRequest extends AbstractModel {
|
|
2585
|
+
constructor(){
|
|
2586
|
+
super();
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* <p>Number of items per page</p>
|
|
2590
|
+
* @type {number || null}
|
|
2591
|
+
*/
|
|
2592
|
+
this.PerPage = null;
|
|
2593
|
+
|
|
2594
|
+
/**
|
|
2595
|
+
* <p>Page number.</p>
|
|
2596
|
+
* @type {number || null}
|
|
2597
|
+
*/
|
|
2598
|
+
this.PageNo = null;
|
|
2599
|
+
|
|
2600
|
+
/**
|
|
2601
|
+
* <p>Filter by Agent</p>
|
|
2602
|
+
* @type {string || null}
|
|
2603
|
+
*/
|
|
2604
|
+
this.AgentId = null;
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* <p>Filter by status</p>
|
|
2608
|
+
* @type {string || null}
|
|
2609
|
+
*/
|
|
2610
|
+
this.Status = null;
|
|
2611
|
+
|
|
2612
|
+
/**
|
|
2613
|
+
* <p>Execution ID list filter</p>
|
|
2614
|
+
* @type {Array.<string> || null}
|
|
2615
|
+
*/
|
|
2616
|
+
this.ExecutionIds = null;
|
|
2617
|
+
|
|
2618
|
+
/**
|
|
2619
|
+
* <p>Task ID.</p>
|
|
2620
|
+
* @type {Array.<string> || null}
|
|
2621
|
+
*/
|
|
2622
|
+
this.TaskIds = null;
|
|
2623
|
+
|
|
2624
|
+
/**
|
|
2625
|
+
* <p>Trigger mode</p>
|
|
2626
|
+
* @type {string || null}
|
|
2627
|
+
*/
|
|
2628
|
+
this.TriggerType = null;
|
|
2629
|
+
|
|
2630
|
+
/**
|
|
2631
|
+
* <p>Key value</p>
|
|
2632
|
+
* @type {string || null}
|
|
2633
|
+
*/
|
|
2634
|
+
this.Keyword = null;
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* <p>Whether to enable</p>
|
|
2638
|
+
* @type {boolean || null}
|
|
2639
|
+
*/
|
|
2640
|
+
this.Enabled = null;
|
|
2641
|
+
|
|
2642
|
+
}
|
|
2643
|
+
|
|
2644
|
+
/**
|
|
2645
|
+
* @private
|
|
2646
|
+
*/
|
|
2647
|
+
deserialize(params) {
|
|
2648
|
+
if (!params) {
|
|
2649
|
+
return;
|
|
2650
|
+
}
|
|
2651
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
2652
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
2653
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
2654
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2655
|
+
this.ExecutionIds = 'ExecutionIds' in params ? params.ExecutionIds : null;
|
|
2656
|
+
this.TaskIds = 'TaskIds' in params ? params.TaskIds : null;
|
|
2657
|
+
this.TriggerType = 'TriggerType' in params ? params.TriggerType : null;
|
|
2658
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
2659
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
2660
|
+
|
|
2661
|
+
}
|
|
2662
|
+
}
|
|
2663
|
+
|
|
2664
|
+
/**
|
|
2665
|
+
* ListAIWorkbenchAgents request structure.
|
|
2666
|
+
* @class
|
|
2667
|
+
*/
|
|
2668
|
+
class ListAIWorkbenchAgentsRequest extends AbstractModel {
|
|
2669
|
+
constructor(){
|
|
2670
|
+
super();
|
|
2671
|
+
|
|
2672
|
+
/**
|
|
2673
|
+
* <p>Number of items per page</p>
|
|
2674
|
+
* @type {number || null}
|
|
2675
|
+
*/
|
|
2676
|
+
this.PerPage = null;
|
|
2677
|
+
|
|
2678
|
+
/**
|
|
2679
|
+
* <p>Page number.</p>
|
|
2680
|
+
* @type {number || null}
|
|
2681
|
+
*/
|
|
2682
|
+
this.PageNo = null;
|
|
2683
|
+
|
|
2684
|
+
/**
|
|
2685
|
+
* <p>Status filtering</p>
|
|
2686
|
+
* @type {string || null}
|
|
2687
|
+
*/
|
|
2688
|
+
this.Status = null;
|
|
2689
|
+
|
|
2690
|
+
/**
|
|
2691
|
+
* <p>Category filtering</p>
|
|
2692
|
+
* @type {string || null}
|
|
2693
|
+
*/
|
|
2694
|
+
this.Category = null;
|
|
2695
|
+
|
|
2696
|
+
/**
|
|
2697
|
+
* <p>Search keyword</p>
|
|
2698
|
+
* @type {string || null}
|
|
2699
|
+
*/
|
|
2700
|
+
this.Keyword = null;
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* <p>Filter by source</p>
|
|
2704
|
+
* @type {string || null}
|
|
2705
|
+
*/
|
|
2706
|
+
this.Source = null;
|
|
2707
|
+
|
|
2708
|
+
/**
|
|
2709
|
+
* <p>Agent ID list filtering</p>
|
|
2710
|
+
* @type {Array.<string> || null}
|
|
2711
|
+
*/
|
|
2712
|
+
this.AgentIds = null;
|
|
2713
|
+
|
|
2714
|
+
}
|
|
2715
|
+
|
|
2716
|
+
/**
|
|
2717
|
+
* @private
|
|
2718
|
+
*/
|
|
2719
|
+
deserialize(params) {
|
|
2720
|
+
if (!params) {
|
|
2721
|
+
return;
|
|
2722
|
+
}
|
|
2723
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
2724
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
2725
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
2726
|
+
this.Category = 'Category' in params ? params.Category : null;
|
|
2727
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
2728
|
+
this.Source = 'Source' in params ? params.Source : null;
|
|
2729
|
+
this.AgentIds = 'AgentIds' in params ? params.AgentIds : null;
|
|
2730
|
+
|
|
2731
|
+
}
|
|
2732
|
+
}
|
|
2733
|
+
|
|
2734
|
+
/**
|
|
2735
|
+
* Notification template information associated with notification history
|
|
2736
|
+
* @class
|
|
2737
|
+
*/
|
|
2738
|
+
class NotifyRelatedNotice extends AbstractModel {
|
|
2739
|
+
constructor(){
|
|
2740
|
+
super();
|
|
2741
|
+
|
|
2742
|
+
/**
|
|
2743
|
+
* Notification template ID
|
|
2744
|
+
* @type {string || null}
|
|
2745
|
+
*/
|
|
2746
|
+
this.NoticeId = null;
|
|
2747
|
+
|
|
2748
|
+
/**
|
|
2749
|
+
* Name of the notification template
|
|
2750
|
+
* @type {string || null}
|
|
2751
|
+
*/
|
|
2752
|
+
this.NoticeName = null;
|
|
2753
|
+
|
|
2754
|
+
}
|
|
2755
|
+
|
|
2756
|
+
/**
|
|
2757
|
+
* @private
|
|
2758
|
+
*/
|
|
2759
|
+
deserialize(params) {
|
|
2760
|
+
if (!params) {
|
|
2761
|
+
return;
|
|
2762
|
+
}
|
|
2763
|
+
this.NoticeId = 'NoticeId' in params ? params.NoticeId : null;
|
|
2764
|
+
this.NoticeName = 'NoticeName' in params ? params.NoticeName : null;
|
|
2765
|
+
|
|
2766
|
+
}
|
|
2767
|
+
}
|
|
2768
|
+
|
|
2769
|
+
/**
|
|
2770
|
+
* Skill entity
|
|
2771
|
+
* @class
|
|
2772
|
+
*/
|
|
2773
|
+
class SkillInfo extends AbstractModel {
|
|
2774
|
+
constructor(){
|
|
2775
|
+
super();
|
|
2776
|
+
|
|
2777
|
+
/**
|
|
2778
|
+
* <p>Skill ID</p>
|
|
2779
|
+
* @type {string || null}
|
|
2780
|
+
*/
|
|
2781
|
+
this.SkillId = null;
|
|
2782
|
+
|
|
2783
|
+
/**
|
|
2784
|
+
* <p>Skill name</p>
|
|
2785
|
+
* @type {string || null}
|
|
2786
|
+
*/
|
|
2787
|
+
this.Name = null;
|
|
2788
|
+
|
|
2789
|
+
/**
|
|
2790
|
+
* <p>Skill description.</p>
|
|
2791
|
+
* @type {string || null}
|
|
2792
|
+
*/
|
|
2793
|
+
this.Description = null;
|
|
2794
|
+
|
|
2795
|
+
/**
|
|
2796
|
+
* <p>Whether to enable</p>
|
|
2797
|
+
* @type {boolean || null}
|
|
2798
|
+
*/
|
|
2799
|
+
this.Enabled = null;
|
|
2800
|
+
|
|
2801
|
+
}
|
|
2802
|
+
|
|
2803
|
+
/**
|
|
2804
|
+
* @private
|
|
2805
|
+
*/
|
|
2806
|
+
deserialize(params) {
|
|
2807
|
+
if (!params) {
|
|
2808
|
+
return;
|
|
2809
|
+
}
|
|
2810
|
+
this.SkillId = 'SkillId' in params ? params.SkillId : null;
|
|
2811
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
2812
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
2813
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
2814
|
+
|
|
2815
|
+
}
|
|
2816
|
+
}
|
|
2817
|
+
|
|
2818
|
+
/**
|
|
2819
|
+
* DescribeAIWorkbenchSkill request structure.
|
|
2820
|
+
* @class
|
|
2821
|
+
*/
|
|
2822
|
+
class DescribeAIWorkbenchSkillRequest extends AbstractModel {
|
|
2823
|
+
constructor(){
|
|
2824
|
+
super();
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* <p>Skill ID</p>
|
|
2828
|
+
* @type {string || null}
|
|
2829
|
+
*/
|
|
2830
|
+
this.SkillId = null;
|
|
2831
|
+
|
|
2832
|
+
}
|
|
2833
|
+
|
|
2834
|
+
/**
|
|
2835
|
+
* @private
|
|
2836
|
+
*/
|
|
2837
|
+
deserialize(params) {
|
|
2838
|
+
if (!params) {
|
|
2839
|
+
return;
|
|
2840
|
+
}
|
|
2841
|
+
this.SkillId = 'SkillId' in params ? params.SkillId : null;
|
|
2842
|
+
|
|
2843
|
+
}
|
|
2844
|
+
}
|
|
2845
|
+
|
|
2846
|
+
/**
|
|
2847
|
+
* Notification history for each alert
|
|
2848
|
+
* @class
|
|
2849
|
+
*/
|
|
2850
|
+
class AlarmNotifyHistory extends AbstractModel {
|
|
2851
|
+
constructor(){
|
|
2852
|
+
super();
|
|
2853
|
+
|
|
2854
|
+
/**
|
|
2855
|
+
* Unique notification ID.
|
|
2856
|
+
* @type {string || null}
|
|
2857
|
+
*/
|
|
2858
|
+
this.NotifyId = null;
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* Alert policy ID
|
|
2862
|
+
* @type {string || null}
|
|
2863
|
+
*/
|
|
2864
|
+
this.PolicyId = null;
|
|
2865
|
+
|
|
2866
|
+
/**
|
|
2867
|
+
* Alarm cycle iD
|
|
2868
|
+
* @type {string || null}
|
|
2869
|
+
*/
|
|
2870
|
+
this.SessionId = null;
|
|
386
2871
|
|
|
387
2872
|
/**
|
|
388
2873
|
* Notification time in Unix timestamp (in seconds).
|
|
389
2874
|
* @type {number || null}
|
|
390
2875
|
*/
|
|
391
|
-
this.NotifyTime = null;
|
|
2876
|
+
this.NotifyTime = null;
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* Trigger time in Unix timestamp (in seconds).
|
|
2880
|
+
* @type {number || null}
|
|
2881
|
+
*/
|
|
2882
|
+
this.TriggerTime = null;
|
|
2883
|
+
|
|
2884
|
+
/**
|
|
2885
|
+
* Alarm severity level. Valid values: None, Note, Warn, and Serious.
|
|
2886
|
+
* @type {string || null}
|
|
2887
|
+
*/
|
|
2888
|
+
this.TriggerLevel = null;
|
|
2889
|
+
|
|
2890
|
+
/**
|
|
2891
|
+
* alert content
|
|
2892
|
+
* @type {string || null}
|
|
2893
|
+
*/
|
|
2894
|
+
this.AlarmContent = null;
|
|
2895
|
+
|
|
2896
|
+
/**
|
|
2897
|
+
* Alarm object
|
|
2898
|
+
* @type {string || null}
|
|
2899
|
+
*/
|
|
2900
|
+
this.AlarmObject = null;
|
|
2901
|
+
|
|
2902
|
+
/**
|
|
2903
|
+
* Alarm notification channel collection involved this time
|
|
2904
|
+
Note: This field may return null, indicating that no valid values can be obtained.
|
|
2905
|
+
* @type {Array.<string> || null}
|
|
2906
|
+
*/
|
|
2907
|
+
this.ChannelSet = null;
|
|
2908
|
+
|
|
2909
|
+
/**
|
|
2910
|
+
* Recipient information of the channel
|
|
2911
|
+
* @type {Array.<ChannelsReceivers> || null}
|
|
2912
|
+
*/
|
|
2913
|
+
this.ChannelsReceivers = null;
|
|
2914
|
+
|
|
2915
|
+
/**
|
|
2916
|
+
* Alarm policy name
|
|
2917
|
+
* @type {string || null}
|
|
2918
|
+
*/
|
|
2919
|
+
this.PolicyName = null;
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* Prometheus Instance ID, valid only when MT_PROME
|
|
2923
|
+
* @type {string || null}
|
|
2924
|
+
*/
|
|
2925
|
+
this.PromeInstanceID = null;
|
|
2926
|
+
|
|
2927
|
+
/**
|
|
2928
|
+
* Region of the Prometheus Instance. Valid at that time only for MT_PROME.
|
|
2929
|
+
* @type {string || null}
|
|
2930
|
+
*/
|
|
2931
|
+
this.PromeInstanceRegion = null;
|
|
2932
|
+
|
|
2933
|
+
/**
|
|
2934
|
+
* Notification template related configuration information
|
|
2935
|
+
* @type {Array.<NotifyRelatedNotice> || null}
|
|
2936
|
+
*/
|
|
2937
|
+
this.Notices = null;
|
|
2938
|
+
|
|
2939
|
+
/**
|
|
2940
|
+
* Alarm trigger status. Valid values: Trigger and Recovery.
|
|
2941
|
+
* @type {string || null}
|
|
2942
|
+
*/
|
|
2943
|
+
this.TriggerStatus = null;
|
|
2944
|
+
|
|
2945
|
+
/**
|
|
2946
|
+
* Console page address related to the present Prometheus notification history, valid only when MR_PROME
|
|
2947
|
+
* @type {string || null}
|
|
2948
|
+
*/
|
|
2949
|
+
this.PromeConsoleURL = null;
|
|
2950
|
+
|
|
2951
|
+
/**
|
|
2952
|
+
* Alarm label
|
|
2953
|
+
* @type {Array.<AlarmLable> || null}
|
|
2954
|
+
*/
|
|
2955
|
+
this.Labels = null;
|
|
2956
|
+
|
|
2957
|
+
}
|
|
2958
|
+
|
|
2959
|
+
/**
|
|
2960
|
+
* @private
|
|
2961
|
+
*/
|
|
2962
|
+
deserialize(params) {
|
|
2963
|
+
if (!params) {
|
|
2964
|
+
return;
|
|
2965
|
+
}
|
|
2966
|
+
this.NotifyId = 'NotifyId' in params ? params.NotifyId : null;
|
|
2967
|
+
this.PolicyId = 'PolicyId' in params ? params.PolicyId : null;
|
|
2968
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
2969
|
+
this.NotifyTime = 'NotifyTime' in params ? params.NotifyTime : null;
|
|
2970
|
+
this.TriggerTime = 'TriggerTime' in params ? params.TriggerTime : null;
|
|
2971
|
+
this.TriggerLevel = 'TriggerLevel' in params ? params.TriggerLevel : null;
|
|
2972
|
+
this.AlarmContent = 'AlarmContent' in params ? params.AlarmContent : null;
|
|
2973
|
+
this.AlarmObject = 'AlarmObject' in params ? params.AlarmObject : null;
|
|
2974
|
+
this.ChannelSet = 'ChannelSet' in params ? params.ChannelSet : null;
|
|
2975
|
+
|
|
2976
|
+
if (params.ChannelsReceivers) {
|
|
2977
|
+
this.ChannelsReceivers = new Array();
|
|
2978
|
+
for (let z in params.ChannelsReceivers) {
|
|
2979
|
+
let obj = new ChannelsReceivers();
|
|
2980
|
+
obj.deserialize(params.ChannelsReceivers[z]);
|
|
2981
|
+
this.ChannelsReceivers.push(obj);
|
|
2982
|
+
}
|
|
2983
|
+
}
|
|
2984
|
+
this.PolicyName = 'PolicyName' in params ? params.PolicyName : null;
|
|
2985
|
+
this.PromeInstanceID = 'PromeInstanceID' in params ? params.PromeInstanceID : null;
|
|
2986
|
+
this.PromeInstanceRegion = 'PromeInstanceRegion' in params ? params.PromeInstanceRegion : null;
|
|
2987
|
+
|
|
2988
|
+
if (params.Notices) {
|
|
2989
|
+
this.Notices = new Array();
|
|
2990
|
+
for (let z in params.Notices) {
|
|
2991
|
+
let obj = new NotifyRelatedNotice();
|
|
2992
|
+
obj.deserialize(params.Notices[z]);
|
|
2993
|
+
this.Notices.push(obj);
|
|
2994
|
+
}
|
|
2995
|
+
}
|
|
2996
|
+
this.TriggerStatus = 'TriggerStatus' in params ? params.TriggerStatus : null;
|
|
2997
|
+
this.PromeConsoleURL = 'PromeConsoleURL' in params ? params.PromeConsoleURL : null;
|
|
2998
|
+
|
|
2999
|
+
if (params.Labels) {
|
|
3000
|
+
this.Labels = new Array();
|
|
3001
|
+
for (let z in params.Labels) {
|
|
3002
|
+
let obj = new AlarmLable();
|
|
3003
|
+
obj.deserialize(params.Labels[z]);
|
|
3004
|
+
this.Labels.push(obj);
|
|
3005
|
+
}
|
|
3006
|
+
}
|
|
3007
|
+
|
|
3008
|
+
}
|
|
3009
|
+
}
|
|
3010
|
+
|
|
3011
|
+
/**
|
|
3012
|
+
* DescribeAIWorkbenchSession response structure.
|
|
3013
|
+
* @class
|
|
3014
|
+
*/
|
|
3015
|
+
class DescribeAIWorkbenchSessionResponse extends AbstractModel {
|
|
3016
|
+
constructor(){
|
|
3017
|
+
super();
|
|
3018
|
+
|
|
3019
|
+
/**
|
|
3020
|
+
* <p>Session information</p>
|
|
3021
|
+
* @type {SessionInfo || null}
|
|
3022
|
+
*/
|
|
3023
|
+
this.Session = null;
|
|
3024
|
+
|
|
3025
|
+
/**
|
|
3026
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3027
|
+
* @type {string || null}
|
|
3028
|
+
*/
|
|
3029
|
+
this.RequestId = null;
|
|
3030
|
+
|
|
3031
|
+
}
|
|
3032
|
+
|
|
3033
|
+
/**
|
|
3034
|
+
* @private
|
|
3035
|
+
*/
|
|
3036
|
+
deserialize(params) {
|
|
3037
|
+
if (!params) {
|
|
3038
|
+
return;
|
|
3039
|
+
}
|
|
3040
|
+
|
|
3041
|
+
if (params.Session) {
|
|
3042
|
+
let obj = new SessionInfo();
|
|
3043
|
+
obj.deserialize(params.Session)
|
|
3044
|
+
this.Session = obj;
|
|
3045
|
+
}
|
|
3046
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3047
|
+
|
|
3048
|
+
}
|
|
3049
|
+
}
|
|
3050
|
+
|
|
3051
|
+
/**
|
|
3052
|
+
* Task entity
|
|
3053
|
+
* @class
|
|
3054
|
+
*/
|
|
3055
|
+
class TaskInfo extends AbstractModel {
|
|
3056
|
+
constructor(){
|
|
3057
|
+
super();
|
|
3058
|
+
|
|
3059
|
+
/**
|
|
3060
|
+
* <p>Task ID.</p>
|
|
3061
|
+
* @type {string || null}
|
|
3062
|
+
*/
|
|
3063
|
+
this.TaskId = null;
|
|
3064
|
+
|
|
3065
|
+
/**
|
|
3066
|
+
* <p>Task name</p>
|
|
3067
|
+
* @type {string || null}
|
|
3068
|
+
*/
|
|
3069
|
+
this.Name = null;
|
|
3070
|
+
|
|
3071
|
+
/**
|
|
3072
|
+
* <p>Task description</p>
|
|
3073
|
+
* @type {string || null}
|
|
3074
|
+
*/
|
|
3075
|
+
this.Description = null;
|
|
3076
|
+
|
|
3077
|
+
/**
|
|
3078
|
+
* <p>Associated Agent ID</p>
|
|
3079
|
+
* @type {string || null}
|
|
3080
|
+
*/
|
|
3081
|
+
this.AgentId = null;
|
|
3082
|
+
|
|
3083
|
+
/**
|
|
3084
|
+
* <p>Prompt Template</p>
|
|
3085
|
+
* @type {string || null}
|
|
3086
|
+
*/
|
|
3087
|
+
this.PromptTemplate = null;
|
|
3088
|
+
|
|
3089
|
+
/**
|
|
3090
|
+
* <p>Output format: markdown / json</p>
|
|
3091
|
+
* @type {string || null}
|
|
3092
|
+
*/
|
|
3093
|
+
this.OutputFormat = null;
|
|
3094
|
+
|
|
3095
|
+
/**
|
|
3096
|
+
* <p>Trigger type: manual / cron / webhook</p>
|
|
3097
|
+
* @type {string || null}
|
|
3098
|
+
*/
|
|
3099
|
+
this.TriggerType = null;
|
|
3100
|
+
|
|
3101
|
+
/**
|
|
3102
|
+
* <p>Cron expression</p>
|
|
3103
|
+
* @type {string || null}
|
|
3104
|
+
*/
|
|
3105
|
+
this.CronExpr = null;
|
|
3106
|
+
|
|
3107
|
+
/**
|
|
3108
|
+
* <p>Cron time zone</p>
|
|
3109
|
+
* @type {string || null}
|
|
3110
|
+
*/
|
|
3111
|
+
this.CronTimezone = null;
|
|
3112
|
+
|
|
3113
|
+
/**
|
|
3114
|
+
* <p>List of associated skill IDs.</p>
|
|
3115
|
+
* @type {Array.<string> || null}
|
|
3116
|
+
*/
|
|
3117
|
+
this.SkillIds = null;
|
|
3118
|
+
|
|
3119
|
+
/**
|
|
3120
|
+
* <p>Associated MCP endpoint ID list</p>
|
|
3121
|
+
* @type {Array.<string> || null}
|
|
3122
|
+
*/
|
|
3123
|
+
this.McpEndpointIds = null;
|
|
3124
|
+
|
|
3125
|
+
/**
|
|
3126
|
+
* <p>Timeout (seconds)</p>
|
|
3127
|
+
* @type {number || null}
|
|
3128
|
+
*/
|
|
3129
|
+
this.TimeoutSec = null;
|
|
3130
|
+
|
|
3131
|
+
/**
|
|
3132
|
+
* <p>Retry count</p>
|
|
3133
|
+
* @type {number || null}
|
|
3134
|
+
*/
|
|
3135
|
+
this.RetryCount = null;
|
|
3136
|
+
|
|
3137
|
+
/**
|
|
3138
|
+
* <p>Notification id</p>
|
|
3139
|
+
* @type {Array.<string> || null}
|
|
3140
|
+
*/
|
|
3141
|
+
this.NotifyIds = null;
|
|
3142
|
+
|
|
3143
|
+
/**
|
|
3144
|
+
* <p>Whether to enable</p>
|
|
3145
|
+
* @type {boolean || null}
|
|
3146
|
+
*/
|
|
3147
|
+
this.Enabled = null;
|
|
3148
|
+
|
|
3149
|
+
}
|
|
3150
|
+
|
|
3151
|
+
/**
|
|
3152
|
+
* @private
|
|
3153
|
+
*/
|
|
3154
|
+
deserialize(params) {
|
|
3155
|
+
if (!params) {
|
|
3156
|
+
return;
|
|
3157
|
+
}
|
|
3158
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
3159
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3160
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
3161
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
3162
|
+
this.PromptTemplate = 'PromptTemplate' in params ? params.PromptTemplate : null;
|
|
3163
|
+
this.OutputFormat = 'OutputFormat' in params ? params.OutputFormat : null;
|
|
3164
|
+
this.TriggerType = 'TriggerType' in params ? params.TriggerType : null;
|
|
3165
|
+
this.CronExpr = 'CronExpr' in params ? params.CronExpr : null;
|
|
3166
|
+
this.CronTimezone = 'CronTimezone' in params ? params.CronTimezone : null;
|
|
3167
|
+
this.SkillIds = 'SkillIds' in params ? params.SkillIds : null;
|
|
3168
|
+
this.McpEndpointIds = 'McpEndpointIds' in params ? params.McpEndpointIds : null;
|
|
3169
|
+
this.TimeoutSec = 'TimeoutSec' in params ? params.TimeoutSec : null;
|
|
3170
|
+
this.RetryCount = 'RetryCount' in params ? params.RetryCount : null;
|
|
3171
|
+
this.NotifyIds = 'NotifyIds' in params ? params.NotifyIds : null;
|
|
3172
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
3173
|
+
|
|
3174
|
+
}
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3177
|
+
/**
|
|
3178
|
+
* DescribeAIWorkbenchSession request structure.
|
|
3179
|
+
* @class
|
|
3180
|
+
*/
|
|
3181
|
+
class DescribeAIWorkbenchSessionRequest extends AbstractModel {
|
|
3182
|
+
constructor(){
|
|
3183
|
+
super();
|
|
3184
|
+
|
|
3185
|
+
/**
|
|
3186
|
+
* <p>Session ID</p>
|
|
3187
|
+
* @type {string || null}
|
|
3188
|
+
*/
|
|
3189
|
+
this.SessionId = null;
|
|
3190
|
+
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
/**
|
|
3194
|
+
* @private
|
|
3195
|
+
*/
|
|
3196
|
+
deserialize(params) {
|
|
3197
|
+
if (!params) {
|
|
3198
|
+
return;
|
|
3199
|
+
}
|
|
3200
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
3201
|
+
|
|
3202
|
+
}
|
|
3203
|
+
}
|
|
3204
|
+
|
|
3205
|
+
/**
|
|
3206
|
+
* Environment variable entry
|
|
3207
|
+
* @class
|
|
3208
|
+
*/
|
|
3209
|
+
class EnvEntry extends AbstractModel {
|
|
3210
|
+
constructor(){
|
|
3211
|
+
super();
|
|
3212
|
+
|
|
3213
|
+
/**
|
|
3214
|
+
* <p>Environment variable value</p>
|
|
3215
|
+
* @type {string || null}
|
|
3216
|
+
*/
|
|
3217
|
+
this.Value = null;
|
|
3218
|
+
|
|
3219
|
+
/**
|
|
3220
|
+
* <p>Whether to mask</p>
|
|
3221
|
+
* @type {boolean || null}
|
|
3222
|
+
*/
|
|
3223
|
+
this.Sensitive = null;
|
|
3224
|
+
|
|
3225
|
+
}
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* @private
|
|
3229
|
+
*/
|
|
3230
|
+
deserialize(params) {
|
|
3231
|
+
if (!params) {
|
|
3232
|
+
return;
|
|
3233
|
+
}
|
|
3234
|
+
this.Value = 'Value' in params ? params.Value : null;
|
|
3235
|
+
this.Sensitive = 'Sensitive' in params ? params.Sensitive : null;
|
|
3236
|
+
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
|
|
3240
|
+
/**
|
|
3241
|
+
* ListAIWorkbenchSessions response structure.
|
|
3242
|
+
* @class
|
|
3243
|
+
*/
|
|
3244
|
+
class ListAIWorkbenchSessionsResponse extends AbstractModel {
|
|
3245
|
+
constructor(){
|
|
3246
|
+
super();
|
|
3247
|
+
|
|
3248
|
+
/**
|
|
3249
|
+
* <p>Session list</p>
|
|
3250
|
+
* @type {Array.<SessionInfo> || null}
|
|
3251
|
+
*/
|
|
3252
|
+
this.Sessions = null;
|
|
3253
|
+
|
|
3254
|
+
/**
|
|
3255
|
+
* <p>Pagination result</p>
|
|
3256
|
+
* @type {PageByNumResult || null}
|
|
3257
|
+
*/
|
|
3258
|
+
this.PageResult = null;
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3262
|
+
* @type {string || null}
|
|
3263
|
+
*/
|
|
3264
|
+
this.RequestId = null;
|
|
3265
|
+
|
|
3266
|
+
}
|
|
3267
|
+
|
|
3268
|
+
/**
|
|
3269
|
+
* @private
|
|
3270
|
+
*/
|
|
3271
|
+
deserialize(params) {
|
|
3272
|
+
if (!params) {
|
|
3273
|
+
return;
|
|
3274
|
+
}
|
|
3275
|
+
|
|
3276
|
+
if (params.Sessions) {
|
|
3277
|
+
this.Sessions = new Array();
|
|
3278
|
+
for (let z in params.Sessions) {
|
|
3279
|
+
let obj = new SessionInfo();
|
|
3280
|
+
obj.deserialize(params.Sessions[z]);
|
|
3281
|
+
this.Sessions.push(obj);
|
|
3282
|
+
}
|
|
3283
|
+
}
|
|
3284
|
+
|
|
3285
|
+
if (params.PageResult) {
|
|
3286
|
+
let obj = new PageByNumResult();
|
|
3287
|
+
obj.deserialize(params.PageResult)
|
|
3288
|
+
this.PageResult = obj;
|
|
3289
|
+
}
|
|
3290
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3291
|
+
|
|
3292
|
+
}
|
|
3293
|
+
}
|
|
3294
|
+
|
|
3295
|
+
/**
|
|
3296
|
+
* ListAIWorkbenchTasks response structure.
|
|
3297
|
+
* @class
|
|
3298
|
+
*/
|
|
3299
|
+
class ListAIWorkbenchTasksResponse extends AbstractModel {
|
|
3300
|
+
constructor(){
|
|
3301
|
+
super();
|
|
3302
|
+
|
|
3303
|
+
/**
|
|
3304
|
+
* <p>Task List</p>
|
|
3305
|
+
* @type {Array.<TaskInfo> || null}
|
|
3306
|
+
*/
|
|
3307
|
+
this.Tasks = null;
|
|
3308
|
+
|
|
3309
|
+
/**
|
|
3310
|
+
* <p>Pagination result</p>
|
|
3311
|
+
* @type {PageByNumResult || null}
|
|
3312
|
+
*/
|
|
3313
|
+
this.PageResult = null;
|
|
3314
|
+
|
|
3315
|
+
/**
|
|
3316
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3317
|
+
* @type {string || null}
|
|
3318
|
+
*/
|
|
3319
|
+
this.RequestId = null;
|
|
3320
|
+
|
|
3321
|
+
}
|
|
3322
|
+
|
|
3323
|
+
/**
|
|
3324
|
+
* @private
|
|
3325
|
+
*/
|
|
3326
|
+
deserialize(params) {
|
|
3327
|
+
if (!params) {
|
|
3328
|
+
return;
|
|
3329
|
+
}
|
|
3330
|
+
|
|
3331
|
+
if (params.Tasks) {
|
|
3332
|
+
this.Tasks = new Array();
|
|
3333
|
+
for (let z in params.Tasks) {
|
|
3334
|
+
let obj = new TaskInfo();
|
|
3335
|
+
obj.deserialize(params.Tasks[z]);
|
|
3336
|
+
this.Tasks.push(obj);
|
|
3337
|
+
}
|
|
3338
|
+
}
|
|
3339
|
+
|
|
3340
|
+
if (params.PageResult) {
|
|
3341
|
+
let obj = new PageByNumResult();
|
|
3342
|
+
obj.deserialize(params.PageResult)
|
|
3343
|
+
this.PageResult = obj;
|
|
3344
|
+
}
|
|
3345
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3346
|
+
|
|
3347
|
+
}
|
|
3348
|
+
}
|
|
3349
|
+
|
|
3350
|
+
/**
|
|
3351
|
+
* Message entity
|
|
3352
|
+
* @class
|
|
3353
|
+
*/
|
|
3354
|
+
class MessageInfo extends AbstractModel {
|
|
3355
|
+
constructor(){
|
|
3356
|
+
super();
|
|
3357
|
+
|
|
3358
|
+
/**
|
|
3359
|
+
* <p>Entity id</p>
|
|
3360
|
+
* @type {string || null}
|
|
3361
|
+
*/
|
|
3362
|
+
this.EntryId = null;
|
|
3363
|
+
|
|
3364
|
+
/**
|
|
3365
|
+
* <p>Conversation ID</p>
|
|
3366
|
+
* @type {string || null}
|
|
3367
|
+
*/
|
|
3368
|
+
this.SessionId = null;
|
|
3369
|
+
|
|
3370
|
+
/**
|
|
3371
|
+
* <p>Role: user / assistant</p>
|
|
3372
|
+
* @type {string || null}
|
|
3373
|
+
*/
|
|
3374
|
+
this.Role = null;
|
|
3375
|
+
|
|
3376
|
+
/**
|
|
3377
|
+
* <p>Message content</p>
|
|
3378
|
+
* @type {string || null}
|
|
3379
|
+
*/
|
|
3380
|
+
this.Content = null;
|
|
3381
|
+
|
|
3382
|
+
/**
|
|
3383
|
+
* <p>Status.</p>
|
|
3384
|
+
* @type {string || null}
|
|
3385
|
+
*/
|
|
3386
|
+
this.Status = null;
|
|
3387
|
+
|
|
3388
|
+
/**
|
|
3389
|
+
* <p>Block content.</p>
|
|
3390
|
+
* @type {Array.<ContentBlockInfo> || null}
|
|
3391
|
+
*/
|
|
3392
|
+
this.ContentBlocks = null;
|
|
3393
|
+
|
|
3394
|
+
}
|
|
3395
|
+
|
|
3396
|
+
/**
|
|
3397
|
+
* @private
|
|
3398
|
+
*/
|
|
3399
|
+
deserialize(params) {
|
|
3400
|
+
if (!params) {
|
|
3401
|
+
return;
|
|
3402
|
+
}
|
|
3403
|
+
this.EntryId = 'EntryId' in params ? params.EntryId : null;
|
|
3404
|
+
this.SessionId = 'SessionId' in params ? params.SessionId : null;
|
|
3405
|
+
this.Role = 'Role' in params ? params.Role : null;
|
|
3406
|
+
this.Content = 'Content' in params ? params.Content : null;
|
|
3407
|
+
this.Status = 'Status' in params ? params.Status : null;
|
|
3408
|
+
|
|
3409
|
+
if (params.ContentBlocks) {
|
|
3410
|
+
this.ContentBlocks = new Array();
|
|
3411
|
+
for (let z in params.ContentBlocks) {
|
|
3412
|
+
let obj = new ContentBlockInfo();
|
|
3413
|
+
obj.deserialize(params.ContentBlocks[z]);
|
|
3414
|
+
this.ContentBlocks.push(obj);
|
|
3415
|
+
}
|
|
3416
|
+
}
|
|
3417
|
+
|
|
3418
|
+
}
|
|
3419
|
+
}
|
|
3420
|
+
|
|
3421
|
+
/**
|
|
3422
|
+
* DescribeAIWorkbenchExecution response structure.
|
|
3423
|
+
* @class
|
|
3424
|
+
*/
|
|
3425
|
+
class DescribeAIWorkbenchExecutionResponse extends AbstractModel {
|
|
3426
|
+
constructor(){
|
|
3427
|
+
super();
|
|
3428
|
+
|
|
3429
|
+
/**
|
|
3430
|
+
* <p>Execution Record</p>
|
|
3431
|
+
* @type {ExecutionInfo || null}
|
|
3432
|
+
*/
|
|
3433
|
+
this.Execution = null;
|
|
3434
|
+
|
|
3435
|
+
/**
|
|
3436
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3437
|
+
* @type {string || null}
|
|
3438
|
+
*/
|
|
3439
|
+
this.RequestId = null;
|
|
3440
|
+
|
|
3441
|
+
}
|
|
3442
|
+
|
|
3443
|
+
/**
|
|
3444
|
+
* @private
|
|
3445
|
+
*/
|
|
3446
|
+
deserialize(params) {
|
|
3447
|
+
if (!params) {
|
|
3448
|
+
return;
|
|
3449
|
+
}
|
|
3450
|
+
|
|
3451
|
+
if (params.Execution) {
|
|
3452
|
+
let obj = new ExecutionInfo();
|
|
3453
|
+
obj.deserialize(params.Execution)
|
|
3454
|
+
this.Execution = obj;
|
|
3455
|
+
}
|
|
3456
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3457
|
+
|
|
3458
|
+
}
|
|
3459
|
+
}
|
|
3460
|
+
|
|
3461
|
+
/**
|
|
3462
|
+
* UpdateAIWorkbenchAgent response structure.
|
|
3463
|
+
* @class
|
|
3464
|
+
*/
|
|
3465
|
+
class UpdateAIWorkbenchAgentResponse extends AbstractModel {
|
|
3466
|
+
constructor(){
|
|
3467
|
+
super();
|
|
3468
|
+
|
|
3469
|
+
/**
|
|
3470
|
+
* <p>Agent information after the update</p>
|
|
3471
|
+
* @type {AgentInfo || null}
|
|
3472
|
+
*/
|
|
3473
|
+
this.Agent = null;
|
|
3474
|
+
|
|
3475
|
+
/**
|
|
3476
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
3477
|
+
* @type {string || null}
|
|
3478
|
+
*/
|
|
3479
|
+
this.RequestId = null;
|
|
3480
|
+
|
|
3481
|
+
}
|
|
3482
|
+
|
|
3483
|
+
/**
|
|
3484
|
+
* @private
|
|
3485
|
+
*/
|
|
3486
|
+
deserialize(params) {
|
|
3487
|
+
if (!params) {
|
|
3488
|
+
return;
|
|
3489
|
+
}
|
|
3490
|
+
|
|
3491
|
+
if (params.Agent) {
|
|
3492
|
+
let obj = new AgentInfo();
|
|
3493
|
+
obj.deserialize(params.Agent)
|
|
3494
|
+
this.Agent = obj;
|
|
3495
|
+
}
|
|
3496
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3497
|
+
|
|
3498
|
+
}
|
|
3499
|
+
}
|
|
3500
|
+
|
|
3501
|
+
/**
|
|
3502
|
+
* MCP entity
|
|
3503
|
+
* @class
|
|
3504
|
+
*/
|
|
3505
|
+
class MCPInfo extends AbstractModel {
|
|
3506
|
+
constructor(){
|
|
3507
|
+
super();
|
|
3508
|
+
|
|
3509
|
+
/**
|
|
3510
|
+
* <p>mcp ID</p>
|
|
3511
|
+
* @type {string || null}
|
|
3512
|
+
*/
|
|
3513
|
+
this.MCPId = null;
|
|
3514
|
+
|
|
3515
|
+
/**
|
|
3516
|
+
* <p>MCP name</p>
|
|
3517
|
+
* @type {string || null}
|
|
3518
|
+
*/
|
|
3519
|
+
this.Name = null;
|
|
3520
|
+
|
|
3521
|
+
/**
|
|
3522
|
+
* <p>MCP description</p>
|
|
3523
|
+
* @type {string || null}
|
|
3524
|
+
*/
|
|
3525
|
+
this.Description = null;
|
|
3526
|
+
|
|
3527
|
+
/**
|
|
3528
|
+
* <p>MCP URL</p>
|
|
3529
|
+
* @type {string || null}
|
|
3530
|
+
*/
|
|
3531
|
+
this.Url = null;
|
|
3532
|
+
|
|
3533
|
+
/**
|
|
3534
|
+
* <p>Transport protocol: sse / streamable_http / stdio</p>
|
|
3535
|
+
* @type {string || null}
|
|
3536
|
+
*/
|
|
3537
|
+
this.Transport = null;
|
|
3538
|
+
|
|
3539
|
+
/**
|
|
3540
|
+
* <p>Authentication type: none / bearer / basic / api_key</p>
|
|
3541
|
+
* @type {string || null}
|
|
3542
|
+
*/
|
|
3543
|
+
this.AuthType = null;
|
|
3544
|
+
|
|
3545
|
+
/**
|
|
3546
|
+
* <p>Authentication key (masked in the response)</p>
|
|
3547
|
+
* @type {string || null}
|
|
3548
|
+
*/
|
|
3549
|
+
this.AuthSecret = null;
|
|
3550
|
+
|
|
3551
|
+
/**
|
|
3552
|
+
* <p>Timeout (s)</p>
|
|
3553
|
+
* @type {number || null}
|
|
3554
|
+
*/
|
|
3555
|
+
this.Timeout = null;
|
|
392
3556
|
|
|
393
3557
|
/**
|
|
394
|
-
*
|
|
3558
|
+
* <p>Retry count</p>
|
|
395
3559
|
* @type {number || null}
|
|
396
3560
|
*/
|
|
397
|
-
this.
|
|
3561
|
+
this.RetryCount = null;
|
|
398
3562
|
|
|
399
3563
|
/**
|
|
400
|
-
*
|
|
3564
|
+
* <p>Request header JSON</p>
|
|
401
3565
|
* @type {string || null}
|
|
402
3566
|
*/
|
|
403
|
-
this.
|
|
3567
|
+
this.Headers = null;
|
|
404
3568
|
|
|
405
3569
|
/**
|
|
406
|
-
*
|
|
407
|
-
* @type {
|
|
3570
|
+
* <p>Whether to enable</p>
|
|
3571
|
+
* @type {boolean || null}
|
|
408
3572
|
*/
|
|
409
|
-
this.
|
|
3573
|
+
this.Enabled = null;
|
|
3574
|
+
|
|
3575
|
+
}
|
|
3576
|
+
|
|
3577
|
+
/**
|
|
3578
|
+
* @private
|
|
3579
|
+
*/
|
|
3580
|
+
deserialize(params) {
|
|
3581
|
+
if (!params) {
|
|
3582
|
+
return;
|
|
3583
|
+
}
|
|
3584
|
+
this.MCPId = 'MCPId' in params ? params.MCPId : null;
|
|
3585
|
+
this.Name = 'Name' in params ? params.Name : null;
|
|
3586
|
+
this.Description = 'Description' in params ? params.Description : null;
|
|
3587
|
+
this.Url = 'Url' in params ? params.Url : null;
|
|
3588
|
+
this.Transport = 'Transport' in params ? params.Transport : null;
|
|
3589
|
+
this.AuthType = 'AuthType' in params ? params.AuthType : null;
|
|
3590
|
+
this.AuthSecret = 'AuthSecret' in params ? params.AuthSecret : null;
|
|
3591
|
+
this.Timeout = 'Timeout' in params ? params.Timeout : null;
|
|
3592
|
+
this.RetryCount = 'RetryCount' in params ? params.RetryCount : null;
|
|
3593
|
+
this.Headers = 'Headers' in params ? params.Headers : null;
|
|
3594
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
3595
|
+
|
|
3596
|
+
}
|
|
3597
|
+
}
|
|
3598
|
+
|
|
3599
|
+
/**
|
|
3600
|
+
* TriggerAIWorkbenchTask request structure.
|
|
3601
|
+
* @class
|
|
3602
|
+
*/
|
|
3603
|
+
class TriggerAIWorkbenchTaskRequest extends AbstractModel {
|
|
3604
|
+
constructor(){
|
|
3605
|
+
super();
|
|
410
3606
|
|
|
411
3607
|
/**
|
|
412
|
-
*
|
|
3608
|
+
* <p>Task ID.</p>
|
|
413
3609
|
* @type {string || null}
|
|
414
3610
|
*/
|
|
415
|
-
this.
|
|
3611
|
+
this.TaskId = null;
|
|
3612
|
+
|
|
3613
|
+
}
|
|
3614
|
+
|
|
3615
|
+
/**
|
|
3616
|
+
* @private
|
|
3617
|
+
*/
|
|
3618
|
+
deserialize(params) {
|
|
3619
|
+
if (!params) {
|
|
3620
|
+
return;
|
|
3621
|
+
}
|
|
3622
|
+
this.TaskId = 'TaskId' in params ? params.TaskId : null;
|
|
3623
|
+
|
|
3624
|
+
}
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
/**
|
|
3628
|
+
* ListAIWorkbenchMessages response structure.
|
|
3629
|
+
* @class
|
|
3630
|
+
*/
|
|
3631
|
+
class ListAIWorkbenchMessagesResponse extends AbstractModel {
|
|
3632
|
+
constructor(){
|
|
3633
|
+
super();
|
|
416
3634
|
|
|
417
3635
|
/**
|
|
418
|
-
*
|
|
419
|
-
|
|
420
|
-
* @type {Array.<string> || null}
|
|
3636
|
+
* <p>Message list.</p>
|
|
3637
|
+
* @type {Array.<MessageInfo> || null}
|
|
421
3638
|
*/
|
|
422
|
-
this.
|
|
3639
|
+
this.Messages = null;
|
|
423
3640
|
|
|
424
3641
|
/**
|
|
425
|
-
*
|
|
426
|
-
* @type {
|
|
3642
|
+
* <p>Next cursor</p>
|
|
3643
|
+
* @type {string || null}
|
|
427
3644
|
*/
|
|
428
|
-
this.
|
|
3645
|
+
this.NextCursor = null;
|
|
429
3646
|
|
|
430
3647
|
/**
|
|
431
|
-
*
|
|
3648
|
+
* <p>Is there a follow-up?</p>
|
|
3649
|
+
* @type {boolean || null}
|
|
3650
|
+
*/
|
|
3651
|
+
this.HasMore = null;
|
|
3652
|
+
|
|
3653
|
+
/**
|
|
3654
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
432
3655
|
* @type {string || null}
|
|
433
3656
|
*/
|
|
434
|
-
this.
|
|
3657
|
+
this.RequestId = null;
|
|
3658
|
+
|
|
3659
|
+
}
|
|
3660
|
+
|
|
3661
|
+
/**
|
|
3662
|
+
* @private
|
|
3663
|
+
*/
|
|
3664
|
+
deserialize(params) {
|
|
3665
|
+
if (!params) {
|
|
3666
|
+
return;
|
|
3667
|
+
}
|
|
3668
|
+
|
|
3669
|
+
if (params.Messages) {
|
|
3670
|
+
this.Messages = new Array();
|
|
3671
|
+
for (let z in params.Messages) {
|
|
3672
|
+
let obj = new MessageInfo();
|
|
3673
|
+
obj.deserialize(params.Messages[z]);
|
|
3674
|
+
this.Messages.push(obj);
|
|
3675
|
+
}
|
|
3676
|
+
}
|
|
3677
|
+
this.NextCursor = 'NextCursor' in params ? params.NextCursor : null;
|
|
3678
|
+
this.HasMore = 'HasMore' in params ? params.HasMore : null;
|
|
3679
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3680
|
+
|
|
3681
|
+
}
|
|
3682
|
+
}
|
|
3683
|
+
|
|
3684
|
+
/**
|
|
3685
|
+
* DeleteAIWorkbenchAgent response structure.
|
|
3686
|
+
* @class
|
|
3687
|
+
*/
|
|
3688
|
+
class DeleteAIWorkbenchAgentResponse extends AbstractModel {
|
|
3689
|
+
constructor(){
|
|
3690
|
+
super();
|
|
435
3691
|
|
|
436
3692
|
/**
|
|
437
|
-
*
|
|
3693
|
+
* The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
|
|
438
3694
|
* @type {string || null}
|
|
439
3695
|
*/
|
|
440
|
-
this.
|
|
3696
|
+
this.RequestId = null;
|
|
3697
|
+
|
|
3698
|
+
}
|
|
3699
|
+
|
|
3700
|
+
/**
|
|
3701
|
+
* @private
|
|
3702
|
+
*/
|
|
3703
|
+
deserialize(params) {
|
|
3704
|
+
if (!params) {
|
|
3705
|
+
return;
|
|
3706
|
+
}
|
|
3707
|
+
this.RequestId = 'RequestId' in params ? params.RequestId : null;
|
|
3708
|
+
|
|
3709
|
+
}
|
|
3710
|
+
}
|
|
3711
|
+
|
|
3712
|
+
/**
|
|
3713
|
+
* Environment variables required by the agent at runtime
|
|
3714
|
+
* @class
|
|
3715
|
+
*/
|
|
3716
|
+
class EnvVar extends AbstractModel {
|
|
3717
|
+
constructor(){
|
|
3718
|
+
super();
|
|
441
3719
|
|
|
442
3720
|
/**
|
|
443
|
-
*
|
|
3721
|
+
* <p>Environment variable key</p>
|
|
444
3722
|
* @type {string || null}
|
|
445
3723
|
*/
|
|
446
|
-
this.
|
|
3724
|
+
this.Key = null;
|
|
447
3725
|
|
|
448
3726
|
/**
|
|
449
|
-
*
|
|
450
|
-
* @type {
|
|
3727
|
+
* <p>Environment variable value</p>
|
|
3728
|
+
* @type {EnvEntry || null}
|
|
451
3729
|
*/
|
|
452
|
-
this.
|
|
3730
|
+
this.Value = null;
|
|
3731
|
+
|
|
3732
|
+
}
|
|
3733
|
+
|
|
3734
|
+
/**
|
|
3735
|
+
* @private
|
|
3736
|
+
*/
|
|
3737
|
+
deserialize(params) {
|
|
3738
|
+
if (!params) {
|
|
3739
|
+
return;
|
|
3740
|
+
}
|
|
3741
|
+
this.Key = 'Key' in params ? params.Key : null;
|
|
3742
|
+
|
|
3743
|
+
if (params.Value) {
|
|
3744
|
+
let obj = new EnvEntry();
|
|
3745
|
+
obj.deserialize(params.Value)
|
|
3746
|
+
this.Value = obj;
|
|
3747
|
+
}
|
|
3748
|
+
|
|
3749
|
+
}
|
|
3750
|
+
}
|
|
3751
|
+
|
|
3752
|
+
/**
|
|
3753
|
+
* ListAIWorkbenchTasks request structure.
|
|
3754
|
+
* @class
|
|
3755
|
+
*/
|
|
3756
|
+
class ListAIWorkbenchTasksRequest extends AbstractModel {
|
|
3757
|
+
constructor(){
|
|
3758
|
+
super();
|
|
453
3759
|
|
|
454
3760
|
/**
|
|
455
|
-
*
|
|
3761
|
+
* <p>Number of items per page</p>
|
|
3762
|
+
* @type {number || null}
|
|
3763
|
+
*/
|
|
3764
|
+
this.PerPage = null;
|
|
3765
|
+
|
|
3766
|
+
/**
|
|
3767
|
+
* <p>Page number.</p>
|
|
3768
|
+
* @type {number || null}
|
|
3769
|
+
*/
|
|
3770
|
+
this.PageNo = null;
|
|
3771
|
+
|
|
3772
|
+
/**
|
|
3773
|
+
* <p>Filter by Agent</p>
|
|
456
3774
|
* @type {string || null}
|
|
457
3775
|
*/
|
|
458
|
-
this.
|
|
3776
|
+
this.AgentId = null;
|
|
459
3777
|
|
|
460
3778
|
/**
|
|
461
|
-
*
|
|
3779
|
+
* <p>Filter by trigger type</p>
|
|
462
3780
|
* @type {string || null}
|
|
463
3781
|
*/
|
|
464
|
-
this.
|
|
3782
|
+
this.TriggerType = null;
|
|
465
3783
|
|
|
466
3784
|
/**
|
|
467
|
-
*
|
|
468
|
-
* @type {
|
|
3785
|
+
* <p>Search keyword</p>
|
|
3786
|
+
* @type {string || null}
|
|
469
3787
|
*/
|
|
470
|
-
this.
|
|
3788
|
+
this.Keyword = null;
|
|
3789
|
+
|
|
3790
|
+
/**
|
|
3791
|
+
* <p>Task ID list filter</p>
|
|
3792
|
+
* @type {Array.<string> || null}
|
|
3793
|
+
*/
|
|
3794
|
+
this.TaskIds = null;
|
|
3795
|
+
|
|
3796
|
+
/**
|
|
3797
|
+
* <p>Whether to enable filter criteria</p>
|
|
3798
|
+
* @type {boolean || null}
|
|
3799
|
+
*/
|
|
3800
|
+
this.Enabled = null;
|
|
471
3801
|
|
|
472
3802
|
}
|
|
473
3803
|
|
|
@@ -478,59 +3808,137 @@ Note: This field may return null, indicating that no valid values can be obtaine
|
|
|
478
3808
|
if (!params) {
|
|
479
3809
|
return;
|
|
480
3810
|
}
|
|
481
|
-
this.
|
|
482
|
-
this.
|
|
483
|
-
this.
|
|
484
|
-
this.
|
|
485
|
-
this.
|
|
486
|
-
this.
|
|
487
|
-
this.
|
|
488
|
-
this.AlarmObject = 'AlarmObject' in params ? params.AlarmObject : null;
|
|
489
|
-
this.ChannelSet = 'ChannelSet' in params ? params.ChannelSet : null;
|
|
3811
|
+
this.PerPage = 'PerPage' in params ? params.PerPage : null;
|
|
3812
|
+
this.PageNo = 'PageNo' in params ? params.PageNo : null;
|
|
3813
|
+
this.AgentId = 'AgentId' in params ? params.AgentId : null;
|
|
3814
|
+
this.TriggerType = 'TriggerType' in params ? params.TriggerType : null;
|
|
3815
|
+
this.Keyword = 'Keyword' in params ? params.Keyword : null;
|
|
3816
|
+
this.TaskIds = 'TaskIds' in params ? params.TaskIds : null;
|
|
3817
|
+
this.Enabled = 'Enabled' in params ? params.Enabled : null;
|
|
490
3818
|
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
for (let z in params.ChannelsReceivers) {
|
|
494
|
-
let obj = new ChannelsReceivers();
|
|
495
|
-
obj.deserialize(params.ChannelsReceivers[z]);
|
|
496
|
-
this.ChannelsReceivers.push(obj);
|
|
497
|
-
}
|
|
498
|
-
}
|
|
499
|
-
this.PolicyName = 'PolicyName' in params ? params.PolicyName : null;
|
|
500
|
-
this.PromeInstanceID = 'PromeInstanceID' in params ? params.PromeInstanceID : null;
|
|
501
|
-
this.PromeInstanceRegion = 'PromeInstanceRegion' in params ? params.PromeInstanceRegion : null;
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
502
3821
|
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
}
|
|
511
|
-
this.TriggerStatus = 'TriggerStatus' in params ? params.TriggerStatus : null;
|
|
512
|
-
this.PromeConsoleURL = 'PromeConsoleURL' in params ? params.PromeConsoleURL : null;
|
|
3822
|
+
/**
|
|
3823
|
+
* Resource instance
|
|
3824
|
+
* @class
|
|
3825
|
+
*/
|
|
3826
|
+
class ResourceInstance extends AbstractModel {
|
|
3827
|
+
constructor(){
|
|
3828
|
+
super();
|
|
513
3829
|
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
3830
|
+
/**
|
|
3831
|
+
* <p>Instance ID</p>
|
|
3832
|
+
* @type {string || null}
|
|
3833
|
+
*/
|
|
3834
|
+
this.Id = null;
|
|
3835
|
+
|
|
3836
|
+
/**
|
|
3837
|
+
* <p>Service name</p>
|
|
3838
|
+
* @type {string || null}
|
|
3839
|
+
*/
|
|
3840
|
+
this.Service = null;
|
|
3841
|
+
|
|
3842
|
+
/**
|
|
3843
|
+
* <p>Region.</p>
|
|
3844
|
+
* @type {string || null}
|
|
3845
|
+
*/
|
|
3846
|
+
this.Region = null;
|
|
3847
|
+
|
|
3848
|
+
/**
|
|
3849
|
+
* <p>Ready?</p>
|
|
3850
|
+
* @type {boolean || null}
|
|
3851
|
+
*/
|
|
3852
|
+
this.IsReady = null;
|
|
3853
|
+
|
|
3854
|
+
}
|
|
3855
|
+
|
|
3856
|
+
/**
|
|
3857
|
+
* @private
|
|
3858
|
+
*/
|
|
3859
|
+
deserialize(params) {
|
|
3860
|
+
if (!params) {
|
|
3861
|
+
return;
|
|
521
3862
|
}
|
|
3863
|
+
this.Id = 'Id' in params ? params.Id : null;
|
|
3864
|
+
this.Service = 'Service' in params ? params.Service : null;
|
|
3865
|
+
this.Region = 'Region' in params ? params.Region : null;
|
|
3866
|
+
this.IsReady = 'IsReady' in params ? params.IsReady : null;
|
|
522
3867
|
|
|
523
3868
|
}
|
|
524
3869
|
}
|
|
525
3870
|
|
|
526
3871
|
module.exports = {
|
|
527
|
-
PageByNoParams: PageByNoParams,
|
|
528
3872
|
DescribeAlarmNotifyHistoriesRequest: DescribeAlarmNotifyHistoriesRequest,
|
|
3873
|
+
ListAIWorkbenchArtifactsRequest: ListAIWorkbenchArtifactsRequest,
|
|
3874
|
+
ListAIWorkbenchMCPsRequest: ListAIWorkbenchMCPsRequest,
|
|
3875
|
+
DescribeAIWorkbenchAgentResponse: DescribeAIWorkbenchAgentResponse,
|
|
3876
|
+
CreateAIWorkbenchAgentResponse: CreateAIWorkbenchAgentResponse,
|
|
3877
|
+
PageByNoParams: PageByNoParams,
|
|
3878
|
+
DeleteAIWorkbenchAgentRequest: DeleteAIWorkbenchAgentRequest,
|
|
3879
|
+
ListAIWorkbenchResourceInstancesRequest: ListAIWorkbenchResourceInstancesRequest,
|
|
3880
|
+
ChannelsReceivers: ChannelsReceivers,
|
|
3881
|
+
CreateAIWorkbenchTaskResponse: CreateAIWorkbenchTaskResponse,
|
|
3882
|
+
SessionInfo: SessionInfo,
|
|
3883
|
+
DescribeAIWorkbenchExecutionRequest: DescribeAIWorkbenchExecutionRequest,
|
|
3884
|
+
ExecutionInfo: ExecutionInfo,
|
|
3885
|
+
TriggerAIWorkbenchTaskResponse: TriggerAIWorkbenchTaskResponse,
|
|
529
3886
|
PageByNoResult: PageByNoResult,
|
|
530
|
-
|
|
3887
|
+
GetAIWorkbenchArtifactDownloadURLResponse: GetAIWorkbenchArtifactDownloadURLResponse,
|
|
3888
|
+
ListAIWorkbenchResourceMapsRequest: ListAIWorkbenchResourceMapsRequest,
|
|
3889
|
+
ResourceMapInfo: ResourceMapInfo,
|
|
3890
|
+
AgentInfo: AgentInfo,
|
|
3891
|
+
DescribeAIWorkbenchSkillResponse: DescribeAIWorkbenchSkillResponse,
|
|
531
3892
|
AlarmLable: AlarmLable,
|
|
532
|
-
|
|
3893
|
+
PageByNumResult: PageByNumResult,
|
|
3894
|
+
Tag: Tag,
|
|
3895
|
+
ListAIWorkbenchMCPsResponse: ListAIWorkbenchMCPsResponse,
|
|
3896
|
+
CreateAIWorkbenchAgentRequest: CreateAIWorkbenchAgentRequest,
|
|
3897
|
+
ListAIWorkbenchSkillsResponse: ListAIWorkbenchSkillsResponse,
|
|
3898
|
+
DeleteAIWorkbenchTaskRequest: DeleteAIWorkbenchTaskRequest,
|
|
3899
|
+
CreateAIWorkbenchTaskRequest: CreateAIWorkbenchTaskRequest,
|
|
3900
|
+
DescribeAIWorkbenchArtifactRequest: DescribeAIWorkbenchArtifactRequest,
|
|
3901
|
+
ListAIWorkbenchSkillsRequest: ListAIWorkbenchSkillsRequest,
|
|
3902
|
+
ListAIWorkbenchResourceMapsResponse: ListAIWorkbenchResourceMapsResponse,
|
|
3903
|
+
ListAIWorkbenchSessionsRequest: ListAIWorkbenchSessionsRequest,
|
|
3904
|
+
DescribeAIWorkbenchArtifactResponse: DescribeAIWorkbenchArtifactResponse,
|
|
3905
|
+
CancelAIWorkbenchChatResponse: CancelAIWorkbenchChatResponse,
|
|
3906
|
+
UpdateAIWorkbenchAgentRequest: UpdateAIWorkbenchAgentRequest,
|
|
3907
|
+
ListAIWorkbenchArtifactsResponse: ListAIWorkbenchArtifactsResponse,
|
|
3908
|
+
CancelAIWorkbenchChatRequest: CancelAIWorkbenchChatRequest,
|
|
3909
|
+
ListAIWorkbenchMessagesRequest: ListAIWorkbenchMessagesRequest,
|
|
3910
|
+
ListAIWorkbenchAgentsResponse: ListAIWorkbenchAgentsResponse,
|
|
3911
|
+
ListAIWorkbenchExecutionsResponse: ListAIWorkbenchExecutionsResponse,
|
|
3912
|
+
DescribeAIWorkbenchAgentRequest: DescribeAIWorkbenchAgentRequest,
|
|
3913
|
+
DescribeAlarmNotifyHistoriesResponse: DescribeAlarmNotifyHistoriesResponse,
|
|
3914
|
+
InstructionConfig: InstructionConfig,
|
|
3915
|
+
DeleteAIWorkbenchTaskResponse: DeleteAIWorkbenchTaskResponse,
|
|
3916
|
+
ContentBlockInfo: ContentBlockInfo,
|
|
3917
|
+
ArtifactInfo: ArtifactInfo,
|
|
3918
|
+
PageByNumParams: PageByNumParams,
|
|
3919
|
+
GetAIWorkbenchArtifactDownloadURLRequest: GetAIWorkbenchArtifactDownloadURLRequest,
|
|
3920
|
+
ListAIWorkbenchResourceInstancesResponse: ListAIWorkbenchResourceInstancesResponse,
|
|
3921
|
+
ListAIWorkbenchExecutionsRequest: ListAIWorkbenchExecutionsRequest,
|
|
3922
|
+
ListAIWorkbenchAgentsRequest: ListAIWorkbenchAgentsRequest,
|
|
533
3923
|
NotifyRelatedNotice: NotifyRelatedNotice,
|
|
3924
|
+
SkillInfo: SkillInfo,
|
|
3925
|
+
DescribeAIWorkbenchSkillRequest: DescribeAIWorkbenchSkillRequest,
|
|
534
3926
|
AlarmNotifyHistory: AlarmNotifyHistory,
|
|
3927
|
+
DescribeAIWorkbenchSessionResponse: DescribeAIWorkbenchSessionResponse,
|
|
3928
|
+
TaskInfo: TaskInfo,
|
|
3929
|
+
DescribeAIWorkbenchSessionRequest: DescribeAIWorkbenchSessionRequest,
|
|
3930
|
+
EnvEntry: EnvEntry,
|
|
3931
|
+
ListAIWorkbenchSessionsResponse: ListAIWorkbenchSessionsResponse,
|
|
3932
|
+
ListAIWorkbenchTasksResponse: ListAIWorkbenchTasksResponse,
|
|
3933
|
+
MessageInfo: MessageInfo,
|
|
3934
|
+
DescribeAIWorkbenchExecutionResponse: DescribeAIWorkbenchExecutionResponse,
|
|
3935
|
+
UpdateAIWorkbenchAgentResponse: UpdateAIWorkbenchAgentResponse,
|
|
3936
|
+
MCPInfo: MCPInfo,
|
|
3937
|
+
TriggerAIWorkbenchTaskRequest: TriggerAIWorkbenchTaskRequest,
|
|
3938
|
+
ListAIWorkbenchMessagesResponse: ListAIWorkbenchMessagesResponse,
|
|
3939
|
+
DeleteAIWorkbenchAgentResponse: DeleteAIWorkbenchAgentResponse,
|
|
3940
|
+
EnvVar: EnvVar,
|
|
3941
|
+
ListAIWorkbenchTasksRequest: ListAIWorkbenchTasksRequest,
|
|
3942
|
+
ResourceInstance: ResourceInstance,
|
|
535
3943
|
|
|
536
3944
|
}
|