@alicloud/adb20211201 1.4.2 → 1.4.4

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
@@ -7700,7 +7700,20 @@ export default class Client extends OpenApi {
7700
7700
  describeApsActionLogs(request: DescribeApsActionLogsRequest): Promise<DescribeApsActionLogsResponse>;
7701
7701
  describeApsResourceGroupsWithOptions(request: DescribeApsResourceGroupsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeApsResourceGroupsResponse>;
7702
7702
  describeApsResourceGroups(request: DescribeApsResourceGroupsRequest): Promise<DescribeApsResourceGroupsResponse>;
7703
+ /**
7704
+ * SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL audit was disabled and re-enabled, only SQL audit logs from the time when SQL audit was re-enabled can be queried. The following operations are not recorded in SQL audit logs: **INSERT INTO VALUES**, **REPLACE INTO VALUES**, and **UPSERT INTO VALUES**.
7705
+ *
7706
+ * @param request DescribeAuditLogRecordsRequest
7707
+ * @param runtime runtime options for this request RuntimeOptions
7708
+ * @return DescribeAuditLogRecordsResponse
7709
+ */
7703
7710
  describeAuditLogRecordsWithOptions(request: DescribeAuditLogRecordsRequest, runtime: $Util.RuntimeOptions): Promise<DescribeAuditLogRecordsResponse>;
7711
+ /**
7712
+ * SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL audit was disabled and re-enabled, only SQL audit logs from the time when SQL audit was re-enabled can be queried. The following operations are not recorded in SQL audit logs: **INSERT INTO VALUES**, **REPLACE INTO VALUES**, and **UPSERT INTO VALUES**.
7713
+ *
7714
+ * @param request DescribeAuditLogRecordsRequest
7715
+ * @return DescribeAuditLogRecordsResponse
7716
+ */
7704
7717
  describeAuditLogRecords(request: DescribeAuditLogRecordsRequest): Promise<DescribeAuditLogRecordsResponse>;
7705
7718
  describeBackupPolicyWithOptions(request: DescribeBackupPolicyRequest, runtime: $Util.RuntimeOptions): Promise<DescribeBackupPolicyResponse>;
7706
7719
  describeBackupPolicy(request: DescribeBackupPolicyRequest): Promise<DescribeBackupPolicyResponse>;
@@ -7809,7 +7822,8 @@ export default class Client extends OpenApi {
7809
7822
  getSparkTemplateFileContentWithOptions(request: GetSparkTemplateFileContentRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkTemplateFileContentResponse>;
7810
7823
  getSparkTemplateFileContent(request: GetSparkTemplateFileContentRequest): Promise<GetSparkTemplateFileContentResponse>;
7811
7824
  /**
7812
- * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~456205~~) operation.
7825
+ * ### [](#)Usage notes
7826
+ * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~612467~~) operation.
7813
7827
  *
7814
7828
  * @param request GetSparkTemplateFolderTreeRequest
7815
7829
  * @param runtime runtime options for this request RuntimeOptions
@@ -7817,7 +7831,8 @@ export default class Client extends OpenApi {
7817
7831
  */
7818
7832
  getSparkTemplateFolderTreeWithOptions(request: GetSparkTemplateFolderTreeRequest, runtime: $Util.RuntimeOptions): Promise<GetSparkTemplateFolderTreeResponse>;
7819
7833
  /**
7820
- * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~456205~~) operation.
7834
+ * ### [](#)Usage notes
7835
+ * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~612467~~) operation.
7821
7836
  *
7822
7837
  * @param request GetSparkTemplateFolderTreeRequest
7823
7838
  * @return GetSparkTemplateFolderTreeResponse
package/dist/client.js CHANGED
@@ -11934,6 +11934,13 @@ class Client extends openapi_client_1.default {
11934
11934
  let runtime = new $Util.RuntimeOptions({});
11935
11935
  return await this.describeApsResourceGroupsWithOptions(request, runtime);
11936
11936
  }
11937
+ /**
11938
+ * SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL audit was disabled and re-enabled, only SQL audit logs from the time when SQL audit was re-enabled can be queried. The following operations are not recorded in SQL audit logs: **INSERT INTO VALUES**, **REPLACE INTO VALUES**, and **UPSERT INTO VALUES**.
11939
+ *
11940
+ * @param request DescribeAuditLogRecordsRequest
11941
+ * @param runtime runtime options for this request RuntimeOptions
11942
+ * @return DescribeAuditLogRecordsResponse
11943
+ */
11937
11944
  async describeAuditLogRecordsWithOptions(request, runtime) {
11938
11945
  tea_util_1.default.validateModel(request);
11939
11946
  let query = {};
@@ -12010,6 +12017,12 @@ class Client extends openapi_client_1.default {
12010
12017
  });
12011
12018
  return $tea.cast(await this.callApi(params, req, runtime), new DescribeAuditLogRecordsResponse({}));
12012
12019
  }
12020
+ /**
12021
+ * SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL audit was disabled and re-enabled, only SQL audit logs from the time when SQL audit was re-enabled can be queried. The following operations are not recorded in SQL audit logs: **INSERT INTO VALUES**, **REPLACE INTO VALUES**, and **UPSERT INTO VALUES**.
12022
+ *
12023
+ * @param request DescribeAuditLogRecordsRequest
12024
+ * @return DescribeAuditLogRecordsResponse
12025
+ */
12013
12026
  async describeAuditLogRecords(request) {
12014
12027
  let runtime = new $Util.RuntimeOptions({});
12015
12028
  return await this.describeAuditLogRecordsWithOptions(request, runtime);
@@ -13841,7 +13854,8 @@ class Client extends openapi_client_1.default {
13841
13854
  return await this.getSparkTemplateFileContentWithOptions(request, runtime);
13842
13855
  }
13843
13856
  /**
13844
- * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~456205~~) operation.
13857
+ * ### [](#)Usage notes
13858
+ * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~612467~~) operation.
13845
13859
  *
13846
13860
  * @param request GetSparkTemplateFolderTreeRequest
13847
13861
  * @param runtime runtime options for this request RuntimeOptions
@@ -13870,7 +13884,8 @@ class Client extends openapi_client_1.default {
13870
13884
  return $tea.cast(await this.callApi(params, req, runtime), new GetSparkTemplateFolderTreeResponse({}));
13871
13885
  }
13872
13886
  /**
13873
- * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~456205~~) operation.
13887
+ * ### [](#)Usage notes
13888
+ * You can call this operation to query the directory structure but not application data in the directory. To query the directory structure that contains application data, call the [GetSparkTemplateFullTree](~~612467~~) operation.
13874
13889
  *
13875
13890
  * @param request GetSparkTemplateFolderTreeRequest
13876
13891
  * @return GetSparkTemplateFolderTreeResponse