@alicloud/polardb20170801 9.1.0 → 9.2.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 (139) hide show
  1. package/dist/client.d.ts +78 -40
  2. package/dist/client.js +138 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AnswerKnowledgeBaseRequest.d.ts +6 -6
  5. package/dist/models/AnswerKnowledgeBaseResponseBody.d.ts +1 -1
  6. package/dist/models/ApplyLakebaseMountParameterGroupRequest.d.ts +37 -0
  7. package/dist/models/ApplyLakebaseMountParameterGroupRequest.js +62 -0
  8. package/dist/models/ApplyLakebaseMountParameterGroupRequest.js.map +1 -0
  9. package/dist/models/ApplyLakebaseMountParameterGroupResponse.d.ts +19 -0
  10. package/dist/models/ApplyLakebaseMountParameterGroupResponse.js +69 -0
  11. package/dist/models/ApplyLakebaseMountParameterGroupResponse.js.map +1 -0
  12. package/dist/models/ApplyLakebaseMountParameterGroupResponseBody.d.ts +23 -0
  13. package/dist/models/ApplyLakebaseMountParameterGroupResponseBody.js +60 -0
  14. package/dist/models/ApplyLakebaseMountParameterGroupResponseBody.js.map +1 -0
  15. package/dist/models/BindPolarClawAgentRequest.d.ts +4 -4
  16. package/dist/models/BindPolarClawAgentResponseBody.d.ts +6 -6
  17. package/dist/models/CreateActivationCodeRequest.d.ts +3 -3
  18. package/dist/models/CreateActivationCodeResponseBody.d.ts +6 -6
  19. package/dist/models/CreateAgenticDbbranchRequest.d.ts +5 -5
  20. package/dist/models/CreateAgenticDbbranchResponseBody.d.ts +6 -6
  21. package/dist/models/CreateConsumerRequest.d.ts +5 -5
  22. package/dist/models/CreateConsumerResponseBody.d.ts +4 -4
  23. package/dist/models/CreateLakebaseS3accountRequest.d.ts +6 -6
  24. package/dist/models/CreateModelApiRequest.d.ts +5 -5
  25. package/dist/models/CreateModelApiResponseBody.d.ts +2 -2
  26. package/dist/models/DeleteBudgetPolicyRequest.d.ts +2 -2
  27. package/dist/models/DeleteConsumerGroupRequest.d.ts +2 -2
  28. package/dist/models/DeleteConsumerGroupResponseBody.d.ts +1 -1
  29. package/dist/models/DeleteKbsyncLinkRequest.d.ts +2 -2
  30. package/dist/models/DeleteKnowledgeBaseRequest.d.ts +1 -1
  31. package/dist/models/DeleteKnowledgeBaseResponseBody.d.ts +1 -1
  32. package/dist/models/DeletePolarClawAgentRequest.d.ts +2 -2
  33. package/dist/models/DeletePolarClawAgentResponseBody.d.ts +1 -1
  34. package/dist/models/DescribeAgenticDbbranchRestoreWindowRequest.d.ts +10 -0
  35. package/dist/models/DescribeAgenticDbbranchRestoreWindowRequest.js.map +1 -1
  36. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponseBody.d.ts +17 -2
  37. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponseBody.js.map +1 -1
  38. package/dist/models/DescribeAgenticDbprojectHistoryRetentionRequest.d.ts +8 -0
  39. package/dist/models/DescribeAgenticDbprojectHistoryRetentionRequest.js.map +1 -1
  40. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.d.ts +14 -2
  41. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.js.map +1 -1
  42. package/dist/models/DescribeAgenticDbprojectRequest.d.ts +1 -1
  43. package/dist/models/DescribeAgenticDbprojectResponseBody.d.ts +8 -12
  44. package/dist/models/DescribeAgenticDbprojectResponseBody.js.map +1 -1
  45. package/dist/models/DescribeBackupLogDownloadLinksRequest.d.ts +37 -0
  46. package/dist/models/DescribeBackupLogDownloadLinksRequest.js +62 -0
  47. package/dist/models/DescribeBackupLogDownloadLinksRequest.js.map +1 -0
  48. package/dist/models/DescribeBackupLogDownloadLinksResponse.d.ts +19 -0
  49. package/dist/models/DescribeBackupLogDownloadLinksResponse.js +69 -0
  50. package/dist/models/DescribeBackupLogDownloadLinksResponse.js.map +1 -0
  51. package/dist/models/DescribeBackupLogDownloadLinksResponseBody.d.ts +80 -0
  52. package/dist/models/DescribeBackupLogDownloadLinksResponseBody.js +92 -0
  53. package/dist/models/DescribeBackupLogDownloadLinksResponseBody.js.map +1 -0
  54. package/dist/models/DescribeGatewayAttributeRequest.d.ts +2 -2
  55. package/dist/models/DescribeGatewayAttributeResponseBody.d.ts +41 -29
  56. package/dist/models/DescribeGatewayAttributeResponseBody.js.map +1 -1
  57. package/dist/models/DescribeKnowledgeBaseAnswerResponseBody.d.ts +14 -14
  58. package/dist/models/DescribeKnowledgeBaseFileShardsResponseBody.d.ts +2 -2
  59. package/dist/models/ModifyAccountDescriptionZonalRequest.d.ts +2 -4
  60. package/dist/models/ModifyAccountDescriptionZonalRequest.js.map +1 -1
  61. package/dist/models/ModifyModelServiceRequest.d.ts +12 -16
  62. package/dist/models/ModifyModelServiceRequest.js.map +1 -1
  63. package/dist/models/ModifyModelServiceResponseBody.d.ts +3 -3
  64. package/dist/models/ModifyRateLimitPolicyRequest.d.ts +4 -4
  65. package/dist/models/ModifyRateLimitPolicyResponseBody.d.ts +1 -1
  66. package/dist/models/RegisterKnowledgeBaseFileRequest.d.ts +1 -1
  67. package/dist/models/RegisterKnowledgeBaseFileResponseBody.d.ts +3 -3
  68. package/dist/models/RemovePolarClawDevicePairRequest.d.ts +1 -1
  69. package/dist/models/RemovePolarClawDevicePairResponseBody.d.ts +4 -4
  70. package/dist/models/RetrievalKnowledgeBaseRequest.d.ts +1 -1
  71. package/dist/models/RetrievalKnowledgeBaseResponseBody.d.ts +5 -5
  72. package/dist/models/SearchMemoriesRequest.d.ts +4 -4
  73. package/dist/models/SearchMemoriesResponseBody.d.ts +15 -3
  74. package/dist/models/SearchMemoriesResponseBody.js.map +1 -1
  75. package/dist/models/UninstallPolarClawPluginRequest.d.ts +2 -2
  76. package/dist/models/UninstallPolarClawPluginResponseBody.d.ts +5 -5
  77. package/dist/models/UpdateKnowledgeBaseRequest.d.ts +5 -6
  78. package/dist/models/UpdateKnowledgeBaseRequest.js.map +1 -1
  79. package/dist/models/UpdateKnowledgeBaseResponseBody.d.ts +1 -1
  80. package/dist/models/model.d.ts +7 -0
  81. package/dist/models/model.js +51 -37
  82. package/dist/models/model.js.map +1 -1
  83. package/package.json +1 -1
  84. package/src/client.ts +148 -40
  85. package/src/models/AnswerKnowledgeBaseRequest.ts +6 -6
  86. package/src/models/AnswerKnowledgeBaseResponseBody.ts +1 -1
  87. package/src/models/ApplyLakebaseMountParameterGroupRequest.ts +54 -0
  88. package/src/models/ApplyLakebaseMountParameterGroupResponse.ts +40 -0
  89. package/src/models/ApplyLakebaseMountParameterGroupResponseBody.ts +38 -0
  90. package/src/models/BindPolarClawAgentRequest.ts +4 -4
  91. package/src/models/BindPolarClawAgentResponseBody.ts +6 -6
  92. package/src/models/CreateActivationCodeRequest.ts +3 -3
  93. package/src/models/CreateActivationCodeResponseBody.ts +6 -6
  94. package/src/models/CreateAgenticDbbranchRequest.ts +5 -5
  95. package/src/models/CreateAgenticDbbranchResponseBody.ts +6 -6
  96. package/src/models/CreateConsumerRequest.ts +5 -5
  97. package/src/models/CreateConsumerResponseBody.ts +4 -4
  98. package/src/models/CreateLakebaseS3accountRequest.ts +6 -6
  99. package/src/models/CreateModelApiRequest.ts +5 -5
  100. package/src/models/CreateModelApiResponseBody.ts +2 -2
  101. package/src/models/DeleteBudgetPolicyRequest.ts +2 -2
  102. package/src/models/DeleteConsumerGroupRequest.ts +2 -2
  103. package/src/models/DeleteConsumerGroupResponseBody.ts +1 -1
  104. package/src/models/DeleteKbsyncLinkRequest.ts +2 -2
  105. package/src/models/DeleteKnowledgeBaseRequest.ts +1 -1
  106. package/src/models/DeleteKnowledgeBaseResponseBody.ts +1 -1
  107. package/src/models/DeletePolarClawAgentRequest.ts +2 -2
  108. package/src/models/DeletePolarClawAgentResponseBody.ts +1 -1
  109. package/src/models/DescribeAgenticDbbranchRestoreWindowRequest.ts +10 -0
  110. package/src/models/DescribeAgenticDbbranchRestoreWindowResponseBody.ts +17 -2
  111. package/src/models/DescribeAgenticDbprojectHistoryRetentionRequest.ts +8 -0
  112. package/src/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.ts +14 -2
  113. package/src/models/DescribeAgenticDbprojectRequest.ts +1 -1
  114. package/src/models/DescribeAgenticDbprojectResponseBody.ts +8 -12
  115. package/src/models/DescribeBackupLogDownloadLinksRequest.ts +54 -0
  116. package/src/models/DescribeBackupLogDownloadLinksResponse.ts +40 -0
  117. package/src/models/DescribeBackupLogDownloadLinksResponseBody.ts +118 -0
  118. package/src/models/DescribeGatewayAttributeRequest.ts +2 -2
  119. package/src/models/DescribeGatewayAttributeResponseBody.ts +41 -29
  120. package/src/models/DescribeKnowledgeBaseAnswerResponseBody.ts +14 -14
  121. package/src/models/DescribeKnowledgeBaseFileShardsResponseBody.ts +2 -2
  122. package/src/models/ModifyAccountDescriptionZonalRequest.ts +2 -4
  123. package/src/models/ModifyModelServiceRequest.ts +12 -16
  124. package/src/models/ModifyModelServiceResponseBody.ts +3 -3
  125. package/src/models/ModifyRateLimitPolicyRequest.ts +4 -4
  126. package/src/models/ModifyRateLimitPolicyResponseBody.ts +1 -1
  127. package/src/models/RegisterKnowledgeBaseFileRequest.ts +1 -1
  128. package/src/models/RegisterKnowledgeBaseFileResponseBody.ts +3 -3
  129. package/src/models/RemovePolarClawDevicePairRequest.ts +1 -1
  130. package/src/models/RemovePolarClawDevicePairResponseBody.ts +4 -4
  131. package/src/models/RetrievalKnowledgeBaseRequest.ts +1 -1
  132. package/src/models/RetrievalKnowledgeBaseResponseBody.ts +5 -5
  133. package/src/models/SearchMemoriesRequest.ts +4 -4
  134. package/src/models/SearchMemoriesResponseBody.ts +15 -3
  135. package/src/models/UninstallPolarClawPluginRequest.ts +2 -2
  136. package/src/models/UninstallPolarClawPluginResponseBody.ts +5 -5
  137. package/src/models/UpdateKnowledgeBaseRequest.ts +5 -6
  138. package/src/models/UpdateKnowledgeBaseResponseBody.ts +1 -1
  139. package/src/models/model.ts +7 -0
package/src/client.ts CHANGED
@@ -591,7 +591,7 @@ export default class Client extends OpenApi {
591
591
  }
592
592
 
593
593
  /**
594
- * Performs a single-turn knowledge base question answering.
594
+ * Answers a single-turn question based on a knowledge base.
595
595
  *
596
596
  * @param request - AnswerKnowledgeBaseRequest
597
597
  * @param runtime - runtime options for this request RuntimeOptions
@@ -662,7 +662,7 @@ export default class Client extends OpenApi {
662
662
  }
663
663
 
664
664
  /**
665
- * Performs a single-turn knowledge base question answering.
665
+ * Answers a single-turn question based on a knowledge base.
666
666
  *
667
667
  * @param request - AnswerKnowledgeBaseRequest
668
668
  * @returns AnswerKnowledgeBaseResponse
@@ -740,6 +740,56 @@ export default class Client extends OpenApi {
740
740
  return await this.applyApplicationPromptsWithOptions(request, runtime);
741
741
  }
742
742
 
743
+ /**
744
+ * 应用Lakebase挂载参数模板
745
+ *
746
+ * @param request - ApplyLakebaseMountParameterGroupRequest
747
+ * @param runtime - runtime options for this request RuntimeOptions
748
+ * @returns ApplyLakebaseMountParameterGroupResponse
749
+ */
750
+ async applyLakebaseMountParameterGroupWithOptions(request: $_model.ApplyLakebaseMountParameterGroupRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ApplyLakebaseMountParameterGroupResponse> {
751
+ request.validate();
752
+ let query = { };
753
+ if (!$dara.isNull(request.parameterGroupId)) {
754
+ query["ParameterGroupId"] = request.parameterGroupId;
755
+ }
756
+
757
+ if (!$dara.isNull(request.polarFsInstanceId)) {
758
+ query["PolarFsInstanceId"] = request.polarFsInstanceId;
759
+ }
760
+
761
+ if (!$dara.isNull(request.regionId)) {
762
+ query["RegionId"] = request.regionId;
763
+ }
764
+
765
+ let req = new $OpenApiUtil.OpenApiRequest({
766
+ query: OpenApiUtil.query(query),
767
+ });
768
+ let params = new $OpenApiUtil.Params({
769
+ action: "ApplyLakebaseMountParameterGroup",
770
+ version: "2017-08-01",
771
+ protocol: "HTTPS",
772
+ pathname: "/",
773
+ method: "POST",
774
+ authType: "AK",
775
+ style: "RPC",
776
+ reqBodyType: "formData",
777
+ bodyType: "json",
778
+ });
779
+ return $dara.cast<$_model.ApplyLakebaseMountParameterGroupResponse>(await this.callApi(params, req, runtime), new $_model.ApplyLakebaseMountParameterGroupResponse({}));
780
+ }
781
+
782
+ /**
783
+ * 应用Lakebase挂载参数模板
784
+ *
785
+ * @param request - ApplyLakebaseMountParameterGroupRequest
786
+ * @returns ApplyLakebaseMountParameterGroupResponse
787
+ */
788
+ async applyLakebaseMountParameterGroup(request: $_model.ApplyLakebaseMountParameterGroupRequest): Promise<$_model.ApplyLakebaseMountParameterGroupResponse> {
789
+ let runtime = new $dara.RuntimeOptions({ });
790
+ return await this.applyLakebaseMountParameterGroupWithOptions(request, runtime);
791
+ }
792
+
743
793
  /**
744
794
  * Approves a PolarClaw device pairing.
745
795
  *
@@ -841,11 +891,11 @@ export default class Client extends OpenApi {
841
891
  }
842
892
 
843
893
  /**
844
- * Binds a PolarClaw Agent to a channel.
894
+ * Associates a specified channel with a specific PolarClaw agent.
845
895
  *
846
896
  * @remarks
847
- * ## Request
848
- * This API associates an agent from a PolarClaw application with a communication channel. You specify the application with `ApplicationId`, the agent with `AgentId`, and the channel with `Channel`. You can optionally specify an account ID for the channel with `ChannelAccountId`.
897
+ * ## Request description
898
+ * This API operation associates a PolarClaw agent (specified by AgentId) of a PolarClaw application (identified by ApplicationId) with a given communication channel (Channel). If necessary, you can also specify the account ID (ChannelAccountId) within the channel.
849
899
  *
850
900
  * @param request - BindPolarClawAgentRequest
851
901
  * @param runtime - runtime options for this request RuntimeOptions
@@ -888,11 +938,11 @@ export default class Client extends OpenApi {
888
938
  }
889
939
 
890
940
  /**
891
- * Binds a PolarClaw Agent to a channel.
941
+ * Associates a specified channel with a specific PolarClaw agent.
892
942
  *
893
943
  * @remarks
894
- * ## Request
895
- * This API associates an agent from a PolarClaw application with a communication channel. You specify the application with `ApplicationId`, the agent with `AgentId`, and the channel with `Channel`. You can optionally specify an account ID for the channel with `ChannelAccountId`.
944
+ * ## Request description
945
+ * This API operation associates a PolarClaw agent (specified by AgentId) of a PolarClaw application (identified by ApplicationId) with a given communication channel (Channel). If necessary, you can also specify the account ID (ChannelAccountId) within the channel.
896
946
  *
897
947
  * @param request - BindPolarClawAgentRequest
898
948
  * @returns BindPolarClawAgentResponse
@@ -2677,7 +2727,7 @@ export default class Client extends OpenApi {
2677
2727
  }
2678
2728
 
2679
2729
  /**
2680
- * Generates activation codes for the lightweight version.
2730
+ * Generates an activation code for the lightweight edition.
2681
2731
  *
2682
2732
  * @param request - CreateActivationCodeRequest
2683
2733
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2740,7 +2790,7 @@ export default class Client extends OpenApi {
2740
2790
  }
2741
2791
 
2742
2792
  /**
2743
- * Generates activation codes for the lightweight version.
2793
+ * Generates an activation code for the lightweight edition.
2744
2794
  *
2745
2795
  * @param request - CreateActivationCodeRequest
2746
2796
  * @returns CreateActivationCodeResponse
@@ -8043,7 +8093,7 @@ export default class Client extends OpenApi {
8043
8093
  }
8044
8094
 
8045
8095
  /**
8046
- * Deletes a cost budget policy.
8096
+ * Deletes a budget policy.
8047
8097
  *
8048
8098
  * @param request - DeleteBudgetPolicyRequest
8049
8099
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8082,7 +8132,7 @@ export default class Client extends OpenApi {
8082
8132
  }
8083
8133
 
8084
8134
  /**
8085
- * Deletes a cost budget policy.
8135
+ * Deletes a budget policy.
8086
8136
  *
8087
8137
  * @param request - DeleteBudgetPolicyRequest
8088
8138
  * @returns DeleteBudgetPolicyResponse
@@ -9725,12 +9775,12 @@ export default class Client extends OpenApi {
9725
9775
  }
9726
9776
 
9727
9777
  /**
9728
- * This operation removes an agent and its associated bindings from a specified PolarClaw.
9778
+ * Removes an agent and its associated bindings from a specified PolarClaw.
9729
9779
  *
9730
9780
  * @remarks
9731
- * ## Usage notes
9732
- * - A successful operation returns the ID of the deleted agent and the number of removed bindings.
9733
- * - Ensure you provide the correct target `AgentId`. An incorrect ID can cause the operation to fail or affect an unintended agent.
9781
+ * ## Request description
9782
+ * - After this API is executed, it returns the ID of the successfully removed agent and the number of removed bindings.
9783
+ * - Ensure that you know the target `AgentId` before calling this API. Otherwise, the operation may fail or affect unexpected agents.
9734
9784
  *
9735
9785
  * @param request - DeletePolarClawAgentRequest
9736
9786
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9769,12 +9819,12 @@ export default class Client extends OpenApi {
9769
9819
  }
9770
9820
 
9771
9821
  /**
9772
- * This operation removes an agent and its associated bindings from a specified PolarClaw.
9822
+ * Removes an agent and its associated bindings from a specified PolarClaw.
9773
9823
  *
9774
9824
  * @remarks
9775
- * ## Usage notes
9776
- * - A successful operation returns the ID of the deleted agent and the number of removed bindings.
9777
- * - Ensure you provide the correct target `AgentId`. An incorrect ID can cause the operation to fail or affect an unintended agent.
9825
+ * ## Request description
9826
+ * - After this API is executed, it returns the ID of the successfully removed agent and the number of removed bindings.
9827
+ * - Ensure that you know the target `AgentId` before calling this API. Otherwise, the operation may fail or affect unexpected agents.
9778
9828
  *
9779
9829
  * @param request - DeletePolarClawAgentRequest
9780
9830
  * @returns DeletePolarClawAgentResponse
@@ -11677,7 +11727,7 @@ export default class Client extends OpenApi {
11677
11727
  }
11678
11728
 
11679
11729
  /**
11680
- * 查询 AgenticDB 分支最早可恢复时间
11730
+ * Queries the earliest restorable time for an AgenticDB branch.
11681
11731
  *
11682
11732
  * @param request - DescribeAgenticDBBranchRestoreWindowRequest
11683
11733
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11724,7 +11774,7 @@ export default class Client extends OpenApi {
11724
11774
  }
11725
11775
 
11726
11776
  /**
11727
- * 查询 AgenticDB 分支最早可恢复时间
11777
+ * Queries the earliest restorable time for an AgenticDB branch.
11728
11778
  *
11729
11779
  * @param request - DescribeAgenticDBBranchRestoreWindowRequest
11730
11780
  * @returns DescribeAgenticDBBranchRestoreWindowResponse
@@ -12013,7 +12063,7 @@ export default class Client extends OpenApi {
12013
12063
  }
12014
12064
 
12015
12065
  /**
12016
- * 查询 AgenticDB 项目实际历史保留窗口
12066
+ * Queries the actual history retention window of an AgenticDB project.
12017
12067
  *
12018
12068
  * @param request - DescribeAgenticDBProjectHistoryRetentionRequest
12019
12069
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12056,7 +12106,7 @@ export default class Client extends OpenApi {
12056
12106
  }
12057
12107
 
12058
12108
  /**
12059
- * 查询 AgenticDB 项目实际历史保留窗口
12109
+ * Queries the actual history retention window of an AgenticDB project.
12060
12110
  *
12061
12111
  * @param request - DescribeAgenticDBProjectHistoryRetentionRequest
12062
12112
  * @returns DescribeAgenticDBProjectHistoryRetentionResponse
@@ -13040,6 +13090,56 @@ export default class Client extends OpenApi {
13040
13090
  return await this.describeAvailableModelsWithOptions(request, runtime);
13041
13091
  }
13042
13092
 
13093
+ /**
13094
+ * Queries the download links for redo log backups.
13095
+ *
13096
+ * @param request - DescribeBackupLogDownloadLinksRequest
13097
+ * @param runtime - runtime options for this request RuntimeOptions
13098
+ * @returns DescribeBackupLogDownloadLinksResponse
13099
+ */
13100
+ async describeBackupLogDownloadLinksWithOptions(request: $_model.DescribeBackupLogDownloadLinksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeBackupLogDownloadLinksResponse> {
13101
+ request.validate();
13102
+ let query = { };
13103
+ if (!$dara.isNull(request.backupLogIds)) {
13104
+ query["BackupLogIds"] = request.backupLogIds;
13105
+ }
13106
+
13107
+ if (!$dara.isNull(request.DBClusterId)) {
13108
+ query["DBClusterId"] = request.DBClusterId;
13109
+ }
13110
+
13111
+ if (!$dara.isNull(request.expireHours)) {
13112
+ query["ExpireHours"] = request.expireHours;
13113
+ }
13114
+
13115
+ let req = new $OpenApiUtil.OpenApiRequest({
13116
+ query: OpenApiUtil.query(query),
13117
+ });
13118
+ let params = new $OpenApiUtil.Params({
13119
+ action: "DescribeBackupLogDownloadLinks",
13120
+ version: "2017-08-01",
13121
+ protocol: "HTTPS",
13122
+ pathname: "/",
13123
+ method: "POST",
13124
+ authType: "AK",
13125
+ style: "RPC",
13126
+ reqBodyType: "formData",
13127
+ bodyType: "json",
13128
+ });
13129
+ return $dara.cast<$_model.DescribeBackupLogDownloadLinksResponse>(await this.callApi(params, req, runtime), new $_model.DescribeBackupLogDownloadLinksResponse({}));
13130
+ }
13131
+
13132
+ /**
13133
+ * Queries the download links for redo log backups.
13134
+ *
13135
+ * @param request - DescribeBackupLogDownloadLinksRequest
13136
+ * @returns DescribeBackupLogDownloadLinksResponse
13137
+ */
13138
+ async describeBackupLogDownloadLinks(request: $_model.DescribeBackupLogDownloadLinksRequest): Promise<$_model.DescribeBackupLogDownloadLinksResponse> {
13139
+ let runtime = new $dara.RuntimeOptions({ });
13140
+ return await this.describeBackupLogDownloadLinksWithOptions(request, runtime);
13141
+ }
13142
+
13043
13143
  /**
13044
13144
  * Queries the list of backup logs and retrieves their download URLs.
13045
13145
  *
@@ -17197,7 +17297,7 @@ export default class Client extends OpenApi {
17197
17297
  }
17198
17298
 
17199
17299
  /**
17200
- * Viewing gateway instance details
17300
+ * Queries the details of a gateway instance.
17201
17301
  *
17202
17302
  * @param request - DescribeGatewayAttributeRequest
17203
17303
  * @param runtime - runtime options for this request RuntimeOptions
@@ -17232,7 +17332,7 @@ export default class Client extends OpenApi {
17232
17332
  }
17233
17333
 
17234
17334
  /**
17235
- * Viewing gateway instance details
17335
+ * Queries the details of a gateway instance.
17236
17336
  *
17237
17337
  * @param request - DescribeGatewayAttributeRequest
17238
17338
  * @returns DescribeGatewayAttributeResponse
@@ -24239,7 +24339,7 @@ export default class Client extends OpenApi {
24239
24339
  }
24240
24340
 
24241
24341
  /**
24242
- * Modifies the description of an account in a PolarDB on ENS cluster.
24342
+ * Modifies the description of a PolarDB on ENS account.
24243
24343
  *
24244
24344
  * @param request - ModifyAccountDescriptionZonalRequest
24245
24345
  * @param runtime - runtime options for this request RuntimeOptions
@@ -24298,7 +24398,7 @@ export default class Client extends OpenApi {
24298
24398
  }
24299
24399
 
24300
24400
  /**
24301
- * Modifies the description of an account in a PolarDB on ENS cluster.
24401
+ * Modifies the description of a PolarDB on ENS account.
24302
24402
  *
24303
24403
  * @param request - ModifyAccountDescriptionZonalRequest
24304
24404
  * @returns ModifyAccountDescriptionZonalResponse
@@ -29287,7 +29387,7 @@ export default class Client extends OpenApi {
29287
29387
  }
29288
29388
 
29289
29389
  /**
29290
- * Modifies a rate limit policy.
29390
+ * Modifies a throttling policy.
29291
29391
  *
29292
29392
  * @param request - ModifyRateLimitPolicyRequest
29293
29393
  * @param runtime - runtime options for this request RuntimeOptions
@@ -29334,7 +29434,7 @@ export default class Client extends OpenApi {
29334
29434
  }
29335
29435
 
29336
29436
  /**
29337
- * Modifies a rate limit policy.
29437
+ * Modifies a throttling policy.
29338
29438
  *
29339
29439
  * @param request - ModifyRateLimitPolicyRequest
29340
29440
  * @returns ModifyRateLimitPolicyResponse
@@ -30033,7 +30133,7 @@ export default class Client extends OpenApi {
30033
30133
  }
30034
30134
 
30035
30135
  /**
30036
- * Registers an OSS file in a knowledge base.
30136
+ * Registers an OSS file for a knowledge base.
30037
30137
  *
30038
30138
  * @param request - RegisterKnowledgeBaseFileRequest
30039
30139
  * @param runtime - runtime options for this request RuntimeOptions
@@ -30072,7 +30172,7 @@ export default class Client extends OpenApi {
30072
30172
  }
30073
30173
 
30074
30174
  /**
30075
- * Registers an OSS file in a knowledge base.
30175
+ * Registers an OSS file for a knowledge base.
30076
30176
  *
30077
30177
  * @param request - RegisterKnowledgeBaseFileRequest
30078
30178
  * @returns RegisterKnowledgeBaseFileResponse
@@ -30265,7 +30365,7 @@ export default class Client extends OpenApi {
30265
30365
  }
30266
30366
 
30267
30367
  /**
30268
- * Unpairs a PolarClaw device.
30368
+ * Removes a paired PolarClaw device.
30269
30369
  *
30270
30370
  * @param request - RemovePolarClawDevicePairRequest
30271
30371
  * @param runtime - runtime options for this request RuntimeOptions
@@ -30300,7 +30400,7 @@ export default class Client extends OpenApi {
30300
30400
  }
30301
30401
 
30302
30402
  /**
30303
- * Unpairs a PolarClaw device.
30403
+ * Removes a paired PolarClaw device.
30304
30404
  *
30305
30405
  * @param request - RemovePolarClawDevicePairRequest
30306
30406
  * @returns RemovePolarClawDevicePairResponse
@@ -31463,10 +31563,10 @@ export default class Client extends OpenApi {
31463
31563
  }
31464
31564
 
31465
31565
  /**
31466
- * Retrieves memories from a specified application.
31566
+ * Retrieves memories.
31467
31567
  *
31468
31568
  * @remarks
31469
- * Retrieves memory data from a specified application.
31569
+ * Retrieves memory data in a specified application.
31470
31570
  *
31471
31571
  * @param request - SearchMemoriesRequest
31472
31572
  * @param runtime - runtime options for this request RuntimeOptions
@@ -31529,10 +31629,10 @@ export default class Client extends OpenApi {
31529
31629
  }
31530
31630
 
31531
31631
  /**
31532
- * Retrieves memories from a specified application.
31632
+ * Retrieves memories.
31533
31633
  *
31534
31634
  * @remarks
31535
- * Retrieves memory data from a specified application.
31635
+ * Retrieves memory data in a specified application.
31536
31636
  *
31537
31637
  * @param request - SearchMemoriesRequest
31538
31638
  * @returns SearchMemoriesResponse
@@ -32043,6 +32143,10 @@ export default class Client extends OpenApi {
32043
32143
  /**
32044
32144
  * Unbinds a PolarClaw Agent.
32045
32145
  *
32146
+ * @remarks
32147
+ * ## 请求说明
32148
+ * 调用前,先通过 BindPolarClawAgent 为指定应用、Agent 和通道建立绑定。本接口使用同一组 ApplicationId、AgentId 和 Channel 解除绑定。
32149
+ *
32046
32150
  * @param request - UnbindPolarClawAgentRequest
32047
32151
  * @param runtime - runtime options for this request RuntimeOptions
32048
32152
  * @returns UnbindPolarClawAgentResponse
@@ -32086,6 +32190,10 @@ export default class Client extends OpenApi {
32086
32190
  /**
32087
32191
  * Unbinds a PolarClaw Agent.
32088
32192
  *
32193
+ * @remarks
32194
+ * ## 请求说明
32195
+ * 调用前,先通过 BindPolarClawAgent 为指定应用、Agent 和通道建立绑定。本接口使用同一组 ApplicationId、AgentId 和 Channel 解除绑定。
32196
+ *
32089
32197
  * @param request - UnbindPolarClawAgentRequest
32090
32198
  * @returns UnbindPolarClawAgentResponse
32091
32199
  */
@@ -32167,7 +32275,7 @@ export default class Client extends OpenApi {
32167
32275
  }
32168
32276
 
32169
32277
  /**
32170
- * Uninstalls a PolarClaw plugin.
32278
+ * Uninstalls the PolarClaw plugin.
32171
32279
  *
32172
32280
  * @param request - UninstallPolarClawPluginRequest
32173
32281
  * @param runtime - runtime options for this request RuntimeOptions
@@ -32206,7 +32314,7 @@ export default class Client extends OpenApi {
32206
32314
  }
32207
32315
 
32208
32316
  /**
32209
- * Uninstalls a PolarClaw plugin.
32317
+ * Uninstalls the PolarClaw plugin.
32210
32318
  *
32211
32319
  * @param request - UninstallPolarClawPluginRequest
32212
32320
  * @returns UninstallPolarClawPluginResponse
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AnswerKnowledgeBaseRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The unique ID of the knowledge base.
8
+ * The unique identifier of the knowledge base. To obtain the ID, first call CreateKnowledgeSpace to create a knowledge space, use the returned KnowledgeSpaceId to call CreateKnowledgeBase, and then use the KnowledgeBaseId returned by CreateKnowledgeBase. Separate multiple knowledge base IDs with commas.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class AnswerKnowledgeBaseRequest extends $dara.Model {
15
15
  knowledgeBaseId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The maximum number of context characters. Valid values: 1000 to 32000.
18
+ * The maximum number of characters in the context. Valid values: 1000 to 32000.
19
19
  *
20
20
  * @example
21
21
  * 16000
@@ -43,7 +43,7 @@ export class AnswerKnowledgeBaseRequest extends $dara.Model {
43
43
  regionId?: string;
44
44
  /**
45
45
  * @remarks
46
- * Specifies whether to enable reranking. Disabled by default.
46
+ * Specifies whether to enable reranking. Default value: false.
47
47
  *
48
48
  * @example
49
49
  * false
@@ -51,7 +51,7 @@ export class AnswerKnowledgeBaseRequest extends $dara.Model {
51
51
  rerankEnabled?: boolean;
52
52
  /**
53
53
  * @remarks
54
- * Specifies whether to return citation sources. Enabled by default.
54
+ * Specifies whether to return reference sources. Default value: true.
55
55
  *
56
56
  * @example
57
57
  * true
@@ -83,7 +83,7 @@ export class AnswerKnowledgeBaseRequest extends $dara.Model {
83
83
  systemPrompt?: string;
84
84
  /**
85
85
  * @remarks
86
- * The number of recall results to retrieve.
86
+ * The number of results to recall.
87
87
  *
88
88
  * @example
89
89
  * 10
@@ -91,7 +91,7 @@ export class AnswerKnowledgeBaseRequest extends $dara.Model {
91
91
  topK?: number;
92
92
  /**
93
93
  * @remarks
94
- * The user supplementary instructions.
94
+ * The additional user instructions.
95
95
  *
96
96
  * @example
97
97
  * Return a short summary and test result.
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class AnswerKnowledgeBaseResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The unique ID of the Q&A task.
8
+ * The unique identifier of the Q&A task.
9
9
  *
10
10
  * @example
11
11
  * R3BGbnBqcXN******.2a5a23c9-******-179970533d30
@@ -0,0 +1,54 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ApplyLakebaseMountParameterGroupRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * pagp-xxx
12
+ */
13
+ parameterGroupId?: string;
14
+ /**
15
+ * @remarks
16
+ * This parameter is required.
17
+ *
18
+ * @example
19
+ * pfs-xxx
20
+ */
21
+ polarFsInstanceId?: string;
22
+ /**
23
+ * @remarks
24
+ * This parameter is required.
25
+ *
26
+ * @example
27
+ * cn-hangzhou
28
+ */
29
+ regionId?: string;
30
+ static names(): { [key: string]: string } {
31
+ return {
32
+ parameterGroupId: 'ParameterGroupId',
33
+ polarFsInstanceId: 'PolarFsInstanceId',
34
+ regionId: 'RegionId',
35
+ };
36
+ }
37
+
38
+ static types(): { [key: string]: any } {
39
+ return {
40
+ parameterGroupId: 'string',
41
+ polarFsInstanceId: 'string',
42
+ regionId: 'string',
43
+ };
44
+ }
45
+
46
+ validate() {
47
+ super.validate();
48
+ }
49
+
50
+ constructor(map?: { [key: string]: any }) {
51
+ super(map);
52
+ }
53
+ }
54
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ApplyLakebaseMountParameterGroupResponseBody } from "./ApplyLakebaseMountParameterGroupResponseBody";
4
+
5
+
6
+ export class ApplyLakebaseMountParameterGroupResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ApplyLakebaseMountParameterGroupResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: ApplyLakebaseMountParameterGroupResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ApplyLakebaseMountParameterGroupResponseBody extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * F45FFACC-xxx
9
+ */
10
+ requestId?: string;
11
+ /**
12
+ * @example
13
+ * 123456
14
+ */
15
+ taskId?: number;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ requestId: 'RequestId',
19
+ taskId: 'TaskId',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ requestId: 'string',
26
+ taskId: 'number',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class BindPolarClawAgentRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The agent ID.
8
+ * The ID of the agent to associate.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class BindPolarClawAgentRequest extends $dara.Model {
15
15
  agentId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The application ID.
18
+ * The application ID. You can call the DescribeApplications operation to obtain the application ID from the returned Items list.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -25,7 +25,7 @@ export class BindPolarClawAgentRequest extends $dara.Model {
25
25
  applicationId?: string;
26
26
  /**
27
27
  * @remarks
28
- * The channel ID.
28
+ * The channel plugin ID.
29
29
  *
30
30
  * This parameter is required.
31
31
  *
@@ -35,7 +35,7 @@ export class BindPolarClawAgentRequest extends $dara.Model {
35
35
  channel?: string;
36
36
  /**
37
37
  * @remarks
38
- * The account ID for the channel. If omitted, the default value is \\"default\\".
38
+ * The channel account ID. If you do not specify this parameter, the default value is default.
39
39
  *
40
40
  * @example
41
41
  * default