@alicloud/das20200116 2.2.1 → 2.2.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/das20200116",
3
- "version": "2.2.1",
3
+ "version": "2.2.3",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -5288,6 +5288,7 @@ export class DescribeSlowLogStatisticResponseBodyDataDataLogs extends $dara.Mode
5288
5288
  * 772
5289
5289
  */
5290
5290
  rowsSent?: number;
5291
+ ruleId?: string;
5291
5292
  /**
5292
5293
  * @example
5293
5294
  * SELECT \\"Hello, World!\\" FROM DUAL
@@ -5419,6 +5420,7 @@ export class DescribeSlowLogStatisticResponseBodyDataDataLogs extends $dara.Mode
5419
5420
  rowsCountAffected: 'RowsCountAffected',
5420
5421
  rowsExamined: 'RowsExamined',
5421
5422
  rowsSent: 'RowsSent',
5423
+ ruleId: 'RuleId',
5422
5424
  SQLText: 'SQLText',
5423
5425
  scheme: 'Scheme',
5424
5426
  scnt: 'Scnt',
@@ -5514,6 +5516,7 @@ export class DescribeSlowLogStatisticResponseBodyDataDataLogs extends $dara.Mode
5514
5516
  rowsCountAffected: 'number',
5515
5517
  rowsExamined: 'number',
5516
5518
  rowsSent: 'number',
5519
+ ruleId: 'string',
5517
5520
  SQLText: 'string',
5518
5521
  scheme: 'string',
5519
5522
  scnt: 'number',
@@ -20685,7 +20688,7 @@ export class AddHDMInstanceResponse extends $dara.Model {
20685
20688
  export class CreateCacheAnalysisJobRequest extends $dara.Model {
20686
20689
  /**
20687
20690
  * @remarks
20688
- * The ID of the backup file. You can call the [DescribeBackups](https://help.aliyun.com/document_detail/61081.html) operation to query the ID.
20691
+ * The ID of the backup file. You can call the [DescribeBackups](https://help.aliyun.com/document_detail/473823.html) operation to query the ID.
20689
20692
  *
20690
20693
  * * If you need to specify multiple backup file IDs, separate them with commas (,). For example, you can set this parameter to `12345,67890`.
20691
20694
  * * If you do not specify this parameter, the system automatically backs up the task and performs cache analysis on the backup file.
@@ -20708,7 +20711,7 @@ export class CreateCacheAnalysisJobRequest extends $dara.Model {
20708
20711
  * @remarks
20709
20712
  * The ID of the data node on the instance. You can specify this parameter to query the monitoring information about the specified node.
20710
20713
  *
20711
- * > If you specify the BackupSetId parameter, the system ignores the NodeId parameter. You can call the [DescribeLogicInstanceTopology](https://help.aliyun.com/document_detail/94665.html) operation to query the node ID.
20714
+ * > If you specify the BackupSetId parameter, the system ignores the NodeId parameter. You can call the [DescribeLogicInstanceTopology](https://help.aliyun.com/document_detail/473786.html) operation to query the node ID.
20712
20715
  *
20713
20716
  * @example
20714
20717
  * r-x****-db-0
@@ -24385,7 +24388,7 @@ export class DescribeHotBigKeysRequest extends $dara.Model {
24385
24388
  consoleContext?: string;
24386
24389
  /**
24387
24390
  * @remarks
24388
- * The ID of the ApsaraDB for Redis instance. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/60933.html) operation to query the ID.
24391
+ * The ID of the ApsaraDB for Redis instance.
24389
24392
  *
24390
24393
  * This parameter is required.
24391
24394
  *
@@ -24395,7 +24398,7 @@ export class DescribeHotBigKeysRequest extends $dara.Model {
24395
24398
  instanceId?: string;
24396
24399
  /**
24397
24400
  * @remarks
24398
- * The ID of the data shard on the ApsaraDB for Redis instance. You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/190794.html) operation to query the ID.
24401
+ * The ID of the data shard on the ApsaraDB for Redis instance.
24399
24402
  *
24400
24403
  * @example
24401
24404
  * r-****-db-0
@@ -24537,7 +24540,7 @@ export class DescribeHotBigKeysResponse extends $dara.Model {
24537
24540
  export class DescribeHotKeysRequest extends $dara.Model {
24538
24541
  /**
24539
24542
  * @remarks
24540
- * The ID of the ApsaraDB for Redis instance. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/60933.html) operation to query the instance ID.
24543
+ * The ID of the ApsaraDB for Redis instance.
24541
24544
  *
24542
24545
  * This parameter is required.
24543
24546
  *
@@ -24547,7 +24550,7 @@ export class DescribeHotKeysRequest extends $dara.Model {
24547
24550
  instanceId?: string;
24548
24551
  /**
24549
24552
  * @remarks
24550
- * The ID of the data shard on the ApsaraDB for Redis instance. You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/190794.html) operation to query the data shard ID.
24553
+ * The ID of the data shard on the ApsaraDB for Redis instance.
24551
24554
  *
24552
24555
  * @example
24553
24556
  * r-x****-db-0
@@ -26088,7 +26091,7 @@ export class DescribeTopBigKeysRequest extends $dara.Model {
26088
26091
  endTime?: string;
26089
26092
  /**
26090
26093
  * @remarks
26091
- * The ID of the ApsaraDB for Redis instance. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/60933.html) operation to query the ID.
26094
+ * The ID of the ApsaraDB for Redis instance.
26092
26095
  *
26093
26096
  * This parameter is required.
26094
26097
  *
@@ -26098,7 +26101,7 @@ export class DescribeTopBigKeysRequest extends $dara.Model {
26098
26101
  instanceId?: string;
26099
26102
  /**
26100
26103
  * @remarks
26101
- * The ID of the data shard on the ApsaraDB for Redis instance. You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/190794.html) operation to query the ID.
26104
+ * The ID of the data shard on the ApsaraDB for Redis instance.
26102
26105
  *
26103
26106
  * @example
26104
26107
  * r-x****-db-0
@@ -26282,7 +26285,7 @@ export class DescribeTopHotKeysRequest extends $dara.Model {
26282
26285
  endTime?: string;
26283
26286
  /**
26284
26287
  * @remarks
26285
- * The ID of the ApsaraDB for Redis instance. You can call the [DescribeInstances](https://help.aliyun.com/document_detail/60933.html) operation to query the ID.
26288
+ * The ID of the ApsaraDB for Redis instance.
26286
26289
  *
26287
26290
  * This parameter is required.
26288
26291
  *
@@ -26292,7 +26295,7 @@ export class DescribeTopHotKeysRequest extends $dara.Model {
26292
26295
  instanceId?: string;
26293
26296
  /**
26294
26297
  * @remarks
26295
- * The ID of the data shard on the ApsaraDB for Redis instance. You can call the [DescribeRoleZoneInfo](https://help.aliyun.com/document_detail/190794.html) operation to query the ID.
26298
+ * The ID of the data shard on the ApsaraDB for Redis instance.
26296
26299
  *
26297
26300
  * @example
26298
26301
  * r-****-db-0
@@ -38364,6 +38367,7 @@ export class ModifySqlLogConfigRequest extends $dara.Model {
38364
38367
  * true
38365
38368
  */
38366
38369
  enable?: boolean;
38370
+ enableAudit?: boolean;
38367
38371
  /**
38368
38372
  * @remarks
38369
38373
  * A reserved parameter.
@@ -38420,6 +38424,7 @@ export class ModifySqlLogConfigRequest extends $dara.Model {
38420
38424
  static names(): { [key: string]: string } {
38421
38425
  return {
38422
38426
  enable: 'Enable',
38427
+ enableAudit: 'EnableAudit',
38423
38428
  filters: 'Filters',
38424
38429
  hotRetention: 'HotRetention',
38425
38430
  instanceId: 'InstanceId',
@@ -38431,6 +38436,7 @@ export class ModifySqlLogConfigRequest extends $dara.Model {
38431
38436
  static types(): { [key: string]: any } {
38432
38437
  return {
38433
38438
  enable: 'boolean',
38439
+ enableAudit: 'boolean',
38434
38440
  filters: { 'type': 'array', 'itemType': ModifySqlLogConfigRequestFilters },
38435
38441
  hotRetention: 'number',
38436
38442
  instanceId: 'string',
@@ -41219,7 +41225,6 @@ export default class Client extends OpenApi {
41219
41225
  * * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
41220
41226
  * * The instance is a Community Edition instance that uses a major version of 5.0 or later or a performance-enhanced instance of the Enhanced Edition (Tair).
41221
41227
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
41222
- * > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
41223
41228
  *
41224
41229
  * @param request - DescribeHotBigKeysRequest
41225
41230
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41273,7 +41278,6 @@ export default class Client extends OpenApi {
41273
41278
  * * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
41274
41279
  * * The instance is a Community Edition instance that uses a major version of 5.0 or later or a performance-enhanced instance of the Enhanced Edition (Tair).
41275
41280
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
41276
- * > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
41277
41281
  *
41278
41282
  * @param request - DescribeHotBigKeysRequest
41279
41283
  * @returns DescribeHotBigKeysResponse
@@ -41294,7 +41298,6 @@ export default class Client extends OpenApi {
41294
41298
  * * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
41295
41299
  * * The ApsaraDB for Redis instance is a Community Edition instance that uses a major version of 4.0 or later or a performance-enhanced instance of the Enhanced Edition (Tair).
41296
41300
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
41297
- * > For more information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
41298
41301
  *
41299
41302
  * @param request - DescribeHotKeysRequest
41300
41303
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41344,7 +41347,6 @@ export default class Client extends OpenApi {
41344
41347
  * * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
41345
41348
  * * The ApsaraDB for Redis instance is a Community Edition instance that uses a major version of 4.0 or later or a performance-enhanced instance of the Enhanced Edition (Tair).
41346
41349
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
41347
- * > For more information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
41348
41350
  *
41349
41351
  * @param request - DescribeHotKeysRequest
41350
41352
  * @returns DescribeHotKeysResponse
@@ -41925,7 +41927,6 @@ export default class Client extends OpenApi {
41925
41927
  * * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
41926
41928
  * * The instance is ApsaraDB for Redis Community Edition instances that use a major version of 5.0 or later or a performance-enhanced instance of the ApsaraDB for Redis Enhanced Edition (Tair).
41927
41929
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
41928
- * > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
41929
41930
  *
41930
41931
  * @param request - DescribeTopBigKeysRequest
41931
41932
  * @param runtime - runtime options for this request RuntimeOptions
@@ -41987,7 +41988,6 @@ export default class Client extends OpenApi {
41987
41988
  * * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
41988
41989
  * * The instance is ApsaraDB for Redis Community Edition instances that use a major version of 5.0 or later or a performance-enhanced instance of the ApsaraDB for Redis Enhanced Edition (Tair).
41989
41990
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
41990
- * > For information about how to query and update the minor version of an instance, see [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html) and [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html).
41991
41991
  *
41992
41992
  * @param request - DescribeTopBigKeysRequest
41993
41993
  * @returns DescribeTopBigKeysResponse
@@ -42008,7 +42008,6 @@ export default class Client extends OpenApi {
42008
42008
  * * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
42009
42009
  * * The instance is a Community Edition instance that uses a major version of 4.0 or later or a performance-enhanced instance of the Enhanced Edition (Tair).
42010
42010
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
42011
- * > For information about how to query and update the minor version of an instance, see [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html) and [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html).
42012
42011
  *
42013
42012
  * @param request - DescribeTopHotKeysRequest
42014
42013
  * @param runtime - runtime options for this request RuntimeOptions
@@ -42070,7 +42069,6 @@ export default class Client extends OpenApi {
42070
42069
  * * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
42071
42070
  * * The instance is a Community Edition instance that uses a major version of 4.0 or later or a performance-enhanced instance of the Enhanced Edition (Tair).
42072
42071
  * * The ApsaraDB for Redis instance is updated to the latest minor version.
42073
- * > For information about how to query and update the minor version of an instance, see [DescribeEngineVersion](https://help.aliyun.com/document_detail/95268.html) and [ModifyInstanceMinorVersion](https://help.aliyun.com/document_detail/129381.html).
42074
42072
  *
42075
42073
  * @param request - DescribeTopHotKeysRequest
42076
42074
  * @returns DescribeTopHotKeysResponse
@@ -46581,6 +46579,10 @@ export default class Client extends OpenApi {
46581
46579
  async modifySqlLogConfigWithOptions(request: ModifySqlLogConfigRequest, runtime: $dara.RuntimeOptions): Promise<ModifySqlLogConfigResponse> {
46582
46580
  request.validate();
46583
46581
  let query = { };
46582
+ if (!$dara.isNull(request.enableAudit)) {
46583
+ query["EnableAudit"] = request.enableAudit;
46584
+ }
46585
+
46584
46586
  if (!$dara.isNull(request.filters)) {
46585
46587
  query["Filters"] = request.filters;
46586
46588
  }