@alicloud/polardb20170801 7.5.0 → 7.7.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 (55) hide show
  1. package/dist/client.d.ts +34 -4
  2. package/dist/client.js +121 -4
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +75 -110
  5. package/dist/models/DescribeApplicationAttributeResponseBody.js +2 -0
  6. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  7. package/dist/models/DescribeApplicationLogsRequest.d.ts +1 -1
  8. package/dist/models/DescribeApplicationLogsResponseBody.d.ts +2 -0
  9. package/dist/models/DescribeApplicationLogsResponseBody.js +4 -0
  10. package/dist/models/DescribeApplicationLogsResponseBody.js.map +1 -1
  11. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +4 -0
  12. package/dist/models/DescribeApplicationPerformanceRequest.js +8 -0
  13. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  14. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +2 -0
  15. package/dist/models/DescribeApplicationPerformanceResponseBody.js +4 -0
  16. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  17. package/dist/models/DescribeApplicationSessionIdsRequest.d.ts +72 -0
  18. package/dist/models/DescribeApplicationSessionIdsRequest.js +74 -0
  19. package/dist/models/DescribeApplicationSessionIdsRequest.js.map +1 -0
  20. package/dist/models/DescribeApplicationSessionIdsResponse.d.ts +19 -0
  21. package/dist/models/DescribeApplicationSessionIdsResponse.js +69 -0
  22. package/dist/models/DescribeApplicationSessionIdsResponse.js.map +1 -0
  23. package/dist/models/DescribeApplicationSessionIdsResponseBody.d.ts +82 -0
  24. package/dist/models/DescribeApplicationSessionIdsResponseBody.js +116 -0
  25. package/dist/models/DescribeApplicationSessionIdsResponseBody.js.map +1 -0
  26. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +84 -79
  27. package/dist/models/DescribeDbclusterAttributeResponseBody.js +10 -0
  28. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  29. package/dist/models/RestartPolarClawGatewayRequest.d.ts +26 -0
  30. package/dist/models/RestartPolarClawGatewayRequest.js +60 -0
  31. package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -0
  32. package/dist/models/RestartPolarClawGatewayResponse.d.ts +19 -0
  33. package/dist/models/RestartPolarClawGatewayResponse.js +69 -0
  34. package/dist/models/RestartPolarClawGatewayResponse.js.map +1 -0
  35. package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +73 -0
  36. package/dist/models/RestartPolarClawGatewayResponseBody.js +80 -0
  37. package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -0
  38. package/dist/models/model.d.ts +8 -0
  39. package/dist/models/model.js +48 -32
  40. package/dist/models/model.js.map +1 -1
  41. package/package.json +2 -2
  42. package/src/client.ts +140 -4
  43. package/src/models/DescribeApplicationAttributeResponseBody.ts +77 -110
  44. package/src/models/DescribeApplicationLogsRequest.ts +1 -1
  45. package/src/models/DescribeApplicationLogsResponseBody.ts +6 -0
  46. package/src/models/DescribeApplicationPerformanceRequest.ts +12 -0
  47. package/src/models/DescribeApplicationPerformanceResponseBody.ts +6 -0
  48. package/src/models/DescribeApplicationSessionIdsRequest.ts +101 -0
  49. package/src/models/DescribeApplicationSessionIdsResponse.ts +40 -0
  50. package/src/models/DescribeApplicationSessionIdsResponseBody.ts +135 -0
  51. package/src/models/DescribeDbclusterAttributeResponseBody.ts +94 -79
  52. package/src/models/RestartPolarClawGatewayRequest.ts +41 -0
  53. package/src/models/RestartPolarClawGatewayResponse.ts +40 -0
  54. package/src/models/RestartPolarClawGatewayResponseBody.ts +108 -0
  55. package/src/models/model.ts +8 -0
package/dist/client.d.ts CHANGED
@@ -2538,10 +2538,10 @@ export default class Client extends OpenApi {
2538
2538
  */
2539
2539
  describeApikeyAttribute(request: $_model.DescribeApikeyAttributeRequest): Promise<$_model.DescribeApikeyAttributeResponse>;
2540
2540
  /**
2541
- * Retrieves the details of a specific application in a PolarDB instance.
2541
+ * Retrieves the detailed information of a specified PolarDB application.
2542
2542
  *
2543
2543
  * @remarks
2544
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
2544
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
2545
2545
  *
2546
2546
  * @param request - DescribeApplicationAttributeRequest
2547
2547
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2549,10 +2549,10 @@ export default class Client extends OpenApi {
2549
2549
  */
2550
2550
  describeApplicationAttributeWithOptions(request: $_model.DescribeApplicationAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationAttributeResponse>;
2551
2551
  /**
2552
- * Retrieves the details of a specific application in a PolarDB instance.
2552
+ * Retrieves the detailed information of a specified PolarDB application.
2553
2553
  *
2554
2554
  * @remarks
2555
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
2555
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
2556
2556
  *
2557
2557
  * @param request - DescribeApplicationAttributeRequest
2558
2558
  * @returns DescribeApplicationAttributeResponse
@@ -2633,6 +2633,21 @@ export default class Client extends OpenApi {
2633
2633
  * @returns DescribeApplicationServerlessConfResponse
2634
2634
  */
2635
2635
  describeApplicationServerlessConf(request: $_model.DescribeApplicationServerlessConfRequest): Promise<$_model.DescribeApplicationServerlessConfResponse>;
2636
+ /**
2637
+ * Queries AI application sessions.
2638
+ *
2639
+ * @param request - DescribeApplicationSessionIdsRequest
2640
+ * @param runtime - runtime options for this request RuntimeOptions
2641
+ * @returns DescribeApplicationSessionIdsResponse
2642
+ */
2643
+ describeApplicationSessionIdsWithOptions(request: $_model.DescribeApplicationSessionIdsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationSessionIdsResponse>;
2644
+ /**
2645
+ * Queries AI application sessions.
2646
+ *
2647
+ * @param request - DescribeApplicationSessionIdsRequest
2648
+ * @returns DescribeApplicationSessionIdsResponse
2649
+ */
2650
+ describeApplicationSessionIds(request: $_model.DescribeApplicationSessionIdsRequest): Promise<$_model.DescribeApplicationSessionIdsResponse>;
2636
2651
  /**
2637
2652
  * Gets the list of applications for all PolarDB instances in a specified region.
2638
2653
  *
@@ -6661,6 +6676,21 @@ export default class Client extends OpenApi {
6661
6676
  * @returns RestartDBNodeZonalResponse
6662
6677
  */
6663
6678
  restartDBNodeZonal(request: $_model.RestartDBNodeZonalRequest): Promise<$_model.RestartDBNodeZonalResponse>;
6679
+ /**
6680
+ * Restarts a PolarClaw gateway.
6681
+ *
6682
+ * @param request - RestartPolarClawGatewayRequest
6683
+ * @param runtime - runtime options for this request RuntimeOptions
6684
+ * @returns RestartPolarClawGatewayResponse
6685
+ */
6686
+ restartPolarClawGatewayWithOptions(request: $_model.RestartPolarClawGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartPolarClawGatewayResponse>;
6687
+ /**
6688
+ * Restarts a PolarClaw gateway.
6689
+ *
6690
+ * @param request - RestartPolarClawGatewayRequest
6691
+ * @returns RestartPolarClawGatewayResponse
6692
+ */
6693
+ restartPolarClawGateway(request: $_model.RestartPolarClawGatewayRequest): Promise<$_model.RestartPolarClawGatewayResponse>;
6664
6694
  /**
6665
6695
  * Restores databases or tables to a PolarDB cluster.
6666
6696
  *
package/dist/client.js CHANGED
@@ -9106,10 +9106,10 @@ class Client extends openapi_core_1.default {
9106
9106
  return await this.describeApikeyAttributeWithOptions(request, runtime);
9107
9107
  }
9108
9108
  /**
9109
- * Retrieves the details of a specific application in a PolarDB instance.
9109
+ * Retrieves the detailed information of a specified PolarDB application.
9110
9110
  *
9111
9111
  * @remarks
9112
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
9112
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
9113
9113
  *
9114
9114
  * @param request - DescribeApplicationAttributeRequest
9115
9115
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9138,10 +9138,10 @@ class Client extends openapi_core_1.default {
9138
9138
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationAttributeResponse({}));
9139
9139
  }
9140
9140
  /**
9141
- * Retrieves the details of a specific application in a PolarDB instance.
9141
+ * Retrieves the detailed information of a specified PolarDB application.
9142
9142
  *
9143
9143
  * @remarks
9144
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
9144
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
9145
9145
  *
9146
9146
  * @param request - DescribeApplicationAttributeRequest
9147
9147
  * @returns DescribeApplicationAttributeResponse
@@ -9294,6 +9294,12 @@ class Client extends openapi_core_1.default {
9294
9294
  if (!$dara.isNull(request.consumerGroup)) {
9295
9295
  query["ConsumerGroup"] = request.consumerGroup;
9296
9296
  }
9297
+ if (!$dara.isNull(request.downsample)) {
9298
+ query["Downsample"] = request.downsample;
9299
+ }
9300
+ if (!$dara.isNull(request.endStep)) {
9301
+ query["EndStep"] = request.endStep;
9302
+ }
9297
9303
  if (!$dara.isNull(request.endTime)) {
9298
9304
  query["EndTime"] = request.endTime;
9299
9305
  }
@@ -9303,9 +9309,15 @@ class Client extends openapi_core_1.default {
9303
9309
  if (!$dara.isNull(request.key)) {
9304
9310
  query["Key"] = request.key;
9305
9311
  }
9312
+ if (!$dara.isNull(request.maxPoints)) {
9313
+ query["MaxPoints"] = request.maxPoints;
9314
+ }
9306
9315
  if (!$dara.isNull(request.modelService)) {
9307
9316
  query["ModelService"] = request.modelService;
9308
9317
  }
9318
+ if (!$dara.isNull(request.startStep)) {
9319
+ query["StartStep"] = request.startStep;
9320
+ }
9309
9321
  if (!$dara.isNull(request.startTime)) {
9310
9322
  query["StartTime"] = request.startTime;
9311
9323
  }
@@ -9419,6 +9431,69 @@ class Client extends openapi_core_1.default {
9419
9431
  let runtime = new $dara.RuntimeOptions({});
9420
9432
  return await this.describeApplicationServerlessConfWithOptions(request, runtime);
9421
9433
  }
9434
+ /**
9435
+ * Queries AI application sessions.
9436
+ *
9437
+ * @param request - DescribeApplicationSessionIdsRequest
9438
+ * @param runtime - runtime options for this request RuntimeOptions
9439
+ * @returns DescribeApplicationSessionIdsResponse
9440
+ */
9441
+ async describeApplicationSessionIdsWithOptions(request, runtime) {
9442
+ request.validate();
9443
+ let query = {};
9444
+ if (!$dara.isNull(request.applicationId)) {
9445
+ query["ApplicationId"] = request.applicationId;
9446
+ }
9447
+ if (!$dara.isNull(request.endTime)) {
9448
+ query["EndTime"] = request.endTime;
9449
+ }
9450
+ if (!$dara.isNull(request.ownerAccount)) {
9451
+ query["OwnerAccount"] = request.ownerAccount;
9452
+ }
9453
+ if (!$dara.isNull(request.ownerId)) {
9454
+ query["OwnerId"] = request.ownerId;
9455
+ }
9456
+ if (!$dara.isNull(request.pageNumber)) {
9457
+ query["PageNumber"] = request.pageNumber;
9458
+ }
9459
+ if (!$dara.isNull(request.pageSize)) {
9460
+ query["PageSize"] = request.pageSize;
9461
+ }
9462
+ if (!$dara.isNull(request.regionId)) {
9463
+ query["RegionId"] = request.regionId;
9464
+ }
9465
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
9466
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
9467
+ }
9468
+ if (!$dara.isNull(request.startTime)) {
9469
+ query["StartTime"] = request.startTime;
9470
+ }
9471
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
9472
+ query: openapi_core_2.OpenApiUtil.query(query),
9473
+ });
9474
+ let params = new openapi_core_2.$OpenApiUtil.Params({
9475
+ action: "DescribeApplicationSessionIds",
9476
+ version: "2017-08-01",
9477
+ protocol: "HTTPS",
9478
+ pathname: "/",
9479
+ method: "POST",
9480
+ authType: "AK",
9481
+ style: "RPC",
9482
+ reqBodyType: "formData",
9483
+ bodyType: "json",
9484
+ });
9485
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationSessionIdsResponse({}));
9486
+ }
9487
+ /**
9488
+ * Queries AI application sessions.
9489
+ *
9490
+ * @param request - DescribeApplicationSessionIdsRequest
9491
+ * @returns DescribeApplicationSessionIdsResponse
9492
+ */
9493
+ async describeApplicationSessionIds(request) {
9494
+ let runtime = new $dara.RuntimeOptions({});
9495
+ return await this.describeApplicationSessionIdsWithOptions(request, runtime);
9496
+ }
9422
9497
  /**
9423
9498
  * Gets the list of applications for all PolarDB instances in a specified region.
9424
9499
  *
@@ -24106,6 +24181,48 @@ class Client extends openapi_core_1.default {
24106
24181
  let runtime = new $dara.RuntimeOptions({});
24107
24182
  return await this.restartDBNodeZonalWithOptions(request, runtime);
24108
24183
  }
24184
+ /**
24185
+ * Restarts a PolarClaw gateway.
24186
+ *
24187
+ * @param request - RestartPolarClawGatewayRequest
24188
+ * @param runtime - runtime options for this request RuntimeOptions
24189
+ * @returns RestartPolarClawGatewayResponse
24190
+ */
24191
+ async restartPolarClawGatewayWithOptions(request, runtime) {
24192
+ request.validate();
24193
+ let query = {};
24194
+ if (!$dara.isNull(request.applicationId)) {
24195
+ query["ApplicationId"] = request.applicationId;
24196
+ }
24197
+ if (!$dara.isNull(request.mode)) {
24198
+ query["Mode"] = request.mode;
24199
+ }
24200
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
24201
+ query: openapi_core_2.OpenApiUtil.query(query),
24202
+ });
24203
+ let params = new openapi_core_2.$OpenApiUtil.Params({
24204
+ action: "RestartPolarClawGateway",
24205
+ version: "2017-08-01",
24206
+ protocol: "HTTPS",
24207
+ pathname: "/",
24208
+ method: "POST",
24209
+ authType: "AK",
24210
+ style: "RPC",
24211
+ reqBodyType: "formData",
24212
+ bodyType: "json",
24213
+ });
24214
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartPolarClawGatewayResponse({}));
24215
+ }
24216
+ /**
24217
+ * Restarts a PolarClaw gateway.
24218
+ *
24219
+ * @param request - RestartPolarClawGatewayRequest
24220
+ * @returns RestartPolarClawGatewayResponse
24221
+ */
24222
+ async restartPolarClawGateway(request) {
24223
+ let runtime = new $dara.RuntimeOptions({});
24224
+ return await this.restartPolarClawGatewayWithOptions(request, runtime);
24225
+ }
24109
24226
  /**
24110
24227
  * Restores databases or tables to a PolarDB cluster.
24111
24228
  *