@alicloud/adb20211201 5.1.0 → 5.1.1
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 +9 -6
- package/dist/client.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsRequest.d.ts +20 -12
- package/dist/models/DescribeAuditLogRecordsRequest.js +2 -0
- package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
- package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +9 -9
- package/package.json +1 -1
- package/src/client.ts +10 -6
- package/src/models/DescribeAuditLogRecordsRequest.ts +22 -12
- package/src/models/DescribeAuditLogRecordsResponseBody.ts +9 -9
package/dist/client.d.ts
CHANGED
|
@@ -1402,11 +1402,11 @@ export default class Client extends OpenApi {
|
|
|
1402
1402
|
*/
|
|
1403
1403
|
describeApsResourceGroups(request: $_model.DescribeApsResourceGroupsRequest): Promise<$_model.DescribeApsResourceGroupsResponse>;
|
|
1404
1404
|
/**
|
|
1405
|
-
* Queries the SQL
|
|
1405
|
+
* Queries the SQL audit logs of a cluster.
|
|
1406
1406
|
*
|
|
1407
1407
|
* @remarks
|
|
1408
|
-
* - SQL
|
|
1409
|
-
* - For the
|
|
1408
|
+
* - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
1409
|
+
* - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
1410
1410
|
*
|
|
1411
1411
|
* @param request - DescribeAuditLogRecordsRequest
|
|
1412
1412
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -1414,11 +1414,11 @@ export default class Client extends OpenApi {
|
|
|
1414
1414
|
*/
|
|
1415
1415
|
describeAuditLogRecordsWithOptions(request: $_model.DescribeAuditLogRecordsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAuditLogRecordsResponse>;
|
|
1416
1416
|
/**
|
|
1417
|
-
* Queries the SQL
|
|
1417
|
+
* Queries the SQL audit logs of a cluster.
|
|
1418
1418
|
*
|
|
1419
1419
|
* @remarks
|
|
1420
|
-
* - SQL
|
|
1421
|
-
* - For the
|
|
1420
|
+
* - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
1421
|
+
* - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
1422
1422
|
*
|
|
1423
1423
|
* @param request - DescribeAuditLogRecordsRequest
|
|
1424
1424
|
* @returns DescribeAuditLogRecordsResponse
|
package/dist/client.js
CHANGED
|
@@ -4468,11 +4468,11 @@ class Client extends openapi_core_1.default {
|
|
|
4468
4468
|
return await this.describeApsResourceGroupsWithOptions(request, runtime);
|
|
4469
4469
|
}
|
|
4470
4470
|
/**
|
|
4471
|
-
* Queries the SQL
|
|
4471
|
+
* Queries the SQL audit logs of a cluster.
|
|
4472
4472
|
*
|
|
4473
4473
|
* @remarks
|
|
4474
|
-
* - SQL
|
|
4475
|
-
* - For the
|
|
4474
|
+
* - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
4475
|
+
* - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
4476
4476
|
*
|
|
4477
4477
|
* @param request - DescribeAuditLogRecordsRequest
|
|
4478
4478
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4514,6 +4514,9 @@ class Client extends openapi_core_1.default {
|
|
|
4514
4514
|
if (!$dara.isNull(request.pageSize)) {
|
|
4515
4515
|
query["PageSize"] = request.pageSize;
|
|
4516
4516
|
}
|
|
4517
|
+
if (!$dara.isNull(request.processId)) {
|
|
4518
|
+
query["ProcessId"] = request.processId;
|
|
4519
|
+
}
|
|
4517
4520
|
if (!$dara.isNull(request.proxyUser)) {
|
|
4518
4521
|
query["ProxyUser"] = request.proxyUser;
|
|
4519
4522
|
}
|
|
@@ -4558,11 +4561,11 @@ class Client extends openapi_core_1.default {
|
|
|
4558
4561
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeAuditLogRecordsResponse({}));
|
|
4559
4562
|
}
|
|
4560
4563
|
/**
|
|
4561
|
-
* Queries the SQL
|
|
4564
|
+
* Queries the SQL audit logs of a cluster.
|
|
4562
4565
|
*
|
|
4563
4566
|
* @remarks
|
|
4564
|
-
* - SQL
|
|
4565
|
-
* - For the
|
|
4567
|
+
* - SQL audit logs can be queried only when SQL audit is enabled, and only logs from the last 30 days are supported. If SQL audit is shutdown and then re-enabled, only logs generated after re-enabling can be queried. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
|
|
4568
|
+
* - For the service registration of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
|
|
4566
4569
|
*
|
|
4567
4570
|
* @param request - DescribeAuditLogRecordsRequest
|
|
4568
4571
|
* @returns DescribeAuditLogRecordsResponse
|