tencentcloud-sdk-nodejs 4.0.842 → 4.0.844

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 (109) hide show
  1. package/CHANGELOG.md +399 -0
  2. package/SERVICE_CHANGELOG.md +460 -80
  3. package/package.json +1 -6
  4. package/products.md +34 -34
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/aiart/v20221229/aiart_models.ts +41 -36
  7. package/src/services/ccc/v20200210/ccc_models.ts +1 -1
  8. package/src/services/cfs/v20190719/cfs_models.ts +36 -22
  9. package/src/services/cfw/v20190904/cfw_client.ts +1 -1
  10. package/src/services/cfw/v20190904/cfw_models.ts +3 -3
  11. package/src/services/cloudstudio/v20230508/cloudstudio_models.ts +8 -4
  12. package/src/services/cls/v20201016/cls_models.ts +115 -39
  13. package/src/services/cynosdb/v20190107/cynosdb_client.ts +16 -3
  14. package/src/services/cynosdb/v20190107/cynosdb_models.ts +109 -43
  15. package/src/services/dcdb/v20180411/dcdb_client.ts +1 -1
  16. package/src/services/dcdb/v20180411/dcdb_models.ts +1 -1
  17. package/src/services/dlc/v20210125/dlc_models.ts +8 -3
  18. package/src/services/domain/v20180808/domain_client.ts +13 -1
  19. package/src/services/domain/v20180808/domain_models.ts +36 -4
  20. package/src/services/dts/v20211206/dts_models.ts +1 -1
  21. package/src/services/ess/v20201111/ess_client.ts +25 -8
  22. package/src/services/ess/v20201111/ess_models.ts +60 -5
  23. package/src/services/essbasic/v20210526/essbasic_models.ts +1 -1
  24. package/src/services/faceid/v20180301/faceid_models.ts +40 -7
  25. package/src/services/hunyuan/v20230901/hunyuan_client.ts +25 -5
  26. package/src/services/hunyuan/v20230901/hunyuan_models.ts +131 -23
  27. package/src/services/iotvideo/v20211125/iotvideo_models.ts +5 -0
  28. package/src/services/lcic/v20220817/lcic_models.ts +1 -1
  29. package/src/services/lke/v20231130/lke_client.ts +27 -1
  30. package/src/services/lke/v20231130/lke_models.ts +238 -3
  31. package/src/services/mariadb/v20170312/mariadb_client.ts +1 -1
  32. package/src/services/mariadb/v20170312/mariadb_models.ts +1 -1
  33. package/src/services/monitor/v20180724/monitor_client.ts +1 -1
  34. package/src/services/mps/v20190612/mps_client.ts +2 -1
  35. package/src/services/mps/v20190612/mps_models.ts +66 -42
  36. package/src/services/ocr/v20181119/ocr_client.ts +22 -7
  37. package/src/services/ocr/v20181119/ocr_models.ts +346 -259
  38. package/src/services/rce/v20201103/rce_models.ts +10 -5
  39. package/src/services/rum/v20210622/rum_models.ts +34 -34
  40. package/src/services/tdmq/v20200217/tdmq_models.ts +6 -6
  41. package/src/services/teo/v20220901/teo_client.ts +1 -0
  42. package/src/services/teo/v20220901/teo_models.ts +75 -12
  43. package/src/services/tms/v20201229/tms_client.ts +13 -1
  44. package/src/services/tms/v20201229/tms_models.ts +40 -16
  45. package/src/services/tmt/v20180321/tmt_models.ts +1 -1
  46. package/src/services/tse/v20201207/tse_client.ts +3 -2
  47. package/src/services/tse/v20201207/tse_models.ts +37 -13
  48. package/src/services/waf/v20180125/waf_models.ts +1 -1
  49. package/tencentcloud/common/sdk_version.d.ts +1 -1
  50. package/tencentcloud/common/sdk_version.js +1 -1
  51. package/tencentcloud/services/aiart/v20221229/aiart_models.d.ts +41 -36
  52. package/tencentcloud/services/ccc/v20200210/ccc_models.d.ts +1 -1
  53. package/tencentcloud/services/cfs/v20190719/cfs_models.d.ts +36 -22
  54. package/tencentcloud/services/cfw/v20190904/cfw_client.d.ts +1 -1
  55. package/tencentcloud/services/cfw/v20190904/cfw_client.js +1 -1
  56. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +3 -3
  57. package/tencentcloud/services/cloudstudio/v20230508/cloudstudio_models.d.ts +8 -4
  58. package/tencentcloud/services/cls/v20201016/cls_models.d.ts +115 -39
  59. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +5 -1
  60. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  61. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +105 -42
  62. package/tencentcloud/services/dcdb/v20180411/dcdb_client.d.ts +1 -1
  63. package/tencentcloud/services/dcdb/v20180411/dcdb_client.js +1 -1
  64. package/tencentcloud/services/dcdb/v20180411/dcdb_models.d.ts +1 -1
  65. package/tencentcloud/services/dlc/v20210125/dlc_models.d.ts +8 -3
  66. package/tencentcloud/services/domain/v20180808/domain_client.d.ts +5 -1
  67. package/tencentcloud/services/domain/v20180808/domain_client.js +6 -0
  68. package/tencentcloud/services/domain/v20180808/domain_models.d.ts +34 -4
  69. package/tencentcloud/services/dts/v20211206/dts_models.d.ts +1 -1
  70. package/tencentcloud/services/ess/v20201111/ess_client.d.ts +12 -4
  71. package/tencentcloud/services/ess/v20201111/ess_client.js +14 -4
  72. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +57 -5
  73. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +1 -1
  74. package/tencentcloud/services/faceid/v20180301/faceid_models.d.ts +40 -7
  75. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.d.ts +18 -6
  76. package/tencentcloud/services/hunyuan/v20230901/hunyuan_client.js +19 -5
  77. package/tencentcloud/services/hunyuan/v20230901/hunyuan_models.d.ts +129 -23
  78. package/tencentcloud/services/iotvideo/v20211125/iotvideo_models.d.ts +5 -0
  79. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +1 -1
  80. package/tencentcloud/services/lke/v20231130/lke_client.d.ts +9 -1
  81. package/tencentcloud/services/lke/v20231130/lke_client.js +12 -0
  82. package/tencentcloud/services/lke/v20231130/lke_models.d.ts +232 -3
  83. package/tencentcloud/services/mariadb/v20170312/mariadb_client.d.ts +1 -1
  84. package/tencentcloud/services/mariadb/v20170312/mariadb_client.js +1 -1
  85. package/tencentcloud/services/mariadb/v20170312/mariadb_models.d.ts +1 -1
  86. package/tencentcloud/services/monitor/v20180724/monitor_client.d.ts +1 -1
  87. package/tencentcloud/services/monitor/v20180724/monitor_client.js +1 -1
  88. package/tencentcloud/services/mps/v20190612/mps_models.d.ts +65 -42
  89. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +7 -1
  90. package/tencentcloud/services/ocr/v20181119/ocr_client.js +8 -0
  91. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +341 -257
  92. package/tencentcloud/services/rce/v20201103/rce_models.d.ts +10 -5
  93. package/tencentcloud/services/rum/v20210622/rum_models.d.ts +34 -34
  94. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +6 -6
  95. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +74 -12
  96. package/tencentcloud/services/tms/v20201229/tms_client.d.ts +5 -1
  97. package/tencentcloud/services/tms/v20201229/tms_client.js +6 -0
  98. package/tencentcloud/services/tms/v20201229/tms_models.d.ts +38 -16
  99. package/tencentcloud/services/tmt/v20180321/tmt_models.d.ts +1 -1
  100. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +1 -1
  101. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +36 -13
  102. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +1 -1
  103. package/test/cynosdb.v20190107.test.js +10 -0
  104. package/test/domain.v20180808.test.js +10 -0
  105. package/test/ess.v20201111.test.js +12 -2
  106. package/test/hunyuan.v20230901.test.js +10 -0
  107. package/test/lke.v20231130.test.js +20 -0
  108. package/test/ocr.v20181119.test.js +10 -0
  109. package/test/tms.v20201229.test.js +10 -0
@@ -20,25 +20,30 @@
20
20
  */
21
21
  export interface OutputManageMarketingRisk {
22
22
  /**
23
- * 返回码。0表示成功,非0标识失败错误码。
23
+ * 错误码,0 表示成功,非0表示失败错误码。
24
+ 0:成功
25
+ 1:错误
26
+ 1002:参数错误
27
+ 4300:未开通服务
28
+ 4301:后端未创建对应产品
24
29
  注意:此字段可能返回 null,表示取不到有效值。
25
30
  */
26
- Code: number
31
+ Code?: number
27
32
  /**
28
33
  * UTF-8编码,出错消息。
29
34
  注意:此字段可能返回 null,表示取不到有效值。
30
35
  */
31
- Message: string
36
+ Message?: string
32
37
  /**
33
38
  * 业务详情。
34
39
  注意:此字段可能返回 null,表示取不到有效值。
35
40
  */
36
- Value: OutputManageMarketingRiskValue
41
+ Value?: OutputManageMarketingRiskValue
37
42
  /**
38
43
  * 控制台显示的req_id。
39
44
  注意:此字段可能返回 null,表示取不到有效值。
40
45
  */
41
- UUid: string
46
+ UUid?: string
42
47
  }
43
48
 
44
49
  /**
@@ -44,7 +44,7 @@ export interface CreateTawInstanceRequest {
44
44
  */
45
45
  InstanceDesc?: string
46
46
  /**
47
- * 每天数据上报量
47
+ * 每天数据上报量,(不作量级限制)
48
48
  */
49
49
  CountNum?: string
50
50
  /**
@@ -142,7 +142,7 @@ export interface DescribeDataFetchProjectRequest {
142
142
  */
143
143
  Device?: string
144
144
  /**
145
- * 是否海外
145
+ * 是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
146
146
  */
147
147
  IsAbroad?: string
148
148
  /**
@@ -299,7 +299,7 @@ export interface DescribeDataPvUrlInfoResponse {
299
299
  /**
300
300
  * 返回值
301
301
  */
302
- Result: string
302
+ Result?: string
303
303
  /**
304
304
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
305
305
  */
@@ -323,7 +323,7 @@ export interface DescribeDataFetchUrlResponse {
323
323
  /**
324
324
  * 返回值
325
325
  */
326
- Result: string
326
+ Result?: string
327
327
  /**
328
328
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
329
329
  */
@@ -618,7 +618,7 @@ export interface DescribeDataCustomUrlRequest {
618
618
  */
619
619
  Device?: string
620
620
  /**
621
- * 是否海外
621
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
622
622
  */
623
623
  IsAbroad?: string
624
624
  /**
@@ -678,7 +678,7 @@ export interface DescribeRumGroupLogResponse {
678
678
  /**
679
679
  * 返回字符串
680
680
  */
681
- Result: string
681
+ Result?: string
682
682
  /**
683
683
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
684
684
  */
@@ -758,7 +758,7 @@ export interface DescribeDataStaticUrlRequest {
758
758
  */
759
759
  Device?: string
760
760
  /**
761
- * 是否海外
761
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
762
762
  */
763
763
  IsAbroad?: string
764
764
  /**
@@ -1002,7 +1002,7 @@ export interface DescribeDataPerformancePageRequest {
1002
1002
  */
1003
1003
  ExtThird?: string
1004
1004
  /**
1005
- * 是否海外
1005
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
1006
1006
  */
1007
1007
  IsAbroad?: string
1008
1008
  /**
@@ -1132,7 +1132,7 @@ export interface DescribeDataFetchUrlRequest {
1132
1132
  */
1133
1133
  Device?: string
1134
1134
  /**
1135
- * 是否海外
1135
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
1136
1136
  */
1137
1137
  IsAbroad?: string
1138
1138
  /**
@@ -1206,7 +1206,7 @@ export interface DescribeDataLogUrlStatisticsResponse {
1206
1206
  /**
1207
1207
  * 返回值
1208
1208
  */
1209
- Result: string
1209
+ Result?: string
1210
1210
  /**
1211
1211
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1212
1212
  */
@@ -1352,7 +1352,7 @@ export interface DescribeDataPvUrlStatisticsRequest {
1352
1352
  */
1353
1353
  Device?: string
1354
1354
  /**
1355
- * 显示是否海外
1355
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
1356
1356
  */
1357
1357
  IsAbroad?: string
1358
1358
  /**
@@ -1508,7 +1508,7 @@ export interface DescribeDataStaticProjectRequest {
1508
1508
  */
1509
1509
  Device?: string
1510
1510
  /**
1511
- * 是否海外
1511
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
1512
1512
  */
1513
1513
  IsAbroad?: string
1514
1514
  /**
@@ -1640,7 +1640,7 @@ export interface DescribeRumStatsLogListResponse {
1640
1640
  /**
1641
1641
  * 返回字符串
1642
1642
  */
1643
- Result: string
1643
+ Result?: string
1644
1644
  /**
1645
1645
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1646
1646
  */
@@ -1656,7 +1656,7 @@ export interface CreateWhitelistRequest {
1656
1656
  */
1657
1657
  InstanceID: string
1658
1658
  /**
1659
- * 备注
1659
+ * 备注(暂未作字节数限制)
1660
1660
  */
1661
1661
  Remark: string
1662
1662
  /**
@@ -1708,7 +1708,7 @@ export interface DescribeDataCustomUrlResponse {
1708
1708
  /**
1709
1709
  * 返回值
1710
1710
  */
1711
- Result: string
1711
+ Result?: string
1712
1712
  /**
1713
1713
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1714
1714
  */
@@ -1822,7 +1822,7 @@ export interface DescribeDataSetUrlStatisticsRequest {
1822
1822
  */
1823
1823
  Device?: string
1824
1824
  /**
1825
- * 是否海外
1825
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
1826
1826
  */
1827
1827
  IsAbroad?: string
1828
1828
  /**
@@ -1864,7 +1864,7 @@ export interface DescribeDataStaticProjectResponse {
1864
1864
  /**
1865
1865
  * 返回值
1866
1866
  */
1867
- Result: string
1867
+ Result?: string
1868
1868
  /**
1869
1869
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
1870
1870
  */
@@ -2089,7 +2089,7 @@ export interface DescribeDataLogUrlStatisticsRequest {
2089
2089
  */
2090
2090
  Device?: string
2091
2091
  /**
2092
- * 是否海外
2092
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
2093
2093
  */
2094
2094
  IsAbroad?: string
2095
2095
  /**
@@ -2243,7 +2243,7 @@ export interface DescribeDataPerformancePageResponse {
2243
2243
  /**
2244
2244
  * 返回值
2245
2245
  */
2246
- Result: string
2246
+ Result?: string
2247
2247
  /**
2248
2248
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2249
2249
  */
@@ -2267,7 +2267,7 @@ export interface DescribeDataStaticResourceResponse {
2267
2267
  /**
2268
2268
  * 返回值
2269
2269
  */
2270
- Result: string
2270
+ Result?: string
2271
2271
  /**
2272
2272
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2273
2273
  */
@@ -2281,7 +2281,7 @@ export interface DescribeDataEventUrlResponse {
2281
2281
  /**
2282
2282
  * 返回值
2283
2283
  */
2284
- Result: string
2284
+ Result?: string
2285
2285
  /**
2286
2286
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2287
2287
  */
@@ -2361,7 +2361,7 @@ export interface DescribeDataWebVitalsPageRequest {
2361
2361
  */
2362
2362
  Device?: string
2363
2363
  /**
2364
- * 是否海外
2364
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
2365
2365
  */
2366
2366
  IsAbroad?: string
2367
2367
  /**
@@ -2455,7 +2455,7 @@ export interface DescribeDataFetchUrlInfoRequest {
2455
2455
  */
2456
2456
  Device?: string
2457
2457
  /**
2458
- * 是否海外
2458
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
2459
2459
  */
2460
2460
  IsAbroad?: string
2461
2461
  /**
@@ -2487,7 +2487,7 @@ export interface DescribeDataFetchUrlInfoResponse {
2487
2487
  /**
2488
2488
  * 返回值
2489
2489
  */
2490
- Result: string
2490
+ Result?: string
2491
2491
  /**
2492
2492
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2493
2493
  */
@@ -2515,7 +2515,7 @@ export interface DescribeDataStaticUrlResponse {
2515
2515
  /**
2516
2516
  * 返回值
2517
2517
  */
2518
- Result: string
2518
+ Result?: string
2519
2519
  /**
2520
2520
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2521
2521
  */
@@ -2529,11 +2529,11 @@ export interface CreateWhitelistResponse {
2529
2529
  /**
2530
2530
  * 消息
2531
2531
  */
2532
- Msg: string
2532
+ Msg?: string
2533
2533
  /**
2534
2534
  * 白名单ID
2535
2535
  */
2536
- ID: number
2536
+ ID?: number
2537
2537
  /**
2538
2538
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2539
2539
  */
@@ -2610,7 +2610,7 @@ export interface DescribeDataWebVitalsPageResponse {
2610
2610
  /**
2611
2611
  * 返回值
2612
2612
  */
2613
- Result: string
2613
+ Result?: string
2614
2614
  /**
2615
2615
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2616
2616
  */
@@ -2712,7 +2712,7 @@ export interface DescribeDataEventUrlRequest {
2712
2712
  */
2713
2713
  Device?: string
2714
2714
  /**
2715
- * 是否海外
2715
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
2716
2716
  */
2717
2717
  IsAbroad?: string
2718
2718
  /**
@@ -2898,7 +2898,7 @@ export interface DescribeRumLogExportResponse {
2898
2898
  /**
2899
2899
  * 返回字符串
2900
2900
  */
2901
- Result: string
2901
+ Result?: string
2902
2902
  /**
2903
2903
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
2904
2904
  */
@@ -3072,7 +3072,7 @@ export interface DescribeDataStaticResourceRequest {
3072
3072
  */
3073
3073
  Device?: string
3074
3074
  /**
3075
- * 是否海外
3075
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
3076
3076
  */
3077
3077
  IsAbroad?: string
3078
3078
  /**
@@ -3210,7 +3210,7 @@ export interface DescribeDataPvUrlInfoRequest {
3210
3210
  */
3211
3211
  Device?: string
3212
3212
  /**
3213
- * 是否海外
3213
+ * 显示是否海外,1表示海外,0表示非海外;默认值为空,查询所有。
3214
3214
  */
3215
3215
  IsAbroad?: string
3216
3216
  /**
@@ -3248,7 +3248,7 @@ export interface DescribeDataFetchProjectResponse {
3248
3248
  /**
3249
3249
  * 返回值
3250
3250
  */
3251
- Result: string
3251
+ Result?: string
3252
3252
  /**
3253
3253
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3254
3254
  */
@@ -3380,7 +3380,7 @@ export interface DescribeDataSetUrlStatisticsResponse {
3380
3380
  /**
3381
3381
  * 返回值
3382
3382
  */
3383
- Result: string
3383
+ Result?: string
3384
3384
  /**
3385
3385
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3386
3386
  */
@@ -3559,27 +3559,27 @@ export interface DescribeMsgResponse {
3559
3559
  /**
3560
3560
  * 消息属性。
3561
3561
  */
3562
- Properties: string
3562
+ Properties?: string
3563
3563
  /**
3564
3564
  * 消息体。
3565
3565
  */
3566
- Body: string
3566
+ Body?: string
3567
3567
  /**
3568
3568
  * 批次ID。
3569
3569
  */
3570
- BatchId: string
3570
+ BatchId?: string
3571
3571
  /**
3572
3572
  * 生产时间。
3573
3573
  */
3574
- ProduceTime: string
3574
+ ProduceTime?: string
3575
3575
  /**
3576
3576
  * 消息ID。
3577
3577
  */
3578
- MsgId: string
3578
+ MsgId?: string
3579
3579
  /**
3580
3580
  * 生产者名称。
3581
3581
  */
3582
- ProducerName: string
3582
+ ProducerName?: string
3583
3583
  /**
3584
3584
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
3585
3585
  */
@@ -36,6 +36,7 @@ import {
36
36
  DescribeRealtimeLogDeliveryTasksRequest,
37
37
  DescribeOriginProtectionResponse,
38
38
  DescribeBillingDataRequest,
39
+ LogFormat,
39
40
  DescribeEnvironmentsRequest,
40
41
  DescribeAliasDomainsRequest,
41
42
  RateLimitConfig,
@@ -432,6 +432,48 @@ export interface DescribeBillingDataRequest {
432
432
  Filters?: Array<BillingDataFilter>
433
433
  }
434
434
 
435
+ /**
436
+ * 实时日志投递的输出格式。您可以直接通过 FormatType 参数使用指定预设日志输出格式(JSON Lines / csv),也可以在预设日志输出格式基础上,通过其他参数来自定义变体输出格式。
437
+ */
438
+ export interface LogFormat {
439
+ /**
440
+ * 日志投递的预设输出格式类型,取值有:
441
+ <li>json:使用预设日志输出格式 JSON Lines,单条日志中的字段以键值对方式呈现;</li>
442
+ <li>csv:使用预设日志输出格式 csv,单条日志中仅呈现字段值,不呈现字段名称。</li>
443
+ */
444
+ FormatType: string
445
+ /**
446
+ * 在每个日志投递批次之前添加的字符串。每个日志投递批次可能包含多条日志记录。
447
+ */
448
+ BatchPrefix?: string
449
+ /**
450
+ * 在每个日志投递批次后附加的字符串。
451
+ */
452
+ BatchSuffix?: string
453
+ /**
454
+ * 在每条日志记录之前添加的字符串。
455
+ */
456
+ RecordPrefix?: string
457
+ /**
458
+ * 在每条日志记录后附加的字符串。
459
+ */
460
+ RecordSuffix?: string
461
+ /**
462
+ * 插入日志记录之间作为分隔符的字符串,取值有:
463
+ <li>\n:换行符;</li>
464
+ <li>\t:制表符;</li>
465
+ <li>,:半角逗号。</li>
466
+ */
467
+ RecordDelimiter?: string
468
+ /**
469
+ * 单条日志记录内,插入字段之间作为分隔符的字符串,取值有:
470
+ <li>\t:制表符;</li>
471
+ <li>,:半角逗号;</li>
472
+ <li>;:半角分号。</li>
473
+ */
474
+ FieldDelimiter?: string
475
+ }
476
+
435
477
  /**
436
478
  * DescribeEnvironments请求参数结构体
437
479
  */
@@ -554,6 +596,12 @@ export interface CreateRealtimeLogDeliveryTaskRequest {
554
596
  * 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填表示采样比例为 100%。
555
597
  */
556
598
  Sample?: number
599
+ /**
600
+ * 日志投递的输出格式。不填表示为默认格式,默认格式逻辑如下:
601
+ <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
602
+ <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines;</li>特别地,当 TaskType 取值为 cls 时,LogFormat.FormatType 的值只能为 json,且 LogFormat 中其他参数将被忽略,建议不传 LogFormat。
603
+ */
604
+ LogFormat?: LogFormat
557
605
  /**
558
606
  * CLS 的配置信息。当 TaskType 取值为 cls 时,该参数必填。
559
607
  */
@@ -2831,27 +2879,31 @@ export interface Task {
2831
2879
  /**
2832
2880
  * 任务 ID。
2833
2881
  */
2834
- JobId: string
2835
- /**
2836
- * 状态。
2837
- */
2838
- Status: string
2882
+ JobId?: string
2839
2883
  /**
2840
2884
  * 资源。
2841
2885
  */
2842
- Target: string
2886
+ Target?: string
2843
2887
  /**
2844
2888
  * 任务类型。
2845
2889
  */
2846
- Type: string
2890
+ Type?: string
2891
+ /**
2892
+ * 状态。取值有:
2893
+ <li>processing:处理中;</li>
2894
+ <li>success:成功;</li>
2895
+ <li> failed:失败;</li>
2896
+ <li>timeout:超时。</li>
2897
+ */
2898
+ Status?: string
2847
2899
  /**
2848
2900
  * 任务创建时间。
2849
2901
  */
2850
- CreateTime: string
2902
+ CreateTime?: string
2851
2903
  /**
2852
2904
  * 任务完成时间。
2853
2905
  */
2854
- UpdateTime: string
2906
+ UpdateTime?: string
2855
2907
  }
2856
2908
 
2857
2909
  /**
@@ -3620,6 +3672,10 @@ export interface ModifyRealtimeLogDeliveryTaskRequest {
3620
3672
  * 采样比例,采用千分制,取值范围为1-1000,例如:填写 605 表示采样比例为 60.5%。不填保持原有配置。
3621
3673
  */
3622
3674
  Sample?: number
3675
+ /**
3676
+ * 日志投递的输出格式。不填保持原有配置。
3677
+ */
3678
+ LogFormat?: LogFormat
3623
3679
  /**
3624
3680
  * 自定义 HTTP 服务的配置信息,不填保持原有配置。
3625
3681
  */
@@ -4979,6 +5035,13 @@ export interface RealtimeLogDeliveryTask {
4979
5035
  * 采样比例,采用千分制,取值范围为1-1000,例如:605 表示采样比例为 60.5%。
4980
5036
  */
4981
5037
  Sample?: number
5038
+ /**
5039
+ * 日志投递的输出格式。出参为 null 时表示为默认格式,默认格式逻辑如下:
5040
+ <li>当 TaskType 取值为 custom_endpoint 时,默认格式为多个 JSON 对象组成的数组,每个 JSON 对象为一条日志;</li>
5041
+ <li>当 TaskType 取值为 s3 时,默认格式为 JSON Lines。</li>
5042
+ 注意:此字段可能返回 null,表示取不到有效值。
5043
+ */
5044
+ LogFormat?: LogFormat
4982
5045
  /**
4983
5046
  * CLS 的配置信息。
4984
5047
  注意:此字段可能返回 null,表示取不到有效值。
@@ -5802,8 +5865,8 @@ export interface DDosProtectionConfig {
5802
5865
  /**
5803
5866
  * 中国大陆地区独立 DDoS 防护的规格。详情请参考 [独立 DDoS 防护相关费用](https://cloud.tencent.com/document/product/1552/94162)
5804
5867
  <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li>
5805
- <li>BASE30_MAX300:开启独立 DDoS 防护,提供 30 Gbps 保底防护带宽,可配置最高 300 Gpbs 弹性防护带宽;</li>
5806
- <li>BASE60_MAX600:开启独立 DDoS 防护,提供 60 Gbps 保底防护带宽,可配置最高 600 Gpbs 弹性防护带宽。</li>不填写参数时,取默认值 PLATFORM。
5868
+ <li>BASE30_MAX300:开启独立 DDoS 防护,提供 30 Gbps 保底防护带宽以及 300 Gbps 弹性防护带宽;</li>
5869
+ <li>BASE60_MAX600:开启独立 DDoS 防护,提供 60 Gbps 保底防护带宽以及 600 Gbps 弹性防护带宽。</li>不填写参数时,取默认值 PLATFORM。
5807
5870
  */
5808
5871
  LevelMainland?: string
5809
5872
  /**
@@ -5817,7 +5880,7 @@ export interface DDosProtectionConfig {
5817
5880
  /**
5818
5881
  * 全球(除中国大陆以外)地区独立 DDoS 防护的规格。
5819
5882
  <li>PLATFORM:平台默认防护,即不开启独立 DDoS 防护;</li>
5820
- <li>ANYCAST300:开启独立 DDoS 防护,提供合计最大 300 Gbps 防护带宽;</li>
5883
+ <li>ANYCAST300:开启独立 DDoS 防护,提供 300 Gbps 防护带宽;</li>
5821
5884
  <li>ANYCAST_ALLIN:开启独立 DDoS 防护,使用全部可用防护资源进行防护。</li>不填写参数时,取默认值 PLATFORM。
5822
5885
  */
5823
5886
  LevelOverseas?: string
@@ -18,8 +18,10 @@
18
18
  import { AbstractClient } from "../../../common/abstract_client"
19
19
  import { ClientConfig } from "../../../common/interface"
20
20
  import {
21
- LabelGrade,
21
+ AnswerQuestionRequest,
22
+ AnswerQuestionResponse,
22
23
  Tag,
24
+ LabelGrade,
23
25
  SentimentAnalysis,
24
26
  Positions,
25
27
  RiskDetails,
@@ -46,6 +48,16 @@ export class Client extends AbstractClient {
46
48
  super("tms.tencentcloudapi.com", "2020-12-29", clientConfig)
47
49
  }
48
50
 
51
+ /**
52
+ * "AIGC代答"产品帮助客户在其AIGC场景下,对于敏感类的问题,不是由客户的大模型机器人来回答,而是我们来进行代答,尽最大可能帮助客户规避风险。
53
+ */
54
+ async AnswerQuestion(
55
+ req: AnswerQuestionRequest,
56
+ cb?: (error: string, rep: AnswerQuestionResponse) => void
57
+ ): Promise<AnswerQuestionResponse> {
58
+ return this.request("AnswerQuestion", req, cb)
59
+ }
60
+
49
61
  /**
50
62
  * 天御文本内容安全定制标签文本审核接口为定制接口,会按照客户定制标签输出审核结果,如需使用请联系商务经理或[在线客服](https://cloud.tencent.com/online-service?from=doc_1125)咨询。
51
63
  */
@@ -16,29 +16,27 @@
16
16
  */
17
17
 
18
18
  /**
19
- * 内容审核多级标签结构
19
+ * AnswerQuestion请求参数结构体
20
20
  */
21
- export interface LabelGrade {
22
- /**
23
- * 内容审核结果客户定制标签码
24
- 注意:此字段可能返回 null,表示取不到有效值。
25
- */
26
- Code?: string
21
+ export interface AnswerQuestionRequest {
27
22
  /**
28
- * 内容审核结果客户定制一级标签
29
- 注意:此字段可能返回 null,表示取不到有效值。
23
+ * 用户问题
30
24
  */
31
- Grade1?: string
25
+ Question: string
26
+ }
27
+
28
+ /**
29
+ * AnswerQuestion返回参数结构体
30
+ */
31
+ export interface AnswerQuestionResponse {
32
32
  /**
33
- * 内容审核结果客户定制二级标签
34
- 注意:此字段可能返回 null,表示取不到有效值。
33
+ * 匹配到的答案
35
34
  */
36
- Grade2?: string
35
+ Answer?: string
37
36
  /**
38
- * 内容审核结果客户定制三级标签
39
- 注意:此字段可能返回 null,表示取不到有效值。
37
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
40
38
  */
41
- Grade3?: string
39
+ RequestId?: string
42
40
  }
43
41
 
44
42
  /**
@@ -62,6 +60,32 @@ export interface Tag {
62
60
  Score?: number
63
61
  }
64
62
 
63
+ /**
64
+ * 内容审核多级标签结构
65
+ */
66
+ export interface LabelGrade {
67
+ /**
68
+ * 内容审核结果客户定制标签码
69
+ 注意:此字段可能返回 null,表示取不到有效值。
70
+ */
71
+ Code?: string
72
+ /**
73
+ * 内容审核结果客户定制一级标签
74
+ 注意:此字段可能返回 null,表示取不到有效值。
75
+ */
76
+ Grade1?: string
77
+ /**
78
+ * 内容审核结果客户定制二级标签
79
+ 注意:此字段可能返回 null,表示取不到有效值。
80
+ */
81
+ Grade2?: string
82
+ /**
83
+ * 内容审核结果客户定制三级标签
84
+ 注意:此字段可能返回 null,表示取不到有效值。
85
+ */
86
+ Grade3?: string
87
+ }
88
+
65
89
  /**
66
90
  * 情感分析结果
67
91
  */
@@ -436,7 +436,7 @@ lo(老挝语):zh(简体中文)、zh-HK(繁体中文)、 zh-TW(
436
436
  */
437
437
  SourceType?: number
438
438
  /**
439
- * 需要翻译文件url,文件需小于100MB。
439
+ * 需要翻译文件url,文件限制如下:docx/xIsx/html/markdown文件不超过800万字符,doc/pdf/pptx文件不超过300页,txt/po文件不超过10MB,pdf/docx/pptx/xlsx不超过40MB
440
440
  */
441
441
  Url?: string
442
442
  /**
@@ -54,6 +54,7 @@ import {
54
54
  DescribeAllConfigFileTemplatesResponse,
55
55
  ConfigFilePublishInfo,
56
56
  QpsThreshold,
57
+ DescribeCloudNativeAPIGatewayConfigResponse,
57
58
  ModifyCloudNativeAPIGatewayRouteRateLimitRequest,
58
59
  DeleteCloudNativeAPIGatewayResult,
59
60
  ListCloudNativeAPIGatewayStrategyResult,
@@ -138,7 +139,7 @@ import {
138
139
  DeleteCloudNativeAPIGatewayServiceRateLimitRequest,
139
140
  DescribeConfigFileReleasesResponse,
140
141
  KongPassiveHealthCheck,
141
- DescribeCloudNativeAPIGatewayConfigResponse,
142
+ CreateGovernanceServicesRequest,
142
143
  DescribeCloudNativeAPIGatewayRequest,
143
144
  VpcInfo,
144
145
  CloudNativeAPIGatewayVpcConfig,
@@ -191,7 +192,7 @@ import {
191
192
  CloudNativeAPIGatewayStrategy,
192
193
  DeleteConfigFilesRequest,
193
194
  DescribeGovernanceServicesResponse,
194
- CreateGovernanceServicesRequest,
195
+ AccurateQpsThreshold,
195
196
  CreateGovernanceNamespacesResponse,
196
197
  UpdateCloudNativeAPIGatewaySpecRequest,
197
198
  DescribeCloudNativeAPIGatewayServicesResponse,