@alicloud/das20200116 2.2.1 → 2.2.2
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/dist/client.d.ts +9 -16
- package/dist/client.js +5 -8
- package/dist/client.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +15 -16
package/dist/client.d.ts
CHANGED
|
@@ -17763,7 +17763,7 @@ export declare class DescribeHotBigKeysRequest extends $dara.Model {
|
|
|
17763
17763
|
consoleContext?: string;
|
|
17764
17764
|
/**
|
|
17765
17765
|
* @remarks
|
|
17766
|
-
* The ID of the ApsaraDB for Redis instance.
|
|
17766
|
+
* The ID of the ApsaraDB for Redis instance.
|
|
17767
17767
|
*
|
|
17768
17768
|
* This parameter is required.
|
|
17769
17769
|
*
|
|
@@ -17773,7 +17773,7 @@ export declare class DescribeHotBigKeysRequest extends $dara.Model {
|
|
|
17773
17773
|
instanceId?: string;
|
|
17774
17774
|
/**
|
|
17775
17775
|
* @remarks
|
|
17776
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
17776
|
+
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
17777
17777
|
*
|
|
17778
17778
|
* @example
|
|
17779
17779
|
* r-****-db-0
|
|
@@ -17862,7 +17862,7 @@ export declare class DescribeHotBigKeysResponse extends $dara.Model {
|
|
|
17862
17862
|
export declare class DescribeHotKeysRequest extends $dara.Model {
|
|
17863
17863
|
/**
|
|
17864
17864
|
* @remarks
|
|
17865
|
-
* The ID of the ApsaraDB for Redis instance.
|
|
17865
|
+
* The ID of the ApsaraDB for Redis instance.
|
|
17866
17866
|
*
|
|
17867
17867
|
* This parameter is required.
|
|
17868
17868
|
*
|
|
@@ -17872,7 +17872,7 @@ export declare class DescribeHotKeysRequest extends $dara.Model {
|
|
|
17872
17872
|
instanceId?: string;
|
|
17873
17873
|
/**
|
|
17874
17874
|
* @remarks
|
|
17875
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
17875
|
+
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
17876
17876
|
*
|
|
17877
17877
|
* @example
|
|
17878
17878
|
* r-x****-db-0
|
|
@@ -18901,7 +18901,7 @@ export declare class DescribeTopBigKeysRequest extends $dara.Model {
|
|
|
18901
18901
|
endTime?: string;
|
|
18902
18902
|
/**
|
|
18903
18903
|
* @remarks
|
|
18904
|
-
* The ID of the ApsaraDB for Redis instance.
|
|
18904
|
+
* The ID of the ApsaraDB for Redis instance.
|
|
18905
18905
|
*
|
|
18906
18906
|
* This parameter is required.
|
|
18907
18907
|
*
|
|
@@ -18911,7 +18911,7 @@ export declare class DescribeTopBigKeysRequest extends $dara.Model {
|
|
|
18911
18911
|
instanceId?: string;
|
|
18912
18912
|
/**
|
|
18913
18913
|
* @remarks
|
|
18914
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
18914
|
+
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
18915
18915
|
*
|
|
18916
18916
|
* @example
|
|
18917
18917
|
* r-x****-db-0
|
|
@@ -19038,7 +19038,7 @@ export declare class DescribeTopHotKeysRequest extends $dara.Model {
|
|
|
19038
19038
|
endTime?: string;
|
|
19039
19039
|
/**
|
|
19040
19040
|
* @remarks
|
|
19041
|
-
* The ID of the ApsaraDB for Redis instance.
|
|
19041
|
+
* The ID of the ApsaraDB for Redis instance.
|
|
19042
19042
|
*
|
|
19043
19043
|
* This parameter is required.
|
|
19044
19044
|
*
|
|
@@ -19048,7 +19048,7 @@ export declare class DescribeTopHotKeysRequest extends $dara.Model {
|
|
|
19048
19048
|
instanceId?: string;
|
|
19049
19049
|
/**
|
|
19050
19050
|
* @remarks
|
|
19051
|
-
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
19051
|
+
* The ID of the data shard on the ApsaraDB for Redis instance.
|
|
19052
19052
|
*
|
|
19053
19053
|
* @example
|
|
19054
19054
|
* r-****-db-0
|
|
@@ -27497,6 +27497,7 @@ export declare class ModifySqlLogConfigRequest extends $dara.Model {
|
|
|
27497
27497
|
* true
|
|
27498
27498
|
*/
|
|
27499
27499
|
enable?: boolean;
|
|
27500
|
+
enableAudit?: boolean;
|
|
27500
27501
|
/**
|
|
27501
27502
|
* @remarks
|
|
27502
27503
|
* A reserved parameter.
|
|
@@ -28960,7 +28961,6 @@ export default class Client extends OpenApi {
|
|
|
28960
28961
|
* * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
|
|
28961
28962
|
* * 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).
|
|
28962
28963
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
28963
|
-
* > 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).
|
|
28964
28964
|
*
|
|
28965
28965
|
* @param request - DescribeHotBigKeysRequest
|
|
28966
28966
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -28978,7 +28978,6 @@ export default class Client extends OpenApi {
|
|
|
28978
28978
|
* * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
|
|
28979
28979
|
* * 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).
|
|
28980
28980
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
28981
|
-
* > 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).
|
|
28982
28981
|
*
|
|
28983
28982
|
* @param request - DescribeHotBigKeysRequest
|
|
28984
28983
|
* @returns DescribeHotBigKeysResponse
|
|
@@ -28995,7 +28994,6 @@ export default class Client extends OpenApi {
|
|
|
28995
28994
|
* * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
|
|
28996
28995
|
* * 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).
|
|
28997
28996
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
28998
|
-
* > 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).
|
|
28999
28997
|
*
|
|
29000
28998
|
* @param request - DescribeHotKeysRequest
|
|
29001
28999
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29013,7 +29011,6 @@ export default class Client extends OpenApi {
|
|
|
29013
29011
|
* * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
|
|
29014
29012
|
* * 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).
|
|
29015
29013
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
29016
|
-
* > 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).
|
|
29017
29014
|
*
|
|
29018
29015
|
* @param request - DescribeHotKeysRequest
|
|
29019
29016
|
* @returns DescribeHotKeysResponse
|
|
@@ -29212,7 +29209,6 @@ export default class Client extends OpenApi {
|
|
|
29212
29209
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
29213
29210
|
* * 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).
|
|
29214
29211
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
29215
|
-
* > 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).
|
|
29216
29212
|
*
|
|
29217
29213
|
* @param request - DescribeTopBigKeysRequest
|
|
29218
29214
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29230,7 +29226,6 @@ export default class Client extends OpenApi {
|
|
|
29230
29226
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
29231
29227
|
* * 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).
|
|
29232
29228
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
29233
|
-
* > 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).
|
|
29234
29229
|
*
|
|
29235
29230
|
* @param request - DescribeTopBigKeysRequest
|
|
29236
29231
|
* @returns DescribeTopBigKeysResponse
|
|
@@ -29247,7 +29242,6 @@ export default class Client extends OpenApi {
|
|
|
29247
29242
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
29248
29243
|
* * 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).
|
|
29249
29244
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
29250
|
-
* > 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).
|
|
29251
29245
|
*
|
|
29252
29246
|
* @param request - DescribeTopHotKeysRequest
|
|
29253
29247
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -29265,7 +29259,6 @@ export default class Client extends OpenApi {
|
|
|
29265
29259
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
29266
29260
|
* * 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).
|
|
29267
29261
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
29268
|
-
* > 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).
|
|
29269
29262
|
*
|
|
29270
29263
|
* @param request - DescribeTopHotKeysRequest
|
|
29271
29264
|
* @returns DescribeTopHotKeysResponse
|
package/dist/client.js
CHANGED
|
@@ -15486,6 +15486,7 @@ class ModifySqlLogConfigRequest extends $dara.Model {
|
|
|
15486
15486
|
static names() {
|
|
15487
15487
|
return {
|
|
15488
15488
|
enable: 'Enable',
|
|
15489
|
+
enableAudit: 'EnableAudit',
|
|
15489
15490
|
filters: 'Filters',
|
|
15490
15491
|
hotRetention: 'HotRetention',
|
|
15491
15492
|
instanceId: 'InstanceId',
|
|
@@ -15496,6 +15497,7 @@ class ModifySqlLogConfigRequest extends $dara.Model {
|
|
|
15496
15497
|
static types() {
|
|
15497
15498
|
return {
|
|
15498
15499
|
enable: 'boolean',
|
|
15500
|
+
enableAudit: 'boolean',
|
|
15499
15501
|
filters: { 'type': 'array', 'itemType': ModifySqlLogConfigRequestFilters },
|
|
15500
15502
|
hotRetention: 'number',
|
|
15501
15503
|
instanceId: 'string',
|
|
@@ -17456,7 +17458,6 @@ class Client extends openapi_core_1.default {
|
|
|
17456
17458
|
* * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
|
|
17457
17459
|
* * 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).
|
|
17458
17460
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
17459
|
-
* > 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).
|
|
17460
17461
|
*
|
|
17461
17462
|
* @param request - DescribeHotBigKeysRequest
|
|
17462
17463
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17506,7 +17507,6 @@ class Client extends openapi_core_1.default {
|
|
|
17506
17507
|
* * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
|
|
17507
17508
|
* * 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).
|
|
17508
17509
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
17509
|
-
* > 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).
|
|
17510
17510
|
*
|
|
17511
17511
|
* @param request - DescribeHotBigKeysRequest
|
|
17512
17512
|
* @returns DescribeHotBigKeysResponse
|
|
@@ -17526,7 +17526,6 @@ class Client extends openapi_core_1.default {
|
|
|
17526
17526
|
* * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
|
|
17527
17527
|
* * 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).
|
|
17528
17528
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
17529
|
-
* > 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).
|
|
17530
17529
|
*
|
|
17531
17530
|
* @param request - DescribeHotKeysRequest
|
|
17532
17531
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -17573,7 +17572,6 @@ class Client extends openapi_core_1.default {
|
|
|
17573
17572
|
* * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
|
|
17574
17573
|
* * 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).
|
|
17575
17574
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
17576
|
-
* > 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).
|
|
17577
17575
|
*
|
|
17578
17576
|
* @param request - DescribeHotKeysRequest
|
|
17579
17577
|
* @returns DescribeHotKeysResponse
|
|
@@ -18099,7 +18097,6 @@ class Client extends openapi_core_1.default {
|
|
|
18099
18097
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
18100
18098
|
* * 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).
|
|
18101
18099
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
18102
|
-
* > 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).
|
|
18103
18100
|
*
|
|
18104
18101
|
* @param request - DescribeTopBigKeysRequest
|
|
18105
18102
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18155,7 +18152,6 @@ class Client extends openapi_core_1.default {
|
|
|
18155
18152
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
18156
18153
|
* * 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).
|
|
18157
18154
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
18158
|
-
* > 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).
|
|
18159
18155
|
*
|
|
18160
18156
|
* @param request - DescribeTopBigKeysRequest
|
|
18161
18157
|
* @returns DescribeTopBigKeysResponse
|
|
@@ -18175,7 +18171,6 @@ class Client extends openapi_core_1.default {
|
|
|
18175
18171
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
18176
18172
|
* * 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).
|
|
18177
18173
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
18178
|
-
* > 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).
|
|
18179
18174
|
*
|
|
18180
18175
|
* @param request - DescribeTopHotKeysRequest
|
|
18181
18176
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -18231,7 +18226,6 @@ class Client extends openapi_core_1.default {
|
|
|
18231
18226
|
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
|
|
18232
18227
|
* * 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).
|
|
18233
18228
|
* * The ApsaraDB for Redis instance is updated to the latest minor version.
|
|
18234
|
-
* > 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).
|
|
18235
18229
|
*
|
|
18236
18230
|
* @param request - DescribeTopHotKeysRequest
|
|
18237
18231
|
* @returns DescribeTopHotKeysResponse
|
|
@@ -22331,6 +22325,9 @@ class Client extends openapi_core_1.default {
|
|
|
22331
22325
|
async modifySqlLogConfigWithOptions(request, runtime) {
|
|
22332
22326
|
request.validate();
|
|
22333
22327
|
let query = {};
|
|
22328
|
+
if (!$dara.isNull(request.enableAudit)) {
|
|
22329
|
+
query["EnableAudit"] = request.enableAudit;
|
|
22330
|
+
}
|
|
22334
22331
|
if (!$dara.isNull(request.filters)) {
|
|
22335
22332
|
query["Filters"] = request.filters;
|
|
22336
22333
|
}
|