@alicloud/polardb20170801 9.0.2 → 9.1.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 (248) hide show
  1. package/dist/client.d.ts +127 -40
  2. package/dist/client.js +301 -40
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddPolarFsPathMappingRequest.d.ts +14 -0
  5. package/dist/models/AddPolarFsPathMappingRequest.js.map +1 -1
  6. package/dist/models/CreateAgenticDbbranchRequest.d.ts +8 -0
  7. package/dist/models/CreateAgenticDbbranchRequest.js +2 -0
  8. package/dist/models/CreateAgenticDbbranchRequest.js.map +1 -1
  9. package/dist/models/CreateAgenticDbbranchResponseBody.d.ts +8 -0
  10. package/dist/models/CreateAgenticDbbranchResponseBody.js +2 -0
  11. package/dist/models/CreateAgenticDbbranchResponseBody.js.map +1 -1
  12. package/dist/models/CreateAgenticDbprojectRequest.d.ts +12 -4
  13. package/dist/models/CreateAgenticDbprojectRequest.js +2 -0
  14. package/dist/models/CreateAgenticDbprojectRequest.js.map +1 -1
  15. package/dist/models/CreateAgenticDbprojectResponseBody.d.ts +15 -9
  16. package/dist/models/CreateAgenticDbprojectResponseBody.js +2 -0
  17. package/dist/models/CreateAgenticDbprojectResponseBody.js.map +1 -1
  18. package/dist/models/CreateAgenticDbtenantRequest.d.ts +51 -0
  19. package/dist/models/CreateAgenticDbtenantRequest.js +64 -0
  20. package/dist/models/CreateAgenticDbtenantRequest.js.map +1 -0
  21. package/dist/models/CreateAgenticDbtenantResponse.d.ts +19 -0
  22. package/dist/models/CreateAgenticDbtenantResponse.js +69 -0
  23. package/dist/models/CreateAgenticDbtenantResponse.js.map +1 -0
  24. package/dist/models/CreateAgenticDbtenantResponseBody.d.ts +53 -0
  25. package/dist/models/CreateAgenticDbtenantResponseBody.js +66 -0
  26. package/dist/models/CreateAgenticDbtenantResponseBody.js.map +1 -0
  27. package/dist/models/CreateAidbclusterRequest.d.ts +15 -8
  28. package/dist/models/CreateAidbclusterRequest.js.map +1 -1
  29. package/dist/models/CreateAidbclusterTaskRequest.d.ts +18 -5
  30. package/dist/models/CreateAidbclusterTaskRequest.js.map +1 -1
  31. package/dist/models/CreateApplicationRequest.d.ts +39 -32
  32. package/dist/models/CreateApplicationRequest.js.map +1 -1
  33. package/dist/models/CreateApplicationResponseBody.d.ts +1 -1
  34. package/dist/models/CreateApplicationShrinkRequest.d.ts +27 -26
  35. package/dist/models/CreateApplicationShrinkRequest.js.map +1 -1
  36. package/dist/models/CreateBackupRequest.d.ts +8 -1
  37. package/dist/models/CreateBackupRequest.js.map +1 -1
  38. package/dist/models/CreateBatchTaskRequest.d.ts +10 -4
  39. package/dist/models/CreateBatchTaskRequest.js.map +1 -1
  40. package/dist/models/CreateBatchTaskShrinkRequest.d.ts +10 -4
  41. package/dist/models/CreateBatchTaskShrinkRequest.js.map +1 -1
  42. package/dist/models/DeleteAgenticDbtenantRequest.d.ts +43 -0
  43. package/dist/models/DeleteAgenticDbtenantRequest.js +62 -0
  44. package/dist/models/DeleteAgenticDbtenantRequest.js.map +1 -0
  45. package/dist/models/DeleteAgenticDbtenantResponse.d.ts +19 -0
  46. package/dist/models/DeleteAgenticDbtenantResponse.js +69 -0
  47. package/dist/models/DeleteAgenticDbtenantResponse.js.map +1 -0
  48. package/dist/models/DeleteAgenticDbtenantResponseBody.d.ts +21 -0
  49. package/dist/models/DeleteAgenticDbtenantResponseBody.js +58 -0
  50. package/dist/models/DeleteAgenticDbtenantResponseBody.js.map +1 -0
  51. package/dist/models/DescribeAgenticDbbranchRequest.d.ts +3 -3
  52. package/dist/models/DescribeAgenticDbbranchResponseBody.d.ts +19 -17
  53. package/dist/models/DescribeAgenticDbbranchResponseBody.js +2 -0
  54. package/dist/models/DescribeAgenticDbbranchResponseBody.js.map +1 -1
  55. package/dist/models/DescribeAgenticDbbranchRestoreWindowRequest.d.ts +53 -0
  56. package/dist/models/DescribeAgenticDbbranchRestoreWindowRequest.js +66 -0
  57. package/dist/models/DescribeAgenticDbbranchRestoreWindowRequest.js.map +1 -0
  58. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponse.d.ts +19 -0
  59. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponse.js +69 -0
  60. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponse.js.map +1 -0
  61. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponseBody.d.ts +54 -0
  62. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponseBody.js +70 -0
  63. package/dist/models/DescribeAgenticDbbranchRestoreWindowResponseBody.js.map +1 -0
  64. package/dist/models/DescribeAgenticDbbranchesRequest.d.ts +5 -9
  65. package/dist/models/DescribeAgenticDbbranchesRequest.js.map +1 -1
  66. package/dist/models/DescribeAgenticDbbranchesResponseBody.d.ts +19 -17
  67. package/dist/models/DescribeAgenticDbbranchesResponseBody.js +2 -0
  68. package/dist/models/DescribeAgenticDbbranchesResponseBody.js.map +1 -1
  69. package/dist/models/DescribeAgenticDbcomputeClustersRequest.d.ts +2 -2
  70. package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.d.ts +23 -18
  71. package/dist/models/DescribeAgenticDbcomputeClustersResponseBody.js.map +1 -1
  72. package/dist/models/DescribeAgenticDbprojectHistoryRetentionRequest.d.ts +45 -0
  73. package/dist/models/DescribeAgenticDbprojectHistoryRetentionRequest.js +64 -0
  74. package/dist/models/DescribeAgenticDbprojectHistoryRetentionRequest.js.map +1 -0
  75. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponse.d.ts +19 -0
  76. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponse.js +69 -0
  77. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponse.js.map +1 -0
  78. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.d.ts +49 -0
  79. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.js +68 -0
  80. package/dist/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.js.map +1 -0
  81. package/dist/models/DescribeAgenticDbprojectResponseBody.d.ts +8 -0
  82. package/dist/models/DescribeAgenticDbprojectResponseBody.js +2 -0
  83. package/dist/models/DescribeAgenticDbprojectResponseBody.js.map +1 -1
  84. package/dist/models/DescribeAgenticDbprojectsRequest.d.ts +3 -3
  85. package/dist/models/DescribeAgenticDbprojectsResponseBody.d.ts +14 -9
  86. package/dist/models/DescribeAgenticDbprojectsResponseBody.js +2 -0
  87. package/dist/models/DescribeAgenticDbprojectsResponseBody.js.map +1 -1
  88. package/dist/models/DescribeAidbclusterApiKeysResponseBody.d.ts +16 -2
  89. package/dist/models/DescribeAidbclusterApiKeysResponseBody.js.map +1 -1
  90. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +177 -28
  91. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  92. package/dist/models/DescribeAidbclusterPerformanceRequest.d.ts +7 -9
  93. package/dist/models/DescribeAidbclusterPerformanceRequest.js.map +1 -1
  94. package/dist/models/DescribeAidbclusterPerformanceResponseBody.d.ts +13 -12
  95. package/dist/models/DescribeAidbclusterPerformanceResponseBody.js.map +1 -1
  96. package/dist/models/DescribeAidbclusterTaskAttributeRequest.d.ts +1 -2
  97. package/dist/models/DescribeAidbclusterTaskAttributeRequest.js.map +1 -1
  98. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.d.ts +52 -37
  99. package/dist/models/DescribeAidbclusterTaskAttributeResponseBody.js.map +1 -1
  100. package/dist/models/DescribeAidbclusterTasksRequest.d.ts +9 -3
  101. package/dist/models/DescribeAidbclusterTasksRequest.js.map +1 -1
  102. package/dist/models/DescribeAidbclusterTasksResponseBody.d.ts +28 -13
  103. package/dist/models/DescribeAidbclusterTasksResponseBody.js.map +1 -1
  104. package/dist/models/DescribeAidbclustersRequest.d.ts +5 -5
  105. package/dist/models/DescribeAidbclustersResponseBody.d.ts +1 -1
  106. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +12 -12
  107. package/dist/models/DescribeApplicationAttributeResponseBody.d.ts +49 -41
  108. package/dist/models/DescribeApplicationAttributeResponseBody.js.map +1 -1
  109. package/dist/models/DescribeApplicationLogsRequest.d.ts +5 -5
  110. package/dist/models/DescribeApplicationSessionIdsRequest.d.ts +4 -2
  111. package/dist/models/DescribeApplicationSessionIdsRequest.js.map +1 -1
  112. package/dist/models/DescribeApplicationsRequest.d.ts +4 -1
  113. package/dist/models/DescribeApplicationsRequest.js.map +1 -1
  114. package/dist/models/DescribeBackupLogsRequest.d.ts +8 -11
  115. package/dist/models/DescribeBackupLogsRequest.js.map +1 -1
  116. package/dist/models/DescribeBackupLogsResponseBody.d.ts +1 -1
  117. package/dist/models/DescribeBackupPolicyRequest.d.ts +1 -1
  118. package/dist/models/DescribeBackupPolicyResponseBody.d.ts +70 -70
  119. package/dist/models/DescribeBackupsRequest.d.ts +7 -7
  120. package/dist/models/DescribeBackupsResponseBody.d.ts +4 -4
  121. package/dist/models/DescribeBatchTaskResponseBody.d.ts +19 -12
  122. package/dist/models/DescribeBatchTaskResponseBody.js.map +1 -1
  123. package/dist/models/DescribeBudgetPoliciesRequest.d.ts +15 -8
  124. package/dist/models/DescribeBudgetPoliciesRequest.js.map +1 -1
  125. package/dist/models/DescribeBudgetPoliciesResponseBody.d.ts +17 -17
  126. package/dist/models/DescribeColdStorageInstanceRequest.d.ts +14 -20
  127. package/dist/models/DescribeColdStorageInstanceRequest.js.map +1 -1
  128. package/dist/models/DescribeColdStorageInstanceResponseBody.d.ts +26 -33
  129. package/dist/models/DescribeColdStorageInstanceResponseBody.js.map +1 -1
  130. package/dist/models/DescribeConsumersRequest.d.ts +13 -2
  131. package/dist/models/DescribeConsumersRequest.js.map +1 -1
  132. package/dist/models/DescribeConsumersResponseBody.d.ts +11 -11
  133. package/dist/models/DescribeCostRulesRequest.d.ts +3 -3
  134. package/dist/models/DescribeCostRulesResponseBody.d.ts +5 -5
  135. package/dist/models/DescribeDbClusterAttributeZonalRequest.d.ts +1 -1
  136. package/dist/models/DescribeDbClusterAttributeZonalResponseBody.d.ts +158 -269
  137. package/dist/models/DescribeDbClusterAttributeZonalResponseBody.js.map +1 -1
  138. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +30 -0
  139. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  140. package/dist/models/DescribeDbclustersRequest.d.ts +3 -3
  141. package/dist/models/DescribeExtensionsRequest.d.ts +7 -0
  142. package/dist/models/DescribeExtensionsRequest.js.map +1 -1
  143. package/dist/models/DescribeExtensionsResponseBody.d.ts +23 -23
  144. package/dist/models/DescribeGatewayAttributeResponseBody.d.ts +12 -0
  145. package/dist/models/DescribeGatewayAttributeResponseBody.js.map +1 -1
  146. package/dist/models/ModifyAgenticDbprojectHistoryRetentionRequest.d.ts +63 -0
  147. package/dist/models/ModifyAgenticDbprojectHistoryRetentionRequest.js +66 -0
  148. package/dist/models/ModifyAgenticDbprojectHistoryRetentionRequest.js.map +1 -0
  149. package/dist/models/ModifyAgenticDbprojectHistoryRetentionResponse.d.ts +19 -0
  150. package/dist/models/ModifyAgenticDbprojectHistoryRetentionResponse.js +69 -0
  151. package/dist/models/ModifyAgenticDbprojectHistoryRetentionResponse.js.map +1 -0
  152. package/dist/models/ModifyAgenticDbprojectHistoryRetentionResponseBody.d.ts +53 -0
  153. package/dist/models/ModifyAgenticDbprojectHistoryRetentionResponseBody.js +66 -0
  154. package/dist/models/ModifyAgenticDbprojectHistoryRetentionResponseBody.js.map +1 -0
  155. package/dist/models/ModifyBackupPolicyRequest.d.ts +102 -98
  156. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  157. package/dist/models/ModifyBackupPolicyShrinkRequest.d.ts +75 -75
  158. package/dist/models/ModifyDbclusterRequest.d.ts +3 -0
  159. package/dist/models/ModifyDbclusterRequest.js.map +1 -1
  160. package/dist/models/SearchMemoriesRequest.d.ts +6 -0
  161. package/dist/models/SearchMemoriesRequest.js.map +1 -1
  162. package/dist/models/SearchMemoriesResponseBody.d.ts +16 -0
  163. package/dist/models/SearchMemoriesResponseBody.js.map +1 -1
  164. package/dist/models/model.d.ts +15 -0
  165. package/dist/models/model.js +58 -28
  166. package/dist/models/model.js.map +1 -1
  167. package/package.json +1 -1
  168. package/src/client.ts +334 -40
  169. package/src/models/AddPolarFsPathMappingRequest.ts +14 -0
  170. package/src/models/CreateAgenticDbbranchRequest.ts +10 -0
  171. package/src/models/CreateAgenticDbbranchResponseBody.ts +10 -0
  172. package/src/models/CreateAgenticDbprojectRequest.ts +14 -4
  173. package/src/models/CreateAgenticDbprojectResponseBody.ts +17 -9
  174. package/src/models/CreateAgenticDbtenantRequest.ts +70 -0
  175. package/src/models/CreateAgenticDbtenantResponse.ts +40 -0
  176. package/src/models/CreateAgenticDbtenantResponseBody.ts +74 -0
  177. package/src/models/CreateAidbclusterRequest.ts +15 -8
  178. package/src/models/CreateAidbclusterTaskRequest.ts +18 -5
  179. package/src/models/CreateApplicationRequest.ts +39 -32
  180. package/src/models/CreateApplicationResponseBody.ts +1 -1
  181. package/src/models/CreateApplicationShrinkRequest.ts +27 -26
  182. package/src/models/CreateBackupRequest.ts +8 -1
  183. package/src/models/CreateBatchTaskRequest.ts +10 -4
  184. package/src/models/CreateBatchTaskShrinkRequest.ts +10 -4
  185. package/src/models/DeleteAgenticDbtenantRequest.ts +60 -0
  186. package/src/models/DeleteAgenticDbtenantResponse.ts +40 -0
  187. package/src/models/DeleteAgenticDbtenantResponseBody.ts +34 -0
  188. package/src/models/DescribeAgenticDbbranchRequest.ts +3 -3
  189. package/src/models/DescribeAgenticDbbranchResponseBody.ts +21 -17
  190. package/src/models/DescribeAgenticDbbranchRestoreWindowRequest.ts +74 -0
  191. package/src/models/DescribeAgenticDbbranchRestoreWindowResponse.ts +40 -0
  192. package/src/models/DescribeAgenticDbbranchRestoreWindowResponseBody.ts +79 -0
  193. package/src/models/DescribeAgenticDbbranchesRequest.ts +5 -9
  194. package/src/models/DescribeAgenticDbbranchesResponseBody.ts +21 -17
  195. package/src/models/DescribeAgenticDbcomputeClustersRequest.ts +2 -2
  196. package/src/models/DescribeAgenticDbcomputeClustersResponseBody.ts +23 -18
  197. package/src/models/DescribeAgenticDbprojectHistoryRetentionRequest.ts +64 -0
  198. package/src/models/DescribeAgenticDbprojectHistoryRetentionResponse.ts +40 -0
  199. package/src/models/DescribeAgenticDbprojectHistoryRetentionResponseBody.ts +72 -0
  200. package/src/models/DescribeAgenticDbprojectResponseBody.ts +10 -0
  201. package/src/models/DescribeAgenticDbprojectsRequest.ts +3 -3
  202. package/src/models/DescribeAgenticDbprojectsResponseBody.ts +16 -9
  203. package/src/models/DescribeAidbclusterApiKeysResponseBody.ts +16 -2
  204. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +178 -29
  205. package/src/models/DescribeAidbclusterPerformanceRequest.ts +7 -9
  206. package/src/models/DescribeAidbclusterPerformanceResponseBody.ts +13 -12
  207. package/src/models/DescribeAidbclusterTaskAttributeRequest.ts +1 -2
  208. package/src/models/DescribeAidbclusterTaskAttributeResponseBody.ts +52 -37
  209. package/src/models/DescribeAidbclusterTasksRequest.ts +9 -3
  210. package/src/models/DescribeAidbclusterTasksResponseBody.ts +28 -13
  211. package/src/models/DescribeAidbclustersRequest.ts +5 -5
  212. package/src/models/DescribeAidbclustersResponseBody.ts +1 -1
  213. package/src/models/DescribeApikeyAttributeResponseBody.ts +12 -12
  214. package/src/models/DescribeApplicationAttributeResponseBody.ts +49 -41
  215. package/src/models/DescribeApplicationLogsRequest.ts +5 -5
  216. package/src/models/DescribeApplicationSessionIdsRequest.ts +4 -2
  217. package/src/models/DescribeApplicationsRequest.ts +4 -1
  218. package/src/models/DescribeBackupLogsRequest.ts +8 -11
  219. package/src/models/DescribeBackupLogsResponseBody.ts +1 -1
  220. package/src/models/DescribeBackupPolicyRequest.ts +1 -1
  221. package/src/models/DescribeBackupPolicyResponseBody.ts +70 -70
  222. package/src/models/DescribeBackupsRequest.ts +7 -7
  223. package/src/models/DescribeBackupsResponseBody.ts +4 -4
  224. package/src/models/DescribeBatchTaskResponseBody.ts +19 -12
  225. package/src/models/DescribeBudgetPoliciesRequest.ts +15 -8
  226. package/src/models/DescribeBudgetPoliciesResponseBody.ts +17 -17
  227. package/src/models/DescribeColdStorageInstanceRequest.ts +14 -20
  228. package/src/models/DescribeColdStorageInstanceResponseBody.ts +26 -33
  229. package/src/models/DescribeConsumersRequest.ts +13 -2
  230. package/src/models/DescribeConsumersResponseBody.ts +11 -11
  231. package/src/models/DescribeCostRulesRequest.ts +3 -3
  232. package/src/models/DescribeCostRulesResponseBody.ts +5 -5
  233. package/src/models/DescribeDbClusterAttributeZonalRequest.ts +1 -1
  234. package/src/models/DescribeDbClusterAttributeZonalResponseBody.ts +162 -273
  235. package/src/models/DescribeDbclusterAttributeResponseBody.ts +30 -0
  236. package/src/models/DescribeDbclustersRequest.ts +3 -3
  237. package/src/models/DescribeExtensionsRequest.ts +7 -0
  238. package/src/models/DescribeExtensionsResponseBody.ts +23 -23
  239. package/src/models/DescribeGatewayAttributeResponseBody.ts +12 -0
  240. package/src/models/ModifyAgenticDbprojectHistoryRetentionRequest.ts +84 -0
  241. package/src/models/ModifyAgenticDbprojectHistoryRetentionResponse.ts +40 -0
  242. package/src/models/ModifyAgenticDbprojectHistoryRetentionResponseBody.ts +74 -0
  243. package/src/models/ModifyBackupPolicyRequest.ts +102 -98
  244. package/src/models/ModifyBackupPolicyShrinkRequest.ts +75 -75
  245. package/src/models/ModifyDbclusterRequest.ts +3 -0
  246. package/src/models/SearchMemoriesRequest.ts +6 -0
  247. package/src/models/SearchMemoriesResponseBody.ts +16 -0
  248. package/src/models/model.ts +15 -0
package/src/client.ts CHANGED
@@ -2776,6 +2776,10 @@ export default class Client extends OpenApi {
2776
2776
  query["ParentBranchId"] = request.parentBranchId;
2777
2777
  }
2778
2778
 
2779
+ if (!$dara.isNull(request.parentTimestamp)) {
2780
+ query["ParentTimestamp"] = request.parentTimestamp;
2781
+ }
2782
+
2779
2783
  if (!$dara.isNull(request.projectId)) {
2780
2784
  query["ProjectId"] = request.projectId;
2781
2785
  }
@@ -2838,6 +2842,10 @@ export default class Client extends OpenApi {
2838
2842
  query["Description"] = request.description;
2839
2843
  }
2840
2844
 
2845
+ if (!$dara.isNull(request.historyRetentionSeconds)) {
2846
+ query["HistoryRetentionSeconds"] = request.historyRetentionSeconds;
2847
+ }
2848
+
2841
2849
  if (!$dara.isNull(request.projectName)) {
2842
2850
  query["ProjectName"] = request.projectName;
2843
2851
  }
@@ -2878,6 +2886,66 @@ export default class Client extends OpenApi {
2878
2886
  return await this.createAgenticDBProjectWithOptions(request, runtime);
2879
2887
  }
2880
2888
 
2889
+ /**
2890
+ * Creates an AgenticDB tenant.
2891
+ *
2892
+ * @remarks
2893
+ * Creates an independent business tenant without creating an API key.
2894
+ *
2895
+ * @param request - CreateAgenticDBTenantRequest
2896
+ * @param runtime - runtime options for this request RuntimeOptions
2897
+ * @returns CreateAgenticDBTenantResponse
2898
+ */
2899
+ async createAgenticDBTenantWithOptions(request: $_model.CreateAgenticDBTenantRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAgenticDBTenantResponse> {
2900
+ request.validate();
2901
+ let query = { };
2902
+ if (!$dara.isNull(request.DBClusterId)) {
2903
+ query["DBClusterId"] = request.DBClusterId;
2904
+ }
2905
+
2906
+ if (!$dara.isNull(request.description)) {
2907
+ query["Description"] = request.description;
2908
+ }
2909
+
2910
+ if (!$dara.isNull(request.regionId)) {
2911
+ query["RegionId"] = request.regionId;
2912
+ }
2913
+
2914
+ if (!$dara.isNull(request.tenantName)) {
2915
+ query["TenantName"] = request.tenantName;
2916
+ }
2917
+
2918
+ let req = new $OpenApiUtil.OpenApiRequest({
2919
+ query: OpenApiUtil.query(query),
2920
+ });
2921
+ let params = new $OpenApiUtil.Params({
2922
+ action: "CreateAgenticDBTenant",
2923
+ version: "2017-08-01",
2924
+ protocol: "HTTPS",
2925
+ pathname: "/",
2926
+ method: "POST",
2927
+ authType: "AK",
2928
+ style: "RPC",
2929
+ reqBodyType: "formData",
2930
+ bodyType: "json",
2931
+ });
2932
+ return $dara.cast<$_model.CreateAgenticDBTenantResponse>(await this.callApi(params, req, runtime), new $_model.CreateAgenticDBTenantResponse({}));
2933
+ }
2934
+
2935
+ /**
2936
+ * Creates an AgenticDB tenant.
2937
+ *
2938
+ * @remarks
2939
+ * Creates an independent business tenant without creating an API key.
2940
+ *
2941
+ * @param request - CreateAgenticDBTenantRequest
2942
+ * @returns CreateAgenticDBTenantResponse
2943
+ */
2944
+ async createAgenticDBTenant(request: $_model.CreateAgenticDBTenantRequest): Promise<$_model.CreateAgenticDBTenantResponse> {
2945
+ let runtime = new $dara.RuntimeOptions({ });
2946
+ return await this.createAgenticDBTenantWithOptions(request, runtime);
2947
+ }
2948
+
2881
2949
  /**
2882
2950
  * Creates an API key for an AgenticDB tenant.
2883
2951
  *
@@ -3346,9 +3414,9 @@ export default class Client extends OpenApi {
3346
3414
  * Creates a full snapshot backup for a PolarDB cluster.
3347
3415
  *
3348
3416
  * @remarks
3349
- * > * Each cluster can have up to three manually created backups at the same time.
3350
- * > * 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 you call this operation.
3351
- * > * 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.
3417
+ * > * Each cluster can have up to three manually created backups at a time.
3418
+ * > * If the error message `Exceeding the daily backup times of this DB cluster` appears, it indicates that three manually created backups already exist in your cluster. [Delete a backup](https://help.aliyun.com/document_detail/98101.html) before you call this operation.
3419
+ * > * After you call this operation, a backup task is created in the background. If the data volume is large, the task may take a long time to complete.
3352
3420
  *
3353
3421
  * @param request - CreateBackupRequest
3354
3422
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3406,9 +3474,9 @@ export default class Client extends OpenApi {
3406
3474
  * Creates a full snapshot backup for a PolarDB cluster.
3407
3475
  *
3408
3476
  * @remarks
3409
- * > * Each cluster can have up to three manually created backups at the same time.
3410
- * > * 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 you call this operation.
3411
- * > * 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.
3477
+ * > * Each cluster can have up to three manually created backups at a time.
3478
+ * > * If the error message `Exceeding the daily backup times of this DB cluster` appears, it indicates that three manually created backups already exist in your cluster. [Delete a backup](https://help.aliyun.com/document_detail/98101.html) before you call this operation.
3479
+ * > * After you call this operation, a backup task is created in the background. If the data volume is large, the task may take a long time to complete.
3412
3480
  *
3413
3481
  * @param request - CreateBackupRequest
3414
3482
  * @returns CreateBackupResponse
@@ -7638,6 +7706,62 @@ export default class Client extends OpenApi {
7638
7706
  return await this.deleteAgenticDBProjectWithOptions(request, runtime);
7639
7707
  }
7640
7708
 
7709
+ /**
7710
+ * Deletes an AgenticDB tenant.
7711
+ *
7712
+ * @remarks
7713
+ * Only tenants whose projects and branches have been completely cleaned up can be deleted. After a successful deletion, all API keys associated with the tenant become invalid. This operation does not automatically clean up projects, branches, or storage.
7714
+ *
7715
+ * @param request - DeleteAgenticDBTenantRequest
7716
+ * @param runtime - runtime options for this request RuntimeOptions
7717
+ * @returns DeleteAgenticDBTenantResponse
7718
+ */
7719
+ async deleteAgenticDBTenantWithOptions(request: $_model.DeleteAgenticDBTenantRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteAgenticDBTenantResponse> {
7720
+ request.validate();
7721
+ let query = { };
7722
+ if (!$dara.isNull(request.DBClusterId)) {
7723
+ query["DBClusterId"] = request.DBClusterId;
7724
+ }
7725
+
7726
+ if (!$dara.isNull(request.regionId)) {
7727
+ query["RegionId"] = request.regionId;
7728
+ }
7729
+
7730
+ if (!$dara.isNull(request.tenantId)) {
7731
+ query["TenantId"] = request.tenantId;
7732
+ }
7733
+
7734
+ let req = new $OpenApiUtil.OpenApiRequest({
7735
+ query: OpenApiUtil.query(query),
7736
+ });
7737
+ let params = new $OpenApiUtil.Params({
7738
+ action: "DeleteAgenticDBTenant",
7739
+ version: "2017-08-01",
7740
+ protocol: "HTTPS",
7741
+ pathname: "/",
7742
+ method: "POST",
7743
+ authType: "AK",
7744
+ style: "RPC",
7745
+ reqBodyType: "formData",
7746
+ bodyType: "json",
7747
+ });
7748
+ return $dara.cast<$_model.DeleteAgenticDBTenantResponse>(await this.callApi(params, req, runtime), new $_model.DeleteAgenticDBTenantResponse({}));
7749
+ }
7750
+
7751
+ /**
7752
+ * Deletes an AgenticDB tenant.
7753
+ *
7754
+ * @remarks
7755
+ * Only tenants whose projects and branches have been completely cleaned up can be deleted. After a successful deletion, all API keys associated with the tenant become invalid. This operation does not automatically clean up projects, branches, or storage.
7756
+ *
7757
+ * @param request - DeleteAgenticDBTenantRequest
7758
+ * @returns DeleteAgenticDBTenantResponse
7759
+ */
7760
+ async deleteAgenticDBTenant(request: $_model.DeleteAgenticDBTenantRequest): Promise<$_model.DeleteAgenticDBTenantResponse> {
7761
+ let runtime = new $dara.RuntimeOptions({ });
7762
+ return await this.deleteAgenticDBTenantWithOptions(request, runtime);
7763
+ }
7764
+
7641
7765
  /**
7642
7766
  * Deletes an API key of an AgenticDB tenant.
7643
7767
  *
@@ -10243,7 +10367,7 @@ export default class Client extends OpenApi {
10243
10367
  }
10244
10368
 
10245
10369
  /**
10246
- * Queries the API key of a model service.
10370
+ * Queries the API keys for the model service.
10247
10371
  *
10248
10372
  * @param request - DescribeAIDBClusterApiKeysRequest
10249
10373
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10278,7 +10402,7 @@ export default class Client extends OpenApi {
10278
10402
  }
10279
10403
 
10280
10404
  /**
10281
- * Queries the API key of a model service.
10405
+ * Queries the API keys for the model service.
10282
10406
  *
10283
10407
  * @param request - DescribeAIDBClusterApiKeysRequest
10284
10408
  * @returns DescribeAIDBClusterApiKeysResponse
@@ -10703,12 +10827,12 @@ export default class Client extends OpenApi {
10703
10827
  }
10704
10828
 
10705
10829
  /**
10706
- * Queries the list of model operators for a specified PolarDB database instance.
10830
+ * Retrieves the list of model operators for a specified PolarDB instance.
10707
10831
  *
10708
10832
  * @remarks
10709
10833
  * ## Request description
10710
- * - This operation filters and returns a list of model operators based on the RelativeDBClusterId and KubeType parameters.
10711
- * - Note: Make sure that the RelativeDBClusterId provided in the request matches the instance ID of an existing PolarDB database instance. Otherwise, the data cannot be retrieved.
10834
+ * - This operation allows you to filter and retrieve a list of model operators by using the `RelativeDBClusterId` and `KubeType` parameters.
10835
+ * - Note: Make sure that the `RelativeDBClusterId` you provide matches the instance ID of an existing PolarDB database. Otherwise, the data cannot be retrieved.
10712
10836
  *
10713
10837
  * @param request - DescribeAIDBClusterTasksRequest
10714
10838
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10771,12 +10895,12 @@ export default class Client extends OpenApi {
10771
10895
  }
10772
10896
 
10773
10897
  /**
10774
- * Queries the list of model operators for a specified PolarDB database instance.
10898
+ * Retrieves the list of model operators for a specified PolarDB instance.
10775
10899
  *
10776
10900
  * @remarks
10777
10901
  * ## Request description
10778
- * - This operation filters and returns a list of model operators based on the RelativeDBClusterId and KubeType parameters.
10779
- * - Note: Make sure that the RelativeDBClusterId provided in the request matches the instance ID of an existing PolarDB database instance. Otherwise, the data cannot be retrieved.
10902
+ * - This operation allows you to filter and retrieve a list of model operators by using the `RelativeDBClusterId` and `KubeType` parameters.
10903
+ * - Note: Make sure that the `RelativeDBClusterId` you provide matches the instance ID of an existing PolarDB database. Otherwise, the data cannot be retrieved.
10780
10904
  *
10781
10905
  * @param request - DescribeAIDBClusterTasksRequest
10782
10906
  * @returns DescribeAIDBClusterTasksResponse
@@ -11552,6 +11676,64 @@ export default class Client extends OpenApi {
11552
11676
  return await this.describeAgenticDBBranchLineageWithOptions(request, runtime);
11553
11677
  }
11554
11678
 
11679
+ /**
11680
+ * 查询 AgenticDB 分支最早可恢复时间
11681
+ *
11682
+ * @param request - DescribeAgenticDBBranchRestoreWindowRequest
11683
+ * @param runtime - runtime options for this request RuntimeOptions
11684
+ * @returns DescribeAgenticDBBranchRestoreWindowResponse
11685
+ */
11686
+ async describeAgenticDBBranchRestoreWindowWithOptions(request: $_model.DescribeAgenticDBBranchRestoreWindowRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAgenticDBBranchRestoreWindowResponse> {
11687
+ request.validate();
11688
+ let query = { };
11689
+ if (!$dara.isNull(request.branchId)) {
11690
+ query["BranchId"] = request.branchId;
11691
+ }
11692
+
11693
+ if (!$dara.isNull(request.DBClusterId)) {
11694
+ query["DBClusterId"] = request.DBClusterId;
11695
+ }
11696
+
11697
+ if (!$dara.isNull(request.projectId)) {
11698
+ query["ProjectId"] = request.projectId;
11699
+ }
11700
+
11701
+ if (!$dara.isNull(request.regionId)) {
11702
+ query["RegionId"] = request.regionId;
11703
+ }
11704
+
11705
+ if (!$dara.isNull(request.tenantId)) {
11706
+ query["TenantId"] = request.tenantId;
11707
+ }
11708
+
11709
+ let req = new $OpenApiUtil.OpenApiRequest({
11710
+ query: OpenApiUtil.query(query),
11711
+ });
11712
+ let params = new $OpenApiUtil.Params({
11713
+ action: "DescribeAgenticDBBranchRestoreWindow",
11714
+ version: "2017-08-01",
11715
+ protocol: "HTTPS",
11716
+ pathname: "/",
11717
+ method: "POST",
11718
+ authType: "AK",
11719
+ style: "RPC",
11720
+ reqBodyType: "formData",
11721
+ bodyType: "json",
11722
+ });
11723
+ return $dara.cast<$_model.DescribeAgenticDBBranchRestoreWindowResponse>(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBBranchRestoreWindowResponse({}));
11724
+ }
11725
+
11726
+ /**
11727
+ * 查询 AgenticDB 分支最早可恢复时间
11728
+ *
11729
+ * @param request - DescribeAgenticDBBranchRestoreWindowRequest
11730
+ * @returns DescribeAgenticDBBranchRestoreWindowResponse
11731
+ */
11732
+ async describeAgenticDBBranchRestoreWindow(request: $_model.DescribeAgenticDBBranchRestoreWindowRequest): Promise<$_model.DescribeAgenticDBBranchRestoreWindowResponse> {
11733
+ let runtime = new $dara.RuntimeOptions({ });
11734
+ return await this.describeAgenticDBBranchRestoreWindowWithOptions(request, runtime);
11735
+ }
11736
+
11555
11737
  /**
11556
11738
  * Queries the list of AgenticDB branches.
11557
11739
  *
@@ -11715,7 +11897,7 @@ export default class Client extends OpenApi {
11715
11897
  }
11716
11898
 
11717
11899
  /**
11718
- * Queries the list of AgenticDB compute instances.
11900
+ * Queries a list of AgenticDB compute instances.
11719
11901
  *
11720
11902
  * @param request - DescribeAgenticDBComputeClustersRequest
11721
11903
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11766,7 +11948,7 @@ export default class Client extends OpenApi {
11766
11948
  }
11767
11949
 
11768
11950
  /**
11769
- * Queries the list of AgenticDB compute instances.
11951
+ * Queries a list of AgenticDB compute instances.
11770
11952
  *
11771
11953
  * @param request - DescribeAgenticDBComputeClustersRequest
11772
11954
  * @returns DescribeAgenticDBComputeClustersResponse
@@ -11831,7 +12013,61 @@ export default class Client extends OpenApi {
11831
12013
  }
11832
12014
 
11833
12015
  /**
11834
- * Queries the list of AgenticDB projects.
12016
+ * 查询 AgenticDB 项目实际历史保留窗口
12017
+ *
12018
+ * @param request - DescribeAgenticDBProjectHistoryRetentionRequest
12019
+ * @param runtime - runtime options for this request RuntimeOptions
12020
+ * @returns DescribeAgenticDBProjectHistoryRetentionResponse
12021
+ */
12022
+ async describeAgenticDBProjectHistoryRetentionWithOptions(request: $_model.DescribeAgenticDBProjectHistoryRetentionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeAgenticDBProjectHistoryRetentionResponse> {
12023
+ request.validate();
12024
+ let query = { };
12025
+ if (!$dara.isNull(request.DBClusterId)) {
12026
+ query["DBClusterId"] = request.DBClusterId;
12027
+ }
12028
+
12029
+ if (!$dara.isNull(request.projectId)) {
12030
+ query["ProjectId"] = request.projectId;
12031
+ }
12032
+
12033
+ if (!$dara.isNull(request.regionId)) {
12034
+ query["RegionId"] = request.regionId;
12035
+ }
12036
+
12037
+ if (!$dara.isNull(request.tenantId)) {
12038
+ query["TenantId"] = request.tenantId;
12039
+ }
12040
+
12041
+ let req = new $OpenApiUtil.OpenApiRequest({
12042
+ query: OpenApiUtil.query(query),
12043
+ });
12044
+ let params = new $OpenApiUtil.Params({
12045
+ action: "DescribeAgenticDBProjectHistoryRetention",
12046
+ version: "2017-08-01",
12047
+ protocol: "HTTPS",
12048
+ pathname: "/",
12049
+ method: "POST",
12050
+ authType: "AK",
12051
+ style: "RPC",
12052
+ reqBodyType: "formData",
12053
+ bodyType: "json",
12054
+ });
12055
+ return $dara.cast<$_model.DescribeAgenticDBProjectHistoryRetentionResponse>(await this.callApi(params, req, runtime), new $_model.DescribeAgenticDBProjectHistoryRetentionResponse({}));
12056
+ }
12057
+
12058
+ /**
12059
+ * 查询 AgenticDB 项目实际历史保留窗口
12060
+ *
12061
+ * @param request - DescribeAgenticDBProjectHistoryRetentionRequest
12062
+ * @returns DescribeAgenticDBProjectHistoryRetentionResponse
12063
+ */
12064
+ async describeAgenticDBProjectHistoryRetention(request: $_model.DescribeAgenticDBProjectHistoryRetentionRequest): Promise<$_model.DescribeAgenticDBProjectHistoryRetentionResponse> {
12065
+ let runtime = new $dara.RuntimeOptions({ });
12066
+ return await this.describeAgenticDBProjectHistoryRetentionWithOptions(request, runtime);
12067
+ }
12068
+
12069
+ /**
12070
+ * Queries a list of AgenticDB projects.
11835
12071
  *
11836
12072
  * @param request - DescribeAgenticDBProjectsRequest
11837
12073
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11886,7 +12122,7 @@ export default class Client extends OpenApi {
11886
12122
  }
11887
12123
 
11888
12124
  /**
11889
- * Queries the list of AgenticDB projects.
12125
+ * Queries a list of AgenticDB projects.
11890
12126
  *
11891
12127
  * @param request - DescribeAgenticDBProjectsRequest
11892
12128
  * @returns DescribeAgenticDBProjectsResponse
@@ -11955,7 +12191,7 @@ export default class Client extends OpenApi {
11955
12191
  }
11956
12192
 
11957
12193
  /**
11958
- * Queries the details of a specified API key.
12194
+ * Queries the details of the API key.
11959
12195
  *
11960
12196
  * @param request - DescribeApikeyAttributeRequest
11961
12197
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11998,7 +12234,7 @@ export default class Client extends OpenApi {
11998
12234
  }
11999
12235
 
12000
12236
  /**
12001
- * Queries the details of a specified API key.
12237
+ * Queries the details of the API key.
12002
12238
  *
12003
12239
  * @param request - DescribeApikeyAttributeRequest
12004
12240
  * @returns DescribeApikeyAttributeResponse
@@ -12012,7 +12248,7 @@ export default class Client extends OpenApi {
12012
12248
  * Queries the details of a specified PolarDB instance application.
12013
12249
  *
12014
12250
  * @remarks
12015
- * This API queries all relevant information about a specific PolarDB application, including but not limited to component details and connection endpoints.
12251
+ * This API queries all relevant information about a specific PolarDB application, including but not limited to component details and endpoints.
12016
12252
  *
12017
12253
  * @param request - DescribeApplicationAttributeRequest
12018
12254
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12046,7 +12282,7 @@ export default class Client extends OpenApi {
12046
12282
  * Queries the details of a specified PolarDB instance application.
12047
12283
  *
12048
12284
  * @remarks
12049
- * This API queries all relevant information about a specific PolarDB application, including but not limited to component details and connection endpoints.
12285
+ * This API queries all relevant information about a specific PolarDB application, including but not limited to component details and endpoints.
12050
12286
  *
12051
12287
  * @param request - DescribeApplicationAttributeRequest
12052
12288
  * @returns DescribeApplicationAttributeResponse
@@ -12553,7 +12789,7 @@ export default class Client extends OpenApi {
12553
12789
  }
12554
12790
 
12555
12791
  /**
12556
- * Queries the list of applications for all PolarDB instances in a specified region.
12792
+ * Retrieves a list of applications for all PolarDB instances in a specified region.
12557
12793
  *
12558
12794
  * @param request - DescribeApplicationsRequest
12559
12795
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12608,7 +12844,7 @@ export default class Client extends OpenApi {
12608
12844
  }
12609
12845
 
12610
12846
  /**
12611
- * Queries the list of applications for all PolarDB instances in a specified region.
12847
+ * Retrieves a list of applications for all PolarDB instances in a specified region.
12612
12848
  *
12613
12849
  * @param request - DescribeApplicationsRequest
12614
12850
  * @returns DescribeApplicationsResponse
@@ -12805,7 +13041,7 @@ export default class Client extends OpenApi {
12805
13041
  }
12806
13042
 
12807
13043
  /**
12808
- * Queries a list of backup logs and returns their download URLs.
13044
+ * Queries the list of backup logs and retrieves their download URLs.
12809
13045
  *
12810
13046
  * @param request - DescribeBackupLogsRequest
12811
13047
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12872,7 +13108,7 @@ export default class Client extends OpenApi {
12872
13108
  }
12873
13109
 
12874
13110
  /**
12875
- * Queries a list of backup logs and returns their download URLs.
13111
+ * Queries the list of backup logs and retrieves their download URLs.
12876
13112
  *
12877
13113
  * @param request - DescribeBackupLogsRequest
12878
13114
  * @returns DescribeBackupLogsResponse
@@ -13155,7 +13391,7 @@ export default class Client extends OpenApi {
13155
13391
  }
13156
13392
 
13157
13393
  /**
13158
- * Queries the status of a batch task.
13394
+ * Queries the status details of a batch task.
13159
13395
  *
13160
13396
  * @param request - DescribeBatchTaskRequest
13161
13397
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13186,7 +13422,7 @@ export default class Client extends OpenApi {
13186
13422
  }
13187
13423
 
13188
13424
  /**
13189
- * Queries the status of a batch task.
13425
+ * Queries the status details of a batch task.
13190
13426
  *
13191
13427
  * @param request - DescribeBatchTaskRequest
13192
13428
  * @returns DescribeBatchTaskResponse
@@ -13265,7 +13501,7 @@ export default class Client extends OpenApi {
13265
13501
  }
13266
13502
 
13267
13503
  /**
13268
- * Queries cost budget policies.
13504
+ * Queries budget policies.
13269
13505
  *
13270
13506
  * @param request - DescribeBudgetPoliciesRequest
13271
13507
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13328,7 +13564,7 @@ export default class Client extends OpenApi {
13328
13564
  }
13329
13565
 
13330
13566
  /**
13331
- * Queries cost budget policies.
13567
+ * Queries budget policies.
13332
13568
  *
13333
13569
  * @param request - DescribeBudgetPoliciesRequest
13334
13570
  * @returns DescribeBudgetPoliciesResponse
@@ -13475,7 +13711,7 @@ export default class Client extends OpenApi {
13475
13711
  }
13476
13712
 
13477
13713
  /**
13478
- * Queries cold storage instances.
13714
+ * Queries cold storage instance information.
13479
13715
  *
13480
13716
  * @param request - DescribeColdStorageInstanceRequest
13481
13717
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13562,7 +13798,7 @@ export default class Client extends OpenApi {
13562
13798
  }
13563
13799
 
13564
13800
  /**
13565
- * Queries cold storage instances.
13801
+ * Queries cold storage instance information.
13566
13802
  *
13567
13803
  * @param request - DescribeColdStorageInstanceRequest
13568
13804
  * @returns DescribeColdStorageInstanceResponse
@@ -13631,7 +13867,7 @@ export default class Client extends OpenApi {
13631
13867
  }
13632
13868
 
13633
13869
  /**
13634
- * Queries the list of consumers.
13870
+ * Queries a list of consumers.
13635
13871
  *
13636
13872
  * @param request - DescribeConsumersRequest
13637
13873
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13690,7 +13926,7 @@ export default class Client extends OpenApi {
13690
13926
  }
13691
13927
 
13692
13928
  /**
13693
- * Queries the list of consumers.
13929
+ * Queries a list of consumers.
13694
13930
  *
13695
13931
  * @param request - DescribeConsumersRequest
13696
13932
  * @returns DescribeConsumersResponse
@@ -15375,7 +15611,7 @@ export default class Client extends OpenApi {
15375
15611
  }
15376
15612
 
15377
15613
  /**
15378
- * Queries the list of PolarDB clusters or the details of clusters with RAM authorization.
15614
+ * Queries a list of PolarDB clusters or the details of clusters with RAM authorization.
15379
15615
  *
15380
15616
  * @param request - DescribeDBClustersRequest
15381
15617
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15486,7 +15722,7 @@ export default class Client extends OpenApi {
15486
15722
  }
15487
15723
 
15488
15724
  /**
15489
- * Queries the list of PolarDB clusters or the details of clusters with RAM authorization.
15725
+ * Queries a list of PolarDB clusters or the details of clusters with RAM authorization.
15490
15726
  *
15491
15727
  * @param request - DescribeDBClustersRequest
15492
15728
  * @returns DescribeDBClustersResponse
@@ -16519,7 +16755,7 @@ export default class Client extends OpenApi {
16519
16755
  }
16520
16756
 
16521
16757
  /**
16522
- * Queries the attributes of an PolarDB on ENS cluster.
16758
+ * Queries the details of an edge cluster.
16523
16759
  *
16524
16760
  * @param request - DescribeDbClusterAttributeZonalRequest
16525
16761
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16570,7 +16806,7 @@ export default class Client extends OpenApi {
16570
16806
  }
16571
16807
 
16572
16808
  /**
16573
- * Queries the attributes of an PolarDB on ENS cluster.
16809
+ * Queries the details of an edge cluster.
16574
16810
  *
16575
16811
  * @param request - DescribeDbClusterAttributeZonalRequest
16576
16812
  * @returns DescribeDbClusterAttributeZonalResponse
@@ -16783,7 +17019,7 @@ export default class Client extends OpenApi {
16783
17019
  }
16784
17020
 
16785
17021
  /**
16786
- * Retrieves the details of extensions.
17022
+ * Queries plugin details.
16787
17023
  *
16788
17024
  * @param request - DescribeExtensionsRequest
16789
17025
  * @param runtime - runtime options for this request RuntimeOptions
@@ -16838,7 +17074,7 @@ export default class Client extends OpenApi {
16838
17074
  }
16839
17075
 
16840
17076
  /**
16841
- * Retrieves the details of extensions.
17077
+ * Queries plugin details.
16842
17078
  *
16843
17079
  * @param request - DescribeExtensionsRequest
16844
17080
  * @returns DescribeExtensionsResponse
@@ -24450,6 +24686,64 @@ export default class Client extends OpenApi {
24450
24686
  return await this.modifyActiveOperationTasksWithOptions(request, runtime);
24451
24687
  }
24452
24688
 
24689
+ /**
24690
+ * Modifies the history retention window of an AgenticDB project.
24691
+ *
24692
+ * @param request - ModifyAgenticDBProjectHistoryRetentionRequest
24693
+ * @param runtime - runtime options for this request RuntimeOptions
24694
+ * @returns ModifyAgenticDBProjectHistoryRetentionResponse
24695
+ */
24696
+ async modifyAgenticDBProjectHistoryRetentionWithOptions(request: $_model.ModifyAgenticDBProjectHistoryRetentionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyAgenticDBProjectHistoryRetentionResponse> {
24697
+ request.validate();
24698
+ let query = { };
24699
+ if (!$dara.isNull(request.DBClusterId)) {
24700
+ query["DBClusterId"] = request.DBClusterId;
24701
+ }
24702
+
24703
+ if (!$dara.isNull(request.historyRetentionSeconds)) {
24704
+ query["HistoryRetentionSeconds"] = request.historyRetentionSeconds;
24705
+ }
24706
+
24707
+ if (!$dara.isNull(request.projectId)) {
24708
+ query["ProjectId"] = request.projectId;
24709
+ }
24710
+
24711
+ if (!$dara.isNull(request.regionId)) {
24712
+ query["RegionId"] = request.regionId;
24713
+ }
24714
+
24715
+ if (!$dara.isNull(request.tenantId)) {
24716
+ query["TenantId"] = request.tenantId;
24717
+ }
24718
+
24719
+ let req = new $OpenApiUtil.OpenApiRequest({
24720
+ query: OpenApiUtil.query(query),
24721
+ });
24722
+ let params = new $OpenApiUtil.Params({
24723
+ action: "ModifyAgenticDBProjectHistoryRetention",
24724
+ version: "2017-08-01",
24725
+ protocol: "HTTPS",
24726
+ pathname: "/",
24727
+ method: "POST",
24728
+ authType: "AK",
24729
+ style: "RPC",
24730
+ reqBodyType: "formData",
24731
+ bodyType: "json",
24732
+ });
24733
+ return $dara.cast<$_model.ModifyAgenticDBProjectHistoryRetentionResponse>(await this.callApi(params, req, runtime), new $_model.ModifyAgenticDBProjectHistoryRetentionResponse({}));
24734
+ }
24735
+
24736
+ /**
24737
+ * Modifies the history retention window of an AgenticDB project.
24738
+ *
24739
+ * @param request - ModifyAgenticDBProjectHistoryRetentionRequest
24740
+ * @returns ModifyAgenticDBProjectHistoryRetentionResponse
24741
+ */
24742
+ async modifyAgenticDBProjectHistoryRetention(request: $_model.ModifyAgenticDBProjectHistoryRetentionRequest): Promise<$_model.ModifyAgenticDBProjectHistoryRetentionResponse> {
24743
+ let runtime = new $dara.RuntimeOptions({ });
24744
+ return await this.modifyAgenticDBProjectHistoryRetentionWithOptions(request, runtime);
24745
+ }
24746
+
24453
24747
  /**
24454
24748
  * Updates the description of a PolarDB application.
24455
24749
  *
@@ -13,7 +13,21 @@ export class AddPolarFsPathMappingRequestCustomBucketPathList extends $dara.Mode
13
13
  * Bucket1
14
14
  */
15
15
  bucket?: string;
16
+ /**
17
+ * @remarks
18
+ * The AccessKey ID of the storage bucket.
19
+ *
20
+ * @example
21
+ * xxx
22
+ */
16
23
  bucketAccessKeyId?: string;
24
+ /**
25
+ * @remarks
26
+ * The AccessKey secret of the storage bucket.
27
+ *
28
+ * @example
29
+ * xxx
30
+ */
17
31
  bucketAccessKeySecret?: string;
18
32
  /**
19
33
  * @remarks
@@ -39,6 +39,14 @@ export class CreateAgenticDBBranchRequest extends $dara.Model {
39
39
  * br-1a2b3c4d5e6f
40
40
  */
41
41
  parentBranchId?: string;
42
+ /**
43
+ * @remarks
44
+ * 基于父分支在指定时间点的数据创建分支;不传则使用最新数据。采用带时区的 RFC3339 格式,最多支持 9 位小数秒;不支持空字符串或未来时间。
45
+ *
46
+ * @example
47
+ * 2026-10-15T07:32:00.123456Z
48
+ */
49
+ parentTimestamp?: string;
42
50
  /**
43
51
  * @remarks
44
52
  * The ID of the project to which the branch belongs.
@@ -75,6 +83,7 @@ export class CreateAgenticDBBranchRequest extends $dara.Model {
75
83
  DBClusterId: 'DBClusterId',
76
84
  description: 'Description',
77
85
  parentBranchId: 'ParentBranchId',
86
+ parentTimestamp: 'ParentTimestamp',
78
87
  projectId: 'ProjectId',
79
88
  regionId: 'RegionId',
80
89
  tenantId: 'TenantId',
@@ -87,6 +96,7 @@ export class CreateAgenticDBBranchRequest extends $dara.Model {
87
96
  DBClusterId: 'string',
88
97
  description: 'string',
89
98
  parentBranchId: 'string',
99
+ parentTimestamp: 'string',
90
100
  projectId: 'string',
91
101
  regionId: 'string',
92
102
  tenantId: 'string',