@alicloud/adb20211201 5.0.0 → 5.0.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.
Files changed (33) hide show
  1. package/dist/client.d.ts +20 -20
  2. package/dist/client.js +29 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateApsSlsAdbjobRequest.d.ts +34 -34
  5. package/dist/models/CreateApsSlsAdbjobResponseBody.d.ts +8 -9
  6. package/dist/models/CreateApsSlsAdbjobResponseBody.js.map +1 -1
  7. package/dist/models/CreateApsSlsAdbjobShrinkRequest.d.ts +25 -25
  8. package/dist/models/DescribeAdbMySqlColumnsRequest.d.ts +11 -6
  9. package/dist/models/DescribeAdbMySqlColumnsRequest.js +2 -0
  10. package/dist/models/DescribeAdbMySqlColumnsRequest.js.map +1 -1
  11. package/dist/models/DescribeAdbMySqlColumnsResponseBody.d.ts +12 -14
  12. package/dist/models/DescribeAdbMySqlColumnsResponseBody.js.map +1 -1
  13. package/dist/models/DescribeAdbMySqlSchemasRequest.d.ts +8 -3
  14. package/dist/models/DescribeAdbMySqlSchemasRequest.js +2 -0
  15. package/dist/models/DescribeAdbMySqlSchemasRequest.js.map +1 -1
  16. package/dist/models/DescribeAdbMySqlSchemasResponseBody.d.ts +7 -9
  17. package/dist/models/DescribeAdbMySqlSchemasResponseBody.js.map +1 -1
  18. package/dist/models/DescribeAdbMySqlTablesRequest.d.ts +7 -3
  19. package/dist/models/DescribeAdbMySqlTablesRequest.js +2 -0
  20. package/dist/models/DescribeAdbMySqlTablesRequest.js.map +1 -1
  21. package/dist/models/DescribeAdbMySqlTablesResponseBody.d.ts +5 -9
  22. package/dist/models/DescribeAdbMySqlTablesResponseBody.js.map +1 -1
  23. package/package.json +1 -1
  24. package/src/client.ts +32 -20
  25. package/src/models/CreateApsSlsAdbjobRequest.ts +34 -34
  26. package/src/models/CreateApsSlsAdbjobResponseBody.ts +8 -9
  27. package/src/models/CreateApsSlsAdbjobShrinkRequest.ts +25 -25
  28. package/src/models/DescribeAdbMySqlColumnsRequest.ts +13 -6
  29. package/src/models/DescribeAdbMySqlColumnsResponseBody.ts +12 -14
  30. package/src/models/DescribeAdbMySqlSchemasRequest.ts +10 -3
  31. package/src/models/DescribeAdbMySqlSchemasResponseBody.ts +7 -9
  32. package/src/models/DescribeAdbMySqlTablesRequest.ts +9 -3
  33. package/src/models/DescribeAdbMySqlTablesResponseBody.ts +5 -9
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 AnalyticDB Pipeline Service (APS) job from Simple Log Service (SLS) to an AnalyticDB for MySQL Data Warehouse Edition cluster.
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 AnalyticDB Pipeline Service (APS) job from Simple Log Service (SLS) to an AnalyticDB for MySQL Data Warehouse Edition cluster.
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 about table columns for an AnalyticDB for MySQL cluster.
1069
+ * Queries the column information of a specified table in a cluster.
1070
1070
  *
1071
1071
  * @remarks
1072
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
1073
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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 about table columns for an AnalyticDB for MySQL cluster.
1081
+ * Queries the column information of a specified table in a cluster.
1082
1082
  *
1083
1083
  * @remarks
1084
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
1085
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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
- * Queries a list of databases for an AnalyticDB for MySQL cluster.
1107
+ * Lists all databases in a specified cluster.
1108
1108
  *
1109
1109
  * @remarks
1110
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
1111
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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
- * Queries a list of databases for an AnalyticDB for MySQL cluster.
1119
+ * Lists all databases in a specified cluster.
1120
1120
  *
1121
1121
  * @remarks
1122
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
1123
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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 information about all tables in a specified database of a cluster.
1145
+ * Lists all tables in a specified database of a cluster.
1146
1146
  *
1147
1147
  * @remarks
1148
- * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. For example, `adb.cn-hangzhou.aliyuncs.com`.
1149
- * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. For example, `adb-vpc.cn-hangzhou.aliyuncs.com`.
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 information about all tables in a specified database of a cluster.
1157
+ * Lists all tables in a specified database of a cluster.
1158
1158
  *
1159
1159
  * @remarks
1160
- * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. For example, `adb.cn-hangzhou.aliyuncs.com`.
1161
- * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. For example, `adb-vpc.cn-hangzhou.aliyuncs.com`.
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
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 AnalyticDB Pipeline Service (APS) job from Simple Log Service (SLS) to an AnalyticDB for MySQL Data Warehouse Edition cluster.
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 AnalyticDB Pipeline Service (APS) job from Simple Log Service (SLS) to an AnalyticDB for MySQL Data Warehouse Edition cluster.
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 about table columns for an AnalyticDB for MySQL cluster.
3490
+ * Queries the column information of a specified table in a cluster.
3491
3491
  *
3492
3492
  * @remarks
3493
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3494
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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 about table columns for an AnalyticDB for MySQL cluster.
3535
+ * Queries the column information of a specified table in a cluster.
3533
3536
  *
3534
3537
  * @remarks
3535
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3536
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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
- * Queries a list of databases for an AnalyticDB for MySQL cluster.
3597
+ * Lists all databases in a specified cluster.
3595
3598
  *
3596
3599
  * @remarks
3597
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3598
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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
- * Queries a list of databases for an AnalyticDB for MySQL cluster.
3636
+ * Lists all databases in a specified cluster.
3631
3637
  *
3632
3638
  * @remarks
3633
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3634
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
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 information about all tables in a specified database of a cluster.
3698
+ * Lists all tables in a specified database of a cluster.
3693
3699
  *
3694
3700
  * @remarks
3695
- * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. For example, `adb.cn-hangzhou.aliyuncs.com`.
3696
- * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. For example, `adb-vpc.cn-hangzhou.aliyuncs.com`.
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 information about all tables in a specified database of a cluster.
3740
+ * Lists all tables in a specified database of a cluster.
3732
3741
  *
3733
3742
  * @remarks
3734
- * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. For example, `adb.cn-hangzhou.aliyuncs.com`.
3735
- * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. For example, `adb-vpc.cn-hangzhou.aliyuncs.com`.
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