@alicloud/adb20211201 5.0.1 → 5.0.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/dist/client.d.ts +6 -6
- package/dist/client.js +12 -6
- package/dist/client.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/dist/models/GetKnowledgeRecallRequest.d.ts +5 -0
- package/dist/models/GetKnowledgeRecallRequest.js +2 -0
- package/dist/models/GetKnowledgeRecallRequest.js.map +1 -1
- package/dist/models/GetKnowledgeRecallResponseBody.d.ts +1 -1
- package/package.json +1 -1
- package/src/client.ts +14 -6
- package/src/models/DescribeAuditLogRecordsRequest.ts +39 -70
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +17 -19
- package/src/models/GetKnowledgeRecallRequest.ts +7 -0
- package/src/models/GetKnowledgeRecallResponseBody.ts +1 -1
package/dist/client.d.ts
CHANGED
|
@@ -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
|
@@ -4413,11 +4413,11 @@ class Client extends openapi_core_1.default {
|
|
|
4413
4413
|
return await this.describeApsResourceGroupsWithOptions(request, runtime);
|
|
4414
4414
|
}
|
|
4415
4415
|
/**
|
|
4416
|
-
*
|
|
4416
|
+
* Queries the SQL Audit Log of a cluster.
|
|
4417
4417
|
*
|
|
4418
4418
|
* @remarks
|
|
4419
|
-
* -
|
|
4420
|
-
* - 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).
|
|
4421
4421
|
*
|
|
4422
4422
|
* @param request - DescribeAuditLogRecordsRequest
|
|
4423
4423
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4435,6 +4435,9 @@ class Client extends openapi_core_1.default {
|
|
|
4435
4435
|
if (!$dara.isNull(request.endTime)) {
|
|
4436
4436
|
query["EndTime"] = request.endTime;
|
|
4437
4437
|
}
|
|
4438
|
+
if (!$dara.isNull(request.engineType)) {
|
|
4439
|
+
query["EngineType"] = request.engineType;
|
|
4440
|
+
}
|
|
4438
4441
|
if (!$dara.isNull(request.hostAddress)) {
|
|
4439
4442
|
query["HostAddress"] = request.hostAddress;
|
|
4440
4443
|
}
|
|
@@ -4500,11 +4503,11 @@ class Client extends openapi_core_1.default {
|
|
|
4500
4503
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAuditLogRecordsResponse({}));
|
|
4501
4504
|
}
|
|
4502
4505
|
/**
|
|
4503
|
-
*
|
|
4506
|
+
* Queries the SQL Audit Log of a cluster.
|
|
4504
4507
|
*
|
|
4505
4508
|
* @remarks
|
|
4506
|
-
* -
|
|
4507
|
-
* - 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).
|
|
4508
4511
|
*
|
|
4509
4512
|
* @param request - DescribeAuditLogRecordsRequest
|
|
4510
4513
|
* @returns DescribeAuditLogRecordsResponse
|
|
@@ -9553,6 +9556,9 @@ class Client extends openapi_core_1.default {
|
|
|
9553
9556
|
if (!$dara.isNull(request.topk)) {
|
|
9554
9557
|
query["Topk"] = request.topk;
|
|
9555
9558
|
}
|
|
9559
|
+
if (!$dara.isNull(request.user)) {
|
|
9560
|
+
query["User"] = request.user;
|
|
9561
|
+
}
|
|
9556
9562
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
9557
9563
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
9558
9564
|
});
|