@alicloud/gpdb20160503 3.12.2 → 3.13.0

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 (30) hide show
  1. package/dist/client.d.ts +21 -6
  2. package/dist/client.js +48 -6
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateSupabaseProjectRequest.d.ts +3 -3
  5. package/dist/models/CreateSupabaseProjectResponseBody.d.ts +1 -1
  6. package/dist/models/DescribeDbversionRequest.d.ts +24 -0
  7. package/dist/models/DescribeDbversionRequest.js +60 -0
  8. package/dist/models/DescribeDbversionRequest.js.map +1 -0
  9. package/dist/models/DescribeDbversionResponse.d.ts +19 -0
  10. package/dist/models/DescribeDbversionResponse.js +69 -0
  11. package/dist/models/DescribeDbversionResponse.js.map +1 -0
  12. package/dist/models/DescribeDbversionResponseBody.d.ts +29 -0
  13. package/dist/models/DescribeDbversionResponseBody.js +60 -0
  14. package/dist/models/DescribeDbversionResponseBody.js.map +1 -0
  15. package/dist/models/GetSupabaseProjectRequest.d.ts +2 -2
  16. package/dist/models/GetSupabaseProjectResponseBody.d.ts +25 -36
  17. package/dist/models/GetSupabaseProjectResponseBody.js.map +1 -1
  18. package/dist/models/model.d.ts +3 -0
  19. package/dist/models/model.js +18 -12
  20. package/dist/models/model.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/client.ts +52 -6
  23. package/src/models/CreateSupabaseProjectRequest.ts +3 -3
  24. package/src/models/CreateSupabaseProjectResponseBody.ts +1 -1
  25. package/src/models/DescribeDbversionRequest.ts +39 -0
  26. package/src/models/DescribeDbversionResponse.ts +40 -0
  27. package/src/models/DescribeDbversionResponseBody.ts +44 -0
  28. package/src/models/GetSupabaseProjectRequest.ts +2 -2
  29. package/src/models/GetSupabaseProjectResponseBody.ts +25 -36
  30. package/src/models/model.ts +3 -0
package/dist/client.d.ts CHANGED
@@ -825,7 +825,7 @@ export default class Client extends OpenApi {
825
825
  * Creates a Supabase project.
826
826
  *
827
827
  * @remarks
828
- * Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
828
+ * Creates a Supabase project in a specified region and zone. This operation supports the Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
829
829
  *
830
830
  * @param request - CreateSupabaseProjectRequest
831
831
  * @param runtime - runtime options for this request RuntimeOptions
@@ -836,7 +836,7 @@ export default class Client extends OpenApi {
836
836
  * Creates a Supabase project.
837
837
  *
838
838
  * @remarks
839
- * Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
839
+ * Creates a Supabase project in a specified region and zone. This operation supports the Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
840
840
  *
841
841
  * @param request - CreateSupabaseProjectRequest
842
842
  * @returns CreateSupabaseProjectResponse
@@ -2017,6 +2017,21 @@ export default class Client extends OpenApi {
2017
2017
  * @returns DescribeDBResourceManagementModeResponse
2018
2018
  */
2019
2019
  describeDBResourceManagementMode(request: $_model.DescribeDBResourceManagementModeRequest): Promise<$_model.DescribeDBResourceManagementModeResponse>;
2020
+ /**
2021
+ * Queries the kernel update version information.
2022
+ *
2023
+ * @param request - DescribeDBVersionRequest
2024
+ * @param runtime - runtime options for this request RuntimeOptions
2025
+ * @returns DescribeDBVersionResponse
2026
+ */
2027
+ describeDBVersionWithOptions(request: $_model.DescribeDBVersionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeDBVersionResponse>;
2028
+ /**
2029
+ * Queries the kernel update version information.
2030
+ *
2031
+ * @param request - DescribeDBVersionRequest
2032
+ * @returns DescribeDBVersionResponse
2033
+ */
2034
+ describeDBVersion(request: $_model.DescribeDBVersionRequest): Promise<$_model.DescribeDBVersionResponse>;
2020
2035
  /**
2021
2036
  * Queries the information about minor versions of AnalyticDB for PostgreSQL instances.
2022
2037
  *
@@ -3231,10 +3246,10 @@ export default class Client extends OpenApi {
3231
3246
  */
3232
3247
  getStatementResult(request: $_model.GetStatementResultRequest): Promise<$_model.GetStatementResultResponse>;
3233
3248
  /**
3234
- * Retrieves details of a Supabase instance.
3249
+ * Queries the details of a Supabase instance.
3235
3250
  *
3236
3251
  * @remarks
3237
- * Gets the details of a Supabase instance.
3252
+ * Queries the details of a Supabase instance.
3238
3253
  *
3239
3254
  * @param request - GetSupabaseProjectRequest
3240
3255
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3242,10 +3257,10 @@ export default class Client extends OpenApi {
3242
3257
  */
3243
3258
  getSupabaseProjectWithOptions(request: $_model.GetSupabaseProjectRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSupabaseProjectResponse>;
3244
3259
  /**
3245
- * Retrieves details of a Supabase instance.
3260
+ * Queries the details of a Supabase instance.
3246
3261
  *
3247
3262
  * @remarks
3248
- * Gets the details of a Supabase instance.
3263
+ * Queries the details of a Supabase instance.
3249
3264
  *
3250
3265
  * @param request - GetSupabaseProjectRequest
3251
3266
  * @returns GetSupabaseProjectResponse
package/dist/client.js CHANGED
@@ -3138,7 +3138,7 @@ class Client extends openapi_core_1.default {
3138
3138
  * Creates a Supabase project.
3139
3139
  *
3140
3140
  * @remarks
3141
- * Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
3141
+ * Creates a Supabase project in a specified region and zone. This operation supports the Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
3142
3142
  *
3143
3143
  * @param request - CreateSupabaseProjectRequest
3144
3144
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3221,7 +3221,7 @@ class Client extends openapi_core_1.default {
3221
3221
  * Creates a Supabase project.
3222
3222
  *
3223
3223
  * @remarks
3224
- * Creates a Supabase project in a specified region and zone. This operation supports Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
3224
+ * Creates a Supabase project in a specified region and zone. This operation supports the Free, pay-as-you-go, and subscription billing methods. You can specify the network, specifications, storage, access IP address whitelist, DPI engine version, and auto start/stop configurations.
3225
3225
  *
3226
3226
  * @param request - CreateSupabaseProjectRequest
3227
3227
  * @returns CreateSupabaseProjectResponse
@@ -6563,6 +6563,48 @@ class Client extends openapi_core_1.default {
6563
6563
  let runtime = new $dara.RuntimeOptions({});
6564
6564
  return await this.describeDBResourceManagementModeWithOptions(request, runtime);
6565
6565
  }
6566
+ /**
6567
+ * Queries the kernel update version information.
6568
+ *
6569
+ * @param request - DescribeDBVersionRequest
6570
+ * @param runtime - runtime options for this request RuntimeOptions
6571
+ * @returns DescribeDBVersionResponse
6572
+ */
6573
+ async describeDBVersionWithOptions(request, runtime) {
6574
+ request.validate();
6575
+ let query = {};
6576
+ if (!$dara.isNull(request.DBInstanceId)) {
6577
+ query["DBInstanceId"] = request.DBInstanceId;
6578
+ }
6579
+ if (!$dara.isNull(request.ownerId)) {
6580
+ query["OwnerId"] = request.ownerId;
6581
+ }
6582
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
6583
+ query: openapi_core_2.OpenApiUtil.query(query),
6584
+ });
6585
+ let params = new openapi_core_2.$OpenApiUtil.Params({
6586
+ action: "DescribeDBVersion",
6587
+ version: "2016-05-03",
6588
+ protocol: "HTTPS",
6589
+ pathname: "/",
6590
+ method: "POST",
6591
+ authType: "AK",
6592
+ style: "RPC",
6593
+ reqBodyType: "formData",
6594
+ bodyType: "json",
6595
+ });
6596
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeDBVersionResponse({}));
6597
+ }
6598
+ /**
6599
+ * Queries the kernel update version information.
6600
+ *
6601
+ * @param request - DescribeDBVersionRequest
6602
+ * @returns DescribeDBVersionResponse
6603
+ */
6604
+ async describeDBVersion(request) {
6605
+ let runtime = new $dara.RuntimeOptions({});
6606
+ return await this.describeDBVersionWithOptions(request, runtime);
6607
+ }
6566
6608
  /**
6567
6609
  * Queries the information about minor versions of AnalyticDB for PostgreSQL instances.
6568
6610
  *
@@ -10146,10 +10188,10 @@ class Client extends openapi_core_1.default {
10146
10188
  return await this.getStatementResultWithOptions(request, runtime);
10147
10189
  }
10148
10190
  /**
10149
- * Retrieves details of a Supabase instance.
10191
+ * Queries the details of a Supabase instance.
10150
10192
  *
10151
10193
  * @remarks
10152
- * Gets the details of a Supabase instance.
10194
+ * Queries the details of a Supabase instance.
10153
10195
  *
10154
10196
  * @param request - GetSupabaseProjectRequest
10155
10197
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10181,10 +10223,10 @@ class Client extends openapi_core_1.default {
10181
10223
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetSupabaseProjectResponse({}));
10182
10224
  }
10183
10225
  /**
10184
- * Retrieves details of a Supabase instance.
10226
+ * Queries the details of a Supabase instance.
10185
10227
  *
10186
10228
  * @remarks
10187
- * Gets the details of a Supabase instance.
10229
+ * Queries the details of a Supabase instance.
10188
10230
  *
10189
10231
  * @param request - GetSupabaseProjectRequest
10190
10232
  * @returns GetSupabaseProjectResponse