@alicloud/polardb20170801 7.6.0 → 7.8.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 (69) hide show
  1. package/dist/client.d.ts +56 -10
  2. package/dist/client.js +131 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarFsPathMappingRequest.d.ts +6 -4
  5. package/dist/models/AddPolarFsPathMappingRequest.js +4 -0
  6. package/dist/models/AddPolarFsPathMappingRequest.js.map +1 -1
  7. package/dist/models/AddPolarFsPathMappingResponseBody.d.ts +1 -1
  8. package/dist/models/CreateBatchConsumerRequest.d.ts +19 -7
  9. package/dist/models/CreateBatchConsumerRequest.js +4 -0
  10. package/dist/models/CreateBatchConsumerRequest.js.map +1 -1
  11. package/dist/models/CreateBatchConsumerResponseBody.d.ts +90 -2
  12. package/dist/models/CreateBatchConsumerResponseBody.js +22 -0
  13. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -1
  14. package/dist/models/CreateDbclusterRequest.d.ts +47 -261
  15. package/dist/models/CreateDbclusterRequest.js.map +1 -1
  16. package/dist/models/CreateDbclusterResponseBody.d.ts +14 -0
  17. package/dist/models/CreateDbclusterResponseBody.js.map +1 -1
  18. package/dist/models/CreateGwConsumerOrderRequest.d.ts +76 -0
  19. package/dist/models/CreateGwConsumerOrderRequest.js +68 -0
  20. package/dist/models/CreateGwConsumerOrderRequest.js.map +1 -0
  21. package/dist/models/CreateGwConsumerOrderResponse.d.ts +19 -0
  22. package/dist/models/CreateGwConsumerOrderResponse.js +69 -0
  23. package/dist/models/CreateGwConsumerOrderResponse.js.map +1 -0
  24. package/dist/models/CreateGwConsumerOrderResponseBody.d.ts +53 -0
  25. package/dist/models/CreateGwConsumerOrderResponseBody.js +66 -0
  26. package/dist/models/CreateGwConsumerOrderResponseBody.js.map +1 -0
  27. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +75 -110
  28. package/dist/models/DescribeApplicationAttributeResponseBody.js +2 -0
  29. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  30. package/dist/models/DescribeApplicationLogsRequest.d.ts +4 -4
  31. package/dist/models/DescribeApplicationPerformanceRequest.d.ts +38 -15
  32. package/dist/models/DescribeApplicationPerformanceRequest.js.map +1 -1
  33. package/dist/models/DescribeApplicationPerformanceResponseBody.d.ts +7 -4
  34. package/dist/models/DescribeApplicationPerformanceResponseBody.js.map +1 -1
  35. package/dist/models/ModifyDbclusterSslrequest.d.ts +14 -9
  36. package/dist/models/ModifyDbclusterSslrequest.js +2 -0
  37. package/dist/models/ModifyDbclusterSslrequest.js.map +1 -1
  38. package/dist/models/RestartPolarClawGatewayRequest.d.ts +33 -0
  39. package/dist/models/RestartPolarClawGatewayRequest.js +60 -0
  40. package/dist/models/RestartPolarClawGatewayRequest.js.map +1 -0
  41. package/dist/models/RestartPolarClawGatewayResponse.d.ts +19 -0
  42. package/dist/models/RestartPolarClawGatewayResponse.js +69 -0
  43. package/dist/models/RestartPolarClawGatewayResponse.js.map +1 -0
  44. package/dist/models/RestartPolarClawGatewayResponseBody.d.ts +109 -0
  45. package/dist/models/RestartPolarClawGatewayResponseBody.js +80 -0
  46. package/dist/models/RestartPolarClawGatewayResponseBody.js.map +1 -0
  47. package/dist/models/model.d.ts +6 -0
  48. package/dist/models/model.js +35 -23
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +2 -2
  51. package/src/client.ts +146 -12
  52. package/src/models/AddPolarFsPathMappingRequest.ts +10 -4
  53. package/src/models/AddPolarFsPathMappingResponseBody.ts +1 -1
  54. package/src/models/CreateBatchConsumerRequest.ts +23 -7
  55. package/src/models/CreateBatchConsumerResponseBody.ts +112 -2
  56. package/src/models/CreateDbclusterRequest.ts +51 -265
  57. package/src/models/CreateDbclusterResponseBody.ts +14 -0
  58. package/src/models/CreateGwConsumerOrderRequest.ts +99 -0
  59. package/src/models/CreateGwConsumerOrderResponse.ts +40 -0
  60. package/src/models/CreateGwConsumerOrderResponseBody.ts +74 -0
  61. package/src/models/DescribeApplicationAttributeResponseBody.ts +77 -110
  62. package/src/models/DescribeApplicationLogsRequest.ts +4 -4
  63. package/src/models/DescribeApplicationPerformanceRequest.ts +38 -15
  64. package/src/models/DescribeApplicationPerformanceResponseBody.ts +7 -4
  65. package/src/models/ModifyDbclusterSslrequest.ts +16 -9
  66. package/src/models/RestartPolarClawGatewayRequest.ts +48 -0
  67. package/src/models/RestartPolarClawGatewayResponse.ts +40 -0
  68. package/src/models/RestartPolarClawGatewayResponseBody.ts +144 -0
  69. package/src/models/model.ts +6 -0
package/dist/client.d.ts CHANGED
@@ -742,6 +742,11 @@ export default class Client extends OpenApi {
742
742
  /**
743
743
  * Creates API keys in batches.
744
744
  *
745
+ * @remarks
746
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
747
+ * > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before calling this operation.
748
+ * > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
749
+ *
745
750
  * @param request - CreateBatchConsumerRequest
746
751
  * @param runtime - runtime options for this request RuntimeOptions
747
752
  * @returns CreateBatchConsumerResponse
@@ -750,6 +755,11 @@ export default class Client extends OpenApi {
750
755
  /**
751
756
  * Creates API keys in batches.
752
757
  *
758
+ * @remarks
759
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
760
+ * > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before calling this operation.
761
+ * > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
762
+ *
753
763
  * @param request - CreateBatchConsumerRequest
754
764
  * @returns CreateBatchConsumerResponse
755
765
  */
@@ -862,6 +872,9 @@ export default class Client extends OpenApi {
862
872
  /**
863
873
  * Creates a PolarDB cluster.
864
874
  *
875
+ * @remarks
876
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
877
+ *
865
878
  * @param request - CreateDBClusterRequest
866
879
  * @param runtime - runtime options for this request RuntimeOptions
867
880
  * @returns CreateDBClusterResponse
@@ -870,6 +883,9 @@ export default class Client extends OpenApi {
870
883
  /**
871
884
  * Creates a PolarDB cluster.
872
885
  *
886
+ * @remarks
887
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
888
+ *
873
889
  * @param request - CreateDBClusterRequest
874
890
  * @returns CreateDBClusterResponse
875
891
  */
@@ -1098,6 +1114,21 @@ export default class Client extends OpenApi {
1098
1114
  * @returns CreateGlobalSecurityIPGroupResponse
1099
1115
  */
1100
1116
  createGlobalSecurityIPGroup(request: $_model.CreateGlobalSecurityIPGroupRequest): Promise<$_model.CreateGlobalSecurityIPGroupResponse>;
1117
+ /**
1118
+ * Places an order to purchase a token resource plan and activates a redemption code.
1119
+ *
1120
+ * @param request - CreateGwConsumerOrderRequest
1121
+ * @param runtime - runtime options for this request RuntimeOptions
1122
+ * @returns CreateGwConsumerOrderResponse
1123
+ */
1124
+ createGwConsumerOrderWithOptions(request: $_model.CreateGwConsumerOrderRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateGwConsumerOrderResponse>;
1125
+ /**
1126
+ * Places an order to purchase a token resource plan and activates a redemption code.
1127
+ *
1128
+ * @param request - CreateGwConsumerOrderRequest
1129
+ * @returns CreateGwConsumerOrderResponse
1130
+ */
1131
+ createGwConsumerOrder(request: $_model.CreateGwConsumerOrderRequest): Promise<$_model.CreateGwConsumerOrderResponse>;
1101
1132
  /**
1102
1133
  * Creates a model API.
1103
1134
  *
@@ -2538,10 +2569,10 @@ export default class Client extends OpenApi {
2538
2569
  */
2539
2570
  describeApikeyAttribute(request: $_model.DescribeApikeyAttributeRequest): Promise<$_model.DescribeApikeyAttributeResponse>;
2540
2571
  /**
2541
- * Retrieves the details of a specific application in a PolarDB instance.
2572
+ * Retrieves the detailed information of a specified PolarDB application.
2542
2573
  *
2543
2574
  * @remarks
2544
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
2575
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
2545
2576
  *
2546
2577
  * @param request - DescribeApplicationAttributeRequest
2547
2578
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2549,17 +2580,17 @@ export default class Client extends OpenApi {
2549
2580
  */
2550
2581
  describeApplicationAttributeWithOptions(request: $_model.DescribeApplicationAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationAttributeResponse>;
2551
2582
  /**
2552
- * Retrieves the details of a specific application in a PolarDB instance.
2583
+ * Retrieves the detailed information of a specified PolarDB application.
2553
2584
  *
2554
2585
  * @remarks
2555
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
2586
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
2556
2587
  *
2557
2588
  * @param request - DescribeApplicationAttributeRequest
2558
2589
  * @returns DescribeApplicationAttributeResponse
2559
2590
  */
2560
2591
  describeApplicationAttribute(request: $_model.DescribeApplicationAttributeRequest): Promise<$_model.DescribeApplicationAttributeResponse>;
2561
2592
  /**
2562
- * Queries the log details of an AI application.
2593
+ * Queries the details of AI application logs.
2563
2594
  *
2564
2595
  * @param request - DescribeApplicationLogsRequest
2565
2596
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2567,7 +2598,7 @@ export default class Client extends OpenApi {
2567
2598
  */
2568
2599
  describeApplicationLogsWithOptions(request: $_model.DescribeApplicationLogsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationLogsResponse>;
2569
2600
  /**
2570
- * Queries the log details of an AI application.
2601
+ * Queries the details of AI application logs.
2571
2602
  *
2572
2603
  * @param request - DescribeApplicationLogsRequest
2573
2604
  * @returns DescribeApplicationLogsResponse
@@ -2589,7 +2620,7 @@ export default class Client extends OpenApi {
2589
2620
  */
2590
2621
  describeApplicationParameters(request: $_model.DescribeApplicationParametersRequest): Promise<$_model.DescribeApplicationParametersResponse>;
2591
2622
  /**
2592
- * Querying PolarDB AI application performance.
2623
+ * Queries the performance of a PolarDB AI application.
2593
2624
  *
2594
2625
  * @param request - DescribeApplicationPerformanceRequest
2595
2626
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2597,7 +2628,7 @@ export default class Client extends OpenApi {
2597
2628
  */
2598
2629
  describeApplicationPerformanceWithOptions(request: $_model.DescribeApplicationPerformanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApplicationPerformanceResponse>;
2599
2630
  /**
2600
- * Querying PolarDB AI application performance.
2631
+ * Queries the performance of a PolarDB AI application.
2601
2632
  *
2602
2633
  * @param request - DescribeApplicationPerformanceRequest
2603
2634
  * @returns DescribeApplicationPerformanceResponse
@@ -5865,7 +5896,7 @@ export default class Client extends OpenApi {
5865
5896
  */
5866
5897
  modifyDBClusterResourceGroup(request: $_model.ModifyDBClusterResourceGroupRequest): Promise<$_model.ModifyDBClusterResourceGroupResponse>;
5867
5898
  /**
5868
- * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5899
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5869
5900
  *
5870
5901
  * @param request - ModifyDBClusterSSLRequest
5871
5902
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5873,7 +5904,7 @@ export default class Client extends OpenApi {
5873
5904
  */
5874
5905
  modifyDBClusterSSLWithOptions(request: $_model.ModifyDBClusterSSLRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBClusterSSLResponse>;
5875
5906
  /**
5876
- * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5907
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
5877
5908
  *
5878
5909
  * @param request - ModifyDBClusterSSLRequest
5879
5910
  * @returns ModifyDBClusterSSLResponse
@@ -6676,6 +6707,21 @@ export default class Client extends OpenApi {
6676
6707
  * @returns RestartDBNodeZonalResponse
6677
6708
  */
6678
6709
  restartDBNodeZonal(request: $_model.RestartDBNodeZonalRequest): Promise<$_model.RestartDBNodeZonalResponse>;
6710
+ /**
6711
+ * Restarts a PolarClaw gateway.
6712
+ *
6713
+ * @param request - RestartPolarClawGatewayRequest
6714
+ * @param runtime - runtime options for this request RuntimeOptions
6715
+ * @returns RestartPolarClawGatewayResponse
6716
+ */
6717
+ restartPolarClawGatewayWithOptions(request: $_model.RestartPolarClawGatewayRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RestartPolarClawGatewayResponse>;
6718
+ /**
6719
+ * Restarts a PolarClaw gateway.
6720
+ *
6721
+ * @param request - RestartPolarClawGatewayRequest
6722
+ * @returns RestartPolarClawGatewayResponse
6723
+ */
6724
+ restartPolarClawGateway(request: $_model.RestartPolarClawGatewayRequest): Promise<$_model.RestartPolarClawGatewayResponse>;
6679
6725
  /**
6680
6726
  * Restores databases or tables to a PolarDB cluster.
6681
6727
  *
package/dist/client.js CHANGED
@@ -127,9 +127,7 @@ class Client extends openapi_core_1.default {
127
127
  'ap-southeast-6': "polardb.ap-southeast-6.aliyuncs.com",
128
128
  'ap-southeast-5': "polardb.ap-southeast-5.aliyuncs.com",
129
129
  'ap-southeast-3': "polardb.ap-southeast-3.aliyuncs.com",
130
- 'ap-southeast-2': "polardb.ap-southeast-2.aliyuncs.com",
131
130
  'ap-southeast-1': "polardb.ap-southeast-1.aliyuncs.com",
132
- 'ap-south-1': "polardb.ap-south-1.aliyuncs.com",
133
131
  'ap-northeast-2': "polardb.ap-northeast-2.aliyuncs.com",
134
132
  'ap-northeast-1': "polardb.ap-northeast-1.aliyuncs.com",
135
133
  };
@@ -2724,6 +2722,11 @@ class Client extends openapi_core_1.default {
2724
2722
  /**
2725
2723
  * Creates API keys in batches.
2726
2724
  *
2725
+ * @remarks
2726
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
2727
+ * > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before calling this operation.
2728
+ * > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
2729
+ *
2727
2730
  * @param request - CreateBatchConsumerRequest
2728
2731
  * @param runtime - runtime options for this request RuntimeOptions
2729
2732
  * @returns CreateBatchConsumerResponse
@@ -2740,6 +2743,12 @@ class Client extends openapi_core_1.default {
2740
2743
  if (!$dara.isNull(request.count)) {
2741
2744
  query["Count"] = request.count;
2742
2745
  }
2746
+ if (!$dara.isNull(request.creditToken)) {
2747
+ query["CreditToken"] = request.creditToken;
2748
+ }
2749
+ if (!$dara.isNull(request.description)) {
2750
+ query["Description"] = request.description;
2751
+ }
2743
2752
  if (!$dara.isNull(request.gwClusterId)) {
2744
2753
  query["GwClusterId"] = request.gwClusterId;
2745
2754
  }
@@ -2765,6 +2774,11 @@ class Client extends openapi_core_1.default {
2765
2774
  /**
2766
2775
  * Creates API keys in batches.
2767
2776
  *
2777
+ * @remarks
2778
+ * > * Each cluster can have a maximum of three manually created backups at the same time.
2779
+ * > * If the error message `Exceeding the daily backup times of this DB cluster` is returned, three manually created backups already exist in your cluster. [Delete backups](https://help.aliyun.com/document_detail/98101.html) before calling this operation.
2780
+ * > * After you call this operation, a backup task is created in the background. If the data volume is large, the backup may take a long time. Wait until the backup is complete.
2781
+ *
2768
2782
  * @param request - CreateBatchConsumerRequest
2769
2783
  * @returns CreateBatchConsumerResponse
2770
2784
  */
@@ -3209,6 +3223,9 @@ class Client extends openapi_core_1.default {
3209
3223
  /**
3210
3224
  * Creates a PolarDB cluster.
3211
3225
  *
3226
+ * @remarks
3227
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
3228
+ *
3212
3229
  * @param request - CreateDBClusterRequest
3213
3230
  * @param runtime - runtime options for this request RuntimeOptions
3214
3231
  * @returns CreateDBClusterResponse
@@ -3433,6 +3450,9 @@ class Client extends openapi_core_1.default {
3433
3450
  /**
3434
3451
  * Creates a PolarDB cluster.
3435
3452
  *
3453
+ * @remarks
3454
+ * DBLink can connect two PolarDB for PostgreSQL (Compatible with Oracle) clusters, or connect a PolarDB for PostgreSQL (Compatible with Oracle) cluster to a self-managed PostgreSQL database on an ECS instance. You can use DBLink to query data across clusters.
3455
+ *
3436
3456
  * @param request - CreateDBClusterRequest
3437
3457
  * @returns CreateDBClusterResponse
3438
3458
  */
@@ -4384,6 +4404,60 @@ class Client extends openapi_core_1.default {
4384
4404
  let runtime = new $dara.RuntimeOptions({});
4385
4405
  return await this.createGlobalSecurityIPGroupWithOptions(request, runtime);
4386
4406
  }
4407
+ /**
4408
+ * Places an order to purchase a token resource plan and activates a redemption code.
4409
+ *
4410
+ * @param request - CreateGwConsumerOrderRequest
4411
+ * @param runtime - runtime options for this request RuntimeOptions
4412
+ * @returns CreateGwConsumerOrderResponse
4413
+ */
4414
+ async createGwConsumerOrderWithOptions(request, runtime) {
4415
+ request.validate();
4416
+ let query = {};
4417
+ if (!$dara.isNull(request.clientToken)) {
4418
+ query["ClientToken"] = request.clientToken;
4419
+ }
4420
+ if (!$dara.isNull(request.expireTime)) {
4421
+ query["ExpireTime"] = request.expireTime;
4422
+ }
4423
+ if (!$dara.isNull(request.gatewayId)) {
4424
+ query["GatewayId"] = request.gatewayId;
4425
+ }
4426
+ if (!$dara.isNull(request.keyCount)) {
4427
+ query["KeyCount"] = request.keyCount;
4428
+ }
4429
+ if (!$dara.isNull(request.packageSpec)) {
4430
+ query["PackageSpec"] = request.packageSpec;
4431
+ }
4432
+ if (!$dara.isNull(request.regionId)) {
4433
+ query["RegionId"] = request.regionId;
4434
+ }
4435
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
4436
+ query: openapi_core_2.OpenApiUtil.query(query),
4437
+ });
4438
+ let params = new openapi_core_2.$OpenApiUtil.Params({
4439
+ action: "CreateGwConsumerOrder",
4440
+ version: "2017-08-01",
4441
+ protocol: "HTTPS",
4442
+ pathname: "/",
4443
+ method: "POST",
4444
+ authType: "AK",
4445
+ style: "RPC",
4446
+ reqBodyType: "formData",
4447
+ bodyType: "json",
4448
+ });
4449
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateGwConsumerOrderResponse({}));
4450
+ }
4451
+ /**
4452
+ * Places an order to purchase a token resource plan and activates a redemption code.
4453
+ *
4454
+ * @param request - CreateGwConsumerOrderRequest
4455
+ * @returns CreateGwConsumerOrderResponse
4456
+ */
4457
+ async createGwConsumerOrder(request) {
4458
+ let runtime = new $dara.RuntimeOptions({});
4459
+ return await this.createGwConsumerOrderWithOptions(request, runtime);
4460
+ }
4387
4461
  /**
4388
4462
  * Creates a model API.
4389
4463
  *
@@ -9106,10 +9180,10 @@ class Client extends openapi_core_1.default {
9106
9180
  return await this.describeApikeyAttributeWithOptions(request, runtime);
9107
9181
  }
9108
9182
  /**
9109
- * Retrieves the details of a specific application in a PolarDB instance.
9183
+ * Retrieves the detailed information of a specified PolarDB application.
9110
9184
  *
9111
9185
  * @remarks
9112
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
9186
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
9113
9187
  *
9114
9188
  * @param request - DescribeApplicationAttributeRequest
9115
9189
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9138,10 +9212,10 @@ class Client extends openapi_core_1.default {
9138
9212
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationAttributeResponse({}));
9139
9213
  }
9140
9214
  /**
9141
- * Retrieves the details of a specific application in a PolarDB instance.
9215
+ * Retrieves the detailed information of a specified PolarDB application.
9142
9216
  *
9143
9217
  * @remarks
9144
- * Retrieves all information about a specific PolarDB application, such as component details and endpoints.
9218
+ * This API is used to query all related information of a specific PolarDB application, including but not limited to component details and endpoints.
9145
9219
  *
9146
9220
  * @param request - DescribeApplicationAttributeRequest
9147
9221
  * @returns DescribeApplicationAttributeResponse
@@ -9151,7 +9225,7 @@ class Client extends openapi_core_1.default {
9151
9225
  return await this.describeApplicationAttributeWithOptions(request, runtime);
9152
9226
  }
9153
9227
  /**
9154
- * Queries the log details of an AI application.
9228
+ * Queries the details of AI application logs.
9155
9229
  *
9156
9230
  * @param request - DescribeApplicationLogsRequest
9157
9231
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9219,7 +9293,7 @@ class Client extends openapi_core_1.default {
9219
9293
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationLogsResponse({}));
9220
9294
  }
9221
9295
  /**
9222
- * Queries the log details of an AI application.
9296
+ * Queries the details of AI application logs.
9223
9297
  *
9224
9298
  * @param request - DescribeApplicationLogsRequest
9225
9299
  * @returns DescribeApplicationLogsResponse
@@ -9276,7 +9350,7 @@ class Client extends openapi_core_1.default {
9276
9350
  return await this.describeApplicationParametersWithOptions(request, runtime);
9277
9351
  }
9278
9352
  /**
9279
- * Querying PolarDB AI application performance.
9353
+ * Queries the performance of a PolarDB AI application.
9280
9354
  *
9281
9355
  * @param request - DescribeApplicationPerformanceRequest
9282
9356
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9338,7 +9412,7 @@ class Client extends openapi_core_1.default {
9338
9412
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.DescribeApplicationPerformanceResponse({}));
9339
9413
  }
9340
9414
  /**
9341
- * Querying PolarDB AI application performance.
9415
+ * Queries the performance of a PolarDB AI application.
9342
9416
  *
9343
9417
  * @param request - DescribeApplicationPerformanceRequest
9344
9418
  * @returns DescribeApplicationPerformanceResponse
@@ -21066,7 +21140,7 @@ class Client extends openapi_core_1.default {
21066
21140
  return await this.modifyDBClusterResourceGroupWithOptions(request, runtime);
21067
21141
  }
21068
21142
  /**
21069
- * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
21143
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
21070
21144
  *
21071
21145
  * @param request - ModifyDBClusterSSLRequest
21072
21146
  * @param runtime - runtime options for this request RuntimeOptions
@@ -21075,6 +21149,9 @@ class Client extends openapi_core_1.default {
21075
21149
  async modifyDBClusterSSLWithOptions(request, runtime) {
21076
21150
  request.validate();
21077
21151
  let query = {};
21152
+ if (!$dara.isNull(request.certValidDays)) {
21153
+ query["CertValidDays"] = request.certValidDays;
21154
+ }
21078
21155
  if (!$dara.isNull(request.connectionString)) {
21079
21156
  query["ConnectionString"] = request.connectionString;
21080
21157
  }
@@ -21125,7 +21202,7 @@ class Client extends openapi_core_1.default {
21125
21202
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ModifyDBClusterSSLResponse({}));
21126
21203
  }
21127
21204
  /**
21128
- * Enables or shuts down the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
21205
+ * Enables or performs shutdown of the Secure Sockets Layer (SSL) encryption feature for a PolarDB cluster, or updates the CA certificate of a PolarDB cluster.
21129
21206
  *
21130
21207
  * @param request - ModifyDBClusterSSLRequest
21131
21208
  * @returns ModifyDBClusterSSLResponse
@@ -24181,6 +24258,48 @@ class Client extends openapi_core_1.default {
24181
24258
  let runtime = new $dara.RuntimeOptions({});
24182
24259
  return await this.restartDBNodeZonalWithOptions(request, runtime);
24183
24260
  }
24261
+ /**
24262
+ * Restarts a PolarClaw gateway.
24263
+ *
24264
+ * @param request - RestartPolarClawGatewayRequest
24265
+ * @param runtime - runtime options for this request RuntimeOptions
24266
+ * @returns RestartPolarClawGatewayResponse
24267
+ */
24268
+ async restartPolarClawGatewayWithOptions(request, runtime) {
24269
+ request.validate();
24270
+ let query = {};
24271
+ if (!$dara.isNull(request.applicationId)) {
24272
+ query["ApplicationId"] = request.applicationId;
24273
+ }
24274
+ if (!$dara.isNull(request.mode)) {
24275
+ query["Mode"] = request.mode;
24276
+ }
24277
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
24278
+ query: openapi_core_2.OpenApiUtil.query(query),
24279
+ });
24280
+ let params = new openapi_core_2.$OpenApiUtil.Params({
24281
+ action: "RestartPolarClawGateway",
24282
+ version: "2017-08-01",
24283
+ protocol: "HTTPS",
24284
+ pathname: "/",
24285
+ method: "POST",
24286
+ authType: "AK",
24287
+ style: "RPC",
24288
+ reqBodyType: "formData",
24289
+ bodyType: "json",
24290
+ });
24291
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.RestartPolarClawGatewayResponse({}));
24292
+ }
24293
+ /**
24294
+ * Restarts a PolarClaw gateway.
24295
+ *
24296
+ * @param request - RestartPolarClawGatewayRequest
24297
+ * @returns RestartPolarClawGatewayResponse
24298
+ */
24299
+ async restartPolarClawGateway(request) {
24300
+ let runtime = new $dara.RuntimeOptions({});
24301
+ return await this.restartPolarClawGatewayWithOptions(request, runtime);
24302
+ }
24184
24303
  /**
24185
24304
  * Restores databases or tables to a PolarDB cluster.
24186
24305
  *