@alicloud/adb20211201 5.0.1 → 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 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
- * Query SQL audit logs for the cluster.
1380
+ * Queries the SQL Audit Log of a cluster.
1381
1381
  *
1382
1382
  * @remarks
1383
- * - You can query SQL audit logs only if SQL audit is enabled. Log data is retained for up to 30 days. If you disable and re-enable SQL audit, you can only query logs generated after it is re-enabled. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
1384
- * - For a list of endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
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
- * Query SQL audit logs for the cluster.
1392
+ * Queries the SQL Audit Log of a cluster.
1393
1393
  *
1394
1394
  * @remarks
1395
- * - You can query SQL audit logs only if SQL audit is enabled. Log data is retained for up to 30 days. If you disable and re-enable SQL audit, you can only query logs generated after it is re-enabled. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
1396
- * - For a list of endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
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
- * Query SQL audit logs for the cluster.
4416
+ * Queries the SQL Audit Log of a cluster.
4417
4417
  *
4418
4418
  * @remarks
4419
- * - You can query SQL audit logs only if SQL audit is enabled. Log data is retained for up to 30 days. If you disable and re-enable SQL audit, you can only query logs generated after it is re-enabled. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
4420
- * - For a list of endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
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
- * Query SQL audit logs for the cluster.
4506
+ * Queries the SQL Audit Log of a cluster.
4504
4507
  *
4505
4508
  * @remarks
4506
- * - You can query SQL audit logs only if SQL audit is enabled. Log data is retained for up to 30 days. If you disable and re-enable SQL audit, you can only query logs generated after it is re-enabled. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
4507
- * - For a list of endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
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