tencentcloud-sdk-nodejs-intl-en 3.0.1380 → 3.0.1382

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.
@@ -204,6 +204,30 @@ class CreateDBInstancesRequest extends AbstractModel {
204
204
  */
205
205
  this.AutoScaleConfig = null;
206
206
 
207
+ /**
208
+ * <p>Bind to security group list</p>
209
+ * @type {Array.<string> || null}
210
+ */
211
+ this.SecurityGroupIds = null;
212
+
213
+ /**
214
+ * <p>root userName. The default is dbaadmin in the current version. It will reset to dbaadmin even if a value is passed.</p>
215
+ * @type {string || null}
216
+ */
217
+ this.UserName = null;
218
+
219
+ /**
220
+ * <p>dbaadmin password</p>
221
+ * @type {string || null}
222
+ */
223
+ this.Password = null;
224
+
225
+ /**
226
+ * <p>Whether transparent data encryption is enabled. 0: not enabled; 1: enabled</p>
227
+ * @type {number || null}
228
+ */
229
+ this.EncryptionEnable = null;
230
+
207
231
  }
208
232
 
209
233
  /**
@@ -264,6 +288,45 @@ class CreateDBInstancesRequest extends AbstractModel {
264
288
  obj.deserialize(params.AutoScaleConfig)
265
289
  this.AutoScaleConfig = obj;
266
290
  }
291
+ this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
292
+ this.UserName = 'UserName' in params ? params.UserName : null;
293
+ this.Password = 'Password' in params ? params.Password : null;
294
+ this.EncryptionEnable = 'EncryptionEnable' in params ? params.EncryptionEnable : null;
295
+
296
+ }
297
+ }
298
+
299
+ /**
300
+ * ModifyDBInstanceVPort request structure.
301
+ * @class
302
+ */
303
+ class ModifyDBInstanceVPortRequest extends AbstractModel {
304
+ constructor(){
305
+ super();
306
+
307
+ /**
308
+ * Instance ID, such as tdsql3-5baee8df.
309
+ * @type {string || null}
310
+ */
311
+ this.InstanceId = null;
312
+
313
+ /**
314
+ * New VPC port 3308
315
+ * @type {number || null}
316
+ */
317
+ this.Vport = null;
318
+
319
+ }
320
+
321
+ /**
322
+ * @private
323
+ */
324
+ deserialize(params) {
325
+ if (!params) {
326
+ return;
327
+ }
328
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
329
+ this.Vport = 'Vport' in params ? params.Vport : null;
267
330
 
268
331
  }
269
332
  }
@@ -489,6 +552,69 @@ class DescribeDBParametersRequest extends AbstractModel {
489
552
  }
490
553
  }
491
554
 
555
+ /**
556
+ * ModifyInstanceNetwork response structure.
557
+ * @class
558
+ */
559
+ class ModifyInstanceNetworkResponse extends AbstractModel {
560
+ constructor(){
561
+ super();
562
+
563
+ /**
564
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
565
+ * @type {string || null}
566
+ */
567
+ this.RequestId = null;
568
+
569
+ }
570
+
571
+ /**
572
+ * @private
573
+ */
574
+ deserialize(params) {
575
+ if (!params) {
576
+ return;
577
+ }
578
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
579
+
580
+ }
581
+ }
582
+
583
+ /**
584
+ * ModifyInstanceSSLStatus response structure.
585
+ * @class
586
+ */
587
+ class ModifyInstanceSSLStatusResponse extends AbstractModel {
588
+ constructor(){
589
+ super();
590
+
591
+ /**
592
+ * <p>Async process ID.</p>
593
+ * @type {number || null}
594
+ */
595
+ this.FlowId = null;
596
+
597
+ /**
598
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
599
+ * @type {string || null}
600
+ */
601
+ this.RequestId = null;
602
+
603
+ }
604
+
605
+ /**
606
+ * @private
607
+ */
608
+ deserialize(params) {
609
+ if (!params) {
610
+ return;
611
+ }
612
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
613
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
614
+
615
+ }
616
+ }
617
+
492
618
  /**
493
619
  * RestartDBInstances response structure.
494
620
  * @class
@@ -524,6 +650,91 @@ class RestartDBInstancesResponse extends AbstractModel {
524
650
  }
525
651
  }
526
652
 
653
+ /**
654
+ * DescribeSlowLogs request structure.
655
+ * @class
656
+ */
657
+ class DescribeSlowLogsRequest extends AbstractModel {
658
+ constructor(){
659
+ super();
660
+
661
+ /**
662
+ * Instance ID.
663
+ * @type {string || null}
664
+ */
665
+ this.InstanceId = null;
666
+
667
+ /**
668
+ * Search log start time
669
+ * @type {string || null}
670
+ */
671
+ this.StartTime = null;
672
+
673
+ /**
674
+ * End time to retrieve logs
675
+ * @type {string || null}
676
+ */
677
+ this.EndTime = null;
678
+
679
+ /**
680
+ * Filter criteria.
681
+ * @type {Array.<LogFilter> || null}
682
+ */
683
+ this.LogFilter = null;
684
+
685
+ /**
686
+ * Items per page limit
687
+ * @type {number || null}
688
+ */
689
+ this.Limit = null;
690
+
691
+ /**
692
+ * Offset.
693
+ * @type {number || null}
694
+ */
695
+ this.Offset = null;
696
+
697
+ /**
698
+ * Sort, selectable: ASC, DESC
699
+ * @type {string || null}
700
+ */
701
+ this.Order = null;
702
+
703
+ /**
704
+ * Sorting criteria may not be the same as selectable fields used to sort according to business.
705
+ * @type {string || null}
706
+ */
707
+ this.OrderBy = null;
708
+
709
+ }
710
+
711
+ /**
712
+ * @private
713
+ */
714
+ deserialize(params) {
715
+ if (!params) {
716
+ return;
717
+ }
718
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
719
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
720
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
721
+
722
+ if (params.LogFilter) {
723
+ this.LogFilter = new Array();
724
+ for (let z in params.LogFilter) {
725
+ let obj = new LogFilter();
726
+ obj.deserialize(params.LogFilter[z]);
727
+ this.LogFilter.push(obj);
728
+ }
729
+ }
730
+ this.Limit = 'Limit' in params ? params.Limit : null;
731
+ this.Offset = 'Offset' in params ? params.Offset : null;
732
+ this.Order = 'Order' in params ? params.Order : null;
733
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
734
+
735
+ }
736
+ }
737
+
527
738
  /**
528
739
  * ModifyInstanceName request structure.
529
740
  * @class
@@ -689,6 +900,123 @@ class InstanceFilter extends AbstractModel {
689
900
  }
690
901
  }
691
902
 
903
+ /**
904
+ * Execution plan
905
+ * @class
906
+ */
907
+ class Explain extends AbstractModel {
908
+ constructor(){
909
+ super();
910
+
911
+ /**
912
+ * <p>Identifier</p>
913
+ Note: This field may return null, indicating that no valid values can be obtained.
914
+ * @type {string || null}
915
+ */
916
+ this.ID = null;
917
+
918
+ /**
919
+ * <p>Query type</p><p>Enumeration value:</p><ul><li>SIMPLE: A regular query with no subquery and UNION. Single table or ordinary JOIN is SIMPLE.</li></ul>
920
+ Note: This field may return null, indicating that no valid values can be obtained.
921
+ * @type {string || null}
922
+ */
923
+ this.SelectType = null;
924
+
925
+ /**
926
+ * <p>Table name</p>
927
+ Note: This field may return null, indicating that no valid values can be obtained.
928
+ * @type {string || null}
929
+ */
930
+ this.Table = null;
931
+
932
+ /**
933
+ * <p>Partition</p>
934
+ Note: This field may return null, indicating that no valid values can be obtained.
935
+ * @type {string || null}
936
+ */
937
+ this.Partitions = null;
938
+
939
+ /**
940
+ * <p>Access type</p>
941
+ Note: This field may return null, indicating that no valid values can be obtained.
942
+ * @type {string || null}
943
+ */
944
+ this.Type = null;
945
+
946
+ /**
947
+ * <p>Possibly used indexes</p>
948
+ Note: This field may return null, indicating that no valid values can be obtained.
949
+ * @type {string || null}
950
+ */
951
+ this.PossibleKeys = null;
952
+
953
+ /**
954
+ * <p>Used Indexes</p>
955
+ Note: This field may return null, indicating that no valid values can be obtained.
956
+ * @type {string || null}
957
+ */
958
+ this.Key = null;
959
+
960
+ /**
961
+ * <p>Used Indexes length</p>
962
+ Note: This field may return null, indicating that no valid values can be obtained.
963
+ * @type {string || null}
964
+ */
965
+ this.KeyLen = null;
966
+
967
+ /**
968
+ * <p>Column or constant to compare with the index</p>
969
+ Note: This field may return null, indicating that no valid values can be obtained.
970
+ * @type {string || null}
971
+ */
972
+ this.Ref = null;
973
+
974
+ /**
975
+ * <p>Estimate the number of scanned rows</p>
976
+ Note: This field may return null, indicating that no valid values can be obtained.
977
+ * @type {string || null}
978
+ */
979
+ this.Rows = null;
980
+
981
+ /**
982
+ * <p>Estimated percentage of remaining rows after conditional filtering</p>
983
+ Note: This field may return null, indicating that no valid values can be obtained.
984
+ * @type {string || null}
985
+ */
986
+ this.Filtered = null;
987
+
988
+ /**
989
+ * <p>Additional information, such as Using index, Using filesort</p>
990
+ Note: This field may return null, indicating that no valid values can be obtained.
991
+ * @type {string || null}
992
+ */
993
+ this.Extra = null;
994
+
995
+ }
996
+
997
+ /**
998
+ * @private
999
+ */
1000
+ deserialize(params) {
1001
+ if (!params) {
1002
+ return;
1003
+ }
1004
+ this.ID = 'ID' in params ? params.ID : null;
1005
+ this.SelectType = 'SelectType' in params ? params.SelectType : null;
1006
+ this.Table = 'Table' in params ? params.Table : null;
1007
+ this.Partitions = 'Partitions' in params ? params.Partitions : null;
1008
+ this.Type = 'Type' in params ? params.Type : null;
1009
+ this.PossibleKeys = 'PossibleKeys' in params ? params.PossibleKeys : null;
1010
+ this.Key = 'Key' in params ? params.Key : null;
1011
+ this.KeyLen = 'KeyLen' in params ? params.KeyLen : null;
1012
+ this.Ref = 'Ref' in params ? params.Ref : null;
1013
+ this.Rows = 'Rows' in params ? params.Rows : null;
1014
+ this.Filtered = 'Filtered' in params ? params.Filtered : null;
1015
+ this.Extra = 'Extra' in params ? params.Extra : null;
1016
+
1017
+ }
1018
+ }
1019
+
692
1020
  /**
693
1021
  * Backup statistics object
694
1022
  * @class
@@ -891,6 +1219,41 @@ Note: This field may return null, indicating that no valid values can be obtaine
891
1219
  }
892
1220
  }
893
1221
 
1222
+ /**
1223
+ * ModifyInstanceSSLStatus request structure.
1224
+ * @class
1225
+ */
1226
+ class ModifyInstanceSSLStatusRequest extends AbstractModel {
1227
+ constructor(){
1228
+ super();
1229
+
1230
+ /**
1231
+ * <p>Instance ID.</p>
1232
+ * @type {string || null}
1233
+ */
1234
+ this.InstanceId = null;
1235
+
1236
+ /**
1237
+ * <p>Whether to enable SSL.</p>
1238
+ * @type {boolean || null}
1239
+ */
1240
+ this.Enabled = null;
1241
+
1242
+ }
1243
+
1244
+ /**
1245
+ * @private
1246
+ */
1247
+ deserialize(params) {
1248
+ if (!params) {
1249
+ return;
1250
+ }
1251
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
1252
+ this.Enabled = 'Enabled' in params ? params.Enabled : null;
1253
+
1254
+ }
1255
+ }
1256
+
894
1257
  /**
895
1258
  * ModifyInstanceName response structure.
896
1259
  * @class
@@ -1097,40 +1460,104 @@ Note: This field may return null, indicating that no valid values can be obtaine
1097
1460
  if (!params) {
1098
1461
  return;
1099
1462
  }
1100
- this.SpecCode = 'SpecCode' in params ? params.SpecCode : null;
1101
- this.StorageNodeCpu = 'StorageNodeCpu' in params ? params.StorageNodeCpu : null;
1102
- this.StorageNodeMem = 'StorageNodeMem' in params ? params.StorageNodeMem : null;
1103
- this.StorageNodeMaxNum = 'StorageNodeMaxNum' in params ? params.StorageNodeMaxNum : null;
1104
- this.StorageNodeMaxDisk = 'StorageNodeMaxDisk' in params ? params.StorageNodeMaxDisk : null;
1105
- this.StorageNodeMinNum = 'StorageNodeMinNum' in params ? params.StorageNodeMinNum : null;
1106
- this.StorageNodeMinDisk = 'StorageNodeMinDisk' in params ? params.StorageNodeMinDisk : null;
1107
- this.StorageType = 'StorageType' in params ? params.StorageType : null;
1108
- this.StorageNodeDefaultDisk = 'StorageNodeDefaultDisk' in params ? params.StorageNodeDefaultDisk : null;
1109
- this.InstanceMode = 'InstanceMode' in params ? params.InstanceMode : null;
1110
- this.DiskTypeCategory = 'DiskTypeCategory' in params ? params.DiskTypeCategory : null;
1463
+ this.SpecCode = 'SpecCode' in params ? params.SpecCode : null;
1464
+ this.StorageNodeCpu = 'StorageNodeCpu' in params ? params.StorageNodeCpu : null;
1465
+ this.StorageNodeMem = 'StorageNodeMem' in params ? params.StorageNodeMem : null;
1466
+ this.StorageNodeMaxNum = 'StorageNodeMaxNum' in params ? params.StorageNodeMaxNum : null;
1467
+ this.StorageNodeMaxDisk = 'StorageNodeMaxDisk' in params ? params.StorageNodeMaxDisk : null;
1468
+ this.StorageNodeMinNum = 'StorageNodeMinNum' in params ? params.StorageNodeMinNum : null;
1469
+ this.StorageNodeMinDisk = 'StorageNodeMinDisk' in params ? params.StorageNodeMinDisk : null;
1470
+ this.StorageType = 'StorageType' in params ? params.StorageType : null;
1471
+ this.StorageNodeDefaultDisk = 'StorageNodeDefaultDisk' in params ? params.StorageNodeDefaultDisk : null;
1472
+ this.InstanceMode = 'InstanceMode' in params ? params.InstanceMode : null;
1473
+ this.DiskTypeCategory = 'DiskTypeCategory' in params ? params.DiskTypeCategory : null;
1474
+
1475
+ }
1476
+ }
1477
+
1478
+ /**
1479
+ * IsolateDBInstance response structure.
1480
+ * @class
1481
+ */
1482
+ class IsolateDBInstanceResponse extends AbstractModel {
1483
+ constructor(){
1484
+ super();
1485
+
1486
+ /**
1487
+ * Isolation successful instance Id list.
1488
+ * @type {Array.<string> || null}
1489
+ */
1490
+ this.SuccessInstanceIds = null;
1491
+
1492
+ /**
1493
+ * Isolation failed instance Id list.
1494
+ * @type {Array.<string> || null}
1495
+ */
1496
+ this.FailedInstanceIds = null;
1497
+
1498
+ /**
1499
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1500
+ * @type {string || null}
1501
+ */
1502
+ this.RequestId = null;
1503
+
1504
+ }
1505
+
1506
+ /**
1507
+ * @private
1508
+ */
1509
+ deserialize(params) {
1510
+ if (!params) {
1511
+ return;
1512
+ }
1513
+ this.SuccessInstanceIds = 'SuccessInstanceIds' in params ? params.SuccessInstanceIds : null;
1514
+ this.FailedInstanceIds = 'FailedInstanceIds' in params ? params.FailedInstanceIds : null;
1515
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1516
+
1517
+ }
1518
+ }
1519
+
1520
+ /**
1521
+ * ResetUserPassword response structure.
1522
+ * @class
1523
+ */
1524
+ class ResetUserPasswordResponse extends AbstractModel {
1525
+ constructor(){
1526
+ super();
1527
+
1528
+ /**
1529
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
1530
+ * @type {string || null}
1531
+ */
1532
+ this.RequestId = null;
1533
+
1534
+ }
1535
+
1536
+ /**
1537
+ * @private
1538
+ */
1539
+ deserialize(params) {
1540
+ if (!params) {
1541
+ return;
1542
+ }
1543
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
1111
1544
 
1112
1545
  }
1113
1546
  }
1114
1547
 
1115
1548
  /**
1116
- * IsolateDBInstance response structure.
1549
+ * DescribeInstanceSSLStatus response structure.
1117
1550
  * @class
1118
1551
  */
1119
- class IsolateDBInstanceResponse extends AbstractModel {
1552
+ class DescribeInstanceSSLStatusResponse extends AbstractModel {
1120
1553
  constructor(){
1121
1554
  super();
1122
1555
 
1123
1556
  /**
1124
- * Isolation successful instance Id list.
1125
- * @type {Array.<string> || null}
1126
- */
1127
- this.SuccessInstanceIds = null;
1128
-
1129
- /**
1130
- * Isolation failed instance Id list.
1131
- * @type {Array.<string> || null}
1557
+ * <p>SSL enable status</p><p>Enumeration values:</p><ul><li>Enabled: SSL is on</li><li>Disabled: SSL is closed</li><li>Enabling: SSL is enabling</li><li>Disabling: SSL is disabling</li></ul>
1558
+ * @type {string || null}
1132
1559
  */
1133
- this.FailedInstanceIds = null;
1560
+ this.SSLStatus = null;
1134
1561
 
1135
1562
  /**
1136
1563
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
@@ -1147,8 +1574,7 @@ class IsolateDBInstanceResponse extends AbstractModel {
1147
1574
  if (!params) {
1148
1575
  return;
1149
1576
  }
1150
- this.SuccessInstanceIds = 'SuccessInstanceIds' in params ? params.SuccessInstanceIds : null;
1151
- this.FailedInstanceIds = 'FailedInstanceIds' in params ? params.FailedInstanceIds : null;
1577
+ this.SSLStatus = 'SSLStatus' in params ? params.SSLStatus : null;
1152
1578
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
1153
1579
 
1154
1580
  }
@@ -1861,6 +2287,57 @@ class ModifyUserPrivilegesResponse extends AbstractModel {
1861
2287
  }
1862
2288
  }
1863
2289
 
2290
+ /**
2291
+ * DescribeSlowLogs response structure.
2292
+ * @class
2293
+ */
2294
+ class DescribeSlowLogsResponse extends AbstractModel {
2295
+ constructor(){
2296
+ super();
2297
+
2298
+ /**
2299
+ * Total number of logs
2300
+ * @type {number || null}
2301
+ */
2302
+ this.TotalCount = null;
2303
+
2304
+ /**
2305
+ * Log details.
2306
+ Note: This field may return null, indicating that no valid values can be obtained.
2307
+ * @type {Array.<SlowLogData> || null}
2308
+ */
2309
+ this.Items = null;
2310
+
2311
+ /**
2312
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2313
+ * @type {string || null}
2314
+ */
2315
+ this.RequestId = null;
2316
+
2317
+ }
2318
+
2319
+ /**
2320
+ * @private
2321
+ */
2322
+ deserialize(params) {
2323
+ if (!params) {
2324
+ return;
2325
+ }
2326
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
2327
+
2328
+ if (params.Items) {
2329
+ this.Items = new Array();
2330
+ for (let z in params.Items) {
2331
+ let obj = new SlowLogData();
2332
+ obj.deserialize(params.Items[z]);
2333
+ this.Items.push(obj);
2334
+ }
2335
+ }
2336
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2337
+
2338
+ }
2339
+ }
2340
+
1864
2341
  /**
1865
2342
  * CreateDBSBackup response structure.
1866
2343
  * @class
@@ -2219,6 +2696,12 @@ class CreateCloneInstanceRequest extends AbstractModel {
2219
2696
  */
2220
2697
  this.InstanceMode = null;
2221
2698
 
2699
+ /**
2700
+ * <p>Security group id list</p>
2701
+ * @type {Array.<string> || null}
2702
+ */
2703
+ this.SecurityGroupIds = null;
2704
+
2222
2705
  }
2223
2706
 
2224
2707
  /**
@@ -2256,6 +2739,7 @@ class CreateCloneInstanceRequest extends AbstractModel {
2256
2739
  this.Zones = 'Zones' in params ? params.Zones : null;
2257
2740
  this.FullReplications = 'FullReplications' in params ? params.FullReplications : null;
2258
2741
  this.InstanceMode = 'InstanceMode' in params ? params.InstanceMode : null;
2742
+ this.SecurityGroupIds = 'SecurityGroupIds' in params ? params.SecurityGroupIds : null;
2259
2743
 
2260
2744
  }
2261
2745
  }
@@ -2269,23 +2753,29 @@ class DescribeDBInstancesRequest extends AbstractModel {
2269
2753
  super();
2270
2754
 
2271
2755
  /**
2272
- * Filter parameters.
2756
+ * <p>Filter parameters</p>
2273
2757
  * @type {Array.<InstanceFilter> || null}
2274
2758
  */
2275
2759
  this.Filters = null;
2276
2760
 
2277
2761
  /**
2278
- * Maximum return count, defaults to 20, maximum 100
2762
+ * <p>Maximum return count, defaults to 20, maximum 100</p>
2279
2763
  * @type {number || null}
2280
2764
  */
2281
2765
  this.Limit = null;
2282
2766
 
2283
2767
  /**
2284
- * Offset, which is an integer multiple of Limit.
2768
+ * <p>Offset, which is an integer multiple of Limit.</p>
2285
2769
  * @type {number || null}
2286
2770
  */
2287
2771
  this.Offset = null;
2288
2772
 
2773
+ /**
2774
+ * <p>Specified query engine type</p><p>Enumeration value:</p><ul><li>libra: Column storage engine</li></ul>
2775
+ * @type {string || null}
2776
+ */
2777
+ this.EngineType = null;
2778
+
2289
2779
  }
2290
2780
 
2291
2781
  /**
@@ -2306,6 +2796,7 @@ class DescribeDBInstancesRequest extends AbstractModel {
2306
2796
  }
2307
2797
  this.Limit = 'Limit' in params ? params.Limit : null;
2308
2798
  this.Offset = 'Offset' in params ? params.Offset : null;
2799
+ this.EngineType = 'EngineType' in params ? params.EngineType : null;
2309
2800
 
2310
2801
  }
2311
2802
  }
@@ -2339,30 +2830,62 @@ class DescribeDBSecurityGroupsRequest extends AbstractModel {
2339
2830
  }
2340
2831
 
2341
2832
  /**
2342
- * DescribeSaleInfo request structure.
2833
+ * Query the sales API. The return type is region information.
2343
2834
  * @class
2344
2835
  */
2345
- class DescribeSaleInfoRequest extends AbstractModel {
2836
+ class DescribeSaleRegionInfo extends AbstractModel {
2346
2837
  constructor(){
2347
2838
  super();
2348
2839
 
2349
2840
  /**
2350
- * <p>Region of the disaster recovery primary instance</p>
2841
+ * <p>English string of Region</p>
2351
2842
  * @type {string || null}
2352
2843
  */
2353
- this.SrcRegion = null;
2844
+ this.Region = null;
2354
2845
 
2355
2846
  /**
2356
- * <p>Instance id</p><p>Input this parameter to return the sales information of the availability zone in the region where this instance is located.</p>
2357
- * @type {string || null}
2847
+ * <p>Purchasable Zone list</p>
2848
+ * @type {Array.<DescribeSaleZonesInfo> || null}
2358
2849
  */
2359
- this.InstanceId = null;
2850
+ this.ZoneList = null;
2360
2851
 
2361
2852
  /**
2362
- * <p>Specify the sales information that supports a certain type instance.</p><p>Enumeration value:</p><ul><li>serverless: Returns all regions that support serverless instance type.</li></ul><p>Default value: None</p><p>Currently only support specifying serverless. Import other info or leave it blank to return all sales region information by default.</p>
2853
+ * <p>Region Chinese character string</p>
2363
2854
  * @type {string || null}
2364
2855
  */
2365
- this.InstanceType = null;
2856
+ this.RegionName = null;
2857
+
2858
+ /**
2859
+ * <p>Whether to sell. 1: sell, 0: do not sell</p>
2860
+ * @type {number || null}
2861
+ */
2862
+ this.Enable = null;
2863
+
2864
+ /**
2865
+ * <p>Optional quantity of multiple availability</p>
2866
+ Note: This field may return null, indicating that no valid values can be obtained.
2867
+ * @type {number || null}
2868
+ */
2869
+ this.AvailableZoneNum = null;
2870
+
2871
+ /**
2872
+ * <p>Whether to allow usage log replica</p>
2873
+ Note: This field may return null, indicating that no valid values can be obtained.
2874
+ * @type {boolean || null}
2875
+ */
2876
+ this.IsSupportedLogReplica = null;
2877
+
2878
+ /**
2879
+ * <p>Availability zone combination</p>
2880
+ * @type {Array.<DescribeSaleZonesGroup> || null}
2881
+ */
2882
+ this.ZoneGroup = null;
2883
+
2884
+ /**
2885
+ * <p>Whether serverless is supported</p>
2886
+ * @type {boolean || null}
2887
+ */
2888
+ this.IsSupportServerless = null;
2366
2889
 
2367
2890
  }
2368
2891
 
@@ -2373,50 +2896,59 @@ class DescribeSaleInfoRequest extends AbstractModel {
2373
2896
  if (!params) {
2374
2897
  return;
2375
2898
  }
2376
- this.SrcRegion = 'SrcRegion' in params ? params.SrcRegion : null;
2377
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2378
- this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
2899
+ this.Region = 'Region' in params ? params.Region : null;
2900
+
2901
+ if (params.ZoneList) {
2902
+ this.ZoneList = new Array();
2903
+ for (let z in params.ZoneList) {
2904
+ let obj = new DescribeSaleZonesInfo();
2905
+ obj.deserialize(params.ZoneList[z]);
2906
+ this.ZoneList.push(obj);
2907
+ }
2908
+ }
2909
+ this.RegionName = 'RegionName' in params ? params.RegionName : null;
2910
+ this.Enable = 'Enable' in params ? params.Enable : null;
2911
+ this.AvailableZoneNum = 'AvailableZoneNum' in params ? params.AvailableZoneNum : null;
2912
+ this.IsSupportedLogReplica = 'IsSupportedLogReplica' in params ? params.IsSupportedLogReplica : null;
2913
+
2914
+ if (params.ZoneGroup) {
2915
+ this.ZoneGroup = new Array();
2916
+ for (let z in params.ZoneGroup) {
2917
+ let obj = new DescribeSaleZonesGroup();
2918
+ obj.deserialize(params.ZoneGroup[z]);
2919
+ this.ZoneGroup.push(obj);
2920
+ }
2921
+ }
2922
+ this.IsSupportServerless = 'IsSupportServerless' in params ? params.IsSupportServerless : null;
2379
2923
 
2380
2924
  }
2381
2925
  }
2382
2926
 
2383
2927
  /**
2384
- * ModifyUserPrivileges request structure.
2928
+ * DescribeSaleInfo request structure.
2385
2929
  * @class
2386
2930
  */
2387
- class ModifyUserPrivilegesRequest extends AbstractModel {
2931
+ class DescribeSaleInfoRequest extends AbstractModel {
2388
2932
  constructor(){
2389
2933
  super();
2390
2934
 
2391
2935
  /**
2392
- * Instance ID, such as tdsql3-5baee8df.
2936
+ * <p>Region of the disaster recovery primary instance</p>
2393
2937
  * @type {string || null}
2394
2938
  */
2395
- this.InstanceId = null;
2396
-
2397
- /**
2398
- * Login username and host information
2399
- * @type {Array.<User> || null}
2400
- */
2401
- this.Users = null;
2402
-
2403
- /**
2404
- * Global permission
2405
- * @type {Array.<string> || null}
2406
- */
2407
- this.GlobalPrivileges = null;
2939
+ this.SrcRegion = null;
2408
2940
 
2409
2941
  /**
2410
- * Database-level permission
2411
- * @type {Array.<DatabasePrivileges> || null}
2942
+ * <p>Instance id</p><p>Input this parameter to return the sales information of the availability zone in the region where this instance is located.</p>
2943
+ * @type {string || null}
2412
2944
  */
2413
- this.DatabasePrivileges = null;
2945
+ this.InstanceId = null;
2414
2946
 
2415
2947
  /**
2416
- * Table-level permission
2417
- * @type {Array.<TablePrivileges> || null}
2948
+ * <p>Specify the sales information that supports a certain type instance.</p><p>Enumeration value:</p><ul><li>serverless: Returns all regions that support serverless instance type.</li></ul><p>Default value: None</p><p>Currently only support specifying serverless. Import other info or leave it blank to return all sales region information by default.</p>
2949
+ * @type {string || null}
2418
2950
  */
2419
- this.TablePrivileges = null;
2951
+ this.InstanceType = null;
2420
2952
 
2421
2953
  }
2422
2954
 
@@ -2427,35 +2959,9 @@ class ModifyUserPrivilegesRequest extends AbstractModel {
2427
2959
  if (!params) {
2428
2960
  return;
2429
2961
  }
2962
+ this.SrcRegion = 'SrcRegion' in params ? params.SrcRegion : null;
2430
2963
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2431
-
2432
- if (params.Users) {
2433
- this.Users = new Array();
2434
- for (let z in params.Users) {
2435
- let obj = new User();
2436
- obj.deserialize(params.Users[z]);
2437
- this.Users.push(obj);
2438
- }
2439
- }
2440
- this.GlobalPrivileges = 'GlobalPrivileges' in params ? params.GlobalPrivileges : null;
2441
-
2442
- if (params.DatabasePrivileges) {
2443
- this.DatabasePrivileges = new Array();
2444
- for (let z in params.DatabasePrivileges) {
2445
- let obj = new DatabasePrivileges();
2446
- obj.deserialize(params.DatabasePrivileges[z]);
2447
- this.DatabasePrivileges.push(obj);
2448
- }
2449
- }
2450
-
2451
- if (params.TablePrivileges) {
2452
- this.TablePrivileges = new Array();
2453
- for (let z in params.TablePrivileges) {
2454
- let obj = new TablePrivileges();
2455
- obj.deserialize(params.TablePrivileges[z]);
2456
- this.TablePrivileges.push(obj);
2457
- }
2458
- }
2964
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
2459
2965
 
2460
2966
  }
2461
2967
  }
@@ -2531,32 +3037,66 @@ class DescribeDBSArchiveLogsRequest extends AbstractModel {
2531
3037
  if (!params) {
2532
3038
  return;
2533
3039
  }
2534
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
2535
- this.ArchiveLogId = 'ArchiveLogId' in params ? params.ArchiveLogId : null;
2536
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
2537
- this.FilterStatus = 'FilterStatus' in params ? params.FilterStatus : null;
2538
- this.Limit = 'Limit' in params ? params.Limit : null;
2539
- this.Offset = 'Offset' in params ? params.Offset : null;
2540
- this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
2541
- this.OrderType = 'OrderType' in params ? params.OrderType : null;
2542
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
3040
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3041
+ this.ArchiveLogId = 'ArchiveLogId' in params ? params.ArchiveLogId : null;
3042
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
3043
+ this.FilterStatus = 'FilterStatus' in params ? params.FilterStatus : null;
3044
+ this.Limit = 'Limit' in params ? params.Limit : null;
3045
+ this.Offset = 'Offset' in params ? params.Offset : null;
3046
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
3047
+ this.OrderType = 'OrderType' in params ? params.OrderType : null;
3048
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
3049
+
3050
+ }
3051
+ }
3052
+
3053
+ /**
3054
+ * Database function information.
3055
+ * @class
3056
+ */
3057
+ class DatabaseFunction extends AbstractModel {
3058
+ constructor(){
3059
+ super();
3060
+
3061
+ /**
3062
+ * Function name.
3063
+ * @type {string || null}
3064
+ */
3065
+ this.Func = null;
3066
+
3067
+ }
3068
+
3069
+ /**
3070
+ * @private
3071
+ */
3072
+ deserialize(params) {
3073
+ if (!params) {
3074
+ return;
3075
+ }
3076
+ this.Func = 'Func' in params ? params.Func : null;
2543
3077
 
2544
3078
  }
2545
3079
  }
2546
3080
 
2547
3081
  /**
2548
- * Database function information.
3082
+ * CreateUsers response structure.
2549
3083
  * @class
2550
3084
  */
2551
- class DatabaseFunction extends AbstractModel {
3085
+ class CreateUsersResponse extends AbstractModel {
2552
3086
  constructor(){
2553
3087
  super();
2554
3088
 
2555
3089
  /**
2556
- * Function name.
3090
+ * <p>Task ID.</p>
3091
+ * @type {number || null}
3092
+ */
3093
+ this.FlowId = null;
3094
+
3095
+ /**
3096
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2557
3097
  * @type {string || null}
2558
3098
  */
2559
- this.Func = null;
3099
+ this.RequestId = null;
2560
3100
 
2561
3101
  }
2562
3102
 
@@ -2567,7 +3107,8 @@ class DatabaseFunction extends AbstractModel {
2567
3107
  if (!params) {
2568
3108
  return;
2569
3109
  }
2570
- this.Func = 'Func' in params ? params.Func : null;
3110
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
3111
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
2571
3112
 
2572
3113
  }
2573
3114
  }
@@ -2979,6 +3520,18 @@ Note: This field may return null, indicating that no valid values can be obtaine
2979
3520
  */
2980
3521
  this.MaintenanceWindow = null;
2981
3522
 
3523
+ /**
3524
+ * <p>Whether transparent data encryption is enabled. 0: not enabled; 1: enabled</p>
3525
+ * @type {number || null}
3526
+ */
3527
+ this.EncryptionEnable = null;
3528
+
3529
+ /**
3530
+ * <p>Real-use kms region for subsequent call to kms service</p>
3531
+ * @type {string || null}
3532
+ */
3533
+ this.EncryptionKmsRegion = null;
3534
+
2982
3535
  /**
2983
3536
  * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
2984
3537
  * @type {string || null}
@@ -3100,6 +3653,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
3100
3653
  obj.deserialize(params.MaintenanceWindow)
3101
3654
  this.MaintenanceWindow = obj;
3102
3655
  }
3656
+ this.EncryptionEnable = 'EncryptionEnable' in params ? params.EncryptionEnable : null;
3657
+ this.EncryptionKmsRegion = 'EncryptionKmsRegion' in params ? params.EncryptionKmsRegion : null;
3103
3658
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
3104
3659
 
3105
3660
  }
@@ -3161,6 +3716,55 @@ class DescribeDatabaseObjectsRequest extends AbstractModel {
3161
3716
  }
3162
3717
  }
3163
3718
 
3719
+ /**
3720
+ * ModifyMaintenanceWindow request structure.
3721
+ * @class
3722
+ */
3723
+ class ModifyMaintenanceWindowRequest extends AbstractModel {
3724
+ constructor(){
3725
+ super();
3726
+
3727
+ /**
3728
+ * <p>Instance ID.</p>
3729
+ * @type {string || null}
3730
+ */
3731
+ this.InstanceId = null;
3732
+
3733
+ /**
3734
+ * <p>Ops window start time</p><p>Parameter format: hh:mm:ss</p>
3735
+ * @type {string || null}
3736
+ */
3737
+ this.StartTime = null;
3738
+
3739
+ /**
3740
+ * <p>Ops window duration</p><p>Value ranges from 1 to 3</p><p>Unit: hour</p>
3741
+ * @type {number || null}
3742
+ */
3743
+ this.Duration = null;
3744
+
3745
+ /**
3746
+ * <p>Ops window date</p><p>Enumeration value:</p><ul><li>Monday: Monday</li><li>Tuesday: Tuesday</li><li>Wednesday: Wednesday</li><li>Thursday: Thursday</li><li>Friday: Friday</li><li>Saturday: Saturday</li><li>Sunday: Sunday</li></ul>
3747
+ * @type {Array.<string> || null}
3748
+ */
3749
+ this.WeekDays = null;
3750
+
3751
+ }
3752
+
3753
+ /**
3754
+ * @private
3755
+ */
3756
+ deserialize(params) {
3757
+ if (!params) {
3758
+ return;
3759
+ }
3760
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3761
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
3762
+ this.Duration = 'Duration' in params ? params.Duration : null;
3763
+ this.WeekDays = 'WeekDays' in params ? params.WeekDays : null;
3764
+
3765
+ }
3766
+ }
3767
+
3164
3768
  /**
3165
3769
  * DestroyInstances response structure.
3166
3770
  * @class
@@ -3247,66 +3851,53 @@ class DescribeSaleInfoResponse extends AbstractModel {
3247
3851
  }
3248
3852
 
3249
3853
  /**
3250
- * DescribeDBSBackupSets request structure.
3854
+ * DeleteUsers response structure.
3251
3855
  * @class
3252
3856
  */
3253
- class DescribeDBSBackupSetsRequest extends AbstractModel {
3857
+ class DeleteUsersResponse extends AbstractModel {
3254
3858
  constructor(){
3255
3859
  super();
3256
3860
 
3257
3861
  /**
3258
- * <p>Instance ID.</p>
3259
- * @type {string || null}
3260
- */
3261
- this.InstanceId = null;
3262
-
3263
- /**
3264
- * <p>Instance Backup set ID</p>
3862
+ * <p>Task ID.</p>
3265
3863
  * @type {number || null}
3266
3864
  */
3267
- this.BackupSetId = null;
3865
+ this.FlowId = null;
3268
3866
 
3269
3867
  /**
3270
- * <p>End time.</p>
3868
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
3271
3869
  * @type {string || null}
3272
3870
  */
3273
- this.EndTime = null;
3274
-
3275
- /**
3276
- * <p>Filtering Conditions</p>
3277
- * @type {BackupSetsReqFilter || null}
3278
- */
3279
- this.FilterBy = null;
3871
+ this.RequestId = null;
3280
3872
 
3281
- /**
3282
- * <p>Query count [0,200]</p>
3283
- * @type {number || null}
3284
- */
3285
- this.Limit = null;
3873
+ }
3286
3874
 
3287
- /**
3288
- * <p>Query offset [0,INF] this time.</p>
3289
- * @type {number || null}
3290
- */
3291
- this.Offset = null;
3875
+ /**
3876
+ * @private
3877
+ */
3878
+ deserialize(params) {
3879
+ if (!params) {
3880
+ return;
3881
+ }
3882
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
3883
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
3292
3884
 
3293
- /**
3294
- * <p>StartTime,EndTime,ExpiredTime,BackupSetId,BackupDuration</p>
3295
- * @type {string || null}
3296
- */
3297
- this.OrderBy = null;
3885
+ }
3886
+ }
3298
3887
 
3299
- /**
3300
- * <p>ASC,DESC</p>
3301
- * @type {string || null}
3302
- */
3303
- this.OrderType = null;
3888
+ /**
3889
+ * Database table information.
3890
+ * @class
3891
+ */
3892
+ class DatabaseTable extends AbstractModel {
3893
+ constructor(){
3894
+ super();
3304
3895
 
3305
3896
  /**
3306
- * <p>Start time.</p>
3897
+ * Table name
3307
3898
  * @type {string || null}
3308
3899
  */
3309
- this.StartTime = null;
3900
+ this.Table = null;
3310
3901
 
3311
3902
  }
3312
3903
 
@@ -3317,20 +3908,7 @@ class DescribeDBSBackupSetsRequest extends AbstractModel {
3317
3908
  if (!params) {
3318
3909
  return;
3319
3910
  }
3320
- this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
3321
- this.BackupSetId = 'BackupSetId' in params ? params.BackupSetId : null;
3322
- this.EndTime = 'EndTime' in params ? params.EndTime : null;
3323
-
3324
- if (params.FilterBy) {
3325
- let obj = new BackupSetsReqFilter();
3326
- obj.deserialize(params.FilterBy)
3327
- this.FilterBy = obj;
3328
- }
3329
- this.Limit = 'Limit' in params ? params.Limit : null;
3330
- this.Offset = 'Offset' in params ? params.Offset : null;
3331
- this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
3332
- this.OrderType = 'OrderType' in params ? params.OrderType : null;
3333
- this.StartTime = 'StartTime' in params ? params.StartTime : null;
3911
+ this.Table = 'Table' in params ? params.Table : null;
3334
3912
 
3335
3913
  }
3336
3914
  }
@@ -3532,6 +4110,74 @@ Note: This field may return null, indicating that no valid values can be obtaine
3532
4110
  }
3533
4111
  }
3534
4112
 
4113
+ /**
4114
+ * Slow log filtering
4115
+ * @class
4116
+ */
4117
+ class LogFilter extends AbstractModel {
4118
+ constructor(){
4119
+ super();
4120
+
4121
+ /**
4122
+ * Filter criterion name.
4123
+
4124
+ For example: sql - SQL command details
4125
+
4126
+ host - client IP
4127
+ user - database account;
4128
+ dbName – Database name;
4129
+ sqlType - SQL type;
4130
+ Error code
4131
+
4132
+ execTime - Execution time
4133
+ lockWaitTime - Lock waiting time
4134
+ ioWaitTime - IO wait time
4135
+ trxLivingTime - Transaction execution time
4136
+ Cpu time
4137
+
4138
+ threadId - Thread ID
4139
+ trxId - Transaction ID
4140
+ checkRows - Number of scanned rows
4141
+ affectRows - Number of rows affected
4142
+ sentRows - Number of rows returned
4143
+ * @type {string || null}
4144
+ */
4145
+ this.Type = null;
4146
+
4147
+ /**
4148
+ * Filter condition match type. Supported:
4149
+ INC – Includes (multiple values are in a || relationship before).
4150
+ EXC - excluding (multiple values are in an && relationship)
4151
+ EQS – equal to (multiple values before are in a || relationship).
4152
+ NEQ – not equal to (multiple values are in && relationship)
4153
+
4154
+ RG - Range;
4155
+ * @type {string || null}
4156
+ */
4157
+ this.Compare = null;
4158
+
4159
+ /**
4160
+ * Filter condition matching value. When Compare=RG, for example ["1-100","200-300"].
4161
+ * @type {Array.<string> || null}
4162
+ */
4163
+ this.Value = null;
4164
+
4165
+ }
4166
+
4167
+ /**
4168
+ * @private
4169
+ */
4170
+ deserialize(params) {
4171
+ if (!params) {
4172
+ return;
4173
+ }
4174
+ this.Type = 'Type' in params ? params.Type : null;
4175
+ this.Compare = 'Compare' in params ? params.Compare : null;
4176
+ this.Value = 'Value' in params ? params.Value : null;
4177
+
4178
+ }
4179
+ }
4180
+
3535
4181
  /**
3536
4182
  * ModifyDBSBackupPolicy response structure.
3537
4183
  * @class
@@ -3610,43 +4256,42 @@ class DBParamValue extends AbstractModel {
3610
4256
  }
3611
4257
 
3612
4258
  /**
3613
- * User information type
4259
+ * CreateUsers request structure.
3614
4260
  * @class
3615
4261
  */
3616
- class UserInfo extends AbstractModel {
4262
+ class CreateUsersRequest extends AbstractModel {
3617
4263
  constructor(){
3618
4264
  super();
3619
4265
 
3620
4266
  /**
3621
- * Username.
4267
+ * <p>Instance id</p>
3622
4268
  * @type {string || null}
3623
4269
  */
3624
- this.UserName = null;
4270
+ this.InstanceId = null;
3625
4271
 
3626
4272
  /**
3627
- * User description
3628
- Note: This field may return null, indicating that no valid values can be obtained.
3629
- * @type {string || null}
4273
+ * <p>Add user list</p>
4274
+ * @type {Array.<User> || null}
3630
4275
  */
3631
- this.Description = null;
4276
+ this.Users = null;
3632
4277
 
3633
4278
  /**
3634
- * Host IP, IP range ending with % to denote permission for all IPs in the range
4279
+ * <p>Unencrypted password</p>
3635
4280
  * @type {string || null}
3636
4281
  */
3637
- this.Host = null;
4282
+ this.Password = null;
3638
4283
 
3639
4284
  /**
3640
- * Creation time.
4285
+ * <p>Encryption password</p>
3641
4286
  * @type {string || null}
3642
4287
  */
3643
- this.CreateTime = null;
4288
+ this.EncryptedPassword = null;
3644
4289
 
3645
4290
  /**
3646
- * Update time
4291
+ * <p>User description</p>
3647
4292
  * @type {string || null}
3648
4293
  */
3649
- this.UpdateTime = null;
4294
+ this.Description = null;
3650
4295
 
3651
4296
  }
3652
4297
 
@@ -3657,11 +4302,19 @@ Note: This field may return null, indicating that no valid values can be obtaine
3657
4302
  if (!params) {
3658
4303
  return;
3659
4304
  }
3660
- this.UserName = 'UserName' in params ? params.UserName : null;
4305
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4306
+
4307
+ if (params.Users) {
4308
+ this.Users = new Array();
4309
+ for (let z in params.Users) {
4310
+ let obj = new User();
4311
+ obj.deserialize(params.Users[z]);
4312
+ this.Users.push(obj);
4313
+ }
4314
+ }
4315
+ this.Password = 'Password' in params ? params.Password : null;
4316
+ this.EncryptedPassword = 'EncryptedPassword' in params ? params.EncryptedPassword : null;
3661
4317
  this.Description = 'Description' in params ? params.Description : null;
3662
- this.Host = 'Host' in params ? params.Host : null;
3663
- this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
3664
- this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
3665
4318
 
3666
4319
  }
3667
4320
  }
@@ -3930,6 +4583,34 @@ class ModifyDBParametersResponse extends AbstractModel {
3930
4583
  }
3931
4584
  }
3932
4585
 
4586
+ /**
4587
+ * DescribeInstanceSSLStatus request structure.
4588
+ * @class
4589
+ */
4590
+ class DescribeInstanceSSLStatusRequest extends AbstractModel {
4591
+ constructor(){
4592
+ super();
4593
+
4594
+ /**
4595
+ * <p>Instance ID.</p>
4596
+ * @type {string || null}
4597
+ */
4598
+ this.InstanceId = null;
4599
+
4600
+ }
4601
+
4602
+ /**
4603
+ * @private
4604
+ */
4605
+ deserialize(params) {
4606
+ if (!params) {
4607
+ return;
4608
+ }
4609
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4610
+
4611
+ }
4612
+ }
4613
+
3933
4614
  /**
3934
4615
  * Security group details.
3935
4616
  * @class
@@ -4017,24 +4698,24 @@ class SecurityGroup extends AbstractModel {
4017
4698
  }
4018
4699
 
4019
4700
  /**
4020
- * DescribeDBSAvailableRecoveryTime request structure.
4701
+ * DeleteUsers request structure.
4021
4702
  * @class
4022
4703
  */
4023
- class DescribeDBSAvailableRecoveryTimeRequest extends AbstractModel {
4704
+ class DeleteUsersRequest extends AbstractModel {
4024
4705
  constructor(){
4025
4706
  super();
4026
4707
 
4027
4708
  /**
4028
- * <p>Instance ID.</p>
4709
+ * <p>Instance id</p>
4029
4710
  * @type {string || null}
4030
4711
  */
4031
4712
  this.InstanceId = null;
4032
4713
 
4033
4714
  /**
4034
- * <p>Backup set ID. the value comes from the DescribeDBSBackupSets api response.</p>
4035
- * @type {number || null}
4715
+ * <p>Batch delete user list</p>
4716
+ * @type {Array.<User> || null}
4036
4717
  */
4037
- this.BackupSetId = null;
4718
+ this.Users = null;
4038
4719
 
4039
4720
  }
4040
4721
 
@@ -4046,7 +4727,95 @@ class DescribeDBSAvailableRecoveryTimeRequest extends AbstractModel {
4046
4727
  return;
4047
4728
  }
4048
4729
  this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4049
- this.BackupSetId = 'BackupSetId' in params ? params.BackupSetId : null;
4730
+
4731
+ if (params.Users) {
4732
+ this.Users = new Array();
4733
+ for (let z in params.Users) {
4734
+ let obj = new User();
4735
+ obj.deserialize(params.Users[z]);
4736
+ this.Users.push(obj);
4737
+ }
4738
+ }
4739
+
4740
+ }
4741
+ }
4742
+
4743
+ /**
4744
+ * ModifyUserPrivileges request structure.
4745
+ * @class
4746
+ */
4747
+ class ModifyUserPrivilegesRequest extends AbstractModel {
4748
+ constructor(){
4749
+ super();
4750
+
4751
+ /**
4752
+ * Instance ID, such as tdsql3-5baee8df.
4753
+ * @type {string || null}
4754
+ */
4755
+ this.InstanceId = null;
4756
+
4757
+ /**
4758
+ * Login username and host information
4759
+ * @type {Array.<User> || null}
4760
+ */
4761
+ this.Users = null;
4762
+
4763
+ /**
4764
+ * Global permission
4765
+ * @type {Array.<string> || null}
4766
+ */
4767
+ this.GlobalPrivileges = null;
4768
+
4769
+ /**
4770
+ * Database-level permission
4771
+ * @type {Array.<DatabasePrivileges> || null}
4772
+ */
4773
+ this.DatabasePrivileges = null;
4774
+
4775
+ /**
4776
+ * Table-level permission
4777
+ * @type {Array.<TablePrivileges> || null}
4778
+ */
4779
+ this.TablePrivileges = null;
4780
+
4781
+ }
4782
+
4783
+ /**
4784
+ * @private
4785
+ */
4786
+ deserialize(params) {
4787
+ if (!params) {
4788
+ return;
4789
+ }
4790
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
4791
+
4792
+ if (params.Users) {
4793
+ this.Users = new Array();
4794
+ for (let z in params.Users) {
4795
+ let obj = new User();
4796
+ obj.deserialize(params.Users[z]);
4797
+ this.Users.push(obj);
4798
+ }
4799
+ }
4800
+ this.GlobalPrivileges = 'GlobalPrivileges' in params ? params.GlobalPrivileges : null;
4801
+
4802
+ if (params.DatabasePrivileges) {
4803
+ this.DatabasePrivileges = new Array();
4804
+ for (let z in params.DatabasePrivileges) {
4805
+ let obj = new DatabasePrivileges();
4806
+ obj.deserialize(params.DatabasePrivileges[z]);
4807
+ this.DatabasePrivileges.push(obj);
4808
+ }
4809
+ }
4810
+
4811
+ if (params.TablePrivileges) {
4812
+ this.TablePrivileges = new Array();
4813
+ for (let z in params.TablePrivileges) {
4814
+ let obj = new TablePrivileges();
4815
+ obj.deserialize(params.TablePrivileges[z]);
4816
+ this.TablePrivileges.push(obj);
4817
+ }
4818
+ }
4050
4819
 
4051
4820
  }
4052
4821
  }
@@ -4209,62 +4978,36 @@ Note: This field may return null, indicating that no valid values can be obtaine
4209
4978
  }
4210
4979
 
4211
4980
  /**
4212
- * Query the sales API. The return type is region information.
4981
+ * DescribeMaintenanceWindow response structure.
4213
4982
  * @class
4214
4983
  */
4215
- class DescribeSaleRegionInfo extends AbstractModel {
4984
+ class DescribeMaintenanceWindowResponse extends AbstractModel {
4216
4985
  constructor(){
4217
4986
  super();
4218
4987
 
4219
4988
  /**
4220
- * <p>English string of Region</p>
4989
+ * <p>Instance ID.</p>
4221
4990
  * @type {string || null}
4222
4991
  */
4223
- this.Region = null;
4224
-
4225
- /**
4226
- * <p>Purchasable Zone list</p>
4227
- * @type {Array.<DescribeSaleZonesInfo> || null}
4228
- */
4229
- this.ZoneList = null;
4992
+ this.InstanceId = null;
4230
4993
 
4231
4994
  /**
4232
- * <p>Region Chinese character string</p>
4995
+ * <p>Ops window time range</p>
4233
4996
  * @type {string || null}
4234
4997
  */
4235
- this.RegionName = null;
4236
-
4237
- /**
4238
- * <p>Whether to sell. 1: sell, 0: do not sell</p>
4239
- * @type {number || null}
4240
- */
4241
- this.Enable = null;
4242
-
4243
- /**
4244
- * <p>Optional quantity of multiple availability</p>
4245
- Note: This field may return null, indicating that no valid values can be obtained.
4246
- * @type {number || null}
4247
- */
4248
- this.AvailableZoneNum = null;
4249
-
4250
- /**
4251
- * <p>Whether to allow usage log replica</p>
4252
- Note: This field may return null, indicating that no valid values can be obtained.
4253
- * @type {boolean || null}
4254
- */
4255
- this.IsSupportedLogReplica = null;
4998
+ this.MaintenanceWindow = null;
4256
4999
 
4257
5000
  /**
4258
- * <p>Availability zone combination</p>
4259
- * @type {Array.<DescribeSaleZonesGroup> || null}
5001
+ * <p>Ops window number of days range</p>
5002
+ * @type {Array.<string> || null}
4260
5003
  */
4261
- this.ZoneGroup = null;
5004
+ this.WeekDays = null;
4262
5005
 
4263
5006
  /**
4264
- * <p>Whether serverless is supported</p>
4265
- * @type {boolean || null}
5007
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
5008
+ * @type {string || null}
4266
5009
  */
4267
- this.IsSupportServerless = null;
5010
+ this.RequestId = null;
4268
5011
 
4269
5012
  }
4270
5013
 
@@ -4275,30 +5018,10 @@ Note: This field may return null, indicating that no valid values can be obtaine
4275
5018
  if (!params) {
4276
5019
  return;
4277
5020
  }
4278
- this.Region = 'Region' in params ? params.Region : null;
4279
-
4280
- if (params.ZoneList) {
4281
- this.ZoneList = new Array();
4282
- for (let z in params.ZoneList) {
4283
- let obj = new DescribeSaleZonesInfo();
4284
- obj.deserialize(params.ZoneList[z]);
4285
- this.ZoneList.push(obj);
4286
- }
4287
- }
4288
- this.RegionName = 'RegionName' in params ? params.RegionName : null;
4289
- this.Enable = 'Enable' in params ? params.Enable : null;
4290
- this.AvailableZoneNum = 'AvailableZoneNum' in params ? params.AvailableZoneNum : null;
4291
- this.IsSupportedLogReplica = 'IsSupportedLogReplica' in params ? params.IsSupportedLogReplica : null;
4292
-
4293
- if (params.ZoneGroup) {
4294
- this.ZoneGroup = new Array();
4295
- for (let z in params.ZoneGroup) {
4296
- let obj = new DescribeSaleZonesGroup();
4297
- obj.deserialize(params.ZoneGroup[z]);
4298
- this.ZoneGroup.push(obj);
4299
- }
4300
- }
4301
- this.IsSupportServerless = 'IsSupportServerless' in params ? params.IsSupportServerless : null;
5021
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
5022
+ this.MaintenanceWindow = 'MaintenanceWindow' in params ? params.MaintenanceWindow : null;
5023
+ this.WeekDays = 'WeekDays' in params ? params.WeekDays : null;
5024
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
4302
5025
 
4303
5026
  }
4304
5027
  }
@@ -5157,6 +5880,12 @@ Note: This field may return null, indicating that no valid values can be obtaine
5157
5880
  */
5158
5881
  this.AnalysisRelationInfos = null;
5159
5882
 
5883
+ /**
5884
+ * <p>Analysis engine instance info</p>
5885
+ * @type {AnalysisInstanceInfo || null}
5886
+ */
5887
+ this.AnalysisInstanceInfo = null;
5888
+
5160
5889
  }
5161
5890
 
5162
5891
  /**
@@ -5266,57 +5995,111 @@ Note: This field may return null, indicating that no valid values can be obtaine
5266
5995
  }
5267
5996
  }
5268
5997
 
5998
+ if (params.AnalysisInstanceInfo) {
5999
+ let obj = new AnalysisInstanceInfo();
6000
+ obj.deserialize(params.AnalysisInstanceInfo)
6001
+ this.AnalysisInstanceInfo = obj;
6002
+ }
6003
+
6004
+ }
6005
+ }
6006
+
6007
+ /**
6008
+ * Database account information
6009
+ * @class
6010
+ */
6011
+ class User extends AbstractModel {
6012
+ constructor(){
6013
+ super();
6014
+
6015
+ /**
6016
+ * Username.
6017
+ * @type {string || null}
6018
+ */
6019
+ this.UserName = null;
6020
+
6021
+ /**
6022
+ * host
6023
+ * @type {string || null}
6024
+ */
6025
+ this.Host = null;
6026
+
6027
+ }
6028
+
6029
+ /**
6030
+ * @private
6031
+ */
6032
+ deserialize(params) {
6033
+ if (!params) {
6034
+ return;
6035
+ }
6036
+ this.UserName = 'UserName' in params ? params.UserName : null;
6037
+ this.Host = 'Host' in params ? params.Host : null;
6038
+
5269
6039
  }
5270
6040
  }
5271
6041
 
5272
- /**
5273
- * Database account information
5274
- * @class
5275
- */
5276
- class User extends AbstractModel {
5277
- constructor(){
5278
- super();
6042
+ /**
6043
+ * DescribeDBSBackupSets request structure.
6044
+ * @class
6045
+ */
6046
+ class DescribeDBSBackupSetsRequest extends AbstractModel {
6047
+ constructor(){
6048
+ super();
6049
+
6050
+ /**
6051
+ * <p>Instance ID.</p>
6052
+ * @type {string || null}
6053
+ */
6054
+ this.InstanceId = null;
6055
+
6056
+ /**
6057
+ * <p>Instance Backup set ID</p>
6058
+ * @type {number || null}
6059
+ */
6060
+ this.BackupSetId = null;
6061
+
6062
+ /**
6063
+ * <p>End time.</p>
6064
+ * @type {string || null}
6065
+ */
6066
+ this.EndTime = null;
6067
+
6068
+ /**
6069
+ * <p>Filtering Conditions</p>
6070
+ * @type {BackupSetsReqFilter || null}
6071
+ */
6072
+ this.FilterBy = null;
6073
+
6074
+ /**
6075
+ * <p>Query count [0,200]</p>
6076
+ * @type {number || null}
6077
+ */
6078
+ this.Limit = null;
6079
+
6080
+ /**
6081
+ * <p>Query offset [0,INF] this time.</p>
6082
+ * @type {number || null}
6083
+ */
6084
+ this.Offset = null;
5279
6085
 
5280
6086
  /**
5281
- * Username.
6087
+ * <p>StartTime,EndTime,ExpiredTime,BackupSetId,BackupDuration</p>
5282
6088
  * @type {string || null}
5283
6089
  */
5284
- this.UserName = null;
6090
+ this.OrderBy = null;
5285
6091
 
5286
6092
  /**
5287
- * host
6093
+ * <p>ASC,DESC</p>
5288
6094
  * @type {string || null}
5289
6095
  */
5290
- this.Host = null;
5291
-
5292
- }
5293
-
5294
- /**
5295
- * @private
5296
- */
5297
- deserialize(params) {
5298
- if (!params) {
5299
- return;
5300
- }
5301
- this.UserName = 'UserName' in params ? params.UserName : null;
5302
- this.Host = 'Host' in params ? params.Host : null;
5303
-
5304
- }
5305
- }
5306
-
5307
- /**
5308
- * Database table information.
5309
- * @class
5310
- */
5311
- class DatabaseTable extends AbstractModel {
5312
- constructor(){
5313
- super();
6096
+ this.OrderType = null;
5314
6097
 
5315
6098
  /**
5316
- * Table name
6099
+ * <p>Start time.</p>
5317
6100
  * @type {string || null}
5318
6101
  */
5319
- this.Table = null;
6102
+ this.StartTime = null;
5320
6103
 
5321
6104
  }
5322
6105
 
@@ -5327,7 +6110,20 @@ class DatabaseTable extends AbstractModel {
5327
6110
  if (!params) {
5328
6111
  return;
5329
6112
  }
5330
- this.Table = 'Table' in params ? params.Table : null;
6113
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
6114
+ this.BackupSetId = 'BackupSetId' in params ? params.BackupSetId : null;
6115
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
6116
+
6117
+ if (params.FilterBy) {
6118
+ let obj = new BackupSetsReqFilter();
6119
+ obj.deserialize(params.FilterBy)
6120
+ this.FilterBy = obj;
6121
+ }
6122
+ this.Limit = 'Limit' in params ? params.Limit : null;
6123
+ this.Offset = 'Offset' in params ? params.Offset : null;
6124
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
6125
+ this.OrderType = 'OrderType' in params ? params.OrderType : null;
6126
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
5331
6127
 
5332
6128
  }
5333
6129
  }
@@ -5565,6 +6361,59 @@ class DescribeUsersResponse extends AbstractModel {
5565
6361
  }
5566
6362
  }
5567
6363
 
6364
+ /**
6365
+ * Backup statistics object for logs
6366
+ * @class
6367
+ */
6368
+ class LogBackupStatisticsModel extends AbstractModel {
6369
+ constructor(){
6370
+ super();
6371
+
6372
+ /**
6373
+ * <p>Avg size of each log backup in Byte</p>
6374
+ Note: This field may return null, indicating that no valid values can be obtained.
6375
+ * @type {number || null}
6376
+ */
6377
+ this.AverageSizePerBackup = null;
6378
+
6379
+ /**
6380
+ * <p>Avg daily log backup size in Byte</p>
6381
+ Note: This field may return null, indicating that no valid values can be obtained.
6382
+ * @type {number || null}
6383
+ */
6384
+ this.AverageSizePerDay = null;
6385
+
6386
+ /**
6387
+ * <p>Number of log backups</p>
6388
+ Note: This field may return null, indicating that no valid values can be obtained.
6389
+ * @type {number || null}
6390
+ */
6391
+ this.TotalCount = null;
6392
+
6393
+ /**
6394
+ * <p>Log backup size in Byte</p>
6395
+ Note: This field may return null, indicating that no valid values can be obtained.
6396
+ * @type {number || null}
6397
+ */
6398
+ this.TotalSize = null;
6399
+
6400
+ }
6401
+
6402
+ /**
6403
+ * @private
6404
+ */
6405
+ deserialize(params) {
6406
+ if (!params) {
6407
+ return;
6408
+ }
6409
+ this.AverageSizePerBackup = 'AverageSizePerBackup' in params ? params.AverageSizePerBackup : null;
6410
+ this.AverageSizePerDay = 'AverageSizePerDay' in params ? params.AverageSizePerDay : null;
6411
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
6412
+ this.TotalSize = 'TotalSize' in params ? params.TotalSize : null;
6413
+
6414
+ }
6415
+ }
6416
+
5568
6417
  /**
5569
6418
  * CancelIsolateDBInstances response structure.
5570
6419
  * @class
@@ -5751,6 +6600,179 @@ class CancelIsolateDBInstancesRequest extends AbstractModel {
5751
6600
  }
5752
6601
  }
5753
6602
 
6603
+ /**
6604
+ * slow log information
6605
+ * @class
6606
+ */
6607
+ class SlowLogData extends AbstractModel {
6608
+ constructor(){
6609
+ super();
6610
+
6611
+ /**
6612
+ * <p>Sql execution time</p>
6613
+ Note: This field may return null, indicating that no valid values can be obtained.
6614
+ * @type {string || null}
6615
+ */
6616
+ this.Timestamp = null;
6617
+
6618
+ /**
6619
+ * <p>Sql execution duration (seconds)</p>
6620
+ Note: This field may return null, indicating that no valid values can be obtained.
6621
+ * @type {number || null}
6622
+ */
6623
+ this.QueryTime = null;
6624
+
6625
+ /**
6626
+ * <p>Sql statement</p>
6627
+ Note: This field may return null, indicating that no valid values can be obtained.
6628
+ * @type {string || null}
6629
+ */
6630
+ this.SqlText = null;
6631
+
6632
+ /**
6633
+ * <p>Client IP address</p>
6634
+ Note: This field may return null, indicating that no valid values can be obtained.
6635
+ * @type {string || null}
6636
+ */
6637
+ this.UserHost = null;
6638
+
6639
+ /**
6640
+ * <p>Username.</p>
6641
+ Note: This field may return null, indicating that no valid values can be obtained.
6642
+ * @type {string || null}
6643
+ */
6644
+ this.UserName = null;
6645
+
6646
+ /**
6647
+ * <p>Database name.</p>
6648
+ Note: This field may return null, indicating that no valid values can be obtained.
6649
+ * @type {string || null}
6650
+ */
6651
+ this.Database = null;
6652
+
6653
+ /**
6654
+ * <p>Lock duration (seconds)</p>
6655
+ Note: This field may return null, indicating that no valid values can be obtained.
6656
+ * @type {number || null}
6657
+ */
6658
+ this.LockTime = null;
6659
+
6660
+ /**
6661
+ * <p>Number of scanned rows</p>
6662
+ Note: This field may return null, indicating that no valid values can be obtained.
6663
+ * @type {number || null}
6664
+ */
6665
+ this.RowsExamined = null;
6666
+
6667
+ /**
6668
+ * <p>Result set row count</p>
6669
+ Note: This field may return null, indicating that no valid values can be obtained.
6670
+ * @type {number || null}
6671
+ */
6672
+ this.RowsSent = null;
6673
+
6674
+ /**
6675
+ * <p>Transaction ID</p>
6676
+ Note: This field may return null, indicating that no valid values can be obtained.
6677
+ * @type {string || null}
6678
+ */
6679
+ this.TransactionId = null;
6680
+
6681
+ /**
6682
+ * <p>rpc duration</p>
6683
+ Note: This field may return null, indicating that no valid values can be obtained.
6684
+ * @type {number || null}
6685
+ */
6686
+ this.RpcTime = null;
6687
+
6688
+ /**
6689
+ * <p>rpc duration for node interaction with storage</p>
6690
+ Note: This field may return null, indicating that no valid values can be obtained.
6691
+ * @type {number || null}
6692
+ */
6693
+ this.StorageRpcTime = null;
6694
+
6695
+ /**
6696
+ * <p>rpc retry latency</p>
6697
+ Note: This field may return null, indicating that no valid values can be obtained.
6698
+ * @type {number || null}
6699
+ */
6700
+ this.RpcRetryDelayTime = null;
6701
+
6702
+ /**
6703
+ * <p>node Name</p>
6704
+ Note: This field may return null, indicating that no valid values can be obtained.
6705
+ * @type {string || null}
6706
+ */
6707
+ this.NodeId = null;
6708
+
6709
+ /**
6710
+ * <p>rpc link tracing</p>
6711
+ Note: This field may return null, indicating that no valid values can be obtained.
6712
+ * @type {string || null}
6713
+ */
6714
+ this.RpcTrace = null;
6715
+
6716
+ /**
6717
+ * <p>TDStore lock duration</p><p>Unit: seconds</p>
6718
+ Note: This field may return null, indicating that no valid values can be obtained.
6719
+ * @type {number || null}
6720
+ */
6721
+ this.TDStoreLockTime = null;
6722
+
6723
+ /**
6724
+ * <p>Global ID</p>
6725
+ Note: This field may return null, indicating that no valid values can be obtained.
6726
+ * @type {string || null}
6727
+ */
6728
+ this.TraceId = null;
6729
+
6730
+ /**
6731
+ * <p>Execution plan</p>
6732
+ Note: This field may return null, indicating that no valid values can be obtained.
6733
+ * @type {Array.<Explain> || null}
6734
+ */
6735
+ this.Explain = null;
6736
+
6737
+ }
6738
+
6739
+ /**
6740
+ * @private
6741
+ */
6742
+ deserialize(params) {
6743
+ if (!params) {
6744
+ return;
6745
+ }
6746
+ this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
6747
+ this.QueryTime = 'QueryTime' in params ? params.QueryTime : null;
6748
+ this.SqlText = 'SqlText' in params ? params.SqlText : null;
6749
+ this.UserHost = 'UserHost' in params ? params.UserHost : null;
6750
+ this.UserName = 'UserName' in params ? params.UserName : null;
6751
+ this.Database = 'Database' in params ? params.Database : null;
6752
+ this.LockTime = 'LockTime' in params ? params.LockTime : null;
6753
+ this.RowsExamined = 'RowsExamined' in params ? params.RowsExamined : null;
6754
+ this.RowsSent = 'RowsSent' in params ? params.RowsSent : null;
6755
+ this.TransactionId = 'TransactionId' in params ? params.TransactionId : null;
6756
+ this.RpcTime = 'RpcTime' in params ? params.RpcTime : null;
6757
+ this.StorageRpcTime = 'StorageRpcTime' in params ? params.StorageRpcTime : null;
6758
+ this.RpcRetryDelayTime = 'RpcRetryDelayTime' in params ? params.RpcRetryDelayTime : null;
6759
+ this.NodeId = 'NodeId' in params ? params.NodeId : null;
6760
+ this.RpcTrace = 'RpcTrace' in params ? params.RpcTrace : null;
6761
+ this.TDStoreLockTime = 'TDStoreLockTime' in params ? params.TDStoreLockTime : null;
6762
+ this.TraceId = 'TraceId' in params ? params.TraceId : null;
6763
+
6764
+ if (params.Explain) {
6765
+ this.Explain = new Array();
6766
+ for (let z in params.Explain) {
6767
+ let obj = new Explain();
6768
+ obj.deserialize(params.Explain[z]);
6769
+ this.Explain.push(obj);
6770
+ }
6771
+ }
6772
+
6773
+ }
6774
+ }
6775
+
5754
6776
  /**
5755
6777
  * ExpandInstance request structure.
5756
6778
  * @class
@@ -6043,10 +7065,39 @@ class ResourceTag extends AbstractModel {
6043
7065
  this.TagKey = null;
6044
7066
 
6045
7067
  /**
6046
- * Tag value
7068
+ * Tag value
7069
+ * @type {string || null}
7070
+ */
7071
+ this.TagValue = null;
7072
+
7073
+ }
7074
+
7075
+ /**
7076
+ * @private
7077
+ */
7078
+ deserialize(params) {
7079
+ if (!params) {
7080
+ return;
7081
+ }
7082
+ this.TagKey = 'TagKey' in params ? params.TagKey : null;
7083
+ this.TagValue = 'TagValue' in params ? params.TagValue : null;
7084
+
7085
+ }
7086
+ }
7087
+
7088
+ /**
7089
+ * ModifyMaintenanceWindow response structure.
7090
+ * @class
7091
+ */
7092
+ class ModifyMaintenanceWindowResponse extends AbstractModel {
7093
+ constructor(){
7094
+ super();
7095
+
7096
+ /**
7097
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
6047
7098
  * @type {string || null}
6048
7099
  */
6049
- this.TagValue = null;
7100
+ this.RequestId = null;
6050
7101
 
6051
7102
  }
6052
7103
 
@@ -6057,8 +7108,7 @@ class ResourceTag extends AbstractModel {
6057
7108
  if (!params) {
6058
7109
  return;
6059
7110
  }
6060
- this.TagKey = 'TagKey' in params ? params.TagKey : null;
6061
- this.TagValue = 'TagValue' in params ? params.TagValue : null;
7111
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
6062
7112
 
6063
7113
  }
6064
7114
  }
@@ -6331,6 +7381,34 @@ class DestroyInstancesRequest extends AbstractModel {
6331
7381
  }
6332
7382
  }
6333
7383
 
7384
+ /**
7385
+ * DescribeMaintenanceWindow request structure.
7386
+ * @class
7387
+ */
7388
+ class DescribeMaintenanceWindowRequest extends AbstractModel {
7389
+ constructor(){
7390
+ super();
7391
+
7392
+ /**
7393
+ * <p>Instance ID.</p>
7394
+ * @type {string || null}
7395
+ */
7396
+ this.InstanceId = null;
7397
+
7398
+ }
7399
+
7400
+ /**
7401
+ * @private
7402
+ */
7403
+ deserialize(params) {
7404
+ if (!params) {
7405
+ return;
7406
+ }
7407
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
7408
+
7409
+ }
7410
+ }
7411
+
6334
7412
  /**
6335
7413
  * DescribeSpecs request structure.
6336
7414
  * @class
@@ -6451,6 +7529,62 @@ Note: This field may return null, indicating that no valid values can be obtaine
6451
7529
  }
6452
7530
  }
6453
7531
 
7532
+ /**
7533
+ * ModifyInstanceNetwork request structure.
7534
+ * @class
7535
+ */
7536
+ class ModifyInstanceNetworkRequest extends AbstractModel {
7537
+ constructor(){
7538
+ super();
7539
+
7540
+ /**
7541
+ * Instance ID.
7542
+ * @type {string || null}
7543
+ */
7544
+ this.InstanceId = null;
7545
+
7546
+ /**
7547
+ * VpcId of the target VPC network
7548
+ * @type {string || null}
7549
+ */
7550
+ this.VpcId = null;
7551
+
7552
+ /**
7553
+ * Subnet ID of the target VPC network
7554
+ * @type {string || null}
7555
+ */
7556
+ this.SubnetId = null;
7557
+
7558
+ /**
7559
+ * VIP retention duration, in hours, value ranges from 0 to 168. 0 means immediate release with a one-minute delay. Not specified, default is 24 hr for VIP release.
7560
+ * @type {number || null}
7561
+ */
7562
+ this.VipReleaseDelay = null;
7563
+
7564
+ /**
7565
+ * Assign vip modification. Leave blank for a random vip.
7566
+ * @type {string || null}
7567
+ */
7568
+ this.Vip = null;
7569
+
7570
+ }
7571
+
7572
+ /**
7573
+ * @private
7574
+ */
7575
+ deserialize(params) {
7576
+ if (!params) {
7577
+ return;
7578
+ }
7579
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
7580
+ this.VpcId = 'VpcId' in params ? params.VpcId : null;
7581
+ this.SubnetId = 'SubnetId' in params ? params.SubnetId : null;
7582
+ this.VipReleaseDelay = 'VipReleaseDelay' in params ? params.VipReleaseDelay : null;
7583
+ this.Vip = 'Vip' in params ? params.Vip : null;
7584
+
7585
+ }
7586
+ }
7587
+
6454
7588
  /**
6455
7589
  * Modify backup policy object.
6456
7590
  * @class
@@ -6551,13 +7685,13 @@ class DescribeDBInstancesResponse extends AbstractModel {
6551
7685
  super();
6552
7686
 
6553
7687
  /**
6554
- * Return the instance list information
7688
+ * <p>Return to instance list information</p>
6555
7689
  * @type {Array.<InstanceInfo> || null}
6556
7690
  */
6557
7691
  this.Instances = null;
6558
7692
 
6559
7693
  /**
6560
- * Total number of conditions met
7694
+ * <p>Total number of conditions met</p>
6561
7695
  * @type {number || null}
6562
7696
  */
6563
7697
  this.TotalCount = null;
@@ -6627,6 +7761,63 @@ class ConstraintRange extends AbstractModel {
6627
7761
  }
6628
7762
  }
6629
7763
 
7764
+ /**
7765
+ * User information type
7766
+ * @class
7767
+ */
7768
+ class UserInfo extends AbstractModel {
7769
+ constructor(){
7770
+ super();
7771
+
7772
+ /**
7773
+ * Username.
7774
+ * @type {string || null}
7775
+ */
7776
+ this.UserName = null;
7777
+
7778
+ /**
7779
+ * User description
7780
+ Note: This field may return null, indicating that no valid values can be obtained.
7781
+ * @type {string || null}
7782
+ */
7783
+ this.Description = null;
7784
+
7785
+ /**
7786
+ * Host IP, IP range ending with % to denote permission for all IPs in the range
7787
+ * @type {string || null}
7788
+ */
7789
+ this.Host = null;
7790
+
7791
+ /**
7792
+ * Creation time.
7793
+ * @type {string || null}
7794
+ */
7795
+ this.CreateTime = null;
7796
+
7797
+ /**
7798
+ * Update time
7799
+ * @type {string || null}
7800
+ */
7801
+ this.UpdateTime = null;
7802
+
7803
+ }
7804
+
7805
+ /**
7806
+ * @private
7807
+ */
7808
+ deserialize(params) {
7809
+ if (!params) {
7810
+ return;
7811
+ }
7812
+ this.UserName = 'UserName' in params ? params.UserName : null;
7813
+ this.Description = 'Description' in params ? params.Description : null;
7814
+ this.Host = 'Host' in params ? params.Host : null;
7815
+ this.CreateTime = 'CreateTime' in params ? params.CreateTime : null;
7816
+ this.UpdateTime = 'UpdateTime' in params ? params.UpdateTime : null;
7817
+
7818
+ }
7819
+ }
7820
+
6630
7821
  /**
6631
7822
  * RestartDBInstances request structure.
6632
7823
  * @class
@@ -6662,6 +7853,62 @@ class RestartDBInstancesRequest extends AbstractModel {
6662
7853
  }
6663
7854
  }
6664
7855
 
7856
+ /**
7857
+ * ResetUserPassword request structure.
7858
+ * @class
7859
+ */
7860
+ class ResetUserPasswordRequest extends AbstractModel {
7861
+ constructor(){
7862
+ super();
7863
+
7864
+ /**
7865
+ * Username.
7866
+ * @type {string || null}
7867
+ */
7868
+ this.UserName = null;
7869
+
7870
+ /**
7871
+ * Instance ID.
7872
+ * @type {string || null}
7873
+ */
7874
+ this.InstanceId = null;
7875
+
7876
+ /**
7877
+ * Host IP, IP range ending with % to denote permission for all IPs in the range
7878
+ * @type {string || null}
7879
+ */
7880
+ this.Host = null;
7881
+
7882
+ /**
7883
+ * New password, required length 8-32, include at least two of English, digits and symbols.
7884
+ * @type {string || null}
7885
+ */
7886
+ this.Password = null;
7887
+
7888
+ /**
7889
+ * Encryption password
7890
+ * @type {string || null}
7891
+ */
7892
+ this.EncryptedPassword = null;
7893
+
7894
+ }
7895
+
7896
+ /**
7897
+ * @private
7898
+ */
7899
+ deserialize(params) {
7900
+ if (!params) {
7901
+ return;
7902
+ }
7903
+ this.UserName = 'UserName' in params ? params.UserName : null;
7904
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
7905
+ this.Host = 'Host' in params ? params.Host : null;
7906
+ this.Password = 'Password' in params ? params.Password : null;
7907
+ this.EncryptedPassword = 'EncryptedPassword' in params ? params.EncryptedPassword : null;
7908
+
7909
+ }
7910
+ }
7911
+
6665
7912
  /**
6666
7913
  * DescribeDBSAvailableRecoveryTime response structure.
6667
7914
  * @class
@@ -6835,40 +8082,52 @@ class DescribeUserPrivilegesRequest extends AbstractModel {
6835
8082
  }
6836
8083
 
6837
8084
  /**
6838
- * Backup statistics object for logs
8085
+ * DescribeDBSAvailableRecoveryTime request structure.
6839
8086
  * @class
6840
8087
  */
6841
- class LogBackupStatisticsModel extends AbstractModel {
8088
+ class DescribeDBSAvailableRecoveryTimeRequest extends AbstractModel {
6842
8089
  constructor(){
6843
8090
  super();
6844
8091
 
6845
8092
  /**
6846
- * <p>Avg size of each log backup in Byte</p>
6847
- Note: This field may return null, indicating that no valid values can be obtained.
6848
- * @type {number || null}
8093
+ * <p>Instance ID.</p>
8094
+ * @type {string || null}
6849
8095
  */
6850
- this.AverageSizePerBackup = null;
8096
+ this.InstanceId = null;
6851
8097
 
6852
- /**
6853
- * <p>Avg daily log backup size in Byte</p>
6854
- Note: This field may return null, indicating that no valid values can be obtained.
6855
- * @type {number || null}
6856
- */
6857
- this.AverageSizePerDay = null;
8098
+ }
8099
+
8100
+ /**
8101
+ * @private
8102
+ */
8103
+ deserialize(params) {
8104
+ if (!params) {
8105
+ return;
8106
+ }
8107
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
8108
+
8109
+ }
8110
+ }
8111
+
8112
+ /**
8113
+ * ModifyDBInstanceVPort response structure.
8114
+ * @class
8115
+ */
8116
+ class ModifyDBInstanceVPortResponse extends AbstractModel {
8117
+ constructor(){
8118
+ super();
6858
8119
 
6859
8120
  /**
6860
- * <p>Number of log backups</p>
6861
- Note: This field may return null, indicating that no valid values can be obtained.
8121
+ * Return the async task FlowId
6862
8122
  * @type {number || null}
6863
8123
  */
6864
- this.TotalCount = null;
8124
+ this.FlowId = null;
6865
8125
 
6866
8126
  /**
6867
- * <p>Log backup size in Byte</p>
6868
- Note: This field may return null, indicating that no valid values can be obtained.
6869
- * @type {number || null}
8127
+ * The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.
8128
+ * @type {string || null}
6870
8129
  */
6871
- this.TotalSize = null;
8130
+ this.RequestId = null;
6872
8131
 
6873
8132
  }
6874
8133
 
@@ -6879,10 +8138,8 @@ Note: This field may return null, indicating that no valid values can be obtaine
6879
8138
  if (!params) {
6880
8139
  return;
6881
8140
  }
6882
- this.AverageSizePerBackup = 'AverageSizePerBackup' in params ? params.AverageSizePerBackup : null;
6883
- this.AverageSizePerDay = 'AverageSizePerDay' in params ? params.AverageSizePerDay : null;
6884
- this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
6885
- this.TotalSize = 'TotalSize' in params ? params.TotalSize : null;
8141
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
8142
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
6886
8143
 
6887
8144
  }
6888
8145
  }
@@ -7221,23 +8478,31 @@ class ModifyDBInstanceSecurityGroupsRequest extends AbstractModel {
7221
8478
 
7222
8479
  module.exports = {
7223
8480
  CreateDBInstancesRequest: CreateDBInstancesRequest,
8481
+ ModifyDBInstanceVPortRequest: ModifyDBInstanceVPortRequest,
7224
8482
  ExpandInstanceResponse: ExpandInstanceResponse,
7225
8483
  DescribeSaleZonesInfo: DescribeSaleZonesInfo,
7226
8484
  BackupMethodStatisticsOutPut: BackupMethodStatisticsOutPut,
7227
8485
  DescribeDatabasesRequest: DescribeDatabasesRequest,
7228
8486
  DescribeDBParametersRequest: DescribeDBParametersRequest,
8487
+ ModifyInstanceNetworkResponse: ModifyInstanceNetworkResponse,
8488
+ ModifyInstanceSSLStatusResponse: ModifyInstanceSSLStatusResponse,
7229
8489
  RestartDBInstancesResponse: RestartDBInstancesResponse,
8490
+ DescribeSlowLogsRequest: DescribeSlowLogsRequest,
7230
8491
  ModifyInstanceNameRequest: ModifyInstanceNameRequest,
7231
8492
  DescribeUserPrivilegesResponse: DescribeUserPrivilegesResponse,
7232
8493
  DescribeDBSecurityGroupsResponse: DescribeDBSecurityGroupsResponse,
7233
8494
  InstanceFilter: InstanceFilter,
8495
+ Explain: Explain,
7234
8496
  BackupStatisticsModel: BackupStatisticsModel,
7235
8497
  BackupPolicyModelOutPut: BackupPolicyModelOutPut,
8498
+ ModifyInstanceSSLStatusRequest: ModifyInstanceSSLStatusRequest,
7236
8499
  ModifyInstanceNameResponse: ModifyInstanceNameResponse,
7237
8500
  DescribeDBSBackupStatisticsDetailRequest: DescribeDBSBackupStatisticsDetailRequest,
7238
8501
  DescribeDBParametersResponse: DescribeDBParametersResponse,
7239
8502
  StorageNodeSpec: StorageNodeSpec,
7240
8503
  IsolateDBInstanceResponse: IsolateDBInstanceResponse,
8504
+ ResetUserPasswordResponse: ResetUserPasswordResponse,
8505
+ DescribeInstanceSSLStatusResponse: DescribeInstanceSSLStatusResponse,
7241
8506
  DeleteDBSBackupSetsResponse: DeleteDBSBackupSetsResponse,
7242
8507
  DescribeFlowResponse: DescribeFlowResponse,
7243
8508
  MaintenanceWindowInfo: MaintenanceWindowInfo,
@@ -7253,6 +8518,7 @@ module.exports = {
7253
8518
  ModifyDBInstanceSecurityGroupsResponse: ModifyDBInstanceSecurityGroupsResponse,
7254
8519
  CreateCloneInstanceResponse: CreateCloneInstanceResponse,
7255
8520
  ModifyUserPrivilegesResponse: ModifyUserPrivilegesResponse,
8521
+ DescribeSlowLogsResponse: DescribeSlowLogsResponse,
7256
8522
  CreateDBSBackupResponse: CreateDBSBackupResponse,
7257
8523
  BackupSetsReqFilter: BackupSetsReqFilter,
7258
8524
  DescribeDBSBackupSetsResponse: DescribeDBSBackupSetsResponse,
@@ -7260,33 +8526,39 @@ module.exports = {
7260
8526
  CreateCloneInstanceRequest: CreateCloneInstanceRequest,
7261
8527
  DescribeDBInstancesRequest: DescribeDBInstancesRequest,
7262
8528
  DescribeDBSecurityGroupsRequest: DescribeDBSecurityGroupsRequest,
8529
+ DescribeSaleRegionInfo: DescribeSaleRegionInfo,
7263
8530
  DescribeSaleInfoRequest: DescribeSaleInfoRequest,
7264
- ModifyUserPrivilegesRequest: ModifyUserPrivilegesRequest,
7265
8531
  DescribeDBSArchiveLogsRequest: DescribeDBSArchiveLogsRequest,
7266
8532
  DatabaseFunction: DatabaseFunction,
8533
+ CreateUsersResponse: CreateUsersResponse,
7267
8534
  ModifyDBSBackupPolicyRequest: ModifyDBSBackupPolicyRequest,
7268
8535
  DescribeDBInstanceDetailResponse: DescribeDBInstanceDetailResponse,
7269
8536
  DescribeDatabaseObjectsRequest: DescribeDatabaseObjectsRequest,
8537
+ ModifyMaintenanceWindowRequest: ModifyMaintenanceWindowRequest,
7270
8538
  DestroyInstancesResponse: DestroyInstancesResponse,
7271
8539
  DescribeSaleInfoResponse: DescribeSaleInfoResponse,
7272
- DescribeDBSBackupSetsRequest: DescribeDBSBackupSetsRequest,
8540
+ DeleteUsersResponse: DeleteUsersResponse,
8541
+ DatabaseTable: DatabaseTable,
7273
8542
  DescribeDBInstanceDetailRequest: DescribeDBInstanceDetailRequest,
7274
8543
  ModifyAutoRenewFlagResponse: ModifyAutoRenewFlagResponse,
7275
8544
  DescribeUsersRequest: DescribeUsersRequest,
7276
8545
  DatabaseView: DatabaseView,
7277
8546
  DataBackupStatisticsModel: DataBackupStatisticsModel,
8547
+ LogFilter: LogFilter,
7278
8548
  ModifyDBSBackupPolicyResponse: ModifyDBSBackupPolicyResponse,
7279
8549
  DBParamValue: DBParamValue,
7280
- UserInfo: UserInfo,
8550
+ CreateUsersRequest: CreateUsersRequest,
7281
8551
  ModifyDBParametersRequest: ModifyDBParametersRequest,
7282
8552
  CloneInstanceModel: CloneInstanceModel,
7283
8553
  ArchiveLogInterval: ArchiveLogInterval,
7284
8554
  ModifyDBParametersResponse: ModifyDBParametersResponse,
8555
+ DescribeInstanceSSLStatusRequest: DescribeInstanceSSLStatusRequest,
7285
8556
  SecurityGroup: SecurityGroup,
7286
- DescribeDBSAvailableRecoveryTimeRequest: DescribeDBSAvailableRecoveryTimeRequest,
8557
+ DeleteUsersRequest: DeleteUsersRequest,
8558
+ ModifyUserPrivilegesRequest: ModifyUserPrivilegesRequest,
7287
8559
  DescribeDBSArchiveLogsResponse: DescribeDBSArchiveLogsResponse,
7288
8560
  DescribeDatabaseObjectsResponse: DescribeDatabaseObjectsResponse,
7289
- DescribeSaleRegionInfo: DescribeSaleRegionInfo,
8561
+ DescribeMaintenanceWindowResponse: DescribeMaintenanceWindowResponse,
7290
8562
  InstanceNode: InstanceNode,
7291
8563
  SecurityGroupBound: SecurityGroupBound,
7292
8564
  DescribeDBSBackupStatisticsResponse: DescribeDBSBackupStatisticsResponse,
@@ -7294,23 +8566,26 @@ module.exports = {
7294
8566
  DescribeDBSCloneInstancesResponse: DescribeDBSCloneInstancesResponse,
7295
8567
  InstanceInfo: InstanceInfo,
7296
8568
  User: User,
7297
- DatabaseTable: DatabaseTable,
8569
+ DescribeDBSBackupSetsRequest: DescribeDBSBackupSetsRequest,
7298
8570
  AnalysisInstanceInfo: AnalysisInstanceInfo,
7299
8571
  ServerlessCcu: ServerlessCcu,
7300
8572
  Database: Database,
7301
8573
  DescribeSaleZonesGroup: DescribeSaleZonesGroup,
7302
8574
  DescribeDBSBackupStatisticsRequest: DescribeDBSBackupStatisticsRequest,
7303
8575
  DescribeUsersResponse: DescribeUsersResponse,
8576
+ LogBackupStatisticsModel: LogBackupStatisticsModel,
7304
8577
  CancelIsolateDBInstancesResponse: CancelIsolateDBInstancesResponse,
7305
8578
  BackupMethodStatisticsModel: BackupMethodStatisticsModel,
7306
8579
  DescribeDBSBackupPolicyRequest: DescribeDBSBackupPolicyRequest,
7307
8580
  UpgradeInstanceResponse: UpgradeInstanceResponse,
7308
8581
  CancelIsolateDBInstancesRequest: CancelIsolateDBInstancesRequest,
8582
+ SlowLogData: SlowLogData,
7309
8583
  ExpandInstanceRequest: ExpandInstanceRequest,
7310
8584
  DescribeDatabasesResponse: DescribeDatabasesResponse,
7311
8585
  ArchiveLogModel: ArchiveLogModel,
7312
8586
  AnalysisRelationInfo: AnalysisRelationInfo,
7313
8587
  ResourceTag: ResourceTag,
8588
+ ModifyMaintenanceWindowResponse: ModifyMaintenanceWindowResponse,
7314
8589
  IsolateDBInstanceRequest: IsolateDBInstanceRequest,
7315
8590
  DescribeFlowRequest: DescribeFlowRequest,
7316
8591
  ModifyDBSBackupSetCommentResponse: ModifyDBSBackupSetCommentResponse,
@@ -7319,16 +8594,21 @@ module.exports = {
7319
8594
  ModifyAutoRenewFlagRequest: ModifyAutoRenewFlagRequest,
7320
8595
  CreateDBSBackupRequest: CreateDBSBackupRequest,
7321
8596
  DestroyInstancesRequest: DestroyInstancesRequest,
8597
+ DescribeMaintenanceWindowRequest: DescribeMaintenanceWindowRequest,
7322
8598
  DescribeSpecsRequest: DescribeSpecsRequest,
7323
8599
  ParamDesc: ParamDesc,
8600
+ ModifyInstanceNetworkRequest: ModifyInstanceNetworkRequest,
7324
8601
  BackupPolicyModelInput: BackupPolicyModelInput,
7325
8602
  DescribeDBInstancesResponse: DescribeDBInstancesResponse,
7326
8603
  ConstraintRange: ConstraintRange,
8604
+ UserInfo: UserInfo,
7327
8605
  RestartDBInstancesRequest: RestartDBInstancesRequest,
8606
+ ResetUserPasswordRequest: ResetUserPasswordRequest,
7328
8607
  DescribeDBSAvailableRecoveryTimeResponse: DescribeDBSAvailableRecoveryTimeResponse,
7329
8608
  TablePrivileges: TablePrivileges,
7330
8609
  DescribeUserPrivilegesRequest: DescribeUserPrivilegesRequest,
7331
- LogBackupStatisticsModel: LogBackupStatisticsModel,
8610
+ DescribeDBSAvailableRecoveryTimeRequest: DescribeDBSAvailableRecoveryTimeRequest,
8611
+ ModifyDBInstanceVPortResponse: ModifyDBInstanceVPortResponse,
7332
8612
  UpgradeInstanceRequest: UpgradeInstanceRequest,
7333
8613
  BackupSetModel: BackupSetModel,
7334
8614
  InstanceParam: InstanceParam,