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.
Files changed (122) hide show
  1. package/CHANGELOG.md +753 -51
  2. package/package.json +1 -1
  3. package/products.md +36 -36
  4. package/src/common/sdk_version.ts +1 -1
  5. package/src/services/as/v20180419/as_client.ts +15 -1
  6. package/src/services/as/v20180419/as_models.ts +65 -5
  7. package/src/services/asr/v20190614/asr_client.ts +1 -1
  8. package/src/services/asr/v20190614/asr_models.ts +6 -0
  9. package/src/services/billing/v20180709/billing_models.ts +51 -20
  10. package/src/services/ccc/v20200210/ccc_models.ts +6 -0
  11. package/src/services/cdn/v20180606/cdn_client.ts +5 -4
  12. package/src/services/cdn/v20180606/cdn_models.ts +91 -35
  13. package/src/services/cii/v20210408/cii_client.ts +13 -0
  14. package/src/services/cii/v20210408/cii_models.ts +82 -0
  15. package/src/services/ckafka/v20190819/ckafka_client.ts +17 -5
  16. package/src/services/ckafka/v20190819/ckafka_models.ts +177 -140
  17. package/src/services/clb/v20180317/clb_client.ts +44 -18
  18. package/src/services/clb/v20180317/clb_models.ts +180 -64
  19. package/src/services/cme/v20191029/cme_models.ts +10 -10
  20. package/src/services/cpdp/v20190820/cpdp_models.ts +53 -0
  21. package/src/services/cvm/v20170312/cvm_client.ts +17 -0
  22. package/src/services/cvm/v20170312/cvm_models.ts +30 -0
  23. package/src/services/cwp/v20180228/cwp_models.ts +27 -1
  24. package/src/services/dnspod/v20210323/dnspod_client.ts +82 -69
  25. package/src/services/dnspod/v20210323/dnspod_models.ts +1178 -1133
  26. package/src/services/eiam/v20210420/eiam_models.ts +30 -0
  27. package/src/services/emr/v20190103/emr_models.ts +22 -4
  28. package/src/services/faceid/v20180301/faceid_client.ts +1 -0
  29. package/src/services/faceid/v20180301/faceid_models.ts +46 -0
  30. package/src/services/iotexplorer/v20190423/iotexplorer_client.ts +26 -1
  31. package/src/services/iotexplorer/v20190423/iotexplorer_models.ts +172 -84
  32. package/src/services/lighthouse/v20200324/lighthouse_models.ts +2 -2
  33. package/src/services/mongodb/v20190725/mongodb_client.ts +19 -3
  34. package/src/services/mongodb/v20190725/mongodb_models.ts +302 -62
  35. package/src/services/mrs/v20200910/mrs_models.ts +12 -0
  36. package/src/services/rum/v20210622/rum_client.ts +27 -3
  37. package/src/services/rum/v20210622/rum_models.ts +290 -25
  38. package/src/services/scf/v20180416/scf_models.ts +32 -26
  39. package/src/services/tat/v20201028/tat_client.ts +16 -1
  40. package/src/services/tat/v20201028/tat_models.ts +31 -4
  41. package/src/services/tcb/v20180608/tcb_models.ts +1 -1
  42. package/src/services/tcss/v20201101/tcss_models.ts +1 -1
  43. package/src/services/tdmq/v20200217/tdmq_models.ts +11 -1
  44. package/src/services/tem/v20210701/tem_client.ts +12 -0
  45. package/src/services/tem/v20210701/tem_models.ts +35 -0
  46. package/src/services/thpc/v20211109/thpc_client.ts +2 -0
  47. package/src/services/thpc/v20211109/thpc_models.ts +40 -0
  48. package/src/services/tke/v20180525/tke_models.ts +6 -0
  49. package/src/services/tse/v20201207/tse_models.ts +5 -0
  50. package/src/services/vod/v20180717/vod_client.ts +5 -3
  51. package/src/services/vod/v20180717/vod_models.ts +244 -30
  52. package/tencentcloud/common/sdk_version.d.ts +1 -1
  53. package/tencentcloud/common/sdk_version.js +1 -1
  54. package/tencentcloud/services/as/v20180419/as_client.d.ts +5 -1
  55. package/tencentcloud/services/as/v20180419/as_client.js +6 -0
  56. package/tencentcloud/services/as/v20180419/as_models.d.ts +57 -5
  57. package/tencentcloud/services/asr/v20190614/asr_client.d.ts +1 -1
  58. package/tencentcloud/services/asr/v20190614/asr_client.js +1 -1
  59. package/tencentcloud/services/asr/v20190614/asr_models.d.ts +5 -0
  60. package/tencentcloud/services/billing/v20180709/billing_models.d.ts +50 -19
  61. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +5 -0
  62. package/tencentcloud/services/cdn/v20180606/cdn_client.d.ts +1 -1
  63. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +79 -31
  64. package/tencentcloud/services/cii/v20210408/cii_client.d.ts +5 -1
  65. package/tencentcloud/services/cii/v20210408/cii_client.js +6 -0
  66. package/tencentcloud/services/cii/v20210408/cii_models.d.ts +70 -0
  67. package/tencentcloud/services/ckafka/v20190819/ckafka_client.d.ts +5 -1
  68. package/tencentcloud/services/ckafka/v20190819/ckafka_client.js +6 -0
  69. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +152 -120
  70. package/tencentcloud/services/clb/v20180317/clb_client.d.ts +16 -7
  71. package/tencentcloud/services/clb/v20180317/clb_client.js +21 -8
  72. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +155 -56
  73. package/tencentcloud/services/cme/v20191029/cme_models.d.ts +8 -9
  74. package/tencentcloud/services/cpdp/v20190820/cpdp_models.d.ts +44 -0
  75. package/tencentcloud/services/cvm/v20170312/cvm_client.d.ts +10 -1
  76. package/tencentcloud/services/cvm/v20170312/cvm_client.js +11 -0
  77. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +26 -0
  78. package/tencentcloud/services/cwp/v20180228/cwp_models.d.ts +22 -1
  79. package/tencentcloud/services/dnspod/v20210323/dnspod_client.d.ts +9 -5
  80. package/tencentcloud/services/dnspod/v20210323/dnspod_client.js +12 -6
  81. package/tencentcloud/services/dnspod/v20210323/dnspod_models.d.ts +1048 -1009
  82. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +25 -0
  83. package/tencentcloud/services/emr/v20190103/emr_models.d.ts +20 -4
  84. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +39 -0
  85. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.d.ts +9 -1
  86. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_client.js +12 -0
  87. package/tencentcloud/services/iotexplorer/v20190423/iotexplorer_models.d.ts +144 -68
  88. package/tencentcloud/services/lighthouse/v20200324/lighthouse_models.d.ts +2 -2
  89. package/tencentcloud/services/mongodb/v20190725/mongodb_client.d.ts +5 -1
  90. package/tencentcloud/services/mongodb/v20190725/mongodb_client.js +6 -0
  91. package/tencentcloud/services/mongodb/v20190725/mongodb_models.d.ts +253 -55
  92. package/tencentcloud/services/mrs/v20200910/mrs_models.d.ts +10 -0
  93. package/tencentcloud/services/rum/v20210622/rum_client.d.ts +9 -1
  94. package/tencentcloud/services/rum/v20210622/rum_client.js +12 -0
  95. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +241 -25
  96. package/tencentcloud/services/scf/v20180416/scf_models.d.ts +31 -26
  97. package/tencentcloud/services/tat/v20201028/tat_client.d.ts +8 -1
  98. package/tencentcloud/services/tat/v20201028/tat_client.js +9 -0
  99. package/tencentcloud/services/tat/v20201028/tat_models.d.ts +28 -4
  100. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +1 -1
  101. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +1 -1
  102. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +9 -1
  103. package/tencentcloud/services/tem/v20210701/tem_client.d.ts +5 -1
  104. package/tencentcloud/services/tem/v20210701/tem_client.js +6 -0
  105. package/tencentcloud/services/tem/v20210701/tem_models.d.ts +30 -0
  106. package/tencentcloud/services/thpc/v20211109/thpc_models.d.ts +34 -0
  107. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +5 -0
  108. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +4 -0
  109. package/tencentcloud/services/vod/v20180717/vod_client.d.ts +4 -3
  110. package/tencentcloud/services/vod/v20180717/vod_client.js +4 -3
  111. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +176 -0
  112. package/test/as.v20180419.test.js +10 -0
  113. package/test/cii.v20210408.test.js +10 -0
  114. package/test/ckafka.v20190819.test.js +10 -0
  115. package/test/clb.v20180317.test.js +24 -4
  116. package/test/cvm.v20170312.test.js +10 -0
  117. package/test/dnspod.v20210323.test.js +14 -4
  118. package/test/iotexplorer.v20190423.test.js +20 -0
  119. package/test/mongodb.v20190725.test.js +10 -0
  120. package/test/rum.v20210622.test.js +20 -0
  121. package/test/tat.v20201028.test.js +10 -0
  122. package/test/tem.v20210701.test.js +10 -0
@@ -114,6 +114,21 @@ export interface DescribeDataPerformancePageResponse {
114
114
  RequestId?: string
115
115
  }
116
116
 
117
+ /**
118
+ * DescribeLogList返回参数结构体
119
+ */
120
+ export interface DescribeLogListResponse {
121
+ /**
122
+ * 返回字符串
123
+ */
124
+ Result: string
125
+
126
+ /**
127
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
128
+ */
129
+ RequestId?: string
130
+ }
131
+
117
132
  /**
118
133
  * DescribeDataPerformancePage请求参数结构体
119
134
  */
@@ -222,6 +237,11 @@ export interface DescribeDataPerformancePageRequest {
222
237
  * 耗时计算方式
223
238
  */
224
239
  CostType?: string
240
+
241
+ /**
242
+ * 环境变量
243
+ */
244
+ Env?: string
225
245
  }
226
246
 
227
247
  /**
@@ -370,11 +390,11 @@ export interface DescribeProjectsRequest {
370
390
  }
371
391
 
372
392
  /**
373
- * DescribeLogList返回参数结构体
393
+ * DescribeDataEventUrl返回参数结构体
374
394
  */
375
- export interface DescribeLogListResponse {
395
+ export interface DescribeDataEventUrlResponse {
376
396
  /**
377
- * 返回字符串
397
+ * 返回值
378
398
  */
379
399
  Result: string
380
400
 
@@ -384,6 +404,51 @@ export interface DescribeLogListResponse {
384
404
  RequestId?: string
385
405
  }
386
406
 
407
+ /**
408
+ * DescribeLogList请求参数结构体
409
+ */
410
+ export interface DescribeLogListRequest {
411
+ /**
412
+ * 排序方式 desc asc
413
+ */
414
+ Sort: string
415
+
416
+ /**
417
+ * searchlog histogram
418
+ */
419
+ ActionType: string
420
+
421
+ /**
422
+ * 项目ID
423
+ */
424
+ ID: number
425
+
426
+ /**
427
+ * 开始时间
428
+ */
429
+ StartTime?: string
430
+
431
+ /**
432
+ * 限制
433
+ */
434
+ Limit?: number
435
+
436
+ /**
437
+ * 上下文
438
+ */
439
+ Context?: string
440
+
441
+ /**
442
+ * 查询语句
443
+ */
444
+ Query?: string
445
+
446
+ /**
447
+ * 结束时间
448
+ */
449
+ EndTime?: string
450
+ }
451
+
387
452
  /**
388
453
  * 描述键值对过滤器,用于条件过滤查询。例如过滤ID、名称、状态等
389
454
 
@@ -438,18 +503,23 @@ export interface CreateProjectResponse {
438
503
  }
439
504
 
440
505
  /**
441
- * DescribeLogList请求参数结构体
506
+ * DescribeDataEventUrl请求参数结构体
442
507
  */
443
- export interface DescribeLogListRequest {
508
+ export interface DescribeDataEventUrlRequest {
444
509
  /**
445
- * 排序方式 desc asc
510
+ * 开始时间
446
511
  */
447
- Sort: string
512
+ StartTime: number
448
513
 
449
514
  /**
450
- * searchlog histogram
515
+ * 类型
451
516
  */
452
- ActionType: string
517
+ Type: string
518
+
519
+ /**
520
+ * 结束时间
521
+ */
522
+ EndTime: number
453
523
 
454
524
  /**
455
525
  * 项目ID
@@ -457,44 +527,204 @@ export interface DescribeLogListRequest {
457
527
  ID: number
458
528
 
459
529
  /**
460
- * 开始时间
530
+ * 自定义2
461
531
  */
462
- StartTime?: string
532
+ ExtSecond?: string
463
533
 
464
534
  /**
465
- * 限制
535
+ * 浏览器引擎
466
536
  */
467
- Limit?: number
537
+ Engine?: string
468
538
 
469
539
  /**
470
- * 上下文
540
+ * 运营商
471
541
  */
472
- Context?: string
542
+ Isp?: string
473
543
 
474
544
  /**
475
- * 查询语句
545
+ * 来源页面
476
546
  */
477
- Query?: string
547
+ From?: string
478
548
 
479
549
  /**
480
- * 结束时间
550
+ * 日志等级
481
551
  */
482
- EndTime?: string
552
+ Level?: string
553
+
554
+ /**
555
+ * 品牌
556
+ */
557
+ Brand?: string
558
+
559
+ /**
560
+ * 地区
561
+ */
562
+ Area?: string
563
+
564
+ /**
565
+ * 版本
566
+ */
567
+ VersionNum?: string
568
+
569
+ /**
570
+ * 平台
571
+ */
572
+ Platform?: string
573
+
574
+ /**
575
+ * 自定义3
576
+ */
577
+ ExtThird?: string
578
+
579
+ /**
580
+ * 自定义1
581
+ */
582
+ ExtFirst?: string
583
+
584
+ /**
585
+ * 网络类型
586
+ */
587
+ NetType?: string
588
+
589
+ /**
590
+ * 机型
591
+ */
592
+ Device?: string
593
+
594
+ /**
595
+ * 是否海外
596
+ */
597
+ IsAbroad?: string
598
+
599
+ /**
600
+ * 操作系统
601
+ */
602
+ Os?: string
603
+
604
+ /**
605
+ * 浏览器
606
+ */
607
+ Browser?: string
608
+
609
+ /**
610
+ * 筛选条件
611
+ */
612
+ Name?: string
613
+
614
+ /**
615
+ * 环境
616
+ */
617
+ Env?: string
483
618
  }
484
619
 
485
620
  /**
486
- * DescribeScores返回参数结构体
621
+ * DescribeDataPvUrlStatistics请求参数结构体
487
622
  */
488
- export interface DescribeScoresResponse {
623
+ export interface DescribeDataPvUrlStatisticsRequest {
489
624
  /**
490
- * 数组
625
+ * 开始时间
491
626
  */
492
- ScoreSet: Array<ScoreInfo>
627
+ StartTime: number
493
628
 
494
629
  /**
495
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
630
+ * 类型:"allcount", "falls", "samp", "version", "ext3","nettype", "platform","isp","region","device","browser","ext1","ext2"
496
631
  */
497
- RequestId?: string
632
+ Type: string
633
+
634
+ /**
635
+ * 结束时间
636
+ */
637
+ EndTime: number
638
+
639
+ /**
640
+ * 项目ID
641
+ */
642
+ ID: number
643
+
644
+ /**
645
+ * 自定义2
646
+ */
647
+ ExtSecond?: string
648
+
649
+ /**
650
+ * 浏览器引擎
651
+ */
652
+ Engine?: string
653
+
654
+ /**
655
+ * 运营商
656
+ */
657
+ Isp?: string
658
+
659
+ /**
660
+ * 来源页面
661
+ */
662
+ From?: string
663
+
664
+ /**
665
+ * 日志等级
666
+ */
667
+ Level?: string
668
+
669
+ /**
670
+ * 品牌
671
+ */
672
+ Brand?: string
673
+
674
+ /**
675
+ * 地区
676
+ */
677
+ Area?: string
678
+
679
+ /**
680
+ * 版本
681
+ */
682
+ VersionNum?: string
683
+
684
+ /**
685
+ * 平台
686
+ */
687
+ Platform?: string
688
+
689
+ /**
690
+ * 自定义3
691
+ */
692
+ ExtThird?: string
693
+
694
+ /**
695
+ * 自定义1
696
+ */
697
+ ExtFirst?: string
698
+
699
+ /**
700
+ * 网络类型
701
+ */
702
+ NetType?: string
703
+
704
+ /**
705
+ * 机型
706
+ */
707
+ Device?: string
708
+
709
+ /**
710
+ * 是否海外
711
+ */
712
+ IsAbroad?: string
713
+
714
+ /**
715
+ * 操作系统
716
+ */
717
+ Os?: string
718
+
719
+ /**
720
+ * 浏览器
721
+ */
722
+ Browser?: string
723
+
724
+ /**
725
+ * 环境
726
+ */
727
+ Env?: string
498
728
  }
499
729
 
500
730
  /**
@@ -625,6 +855,26 @@ export interface DescribeDataLogUrlStatisticsRequest {
625
855
  * 浏览器
626
856
  */
627
857
  Browser?: string
858
+
859
+ /**
860
+ * 环境区分
861
+ */
862
+ Env?: string
863
+ }
864
+
865
+ /**
866
+ * DescribeDataPvUrlStatistics返回参数结构体
867
+ */
868
+ export interface DescribeDataPvUrlStatisticsResponse {
869
+ /**
870
+ * 返回值
871
+ */
872
+ Result: string
873
+
874
+ /**
875
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
876
+ */
877
+ RequestId?: string
628
878
  }
629
879
 
630
880
  /**
@@ -671,3 +921,18 @@ export interface CreateProjectRequest {
671
921
  */
672
922
  Desc?: string
673
923
  }
924
+
925
+ /**
926
+ * DescribeScores返回参数结构体
927
+ */
928
+ export interface DescribeScoresResponse {
929
+ /**
930
+ * 数组
931
+ */
932
+ ScoreSet: Array<ScoreInfo>
933
+
934
+ /**
935
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
936
+ */
937
+ RequestId?: string
938
+ }
@@ -157,13 +157,13 @@ export interface ListAliasesResponse {
157
157
  /**
158
158
  * 别名列表
159
159
  */
160
- Aliases?: Array<Alias>
160
+ Aliases: Array<Alias>
161
161
 
162
162
  /**
163
163
  * 别名总数
164
164
  注意:此字段可能返回 null,表示取不到有效值。
165
165
  */
166
- TotalCount?: number
166
+ TotalCount: number
167
167
 
168
168
  /**
169
169
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -423,35 +423,35 @@ export interface GetAliasResponse {
423
423
  /**
424
424
  * 别名指向的主版本
425
425
  */
426
- FunctionVersion?: string
426
+ FunctionVersion: string
427
427
 
428
428
  /**
429
429
  * 别名的名称
430
430
  */
431
- Name?: string
431
+ Name: string
432
432
 
433
433
  /**
434
434
  * 别名的路由信息
435
435
  */
436
- RoutingConfig?: RoutingConfig
436
+ RoutingConfig: RoutingConfig
437
437
 
438
438
  /**
439
439
  * 别名的描述
440
440
  注意:此字段可能返回 null,表示取不到有效值。
441
441
  */
442
- Description?: string
442
+ Description: string
443
443
 
444
444
  /**
445
445
  * 创建时间
446
446
  注意:此字段可能返回 null,表示取不到有效值。
447
447
  */
448
- AddTime?: string
448
+ AddTime: string
449
449
 
450
450
  /**
451
451
  * 更新时间
452
452
  注意:此字段可能返回 null,表示取不到有效值。
453
453
  */
454
- ModTime?: string
454
+ ModTime: string
455
455
 
456
456
  /**
457
457
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -688,7 +688,7 @@ export interface DeleteFunctionRequest {
688
688
  Namespace?: string
689
689
 
690
690
  /**
691
- * 函数版本
691
+ * 函数版本,如果删除版本的话传入版本号,不传入改字段删除函数下的所有版本
692
692
  */
693
693
  Qualifier?: string
694
694
  }
@@ -850,19 +850,19 @@ export interface ListVersionByFunctionResponse {
850
850
  /**
851
851
  * 函数版本。
852
852
  */
853
- FunctionVersion?: Array<string>
853
+ FunctionVersion: Array<string>
854
854
 
855
855
  /**
856
856
  * 函数版本列表。
857
857
  注意:此字段可能返回 null,表示取不到有效值。
858
858
  */
859
- Versions?: Array<FunctionVersion>
859
+ Versions: Array<FunctionVersion>
860
860
 
861
861
  /**
862
862
  * 函数版本总数。
863
863
  注意:此字段可能返回 null,表示取不到有效值。
864
864
  */
865
- TotalCount?: number
865
+ TotalCount: number
866
866
 
867
867
  /**
868
868
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -1166,7 +1166,7 @@ export interface TerminateAsyncEventRequest {
1166
1166
  Namespace?: string
1167
1167
 
1168
1168
  /**
1169
- * 优雅关停
1169
+ * 该参数已下线
1170
1170
  */
1171
1171
  GraceShutdown?: boolean
1172
1172
  }
@@ -1973,42 +1973,42 @@ export interface PublishVersionResponse {
1973
1973
  /**
1974
1974
  * 函数的版本
1975
1975
  */
1976
- FunctionVersion?: string
1976
+ FunctionVersion: string
1977
1977
 
1978
1978
  /**
1979
1979
  * 代码大小
1980
1980
  */
1981
- CodeSize?: number
1981
+ CodeSize: number
1982
1982
 
1983
1983
  /**
1984
1984
  * 最大可用内存
1985
1985
  */
1986
- MemorySize?: number
1986
+ MemorySize: number
1987
1987
 
1988
1988
  /**
1989
1989
  * 函数的描述
1990
1990
  */
1991
- Description?: string
1991
+ Description: string
1992
1992
 
1993
1993
  /**
1994
1994
  * 函数的入口
1995
1995
  */
1996
- Handler?: string
1996
+ Handler: string
1997
1997
 
1998
1998
  /**
1999
1999
  * 函数的超时时间
2000
2000
  */
2001
- Timeout?: number
2001
+ Timeout: number
2002
2002
 
2003
2003
  /**
2004
2004
  * 函数的运行环境
2005
2005
  */
2006
- Runtime?: string
2006
+ Runtime: string
2007
2007
 
2008
2008
  /**
2009
2009
  * 函数的命名空间
2010
2010
  */
2011
- Namespace?: string
2011
+ Namespace: string
2012
2012
 
2013
2013
  /**
2014
2014
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -2991,12 +2991,12 @@ export interface GetFunctionAddressResponse {
2991
2991
  /**
2992
2992
  * 函数的Cos地址
2993
2993
  */
2994
- Url?: string
2994
+ Url: string
2995
2995
 
2996
2996
  /**
2997
2997
  * 函数的SHA256编码
2998
2998
  */
2999
- CodeSha256?: string
2999
+ CodeSha256: string
3000
3000
 
3001
3001
  /**
3002
3002
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -3144,6 +3144,12 @@ export interface FunctionVersion {
3144
3144
  注意:此字段可能返回 null,表示取不到有效值。
3145
3145
  */
3146
3146
  ModTime?: string
3147
+
3148
+ /**
3149
+ * 版本状态
3150
+ 注意:此字段可能返回 null,表示取不到有效值。
3151
+ */
3152
+ Status?: string
3147
3153
  }
3148
3154
 
3149
3155
  /**
@@ -3599,7 +3605,7 @@ export interface ImageConfig {
3599
3605
  RegistryId?: string
3600
3606
 
3601
3607
  /**
3602
- * 应用的ENTRYPOINT
3608
+ * 参数已废弃
3603
3609
  注意:此字段可能返回 null,表示取不到有效值。
3604
3610
  */
3605
3611
  EntryPoint?: string
@@ -3699,12 +3705,12 @@ export interface GetProvisionedConcurrencyConfigResponse {
3699
3705
  /**
3700
3706
  * 该函数剩余可配置的预置并发数。
3701
3707
  */
3702
- UnallocatedConcurrencyNum?: number
3708
+ UnallocatedConcurrencyNum: number
3703
3709
 
3704
3710
  /**
3705
3711
  * 函数已预置的并发配置详情。
3706
3712
  */
3707
- Allocated?: Array<VersionProvisionedConcurrencyInfo>
3713
+ Allocated: Array<VersionProvisionedConcurrencyInfo>
3708
3714
 
3709
3715
  /**
3710
3716
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -38,6 +38,7 @@ import {
38
38
  ModifyCommandResponse,
39
39
  RegionInfo,
40
40
  DescribeInvokersResponse,
41
+ CancelInvocationResponse,
41
42
  DeleteCommandResponse,
42
43
  DisableInvokerResponse,
43
44
  DescribeCommandsResponse,
@@ -55,10 +56,11 @@ import {
55
56
  Command,
56
57
  PreviewReplacedCommandContentRequest,
57
58
  InvocationTask,
59
+ ModifyInvokerResponse,
58
60
  InvokerRecord,
59
61
  DescribeAutomationAgentStatusResponse,
60
62
  CreateInvokerResponse,
61
- ModifyInvokerResponse,
63
+ CancelInvocationRequest,
62
64
  DeleteCommandRequest,
63
65
  DeleteInvokerRequest,
64
66
  InvokeCommandRequest,
@@ -118,6 +120,19 @@ export class Client extends AbstractClient {
118
120
  return this.request("DescribeInvocations", req, cb)
119
121
  }
120
122
 
123
+ /**
124
+ * 取消一台或多台CVM实例执行的命令
125
+
126
+ * 如果命令还未下发到agent,任务状态处于处于PENDING、DELIVERING、DELIVER_DELAYED,取消后任务状态是CANCELLED
127
+ * 如果命令已下发到agent,任务状态处于RUNNING, 取消后任务状态是TERMINATED
128
+ */
129
+ async CancelInvocation(
130
+ req: CancelInvocationRequest,
131
+ cb?: (error: string, rep: CancelInvocationResponse) => void
132
+ ): Promise<CancelInvocationResponse> {
133
+ return this.request("CancelInvocation", req, cb)
134
+ }
135
+
121
136
  /**
122
137
  * 此接口用于查询执行任务详情。
123
138
  */
@@ -655,6 +655,16 @@ export interface DescribeInvokersResponse {
655
655
  RequestId?: string
656
656
  }
657
657
 
658
+ /**
659
+ * CancelInvocation返回参数结构体
660
+ */
661
+ export interface CancelInvocationResponse {
662
+ /**
663
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
664
+ */
665
+ RequestId?: string
666
+ }
667
+
658
668
  /**
659
669
  * DeleteCommand返回参数结构体
660
670
  */
@@ -1211,6 +1221,16 @@ export interface InvocationTask {
1211
1221
  InvocationSource: string
1212
1222
  }
1213
1223
 
1224
+ /**
1225
+ * ModifyInvoker返回参数结构体
1226
+ */
1227
+ export interface ModifyInvokerResponse {
1228
+ /**
1229
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1230
+ */
1231
+ RequestId?: string
1232
+ }
1233
+
1214
1234
  /**
1215
1235
  * 执行器执行记录。
1216
1236
  */
@@ -1277,13 +1297,20 @@ export interface CreateInvokerResponse {
1277
1297
  }
1278
1298
 
1279
1299
  /**
1280
- * ModifyInvoker返回参数结构体
1300
+ * CancelInvocation请求参数结构体
1281
1301
  */
1282
- export interface ModifyInvokerResponse {
1302
+ export interface CancelInvocationRequest {
1283
1303
  /**
1284
- * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1304
+ * 执行活动ID
1285
1305
  */
1286
- RequestId?: string
1306
+ InvocationId: string
1307
+
1308
+ /**
1309
+ * 实例ID列表,上限100。支持实例类型:
1310
+ <li> CVM
1311
+ <li> LIGHTHOUSE
1312
+ */
1313
+ InstanceIds?: Array<string>
1287
1314
  }
1288
1315
 
1289
1316
  /**
@@ -5742,7 +5742,7 @@ export interface ModifyCloudBaseRunServerVersionResponse {
5742
5742
  * 返回结果(succ为成功)
5743
5743
  注意:此字段可能返回 null,表示取不到有效值。
5744
5744
  */
5745
- Result?: string
5745
+ Result: string
5746
5746
 
5747
5747
  /**
5748
5748
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
@@ -8969,7 +8969,7 @@ export interface ContainerInfo {
8969
8969
  Cmd: string
8970
8970
 
8971
8971
  /**
8972
- * cpu 使用率 *1000
8972
+ * CPU使用率 *1000
8973
8973
  */
8974
8974
  CPUUsage: number
8975
8975