tencentcloud-sdk-nodejs 4.0.739 → 4.0.740

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 (57) hide show
  1. package/CHANGELOG.md +224 -0
  2. package/SERVICE_CHANGELOG.md +314 -314
  3. package/package.json +1 -1
  4. package/products.md +11 -10
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/cdb/v20170320/cdb_client.ts +168 -54
  7. package/src/services/cdb/v20170320/cdb_models.ts +716 -135
  8. package/src/services/cfg/v20210820/cfg_client.ts +32 -7
  9. package/src/services/cfg/v20210820/cfg_models.ts +108 -3
  10. package/src/services/config/index.ts +5 -0
  11. package/src/services/config/v20220802/config_client.ts +62 -0
  12. package/src/services/config/v20220802/config_models.ts +424 -0
  13. package/src/services/config/v20220802/index.ts +6 -0
  14. package/src/services/hai/v20230812/hai_models.ts +5 -0
  15. package/src/services/index.ts +1 -0
  16. package/src/services/tdmq/v20200217/tdmq_models.ts +38 -28
  17. package/src/services/teo/v20220901/teo_client.ts +3 -3
  18. package/src/services/teo/v20220901/teo_models.ts +34 -33
  19. package/src/services/tke/v20180525/tke_models.ts +11 -6
  20. package/src/services/tse/v20201207/tse_client.ts +43 -7
  21. package/src/services/tse/v20201207/tse_models.ts +96 -8
  22. package/src/services/vod/v20180717/vod_client.ts +4 -1
  23. package/src/services/vod/v20180717/vod_models.ts +129 -19
  24. package/src/services/waf/v20180125/waf_models.ts +2 -2
  25. package/tencentcloud/common/sdk_version.d.ts +1 -1
  26. package/tencentcloud/common/sdk_version.js +1 -1
  27. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +59 -23
  28. package/tencentcloud/services/cdb/v20170320/cdb_client.js +82 -28
  29. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +680 -123
  30. package/tencentcloud/services/cfg/v20210820/cfg_client.d.ts +11 -3
  31. package/tencentcloud/services/cfg/v20210820/cfg_client.js +15 -3
  32. package/tencentcloud/services/cfg/v20210820/cfg_models.d.ts +103 -3
  33. package/tencentcloud/services/config/index.d.ts +6 -0
  34. package/tencentcloud/services/config/index.js +7 -0
  35. package/tencentcloud/services/config/v20220802/config_client.d.ts +18 -0
  36. package/tencentcloud/services/config/v20220802/config_client.js +43 -0
  37. package/tencentcloud/services/config/v20220802/config_models.d.ts +397 -0
  38. package/tencentcloud/services/config/v20220802/config_models.js +18 -0
  39. package/tencentcloud/services/config/v20220802/index.d.ts +6 -0
  40. package/tencentcloud/services/config/v20220802/index.js +9 -0
  41. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +5 -0
  42. package/tencentcloud/services/index.d.ts +1 -0
  43. package/tencentcloud/services/index.js +2 -0
  44. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +38 -28
  45. package/tencentcloud/services/teo/v20220901/teo_client.d.ts +3 -3
  46. package/tencentcloud/services/teo/v20220901/teo_client.js +3 -3
  47. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +34 -33
  48. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +11 -6
  49. package/tencentcloud/services/tse/v20201207/tse_client.d.ts +15 -3
  50. package/tencentcloud/services/tse/v20201207/tse_client.js +21 -3
  51. package/tencentcloud/services/tse/v20201207/tse_models.d.ts +90 -8
  52. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +126 -19
  53. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +2 -2
  54. package/test/cdb.v20170320.test.js +102 -12
  55. package/test/cfg.v20210820.test.js +22 -2
  56. package/test/config.v20220802.test.js +41 -0
  57. package/test/tse.v20201207.test.js +32 -2
@@ -39,6 +39,12 @@ class Client extends abstract_client_1.AbstractClient {
39
39
  async DescribeUpstreamHealthCheckConfig(req, cb) {
40
40
  return this.request("DescribeUpstreamHealthCheckConfig", req, cb);
41
41
  }
42
+ /**
43
+ * 查询Zookeeper类型注册引擎实例副本信息
44
+ */
45
+ async DescribeZookeeperReplicas(req, cb) {
46
+ return this.request("DescribeZookeeperReplicas", req, cb);
47
+ }
42
48
  /**
43
49
  * 修改云原生API网关实例分组基础信息
44
50
  */
@@ -57,6 +63,12 @@ class Client extends abstract_client_1.AbstractClient {
57
63
  async DeleteCloudNativeAPIGatewayServiceRateLimit(req, cb) {
58
64
  return this.request("DeleteCloudNativeAPIGatewayServiceRateLimit", req, cb);
59
65
  }
66
+ /**
67
+ * 新建 WAF 防护域名
68
+ */
69
+ async CreateWafDomains(req, cb) {
70
+ return this.request("CreateWafDomains", req, cb);
71
+ }
60
72
  /**
61
73
  * 查询zookeeper服务接口列表
62
74
  */
@@ -184,10 +196,10 @@ class Client extends abstract_client_1.AbstractClient {
184
196
  return this.request("ModifyCloudNativeAPIGatewayRoute", req, cb);
185
197
  }
186
198
  /**
187
- * 查询Zookeeper类型注册引擎实例副本信息
199
+ * 关闭 WAF 防护
188
200
  */
189
- async DescribeZookeeperReplicas(req, cb) {
190
- return this.request("DescribeZookeeperReplicas", req, cb);
201
+ async CloseWafProtection(req, cb) {
202
+ return this.request("CloseWafProtection", req, cb);
191
203
  }
192
204
  /**
193
205
  * 创建云原生API网关实例
@@ -243,6 +255,12 @@ class Client extends abstract_client_1.AbstractClient {
243
255
  async UpdateEngineInternetAccess(req, cb) {
244
256
  return this.request("UpdateEngineInternetAccess", req, cb);
245
257
  }
258
+ /**
259
+ * 开启 WAF 防护
260
+ */
261
+ async OpenWafProtection(req, cb) {
262
+ return this.request("OpenWafProtection", req, cb);
263
+ }
246
264
  /**
247
265
  * 修改云原生API网关实例基础信息
248
266
  */
@@ -528,6 +528,27 @@ export interface QpsThreshold {
528
528
  */
529
529
  Max: number;
530
530
  }
531
+ /**
532
+ * CloseWafProtection请求参数结构体
533
+ */
534
+ export interface CloseWafProtectionRequest {
535
+ /**
536
+ * 网关ID
537
+ */
538
+ GatewayId: string;
539
+ /**
540
+ * 防护资源的类型。
541
+ - Global 实例
542
+ - Service 服务
543
+ - Route 路由
544
+ - Object 对象
545
+ */
546
+ Type: string;
547
+ /**
548
+ * 当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表
549
+ */
550
+ List?: Array<string>;
551
+ }
531
552
  /**
532
553
  * ModifyCloudNativeAPIGatewayService返回参数结构体
533
554
  */
@@ -577,6 +598,15 @@ export interface DescribeUpstreamHealthCheckConfigResponse {
577
598
  */
578
599
  RequestId?: string;
579
600
  }
601
+ /**
602
+ * OpenWafProtection返回参数结构体
603
+ */
604
+ export interface OpenWafProtectionResponse {
605
+ /**
606
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
607
+ */
608
+ RequestId?: string;
609
+ }
580
610
  /**
581
611
  * Kong网关主动健康检查配置
582
612
  */
@@ -1096,17 +1126,13 @@ export interface SREInstance {
1096
1126
  StorageOption?: Array<StorageOption>;
1097
1127
  }
1098
1128
  /**
1099
- * 引擎实例的标签信息
1129
+ * CreateWafDomains返回参数结构体
1100
1130
  */
1101
- export interface InstanceTagInfo {
1131
+ export interface CreateWafDomainsResponse {
1102
1132
  /**
1103
- * 标签键
1104
- */
1105
- TagKey?: string;
1106
- /**
1107
- * 标签值
1133
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
1108
1134
  */
1109
- TagValue?: string;
1135
+ RequestId?: string;
1110
1136
  }
1111
1137
  /**
1112
1138
  * DescribeCloudNativeAPIGatewayServices请求参数结构体
@@ -1705,6 +1731,19 @@ export interface KongPassiveHealthCheck {
1705
1731
  */
1706
1732
  Type?: string;
1707
1733
  }
1734
+ /**
1735
+ * 引擎实例的标签信息
1736
+ */
1737
+ export interface InstanceTagInfo {
1738
+ /**
1739
+ * 标签键
1740
+ */
1741
+ TagKey?: string;
1742
+ /**
1743
+ * 标签值
1744
+ */
1745
+ TagValue?: string;
1746
+ }
1708
1747
  /**
1709
1748
  * 云原生API网关vpc配置。
1710
1749
  */
@@ -2721,6 +2760,15 @@ export interface DeleteCloudNativeAPIGatewayServiceRateLimitResponse {
2721
2760
  */
2722
2761
  RequestId?: string;
2723
2762
  }
2763
+ /**
2764
+ * CloseWafProtection返回参数结构体
2765
+ */
2766
+ export interface CloseWafProtectionResponse {
2767
+ /**
2768
+ * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
2769
+ */
2770
+ RequestId?: string;
2771
+ }
2724
2772
  /**
2725
2773
  * 弹性伸缩配置指标
2726
2774
  */
@@ -3309,6 +3357,27 @@ export interface CloudNativeAPIGatewayStrategyCronScalerConfigParam {
3309
3357
  */
3310
3358
  Crontab?: string;
3311
3359
  }
3360
+ /**
3361
+ * OpenWafProtection请求参数结构体
3362
+ */
3363
+ export interface OpenWafProtectionRequest {
3364
+ /**
3365
+ * 网关ID
3366
+ */
3367
+ GatewayId: string;
3368
+ /**
3369
+ * 防护资源的类型。
3370
+ - Global 实例
3371
+ - Service 服务
3372
+ - Route 路由
3373
+ - Object 对象(接口暂不支持)
3374
+ */
3375
+ Type: string;
3376
+ /**
3377
+ * 当资源类型 Type 是 Service 或 Route 的时候,传入的服务或路由的列表
3378
+ */
3379
+ List?: Array<string>;
3380
+ }
3312
3381
  /**
3313
3382
  * DeleteCloudNativeAPIGatewayRoute请求参数结构体
3314
3383
  */
@@ -3694,6 +3763,19 @@ export interface AutoScalerRules {
3694
3763
  */
3695
3764
  Policies?: Array<AutoScalerPolicy>;
3696
3765
  }
3766
+ /**
3767
+ * CreateWafDomains请求参数结构体
3768
+ */
3769
+ export interface CreateWafDomainsRequest {
3770
+ /**
3771
+ * 网关ID
3772
+ */
3773
+ GatewayId: string;
3774
+ /**
3775
+ * WAF 防护域名列表
3776
+ */
3777
+ Domains: Array<string>;
3778
+ }
3697
3779
  /**
3698
3780
  * 服务的后端配置
3699
3781
  */
@@ -845,28 +845,17 @@ export interface QualityInspectTaskOutput {
845
845
  QualityInspectResultSet?: Array<QualityInspectResultItem>;
846
846
  }
847
847
  /**
848
- * 用户自定义文本音视频审核任务控制参数。
848
+ * 音画质重生任务的输入。
849
849
  */
850
- export interface UserDefineOcrTextReviewTemplateInfoForUpdate {
851
- /**
852
- * 用户自定文本音视频审核任务开关,可选值:
853
- <li>ON:开启自定义文本音视频审核任务;</li>
854
- <li>OFF:关闭自定义文本音视频审核任务。</li>
855
- */
856
- Switch?: string;
850
+ export interface QualityEnhanceTaskInput {
857
851
  /**
858
- * 用户自定义文本过滤标签,音视频审核结果包含选择的标签则返回结果,如果过滤标签为空,则音视频审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
859
- 标签个数最多 10 个,每个标签长度最多 16 个字符。
860
- */
861
- LabelSet?: Array<string>;
862
- /**
863
- * 判定涉嫌违规的分数阈值,当审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
852
+ * 媒体文件 ID。
864
853
  */
865
- BlockConfidence?: number;
854
+ FileId?: string;
866
855
  /**
867
- * 判定需人工复核是否违规的分数阈值,当审核达到该分数以上,认为需人工复核。取值范围:0~100
856
+ * 音画质重生模板 ID
868
857
  */
869
- ReviewConfidence?: number;
858
+ Definition?: number;
870
859
  }
871
860
  /**
872
861
  * ResetProcedureTemplate返回参数结构体
@@ -1187,6 +1176,63 @@ export interface AiReviewTaskPoliticalOcrResult {
1187
1176
  */
1188
1177
  Progress?: number;
1189
1178
  }
1179
+ /**
1180
+ * 音画质重生任务
1181
+ */
1182
+ export interface QualityEnhanceTask {
1183
+ /**
1184
+ * 任务 ID。
1185
+ */
1186
+ TaskId?: string;
1187
+ /**
1188
+ * 任务流状态,取值:
1189
+ <li>PROCESSING:处理中;</li>
1190
+ <li>FINISH:已完成。</li>
1191
+ */
1192
+ Status?: string;
1193
+ /**
1194
+ * 错误码,0 表示成功,其他值表示失败:
1195
+ <li>40000:输入参数不合法,请检查输入参数;</li>
1196
+ <li>60000:源文件错误(如视频数据损坏),请确认源文件是否正常;</li>
1197
+ <li>70000:内部服务错误,建议重试。</li>
1198
+ */
1199
+ ErrCode?: number;
1200
+ /**
1201
+ * 错误信息。
1202
+ */
1203
+ Message?: string;
1204
+ /**
1205
+ * 错误码,空字符串表示成功,其他值表示失败,取值请参考 [视频处理类错误码](https://cloud.tencent.com/document/product/266/50368#.E8.A7.86.E9.A2.91.E5.A4.84.E7.90.86.E7.B1.BB.E9.94.99.E8.AF.AF.E7.A0.81) 列表。
1206
+ */
1207
+ ErrCodeExt?: string;
1208
+ /**
1209
+ * 音画质重生任务进度,取值范围 [0-100] 。
1210
+ */
1211
+ Progress?: number;
1212
+ /**
1213
+ * 音画质重生任务的输入。
1214
+ 注意:此字段可能返回 null,表示取不到有效值。
1215
+ */
1216
+ Input?: QualityEnhanceTaskInput;
1217
+ /**
1218
+ * 音画质重生任务的输出。
1219
+ 注意:此字段可能返回 null,表示取不到有效值。
1220
+ */
1221
+ Output?: QualityEnhanceTaskOutput;
1222
+ /**
1223
+ * 音画质重生输出视频的元信息。
1224
+ 注意:此字段可能返回 null,表示取不到有效值。
1225
+ */
1226
+ MetaData?: MediaMetaData;
1227
+ /**
1228
+ * 用于去重的识别码,如果七天内曾有过相同的识别码的请求,则本次的请求会返回错误。最长 50 个字符,不带或者带空字符串表示不做去重。
1229
+ */
1230
+ SessionId?: string;
1231
+ /**
1232
+ * 来源上下文,用于透传用户请求信息,任务流状态变更回调将返回该字段值,最长 1000 个字符。
1233
+ */
1234
+ SessionContext?: string;
1235
+ }
1190
1236
  /**
1191
1237
  * AI 样本管理,关键词输出信息。
1192
1238
  */
@@ -4780,6 +4826,7 @@ export interface SvgWatermarkInputForUpdate {
4780
4826
  花括号 {} 表示由 A、B、C、D 4 个水印组成的大周期,可以看出每个大周期持续 20 秒。
4781
4827
  可以看出,A、B、C、D 都是周期性地显示 5 秒、隐藏 15 秒,且四者有固定的显示顺序。
4782
4828
  此配置项即用来描述单个水印的周期配置。
4829
+ 注意:此字段可能返回 null,表示取不到有效值。
4783
4830
  */
4784
4831
  CycleConfig?: WatermarkCycleConfigForUpdate;
4785
4832
  }
@@ -14534,11 +14581,12 @@ export interface DescribeTaskDetailResponse {
14534
14581
  <li>FastClipMedia:快速剪辑任务;</li>
14535
14582
  <li>RemoveWatermarkTask:智能去除水印任务;</li>
14536
14583
  <li>DescribeFileAttributesTask:获取文件属性任务;</li>
14537
- <li>RebuildMedia:音画质重生任务;</li>
14584
+ <li>RebuildMedia:音画质重生任务(不推荐使用);</li>
14538
14585
  <li>ReviewAudioVideo:音视频审核任务;</li>
14539
14586
  <li>ExtractTraceWatermark:提取溯源水印任务;</li>
14540
14587
  <li>ExtractCopyRightWatermark:提取版权水印任务;</li>
14541
- <li>QualityInspect:音画质检测任务。</li>
14588
+ <li>QualityInspect:音画质检测任务;</li>
14589
+ <li>QualityEnhance:音画质重生任务。</li>
14542
14590
  */
14543
14591
  TaskType?: string;
14544
14592
  /**
@@ -14660,6 +14708,11 @@ export interface DescribeTaskDetailResponse {
14660
14708
  注意:此字段可能返回 null,表示取不到有效值。
14661
14709
  */
14662
14710
  QualityInspectTask?: QualityInspectTask;
14711
+ /**
14712
+ * 音画质重生任务信息,仅当 TaskType 为 QualityEnhance,该字段有值。
14713
+ 注意:此字段可能返回 null,表示取不到有效值。
14714
+ */
14715
+ QualityEnhanceTask?: QualityEnhanceTask;
14663
14716
  /**
14664
14717
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
14665
14718
  */
@@ -16430,6 +16483,36 @@ export interface DescribeTranscodeTemplatesRequest {
16430
16483
  */
16431
16484
  Limit?: number;
16432
16485
  }
16486
+ /**
16487
+ * 音画质重生任务输出
16488
+ */
16489
+ export interface QualityEnhanceTaskOutput {
16490
+ /**
16491
+ * 文件类型,例如 mp4、flv 等。
16492
+ */
16493
+ FileType?: string;
16494
+ /**
16495
+ * 媒体文件播放地址。
16496
+ */
16497
+ FileUrl?: string;
16498
+ /**
16499
+ * 媒体文件 ID。
16500
+ */
16501
+ FileId?: string;
16502
+ /**
16503
+ * 输出文件名,最长 64 个字符。缺省由系统指定生成文件名。
16504
+ */
16505
+ MediaName?: string;
16506
+ /**
16507
+ * 分类ID,用于对媒体进行分类管理,可通过 [创建分类](/document/product/266/7812) 接口,创建分类,获得分类 ID。
16508
+ <li>默认值:0,表示其他分类。</li>
16509
+ */
16510
+ ClassId?: number;
16511
+ /**
16512
+ * 输出文件的过期时间,超过该时间文件将被删除,默认为永久不过期,格式按照 ISO 8601标准表示,详见 [ISO 日期格式说明](https://cloud.tencent.com/document/product/266/11732#I)。
16513
+ */
16514
+ ExpireTime?: string;
16515
+ }
16433
16516
  /**
16434
16517
  * 审核模版详情
16435
16518
  */
@@ -18508,6 +18591,30 @@ export interface DescribeImageProcessingTemplatesResponse {
18508
18591
  */
18509
18592
  RequestId?: string;
18510
18593
  }
18594
+ /**
18595
+ * 用户自定义文本音视频审核任务控制参数。
18596
+ */
18597
+ export interface UserDefineOcrTextReviewTemplateInfoForUpdate {
18598
+ /**
18599
+ * 用户自定文本音视频审核任务开关,可选值:
18600
+ <li>ON:开启自定义文本音视频审核任务;</li>
18601
+ <li>OFF:关闭自定义文本音视频审核任务。</li>
18602
+ */
18603
+ Switch?: string;
18604
+ /**
18605
+ * 用户自定义文本过滤标签,音视频审核结果包含选择的标签则返回结果,如果过滤标签为空,则音视频审核结果全部返回。如果要使用标签过滤功能,添加自定义文本关键词素材时需要添加对应标签。
18606
+ 标签个数最多 10 个,每个标签长度最多 16 个字符。
18607
+ */
18608
+ LabelSet?: Array<string>;
18609
+ /**
18610
+ * 判定涉嫌违规的分数阈值,当审核达到该分数以上,认为涉嫌违规。取值范围:0~100。
18611
+ */
18612
+ BlockConfidence?: number;
18613
+ /**
18614
+ * 判定需人工复核是否违规的分数阈值,当审核达到该分数以上,认为需人工复核。取值范围:0~100。
18615
+ */
18616
+ ReviewConfidence?: number;
18617
+ }
18511
18618
  /**
18512
18619
  * 对视频做采样截图任务输入参数类型
18513
18620
  */
@@ -3564,11 +3564,11 @@ export interface DescribeIpAccessControlRequest {
3564
3564
  */
3565
3565
  CtsMax?: number;
3566
3566
  /**
3567
- * 分页开始条数
3567
+ * 分页偏移量,取Limit整数倍。最小值为0,最大值= Total/Limit向上取整
3568
3568
  */
3569
3569
  OffSet?: number;
3570
3570
  /**
3571
- * 每页的条数
3571
+ * 每页返回的数量
3572
3572
  */
3573
3573
  Limit?: number;
3574
3574
  /**
@@ -58,9 +58,9 @@ it("cdb.v20170320.DescribeDBFeatures", async function () {
58
58
  }
59
59
  })
60
60
 
61
- it("cdb.v20170320.DescribeDataBackupOverview", async function () {
61
+ it("cdb.v20170320.CreateAuditRuleTemplate", async function () {
62
62
  try {
63
- const data = await client.DescribeDataBackupOverview({})
63
+ const data = await client.CreateAuditRuleTemplate({})
64
64
  expect(data).to.be.ok
65
65
  } catch(error) {
66
66
  expect(error.requestId).to.be.ok
@@ -178,6 +178,16 @@ it("cdb.v20170320.DescribeCdbZoneConfig", async function () {
178
178
  }
179
179
  })
180
180
 
181
+ it("cdb.v20170320.CloseAuditService", async function () {
182
+ try {
183
+ const data = await client.CloseAuditService({})
184
+ expect(data).to.be.ok
185
+ } catch(error) {
186
+ expect(error.requestId).to.be.ok
187
+ expect(error.code).to.be.ok
188
+ }
189
+ })
190
+
181
191
  it("cdb.v20170320.StopRollback", async function () {
182
192
  try {
183
193
  const data = await client.StopRollback({})
@@ -278,6 +288,16 @@ it("cdb.v20170320.DescribeBackupConfig", async function () {
278
288
  }
279
289
  })
280
290
 
291
+ it("cdb.v20170320.OpenDBInstanceEncryption", async function () {
292
+ try {
293
+ const data = await client.OpenDBInstanceEncryption({})
294
+ expect(data).to.be.ok
295
+ } catch(error) {
296
+ expect(error.requestId).to.be.ok
297
+ expect(error.code).to.be.ok
298
+ }
299
+ })
300
+
281
301
  it("cdb.v20170320.CloseWanService", async function () {
282
302
  try {
283
303
  const data = await client.CloseWanService({})
@@ -308,9 +328,9 @@ it("cdb.v20170320.DescribeAuditPolicies", async function () {
308
328
  }
309
329
  })
310
330
 
311
- it("cdb.v20170320.OpenDBInstanceEncryption", async function () {
331
+ it("cdb.v20170320.DeleteDatabase", async function () {
312
332
  try {
313
- const data = await client.OpenDBInstanceEncryption({})
333
+ const data = await client.DeleteDatabase({})
314
334
  expect(data).to.be.ok
315
335
  } catch(error) {
316
336
  expect(error.requestId).to.be.ok
@@ -358,9 +378,9 @@ it("cdb.v20170320.SwitchDBInstanceMasterSlave", async function () {
358
378
  }
359
379
  })
360
380
 
361
- it("cdb.v20170320.DeleteAuditPolicy", async function () {
381
+ it("cdb.v20170320.CreateDatabase", async function () {
362
382
  try {
363
- const data = await client.DeleteAuditPolicy({})
383
+ const data = await client.CreateDatabase({})
364
384
  expect(data).to.be.ok
365
385
  } catch(error) {
366
386
  expect(error.requestId).to.be.ok
@@ -408,6 +428,16 @@ it("cdb.v20170320.DescribeAccountPrivileges", async function () {
408
428
  }
409
429
  })
410
430
 
431
+ it("cdb.v20170320.DescribeDataBackupOverview", async function () {
432
+ try {
433
+ const data = await client.DescribeDataBackupOverview({})
434
+ expect(data).to.be.ok
435
+ } catch(error) {
436
+ expect(error.requestId).to.be.ok
437
+ expect(error.code).to.be.ok
438
+ }
439
+ })
440
+
411
441
  it("cdb.v20170320.ReleaseIsolatedDBInstances", async function () {
412
442
  try {
413
443
  const data = await client.ReleaseIsolatedDBInstances({})
@@ -478,9 +508,9 @@ it("cdb.v20170320.SwitchForUpgrade", async function () {
478
508
  }
479
509
  })
480
510
 
481
- it("cdb.v20170320.DeleteParamTemplate", async function () {
511
+ it("cdb.v20170320.DeleteAuditRuleTemplates", async function () {
482
512
  try {
483
- const data = await client.DeleteParamTemplate({})
513
+ const data = await client.DeleteAuditRuleTemplates({})
484
514
  expect(data).to.be.ok
485
515
  } catch(error) {
486
516
  expect(error.requestId).to.be.ok
@@ -498,6 +528,16 @@ it("cdb.v20170320.DescribeBackups", async function () {
498
528
  }
499
529
  })
500
530
 
531
+ it("cdb.v20170320.DescribeCdbProxyInfo", async function () {
532
+ try {
533
+ const data = await client.DescribeCdbProxyInfo({})
534
+ expect(data).to.be.ok
535
+ } catch(error) {
536
+ expect(error.requestId).to.be.ok
537
+ expect(error.code).to.be.ok
538
+ }
539
+ })
540
+
501
541
  it("cdb.v20170320.CreateParamTemplate", async function () {
502
542
  try {
503
543
  const data = await client.CreateParamTemplate({})
@@ -588,9 +628,9 @@ it("cdb.v20170320.CreateCdbProxyAddress", async function () {
588
628
  }
589
629
  })
590
630
 
591
- it("cdb.v20170320.CreateDatabase", async function () {
631
+ it("cdb.v20170320.DeleteAuditPolicy", async function () {
592
632
  try {
593
- const data = await client.CreateDatabase({})
633
+ const data = await client.DeleteAuditPolicy({})
594
634
  expect(data).to.be.ok
595
635
  } catch(error) {
596
636
  expect(error.requestId).to.be.ok
@@ -918,9 +958,9 @@ it("cdb.v20170320.AdjustCdbProxyAddress", async function () {
918
958
  }
919
959
  })
920
960
 
921
- it("cdb.v20170320.DescribeCdbProxyInfo", async function () {
961
+ it("cdb.v20170320.DescribeAuditInstanceList", async function () {
922
962
  try {
923
- const data = await client.DescribeCdbProxyInfo({})
963
+ const data = await client.DescribeAuditInstanceList({})
924
964
  expect(data).to.be.ok
925
965
  } catch(error) {
926
966
  expect(error.requestId).to.be.ok
@@ -1158,6 +1198,16 @@ it("cdb.v20170320.ResetRootAccount", async function () {
1158
1198
  }
1159
1199
  })
1160
1200
 
1201
+ it("cdb.v20170320.ModifyAuditRuleTemplates", async function () {
1202
+ try {
1203
+ const data = await client.ModifyAuditRuleTemplates({})
1204
+ expect(data).to.be.ok
1205
+ } catch(error) {
1206
+ expect(error.requestId).to.be.ok
1207
+ expect(error.code).to.be.ok
1208
+ }
1209
+ })
1210
+
1161
1211
  it("cdb.v20170320.ModifyAccountPassword", async function () {
1162
1212
  try {
1163
1213
  const data = await client.ModifyAccountPassword({})
@@ -1218,6 +1268,16 @@ it("cdb.v20170320.DeleteAuditLogFile", async function () {
1218
1268
  }
1219
1269
  })
1220
1270
 
1271
+ it("cdb.v20170320.DescribeAuditRuleTemplates", async function () {
1272
+ try {
1273
+ const data = await client.DescribeAuditRuleTemplates({})
1274
+ expect(data).to.be.ok
1275
+ } catch(error) {
1276
+ expect(error.requestId).to.be.ok
1277
+ expect(error.code).to.be.ok
1278
+ }
1279
+ })
1280
+
1221
1281
  it("cdb.v20170320.ModifyBackupConfig", async function () {
1222
1282
  try {
1223
1283
  const data = await client.ModifyBackupConfig({})
@@ -1278,6 +1338,16 @@ it("cdb.v20170320.DescribeDBInstanceLogToCLS", async function () {
1278
1338
  }
1279
1339
  })
1280
1340
 
1341
+ it("cdb.v20170320.DescribeAuditRuleTemplateModifyHistory", async function () {
1342
+ try {
1343
+ const data = await client.DescribeAuditRuleTemplateModifyHistory({})
1344
+ expect(data).to.be.ok
1345
+ } catch(error) {
1346
+ expect(error.requestId).to.be.ok
1347
+ expect(error.code).to.be.ok
1348
+ }
1349
+ })
1350
+
1281
1351
  it("cdb.v20170320.CreateCdbProxy", async function () {
1282
1352
  try {
1283
1353
  const data = await client.CreateCdbProxy({})
@@ -1308,6 +1378,16 @@ it("cdb.v20170320.SwitchCDBProxy", async function () {
1308
1378
  }
1309
1379
  })
1310
1380
 
1381
+ it("cdb.v20170320.ModifyAuditService", async function () {
1382
+ try {
1383
+ const data = await client.ModifyAuditService({})
1384
+ expect(data).to.be.ok
1385
+ } catch(error) {
1386
+ expect(error.requestId).to.be.ok
1387
+ expect(error.code).to.be.ok
1388
+ }
1389
+ })
1390
+
1311
1391
  it("cdb.v20170320.ModifyCdbProxyParam", async function () {
1312
1392
  try {
1313
1393
  const data = await client.ModifyCdbProxyParam({})
@@ -1408,6 +1488,16 @@ it("cdb.v20170320.DescribeSupportedPrivileges", async function () {
1408
1488
  }
1409
1489
  })
1410
1490
 
1491
+ it("cdb.v20170320.DeleteParamTemplate", async function () {
1492
+ try {
1493
+ const data = await client.DeleteParamTemplate({})
1494
+ expect(data).to.be.ok
1495
+ } catch(error) {
1496
+ expect(error.requestId).to.be.ok
1497
+ expect(error.code).to.be.ok
1498
+ }
1499
+ })
1500
+
1411
1501
  it("cdb.v20170320.UpgradeCDBProxyVersion", async function () {
1412
1502
  try {
1413
1503
  const data = await client.UpgradeCDBProxyVersion({})
@@ -68,6 +68,16 @@ it("cfg.v20210820.ModifyTaskRunStatus", async function () {
68
68
  }
69
69
  })
70
70
 
71
+ it("cfg.v20210820.TriggerPolicy", async function () {
72
+ try {
73
+ const data = await client.TriggerPolicy({})
74
+ expect(data).to.be.ok
75
+ } catch(error) {
76
+ expect(error.requestId).to.be.ok
77
+ expect(error.code).to.be.ok
78
+ }
79
+ })
80
+
71
81
  it("cfg.v20210820.DescribeTaskList", async function () {
72
82
  try {
73
83
  const data = await client.DescribeTaskList({})
@@ -98,6 +108,16 @@ it("cfg.v20210820.DescribeTask", async function () {
98
108
  }
99
109
  })
100
110
 
111
+ it("cfg.v20210820.DeleteTask", async function () {
112
+ try {
113
+ const data = await client.DeleteTask({})
114
+ expect(data).to.be.ok
115
+ } catch(error) {
116
+ expect(error.requestId).to.be.ok
117
+ expect(error.code).to.be.ok
118
+ }
119
+ })
120
+
101
121
  it("cfg.v20210820.ExecuteTask", async function () {
102
122
  try {
103
123
  const data = await client.ExecuteTask({})
@@ -108,9 +128,9 @@ it("cfg.v20210820.ExecuteTask", async function () {
108
128
  }
109
129
  })
110
130
 
111
- it("cfg.v20210820.DeleteTask", async function () {
131
+ it("cfg.v20210820.DescribeTaskPolicyTriggerLog", async function () {
112
132
  try {
113
- const data = await client.DeleteTask({})
133
+ const data = await client.DescribeTaskPolicyTriggerLog({})
114
134
  expect(data).to.be.ok
115
135
  } catch(error) {
116
136
  expect(error.requestId).to.be.ok