@alicloud/adb20211201 5.0.0 → 5.0.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 +26 -26
- package/dist/client.js +38 -26
- package/dist/client.js.map +1 -1
- package/dist/models/CreateApsSlsAdbjobRequest.d.ts +34 -34
- package/dist/models/CreateApsSlsAdbjobResponseBody.d.ts +8 -9
- package/dist/models/CreateApsSlsAdbjobResponseBody.js.map +1 -1
- package/dist/models/CreateApsSlsAdbjobShrinkRequest.d.ts +25 -25
- package/dist/models/DescribeAdbMySqlColumnsRequest.d.ts +11 -6
- package/dist/models/DescribeAdbMySqlColumnsRequest.js +2 -0
- package/dist/models/DescribeAdbMySqlColumnsRequest.js.map +1 -1
- package/dist/models/DescribeAdbMySqlColumnsResponseBody.d.ts +12 -14
- package/dist/models/DescribeAdbMySqlColumnsResponseBody.js.map +1 -1
- package/dist/models/DescribeAdbMySqlSchemasRequest.d.ts +8 -3
- package/dist/models/DescribeAdbMySqlSchemasRequest.js +2 -0
- package/dist/models/DescribeAdbMySqlSchemasRequest.js.map +1 -1
- package/dist/models/DescribeAdbMySqlSchemasResponseBody.d.ts +7 -9
- package/dist/models/DescribeAdbMySqlSchemasResponseBody.js.map +1 -1
- package/dist/models/DescribeAdbMySqlTablesRequest.d.ts +7 -3
- package/dist/models/DescribeAdbMySqlTablesRequest.js +2 -0
- package/dist/models/DescribeAdbMySqlTablesRequest.js.map +1 -1
- package/dist/models/DescribeAdbMySqlTablesResponseBody.d.ts +5 -9
- package/dist/models/DescribeAdbMySqlTablesResponseBody.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsRequest.d.ts +37 -70
- package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
- package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +17 -19
- package/dist/models/DescribeAuditLogRecordsResponseBody.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +42 -26
- package/src/models/CreateApsSlsAdbjobRequest.ts +34 -34
- package/src/models/CreateApsSlsAdbjobResponseBody.ts +8 -9
- package/src/models/CreateApsSlsAdbjobShrinkRequest.ts +25 -25
- package/src/models/DescribeAdbMySqlColumnsRequest.ts +13 -6
- package/src/models/DescribeAdbMySqlColumnsResponseBody.ts +12 -14
- package/src/models/DescribeAdbMySqlSchemasRequest.ts +10 -3
- package/src/models/DescribeAdbMySqlSchemasResponseBody.ts +7 -9
- package/src/models/DescribeAdbMySqlTablesRequest.ts +9 -3
- package/src/models/DescribeAdbMySqlTablesResponseBody.ts +5 -9
- package/src/models/DescribeAuditLogRecordsRequest.ts +39 -70
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +17 -19
package/dist/client.d.ts
CHANGED
|
@@ -372,7 +372,7 @@ export default class Client extends OpenApi {
|
|
|
372
372
|
*/
|
|
373
373
|
createApsKafkaHudiJob(request: $_model.CreateApsKafkaHudiJobRequest): Promise<$_model.CreateApsKafkaHudiJobResponse>;
|
|
374
374
|
/**
|
|
375
|
-
* Creates an
|
|
375
|
+
* Creates an APS link from Simple Log Service (SLS) to an AnalyticDB data warehouse.
|
|
376
376
|
*
|
|
377
377
|
* @param tmpReq - CreateApsSlsADBJobRequest
|
|
378
378
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -380,7 +380,7 @@ export default class Client extends OpenApi {
|
|
|
380
380
|
*/
|
|
381
381
|
createApsSlsADBJobWithOptions(tmpReq: $_model.CreateApsSlsADBJobRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateApsSlsADBJobResponse>;
|
|
382
382
|
/**
|
|
383
|
-
* Creates an
|
|
383
|
+
* Creates an APS link from Simple Log Service (SLS) to an AnalyticDB data warehouse.
|
|
384
384
|
*
|
|
385
385
|
* @param request - CreateApsSlsADBJobRequest
|
|
386
386
|
* @returns CreateApsSlsADBJobResponse
|
|
@@ -1066,11 +1066,11 @@ export default class Client extends OpenApi {
|
|
|
1066
1066
|
*/
|
|
1067
1067
|
describeAccounts(request: $_model.DescribeAccountsRequest): Promise<$_model.DescribeAccountsResponse>;
|
|
1068
1068
|
/**
|
|
1069
|
-
* Queries the information
|
|
1069
|
+
* Queries the column information of a specified table in a cluster.
|
|
1070
1070
|
*
|
|
1071
1071
|
* @remarks
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1072
|
+
* - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
1073
|
+
* - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
1074
1074
|
*
|
|
1075
1075
|
* @param request - DescribeAdbMySqlColumnsRequest
|
|
1076
1076
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1078,11 +1078,11 @@ export default class Client extends OpenApi {
|
|
|
1078
1078
|
*/
|
|
1079
1079
|
describeAdbMySqlColumnsWithOptions(request: $_model.DescribeAdbMySqlColumnsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAdbMySqlColumnsResponse>;
|
|
1080
1080
|
/**
|
|
1081
|
-
* Queries the information
|
|
1081
|
+
* Queries the column information of a specified table in a cluster.
|
|
1082
1082
|
*
|
|
1083
1083
|
* @remarks
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1084
|
+
* - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
1085
|
+
* - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
1086
1086
|
*
|
|
1087
1087
|
* @param request - DescribeAdbMySqlColumnsRequest
|
|
1088
1088
|
* @returns DescribeAdbMySqlColumnsResponse
|
|
@@ -1104,11 +1104,11 @@ export default class Client extends OpenApi {
|
|
|
1104
1104
|
*/
|
|
1105
1105
|
describeAdbMySqlIndexes(request: $_model.DescribeAdbMySqlIndexesRequest): Promise<$_model.DescribeAdbMySqlIndexesResponse>;
|
|
1106
1106
|
/**
|
|
1107
|
-
*
|
|
1107
|
+
* Lists all databases in a specified cluster.
|
|
1108
1108
|
*
|
|
1109
1109
|
* @remarks
|
|
1110
|
-
*
|
|
1111
|
-
*
|
|
1110
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
1111
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
1112
1112
|
*
|
|
1113
1113
|
* @param request - DescribeAdbMySqlSchemasRequest
|
|
1114
1114
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1116,11 +1116,11 @@ export default class Client extends OpenApi {
|
|
|
1116
1116
|
*/
|
|
1117
1117
|
describeAdbMySqlSchemasWithOptions(request: $_model.DescribeAdbMySqlSchemasRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAdbMySqlSchemasResponse>;
|
|
1118
1118
|
/**
|
|
1119
|
-
*
|
|
1119
|
+
* Lists all databases in a specified cluster.
|
|
1120
1120
|
*
|
|
1121
1121
|
* @remarks
|
|
1122
|
-
*
|
|
1123
|
-
*
|
|
1122
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
1123
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
1124
1124
|
*
|
|
1125
1125
|
* @param request - DescribeAdbMySqlSchemasRequest
|
|
1126
1126
|
* @returns DescribeAdbMySqlSchemasResponse
|
|
@@ -1142,11 +1142,11 @@ export default class Client extends OpenApi {
|
|
|
1142
1142
|
*/
|
|
1143
1143
|
describeAdbMySqlTableMeta(request: $_model.DescribeAdbMySqlTableMetaRequest): Promise<$_model.DescribeAdbMySqlTableMetaResponse>;
|
|
1144
1144
|
/**
|
|
1145
|
-
* Lists
|
|
1145
|
+
* Lists all tables in a specified database of a cluster.
|
|
1146
1146
|
*
|
|
1147
1147
|
* @remarks
|
|
1148
|
-
* - Public endpoint
|
|
1149
|
-
* - VPC endpoint
|
|
1148
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
1149
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
1150
1150
|
*
|
|
1151
1151
|
* @param request - DescribeAdbMySqlTablesRequest
|
|
1152
1152
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1154,11 +1154,11 @@ export default class Client extends OpenApi {
|
|
|
1154
1154
|
*/
|
|
1155
1155
|
describeAdbMySqlTablesWithOptions(request: $_model.DescribeAdbMySqlTablesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAdbMySqlTablesResponse>;
|
|
1156
1156
|
/**
|
|
1157
|
-
* Lists
|
|
1157
|
+
* Lists all tables in a specified database of a cluster.
|
|
1158
1158
|
*
|
|
1159
1159
|
* @remarks
|
|
1160
|
-
* - Public endpoint
|
|
1161
|
-
* - VPC endpoint
|
|
1160
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
1161
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
1162
1162
|
*
|
|
1163
1163
|
* @param request - DescribeAdbMySqlTablesRequest
|
|
1164
1164
|
* @returns DescribeAdbMySqlTablesResponse
|
|
@@ -1377,11 +1377,11 @@ export default class Client extends OpenApi {
|
|
|
1377
1377
|
*/
|
|
1378
1378
|
describeApsResourceGroups(request: $_model.DescribeApsResourceGroupsRequest): Promise<$_model.DescribeApsResourceGroupsResponse>;
|
|
1379
1379
|
/**
|
|
1380
|
-
*
|
|
1380
|
+
* Queries the SQL Audit Log of a cluster.
|
|
1381
1381
|
*
|
|
1382
1382
|
* @remarks
|
|
1383
|
-
* -
|
|
1384
|
-
* - For
|
|
1383
|
+
* - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
1384
|
+
* - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
1385
1385
|
*
|
|
1386
1386
|
* @param request - DescribeAuditLogRecordsRequest
|
|
1387
1387
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1389,11 +1389,11 @@ export default class Client extends OpenApi {
|
|
|
1389
1389
|
*/
|
|
1390
1390
|
describeAuditLogRecordsWithOptions(request: $_model.DescribeAuditLogRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAuditLogRecordsResponse>;
|
|
1391
1391
|
/**
|
|
1392
|
-
*
|
|
1392
|
+
* Queries the SQL Audit Log of a cluster.
|
|
1393
1393
|
*
|
|
1394
1394
|
* @remarks
|
|
1395
|
-
* -
|
|
1396
|
-
* - For
|
|
1395
|
+
* - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
1396
|
+
* - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
1397
1397
|
*
|
|
1398
1398
|
* @param request - DescribeAuditLogRecordsRequest
|
|
1399
1399
|
* @returns DescribeAuditLogRecordsResponse
|
package/dist/client.js
CHANGED
|
@@ -1321,7 +1321,7 @@ class Client extends openapi_core_1.default {
|
|
|
1321
1321
|
return await this.createApsKafkaHudiJobWithOptions(request, runtime);
|
|
1322
1322
|
}
|
|
1323
1323
|
/**
|
|
1324
|
-
* Creates an
|
|
1324
|
+
* Creates an APS link from Simple Log Service (SLS) to an AnalyticDB data warehouse.
|
|
1325
1325
|
*
|
|
1326
1326
|
* @param tmpReq - CreateApsSlsADBJobRequest
|
|
1327
1327
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1454,7 +1454,7 @@ class Client extends openapi_core_1.default {
|
|
|
1454
1454
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateApsSlsADBJobResponse({}));
|
|
1455
1455
|
}
|
|
1456
1456
|
/**
|
|
1457
|
-
* Creates an
|
|
1457
|
+
* Creates an APS link from Simple Log Service (SLS) to an AnalyticDB data warehouse.
|
|
1458
1458
|
*
|
|
1459
1459
|
* @param request - CreateApsSlsADBJobRequest
|
|
1460
1460
|
* @returns CreateApsSlsADBJobResponse
|
|
@@ -3487,11 +3487,11 @@ class Client extends openapi_core_1.default {
|
|
|
3487
3487
|
return await this.describeAccountsWithOptions(request, runtime);
|
|
3488
3488
|
}
|
|
3489
3489
|
/**
|
|
3490
|
-
* Queries the information
|
|
3490
|
+
* Queries the column information of a specified table in a cluster.
|
|
3491
3491
|
*
|
|
3492
3492
|
* @remarks
|
|
3493
|
-
*
|
|
3494
|
-
*
|
|
3493
|
+
* - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
3494
|
+
* - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
3495
3495
|
*
|
|
3496
3496
|
* @param request - DescribeAdbMySqlColumnsRequest
|
|
3497
3497
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3500,6 +3500,9 @@ class Client extends openapi_core_1.default {
|
|
|
3500
3500
|
async describeAdbMySqlColumnsWithOptions(request, runtime) {
|
|
3501
3501
|
request.validate();
|
|
3502
3502
|
let query = {};
|
|
3503
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3504
|
+
query["Catalog"] = request.catalog;
|
|
3505
|
+
}
|
|
3503
3506
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
3504
3507
|
query["DBClusterId"] = request.DBClusterId;
|
|
3505
3508
|
}
|
|
@@ -3529,11 +3532,11 @@ class Client extends openapi_core_1.default {
|
|
|
3529
3532
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAdbMySqlColumnsResponse({}));
|
|
3530
3533
|
}
|
|
3531
3534
|
/**
|
|
3532
|
-
* Queries the information
|
|
3535
|
+
* Queries the column information of a specified table in a cluster.
|
|
3533
3536
|
*
|
|
3534
3537
|
* @remarks
|
|
3535
|
-
*
|
|
3536
|
-
*
|
|
3538
|
+
* - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
3539
|
+
* - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
3537
3540
|
*
|
|
3538
3541
|
* @param request - DescribeAdbMySqlColumnsRequest
|
|
3539
3542
|
* @returns DescribeAdbMySqlColumnsResponse
|
|
@@ -3591,11 +3594,11 @@ class Client extends openapi_core_1.default {
|
|
|
3591
3594
|
return await this.describeAdbMySqlIndexesWithOptions(request, runtime);
|
|
3592
3595
|
}
|
|
3593
3596
|
/**
|
|
3594
|
-
*
|
|
3597
|
+
* Lists all databases in a specified cluster.
|
|
3595
3598
|
*
|
|
3596
3599
|
* @remarks
|
|
3597
|
-
*
|
|
3598
|
-
*
|
|
3600
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
3601
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
3599
3602
|
*
|
|
3600
3603
|
* @param request - DescribeAdbMySqlSchemasRequest
|
|
3601
3604
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3604,6 +3607,9 @@ class Client extends openapi_core_1.default {
|
|
|
3604
3607
|
async describeAdbMySqlSchemasWithOptions(request, runtime) {
|
|
3605
3608
|
request.validate();
|
|
3606
3609
|
let query = {};
|
|
3610
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3611
|
+
query["Catalog"] = request.catalog;
|
|
3612
|
+
}
|
|
3607
3613
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
3608
3614
|
query["DBClusterId"] = request.DBClusterId;
|
|
3609
3615
|
}
|
|
@@ -3627,11 +3633,11 @@ class Client extends openapi_core_1.default {
|
|
|
3627
3633
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAdbMySqlSchemasResponse({}));
|
|
3628
3634
|
}
|
|
3629
3635
|
/**
|
|
3630
|
-
*
|
|
3636
|
+
* Lists all databases in a specified cluster.
|
|
3631
3637
|
*
|
|
3632
3638
|
* @remarks
|
|
3633
|
-
*
|
|
3634
|
-
*
|
|
3639
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
3640
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
3635
3641
|
*
|
|
3636
3642
|
* @param request - DescribeAdbMySqlSchemasRequest
|
|
3637
3643
|
* @returns DescribeAdbMySqlSchemasResponse
|
|
@@ -3689,11 +3695,11 @@ class Client extends openapi_core_1.default {
|
|
|
3689
3695
|
return await this.describeAdbMySqlTableMetaWithOptions(request, runtime);
|
|
3690
3696
|
}
|
|
3691
3697
|
/**
|
|
3692
|
-
* Lists
|
|
3698
|
+
* Lists all tables in a specified database of a cluster.
|
|
3693
3699
|
*
|
|
3694
3700
|
* @remarks
|
|
3695
|
-
* - Public endpoint
|
|
3696
|
-
* - VPC endpoint
|
|
3701
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
3702
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
3697
3703
|
*
|
|
3698
3704
|
* @param request - DescribeAdbMySqlTablesRequest
|
|
3699
3705
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3702,6 +3708,9 @@ class Client extends openapi_core_1.default {
|
|
|
3702
3708
|
async describeAdbMySqlTablesWithOptions(request, runtime) {
|
|
3703
3709
|
request.validate();
|
|
3704
3710
|
let query = {};
|
|
3711
|
+
if (!$dara.isNull(request.catalog)) {
|
|
3712
|
+
query["Catalog"] = request.catalog;
|
|
3713
|
+
}
|
|
3705
3714
|
if (!$dara.isNull(request.DBClusterId)) {
|
|
3706
3715
|
query["DBClusterId"] = request.DBClusterId;
|
|
3707
3716
|
}
|
|
@@ -3728,11 +3737,11 @@ class Client extends openapi_core_1.default {
|
|
|
3728
3737
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAdbMySqlTablesResponse({}));
|
|
3729
3738
|
}
|
|
3730
3739
|
/**
|
|
3731
|
-
* Lists
|
|
3740
|
+
* Lists all tables in a specified database of a cluster.
|
|
3732
3741
|
*
|
|
3733
3742
|
* @remarks
|
|
3734
|
-
* - Public endpoint
|
|
3735
|
-
* - VPC endpoint
|
|
3743
|
+
* - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
|
|
3744
|
+
* - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
|
|
3736
3745
|
*
|
|
3737
3746
|
* @param request - DescribeAdbMySqlTablesRequest
|
|
3738
3747
|
* @returns DescribeAdbMySqlTablesResponse
|
|
@@ -4404,11 +4413,11 @@ class Client extends openapi_core_1.default {
|
|
|
4404
4413
|
return await this.describeApsResourceGroupsWithOptions(request, runtime);
|
|
4405
4414
|
}
|
|
4406
4415
|
/**
|
|
4407
|
-
*
|
|
4416
|
+
* Queries the SQL Audit Log of a cluster.
|
|
4408
4417
|
*
|
|
4409
4418
|
* @remarks
|
|
4410
|
-
* -
|
|
4411
|
-
* - For
|
|
4419
|
+
* - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
4420
|
+
* - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
4412
4421
|
*
|
|
4413
4422
|
* @param request - DescribeAuditLogRecordsRequest
|
|
4414
4423
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4426,6 +4435,9 @@ class Client extends openapi_core_1.default {
|
|
|
4426
4435
|
if (!$dara.isNull(request.endTime)) {
|
|
4427
4436
|
query["EndTime"] = request.endTime;
|
|
4428
4437
|
}
|
|
4438
|
+
if (!$dara.isNull(request.engineType)) {
|
|
4439
|
+
query["EngineType"] = request.engineType;
|
|
4440
|
+
}
|
|
4429
4441
|
if (!$dara.isNull(request.hostAddress)) {
|
|
4430
4442
|
query["HostAddress"] = request.hostAddress;
|
|
4431
4443
|
}
|
|
@@ -4491,11 +4503,11 @@ class Client extends openapi_core_1.default {
|
|
|
4491
4503
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAuditLogRecordsResponse({}));
|
|
4492
4504
|
}
|
|
4493
4505
|
/**
|
|
4494
|
-
*
|
|
4506
|
+
* Queries the SQL Audit Log of a cluster.
|
|
4495
4507
|
*
|
|
4496
4508
|
* @remarks
|
|
4497
|
-
* -
|
|
4498
|
-
* - For
|
|
4509
|
+
* - SQL Audit Log entries can be queried only when SQL audit is enabled, and only entries from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only entries recorded after re-enabling are available. SQL Audit Log does not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
4510
|
+
* - For the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
4499
4511
|
*
|
|
4500
4512
|
* @param request - DescribeAuditLogRecordsRequest
|
|
4501
4513
|
* @returns DescribeAuditLogRecordsResponse
|