@alicloud/polardb20170801 7.0.0 → 7.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 (194) hide show
  1. package/dist/client.d.ts +189 -24
  2. package/dist/client.js +576 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
  5. package/dist/models/CreateBatchConsumerRequest.js +66 -0
  6. package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
  7. package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
  8. package/dist/models/CreateBatchConsumerResponse.js +69 -0
  9. package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
  10. package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
  11. package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
  12. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
  13. package/dist/models/CreateDbnodesRequest.d.ts +34 -54
  14. package/dist/models/CreateDbnodesRequest.js.map +1 -1
  15. package/dist/models/CreateDbnodesResponseBody.d.ts +1 -1
  16. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
  17. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  18. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  19. package/dist/models/DescribeApikeyAttributeRequest.d.ts +51 -0
  20. package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
  21. package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
  22. package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
  23. package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
  24. package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
  25. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +248 -0
  26. package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
  27. package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
  28. package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
  29. package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
  30. package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
  31. package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
  32. package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
  33. package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
  34. package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
  35. package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
  36. package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
  37. package/dist/models/DescribePolarClawAgentFileRequest.d.ts +43 -0
  38. package/dist/models/DescribePolarClawAgentFileRequest.js +62 -0
  39. package/dist/models/DescribePolarClawAgentFileRequest.js.map +1 -0
  40. package/dist/models/DescribePolarClawAgentFileResponse.d.ts +19 -0
  41. package/dist/models/DescribePolarClawAgentFileResponse.js +69 -0
  42. package/dist/models/DescribePolarClawAgentFileResponse.js.map +1 -0
  43. package/dist/models/DescribePolarClawAgentFileResponseBody.d.ts +126 -0
  44. package/dist/models/DescribePolarClawAgentFileResponseBody.js +102 -0
  45. package/dist/models/DescribePolarClawAgentFileResponseBody.js.map +1 -0
  46. package/dist/models/DescribePolarClawAgentToolsRequest.d.ts +41 -0
  47. package/dist/models/DescribePolarClawAgentToolsRequest.js +62 -0
  48. package/dist/models/DescribePolarClawAgentToolsRequest.js.map +1 -0
  49. package/dist/models/DescribePolarClawAgentToolsResponse.d.ts +19 -0
  50. package/dist/models/DescribePolarClawAgentToolsResponse.js +69 -0
  51. package/dist/models/DescribePolarClawAgentToolsResponse.js.map +1 -0
  52. package/dist/models/DescribePolarClawAgentToolsResponseBody.d.ts +221 -0
  53. package/dist/models/DescribePolarClawAgentToolsResponseBody.js +194 -0
  54. package/dist/models/DescribePolarClawAgentToolsResponseBody.js.map +1 -0
  55. package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
  56. package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +118 -10
  57. package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
  58. package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
  59. package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
  60. package/dist/models/DescribePolarClawSkillDetailRequest.d.ts +33 -0
  61. package/dist/models/DescribePolarClawSkillDetailRequest.js +60 -0
  62. package/dist/models/DescribePolarClawSkillDetailRequest.js.map +1 -0
  63. package/dist/models/DescribePolarClawSkillDetailResponse.d.ts +19 -0
  64. package/dist/models/DescribePolarClawSkillDetailResponse.js +69 -0
  65. package/dist/models/DescribePolarClawSkillDetailResponse.js.map +1 -0
  66. package/dist/models/DescribePolarClawSkillDetailResponseBody.d.ts +269 -0
  67. package/dist/models/DescribePolarClawSkillDetailResponseBody.js +193 -0
  68. package/dist/models/DescribePolarClawSkillDetailResponseBody.js.map +1 -0
  69. package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
  70. package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
  71. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
  72. package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
  73. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  74. package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
  75. package/dist/models/InstallPolarClawSkillRequest.d.ts +63 -0
  76. package/dist/models/InstallPolarClawSkillRequest.js +68 -0
  77. package/dist/models/InstallPolarClawSkillRequest.js.map +1 -0
  78. package/dist/models/InstallPolarClawSkillResponse.d.ts +19 -0
  79. package/dist/models/InstallPolarClawSkillResponse.js +69 -0
  80. package/dist/models/InstallPolarClawSkillResponse.js.map +1 -0
  81. package/dist/models/InstallPolarClawSkillResponseBody.d.ts +77 -0
  82. package/dist/models/InstallPolarClawSkillResponseBody.js +72 -0
  83. package/dist/models/InstallPolarClawSkillResponseBody.js.map +1 -0
  84. package/dist/models/ModifyDbnodeClassRequest.d.ts +23 -32
  85. package/dist/models/ModifyDbnodeClassRequest.js.map +1 -1
  86. package/dist/models/ModifyDbnodeClassResponseBody.d.ts +1 -1
  87. package/dist/models/SearchPolarClawSkillsRequest.d.ts +39 -0
  88. package/dist/models/SearchPolarClawSkillsRequest.js +62 -0
  89. package/dist/models/SearchPolarClawSkillsRequest.js.map +1 -0
  90. package/dist/models/SearchPolarClawSkillsResponse.d.ts +19 -0
  91. package/dist/models/SearchPolarClawSkillsResponse.js +69 -0
  92. package/dist/models/SearchPolarClawSkillsResponse.js.map +1 -0
  93. package/dist/models/SearchPolarClawSkillsResponseBody.d.ts +110 -0
  94. package/dist/models/SearchPolarClawSkillsResponseBody.js +98 -0
  95. package/dist/models/SearchPolarClawSkillsResponseBody.js.map +1 -0
  96. package/dist/models/UpdatePolarClawAgentRequest.d.ts +23 -7
  97. package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
  98. package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
  99. package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +9 -9
  100. package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +22 -6
  101. package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
  102. package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
  103. package/dist/models/UpdatePolarClawAgentSkillsRequest.d.ts +41 -0
  104. package/dist/models/UpdatePolarClawAgentSkillsRequest.js +65 -0
  105. package/dist/models/UpdatePolarClawAgentSkillsRequest.js.map +1 -0
  106. package/dist/models/UpdatePolarClawAgentSkillsResponse.d.ts +19 -0
  107. package/dist/models/UpdatePolarClawAgentSkillsResponse.js +69 -0
  108. package/dist/models/UpdatePolarClawAgentSkillsResponse.js.map +1 -0
  109. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.d.ts +66 -0
  110. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js +73 -0
  111. package/dist/models/UpdatePolarClawAgentSkillsResponseBody.js.map +1 -0
  112. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.d.ts +41 -0
  113. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js +62 -0
  114. package/dist/models/UpdatePolarClawAgentSkillsShrinkRequest.js.map +1 -0
  115. package/dist/models/UpdatePolarClawAgentToolsRequest.d.ts +65 -0
  116. package/dist/models/UpdatePolarClawAgentToolsRequest.js +77 -0
  117. package/dist/models/UpdatePolarClawAgentToolsRequest.js.map +1 -0
  118. package/dist/models/UpdatePolarClawAgentToolsResponse.d.ts +19 -0
  119. package/dist/models/UpdatePolarClawAgentToolsResponse.js +69 -0
  120. package/dist/models/UpdatePolarClawAgentToolsResponse.js.map +1 -0
  121. package/dist/models/UpdatePolarClawAgentToolsResponseBody.d.ts +101 -0
  122. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js +107 -0
  123. package/dist/models/UpdatePolarClawAgentToolsResponseBody.js.map +1 -0
  124. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.d.ts +65 -0
  125. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js +68 -0
  126. package/dist/models/UpdatePolarClawAgentToolsShrinkRequest.js.map +1 -0
  127. package/dist/models/UpdatePolarClawSkillRequest.d.ts +59 -0
  128. package/dist/models/UpdatePolarClawSkillRequest.js +69 -0
  129. package/dist/models/UpdatePolarClawSkillRequest.js.map +1 -0
  130. package/dist/models/UpdatePolarClawSkillResponse.d.ts +19 -0
  131. package/dist/models/UpdatePolarClawSkillResponse.js +69 -0
  132. package/dist/models/UpdatePolarClawSkillResponse.js.map +1 -0
  133. package/dist/models/UpdatePolarClawSkillResponseBody.d.ts +93 -0
  134. package/dist/models/UpdatePolarClawSkillResponseBody.js +97 -0
  135. package/dist/models/UpdatePolarClawSkillResponseBody.js.map +1 -0
  136. package/dist/models/UpdatePolarClawSkillShrinkRequest.d.ts +57 -0
  137. package/dist/models/UpdatePolarClawSkillShrinkRequest.js +66 -0
  138. package/dist/models/UpdatePolarClawSkillShrinkRequest.js.map +1 -0
  139. package/dist/models/model.d.ts +55 -0
  140. package/dist/models/model.js +146 -35
  141. package/dist/models/model.js.map +1 -1
  142. package/package.json +1 -1
  143. package/src/client.ts +648 -24
  144. package/src/models/CreateBatchConsumerRequest.ts +82 -0
  145. package/src/models/CreateBatchConsumerResponse.ts +40 -0
  146. package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
  147. package/src/models/CreateDbnodesRequest.ts +34 -54
  148. package/src/models/CreateDbnodesResponseBody.ts +1 -1
  149. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
  150. package/src/models/DescribeApikeyAttributeRequest.ts +70 -0
  151. package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
  152. package/src/models/DescribeApikeyAttributeResponseBody.ts +344 -0
  153. package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
  154. package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
  155. package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
  156. package/src/models/DescribePolarClawAgentFileRequest.ts +60 -0
  157. package/src/models/DescribePolarClawAgentFileResponse.ts +40 -0
  158. package/src/models/DescribePolarClawAgentFileResponseBody.ts +174 -0
  159. package/src/models/DescribePolarClawAgentToolsRequest.ts +58 -0
  160. package/src/models/DescribePolarClawAgentToolsResponse.ts +40 -0
  161. package/src/models/DescribePolarClawAgentToolsResponseBody.ts +334 -0
  162. package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
  163. package/src/models/DescribePolarClawAgentsResponseBody.ts +170 -10
  164. package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
  165. package/src/models/DescribePolarClawSkillDetailRequest.ts +48 -0
  166. package/src/models/DescribePolarClawSkillDetailResponse.ts +40 -0
  167. package/src/models/DescribePolarClawSkillDetailResponseBody.ts +379 -0
  168. package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
  169. package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
  170. package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
  171. package/src/models/InstallPolarClawSkillRequest.ts +86 -0
  172. package/src/models/InstallPolarClawSkillResponse.ts +40 -0
  173. package/src/models/InstallPolarClawSkillResponseBody.ts +104 -0
  174. package/src/models/ModifyDbnodeClassRequest.ts +23 -32
  175. package/src/models/ModifyDbnodeClassResponseBody.ts +1 -1
  176. package/src/models/SearchPolarClawSkillsRequest.ts +56 -0
  177. package/src/models/SearchPolarClawSkillsResponse.ts +40 -0
  178. package/src/models/SearchPolarClawSkillsResponseBody.ts +154 -0
  179. package/src/models/UpdatePolarClawAgentRequest.ts +27 -7
  180. package/src/models/UpdatePolarClawAgentResponseBody.ts +9 -9
  181. package/src/models/UpdatePolarClawAgentShrinkRequest.ts +26 -6
  182. package/src/models/UpdatePolarClawAgentSkillsRequest.ts +61 -0
  183. package/src/models/UpdatePolarClawAgentSkillsResponse.ts +40 -0
  184. package/src/models/UpdatePolarClawAgentSkillsResponseBody.ts +94 -0
  185. package/src/models/UpdatePolarClawAgentSkillsShrinkRequest.ts +58 -0
  186. package/src/models/UpdatePolarClawAgentToolsRequest.ts +97 -0
  187. package/src/models/UpdatePolarClawAgentToolsResponse.ts +40 -0
  188. package/src/models/UpdatePolarClawAgentToolsResponseBody.ts +154 -0
  189. package/src/models/UpdatePolarClawAgentToolsShrinkRequest.ts +88 -0
  190. package/src/models/UpdatePolarClawSkillRequest.ts +81 -0
  191. package/src/models/UpdatePolarClawSkillResponse.ts +40 -0
  192. package/src/models/UpdatePolarClawSkillResponseBody.ts +134 -0
  193. package/src/models/UpdatePolarClawSkillShrinkRequest.ts +78 -0
  194. package/src/models/model.ts +55 -0
package/src/client.ts CHANGED
@@ -2887,6 +2887,64 @@ export default class Client extends OpenApi {
2887
2887
  return await this.createBackupWithOptions(request, runtime);
2888
2888
  }
2889
2889
 
2890
+ /**
2891
+ * Creates API keys in batches.
2892
+ *
2893
+ * @param request - CreateBatchConsumerRequest
2894
+ * @param runtime - runtime options for this request RuntimeOptions
2895
+ * @returns CreateBatchConsumerResponse
2896
+ */
2897
+ async createBatchConsumerWithOptions(request: $_model.CreateBatchConsumerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateBatchConsumerResponse> {
2898
+ request.validate();
2899
+ let query = { };
2900
+ if (!$dara.isNull(request.clientToken)) {
2901
+ query["ClientToken"] = request.clientToken;
2902
+ }
2903
+
2904
+ if (!$dara.isNull(request.consumerGroupId)) {
2905
+ query["ConsumerGroupId"] = request.consumerGroupId;
2906
+ }
2907
+
2908
+ if (!$dara.isNull(request.count)) {
2909
+ query["Count"] = request.count;
2910
+ }
2911
+
2912
+ if (!$dara.isNull(request.gwClusterId)) {
2913
+ query["GwClusterId"] = request.gwClusterId;
2914
+ }
2915
+
2916
+ if (!$dara.isNull(request.regionId)) {
2917
+ query["RegionId"] = request.regionId;
2918
+ }
2919
+
2920
+ let req = new $OpenApiUtil.OpenApiRequest({
2921
+ query: OpenApiUtil.query(query),
2922
+ });
2923
+ let params = new $OpenApiUtil.Params({
2924
+ action: "CreateBatchConsumer",
2925
+ version: "2017-08-01",
2926
+ protocol: "HTTPS",
2927
+ pathname: "/",
2928
+ method: "POST",
2929
+ authType: "AK",
2930
+ style: "RPC",
2931
+ reqBodyType: "formData",
2932
+ bodyType: "json",
2933
+ });
2934
+ return $dara.cast<$_model.CreateBatchConsumerResponse>(await this.callApi(params, req, runtime), new $_model.CreateBatchConsumerResponse({}));
2935
+ }
2936
+
2937
+ /**
2938
+ * Creates API keys in batches.
2939
+ *
2940
+ * @param request - CreateBatchConsumerRequest
2941
+ * @returns CreateBatchConsumerResponse
2942
+ */
2943
+ async createBatchConsumer(request: $_model.CreateBatchConsumerRequest): Promise<$_model.CreateBatchConsumerResponse> {
2944
+ let runtime = new $dara.RuntimeOptions({ });
2945
+ return await this.createBatchConsumerWithOptions(request, runtime);
2946
+ }
2947
+
2890
2948
  /**
2891
2949
  * Creates a batch task.
2892
2950
  *
@@ -4104,7 +4162,7 @@ export default class Client extends OpenApi {
4104
4162
  }
4105
4163
 
4106
4164
  /**
4107
- * Add read-only nodes to a PolarDB cluster.
4165
+ * Adds read-only nodes to a PolarDB cluster.
4108
4166
  *
4109
4167
  * @param request - CreateDBNodesRequest
4110
4168
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4195,7 +4253,7 @@ export default class Client extends OpenApi {
4195
4253
  }
4196
4254
 
4197
4255
  /**
4198
- * Add read-only nodes to a PolarDB cluster.
4256
+ * Adds read-only nodes to a PolarDB cluster.
4199
4257
  *
4200
4258
  * @param request - CreateDBNodesRequest
4201
4259
  * @returns CreateDBNodesResponse
@@ -8280,7 +8338,7 @@ export default class Client extends OpenApi {
8280
8338
  }
8281
8339
 
8282
8340
  /**
8283
- * Gets the details of a custom instance.
8341
+ * Queries the details of a custom instance.
8284
8342
  *
8285
8343
  * @param request - DescribeAIDBClusterAttributeRequest
8286
8344
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8327,7 +8385,7 @@ export default class Client extends OpenApi {
8327
8385
  }
8328
8386
 
8329
8387
  /**
8330
- * Gets the details of a custom instance.
8388
+ * Queries the details of a custom instance.
8331
8389
  *
8332
8390
  * @param request - DescribeAIDBClusterAttributeRequest
8333
8391
  * @returns DescribeAIDBClusterAttributeResponse
@@ -9353,6 +9411,60 @@ export default class Client extends OpenApi {
9353
9411
  return await this.describeActiveOperationTasksWithOptions(request, runtime);
9354
9412
  }
9355
9413
 
9414
+ /**
9415
+ * Queries the details of a specified API key.
9416
+ *
9417
+ * @param request - DescribeApikeyAttributeRequest
9418
+ * @param runtime - runtime options for this request RuntimeOptions
9419
+ * @returns DescribeApikeyAttributeResponse
9420
+ */
9421
+ async describeApikeyAttributeWithOptions(request: $_model.DescribeApikeyAttributeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeApikeyAttributeResponse> {
9422
+ request.validate();
9423
+ let query = { };
9424
+ if (!$dara.isNull(request.apiKey)) {
9425
+ query["ApiKey"] = request.apiKey;
9426
+ }
9427
+
9428
+ if (!$dara.isNull(request.pageNumber)) {
9429
+ query["PageNumber"] = request.pageNumber;
9430
+ }
9431
+
9432
+ if (!$dara.isNull(request.pageSize)) {
9433
+ query["PageSize"] = request.pageSize;
9434
+ }
9435
+
9436
+ if (!$dara.isNull(request.regionId)) {
9437
+ query["RegionId"] = request.regionId;
9438
+ }
9439
+
9440
+ let req = new $OpenApiUtil.OpenApiRequest({
9441
+ query: OpenApiUtil.query(query),
9442
+ });
9443
+ let params = new $OpenApiUtil.Params({
9444
+ action: "DescribeApikeyAttribute",
9445
+ version: "2017-08-01",
9446
+ protocol: "HTTPS",
9447
+ pathname: "/",
9448
+ method: "POST",
9449
+ authType: "AK",
9450
+ style: "RPC",
9451
+ reqBodyType: "formData",
9452
+ bodyType: "json",
9453
+ });
9454
+ return $dara.cast<$_model.DescribeApikeyAttributeResponse>(await this.callApi(params, req, runtime), new $_model.DescribeApikeyAttributeResponse({}));
9455
+ }
9456
+
9457
+ /**
9458
+ * Queries the details of a specified API key.
9459
+ *
9460
+ * @param request - DescribeApikeyAttributeRequest
9461
+ * @returns DescribeApikeyAttributeResponse
9462
+ */
9463
+ async describeApikeyAttribute(request: $_model.DescribeApikeyAttributeRequest): Promise<$_model.DescribeApikeyAttributeResponse> {
9464
+ let runtime = new $dara.RuntimeOptions({ });
9465
+ return await this.describeApikeyAttributeWithOptions(request, runtime);
9466
+ }
9467
+
9356
9468
  /**
9357
9469
  * Retrieves the details of a specific application in a PolarDB instance.
9358
9470
  *
@@ -13899,6 +14011,56 @@ export default class Client extends OpenApi {
13899
14011
  return await this.describeFirewallRulesWithOptions(request, runtime);
13900
14012
  }
13901
14013
 
14014
+ /**
14015
+ * Queries all API keys under the current UID.
14016
+ *
14017
+ * @param request - DescribeGatewayApikeyListRequest
14018
+ * @param runtime - runtime options for this request RuntimeOptions
14019
+ * @returns DescribeGatewayApikeyListResponse
14020
+ */
14021
+ async describeGatewayApikeyListWithOptions(request: $_model.DescribeGatewayApikeyListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeGatewayApikeyListResponse> {
14022
+ request.validate();
14023
+ let query = { };
14024
+ if (!$dara.isNull(request.pageNumber)) {
14025
+ query["PageNumber"] = request.pageNumber;
14026
+ }
14027
+
14028
+ if (!$dara.isNull(request.pageSize)) {
14029
+ query["PageSize"] = request.pageSize;
14030
+ }
14031
+
14032
+ if (!$dara.isNull(request.regionId)) {
14033
+ query["RegionId"] = request.regionId;
14034
+ }
14035
+
14036
+ let req = new $OpenApiUtil.OpenApiRequest({
14037
+ query: OpenApiUtil.query(query),
14038
+ });
14039
+ let params = new $OpenApiUtil.Params({
14040
+ action: "DescribeGatewayApikeyList",
14041
+ version: "2017-08-01",
14042
+ protocol: "HTTPS",
14043
+ pathname: "/",
14044
+ method: "POST",
14045
+ authType: "AK",
14046
+ style: "RPC",
14047
+ reqBodyType: "formData",
14048
+ bodyType: "json",
14049
+ });
14050
+ return $dara.cast<$_model.DescribeGatewayApikeyListResponse>(await this.callApi(params, req, runtime), new $_model.DescribeGatewayApikeyListResponse({}));
14051
+ }
14052
+
14053
+ /**
14054
+ * Queries all API keys under the current UID.
14055
+ *
14056
+ * @param request - DescribeGatewayApikeyListRequest
14057
+ * @returns DescribeGatewayApikeyListResponse
14058
+ */
14059
+ async describeGatewayApikeyList(request: $_model.DescribeGatewayApikeyListRequest): Promise<$_model.DescribeGatewayApikeyListResponse> {
14060
+ let runtime = new $dara.RuntimeOptions({ });
14061
+ return await this.describeGatewayApikeyListWithOptions(request, runtime);
14062
+ }
14063
+
13902
14064
  /**
13903
14065
  * Viewing gateway instance details
13904
14066
  *
@@ -15912,7 +16074,107 @@ export default class Client extends OpenApi {
15912
16074
  }
15913
16075
 
15914
16076
  /**
15915
- * Queries the details of agents installed in a specified application.
16077
+ * Queries a PolarClaw Agent file.
16078
+ *
16079
+ * @param request - DescribePolarClawAgentFileRequest
16080
+ * @param runtime - runtime options for this request RuntimeOptions
16081
+ * @returns DescribePolarClawAgentFileResponse
16082
+ */
16083
+ async describePolarClawAgentFileWithOptions(request: $_model.DescribePolarClawAgentFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawAgentFileResponse> {
16084
+ request.validate();
16085
+ let query = { };
16086
+ if (!$dara.isNull(request.agentId)) {
16087
+ query["AgentId"] = request.agentId;
16088
+ }
16089
+
16090
+ if (!$dara.isNull(request.applicationId)) {
16091
+ query["ApplicationId"] = request.applicationId;
16092
+ }
16093
+
16094
+ if (!$dara.isNull(request.fileName)) {
16095
+ query["FileName"] = request.fileName;
16096
+ }
16097
+
16098
+ let req = new $OpenApiUtil.OpenApiRequest({
16099
+ query: OpenApiUtil.query(query),
16100
+ });
16101
+ let params = new $OpenApiUtil.Params({
16102
+ action: "DescribePolarClawAgentFile",
16103
+ version: "2017-08-01",
16104
+ protocol: "HTTPS",
16105
+ pathname: "/",
16106
+ method: "POST",
16107
+ authType: "AK",
16108
+ style: "RPC",
16109
+ reqBodyType: "formData",
16110
+ bodyType: "json",
16111
+ });
16112
+ return $dara.cast<$_model.DescribePolarClawAgentFileResponse>(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentFileResponse({}));
16113
+ }
16114
+
16115
+ /**
16116
+ * Queries a PolarClaw Agent file.
16117
+ *
16118
+ * @param request - DescribePolarClawAgentFileRequest
16119
+ * @returns DescribePolarClawAgentFileResponse
16120
+ */
16121
+ async describePolarClawAgentFile(request: $_model.DescribePolarClawAgentFileRequest): Promise<$_model.DescribePolarClawAgentFileResponse> {
16122
+ let runtime = new $dara.RuntimeOptions({ });
16123
+ return await this.describePolarClawAgentFileWithOptions(request, runtime);
16124
+ }
16125
+
16126
+ /**
16127
+ * Queries the PolarClaw Agent tool catalog.
16128
+ *
16129
+ * @param request - DescribePolarClawAgentToolsRequest
16130
+ * @param runtime - runtime options for this request RuntimeOptions
16131
+ * @returns DescribePolarClawAgentToolsResponse
16132
+ */
16133
+ async describePolarClawAgentToolsWithOptions(request: $_model.DescribePolarClawAgentToolsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawAgentToolsResponse> {
16134
+ request.validate();
16135
+ let query = { };
16136
+ if (!$dara.isNull(request.agentId)) {
16137
+ query["AgentId"] = request.agentId;
16138
+ }
16139
+
16140
+ if (!$dara.isNull(request.applicationId)) {
16141
+ query["ApplicationId"] = request.applicationId;
16142
+ }
16143
+
16144
+ if (!$dara.isNull(request.includePlugins)) {
16145
+ query["IncludePlugins"] = request.includePlugins;
16146
+ }
16147
+
16148
+ let req = new $OpenApiUtil.OpenApiRequest({
16149
+ query: OpenApiUtil.query(query),
16150
+ });
16151
+ let params = new $OpenApiUtil.Params({
16152
+ action: "DescribePolarClawAgentTools",
16153
+ version: "2017-08-01",
16154
+ protocol: "HTTPS",
16155
+ pathname: "/",
16156
+ method: "POST",
16157
+ authType: "AK",
16158
+ style: "RPC",
16159
+ reqBodyType: "formData",
16160
+ bodyType: "json",
16161
+ });
16162
+ return $dara.cast<$_model.DescribePolarClawAgentToolsResponse>(await this.callApi(params, req, runtime), new $_model.DescribePolarClawAgentToolsResponse({}));
16163
+ }
16164
+
16165
+ /**
16166
+ * Queries the PolarClaw Agent tool catalog.
16167
+ *
16168
+ * @param request - DescribePolarClawAgentToolsRequest
16169
+ * @returns DescribePolarClawAgentToolsResponse
16170
+ */
16171
+ async describePolarClawAgentTools(request: $_model.DescribePolarClawAgentToolsRequest): Promise<$_model.DescribePolarClawAgentToolsResponse> {
16172
+ let runtime = new $dara.RuntimeOptions({ });
16173
+ return await this.describePolarClawAgentToolsWithOptions(request, runtime);
16174
+ }
16175
+
16176
+ /**
16177
+ * Queries all installed plug-ins and their status information under a specified application.
15916
16178
  *
15917
16179
  * @param tmpReq - DescribePolarClawAgentsRequest
15918
16180
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15953,7 +16215,7 @@ export default class Client extends OpenApi {
15953
16215
  }
15954
16216
 
15955
16217
  /**
15956
- * Queries the details of agents installed in a specified application.
16218
+ * Queries all installed plug-ins and their status information under a specified application.
15957
16219
  *
15958
16220
  * @param request - DescribePolarClawAgentsRequest
15959
16221
  * @returns DescribePolarClawAgentsResponse
@@ -16191,6 +16453,52 @@ export default class Client extends OpenApi {
16191
16453
  return await this.describePolarClawPluginsWithOptions(request, runtime);
16192
16454
  }
16193
16455
 
16456
+ /**
16457
+ * Queries the details of a PolarClaw Skill.
16458
+ *
16459
+ * @param request - DescribePolarClawSkillDetailRequest
16460
+ * @param runtime - runtime options for this request RuntimeOptions
16461
+ * @returns DescribePolarClawSkillDetailResponse
16462
+ */
16463
+ async describePolarClawSkillDetailWithOptions(request: $_model.DescribePolarClawSkillDetailRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribePolarClawSkillDetailResponse> {
16464
+ request.validate();
16465
+ let query = { };
16466
+ if (!$dara.isNull(request.applicationId)) {
16467
+ query["ApplicationId"] = request.applicationId;
16468
+ }
16469
+
16470
+ if (!$dara.isNull(request.slug)) {
16471
+ query["Slug"] = request.slug;
16472
+ }
16473
+
16474
+ let req = new $OpenApiUtil.OpenApiRequest({
16475
+ query: OpenApiUtil.query(query),
16476
+ });
16477
+ let params = new $OpenApiUtil.Params({
16478
+ action: "DescribePolarClawSkillDetail",
16479
+ version: "2017-08-01",
16480
+ protocol: "HTTPS",
16481
+ pathname: "/",
16482
+ method: "POST",
16483
+ authType: "AK",
16484
+ style: "RPC",
16485
+ reqBodyType: "formData",
16486
+ bodyType: "json",
16487
+ });
16488
+ return $dara.cast<$_model.DescribePolarClawSkillDetailResponse>(await this.callApi(params, req, runtime), new $_model.DescribePolarClawSkillDetailResponse({}));
16489
+ }
16490
+
16491
+ /**
16492
+ * Queries the details of a PolarClaw Skill.
16493
+ *
16494
+ * @param request - DescribePolarClawSkillDetailRequest
16495
+ * @returns DescribePolarClawSkillDetailResponse
16496
+ */
16497
+ async describePolarClawSkillDetail(request: $_model.DescribePolarClawSkillDetailRequest): Promise<$_model.DescribePolarClawSkillDetailResponse> {
16498
+ let runtime = new $dara.RuntimeOptions({ });
16499
+ return await this.describePolarClawSkillDetailWithOptions(request, runtime);
16500
+ }
16501
+
16194
16502
  /**
16195
16503
  * Queries the status of a PolarClaw asynchronous task.
16196
16504
  *
@@ -16238,7 +16546,7 @@ export default class Client extends OpenApi {
16238
16546
  }
16239
16547
 
16240
16548
  /**
16241
- * Gets the details of a PolarFS instance.
16549
+ * Retrieves the details of a PolarLakebase instance.
16242
16550
  *
16243
16551
  * @param request - DescribePolarFsAttributeRequest
16244
16552
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16277,7 +16585,7 @@ export default class Client extends OpenApi {
16277
16585
  }
16278
16586
 
16279
16587
  /**
16280
- * Gets the details of a PolarFS instance.
16588
+ * Retrieves the details of a PolarLakebase instance.
16281
16589
  *
16282
16590
  * @param request - DescribePolarFsAttributeRequest
16283
16591
  * @returns DescribePolarFsAttributeResponse
@@ -16288,14 +16596,14 @@ export default class Client extends OpenApi {
16288
16596
  }
16289
16597
 
16290
16598
  /**
16291
- * Lists the files and subdirectories at a specified path.
16599
+ * Lists the files and subdirectories under a specified path.
16292
16600
  *
16293
16601
  * @remarks
16294
- * ## Usage notes
16295
- * - The **Path** parameter must be an absolute path.
16296
- * - The **Recursive** parameter defaults to `false`. If set to `true`, the operation recursively lists the contents of all subdirectories.
16297
- * - The **Depth** parameter limits the recursive depth. The default value is `1`.
16298
- * - The **Filter** parameter supports filtering with wildcards or regular expressions.
16602
+ * ## 请求说明
16603
+ * - **Path** 参数必须提供一个绝对路径。
16604
+ * - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
16605
+ * - **Depth** 参数用于限制递归深度,默认值为 `1`。
16606
+ * - **Filter** 参数支持通配符或正则表达式过滤结果。
16299
16607
  *
16300
16608
  * @param request - DescribePolarFsObjectsRequest
16301
16609
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16330,14 +16638,14 @@ export default class Client extends OpenApi {
16330
16638
  }
16331
16639
 
16332
16640
  /**
16333
- * Lists the files and subdirectories at a specified path.
16641
+ * Lists the files and subdirectories under a specified path.
16334
16642
  *
16335
16643
  * @remarks
16336
- * ## Usage notes
16337
- * - The **Path** parameter must be an absolute path.
16338
- * - The **Recursive** parameter defaults to `false`. If set to `true`, the operation recursively lists the contents of all subdirectories.
16339
- * - The **Depth** parameter limits the recursive depth. The default value is `1`.
16340
- * - The **Filter** parameter supports filtering with wildcards or regular expressions.
16644
+ * ## 请求说明
16645
+ * - **Path** 参数必须提供一个绝对路径。
16646
+ * - **Recursive** 参数默认为 `false`,如果设置为 `true`,则会递归列出所有子目录的内容。
16647
+ * - **Depth** 参数用于限制递归深度,默认值为 `1`。
16648
+ * - **Filter** 参数支持通配符或正则表达式过滤结果。
16341
16649
  *
16342
16650
  * @param request - DescribePolarFsObjectsRequest
16343
16651
  * @returns DescribePolarFsObjectsResponse
@@ -19395,6 +19703,68 @@ export default class Client extends OpenApi {
19395
19703
  return await this.installPolarClawPluginWithOptions(request, runtime);
19396
19704
  }
19397
19705
 
19706
+ /**
19707
+ * Installs a PolarClaw Skill.
19708
+ *
19709
+ * @param request - InstallPolarClawSkillRequest
19710
+ * @param runtime - runtime options for this request RuntimeOptions
19711
+ * @returns InstallPolarClawSkillResponse
19712
+ */
19713
+ async installPolarClawSkillWithOptions(request: $_model.InstallPolarClawSkillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.InstallPolarClawSkillResponse> {
19714
+ request.validate();
19715
+ let query = { };
19716
+ if (!$dara.isNull(request.applicationId)) {
19717
+ query["ApplicationId"] = request.applicationId;
19718
+ }
19719
+
19720
+ if (!$dara.isNull(request.force)) {
19721
+ query["Force"] = request.force;
19722
+ }
19723
+
19724
+ if (!$dara.isNull(request.skillVersion)) {
19725
+ query["SkillVersion"] = request.skillVersion;
19726
+ }
19727
+
19728
+ if (!$dara.isNull(request.slug)) {
19729
+ query["Slug"] = request.slug;
19730
+ }
19731
+
19732
+ if (!$dara.isNull(request.source)) {
19733
+ query["Source"] = request.source;
19734
+ }
19735
+
19736
+ if (!$dara.isNull(request.url)) {
19737
+ query["Url"] = request.url;
19738
+ }
19739
+
19740
+ let req = new $OpenApiUtil.OpenApiRequest({
19741
+ query: OpenApiUtil.query(query),
19742
+ });
19743
+ let params = new $OpenApiUtil.Params({
19744
+ action: "InstallPolarClawSkill",
19745
+ version: "2017-08-01",
19746
+ protocol: "HTTPS",
19747
+ pathname: "/",
19748
+ method: "POST",
19749
+ authType: "AK",
19750
+ style: "RPC",
19751
+ reqBodyType: "formData",
19752
+ bodyType: "json",
19753
+ });
19754
+ return $dara.cast<$_model.InstallPolarClawSkillResponse>(await this.callApi(params, req, runtime), new $_model.InstallPolarClawSkillResponse({}));
19755
+ }
19756
+
19757
+ /**
19758
+ * Installs a PolarClaw Skill.
19759
+ *
19760
+ * @param request - InstallPolarClawSkillRequest
19761
+ * @returns InstallPolarClawSkillResponse
19762
+ */
19763
+ async installPolarClawSkill(request: $_model.InstallPolarClawSkillRequest): Promise<$_model.InstallPolarClawSkillResponse> {
19764
+ let runtime = new $dara.RuntimeOptions({ });
19765
+ return await this.installPolarClawSkillWithOptions(request, runtime);
19766
+ }
19767
+
19398
19768
  /**
19399
19769
  * Queries a list of orders.
19400
19770
  *
@@ -23324,7 +23694,7 @@ export default class Client extends OpenApi {
23324
23694
  }
23325
23695
 
23326
23696
  /**
23327
- * Modifies the node specifications of a PolarDB cluster.
23697
+ * Changes the node specifications of a PolarDB cluster.
23328
23698
  *
23329
23699
  * @param request - ModifyDBNodeClassRequest
23330
23700
  * @param runtime - runtime options for this request RuntimeOptions
@@ -23415,7 +23785,7 @@ export default class Client extends OpenApi {
23415
23785
  }
23416
23786
 
23417
23787
  /**
23418
- * Modifies the node specifications of a PolarDB cluster.
23788
+ * Changes the node specifications of a PolarDB cluster.
23419
23789
  *
23420
23790
  * @param request - ModifyDBNodeClassRequest
23421
23791
  * @returns ModifyDBNodeClassResponse
@@ -26471,6 +26841,56 @@ export default class Client extends OpenApi {
26471
26841
  return await this.searchMemoriesWithOptions(request, runtime);
26472
26842
  }
26473
26843
 
26844
+ /**
26845
+ * Searches for PolarClaw Skills.
26846
+ *
26847
+ * @param request - SearchPolarClawSkillsRequest
26848
+ * @param runtime - runtime options for this request RuntimeOptions
26849
+ * @returns SearchPolarClawSkillsResponse
26850
+ */
26851
+ async searchPolarClawSkillsWithOptions(request: $_model.SearchPolarClawSkillsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchPolarClawSkillsResponse> {
26852
+ request.validate();
26853
+ let query = { };
26854
+ if (!$dara.isNull(request.applicationId)) {
26855
+ query["ApplicationId"] = request.applicationId;
26856
+ }
26857
+
26858
+ if (!$dara.isNull(request.limit)) {
26859
+ query["Limit"] = request.limit;
26860
+ }
26861
+
26862
+ if (!$dara.isNull(request.query)) {
26863
+ query["Query"] = request.query;
26864
+ }
26865
+
26866
+ let req = new $OpenApiUtil.OpenApiRequest({
26867
+ query: OpenApiUtil.query(query),
26868
+ });
26869
+ let params = new $OpenApiUtil.Params({
26870
+ action: "SearchPolarClawSkills",
26871
+ version: "2017-08-01",
26872
+ protocol: "HTTPS",
26873
+ pathname: "/",
26874
+ method: "POST",
26875
+ authType: "AK",
26876
+ style: "RPC",
26877
+ reqBodyType: "formData",
26878
+ bodyType: "json",
26879
+ });
26880
+ return $dara.cast<$_model.SearchPolarClawSkillsResponse>(await this.callApi(params, req, runtime), new $_model.SearchPolarClawSkillsResponse({}));
26881
+ }
26882
+
26883
+ /**
26884
+ * Searches for PolarClaw Skills.
26885
+ *
26886
+ * @param request - SearchPolarClawSkillsRequest
26887
+ * @returns SearchPolarClawSkillsResponse
26888
+ */
26889
+ async searchPolarClawSkills(request: $_model.SearchPolarClawSkillsRequest): Promise<$_model.SearchPolarClawSkillsResponse> {
26890
+ let runtime = new $dara.RuntimeOptions({ });
26891
+ return await this.searchPolarClawSkillsWithOptions(request, runtime);
26892
+ }
26893
+
26474
26894
  /**
26475
26895
  * Sets file quota rules for specific directories in a PolarFS instance.
26476
26896
  *
@@ -27194,7 +27614,7 @@ export default class Client extends OpenApi {
27194
27614
  }
27195
27615
 
27196
27616
  /**
27197
- * Update PolarClaw Agent
27617
+ * Updates a PolarClaw agent.
27198
27618
  *
27199
27619
  * @param tmpReq - UpdatePolarClawAgentRequest
27200
27620
  * @param runtime - runtime options for this request RuntimeOptions
@@ -27225,6 +27645,14 @@ export default class Client extends OpenApi {
27225
27645
  query["Files"] = request.filesShrink;
27226
27646
  }
27227
27647
 
27648
+ if (!$dara.isNull(request.isDefault)) {
27649
+ query["IsDefault"] = request.isDefault;
27650
+ }
27651
+
27652
+ if (!$dara.isNull(request.keepWorkspaceFiles)) {
27653
+ query["KeepWorkspaceFiles"] = request.keepWorkspaceFiles;
27654
+ }
27655
+
27228
27656
  if (!$dara.isNull(request.model)) {
27229
27657
  query["Model"] = request.model;
27230
27658
  }
@@ -27259,7 +27687,7 @@ export default class Client extends OpenApi {
27259
27687
  }
27260
27688
 
27261
27689
  /**
27262
- * Update PolarClaw Agent
27690
+ * Updates a PolarClaw agent.
27263
27691
  *
27264
27692
  * @param request - UpdatePolarClawAgentRequest
27265
27693
  * @returns UpdatePolarClawAgentResponse
@@ -27269,6 +27697,138 @@ export default class Client extends OpenApi {
27269
27697
  return await this.updatePolarClawAgentWithOptions(request, runtime);
27270
27698
  }
27271
27699
 
27700
+ /**
27701
+ * Updates the skills of a PolarClaw Agent.
27702
+ *
27703
+ * @param tmpReq - UpdatePolarClawAgentSkillsRequest
27704
+ * @param runtime - runtime options for this request RuntimeOptions
27705
+ * @returns UpdatePolarClawAgentSkillsResponse
27706
+ */
27707
+ async updatePolarClawAgentSkillsWithOptions(tmpReq: $_model.UpdatePolarClawAgentSkillsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePolarClawAgentSkillsResponse> {
27708
+ tmpReq.validate();
27709
+ let request = new $_model.UpdatePolarClawAgentSkillsShrinkRequest({ });
27710
+ OpenApiUtil.convert(tmpReq, request);
27711
+ if (!$dara.isNull(tmpReq.skills)) {
27712
+ request.skillsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.skills, "Skills", "json");
27713
+ }
27714
+
27715
+ let query = { };
27716
+ if (!$dara.isNull(request.agentId)) {
27717
+ query["AgentId"] = request.agentId;
27718
+ }
27719
+
27720
+ if (!$dara.isNull(request.applicationId)) {
27721
+ query["ApplicationId"] = request.applicationId;
27722
+ }
27723
+
27724
+ if (!$dara.isNull(request.skillsShrink)) {
27725
+ query["Skills"] = request.skillsShrink;
27726
+ }
27727
+
27728
+ let req = new $OpenApiUtil.OpenApiRequest({
27729
+ query: OpenApiUtil.query(query),
27730
+ });
27731
+ let params = new $OpenApiUtil.Params({
27732
+ action: "UpdatePolarClawAgentSkills",
27733
+ version: "2017-08-01",
27734
+ protocol: "HTTPS",
27735
+ pathname: "/",
27736
+ method: "POST",
27737
+ authType: "AK",
27738
+ style: "RPC",
27739
+ reqBodyType: "formData",
27740
+ bodyType: "json",
27741
+ });
27742
+ return $dara.cast<$_model.UpdatePolarClawAgentSkillsResponse>(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentSkillsResponse({}));
27743
+ }
27744
+
27745
+ /**
27746
+ * Updates the skills of a PolarClaw Agent.
27747
+ *
27748
+ * @param request - UpdatePolarClawAgentSkillsRequest
27749
+ * @returns UpdatePolarClawAgentSkillsResponse
27750
+ */
27751
+ async updatePolarClawAgentSkills(request: $_model.UpdatePolarClawAgentSkillsRequest): Promise<$_model.UpdatePolarClawAgentSkillsResponse> {
27752
+ let runtime = new $dara.RuntimeOptions({ });
27753
+ return await this.updatePolarClawAgentSkillsWithOptions(request, runtime);
27754
+ }
27755
+
27756
+ /**
27757
+ * Updates the tool configuration of a PolarClaw Agent.
27758
+ *
27759
+ * @param tmpReq - UpdatePolarClawAgentToolsRequest
27760
+ * @param runtime - runtime options for this request RuntimeOptions
27761
+ * @returns UpdatePolarClawAgentToolsResponse
27762
+ */
27763
+ async updatePolarClawAgentToolsWithOptions(tmpReq: $_model.UpdatePolarClawAgentToolsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePolarClawAgentToolsResponse> {
27764
+ tmpReq.validate();
27765
+ let request = new $_model.UpdatePolarClawAgentToolsShrinkRequest({ });
27766
+ OpenApiUtil.convert(tmpReq, request);
27767
+ if (!$dara.isNull(tmpReq.allow)) {
27768
+ request.allowShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.allow, "Allow", "json");
27769
+ }
27770
+
27771
+ if (!$dara.isNull(tmpReq.alsoAllow)) {
27772
+ request.alsoAllowShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.alsoAllow, "AlsoAllow", "json");
27773
+ }
27774
+
27775
+ if (!$dara.isNull(tmpReq.deny)) {
27776
+ request.denyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.deny, "Deny", "json");
27777
+ }
27778
+
27779
+ let query = { };
27780
+ if (!$dara.isNull(request.agentId)) {
27781
+ query["AgentId"] = request.agentId;
27782
+ }
27783
+
27784
+ if (!$dara.isNull(request.allowShrink)) {
27785
+ query["Allow"] = request.allowShrink;
27786
+ }
27787
+
27788
+ if (!$dara.isNull(request.alsoAllowShrink)) {
27789
+ query["AlsoAllow"] = request.alsoAllowShrink;
27790
+ }
27791
+
27792
+ if (!$dara.isNull(request.applicationId)) {
27793
+ query["ApplicationId"] = request.applicationId;
27794
+ }
27795
+
27796
+ if (!$dara.isNull(request.denyShrink)) {
27797
+ query["Deny"] = request.denyShrink;
27798
+ }
27799
+
27800
+ if (!$dara.isNull(request.profile)) {
27801
+ query["Profile"] = request.profile;
27802
+ }
27803
+
27804
+ let req = new $OpenApiUtil.OpenApiRequest({
27805
+ query: OpenApiUtil.query(query),
27806
+ });
27807
+ let params = new $OpenApiUtil.Params({
27808
+ action: "UpdatePolarClawAgentTools",
27809
+ version: "2017-08-01",
27810
+ protocol: "HTTPS",
27811
+ pathname: "/",
27812
+ method: "POST",
27813
+ authType: "AK",
27814
+ style: "RPC",
27815
+ reqBodyType: "formData",
27816
+ bodyType: "json",
27817
+ });
27818
+ return $dara.cast<$_model.UpdatePolarClawAgentToolsResponse>(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawAgentToolsResponse({}));
27819
+ }
27820
+
27821
+ /**
27822
+ * Updates the tool configuration of a PolarClaw Agent.
27823
+ *
27824
+ * @param request - UpdatePolarClawAgentToolsRequest
27825
+ * @returns UpdatePolarClawAgentToolsResponse
27826
+ */
27827
+ async updatePolarClawAgentTools(request: $_model.UpdatePolarClawAgentToolsRequest): Promise<$_model.UpdatePolarClawAgentToolsResponse> {
27828
+ let runtime = new $dara.RuntimeOptions({ });
27829
+ return await this.updatePolarClawAgentToolsWithOptions(request, runtime);
27830
+ }
27831
+
27272
27832
  /**
27273
27833
  * Updates the configuration of a PolarClaw scheduled task, allowing for partial field updates.
27274
27834
  *
@@ -27385,6 +27945,70 @@ export default class Client extends OpenApi {
27385
27945
  return await this.updatePolarClawCronJobWithOptions(request, runtime);
27386
27946
  }
27387
27947
 
27948
+ /**
27949
+ * Updates the PolarClaw Skill configuration.
27950
+ *
27951
+ * @param tmpReq - UpdatePolarClawSkillRequest
27952
+ * @param runtime - runtime options for this request RuntimeOptions
27953
+ * @returns UpdatePolarClawSkillResponse
27954
+ */
27955
+ async updatePolarClawSkillWithOptions(tmpReq: $_model.UpdatePolarClawSkillRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdatePolarClawSkillResponse> {
27956
+ tmpReq.validate();
27957
+ let request = new $_model.UpdatePolarClawSkillShrinkRequest({ });
27958
+ OpenApiUtil.convert(tmpReq, request);
27959
+ if (!$dara.isNull(tmpReq.env)) {
27960
+ request.envShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.env, "Env", "json");
27961
+ }
27962
+
27963
+ let query = { };
27964
+ if (!$dara.isNull(request.apiKey)) {
27965
+ query["ApiKey"] = request.apiKey;
27966
+ }
27967
+
27968
+ if (!$dara.isNull(request.applicationId)) {
27969
+ query["ApplicationId"] = request.applicationId;
27970
+ }
27971
+
27972
+ if (!$dara.isNull(request.enabled)) {
27973
+ query["Enabled"] = request.enabled;
27974
+ }
27975
+
27976
+ if (!$dara.isNull(request.envShrink)) {
27977
+ query["Env"] = request.envShrink;
27978
+ }
27979
+
27980
+ if (!$dara.isNull(request.skillKey)) {
27981
+ query["SkillKey"] = request.skillKey;
27982
+ }
27983
+
27984
+ let req = new $OpenApiUtil.OpenApiRequest({
27985
+ query: OpenApiUtil.query(query),
27986
+ });
27987
+ let params = new $OpenApiUtil.Params({
27988
+ action: "UpdatePolarClawSkill",
27989
+ version: "2017-08-01",
27990
+ protocol: "HTTPS",
27991
+ pathname: "/",
27992
+ method: "POST",
27993
+ authType: "AK",
27994
+ style: "RPC",
27995
+ reqBodyType: "formData",
27996
+ bodyType: "json",
27997
+ });
27998
+ return $dara.cast<$_model.UpdatePolarClawSkillResponse>(await this.callApi(params, req, runtime), new $_model.UpdatePolarClawSkillResponse({}));
27999
+ }
28000
+
28001
+ /**
28002
+ * Updates the PolarClaw Skill configuration.
28003
+ *
28004
+ * @param request - UpdatePolarClawSkillRequest
28005
+ * @returns UpdatePolarClawSkillResponse
28006
+ */
28007
+ async updatePolarClawSkill(request: $_model.UpdatePolarClawSkillRequest): Promise<$_model.UpdatePolarClawSkillResponse> {
28008
+ let runtime = new $dara.RuntimeOptions({ });
28009
+ return await this.updatePolarClawSkillWithOptions(request, runtime);
28010
+ }
28011
+
27388
28012
  /**
27389
28013
  * Upgrades the kernel version of a PolarDB for MySQL cluster.
27390
28014
  *