tencentcloud-sdk-nodejs-intl-en 3.0.1453 → 3.0.1455

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.
@@ -1826,6 +1826,70 @@ class CreateClustersResponse extends AbstractModel {
1826
1826
  }
1827
1827
  }
1828
1828
 
1829
+ /**
1830
+ * Access proxy configuration.
1831
+ * @class
1832
+ */
1833
+ class ProxyConfigInfo extends AbstractModel {
1834
+ constructor(){
1835
+ super();
1836
+
1837
+ /**
1838
+ * Number of database proxy group nodes. this parameter is no longer recommended. recommend using ProxyZones.
1839
+ * @type {number || null}
1840
+ */
1841
+ this.ProxyCount = null;
1842
+
1843
+ /**
1844
+ * Number of CPU cores
1845
+ * @type {number || null}
1846
+ */
1847
+ this.Cpu = null;
1848
+
1849
+ /**
1850
+ * Specifies the memory.
1851
+ * @type {number || null}
1852
+ */
1853
+ this.Mem = null;
1854
+
1855
+ /**
1856
+ * Description.
1857
+ * @type {string || null}
1858
+ */
1859
+ this.Description = null;
1860
+
1861
+ /**
1862
+ * Database node information (this parameter is used in combination with ProxyCount, either one must be manually input).
1863
+ * @type {Array.<ProxyZone> || null}
1864
+ */
1865
+ this.ProxyZones = null;
1866
+
1867
+ }
1868
+
1869
+ /**
1870
+ * @private
1871
+ */
1872
+ deserialize(params) {
1873
+ if (!params) {
1874
+ return;
1875
+ }
1876
+ this.ProxyCount = 'ProxyCount' in params ? params.ProxyCount : null;
1877
+ this.Cpu = 'Cpu' in params ? params.Cpu : null;
1878
+ this.Mem = 'Mem' in params ? params.Mem : null;
1879
+ this.Description = 'Description' in params ? params.Description : null;
1880
+
1881
+ if (params.ProxyZones) {
1882
+ this.ProxyZones = new Array();
1883
+ for (let z in params.ProxyZones) {
1884
+ let obj = new ProxyZone();
1885
+ obj.deserialize(params.ProxyZones[z]);
1886
+ this.ProxyZones.push(obj);
1887
+ }
1888
+ }
1889
+
1890
+ }
1891
+ }
1892
+
1829
1893
  /**
1830
1894
  * Instance group information
1831
1895
  * @class
@@ -6750,6 +6814,107 @@ class DescribeProxyNodesRequest extends AbstractModel {
6750
6814
  }
6751
6815
  }
6752
6816
 
6817
+ /**
6818
+ * DescribeAuditLogs request structure.
6819
+ * @class
6820
+ */
6821
+ class DescribeAuditLogsRequest extends AbstractModel {
6822
+ constructor(){
6823
+ super();
6824
+
6825
+ /**
6826
+ * Instance ID.
6827
+ * @type {string || null}
6828
+ */
6829
+ this.InstanceId = null;
6830
+
6831
+ /**
6832
+ * Start time in the format of "2017-07-12 10:29:20".
6833
+ * @type {string || null}
6834
+ */
6835
+ this.StartTime = null;
6836
+
6837
+ /**
6838
+ * End time in the format: "2017-07-12 10:29:20".
6839
+ * @type {string || null}
6840
+ */
6841
+ this.EndTime = null;
6842
+
6843
+ /**
6844
+ * Sort order. Supported values: "ASC" - Ascending order, "DESC" - Descending order.
6845
+ * @type {string || null}
6846
+ */
6847
+ this.Order = null;
6848
+
6849
+ /**
6850
+ * Sorting field. Supported values include:
6851
+ timestamp
6852
+ "affectRows" - Number of affected rows
6853
+ "execTime" - Execution time.
6854
+ * @type {string || null}
6855
+ */
6856
+ this.OrderBy = null;
6857
+
6858
+ /**
6859
+ * Deprecated.
6860
+ * @type {AuditLogFilter || null}
6861
+ */
6862
+ this.Filter = null;
6863
+
6864
+ /**
6865
+ * Pagination parameter. Number of data entries returned per request. Default value: 100. Maximum value: 100.
6866
+ * @type {number || null}
6867
+ */
6868
+ this.Limit = null;
6869
+
6870
+ /**
6871
+ * Pagination offset.
6872
+ Description: The sum of Limit and Offset must be less than or equal to 65536.
6873
+ * @type {number || null}
6874
+ */
6875
+ this.Offset = null;
6876
+
6877
+ /**
6878
+ * Filter criteria. Multiple values have an AND relationship.
6879
+ * @type {Array.<InstanceAuditLogFilter> || null}
6880
+ */
6881
+ this.LogFilter = null;
6882
+
6883
+ }
6884
+
6885
+ /**
6886
+ * @private
6887
+ */
6888
+ deserialize(params) {
6889
+ if (!params) {
6890
+ return;
6891
+ }
6892
+ this.InstanceId = 'InstanceId' in params ? params.InstanceId : null;
6893
+ this.StartTime = 'StartTime' in params ? params.StartTime : null;
6894
+ this.EndTime = 'EndTime' in params ? params.EndTime : null;
6895
+ this.Order = 'Order' in params ? params.Order : null;
6896
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
6897
+
6898
+ if (params.Filter) {
6899
+ let obj = new AuditLogFilter();
6900
+ obj.deserialize(params.Filter)
6901
+ this.Filter = obj;
6902
+ }
6903
+ this.Limit = 'Limit' in params ? params.Limit : null;
6904
+ this.Offset = 'Offset' in params ? params.Offset : null;
6905
+
6906
+ if (params.LogFilter) {
6907
+ this.LogFilter = new Array();
6908
+ for (let z in params.LogFilter) {
6909
+ let obj = new InstanceAuditLogFilter();
6910
+ obj.deserialize(params.LogFilter[z]);
6911
+ this.LogFilter.push(obj);
6912
+ }
6913
+ }
6914
+
6915
+ }
6916
+ }
6917
+
6753
6918
  /**
6754
6919
  * InquirePriceCreate response structure.
6755
6920
  * @class
@@ -9318,6 +9483,63 @@ class InquirePriceModifyResponse extends AbstractModel {
9318
9483
  }
9319
9484
  }
9320
9485
 
9486
+ /**
9487
+ * Audit log search criteria
9488
+ * @class
9489
+ */
9490
+ class InstanceAuditLogFilter extends AbstractModel {
9491
+ constructor(){
9492
+ super();
9493
+
9494
+ /**
9495
+ * Filter item. Currently supports the following search criteria:
9496
+
9497
+ Includes, excludes, includes (segment dimension), excludes (segment dimension): sql - SQL detail; alarmLevel - alarm level; ruleTemplateId - rule template id
9498
+
9499
+ Equal to, not equal to, contains, does not contain: host - client IP address; user - userName; dbName - database name;
9500
+
9501
+ Equal, not equal to: sqlType - SQL type; errCode - error code; threadId - thread ID.
9502
+
9503
+ Range search (time type is unified to µs): execTime - execution time; lockWaitTime - execution time; ioWaitTime - IO wait time; trxLivingTime - transaction duration; cpuTime - CPU time; checkRows - scanned rows; affectRows - number of affected rows; sentRows - rows returned.
9504
+ * @type {string || null}
9505
+ */
9506
+ this.Type = null;
9507
+
9508
+ /**
9509
+ * Filter criteria. The following conditions are supported:
9510
+ WINC-Contains (segment dimension)
9511
+ WEXC - Excluding (segment dimension)
9512
+ INC - included
9513
+ EXC - Excluding
9514
+ EQS - equal to
9515
+ NEQ - not equal to
9516
+ RA - Range.
9517
+ * @type {string || null}
9518
+ */
9519
+ this.Compare = null;
9520
+
9521
+ /**
9522
+ * Filtered value. In reverse query, multiple values have an AND relationship. In forward query, multiple values have an OR relationship.
9523
+ * @type {Array.<string> || null}
9524
+ */
9525
+ this.Value = null;
9526
+
9527
+ }
9528
+
9529
+ /**
9530
+ * @private
9531
+ */
9532
+ deserialize(params) {
9533
+ if (!params) {
9534
+ return;
9535
+ }
9536
+ this.Type = 'Type' in params ? params.Type : null;
9537
+ this.Compare = 'Compare' in params ? params.Compare : null;
9538
+ this.Value = 'Value' in params ? params.Value : null;
9539
+
9540
+ }
9541
+ }
9542
+
9321
9543
  /**
9322
9544
  * ModifyLibraDBClusterReplicationObject response structure.
9323
9545
  * @class
@@ -15298,104 +15520,6 @@ class DescribeLibraDBClusterDetailResponse extends AbstractModel {
15298
15520
  }
15299
15521
  }
15300
15522
 
15301
- /**
15302
- * Global database task info
15303
- * @class
15304
- */
15305
- class GdnTaskInfo extends AbstractModel {
15306
- constructor(){
15307
- super();
15308
-
15309
- /**
15310
- * Unique ID of the global database
15311
- * @type {string || null}
15312
- */
15313
- this.GdnId = null;
15314
-
15315
- /**
15316
- * unique alias of the global database
15317
- * @type {string || null}
15318
- */
15319
- this.GdnName = null;
15320
-
15321
- /**
15322
- * Primary Cluster ID
15323
- * @type {string || null}
15324
- */
15325
- this.PrimaryClusterId = null;
15326
-
15327
- /**
15328
- * Master cluster region
15329
- * @type {string || null}
15330
- */
15331
- this.PrimaryClusterRegion = null;
15332
-
15333
- /**
15334
- * from the cluster region
15335
- * @type {string || null}
15336
- */
15337
- this.StandbyClusterRegion = null;
15338
-
15339
- /**
15340
- * Slave cluster ID
15341
- * @type {string || null}
15342
- */
15343
- this.StandbyClusterId = null;
15344
-
15345
- /**
15346
- * From the cluster name
15347
- * @type {string || null}
15348
- */
15349
- this.StandbyClusterName = null;
15350
-
15351
- /**
15352
- * Whether forced switchover is performed
15353
- * @type {string || null}
15354
- */
15355
- this.ForceSwitchGdn = null;
15356
-
15357
- /**
15358
- * Return code
15359
- * @type {number || null}
15360
- */
15361
- this.Code = null;
15362
-
15363
- /**
15364
- * prompt message
15365
- * @type {string || null}
15366
- */
15367
- this.Message = null;
15368
-
15369
- /**
15370
- * Whether forced switchover is supported
15371
- * @type {string || null}
15372
- */
15373
- this.IsSupportForce = null;
15374
-
15375
- }
15376
-
15377
- /**
15378
- * @private
15379
- */
15380
- deserialize(params) {
15381
- if (!params) {
15382
- return;
15383
- }
15384
- this.GdnId = 'GdnId' in params ? params.GdnId : null;
15385
- this.GdnName = 'GdnName' in params ? params.GdnName : null;
15386
- this.PrimaryClusterId = 'PrimaryClusterId' in params ? params.PrimaryClusterId : null;
15387
- this.PrimaryClusterRegion = 'PrimaryClusterRegion' in params ? params.PrimaryClusterRegion : null;
15388
- this.StandbyClusterRegion = 'StandbyClusterRegion' in params ? params.StandbyClusterRegion : null;
15389
- this.StandbyClusterId = 'StandbyClusterId' in params ? params.StandbyClusterId : null;
15390
- this.StandbyClusterName = 'StandbyClusterName' in params ? params.StandbyClusterName : null;
15391
- this.ForceSwitchGdn = 'ForceSwitchGdn' in params ? params.ForceSwitchGdn : null;
15392
- this.Code = 'Code' in params ? params.Code : null;
15393
- this.Message = 'Message' in params ? params.Message : null;
15394
- this.IsSupportForce = 'IsSupportForce' in params ? params.IsSupportForce : null;
15395
-
15396
- }
15397
- }
15398
-
15399
15523
  /**
15400
15524
  * ModifyClusterName response structure.
15401
15525
  * @class
@@ -18070,6 +18194,196 @@ class OfflineInstanceRequest extends AbstractModel {
18070
18194
  }
18071
18195
  }
18072
18196
 
18197
+ /**
18198
+ * Audit log details
18199
+ * @class
18200
+ */
18201
+ class AuditLog extends AbstractModel {
18202
+ constructor(){
18203
+ super();
18204
+
18205
+ /**
18206
+ * Number of affected rows.
18207
+ * @type {number || null}
18208
+ */
18209
+ this.AffectRows = null;
18210
+
18211
+ /**
18212
+ * Error code.
18213
+ * @type {number || null}
18214
+ */
18215
+ this.ErrCode = null;
18216
+
18217
+ /**
18218
+ * SQL type.
18219
+ * @type {string || null}
18220
+ */
18221
+ this.SqlType = null;
18222
+
18223
+ /**
18224
+ * Table name.
18225
+ * @type {string || null}
18226
+ */
18227
+ this.TableName = null;
18228
+
18229
+ /**
18230
+ * Instance name.
18231
+ * @type {string || null}
18232
+ */
18233
+ this.InstanceName = null;
18234
+
18235
+ /**
18236
+ * Audit policy name.
18237
+ * @type {string || null}
18238
+ */
18239
+ this.PolicyName = null;
18240
+
18241
+ /**
18242
+ * Database name.
18243
+ * @type {string || null}
18244
+ */
18245
+ this.DBName = null;
18246
+
18247
+ /**
18248
+ * SQL statement.
18249
+ * @type {string || null}
18250
+ */
18251
+ this.Sql = null;
18252
+
18253
+ /**
18254
+ * Client address.
18255
+ * @type {string || null}
18256
+ */
18257
+ this.Host = null;
18258
+
18259
+ /**
18260
+ * Username.
18261
+ * @type {string || null}
18262
+ */
18263
+ this.User = null;
18264
+
18265
+ /**
18266
+ * Execution time, in microseconds.
18267
+ * @type {number || null}
18268
+ */
18269
+ this.ExecTime = null;
18270
+
18271
+ /**
18272
+ * Time.
18273
+ * @type {string || null}
18274
+ */
18275
+ this.Timestamp = null;
18276
+
18277
+ /**
18278
+ * Number of rows returned.
18279
+ * @type {number || null}
18280
+ */
18281
+ this.SentRows = null;
18282
+
18283
+ /**
18284
+ * Execution thread ID.
18285
+ * @type {number || null}
18286
+ */
18287
+ this.ThreadId = null;
18288
+
18289
+ /**
18290
+ * Number of scanned rows.
18291
+ * @type {number || null}
18292
+ */
18293
+ this.CheckRows = null;
18294
+
18295
+ /**
18296
+ * cpu execution time, in microseconds.
18297
+ * @type {number || null}
18298
+ */
18299
+ this.CpuTime = null;
18300
+
18301
+ /**
18302
+ * IO wait time, in microseconds.
18303
+ * @type {number || null}
18304
+ */
18305
+ this.IoWaitTime = null;
18306
+
18307
+ /**
18308
+ * Lock waiting time in microseconds.
18309
+ * @type {number || null}
18310
+ */
18311
+ this.LockWaitTime = null;
18312
+
18313
+ /**
18314
+ * Transaction continuous waiting time, in µs.
18315
+ * @type {number || null}
18316
+ */
18317
+ this.TrxLivingTime = null;
18318
+
18319
+ /**
18320
+ * Start time. Together with timestamp, it forms a nanosecond-precision time.
18321
+ * @type {number || null}
18322
+ */
18323
+ this.NsTime = null;
18324
+
18325
+ /**
18326
+ * Basic information of the log hit rule template
18327
+ * @type {Array.<LogRuleTemplateInfo> || null}
18328
+ */
18329
+ this.TemplateInfo = null;
18330
+
18331
+ /**
18332
+ * Transaction ID
18333
+ * @type {number || null}
18334
+ */
18335
+ this.TrxId = null;
18336
+
18337
+ /**
18338
+ * Client port.
18339
+ * @type {number || null}
18340
+ */
18341
+ this.ClientPort = null;
18342
+
18343
+ }
18344
+
18345
+ /**
18346
+ * @private
18347
+ */
18348
+ deserialize(params) {
18349
+ if (!params) {
18350
+ return;
18351
+ }
18352
+ this.AffectRows = 'AffectRows' in params ? params.AffectRows : null;
18353
+ this.ErrCode = 'ErrCode' in params ? params.ErrCode : null;
18354
+ this.SqlType = 'SqlType' in params ? params.SqlType : null;
18355
+ this.TableName = 'TableName' in params ? params.TableName : null;
18356
+ this.InstanceName = 'InstanceName' in params ? params.InstanceName : null;
18357
+ this.PolicyName = 'PolicyName' in params ? params.PolicyName : null;
18358
+ this.DBName = 'DBName' in params ? params.DBName : null;
18359
+ this.Sql = 'Sql' in params ? params.Sql : null;
18360
+ this.Host = 'Host' in params ? params.Host : null;
18361
+ this.User = 'User' in params ? params.User : null;
18362
+ this.ExecTime = 'ExecTime' in params ? params.ExecTime : null;
18363
+ this.Timestamp = 'Timestamp' in params ? params.Timestamp : null;
18364
+ this.SentRows = 'SentRows' in params ? params.SentRows : null;
18365
+ this.ThreadId = 'ThreadId' in params ? params.ThreadId : null;
18366
+ this.CheckRows = 'CheckRows' in params ? params.CheckRows : null;
18367
+ this.CpuTime = 'CpuTime' in params ? params.CpuTime : null;
18368
+ this.IoWaitTime = 'IoWaitTime' in params ? params.IoWaitTime : null;
18369
+ this.LockWaitTime = 'LockWaitTime' in params ? params.LockWaitTime : null;
18370
+ this.TrxLivingTime = 'TrxLivingTime' in params ? params.TrxLivingTime : null;
18371
+ this.NsTime = 'NsTime' in params ? params.NsTime : null;
18372
+
18373
+ if (params.TemplateInfo) {
18374
+ this.TemplateInfo = new Array();
18375
+ for (let z in params.TemplateInfo) {
18376
+ let obj = new LogRuleTemplateInfo();
18377
+ obj.deserialize(params.TemplateInfo[z]);
18378
+ this.TemplateInfo.push(obj);
18379
+ }
18380
+ }
18381
+ this.TrxId = 'TrxId' in params ? params.TrxId : null;
18382
+ this.ClientPort = 'ClientPort' in params ? params.ClientPort : null;
18383
+
18384
+ }
18385
+ }
18386
+
18073
18387
  /**
18074
18388
  * CreateProxy response structure.
18075
18389
  * @class
@@ -18178,24 +18492,66 @@ class BizTaskModifyParamsData extends AbstractModel {
18178
18492
  }
18179
18493
 
18180
18494
  /**
18181
- * OfflineLibraDBCluster response structure.
18495
+ * Instance initialization configuration information
18182
18496
  * @class
18183
18497
  */
18184
- class OfflineLibraDBClusterResponse extends AbstractModel {
18498
+ class InstanceInitInfo extends AbstractModel {
18185
18499
  constructor(){
18186
18500
  super();
18187
18501
 
18188
18502
  /**
18189
- * flow id
18503
+ * <p>Instance cpu</p>
18190
18504
  * @type {number || null}
18191
18505
  */
18192
- this.FlowId = null;
18506
+ this.Cpu = null;
18193
18507
 
18194
18508
  /**
18195
- * 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.
18509
+ * <p>Instance memory</p>
18510
+ * @type {number || null}
18511
+ */
18512
+ this.Memory = null;
18513
+
18514
+ /**
18515
+ * <p>Instance type rw/ro</p>
18196
18516
  * @type {string || null}
18197
18517
  */
18198
- this.RequestId = null;
18518
+ this.InstanceType = null;
18519
+
18520
+ /**
18521
+ * <p>Number of instances, range [1,15]</p>
18522
+ * @type {number || null}
18523
+ */
18524
+ this.InstanceCount = null;
18525
+
18526
+ /**
18527
+ * <p>Minimum count of Serverless instance, range [1,15]</p>
18528
+ * @type {number || null}
18529
+ */
18530
+ this.MinRoCount = null;
18531
+
18532
+ /**
18533
+ * <p>Maximum count of Serverless instances, range [1,15]</p>
18534
+ * @type {number || null}
18535
+ */
18536
+ this.MaxRoCount = null;
18537
+
18538
+ /**
18539
+ * <p>Minimum specification of Serverless instance</p>
18540
+ * @type {number || null}
18541
+ */
18542
+ this.MinRoCpu = null;
18543
+
18544
+ /**
18545
+ * <p>Maximum specification of Serverless instance</p>
18546
+ * @type {number || null}
18547
+ */
18548
+ this.MaxRoCpu = null;
18549
+
18550
+ /**
18551
+ * <p>Instance Machine Type</p><ol><li>common, universal type.</li><li>exclusive, dedicated.</li></ol>
18552
+ * @type {string || null}
18553
+ */
18554
+ this.DeviceType = null;
18199
18555
 
18200
18556
  }
18201
18557
 
@@ -18206,8 +18562,15 @@ class OfflineLibraDBClusterResponse extends AbstractModel {
18206
18562
  if (!params) {
18207
18563
  return;
18208
18564
  }
18209
- this.FlowId = 'FlowId' in params ? params.FlowId : null;
18210
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
18565
+ this.Cpu = 'Cpu' in params ? params.Cpu : null;
18566
+ this.Memory = 'Memory' in params ? params.Memory : null;
18567
+ this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
18568
+ this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
18569
+ this.MinRoCount = 'MinRoCount' in params ? params.MinRoCount : null;
18570
+ this.MaxRoCount = 'MaxRoCount' in params ? params.MaxRoCount : null;
18571
+ this.MinRoCpu = 'MinRoCpu' in params ? params.MinRoCpu : null;
18572
+ this.MaxRoCpu = 'MaxRoCpu' in params ? params.MaxRoCpu : null;
18573
+ this.DeviceType = 'DeviceType' in params ? params.DeviceType : null;
18211
18574
 
18212
18575
  }
18213
18576
  }
@@ -19670,6 +20033,48 @@ class CloseWanResponse extends AbstractModel {
19670
20033
  }
19671
20034
  }
19672
20035
 
20036
+ /**
20037
+ * ModifyProxyRwSplit response structure.
20038
+ * @class
20039
+ */
20040
+ class ModifyProxyRwSplitResponse extends AbstractModel {
20041
+ constructor(){
20042
+ super();
20043
+
20044
+ /**
20045
+ * <p>Async FlowId</p>
20046
+ * @type {number || null}
20047
+ */
20048
+ this.FlowId = null;
20049
+
20050
+ /**
20051
+ * <p>Asynchronous task ID.</p>
20052
+ * @type {number || null}
20053
+ */
20054
+ this.TaskId = null;
20055
+
20056
+ /**
20057
+ * 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.
20058
+ * @type {string || null}
20059
+ */
20060
+ this.RequestId = null;
20061
+
20062
+ }
20063
+
20064
+ /**
20065
+ * @private
20066
+ */
20067
+ deserialize(params) {
20068
+ if (!params) {
20069
+ return;
20070
+ }
20071
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
20072
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
20073
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
20074
+
20075
+ }
20076
+ }
20077
+
19673
20078
  /**
19674
20079
  * DescribeInstances response structure.
19675
20080
  * @class
@@ -19913,30 +20318,90 @@ class CloseWanRequest extends AbstractModel {
19913
20318
  }
19914
20319
 
19915
20320
  /**
19916
- * ModifyProxyRwSplit response structure.
20321
+ * Audit log filter criteria. When querying audit logs, filter the returned audit logs by user.
19917
20322
  * @class
19918
20323
  */
19919
- class ModifyProxyRwSplitResponse extends AbstractModel {
20324
+ class AuditLogFilter extends AbstractModel {
19920
20325
  constructor(){
19921
20326
  super();
19922
20327
 
19923
20328
  /**
19924
- * <p>Async FlowId</p>
20329
+ * Client address.
20330
+ * @type {Array.<string> || null}
20331
+ */
20332
+ this.Host = null;
20333
+
20334
+ /**
20335
+ * Username.
20336
+ * @type {Array.<string> || null}
20337
+ */
20338
+ this.User = null;
20339
+
20340
+ /**
20341
+ * Database name.
20342
+ * @type {Array.<string> || null}
20343
+ */
20344
+ this.DBName = null;
20345
+
20346
+ /**
20347
+ * Table name.
20348
+ * @type {Array.<string> || null}
20349
+ */
20350
+ this.TableName = null;
20351
+
20352
+ /**
20353
+ * Audit policy name.
20354
+ * @type {Array.<string> || null}
20355
+ */
20356
+ this.PolicyName = null;
20357
+
20358
+ /**
20359
+ * SQL statement. Fuzzy matching supported.
20360
+ * @type {string || null}
20361
+ */
20362
+ this.Sql = null;
20363
+
20364
+ /**
20365
+ * SQL type. Currently supports: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE".
20366
+ * @type {string || null}
20367
+ */
20368
+ this.SqlType = null;
20369
+
20370
+ /**
20371
+ * Execution time. Unit: ms. Filter audit logs with an execution time more than this value.
19925
20372
  * @type {number || null}
19926
20373
  */
19927
- this.FlowId = null;
20374
+ this.ExecTime = null;
19928
20375
 
19929
20376
  /**
19930
- * <p>Asynchronous task ID.</p>
20377
+ * Number of affected rows. Filter audit logs where the number of affected rows is more than this value.
19931
20378
  * @type {number || null}
19932
20379
  */
19933
- this.TaskId = null;
20380
+ this.AffectRows = null;
19934
20381
 
19935
20382
  /**
19936
- * 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.
19937
- * @type {string || null}
20383
+ * SQL type. Supports simultaneous query of multiple types. Currently supports: "SELECT", "INSERT", "UPDATE", "DELETE", "CREATE", "DROP", "ALTER", "SET", "REPLACE", "EXECUTE".
20384
+ * @type {Array.<string> || null}
19938
20385
  */
19939
- this.RequestId = null;
20386
+ this.SqlTypes = null;
20387
+
20388
+ /**
20389
+ * SQL statement. Supports transmission of multiple sql statements.
20390
+ * @type {Array.<string> || null}
20391
+ */
20392
+ this.Sqls = null;
20393
+
20394
+ /**
20395
+ * Number of rows returned.
20396
+ * @type {number || null}
20397
+ */
20398
+ this.SentRows = null;
20399
+
20400
+ /**
20401
+ * Thread ID.
20402
+ * @type {Array.<string> || null}
20403
+ */
20404
+ this.ThreadId = null;
19940
20405
 
19941
20406
  }
19942
20407
 
@@ -19947,9 +20412,19 @@ class ModifyProxyRwSplitResponse extends AbstractModel {
19947
20412
  if (!params) {
19948
20413
  return;
19949
20414
  }
19950
- this.FlowId = 'FlowId' in params ? params.FlowId : null;
19951
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
19952
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
20415
+ this.Host = 'Host' in params ? params.Host : null;
20416
+ this.User = 'User' in params ? params.User : null;
20417
+ this.DBName = 'DBName' in params ? params.DBName : null;
20418
+ this.TableName = 'TableName' in params ? params.TableName : null;
20419
+ this.PolicyName = 'PolicyName' in params ? params.PolicyName : null;
20420
+ this.Sql = 'Sql' in params ? params.Sql : null;
20421
+ this.SqlType = 'SqlType' in params ? params.SqlType : null;
20422
+ this.ExecTime = 'ExecTime' in params ? params.ExecTime : null;
20423
+ this.AffectRows = 'AffectRows' in params ? params.AffectRows : null;
20424
+ this.SqlTypes = 'SqlTypes' in params ? params.SqlTypes : null;
20425
+ this.Sqls = 'Sqls' in params ? params.Sqls : null;
20426
+ this.SentRows = 'SentRows' in params ? params.SentRows : null;
20427
+ this.ThreadId = 'ThreadId' in params ? params.ThreadId : null;
19953
20428
 
19954
20429
  }
19955
20430
  }
@@ -21300,66 +21775,78 @@ class Ability extends AbstractModel {
21300
21775
  }
21301
21776
 
21302
21777
  /**
21303
- * Instance initialization configuration information
21778
+ * Global database task info
21304
21779
  * @class
21305
21780
  */
21306
- class InstanceInitInfo extends AbstractModel {
21781
+ class GdnTaskInfo extends AbstractModel {
21307
21782
  constructor(){
21308
21783
  super();
21309
21784
 
21310
21785
  /**
21311
- * <p>Instance cpu</p>
21312
- * @type {number || null}
21786
+ * Unique ID of the global database
21787
+ * @type {string || null}
21313
21788
  */
21314
- this.Cpu = null;
21789
+ this.GdnId = null;
21315
21790
 
21316
21791
  /**
21317
- * <p>Instance memory</p>
21318
- * @type {number || null}
21792
+ * unique alias of the global database
21793
+ * @type {string || null}
21319
21794
  */
21320
- this.Memory = null;
21795
+ this.GdnName = null;
21321
21796
 
21322
21797
  /**
21323
- * <p>Instance type rw/ro</p>
21798
+ * Primary Cluster ID
21324
21799
  * @type {string || null}
21325
21800
  */
21326
- this.InstanceType = null;
21801
+ this.PrimaryClusterId = null;
21327
21802
 
21328
21803
  /**
21329
- * <p>Number of instances, range [1,15]</p>
21330
- * @type {number || null}
21804
+ * Master cluster region
21805
+ * @type {string || null}
21331
21806
  */
21332
- this.InstanceCount = null;
21807
+ this.PrimaryClusterRegion = null;
21333
21808
 
21334
21809
  /**
21335
- * <p>Minimum count of Serverless instance, range [1,15]</p>
21336
- * @type {number || null}
21810
+ * from the cluster region
21811
+ * @type {string || null}
21337
21812
  */
21338
- this.MinRoCount = null;
21813
+ this.StandbyClusterRegion = null;
21339
21814
 
21340
21815
  /**
21341
- * <p>Maximum count of Serverless instances, range [1,15]</p>
21342
- * @type {number || null}
21816
+ * Slave cluster ID
21817
+ * @type {string || null}
21343
21818
  */
21344
- this.MaxRoCount = null;
21819
+ this.StandbyClusterId = null;
21345
21820
 
21346
21821
  /**
21347
- * <p>Minimum specification of Serverless instance</p>
21348
- * @type {number || null}
21822
+ * From the cluster name
21823
+ * @type {string || null}
21349
21824
  */
21350
- this.MinRoCpu = null;
21825
+ this.StandbyClusterName = null;
21351
21826
 
21352
21827
  /**
21353
- * <p>Maximum specification of Serverless instance</p>
21828
+ * Whether forced switchover is performed
21829
+ * @type {string || null}
21830
+ */
21831
+ this.ForceSwitchGdn = null;
21832
+
21833
+ /**
21834
+ * Return code
21354
21835
  * @type {number || null}
21355
21836
  */
21356
- this.MaxRoCpu = null;
21837
+ this.Code = null;
21357
21838
 
21358
21839
  /**
21359
- * <p>Instance Machine Type</p><ol><li>common, universal type.</li><li>exclusive, dedicated.</li></ol>
21840
+ * prompt message
21360
21841
  * @type {string || null}
21361
21842
  */
21362
- this.DeviceType = null;
21843
+ this.Message = null;
21844
+
21845
+ /**
21846
+ * Whether forced switchover is supported
21847
+ * @type {string || null}
21848
+ */
21849
+ this.IsSupportForce = null;
21363
21850
 
21364
21851
  }
21365
21852
 
@@ -21370,15 +21857,17 @@ class InstanceInitInfo extends AbstractModel {
21370
21857
  if (!params) {
21371
21858
  return;
21372
21859
  }
21373
- this.Cpu = 'Cpu' in params ? params.Cpu : null;
21374
- this.Memory = 'Memory' in params ? params.Memory : null;
21375
- this.InstanceType = 'InstanceType' in params ? params.InstanceType : null;
21376
- this.InstanceCount = 'InstanceCount' in params ? params.InstanceCount : null;
21377
- this.MinRoCount = 'MinRoCount' in params ? params.MinRoCount : null;
21378
- this.MaxRoCount = 'MaxRoCount' in params ? params.MaxRoCount : null;
21379
- this.MinRoCpu = 'MinRoCpu' in params ? params.MinRoCpu : null;
21380
- this.MaxRoCpu = 'MaxRoCpu' in params ? params.MaxRoCpu : null;
21381
- this.DeviceType = 'DeviceType' in params ? params.DeviceType : null;
21860
+ this.GdnId = 'GdnId' in params ? params.GdnId : null;
21861
+ this.GdnName = 'GdnName' in params ? params.GdnName : null;
21862
+ this.PrimaryClusterId = 'PrimaryClusterId' in params ? params.PrimaryClusterId : null;
21863
+ this.PrimaryClusterRegion = 'PrimaryClusterRegion' in params ? params.PrimaryClusterRegion : null;
21864
+ this.StandbyClusterRegion = 'StandbyClusterRegion' in params ? params.StandbyClusterRegion : null;
21865
+ this.StandbyClusterId = 'StandbyClusterId' in params ? params.StandbyClusterId : null;
21866
+ this.StandbyClusterName = 'StandbyClusterName' in params ? params.StandbyClusterName : null;
21867
+ this.ForceSwitchGdn = 'ForceSwitchGdn' in params ? params.ForceSwitchGdn : null;
21868
+ this.Code = 'Code' in params ? params.Code : null;
21869
+ this.Message = 'Message' in params ? params.Message : null;
21870
+ this.IsSupportForce = 'IsSupportForce' in params ? params.IsSupportForce : null;
21382
21871
 
21383
21872
  }
21384
21873
  }
@@ -23302,6 +23791,55 @@ class BindClusterResourcePackagesResponse extends AbstractModel {
23302
23791
  }
23303
23792
  }
23304
23793
 
23794
+ /**
23795
+ * Basic information of the audit log hit rule template
23796
+ * @class
23797
+ */
23798
+ class LogRuleTemplateInfo extends AbstractModel {
23799
+ constructor(){
23800
+ super();
23801
+
23802
+ /**
23803
+ * Template ID.
23804
+ * @type {string || null}
23805
+ */
23806
+ this.RuleTemplateId = null;
23807
+
23808
+ /**
23809
+ * Rule template name.
23810
+ * @type {string || null}
23811
+ */
23812
+ this.RuleTemplateName = null;
23813
+
23814
+ /**
23815
+ * Alarm level. Valid values: 1 - Low risk, 2 - Medium risk, 3 - High risk.
23816
+ * @type {string || null}
23817
+ */
23818
+ this.AlarmLevel = null;
23819
+
23820
+ /**
23821
+ * Rule template change status. Valid values: 0 - unchanged, 1 - changed, 2 - deleted.
23822
+ * @type {number || null}
23823
+ */
23824
+ this.RuleTemplateStatus = null;
23825
+
23826
+ }
23827
+
23828
+ /**
23829
+ * @private
23830
+ */
23831
+ deserialize(params) {
23832
+ if (!params) {
23833
+ return;
23834
+ }
23835
+ this.RuleTemplateId = 'RuleTemplateId' in params ? params.RuleTemplateId : null;
23836
+ this.RuleTemplateName = 'RuleTemplateName' in params ? params.RuleTemplateName : null;
23837
+ this.AlarmLevel = 'AlarmLevel' in params ? params.AlarmLevel : null;
23838
+ this.RuleTemplateStatus = 'RuleTemplateStatus' in params ? params.RuleTemplateStatus : null;
23839
+
23840
+ }
23841
+ }
23842
+
23305
23843
  /**
23306
23844
  * StartCLSDelivery request structure.
23307
23845
  * @class
@@ -24020,77 +24558,18 @@ class DescribeInstanceSlowQueriesResponse extends AbstractModel {
24020
24558
  }
24021
24559
 
24022
24560
  /**
24023
- * DescribeInstances request structure.
24561
+ * GrantAccountPrivileges response structure.
24024
24562
  * @class
24025
24563
  */
24026
- class DescribeInstancesRequest extends AbstractModel {
24564
+ class GrantAccountPrivilegesResponse extends AbstractModel {
24027
24565
  constructor(){
24028
24566
  super();
24029
24567
 
24030
24568
  /**
24031
- * Number of returned results. Default value: 20. Maximum value: 100
24032
- * @type {number || null}
24033
- */
24034
- this.Limit = null;
24035
-
24036
- /**
24037
- * Record offset. Default value: 0
24038
- * @type {number || null}
24039
- */
24040
- this.Offset = null;
24041
-
24042
- /**
24043
- * Sort by field. Valid values:
24044
- <li> CREATETIME: creation time</li>
24045
- <li> PERIODENDTIME: expiration time</li>
24046
- * @type {string || null}
24047
- */
24048
- this.OrderBy = null;
24049
-
24050
- /**
24051
- * Sorting order. Valid values:
24052
- <li> ASC: ascending</li>
24053
- <li> DESC: descending</li>
24054
- * @type {string || null}
24055
- */
24056
- this.OrderByType = null;
24057
-
24058
- /**
24059
- * Filter. If more than one filter exists, the logical relationship between these filters is `AND`.
24060
- * @type {Array.<QueryFilter> || null}
24061
- */
24062
- this.Filters = null;
24063
-
24064
- /**
24065
- * Engine type. Currently, `MYSQL` is supported.
24066
- * @type {string || null}
24067
- */
24068
- this.DbType = null;
24069
-
24070
- /**
24071
- * Instance status. Valid values:
24072
- creating
24073
- running
24074
- isolating
24075
- isolated
24076
- activating: Removing the instance from isolation
24077
- offlining: Eliminating the instance
24078
- offlined: Instance eliminated
24079
- * @type {string || null}
24080
- */
24081
- this.Status = null;
24082
-
24083
- /**
24084
- * Instance ID list
24085
- * @type {Array.<string> || null}
24086
- */
24087
- this.InstanceIds = null;
24088
-
24089
- /**
24090
- * Cluster type, value ranges from <li>CYNOSDB: transactional cluster</li><li>LIBRADB: analysis cluster</li><li>ALL: all</li>, default to ALL.
24569
+ * 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.
24091
24570
  * @type {string || null}
24092
24571
  */
24093
- this.ClusterType = null;
24572
+ this.RequestId = null;
24094
24573
 
24095
24574
  }
24096
24575
 
@@ -24101,23 +24580,7 @@ offlined: Instance eliminated
24101
24580
  if (!params) {
24102
24581
  return;
24103
24582
  }
24104
- this.Limit = 'Limit' in params ? params.Limit : null;
24105
- this.Offset = 'Offset' in params ? params.Offset : null;
24106
- this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
24107
- this.OrderByType = 'OrderByType' in params ? params.OrderByType : null;
24108
-
24109
- if (params.Filters) {
24110
- this.Filters = new Array();
24111
- for (let z in params.Filters) {
24112
- let obj = new QueryFilter();
24113
- obj.deserialize(params.Filters[z]);
24114
- this.Filters.push(obj);
24115
- }
24116
- }
24117
- this.DbType = 'DbType' in params ? params.DbType : null;
24118
- this.Status = 'Status' in params ? params.Status : null;
24119
- this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
24120
- this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
24583
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
24121
24584
 
24122
24585
  }
24123
24586
  }
@@ -27660,42 +28123,24 @@ class RollBackClusterRequest extends AbstractModel {
27660
28123
  }
27661
28124
 
27662
28125
  /**
27663
- * Access proxy configuration.
28126
+ * ModifyClusterBinlogRedoLogAutoCopyVault response structure.
27664
28127
  * @class
27665
28128
  */
27666
- class ProxyConfigInfo extends AbstractModel {
28129
+ class ModifyClusterBinlogRedoLogAutoCopyVaultResponse extends AbstractModel {
27667
28130
  constructor(){
27668
28131
  super();
27669
28132
 
27670
28133
  /**
27671
- * Number of database proxy group nodes. this parameter is no longer recommended. recommend using ProxyZones.
27672
- * @type {number || null}
27673
- */
27674
- this.ProxyCount = null;
27675
-
27676
- /**
27677
- * Number of CPU cores
27678
- * @type {number || null}
27679
- */
27680
- this.Cpu = null;
27681
-
27682
- /**
27683
- * Specifies the memory.
28134
+ * Task ID.
27684
28135
  * @type {number || null}
27685
28136
  */
27686
- this.Mem = null;
28137
+ this.TaskId = null;
27687
28138
 
27688
28139
  /**
27689
- * Description.
28140
+ * 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.
27690
28141
  * @type {string || null}
27691
28142
  */
27692
- this.Description = null;
27693
-
27694
- /**
27695
- * Database node information (this parameter is used in combination with ProxyCount, either one must be manually input).
27696
- * @type {Array.<ProxyZone> || null}
27697
- */
27698
- this.ProxyZones = null;
28143
+ this.RequestId = null;
27699
28144
 
27700
28145
  }
27701
28146
 
@@ -27706,19 +28151,8 @@ class ProxyConfigInfo extends AbstractModel {
27706
28151
  if (!params) {
27707
28152
  return;
27708
28153
  }
27709
- this.ProxyCount = 'ProxyCount' in params ? params.ProxyCount : null;
27710
- this.Cpu = 'Cpu' in params ? params.Cpu : null;
27711
- this.Mem = 'Mem' in params ? params.Mem : null;
27712
- this.Description = 'Description' in params ? params.Description : null;
27713
-
27714
- if (params.ProxyZones) {
27715
- this.ProxyZones = new Array();
27716
- for (let z in params.ProxyZones) {
27717
- let obj = new ProxyZone();
27718
- obj.deserialize(params.ProxyZones[z]);
27719
- this.ProxyZones.push(obj);
27720
- }
27721
- }
28154
+ this.TaskId = 'TaskId' in params ? params.TaskId : null;
28155
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
27722
28156
 
27723
28157
  }
27724
28158
  }
@@ -28851,18 +29285,24 @@ class OpenClusterPasswordComplexityRequest extends AbstractModel {
28851
29285
  }
28852
29286
 
28853
29287
  /**
28854
- * ModifyClusterBinlogRedoLogAutoCopyVault response structure.
29288
+ * DescribeAuditLogs response structure.
28855
29289
  * @class
28856
29290
  */
28857
- class ModifyClusterBinlogRedoLogAutoCopyVaultResponse extends AbstractModel {
29291
+ class DescribeAuditLogsResponse extends AbstractModel {
28858
29292
  constructor(){
28859
29293
  super();
28860
29294
 
28861
29295
  /**
28862
- * Task ID.
29296
+ * Number of eligible audit log entries.
28863
29297
  * @type {number || null}
28864
29298
  */
28865
- this.TaskId = null;
29299
+ this.TotalCount = null;
29300
+
29301
+ /**
29302
+ * Audit log details.
29303
+ * @type {Array.<AuditLog> || null}
29304
+ */
29305
+ this.Items = null;
28866
29306
 
28867
29307
  /**
28868
29308
  * 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.
@@ -28879,7 +29319,16 @@ class ModifyClusterBinlogRedoLogAutoCopyVaultResponse extends AbstractModel {
28879
29319
  if (!params) {
28880
29320
  return;
28881
29321
  }
28882
- this.TaskId = 'TaskId' in params ? params.TaskId : null;
29322
+ this.TotalCount = 'TotalCount' in params ? params.TotalCount : null;
29323
+
29324
+ if (params.Items) {
29325
+ this.Items = new Array();
29326
+ for (let z in params.Items) {
29327
+ let obj = new AuditLog();
29328
+ obj.deserialize(params.Items[z]);
29329
+ this.Items.push(obj);
29330
+ }
29331
+ }
28883
29332
  this.RequestId = 'RequestId' in params ? params.RequestId : null;
28884
29333
 
28885
29334
  }
@@ -34112,6 +34561,41 @@ class CloseSSLResponse extends AbstractModel {
34112
34561
  }
34113
34562
  }
34114
34563
 
34564
+ /**
34565
+ * OfflineLibraDBCluster response structure.
34566
+ * @class
34567
+ */
34568
+ class OfflineLibraDBClusterResponse extends AbstractModel {
34569
+ constructor(){
34570
+ super();
34571
+
34572
+ /**
34573
+ * flow id
34574
+ * @type {number || null}
34575
+ */
34576
+ this.FlowId = null;
34577
+
34578
+ /**
34579
+ * 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.
34580
+ * @type {string || null}
34581
+ */
34582
+ this.RequestId = null;
34583
+
34584
+ }
34585
+
34586
+ /**
34587
+ * @private
34588
+ */
34589
+ deserialize(params) {
34590
+ if (!params) {
34591
+ return;
34592
+ }
34593
+ this.FlowId = 'FlowId' in params ? params.FlowId : null;
34594
+ this.RequestId = 'RequestId' in params ? params.RequestId : null;
34595
+
34596
+ }
34597
+ }
34598
+
34115
34599
  /**
34116
34600
  * OpenClusterPasswordComplexity response structure.
34117
34601
  * @class
@@ -35065,18 +35549,77 @@ class DescribeIsolatedInstancesResponse extends AbstractModel {
35065
35549
  }
35066
35550
 
35067
35551
  /**
35068
- * GrantAccountPrivileges response structure.
35552
+ * DescribeInstances request structure.
35069
35553
  * @class
35070
35554
  */
35071
- class GrantAccountPrivilegesResponse extends AbstractModel {
35555
+ class DescribeInstancesRequest extends AbstractModel {
35072
35556
  constructor(){
35073
35557
  super();
35074
35558
 
35075
35559
  /**
35076
- * 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.
35560
+ * Number of returned results. Default value: 20. Maximum value: 100
35561
+ * @type {number || null}
35562
+ */
35563
+ this.Limit = null;
35564
+
35565
+ /**
35566
+ * Record offset. Default value: 0
35567
+ * @type {number || null}
35568
+ */
35569
+ this.Offset = null;
35570
+
35571
+ /**
35572
+ * Sort by field. Valid values:
35573
+ <li> CREATETIME: creation time</li>
35574
+ <li> PERIODENDTIME: expiration time</li>
35077
35575
  * @type {string || null}
35078
35576
  */
35079
- this.RequestId = null;
35577
+ this.OrderBy = null;
35578
+
35579
+ /**
35580
+ * Sorting order. Valid values:
35581
+ <li> ASC: ascending</li>
35582
+ <li> DESC: descending</li>
35583
+ * @type {string || null}
35584
+ */
35585
+ this.OrderByType = null;
35586
+
35587
+ /**
35588
+ * Filter. If more than one filter exists, the logical relationship between these filters is `AND`.
35589
+ * @type {Array.<QueryFilter> || null}
35590
+ */
35591
+ this.Filters = null;
35592
+
35593
+ /**
35594
+ * Engine type. Currently, `MYSQL` is supported.
35595
+ * @type {string || null}
35596
+ */
35597
+ this.DbType = null;
35598
+
35599
+ /**
35600
+ * Instance status. Valid values:
35601
+ creating
35602
+ running
35603
+ isolating
35604
+ isolated
35605
+ activating: Removing the instance from isolation
35606
+ offlining: Eliminating the instance
35607
+ offlined: Instance eliminated
35608
+ * @type {string || null}
35609
+ */
35610
+ this.Status = null;
35611
+
35612
+ /**
35613
+ * Instance ID list
35614
+ * @type {Array.<string> || null}
35615
+ */
35616
+ this.InstanceIds = null;
35617
+
35618
+ /**
35619
+ * Cluster type, value ranges from <li>CYNOSDB: transactional cluster</li><li>LIBRADB: analysis cluster</li><li>ALL: all</li>, default to ALL.
35620
+ * @type {string || null}
35621
+ */
35622
+ this.ClusterType = null;
35080
35623
 
35081
35624
  }
35082
35625
 
@@ -35087,7 +35630,23 @@ class GrantAccountPrivilegesResponse extends AbstractModel {
35087
35630
  if (!params) {
35088
35631
  return;
35089
35632
  }
35090
- this.RequestId = 'RequestId' in params ? params.RequestId : null;
35633
+ this.Limit = 'Limit' in params ? params.Limit : null;
35634
+ this.Offset = 'Offset' in params ? params.Offset : null;
35635
+ this.OrderBy = 'OrderBy' in params ? params.OrderBy : null;
35636
+ this.OrderByType = 'OrderByType' in params ? params.OrderByType : null;
35637
+
35638
+ if (params.Filters) {
35639
+ this.Filters = new Array();
35640
+ for (let z in params.Filters) {
35641
+ let obj = new QueryFilter();
35642
+ obj.deserialize(params.Filters[z]);
35643
+ this.Filters.push(obj);
35644
+ }
35645
+ }
35646
+ this.DbType = 'DbType' in params ? params.DbType : null;
35647
+ this.Status = 'Status' in params ? params.Status : null;
35648
+ this.InstanceIds = 'InstanceIds' in params ? params.InstanceIds : null;
35649
+ this.ClusterType = 'ClusterType' in params ? params.ClusterType : null;
35091
35650
 
35092
35651
  }
35093
35652
  }
@@ -36399,6 +36958,7 @@ module.exports = {
36399
36958
  InquirePriceMultiSpecRequest: InquirePriceMultiSpecRequest,
36400
36959
  RollbackRoGroupInfo: RollbackRoGroupInfo,
36401
36960
  CreateClustersResponse: CreateClustersResponse,
36961
+ ProxyConfigInfo: ProxyConfigInfo,
36402
36962
  CynosdbInstanceGrp: CynosdbInstanceGrp,
36403
36963
  ModifyInstanceParamRequest: ModifyInstanceParamRequest,
36404
36964
  ModifyInstanceUpgradeLimitDaysResponse: ModifyInstanceUpgradeLimitDaysResponse,
@@ -36475,6 +37035,7 @@ module.exports = {
36475
37035
  ModifyServerlessStrategyResponse: ModifyServerlessStrategyResponse,
36476
37036
  ProxyGroupRwInfo: ProxyGroupRwInfo,
36477
37037
  DescribeProxyNodesRequest: DescribeProxyNodesRequest,
37038
+ DescribeAuditLogsRequest: DescribeAuditLogsRequest,
36478
37039
  InquirePriceCreateResponse: InquirePriceCreateResponse,
36479
37040
  DescribeClusterReadOnlyRequest: DescribeClusterReadOnlyRequest,
36480
37041
  DescribeIntegrateTaskResponse: DescribeIntegrateTaskResponse,
@@ -36515,6 +37076,7 @@ module.exports = {
36515
37076
  ManualBackupData: ManualBackupData,
36516
37077
  DescribeBinlogsRequest: DescribeBinlogsRequest,
36517
37078
  InquirePriceModifyResponse: InquirePriceModifyResponse,
37079
+ InstanceAuditLogFilter: InstanceAuditLogFilter,
36518
37080
  ModifyLibraDBClusterReplicationObjectResponse: ModifyLibraDBClusterReplicationObjectResponse,
36519
37081
  UpgradeProxyVersionRequest: UpgradeProxyVersionRequest,
36520
37082
  SlaveZoneStockInfo: SlaveZoneStockInfo,
@@ -36621,7 +37183,6 @@ module.exports = {
36621
37183
  ModifyLibraDBClusterAccountDescriptionRequest: ModifyLibraDBClusterAccountDescriptionRequest,
36622
37184
  ModifyAuditServiceRequest: ModifyAuditServiceRequest,
36623
37185
  DescribeLibraDBClusterDetailResponse: DescribeLibraDBClusterDetailResponse,
36624
- GdnTaskInfo: GdnTaskInfo,
36625
37186
  ModifyClusterNameResponse: ModifyClusterNameResponse,
36626
37187
  CrossRegionBackupItem: CrossRegionBackupItem,
36627
37188
  ExportInstanceSlowQueriesRequest: ExportInstanceSlowQueriesRequest,
@@ -36663,9 +37224,10 @@ module.exports = {
36663
37224
  RollbackTimeRange: RollbackTimeRange,
36664
37225
  CreateClusterDatabaseRequest: CreateClusterDatabaseRequest,
36665
37226
  OfflineInstanceRequest: OfflineInstanceRequest,
37227
+ AuditLog: AuditLog,
36666
37228
  CreateProxyResponse: CreateProxyResponse,
36667
37229
  BizTaskModifyParamsData: BizTaskModifyParamsData,
36668
- OfflineLibraDBClusterResponse: OfflineLibraDBClusterResponse,
37230
+ InstanceInitInfo: InstanceInitInfo,
36669
37231
  Module: Module,
36670
37232
  OpenClusterTransparentEncryptResponse: OpenClusterTransparentEncryptResponse,
36671
37233
  ModifyBackupConfigRequest: ModifyBackupConfigRequest,
@@ -36699,12 +37261,13 @@ module.exports = {
36699
37261
  ModifyClusterGlobalEncryptionResponse: ModifyClusterGlobalEncryptionResponse,
36700
37262
  CheckTransferClusterZoneRequest: CheckTransferClusterZoneRequest,
36701
37263
  CloseWanResponse: CloseWanResponse,
37264
+ ModifyProxyRwSplitResponse: ModifyProxyRwSplitResponse,
36702
37265
  DescribeInstancesResponse: DescribeInstancesResponse,
36703
37266
  SalePackageSpec: SalePackageSpec,
36704
37267
  Account: Account,
36705
37268
  ModifyResourcePackagesDeductionPriorityResponse: ModifyResourcePackagesDeductionPriorityResponse,
36706
37269
  CloseWanRequest: CloseWanRequest,
36707
- ModifyProxyRwSplitResponse: ModifyProxyRwSplitResponse,
37270
+ AuditLogFilter: AuditLogFilter,
36708
37271
  TableMappingObject: TableMappingObject,
36709
37272
  GoodsPrice: GoodsPrice,
36710
37273
  ModifyResourcePackageClustersRequest: ModifyResourcePackageClustersRequest,
@@ -36730,7 +37293,7 @@ module.exports = {
36730
37293
  SwitchClusterZoneRequest: SwitchClusterZoneRequest,
36731
37294
  DescribeLibraDBClusterAutoMapRuleResponse: DescribeLibraDBClusterAutoMapRuleResponse,
36732
37295
  Ability: Ability,
36733
- InstanceInitInfo: InstanceInitInfo,
37296
+ GdnTaskInfo: GdnTaskInfo,
36734
37297
  InquirePriceModifyRequest: InquirePriceModifyRequest,
36735
37298
  BizTaskInfo: BizTaskInfo,
36736
37299
  RemoveClusterSlaveZoneResponse: RemoveClusterSlaveZoneResponse,
@@ -36760,6 +37323,7 @@ module.exports = {
36760
37323
  ModifyParamTemplateResponse: ModifyParamTemplateResponse,
36761
37324
  ActivateLibraDBClusterResponse: ActivateLibraDBClusterResponse,
36762
37325
  BindClusterResourcePackagesResponse: BindClusterResourcePackagesResponse,
37326
+ LogRuleTemplateInfo: LogRuleTemplateInfo,
36763
37327
  StartCLSDeliveryRequest: StartCLSDeliveryRequest,
36764
37328
  LibraClusterSet: LibraClusterSet,
36765
37329
  CreateProxyRequest: CreateProxyRequest,
@@ -36772,7 +37336,7 @@ module.exports = {
36772
37336
  DescribeLibraDBClusterAccountPrivilegesResponse: DescribeLibraDBClusterAccountPrivilegesResponse,
36773
37337
  DescribeAuditInstanceListRequest: DescribeAuditInstanceListRequest,
36774
37338
  DescribeInstanceSlowQueriesResponse: DescribeInstanceSlowQueriesResponse,
36775
- DescribeInstancesRequest: DescribeInstancesRequest,
37339
+ GrantAccountPrivilegesResponse: GrantAccountPrivilegesResponse,
36776
37340
  CopyBackupToVaultRequest: CopyBackupToVaultRequest,
36777
37341
  CloseClusterPasswordComplexityResponse: CloseClusterPasswordComplexityResponse,
36778
37342
  DescribeBackupDownloadUrlResponse: DescribeBackupDownloadUrlResponse,
@@ -36829,7 +37393,7 @@ module.exports = {
36829
37393
  DescribeSaveBackupClustersRequest: DescribeSaveBackupClustersRequest,
36830
37394
  DescribeLibraDBClusterAccountAllPrivilegesResponse: DescribeLibraDBClusterAccountAllPrivilegesResponse,
36831
37395
  RollBackClusterRequest: RollBackClusterRequest,
36832
- ProxyConfigInfo: ProxyConfigInfo,
37396
+ ModifyClusterBinlogRedoLogAutoCopyVaultResponse: ModifyClusterBinlogRedoLogAutoCopyVaultResponse,
36833
37397
  ModifyClusterNameRequest: ModifyClusterNameRequest,
36834
37398
  InstanceAuditRule: InstanceAuditRule,
36835
37399
  DescribeLibraDBClusterDetailRequest: DescribeLibraDBClusterDetailRequest,
@@ -36850,7 +37414,7 @@ module.exports = {
36850
37414
  OldAddrInfo: OldAddrInfo,
36851
37415
  DescribeTasksResponse: DescribeTasksResponse,
36852
37416
  OpenClusterPasswordComplexityRequest: OpenClusterPasswordComplexityRequest,
36853
- ModifyClusterBinlogRedoLogAutoCopyVaultResponse: ModifyClusterBinlogRedoLogAutoCopyVaultResponse,
37417
+ DescribeAuditLogsResponse: DescribeAuditLogsResponse,
36854
37418
  PackagePriority: PackagePriority,
36855
37419
  DescribeInstancesWithinSameClusterRequest: DescribeInstancesWithinSameClusterRequest,
36856
37420
  AddLibraDBInstancesRequest: AddLibraDBInstancesRequest,
@@ -36946,6 +37510,7 @@ module.exports = {
36946
37510
  DescribeResourcePackageListRequest: DescribeResourcePackageListRequest,
36947
37511
  TransferClusterZoneRequest: TransferClusterZoneRequest,
36948
37512
  CloseSSLResponse: CloseSSLResponse,
37513
+ OfflineLibraDBClusterResponse: OfflineLibraDBClusterResponse,
36949
37514
  OpenClusterPasswordComplexityResponse: OpenClusterPasswordComplexityResponse,
36950
37515
  DescribeBackupListByVaultResponse: DescribeBackupListByVaultResponse,
36951
37516
  DescribeAuditRuleTemplatesRequest: DescribeAuditRuleTemplatesRequest,
@@ -36960,7 +37525,7 @@ module.exports = {
36960
37525
  ProxyVersionInfo: ProxyVersionInfo,
36961
37526
  DescribeInstanceSlowQueriesRequest: DescribeInstanceSlowQueriesRequest,
36962
37527
  DescribeIsolatedInstancesResponse: DescribeIsolatedInstancesResponse,
36963
- GrantAccountPrivilegesResponse: GrantAccountPrivilegesResponse,
37528
+ DescribeInstancesRequest: DescribeInstancesRequest,
36964
37529
  LogicBackupConfigInfo: LogicBackupConfigInfo,
36965
37530
  CynosdbInstanceGroup: CynosdbInstanceGroup,
36966
37531
  ActivateLibraDBInstanceRequest: ActivateLibraDBInstanceRequest,