Skip to content

Commit b1d21c5

Browse files
committed
Update API ModifySqlLogConfig: add param EnableAudit.
1 parent 87196bb commit b1d21c5

File tree

2 files changed

+16
-17
lines changed

2 files changed

+16
-17
lines changed

das-20200116/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@alicloud/das20200116",
3-
"version": "2.2.1",
3+
"version": "2.2.2",
44
"description": "",
55
"main": "dist/client.js",
66
"scripts": {

das-20200116/src/client.ts

Lines changed: 15 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -24385,7 +24385,7 @@ export class DescribeHotBigKeysRequest extends $dara.Model {
2438524385
consoleContext?: string;
2438624386
/**
2438724387
* @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.
24388+
* The ID of the ApsaraDB for Redis instance.
2438924389
*
2439024390
* This parameter is required.
2439124391
*
@@ -24395,7 +24395,7 @@ export class DescribeHotBigKeysRequest extends $dara.Model {
2439524395
instanceId?: string;
2439624396
/**
2439724397
* @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.
24398+
* The ID of the data shard on the ApsaraDB for Redis instance.
2439924399
*
2440024400
* @example
2440124401
* r-****-db-0
@@ -24537,7 +24537,7 @@ export class DescribeHotBigKeysResponse extends $dara.Model {
2453724537
export class DescribeHotKeysRequest extends $dara.Model {
2453824538
/**
2453924539
* @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.
24540+
* The ID of the ApsaraDB for Redis instance.
2454124541
*
2454224542
* This parameter is required.
2454324543
*
@@ -24547,7 +24547,7 @@ export class DescribeHotKeysRequest extends $dara.Model {
2454724547
instanceId?: string;
2454824548
/**
2454924549
* @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.
24550+
* The ID of the data shard on the ApsaraDB for Redis instance.
2455124551
*
2455224552
* @example
2455324553
* r-x****-db-0
@@ -26088,7 +26088,7 @@ export class DescribeTopBigKeysRequest extends $dara.Model {
2608826088
endTime?: string;
2608926089
/**
2609026090
* @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.
26091+
* The ID of the ApsaraDB for Redis instance.
2609226092
*
2609326093
* This parameter is required.
2609426094
*
@@ -26098,7 +26098,7 @@ export class DescribeTopBigKeysRequest extends $dara.Model {
2609826098
instanceId?: string;
2609926099
/**
2610026100
* @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.
26101+
* The ID of the data shard on the ApsaraDB for Redis instance.
2610226102
*
2610326103
* @example
2610426104
* r-x****-db-0
@@ -26282,7 +26282,7 @@ export class DescribeTopHotKeysRequest extends $dara.Model {
2628226282
endTime?: string;
2628326283
/**
2628426284
* @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.
26285+
* The ID of the ApsaraDB for Redis instance.
2628626286
*
2628726287
* This parameter is required.
2628826288
*
@@ -26292,7 +26292,7 @@ export class DescribeTopHotKeysRequest extends $dara.Model {
2629226292
instanceId?: string;
2629326293
/**
2629426294
* @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.
26295+
* The ID of the data shard on the ApsaraDB for Redis instance.
2629626296
*
2629726297
* @example
2629826298
* r-****-db-0
@@ -38364,6 +38364,7 @@ export class ModifySqlLogConfigRequest extends $dara.Model {
3836438364
* true
3836538365
*/
3836638366
enable?: boolean;
38367+
enableAudit?: boolean;
3836738368
/**
3836838369
* @remarks
3836938370
* A reserved parameter.
@@ -38420,6 +38421,7 @@ export class ModifySqlLogConfigRequest extends $dara.Model {
3842038421
static names(): { [key: string]: string } {
3842138422
return {
3842238423
enable: 'Enable',
38424+
enableAudit: 'EnableAudit',
3842338425
filters: 'Filters',
3842438426
hotRetention: 'HotRetention',
3842538427
instanceId: 'InstanceId',
@@ -38431,6 +38433,7 @@ export class ModifySqlLogConfigRequest extends $dara.Model {
3843138433
static types(): { [key: string]: any } {
3843238434
return {
3843338435
enable: 'boolean',
38436+
enableAudit: 'boolean',
3843438437
filters: { 'type': 'array', 'itemType': ModifySqlLogConfigRequestFilters },
3843538438
hotRetention: 'number',
3843638439
instanceId: 'string',
@@ -41219,7 +41222,6 @@ export default class Client extends OpenApi {
4121941222
* * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
4122041223
* * 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).
4122141224
* * 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).
4122341225
*
4122441226
* @param request - DescribeHotBigKeysRequest
4122541227
* @param runtime - runtime options for this request RuntimeOptions
@@ -41273,7 +41275,6 @@ export default class Client extends OpenApi {
4127341275
* * This operation is available only for ApsaraDB for Redis instances that meet the following requirements:
4127441276
* * 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).
4127541277
* * 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).
4127741278
*
4127841279
* @param request - DescribeHotBigKeysRequest
4127941280
* @returns DescribeHotBigKeysResponse
@@ -41294,7 +41295,6 @@ export default class Client extends OpenApi {
4129441295
* * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
4129541296
* * 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).
4129641297
* * 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).
4129841298
*
4129941299
* @param request - DescribeHotKeysRequest
4130041300
* @param runtime - runtime options for this request RuntimeOptions
@@ -41344,7 +41344,6 @@ export default class Client extends OpenApi {
4134441344
* * This operation is applicable only to ApsaraDB for Redis instances that meet the following requirements:
4134541345
* * 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).
4134641346
* * 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).
4134841347
*
4134941348
* @param request - DescribeHotKeysRequest
4135041349
* @returns DescribeHotKeysResponse
@@ -41925,7 +41924,6 @@ export default class Client extends OpenApi {
4192541924
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
4192641925
* * 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).
4192741926
* * 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).
4192941927
*
4193041928
* @param request - DescribeTopBigKeysRequest
4193141929
* @param runtime - runtime options for this request RuntimeOptions
@@ -41987,7 +41985,6 @@ export default class Client extends OpenApi {
4198741985
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
4198841986
* * 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).
4198941987
* * 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).
4199141988
*
4199241989
* @param request - DescribeTopBigKeysRequest
4199341990
* @returns DescribeTopBigKeysResponse
@@ -42008,7 +42005,6 @@ export default class Client extends OpenApi {
4200842005
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
4200942006
* * 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).
4201042007
* * 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).
4201242008
*
4201342009
* @param request - DescribeTopHotKeysRequest
4201442010
* @param runtime - runtime options for this request RuntimeOptions
@@ -42070,7 +42066,6 @@ export default class Client extends OpenApi {
4207042066
* * This operation is available only for an ApsaraDB for Redis instance of one of the following versions:
4207142067
* * 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).
4207242068
* * 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).
4207442069
*
4207542070
* @param request - DescribeTopHotKeysRequest
4207642071
* @returns DescribeTopHotKeysResponse
@@ -46581,6 +46576,10 @@ export default class Client extends OpenApi {
4658146576
async modifySqlLogConfigWithOptions(request: ModifySqlLogConfigRequest, runtime: $dara.RuntimeOptions): Promise<ModifySqlLogConfigResponse> {
4658246577
request.validate();
4658346578
let query = { };
46579+
if (!$dara.isNull(request.enableAudit)) {
46580+
query["EnableAudit"] = request.enableAudit;
46581+
}
46582+
4658446583
if (!$dara.isNull(request.filters)) {
4658546584
query["Filters"] = request.filters;
4658646585
}

0 commit comments

Comments
 (0)