tencentcloud-sdk-nodejs 4.0.252 → 4.0.256
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/CHANGELOG.md +753 -51
- package/package.json +1 -1
- package/products.md +36 -36
- package/src/common/sdk_version.ts +1 -1
- package/src/services/as/v20180419/as_client.ts +15 -1
- package/src/services/as/v20180419/as_models.ts +65 -5
- package/src/services/asr/v20190614/asr_client.ts +1 -1
- package/src/services/asr/v20190614/asr_models.ts +6 -0
- package/src/services/billing/v20180709/billing_models.ts +51 -20
- package/src/services/ccc/v20200210/ccc_models.ts +6 -0
- package/src/services/cdn/v20180606/cdn_client.ts +5 -4
- package/src/services/cdn/v20180606/cdn_models.ts +91 -35
- package/src/services/cii/v20210408/cii_client.ts +13 -0
- package/src/services/cii/v20210408/cii_models.ts +82 -0
- package/src/services/ckafka/v20190819/ckafka_client.ts +17 -5
- package/src/services/ckafka/v20190819/ckafka_models.ts +177 -140
- package/src/services/clb/v20180317/clb_client.ts +44 -18
- package/src/services/clb/v20180317/clb_models.ts +180 -64
- package/src/services/cme/v20191029/cme_models.ts +10 -10
- package/src/services/cpdp/v20190820/cpdp_models.ts +53 -0
- package/src/services/cvm/v20170312/cvm_client.ts +17 -0
- package/src/services/cvm/v20170312/cvm_models.ts +30 -0
- package/src/services/cwp/v20180228/cwp_models.ts +27 -1
- package/src/services/dnspod/v20210323/dnspod_client.ts +82 -69
- package/src/services/dnspod/v20210323/dnspod_models.ts +1178 -1133
- package/src/services/eiam/v20210420/eiam_models.ts +30 -0
- package/src/services/emr/v20190103/emr_models.ts +22 -4
- package/src/services/faceid/v20180301/faceid_client.ts +1 -0
- package/src/services/faceid/v20180301/faceid_models.ts +46 -0
- package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +26 -1
- package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +172 -84
- package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
- package/src/services/mongodb/v20190725/mongodb_client.ts +19 -3
- package/src/services/mongodb/v20190725/mongodb_models.ts +302 -62
- package/src/services/mrs/v20200910/mrs_models.ts +12 -0
- package/src/services/rum/v20210622/rum_client.ts +27 -3
- package/src/services/rum/v20210622/rum_models.ts +290 -25
- package/src/services/scf/v20180416/scf_models.ts +32 -26
- package/src/services/tat/v20201028/tat_client.ts +16 -1
- package/src/services/tat/v20201028/tat_models.ts +31 -4
- package/src/services/tcb/v20180608/tcb_models.ts +1 -1
- package/src/services/tcss/v20201101/tcss_models.ts +1 -1
- package/src/services/tdmq/v20200217/tdmq_models.ts +11 -1
- package/src/services/tem/v20210701/tem_client.ts +12 -0
- package/src/services/tem/v20210701/tem_models.ts +35 -0
- package/src/services/thpc/v20211109/thpc_client.ts +2 -0
- package/src/services/thpc/v20211109/thpc_models.ts +40 -0
- package/src/services/tke/v20180525/tke_models.ts +6 -0
- package/src/services/tse/v20201207/tse_models.ts +5 -0
- package/src/services/vod/v20180717/vod_client.ts +5 -3
- package/src/services/vod/v20180717/vod_models.ts +244 -30
- package/tencentcloud/common/sdk_version.d.ts +1 -1
- package/tencentcloud/common/sdk_version.js +1 -1
- package/tencentcloud/services/as/v20180419/as_client.d.ts +5 -1
- package/tencentcloud/services/as/v20180419/as_client.js +6 -0
- package/tencentcloud/services/as/v20180419/as_models.d.ts +57 -5
- package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
- package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
- package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -0
- package/tencentcloud/services/billing/v20180709/billing_models.d.ts +50 -19
- package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
- package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
- package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +79 -31
- package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
- package/tencentcloud/services/cii/v20210408/cii_client.js +6 -0
- package/tencentcloud/services/cii/v20210408/cii_models.d.ts +70 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
- package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
- package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +152 -120
- package/tencentcloud/services/clb/v20180317/clb_client.d.ts +16 -7
- package/tencentcloud/services/clb/v20180317/clb_client.js +21 -8
- package/tencentcloud/services/clb/v20180317/clb_models.d.ts +155 -56
- package/tencentcloud/services/cme/v20191029/cme_models.d.ts +8 -9
- package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +44 -0
- package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +10 -1
- package/tencentcloud/services/cvm/v20170312/cvm_client.js +11 -0
- package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +26 -0
- package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +22 -1
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -5
- package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -6
- package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1048 -1009
- package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +25 -0
- package/tencentcloud/services/emr/v20190103/emr_models.d.ts +20 -4
- package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +39 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +9 -1
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +12 -0
- package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +144 -68
- package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
- package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
- package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +253 -55
- package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +10 -0
- package/tencentcloud/services/rum/v20210622/rum_client.d.ts +9 -1
- package/tencentcloud/services/rum/v20210622/rum_client.js +12 -0
- package/tencentcloud/services/rum/v20210622/rum_models.d.ts +241 -25
- package/tencentcloud/services/scf/v20180416/scf_models.d.ts +31 -26
- package/tencentcloud/services/tat/v20201028/tat_client.d.ts +8 -1
- package/tencentcloud/services/tat/v20201028/tat_client.js +9 -0
- package/tencentcloud/services/tat/v20201028/tat_models.d.ts +28 -4
- package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1 -1
- package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
- package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +9 -1
- package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
- package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
- package/tencentcloud/services/tem/v20210701/tem_models.d.ts +30 -0
- package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +34 -0
- package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
- package/tencentcloud/services/tse/v20201207/tse_models.d.ts +4 -0
- package/tencentcloud/services/vod/v20180717/vod_client.d.ts +4 -3
- package/tencentcloud/services/vod/v20180717/vod_client.js +4 -3
- package/tencentcloud/services/vod/v20180717/vod_models.d.ts +176 -0
- package/test/as.v20180419.test.js +10 -0
- package/test/cii.v20210408.test.js +10 -0
- package/test/ckafka.v20190819.test.js +10 -0
- package/test/clb.v20180317.test.js +24 -4
- package/test/cvm.v20170312.test.js +10 -0
- package/test/dnspod.v20210323.test.js +14 -4
- package/test/iotexplorer.v20190423.test.js +20 -0
- package/test/mongodb.v20190725.test.js +10 -0
- package/test/rum.v20210622.test.js +20 -0
- package/test/tat.v20201028.test.js +10 -0
- package/test/tem.v20210701.test.js +10 -0
|
@@ -80,6 +80,19 @@ export interface DescribeDataPerformancePageResponse {
|
|
|
80
80
|
*/
|
|
81
81
|
RequestId?: string;
|
|
82
82
|
}
|
|
83
|
+
/**
|
|
84
|
+
* DescribeLogList返回参数结构体
|
|
85
|
+
*/
|
|
86
|
+
export interface DescribeLogListResponse {
|
|
87
|
+
/**
|
|
88
|
+
* 返回字符串
|
|
89
|
+
*/
|
|
90
|
+
Result: string;
|
|
91
|
+
/**
|
|
92
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
93
|
+
*/
|
|
94
|
+
RequestId?: string;
|
|
95
|
+
}
|
|
83
96
|
/**
|
|
84
97
|
* DescribeDataPerformancePage请求参数结构体
|
|
85
98
|
*/
|
|
@@ -168,6 +181,10 @@ export interface DescribeDataPerformancePageRequest {
|
|
|
168
181
|
* 耗时计算方式
|
|
169
182
|
*/
|
|
170
183
|
CostType?: string;
|
|
184
|
+
/**
|
|
185
|
+
* 环境变量
|
|
186
|
+
*/
|
|
187
|
+
Env?: string;
|
|
171
188
|
}
|
|
172
189
|
/**
|
|
173
190
|
* DescribeProjects返回参数结构体
|
|
@@ -291,11 +308,11 @@ export interface DescribeProjectsRequest {
|
|
|
291
308
|
Filters?: Array<Filter>;
|
|
292
309
|
}
|
|
293
310
|
/**
|
|
294
|
-
*
|
|
311
|
+
* DescribeDataEventUrl返回参数结构体
|
|
295
312
|
*/
|
|
296
|
-
export interface
|
|
313
|
+
export interface DescribeDataEventUrlResponse {
|
|
297
314
|
/**
|
|
298
|
-
*
|
|
315
|
+
* 返回值
|
|
299
316
|
*/
|
|
300
317
|
Result: string;
|
|
301
318
|
/**
|
|
@@ -303,6 +320,43 @@ export interface DescribeLogListResponse {
|
|
|
303
320
|
*/
|
|
304
321
|
RequestId?: string;
|
|
305
322
|
}
|
|
323
|
+
/**
|
|
324
|
+
* DescribeLogList请求参数结构体
|
|
325
|
+
*/
|
|
326
|
+
export interface DescribeLogListRequest {
|
|
327
|
+
/**
|
|
328
|
+
* 排序方式 desc asc
|
|
329
|
+
*/
|
|
330
|
+
Sort: string;
|
|
331
|
+
/**
|
|
332
|
+
* searchlog histogram
|
|
333
|
+
*/
|
|
334
|
+
ActionType: string;
|
|
335
|
+
/**
|
|
336
|
+
* 项目ID
|
|
337
|
+
*/
|
|
338
|
+
ID: number;
|
|
339
|
+
/**
|
|
340
|
+
* 开始时间
|
|
341
|
+
*/
|
|
342
|
+
StartTime?: string;
|
|
343
|
+
/**
|
|
344
|
+
* 限制
|
|
345
|
+
*/
|
|
346
|
+
Limit?: number;
|
|
347
|
+
/**
|
|
348
|
+
* 上下文
|
|
349
|
+
*/
|
|
350
|
+
Context?: string;
|
|
351
|
+
/**
|
|
352
|
+
* 查询语句
|
|
353
|
+
*/
|
|
354
|
+
Query?: string;
|
|
355
|
+
/**
|
|
356
|
+
* 结束时间
|
|
357
|
+
*/
|
|
358
|
+
EndTime?: string;
|
|
359
|
+
}
|
|
306
360
|
/**
|
|
307
361
|
* 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
|
|
308
362
|
|
|
@@ -350,54 +404,186 @@ export interface CreateProjectResponse {
|
|
|
350
404
|
RequestId?: string;
|
|
351
405
|
}
|
|
352
406
|
/**
|
|
353
|
-
*
|
|
407
|
+
* DescribeDataEventUrl请求参数结构体
|
|
354
408
|
*/
|
|
355
|
-
export interface
|
|
409
|
+
export interface DescribeDataEventUrlRequest {
|
|
356
410
|
/**
|
|
357
|
-
*
|
|
411
|
+
* 开始时间
|
|
358
412
|
*/
|
|
359
|
-
|
|
413
|
+
StartTime: number;
|
|
360
414
|
/**
|
|
361
|
-
*
|
|
415
|
+
* 类型
|
|
362
416
|
*/
|
|
363
|
-
|
|
417
|
+
Type: string;
|
|
418
|
+
/**
|
|
419
|
+
* 结束时间
|
|
420
|
+
*/
|
|
421
|
+
EndTime: number;
|
|
364
422
|
/**
|
|
365
423
|
* 项目ID
|
|
366
424
|
*/
|
|
367
425
|
ID: number;
|
|
368
426
|
/**
|
|
369
|
-
*
|
|
427
|
+
* 自定义2
|
|
370
428
|
*/
|
|
371
|
-
|
|
429
|
+
ExtSecond?: string;
|
|
372
430
|
/**
|
|
373
|
-
*
|
|
431
|
+
* 浏览器引擎
|
|
374
432
|
*/
|
|
375
|
-
|
|
433
|
+
Engine?: string;
|
|
376
434
|
/**
|
|
377
|
-
*
|
|
435
|
+
* 运营商
|
|
378
436
|
*/
|
|
379
|
-
|
|
437
|
+
Isp?: string;
|
|
380
438
|
/**
|
|
381
|
-
*
|
|
439
|
+
* 来源页面
|
|
382
440
|
*/
|
|
383
|
-
|
|
441
|
+
From?: string;
|
|
384
442
|
/**
|
|
385
|
-
*
|
|
443
|
+
* 日志等级
|
|
386
444
|
*/
|
|
387
|
-
|
|
445
|
+
Level?: string;
|
|
446
|
+
/**
|
|
447
|
+
* 品牌
|
|
448
|
+
*/
|
|
449
|
+
Brand?: string;
|
|
450
|
+
/**
|
|
451
|
+
* 地区
|
|
452
|
+
*/
|
|
453
|
+
Area?: string;
|
|
454
|
+
/**
|
|
455
|
+
* 版本
|
|
456
|
+
*/
|
|
457
|
+
VersionNum?: string;
|
|
458
|
+
/**
|
|
459
|
+
* 平台
|
|
460
|
+
*/
|
|
461
|
+
Platform?: string;
|
|
462
|
+
/**
|
|
463
|
+
* 自定义3
|
|
464
|
+
*/
|
|
465
|
+
ExtThird?: string;
|
|
466
|
+
/**
|
|
467
|
+
* 自定义1
|
|
468
|
+
*/
|
|
469
|
+
ExtFirst?: string;
|
|
470
|
+
/**
|
|
471
|
+
* 网络类型
|
|
472
|
+
*/
|
|
473
|
+
NetType?: string;
|
|
474
|
+
/**
|
|
475
|
+
* 机型
|
|
476
|
+
*/
|
|
477
|
+
Device?: string;
|
|
478
|
+
/**
|
|
479
|
+
* 是否海外
|
|
480
|
+
*/
|
|
481
|
+
IsAbroad?: string;
|
|
482
|
+
/**
|
|
483
|
+
* 操作系统
|
|
484
|
+
*/
|
|
485
|
+
Os?: string;
|
|
486
|
+
/**
|
|
487
|
+
* 浏览器
|
|
488
|
+
*/
|
|
489
|
+
Browser?: string;
|
|
490
|
+
/**
|
|
491
|
+
* 筛选条件
|
|
492
|
+
*/
|
|
493
|
+
Name?: string;
|
|
494
|
+
/**
|
|
495
|
+
* 环境
|
|
496
|
+
*/
|
|
497
|
+
Env?: string;
|
|
388
498
|
}
|
|
389
499
|
/**
|
|
390
|
-
*
|
|
500
|
+
* DescribeDataPvUrlStatistics请求参数结构体
|
|
391
501
|
*/
|
|
392
|
-
export interface
|
|
502
|
+
export interface DescribeDataPvUrlStatisticsRequest {
|
|
393
503
|
/**
|
|
394
|
-
*
|
|
504
|
+
* 开始时间
|
|
395
505
|
*/
|
|
396
|
-
|
|
506
|
+
StartTime: number;
|
|
397
507
|
/**
|
|
398
|
-
*
|
|
508
|
+
* 类型:"allcount", "falls", "samp", "version", "ext3","nettype", "platform","isp","region","device","browser","ext1","ext2"
|
|
399
509
|
*/
|
|
400
|
-
|
|
510
|
+
Type: string;
|
|
511
|
+
/**
|
|
512
|
+
* 结束时间
|
|
513
|
+
*/
|
|
514
|
+
EndTime: number;
|
|
515
|
+
/**
|
|
516
|
+
* 项目ID
|
|
517
|
+
*/
|
|
518
|
+
ID: number;
|
|
519
|
+
/**
|
|
520
|
+
* 自定义2
|
|
521
|
+
*/
|
|
522
|
+
ExtSecond?: string;
|
|
523
|
+
/**
|
|
524
|
+
* 浏览器引擎
|
|
525
|
+
*/
|
|
526
|
+
Engine?: string;
|
|
527
|
+
/**
|
|
528
|
+
* 运营商
|
|
529
|
+
*/
|
|
530
|
+
Isp?: string;
|
|
531
|
+
/**
|
|
532
|
+
* 来源页面
|
|
533
|
+
*/
|
|
534
|
+
From?: string;
|
|
535
|
+
/**
|
|
536
|
+
* 日志等级
|
|
537
|
+
*/
|
|
538
|
+
Level?: string;
|
|
539
|
+
/**
|
|
540
|
+
* 品牌
|
|
541
|
+
*/
|
|
542
|
+
Brand?: string;
|
|
543
|
+
/**
|
|
544
|
+
* 地区
|
|
545
|
+
*/
|
|
546
|
+
Area?: string;
|
|
547
|
+
/**
|
|
548
|
+
* 版本
|
|
549
|
+
*/
|
|
550
|
+
VersionNum?: string;
|
|
551
|
+
/**
|
|
552
|
+
* 平台
|
|
553
|
+
*/
|
|
554
|
+
Platform?: string;
|
|
555
|
+
/**
|
|
556
|
+
* 自定义3
|
|
557
|
+
*/
|
|
558
|
+
ExtThird?: string;
|
|
559
|
+
/**
|
|
560
|
+
* 自定义1
|
|
561
|
+
*/
|
|
562
|
+
ExtFirst?: string;
|
|
563
|
+
/**
|
|
564
|
+
* 网络类型
|
|
565
|
+
*/
|
|
566
|
+
NetType?: string;
|
|
567
|
+
/**
|
|
568
|
+
* 机型
|
|
569
|
+
*/
|
|
570
|
+
Device?: string;
|
|
571
|
+
/**
|
|
572
|
+
* 是否海外
|
|
573
|
+
*/
|
|
574
|
+
IsAbroad?: string;
|
|
575
|
+
/**
|
|
576
|
+
* 操作系统
|
|
577
|
+
*/
|
|
578
|
+
Os?: string;
|
|
579
|
+
/**
|
|
580
|
+
* 浏览器
|
|
581
|
+
*/
|
|
582
|
+
Browser?: string;
|
|
583
|
+
/**
|
|
584
|
+
* 环境
|
|
585
|
+
*/
|
|
586
|
+
Env?: string;
|
|
401
587
|
}
|
|
402
588
|
/**
|
|
403
589
|
* DescribeError返回参数结构体
|
|
@@ -504,6 +690,23 @@ export interface DescribeDataLogUrlStatisticsRequest {
|
|
|
504
690
|
* 浏览器
|
|
505
691
|
*/
|
|
506
692
|
Browser?: string;
|
|
693
|
+
/**
|
|
694
|
+
* 环境区分
|
|
695
|
+
*/
|
|
696
|
+
Env?: string;
|
|
697
|
+
}
|
|
698
|
+
/**
|
|
699
|
+
* DescribeDataPvUrlStatistics返回参数结构体
|
|
700
|
+
*/
|
|
701
|
+
export interface DescribeDataPvUrlStatisticsResponse {
|
|
702
|
+
/**
|
|
703
|
+
* 返回值
|
|
704
|
+
*/
|
|
705
|
+
Result: string;
|
|
706
|
+
/**
|
|
707
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
708
|
+
*/
|
|
709
|
+
RequestId?: string;
|
|
507
710
|
}
|
|
508
711
|
/**
|
|
509
712
|
* CreateProject请求参数结构体
|
|
@@ -542,3 +745,16 @@ export interface CreateProjectRequest {
|
|
|
542
745
|
*/
|
|
543
746
|
Desc?: string;
|
|
544
747
|
}
|
|
748
|
+
/**
|
|
749
|
+
* DescribeScores返回参数结构体
|
|
750
|
+
*/
|
|
751
|
+
export interface DescribeScoresResponse {
|
|
752
|
+
/**
|
|
753
|
+
* 数组
|
|
754
|
+
*/
|
|
755
|
+
ScoreSet: Array<ScoreInfo>;
|
|
756
|
+
/**
|
|
757
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
758
|
+
*/
|
|
759
|
+
RequestId?: string;
|
|
760
|
+
}
|
|
@@ -117,12 +117,12 @@ export interface ListAliasesResponse {
|
|
|
117
117
|
/**
|
|
118
118
|
* 别名列表
|
|
119
119
|
*/
|
|
120
|
-
Aliases
|
|
120
|
+
Aliases: Array<Alias>;
|
|
121
121
|
/**
|
|
122
122
|
* 别名总数
|
|
123
123
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
124
124
|
*/
|
|
125
|
-
TotalCount
|
|
125
|
+
TotalCount: number;
|
|
126
126
|
/**
|
|
127
127
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
128
128
|
*/
|
|
@@ -347,30 +347,30 @@ export interface GetAliasResponse {
|
|
|
347
347
|
/**
|
|
348
348
|
* 别名指向的主版本
|
|
349
349
|
*/
|
|
350
|
-
FunctionVersion
|
|
350
|
+
FunctionVersion: string;
|
|
351
351
|
/**
|
|
352
352
|
* 别名的名称
|
|
353
353
|
*/
|
|
354
|
-
Name
|
|
354
|
+
Name: string;
|
|
355
355
|
/**
|
|
356
356
|
* 别名的路由信息
|
|
357
357
|
*/
|
|
358
|
-
RoutingConfig
|
|
358
|
+
RoutingConfig: RoutingConfig;
|
|
359
359
|
/**
|
|
360
360
|
* 别名的描述
|
|
361
361
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
362
362
|
*/
|
|
363
|
-
Description
|
|
363
|
+
Description: string;
|
|
364
364
|
/**
|
|
365
365
|
* 创建时间
|
|
366
366
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
367
367
|
*/
|
|
368
|
-
AddTime
|
|
368
|
+
AddTime: string;
|
|
369
369
|
/**
|
|
370
370
|
* 更新时间
|
|
371
371
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
372
372
|
*/
|
|
373
|
-
ModTime
|
|
373
|
+
ModTime: string;
|
|
374
374
|
/**
|
|
375
375
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
376
376
|
*/
|
|
@@ -571,7 +571,7 @@ export interface DeleteFunctionRequest {
|
|
|
571
571
|
*/
|
|
572
572
|
Namespace?: string;
|
|
573
573
|
/**
|
|
574
|
-
*
|
|
574
|
+
* 函数版本,如果删除版本的话传入版本号,不传入改字段删除函数下的所有版本
|
|
575
575
|
*/
|
|
576
576
|
Qualifier?: string;
|
|
577
577
|
}
|
|
@@ -709,17 +709,17 @@ export interface ListVersionByFunctionResponse {
|
|
|
709
709
|
/**
|
|
710
710
|
* 函数版本。
|
|
711
711
|
*/
|
|
712
|
-
FunctionVersion
|
|
712
|
+
FunctionVersion: Array<string>;
|
|
713
713
|
/**
|
|
714
714
|
* 函数版本列表。
|
|
715
715
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
716
716
|
*/
|
|
717
|
-
Versions
|
|
717
|
+
Versions: Array<FunctionVersion>;
|
|
718
718
|
/**
|
|
719
719
|
* 函数版本总数。
|
|
720
720
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
721
721
|
*/
|
|
722
|
-
TotalCount
|
|
722
|
+
TotalCount: number;
|
|
723
723
|
/**
|
|
724
724
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
725
725
|
*/
|
|
@@ -972,7 +972,7 @@ export interface TerminateAsyncEventRequest {
|
|
|
972
972
|
*/
|
|
973
973
|
Namespace?: string;
|
|
974
974
|
/**
|
|
975
|
-
*
|
|
975
|
+
* 该参数已下线
|
|
976
976
|
*/
|
|
977
977
|
GraceShutdown?: boolean;
|
|
978
978
|
}
|
|
@@ -1644,35 +1644,35 @@ export interface PublishVersionResponse {
|
|
|
1644
1644
|
/**
|
|
1645
1645
|
* 函数的版本
|
|
1646
1646
|
*/
|
|
1647
|
-
FunctionVersion
|
|
1647
|
+
FunctionVersion: string;
|
|
1648
1648
|
/**
|
|
1649
1649
|
* 代码大小
|
|
1650
1650
|
*/
|
|
1651
|
-
CodeSize
|
|
1651
|
+
CodeSize: number;
|
|
1652
1652
|
/**
|
|
1653
1653
|
* 最大可用内存
|
|
1654
1654
|
*/
|
|
1655
|
-
MemorySize
|
|
1655
|
+
MemorySize: number;
|
|
1656
1656
|
/**
|
|
1657
1657
|
* 函数的描述
|
|
1658
1658
|
*/
|
|
1659
|
-
Description
|
|
1659
|
+
Description: string;
|
|
1660
1660
|
/**
|
|
1661
1661
|
* 函数的入口
|
|
1662
1662
|
*/
|
|
1663
|
-
Handler
|
|
1663
|
+
Handler: string;
|
|
1664
1664
|
/**
|
|
1665
1665
|
* 函数的超时时间
|
|
1666
1666
|
*/
|
|
1667
|
-
Timeout
|
|
1667
|
+
Timeout: number;
|
|
1668
1668
|
/**
|
|
1669
1669
|
* 函数的运行环境
|
|
1670
1670
|
*/
|
|
1671
|
-
Runtime
|
|
1671
|
+
Runtime: string;
|
|
1672
1672
|
/**
|
|
1673
1673
|
* 函数的命名空间
|
|
1674
1674
|
*/
|
|
1675
|
-
Namespace
|
|
1675
|
+
Namespace: string;
|
|
1676
1676
|
/**
|
|
1677
1677
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1678
1678
|
*/
|
|
@@ -2495,11 +2495,11 @@ export interface GetFunctionAddressResponse {
|
|
|
2495
2495
|
/**
|
|
2496
2496
|
* 函数的Cos地址
|
|
2497
2497
|
*/
|
|
2498
|
-
Url
|
|
2498
|
+
Url: string;
|
|
2499
2499
|
/**
|
|
2500
2500
|
* 函数的SHA256编码
|
|
2501
2501
|
*/
|
|
2502
|
-
CodeSha256
|
|
2502
|
+
CodeSha256: string;
|
|
2503
2503
|
/**
|
|
2504
2504
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
2505
2505
|
*/
|
|
@@ -2625,6 +2625,11 @@ export interface FunctionVersion {
|
|
|
2625
2625
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
2626
2626
|
*/
|
|
2627
2627
|
ModTime?: string;
|
|
2628
|
+
/**
|
|
2629
|
+
* 版本状态
|
|
2630
|
+
注意:此字段可能返回 null,表示取不到有效值。
|
|
2631
|
+
*/
|
|
2632
|
+
Status?: string;
|
|
2628
2633
|
}
|
|
2629
2634
|
/**
|
|
2630
2635
|
* 函数的异步重试配置详情
|
|
@@ -3007,7 +3012,7 @@ export interface ImageConfig {
|
|
|
3007
3012
|
*/
|
|
3008
3013
|
RegistryId?: string;
|
|
3009
3014
|
/**
|
|
3010
|
-
*
|
|
3015
|
+
* 参数已废弃
|
|
3011
3016
|
注意:此字段可能返回 null,表示取不到有效值。
|
|
3012
3017
|
*/
|
|
3013
3018
|
EntryPoint?: string;
|
|
@@ -3093,11 +3098,11 @@ export interface GetProvisionedConcurrencyConfigResponse {
|
|
|
3093
3098
|
/**
|
|
3094
3099
|
* 该函数剩余可配置的预置并发数。
|
|
3095
3100
|
*/
|
|
3096
|
-
UnallocatedConcurrencyNum
|
|
3101
|
+
UnallocatedConcurrencyNum: number;
|
|
3097
3102
|
/**
|
|
3098
3103
|
* 函数已预置的并发配置详情。
|
|
3099
3104
|
*/
|
|
3100
|
-
Allocated
|
|
3105
|
+
Allocated: Array<VersionProvisionedConcurrencyInfo>;
|
|
3101
3106
|
/**
|
|
3102
3107
|
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
3103
3108
|
*/
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { PreviewReplacedCommandContentResponse, CreateCommandResponse, DisableInvokerRequest, RunCommandRequest, DescribeInvocationTasksRequest, DescribeRegionsRequest, DescribeInvokerRecordsResponse, ModifyInvokerRequest, EnableInvokerResponse, EnableInvokerRequest, ModifyCommandResponse, DescribeInvokersResponse, DeleteCommandResponse, DisableInvokerResponse, DescribeCommandsResponse, CreateInvokerRequest, DescribeAutomationAgentStatusRequest, InvokeCommandResponse, ModifyCommandRequest, DescribeInvokersRequest, DescribeCommandsRequest, DeleteInvokerResponse, DescribeInvocationsRequest, DescribeInvocationsResponse, DescribeInvocationTasksResponse, PreviewReplacedCommandContentRequest, DescribeAutomationAgentStatusResponse, CreateInvokerResponse,
|
|
3
|
+
import { PreviewReplacedCommandContentResponse, CreateCommandResponse, DisableInvokerRequest, RunCommandRequest, DescribeInvocationTasksRequest, DescribeRegionsRequest, DescribeInvokerRecordsResponse, ModifyInvokerRequest, EnableInvokerResponse, EnableInvokerRequest, ModifyCommandResponse, DescribeInvokersResponse, CancelInvocationResponse, DeleteCommandResponse, DisableInvokerResponse, DescribeCommandsResponse, CreateInvokerRequest, DescribeAutomationAgentStatusRequest, InvokeCommandResponse, ModifyCommandRequest, DescribeInvokersRequest, DescribeCommandsRequest, DeleteInvokerResponse, DescribeInvocationsRequest, DescribeInvocationsResponse, DescribeInvocationTasksResponse, PreviewReplacedCommandContentRequest, ModifyInvokerResponse, DescribeAutomationAgentStatusResponse, CreateInvokerResponse, CancelInvocationRequest, DeleteCommandRequest, DeleteInvokerRequest, InvokeCommandRequest, DescribeInvokerRecordsRequest, RunCommandResponse, DescribeRegionsResponse, CreateCommandRequest } from "./tat_models";
|
|
4
4
|
/**
|
|
5
5
|
* tat client
|
|
6
6
|
* @class
|
|
@@ -23,6 +23,13 @@ export declare class Client extends AbstractClient {
|
|
|
23
23
|
* 此接口用于查询执行活动详情。
|
|
24
24
|
*/
|
|
25
25
|
DescribeInvocations(req: DescribeInvocationsRequest, cb?: (error: string, rep: DescribeInvocationsResponse) => void): Promise<DescribeInvocationsResponse>;
|
|
26
|
+
/**
|
|
27
|
+
* 取消一台或多台CVM实例执行的命令
|
|
28
|
+
|
|
29
|
+
* 如果命令还未下发到agent,任务状态处于处于PENDING、DELIVERING、DELIVER_DELAYED,取消后任务状态是CANCELLED
|
|
30
|
+
* 如果命令已下发到agent,任务状态处于RUNNING, 取消后任务状态是TERMINATED
|
|
31
|
+
*/
|
|
32
|
+
CancelInvocation(req: CancelInvocationRequest, cb?: (error: string, rep: CancelInvocationResponse) => void): Promise<CancelInvocationResponse>;
|
|
26
33
|
/**
|
|
27
34
|
* 此接口用于查询执行任务详情。
|
|
28
35
|
*/
|
|
@@ -51,6 +51,15 @@ class Client extends abstract_client_1.AbstractClient {
|
|
|
51
51
|
async DescribeInvocations(req, cb) {
|
|
52
52
|
return this.request("DescribeInvocations", req, cb);
|
|
53
53
|
}
|
|
54
|
+
/**
|
|
55
|
+
* 取消一台或多台CVM实例执行的命令
|
|
56
|
+
|
|
57
|
+
* 如果命令还未下发到agent,任务状态处于处于PENDING、DELIVERING、DELIVER_DELAYED,取消后任务状态是CANCELLED
|
|
58
|
+
* 如果命令已下发到agent,任务状态处于RUNNING, 取消后任务状态是TERMINATED
|
|
59
|
+
*/
|
|
60
|
+
async CancelInvocation(req, cb) {
|
|
61
|
+
return this.request("CancelInvocation", req, cb);
|
|
62
|
+
}
|
|
54
63
|
/**
|
|
55
64
|
* 此接口用于查询执行任务详情。
|
|
56
65
|
*/
|
|
@@ -538,6 +538,15 @@ export interface DescribeInvokersResponse {
|
|
|
538
538
|
*/
|
|
539
539
|
RequestId?: string;
|
|
540
540
|
}
|
|
541
|
+
/**
|
|
542
|
+
* CancelInvocation返回参数结构体
|
|
543
|
+
*/
|
|
544
|
+
export interface CancelInvocationResponse {
|
|
545
|
+
/**
|
|
546
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
547
|
+
*/
|
|
548
|
+
RequestId?: string;
|
|
549
|
+
}
|
|
541
550
|
/**
|
|
542
551
|
* DeleteCommand返回参数结构体
|
|
543
552
|
*/
|
|
@@ -1011,6 +1020,15 @@ export interface InvocationTask {
|
|
|
1011
1020
|
*/
|
|
1012
1021
|
InvocationSource: string;
|
|
1013
1022
|
}
|
|
1023
|
+
/**
|
|
1024
|
+
* ModifyInvoker返回参数结构体
|
|
1025
|
+
*/
|
|
1026
|
+
export interface ModifyInvokerResponse {
|
|
1027
|
+
/**
|
|
1028
|
+
* 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
|
|
1029
|
+
*/
|
|
1030
|
+
RequestId?: string;
|
|
1031
|
+
}
|
|
1014
1032
|
/**
|
|
1015
1033
|
* 执行器执行记录。
|
|
1016
1034
|
*/
|
|
@@ -1067,13 +1085,19 @@ export interface CreateInvokerResponse {
|
|
|
1067
1085
|
RequestId?: string;
|
|
1068
1086
|
}
|
|
1069
1087
|
/**
|
|
1070
|
-
*
|
|
1088
|
+
* CancelInvocation请求参数结构体
|
|
1071
1089
|
*/
|
|
1072
|
-
export interface
|
|
1090
|
+
export interface CancelInvocationRequest {
|
|
1073
1091
|
/**
|
|
1074
|
-
*
|
|
1092
|
+
* 执行活动ID
|
|
1075
1093
|
*/
|
|
1076
|
-
|
|
1094
|
+
InvocationId: string;
|
|
1095
|
+
/**
|
|
1096
|
+
* 实例ID列表,上限100。支持实例类型:
|
|
1097
|
+
<li> CVM
|
|
1098
|
+
<li> LIGHTHOUSE
|
|
1099
|
+
*/
|
|
1100
|
+
InstanceIds?: Array<string>;
|
|
1077
1101
|
}
|
|
1078
1102
|
/**
|
|
1079
1103
|
* DeleteCommand请求参数结构体
|
|
@@ -2772,6 +2772,10 @@ export interface ModifyRocketMQTopicRequest {
|
|
|
2772
2772
|
* 说明信息,最大128个字符
|
|
2773
2773
|
*/
|
|
2774
2774
|
Remark: string;
|
|
2775
|
+
/**
|
|
2776
|
+
* 分区数,全局类型无效,不可小于当前分区数
|
|
2777
|
+
*/
|
|
2778
|
+
PartitionNum?: number;
|
|
2775
2779
|
}
|
|
2776
2780
|
/**
|
|
2777
2781
|
* RocketMQ集群基本信息
|
|
@@ -4043,7 +4047,7 @@ export interface CreateRocketMQTopicRequest {
|
|
|
4043
4047
|
*/
|
|
4044
4048
|
Namespaces: Array<string>;
|
|
4045
4049
|
/**
|
|
4046
|
-
* 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder
|
|
4050
|
+
* 主题类型,可选值为Normal, GlobalOrder, PartitionedOrder
|
|
4047
4051
|
*/
|
|
4048
4052
|
Type: string;
|
|
4049
4053
|
/**
|
|
@@ -4054,6 +4058,10 @@ export interface CreateRocketMQTopicRequest {
|
|
|
4054
4058
|
* 主题说明,最大128个字符
|
|
4055
4059
|
*/
|
|
4056
4060
|
Remark?: string;
|
|
4061
|
+
/**
|
|
4062
|
+
* 分区数,全局顺序无效
|
|
4063
|
+
*/
|
|
4064
|
+
PartitionNum?: number;
|
|
4057
4065
|
}
|
|
4058
4066
|
/**
|
|
4059
4067
|
* CreateRole返回参数结构体
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AbstractClient } from "../../../common/abstract_client";
|
|
2
2
|
import { ClientConfig } from "../../../common/interface";
|
|
3
|
-
import { RestartApplicationPodResponse, CreateResourceRequest, ResumeDeployApplicationResponse, DescribeDeployApplicationDetailRequest, DescribeApplicationPodsResponse, DeleteIngressRequest, RestartApplicationPodRequest, DescribeRelatedIngressesRequest, ModifyEnvironmentResponse, GenerateApplicationPackageDownloadUrlRequest, DeployApplicationRequest, ModifyIngressResponse, DescribeEnvironmentsResponse, ModifyIngressRequest, DescribeApplicationPodsRequest, CreateApplicationRequest, DescribeRelatedIngressesResponse, DescribeIngressesRequest, DescribeIngressesResponse, DeleteIngressResponse, GenerateApplicationPackageDownloadUrlResponse, DescribeIngressResponse, CreateCosTokenResponse, DescribeDeployApplicationDetailResponse, CreateResourceResponse, ModifyApplicationInfoRequest, ModifyApplicationInfoResponse, RevertDeployApplicationRequest, CreateEnvironmentResponse, CreateApplicationResponse, ModifyEnvironmentRequest, RevertDeployApplicationResponse, DescribeIngressRequest, CreateCosTokenRequest, DescribeEnvironmentsRequest, ResumeDeployApplicationRequest, DeployApplicationResponse, CreateEnvironmentRequest } from "./tem_models";
|
|
3
|
+
import { RestartApplicationPodResponse, CreateResourceRequest, ResumeDeployApplicationResponse, DescribeDeployApplicationDetailRequest, DescribeApplicationPodsResponse, DeleteIngressRequest, RestartApplicationPodRequest, DescribeRelatedIngressesRequest, ModifyEnvironmentResponse, GenerateApplicationPackageDownloadUrlRequest, DeployApplicationRequest, ModifyIngressResponse, DescribeEnvironmentsResponse, ModifyIngressRequest, DescribeApplicationPodsRequest, CreateApplicationRequest, DescribeRelatedIngressesResponse, DescribeIngressesRequest, ModifyApplicationReplicasResponse, ModifyApplicationReplicasRequest, DescribeIngressesResponse, DeleteIngressResponse, GenerateApplicationPackageDownloadUrlResponse, DescribeIngressResponse, CreateCosTokenResponse, DescribeDeployApplicationDetailResponse, CreateResourceResponse, ModifyApplicationInfoRequest, ModifyApplicationInfoResponse, RevertDeployApplicationRequest, CreateEnvironmentResponse, CreateApplicationResponse, ModifyEnvironmentRequest, RevertDeployApplicationResponse, DescribeIngressRequest, CreateCosTokenRequest, DescribeEnvironmentsRequest, ResumeDeployApplicationRequest, DeployApplicationResponse, CreateEnvironmentRequest } from "./tem_models";
|
|
4
4
|
/**
|
|
5
5
|
* tem client
|
|
6
6
|
* @class
|
|
@@ -11,6 +11,10 @@ export declare class Client extends AbstractClient {
|
|
|
11
11
|
* 应用部署
|
|
12
12
|
*/
|
|
13
13
|
DeployApplication(req: DeployApplicationRequest, cb?: (error: string, rep: DeployApplicationResponse) => void): Promise<DeployApplicationResponse>;
|
|
14
|
+
/**
|
|
15
|
+
* 修改应用实例数量
|
|
16
|
+
*/
|
|
17
|
+
ModifyApplicationReplicas(req: ModifyApplicationReplicasRequest, cb?: (error: string, rep: ModifyApplicationReplicasResponse) => void): Promise<ModifyApplicationReplicasResponse>;
|
|
14
18
|
/**
|
|
15
19
|
* 重启应用实例
|
|
16
20
|
*/
|