tencentcloud-sdk-nodejs 4.0.272 → 4.0.273

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 (34) hide show
  1. package/CHANGELOG.md +177 -0
  2. package/SERVICE_CHANGELOG.md +229 -142
  3. package/package.json +1 -1
  4. package/products.md +13 -13
  5. package/src/common/sdk_version.ts +1 -1
  6. package/src/services/apigateway/v20180808/apigateway_models.ts +35 -0
  7. package/src/services/cdb/v20170320/cdb_client.ts +467 -275
  8. package/src/services/cdb/v20170320/cdb_models.ts +4795 -3858
  9. package/src/services/cdn/v20180606/cdn_models.ts +7 -5
  10. package/src/services/eiam/v20210420/eiam_models.ts +1 -1
  11. package/src/services/eis/v20210601/eis_models.ts +25 -0
  12. package/src/services/ocr/v20181119/ocr_client.ts +3 -1
  13. package/src/services/ocr/v20181119/ocr_models.ts +25 -15
  14. package/src/services/tcb/v20180608/tcb_models.ts +5 -0
  15. package/src/services/tcss/v20201101/tcss_models.ts +18 -8
  16. package/src/services/tdmq/v20200217/tdmq_models.ts +1 -1
  17. package/src/services/tke/v20180525/tke_models.ts +5 -0
  18. package/tencentcloud/common/sdk_version.d.ts +1 -1
  19. package/tencentcloud/common/sdk_version.js +1 -1
  20. package/tencentcloud/services/apigateway/v20180808/apigateway_models.d.ts +28 -0
  21. package/tencentcloud/services/cdb/v20170320/cdb_client.d.ts +73 -13
  22. package/tencentcloud/services/cdb/v20170320/cdb_client.js +108 -18
  23. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +4349 -3547
  24. package/tencentcloud/services/cdn/v20180606/cdn_models.d.ts +7 -5
  25. package/tencentcloud/services/eiam/v20210420/eiam_models.d.ts +1 -1
  26. package/tencentcloud/services/eis/v20210601/eis_models.d.ts +20 -0
  27. package/tencentcloud/services/ocr/v20181119/ocr_client.d.ts +3 -1
  28. package/tencentcloud/services/ocr/v20181119/ocr_client.js +3 -1
  29. package/tencentcloud/services/ocr/v20181119/ocr_models.d.ts +23 -15
  30. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +4 -0
  31. package/tencentcloud/services/tcss/v20201101/tcss_models.d.ts +15 -6
  32. package/tencentcloud/services/tdmq/v20200217/tdmq_models.d.ts +1 -1
  33. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +4 -0
  34. package/test/cdb.v20170320.test.js +168 -18
@@ -3177,9 +3177,11 @@ export interface AddCdnDomainRequest {
3177
3177
  Domain: string;
3178
3178
  /**
3179
3179
  * 加速域名业务类型
3180
- web:静态加速
3181
- download:下载加速
3182
- media:流媒体点播加速
3180
+ web:网页小文件
3181
+ download:下载大文件
3182
+ media:音视频点播
3183
+ hybrid: 动静加速
3184
+ dynamic: 动态加速
3183
3185
  */
3184
3186
  ServiceType: string;
3185
3187
  /**
@@ -3312,7 +3314,7 @@ global:全球加速
3312
3314
  */
3313
3315
  OfflineCache?: OfflineCache;
3314
3316
  /**
3315
- * QUIC正在内测中,请先提交内测申请,详情请前往QUIC产品文档。
3317
+ * Quic访问(收费服务,详见计费说明和产品文档)
3316
3318
  */
3317
3319
  Quic?: Quic;
3318
3320
  /**
@@ -3535,7 +3537,7 @@ global:全球加速
3535
3537
  */
3536
3538
  OriginCombine?: OriginCombine;
3537
3539
  /**
3538
- * QUIC正在内测中,请先提交内测申请,详情请前往QUIC产品文档。
3540
+ * Quic访问(收费服务,详见计费说明和产品文档)
3539
3541
  */
3540
3542
  Quic?: Quic;
3541
3543
  /**
@@ -715,7 +715,7 @@ export interface DescribeApplicationResponse {
715
715
  */
716
716
  ClientId: string;
717
717
  /**
718
- * 应用类型,即创建应用时所选择的应用模版类型。
718
+ * 应用类型,即创建应用时所选择的应用模板类型。
719
719
  注意:此字段可能返回 null,表示取不到有效值。
720
720
  */
721
721
  ApplicationType: string;
@@ -59,6 +59,22 @@ export interface RuntimeMC {
59
59
  * 正在运行的应用实例数量
60
60
  */
61
61
  RunningInstanceCount: number;
62
+ /**
63
+ * 已使用cpu核数
64
+ */
65
+ CpuUsed: number;
66
+ /**
67
+ * cpu核数上限
68
+ */
69
+ CpuLimit: number;
70
+ /**
71
+ * 已使用内存 MB
72
+ */
73
+ MemoryUsed: number;
74
+ /**
75
+ * 内存上限 MB
76
+ */
77
+ MemoryLimit: number;
62
78
  }
63
79
  /**
64
80
  * GetRuntimeResourceMonitorMetricMC返回参数结构体
@@ -287,4 +303,8 @@ export interface RuntimeDeployedInstanceMC {
287
303
  * 应用实例部署更新时间
288
304
  */
289
305
  UpdatedAt: number;
306
+ /**
307
+ * 应用类型:0:NormalApp普通应用 1:TemplateApp模版应用 2:LightApp轻应用 3:MicroConnTemplate微连接模板 4:MicroConnApp微连接应用
308
+ */
309
+ ProjectType: number;
290
310
  }
@@ -512,7 +512,9 @@ export declare class Client extends AbstractClient {
512
512
 
513
513
  驾驶证副页:包括证号、姓名、档案编号、记录。
514
514
 
515
- 另外,本接口还支持复印件、翻拍和PS告警功能。
515
+ 另外,本接口还支持复印件、翻拍和PS告警功能。同时支持识别交管12123APP发放的电子驾驶证正页。
516
+
517
+ 电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
516
518
  */
517
519
  DriverLicenseOCR(req: DriverLicenseOCRRequest, cb?: (error: string, rep: DriverLicenseOCRResponse) => void): Promise<DriverLicenseOCRResponse>;
518
520
  /**
@@ -648,7 +648,9 @@ class Client extends abstract_client_1.AbstractClient {
648
648
 
649
649
  驾驶证副页:包括证号、姓名、档案编号、记录。
650
650
 
651
- 另外,本接口还支持复印件、翻拍和PS告警功能。
651
+ 另外,本接口还支持复印件、翻拍和PS告警功能。同时支持识别交管12123APP发放的电子驾驶证正页。
652
+
653
+ 电子驾驶证正页:包括证号、姓名、性别、国籍、出生日期、初次领证日期、准驾车型、有效期开始时间、有效期截止时间、档案编号、状态、累积记分。
652
654
  */
653
655
  async DriverLicenseOCR(req, cb) {
654
656
  return this.request("DriverLicenseOCR", req, cb);
@@ -521,51 +521,51 @@ export interface DriverLicenseOCRResponse {
521
521
  /**
522
522
  * 姓名
523
523
  */
524
- Name?: string;
524
+ Name: string;
525
525
  /**
526
526
  * 性别
527
527
  */
528
- Sex?: string;
528
+ Sex: string;
529
529
  /**
530
530
  * 国籍
531
531
  */
532
- Nationality?: string;
532
+ Nationality: string;
533
533
  /**
534
534
  * 住址
535
535
  */
536
- Address?: string;
536
+ Address: string;
537
537
  /**
538
538
  * 出生日期(YYYY-MM-DD)
539
539
  */
540
- DateOfBirth?: string;
540
+ DateOfBirth: string;
541
541
  /**
542
542
  * 初次领证日期(YYYY-MM-DD)
543
543
  */
544
- DateOfFirstIssue?: string;
544
+ DateOfFirstIssue: string;
545
545
  /**
546
546
  * 准驾车型
547
547
  */
548
- Class?: string;
548
+ Class: string;
549
549
  /**
550
550
  * 有效期开始时间(YYYY-MM-DD)
551
551
  */
552
- StartDate?: string;
552
+ StartDate: string;
553
553
  /**
554
554
  * 有效期截止时间(YYYY-MM-DD)
555
555
  */
556
- EndDate?: string;
556
+ EndDate: string;
557
557
  /**
558
558
  * 证号
559
559
  */
560
- CardCode?: string;
560
+ CardCode: string;
561
561
  /**
562
562
  * 档案编号
563
563
  */
564
- ArchivesCode?: string;
564
+ ArchivesCode: string;
565
565
  /**
566
566
  * 记录
567
567
  */
568
- Record?: string;
568
+ Record: string;
569
569
  /**
570
570
  * Code 告警码列表和释义:
571
571
  -9102 复印件告警
@@ -573,7 +573,7 @@ export interface DriverLicenseOCRResponse {
573
573
  -9106 ps告警
574
574
  注:告警码可以同时存在多个
575
575
  */
576
- RecognizeWarnCode?: Array<number>;
576
+ RecognizeWarnCode: Array<number>;
577
577
  /**
578
578
  * 告警码说明:
579
579
  WARN_DRIVER_LICENSE_COPY_CARD 复印件告警
@@ -581,11 +581,19 @@ WARN_DRIVER_LICENSE_SCREENED_CARD 翻拍件告警
581
581
  WARN_DRIVER_LICENSE_PS_CARD ps告警
582
582
  注:告警信息可以同时存在多个
583
583
  */
584
- RecognizeWarnMsg?: Array<string>;
584
+ RecognizeWarnMsg: Array<string>;
585
585
  /**
586
586
  * 发证单位
587
587
  */
588
- IssuingAuthority?: string;
588
+ IssuingAuthority: string;
589
+ /**
590
+ * 状态(仅电子驾驶证支持返回该字段)
591
+ */
592
+ State: string;
593
+ /**
594
+ * 累积记分(仅电子驾驶证支持返回该字段)
595
+ */
596
+ CumulativeScore: string;
589
597
  /**
590
598
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
591
599
  */
@@ -1605,6 +1605,10 @@ export interface CreateWxCloudBaseRunServerDBClusterRequest {
1605
1605
  * 微信appid
1606
1606
  */
1607
1607
  WxAppId?: string;
1608
+ /**
1609
+ * mysql内核版本,支持5.7,8.0
1610
+ */
1611
+ DbVersion?: string;
1608
1612
  }
1609
1613
  /**
1610
1614
  * DeleteCloudBaseProjectLatestVersion返回参数结构体
@@ -3430,7 +3430,7 @@ export interface ModifyVirusScanSettingRequest {
3430
3430
  */
3431
3431
  EnableScan: boolean;
3432
3432
  /**
3433
- * 检测周期每隔多少天
3433
+ * 检测周期每隔多少天(1|3|7)
3434
3434
  */
3435
3435
  Cycle: number;
3436
3436
  /**
@@ -3438,7 +3438,7 @@ export interface ModifyVirusScanSettingRequest {
3438
3438
  */
3439
3439
  BeginScanAt: string;
3440
3440
  /**
3441
- * 扫描全部路径
3441
+ * 扫描全部路径(true:全选,false:自选)
3442
3442
  */
3443
3443
  ScanPathAll: boolean;
3444
3444
  /**
@@ -3446,7 +3446,7 @@ export interface ModifyVirusScanSettingRequest {
3446
3446
  */
3447
3447
  ScanPathType: number;
3448
3448
  /**
3449
- * 超时时长
3449
+ * 超时时长(5~24h)
3450
3450
  */
3451
3451
  Timeout: number;
3452
3452
  /**
@@ -3460,11 +3460,11 @@ export interface ModifyVirusScanSettingRequest {
3460
3460
  /**
3461
3461
  * 自选扫描范围的容器id或者主机id 根据ScanRangeType决定
3462
3462
  */
3463
- ScanIds: Array<string>;
3463
+ ScanIds?: Array<string>;
3464
3464
  /**
3465
3465
  * 扫描路径
3466
3466
  */
3467
- ScanPath: Array<string>;
3467
+ ScanPath?: Array<string>;
3468
3468
  }
3469
3469
  /**
3470
3470
  * DescribeAssetDBServiceList请求参数结构体
@@ -4754,6 +4754,10 @@ export interface DescribeContainerSecEventSummaryResponse {
4754
4754
  * 未处理文件篡改
4755
4755
  */
4756
4756
  UnhandledFileCnt: number;
4757
+ /**
4758
+ * 未处理木马事件
4759
+ */
4760
+ UnhandledVirusEventCnt: number;
4757
4761
  /**
4758
4762
  * 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。
4759
4763
  */
@@ -5361,6 +5365,7 @@ export interface DescribeVirusScanSettingResponse {
5361
5365
  ScanPath: Array<string>;
5362
5366
  /**
5363
5367
  * 一键检测的超时设置
5368
+ 注意:此字段可能返回 null,表示取不到有效值。
5364
5369
  */
5365
5370
  ClickTimeout: number;
5366
5371
  /**
@@ -6052,6 +6057,7 @@ SCAN_SCANNING:正在扫描中,
6052
6057
  SCAN_FINISH:扫描完成,
6053
6058
  SCAN_TIMEOUT:扫描超时
6054
6059
  SCAN_CANCELING: 取消中
6060
+ SCAN_CANCELED:已取消
6055
6061
  */
6056
6062
  Status: string;
6057
6063
  /**
@@ -8655,7 +8661,7 @@ export interface ImageProgress {
8655
8661
  */
8656
8662
  export interface ModifyVirusScanTimeoutSettingRequest {
8657
8663
  /**
8658
- * 超时时长单位小时
8664
+ * 超时时长单位小时(5~24h)
8659
8665
  */
8660
8666
  Timeout: number;
8661
8667
  /**
@@ -9662,6 +9668,9 @@ FILE_ABNORMAL_DEAL_RECOVER:恢复文件时,文件异常
9662
9668
  BACKUP_FILE_NOT_FOUND:备份文件不存在
9663
9669
  CONTAINER_NOT_FOUND_DEAL_ISOLATE:隔离时,容器不存在
9664
9670
  CONTAINER_NOT_FOUND_DEAL_RECOVER:恢复时,容器不存在
9671
+ TIMEOUT: 超时
9672
+ TOO_MANY: 任务过多
9673
+ OFFLINE: 离线
9665
9674
  */
9666
9675
  SubStatus: string;
9667
9676
  }
@@ -3917,7 +3917,7 @@ export interface Cluster {
3917
3917
  */
3918
3918
  HealthyInfo: string;
3919
3919
  /**
3920
- * 集群状态,0:创建中,1:正常,2:删除中,3:已删除,5:创建失败,6: 删除失败
3920
+ * 集群状态,0:创建中,1:正常,2:销毁中,3:已删除,4: 隔离中,5:创建失败,6: 删除失败
3921
3921
  */
3922
3922
  Status: number;
3923
3923
  /**
@@ -393,6 +393,10 @@ export interface UpdateEKSClusterRequest {
393
393
  * 标记是否是新的内外网。默认为false
394
394
  */
395
395
  ProxyLB?: boolean;
396
+ /**
397
+ * 扩展参数。须是map[string]string 的json 格式。
398
+ */
399
+ ExtraParam?: string;
396
400
  }
397
401
  /**
398
402
  * CreateClusterRouteTable返回参数结构体
@@ -38,9 +38,9 @@ it("cdb.v20170320.CreateRoInstanceIp", async function () {
38
38
  }
39
39
  })
40
40
 
41
- it("cdb.v20170320.CreateAuditPolicy", async function () {
41
+ it("cdb.v20170320.DescribeTimeWindow", async function () {
42
42
  try {
43
- const data = await client.CreateAuditPolicy({})
43
+ const data = await client.DescribeTimeWindow({})
44
44
  expect(data).to.be.ok
45
45
  } catch(error) {
46
46
  expect(error.requestId).to.be.ok
@@ -98,9 +98,9 @@ it("cdb.v20170320.ModifyInstanceTag", async function () {
98
98
  }
99
99
  })
100
100
 
101
- it("cdb.v20170320.DescribeTimeWindow", async function () {
101
+ it("cdb.v20170320.CreateAuditPolicy", async function () {
102
102
  try {
103
- const data = await client.DescribeTimeWindow({})
103
+ const data = await client.CreateAuditPolicy({})
104
104
  expect(data).to.be.ok
105
105
  } catch(error) {
106
106
  expect(error.requestId).to.be.ok
@@ -178,6 +178,16 @@ it("cdb.v20170320.OpenDBInstanceGTID", async function () {
178
178
  }
179
179
  })
180
180
 
181
+ it("cdb.v20170320.ModifyCDBProxyDesc", async function () {
182
+ try {
183
+ const data = await client.ModifyCDBProxyDesc({})
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.DescribeRollbackTaskDetail", async function () {
182
192
  try {
183
193
  const data = await client.DescribeRollbackTaskDetail({})
@@ -308,16 +318,6 @@ it("cdb.v20170320.DescribeTables", async function () {
308
318
  }
309
319
  })
310
320
 
311
- it("cdb.v20170320.DeleteTimeWindow", async function () {
312
- try {
313
- const data = await client.DeleteTimeWindow({})
314
- expect(data).to.be.ok
315
- } catch(error) {
316
- expect(error.requestId).to.be.ok
317
- expect(error.code).to.be.ok
318
- }
319
- })
320
-
321
321
  it("cdb.v20170320.DescribeAccountPrivileges", async function () {
322
322
  try {
323
323
  const data = await client.DescribeAccountPrivileges({})
@@ -438,6 +438,16 @@ it("cdb.v20170320.AddTimeWindow", async function () {
438
438
  }
439
439
  })
440
440
 
441
+ it("cdb.v20170320.DescribeDeviceMonitorInfo", async function () {
442
+ try {
443
+ const data = await client.DescribeDeviceMonitorInfo({})
444
+ expect(data).to.be.ok
445
+ } catch(error) {
446
+ expect(error.requestId).to.be.ok
447
+ expect(error.code).to.be.ok
448
+ }
449
+ })
450
+
441
451
  it("cdb.v20170320.CreateBackup", async function () {
442
452
  try {
443
453
  const data = await client.CreateBackup({})
@@ -498,6 +508,16 @@ it("cdb.v20170320.DescribeProjectSecurityGroups", async function () {
498
508
  }
499
509
  })
500
510
 
511
+ it("cdb.v20170320.ModifyCDBProxyConnectionPool", async function () {
512
+ try {
513
+ const data = await client.ModifyCDBProxyConnectionPool({})
514
+ expect(data).to.be.ok
515
+ } catch(error) {
516
+ expect(error.requestId).to.be.ok
517
+ expect(error.code).to.be.ok
518
+ }
519
+ })
520
+
501
521
  it("cdb.v20170320.DescribeSlowLogs", async function () {
502
522
  try {
503
523
  const data = await client.DescribeSlowLogs({})
@@ -518,6 +538,16 @@ it("cdb.v20170320.InquiryPriceUpgradeInstances", async function () {
518
538
  }
519
539
  })
520
540
 
541
+ it("cdb.v20170320.ModifyLocalBinlogConfig", async function () {
542
+ try {
543
+ const data = await client.ModifyLocalBinlogConfig({})
544
+ expect(data).to.be.ok
545
+ } catch(error) {
546
+ expect(error.requestId).to.be.ok
547
+ expect(error.code).to.be.ok
548
+ }
549
+ })
550
+
521
551
  it("cdb.v20170320.CreateDBInstance", async function () {
522
552
  try {
523
553
  const data = await client.CreateDBInstance({})
@@ -548,6 +578,26 @@ it("cdb.v20170320.DescribeInstanceParams", async function () {
548
578
  }
549
579
  })
550
580
 
581
+ it("cdb.v20170320.ModifyCDBProxy", async function () {
582
+ try {
583
+ const data = await client.ModifyCDBProxy({})
584
+ expect(data).to.be.ok
585
+ } catch(error) {
586
+ expect(error.requestId).to.be.ok
587
+ expect(error.code).to.be.ok
588
+ }
589
+ })
590
+
591
+ it("cdb.v20170320.DescribeProxyCustomConf", async function () {
592
+ try {
593
+ const data = await client.DescribeProxyCustomConf({})
594
+ expect(data).to.be.ok
595
+ } catch(error) {
596
+ expect(error.requestId).to.be.ok
597
+ expect(error.code).to.be.ok
598
+ }
599
+ })
600
+
551
601
  it("cdb.v20170320.DescribeDeployGroupList", async function () {
552
602
  try {
553
603
  const data = await client.DescribeDeployGroupList({})
@@ -578,6 +628,16 @@ it("cdb.v20170320.CreateAccounts", async function () {
578
628
  }
579
629
  })
580
630
 
631
+ it("cdb.v20170320.UpgradeCDBProxy", async function () {
632
+ try {
633
+ const data = await client.UpgradeCDBProxy({})
634
+ expect(data).to.be.ok
635
+ } catch(error) {
636
+ expect(error.requestId).to.be.ok
637
+ expect(error.code).to.be.ok
638
+ }
639
+ })
640
+
581
641
  it("cdb.v20170320.UpgradeDBInstanceEngineVersion", async function () {
582
642
  try {
583
643
  const data = await client.UpgradeDBInstanceEngineVersion({})
@@ -698,6 +758,16 @@ it("cdb.v20170320.DeleteBackup", async function () {
698
758
  }
699
759
  })
700
760
 
761
+ it("cdb.v20170320.ModifyCDBProxyVipVPort", async function () {
762
+ try {
763
+ const data = await client.ModifyCDBProxyVipVPort({})
764
+ expect(data).to.be.ok
765
+ } catch(error) {
766
+ expect(error.requestId).to.be.ok
767
+ expect(error.code).to.be.ok
768
+ }
769
+ })
770
+
701
771
  it("cdb.v20170320.DescribeRoMinScale", async function () {
702
772
  try {
703
773
  const data = await client.DescribeRoMinScale({})
@@ -738,6 +808,26 @@ it("cdb.v20170320.ModifyInstanceParam", async function () {
738
808
  }
739
809
  })
740
810
 
811
+ it("cdb.v20170320.CloseCDBProxy", async function () {
812
+ try {
813
+ const data = await client.CloseCDBProxy({})
814
+ expect(data).to.be.ok
815
+ } catch(error) {
816
+ expect(error.requestId).to.be.ok
817
+ expect(error.code).to.be.ok
818
+ }
819
+ })
820
+
821
+ it("cdb.v20170320.ModifyAccountMaxUserConnections", async function () {
822
+ try {
823
+ const data = await client.ModifyAccountMaxUserConnections({})
824
+ expect(data).to.be.ok
825
+ } catch(error) {
826
+ expect(error.requestId).to.be.ok
827
+ expect(error.code).to.be.ok
828
+ }
829
+ })
830
+
741
831
  it("cdb.v20170320.DescribeAsyncRequestInfo", async function () {
742
832
  try {
743
833
  const data = await client.DescribeAsyncRequestInfo({})
@@ -878,6 +968,16 @@ it("cdb.v20170320.DescribeAccounts", async function () {
878
968
  }
879
969
  })
880
970
 
971
+ it("cdb.v20170320.ReloadBalanceProxyNode", async function () {
972
+ try {
973
+ const data = await client.ReloadBalanceProxyNode({})
974
+ expect(data).to.be.ok
975
+ } catch(error) {
976
+ expect(error.requestId).to.be.ok
977
+ expect(error.code).to.be.ok
978
+ }
979
+ })
980
+
881
981
  it("cdb.v20170320.VerifyRootAccount", async function () {
882
982
  try {
883
983
  const data = await client.VerifyRootAccount({})
@@ -918,6 +1018,16 @@ it("cdb.v20170320.DescribeUploadedFiles", async function () {
918
1018
  }
919
1019
  })
920
1020
 
1021
+ it("cdb.v20170320.DescribeCDBProxy", async function () {
1022
+ try {
1023
+ const data = await client.DescribeCDBProxy({})
1024
+ expect(data).to.be.ok
1025
+ } catch(error) {
1026
+ expect(error.requestId).to.be.ok
1027
+ expect(error.code).to.be.ok
1028
+ }
1029
+ })
1030
+
921
1031
  it("cdb.v20170320.ModifyAccountDescription", async function () {
922
1032
  try {
923
1033
  const data = await client.ModifyAccountDescription({})
@@ -968,6 +1078,16 @@ it("cdb.v20170320.ModifyBackupConfig", async function () {
968
1078
  }
969
1079
  })
970
1080
 
1081
+ it("cdb.v20170320.ApplyCDBProxy", async function () {
1082
+ try {
1083
+ const data = await client.ApplyCDBProxy({})
1084
+ expect(data).to.be.ok
1085
+ } catch(error) {
1086
+ expect(error.requestId).to.be.ok
1087
+ expect(error.code).to.be.ok
1088
+ }
1089
+ })
1090
+
971
1091
  it("cdb.v20170320.DescribeAuditRules", async function () {
972
1092
  try {
973
1093
  const data = await client.DescribeAuditRules({})
@@ -1008,6 +1128,16 @@ it("cdb.v20170320.ModifyAutoRenewFlag", async function () {
1008
1128
  }
1009
1129
  })
1010
1130
 
1131
+ it("cdb.v20170320.SwitchCDBProxy", async function () {
1132
+ try {
1133
+ const data = await client.SwitchCDBProxy({})
1134
+ expect(data).to.be.ok
1135
+ } catch(error) {
1136
+ expect(error.requestId).to.be.ok
1137
+ expect(error.code).to.be.ok
1138
+ }
1139
+ })
1140
+
1011
1141
  it("cdb.v20170320.RenewDBInstance", async function () {
1012
1142
  try {
1013
1143
  const data = await client.RenewDBInstance({})
@@ -1038,9 +1168,9 @@ it("cdb.v20170320.ModifyDBInstanceProject", async function () {
1038
1168
  }
1039
1169
  })
1040
1170
 
1041
- it("cdb.v20170320.DescribeDeviceMonitorInfo", async function () {
1171
+ it("cdb.v20170320.DescribeLocalBinlogConfig", async function () {
1042
1172
  try {
1043
- const data = await client.DescribeDeviceMonitorInfo({})
1173
+ const data = await client.DescribeLocalBinlogConfig({})
1044
1174
  expect(data).to.be.ok
1045
1175
  } catch(error) {
1046
1176
  expect(error.requestId).to.be.ok
@@ -1088,6 +1218,16 @@ it("cdb.v20170320.DeleteAuditRule", async function () {
1088
1218
  }
1089
1219
  })
1090
1220
 
1221
+ it("cdb.v20170320.DescribeProxyConnectionPoolConf", async function () {
1222
+ try {
1223
+ const data = await client.DescribeProxyConnectionPoolConf({})
1224
+ expect(data).to.be.ok
1225
+ } catch(error) {
1226
+ expect(error.requestId).to.be.ok
1227
+ expect(error.code).to.be.ok
1228
+ }
1229
+ })
1230
+
1091
1231
  it("cdb.v20170320.DescribeSupportedPrivileges", async function () {
1092
1232
  try {
1093
1233
  const data = await client.DescribeSupportedPrivileges({})
@@ -1098,6 +1238,16 @@ it("cdb.v20170320.DescribeSupportedPrivileges", async function () {
1098
1238
  }
1099
1239
  })
1100
1240
 
1241
+ it("cdb.v20170320.UpgradeCDBProxyVersion", async function () {
1242
+ try {
1243
+ const data = await client.UpgradeCDBProxyVersion({})
1244
+ expect(data).to.be.ok
1245
+ } catch(error) {
1246
+ expect(error.requestId).to.be.ok
1247
+ expect(error.code).to.be.ok
1248
+ }
1249
+ })
1250
+
1101
1251
  it("cdb.v20170320.DescribeBinlogs", async function () {
1102
1252
  try {
1103
1253
  const data = await client.DescribeBinlogs({})
@@ -1168,9 +1318,9 @@ it("cdb.v20170320.CreateDeployGroup", async function () {
1168
1318
  }
1169
1319
  })
1170
1320
 
1171
- it("cdb.v20170320.ModifyAccountMaxUserConnections", async function () {
1321
+ it("cdb.v20170320.DeleteTimeWindow", async function () {
1172
1322
  try {
1173
- const data = await client.ModifyAccountMaxUserConnections({})
1323
+ const data = await client.DeleteTimeWindow({})
1174
1324
  expect(data).to.be.ok
1175
1325
  } catch(error) {
1176
1326
  expect(error.requestId).to.be.ok