@alicloud/adb20211201 4.7.0 → 5.0.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 (911) hide show
  1. package/dist/client.d.ts +755 -401
  2. package/dist/client.js +1670 -815
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AccessTokenModel.d.ts +18 -0
  5. package/dist/models/AccessTokenModel.js +66 -0
  6. package/dist/models/AccessTokenModel.js.map +1 -0
  7. package/dist/models/AddKnowledgeFileRequest.d.ts +65 -0
  8. package/dist/models/AddKnowledgeFileRequest.js +68 -0
  9. package/dist/models/AddKnowledgeFileRequest.js.map +1 -0
  10. package/dist/models/{DescribeLlmanswerResponse.d.ts → AddKnowledgeFileResponse.d.ts} +3 -3
  11. package/dist/models/{DescribeLlmanswerResponse.js → AddKnowledgeFileResponse.js} +6 -6
  12. package/dist/models/AddKnowledgeFileResponse.js.map +1 -0
  13. package/dist/models/AddKnowledgeFileResponseBody.d.ts +21 -0
  14. package/dist/models/{ModifyClusterConnectionStringResponseBody.js → AddKnowledgeFileResponseBody.js} +4 -4
  15. package/dist/models/AddKnowledgeFileResponseBody.js.map +1 -0
  16. package/dist/models/AllocateClusterPublicConnectionRequest.d.ts +11 -7
  17. package/dist/models/AllocateClusterPublicConnectionRequest.js +2 -0
  18. package/dist/models/AllocateClusterPublicConnectionRequest.js.map +1 -1
  19. package/dist/models/ApplyAdviceByIdRequest.d.ts +15 -1
  20. package/dist/models/ApplyAdviceByIdRequest.js.map +1 -1
  21. package/dist/models/BatchApplyAdviceByIdListRequest.d.ts +16 -4
  22. package/dist/models/BatchApplyAdviceByIdListRequest.js.map +1 -1
  23. package/dist/models/BindAccountRequest.d.ts +8 -5
  24. package/dist/models/BindAccountRequest.js +5 -0
  25. package/dist/models/BindAccountRequest.js.map +1 -1
  26. package/dist/models/BindAccountResponseBody.d.ts +1 -1
  27. package/dist/models/BindAccountShrinkRequest.d.ts +46 -0
  28. package/dist/models/BindAccountShrinkRequest.js +64 -0
  29. package/dist/models/BindAccountShrinkRequest.js.map +1 -0
  30. package/dist/models/CancelSparkReplStatementResponseBody.d.ts +1 -1
  31. package/dist/models/CancelSparkWarehouseBatchSqlrequest.d.ts +2 -2
  32. package/dist/models/CancelSparkWarehouseBatchSqlresponseBody.d.ts +1 -1
  33. package/dist/models/CheckFormationSchemaExistsRequest.d.ts +58 -0
  34. package/dist/models/{ListApsLifecycleStrategyRequest.js → CheckFormationSchemaExistsRequest.js} +8 -12
  35. package/dist/models/CheckFormationSchemaExistsRequest.js.map +1 -0
  36. package/dist/models/CheckFormationSchemaExistsResponse.d.ts +19 -0
  37. package/dist/models/CheckFormationSchemaExistsResponse.js +69 -0
  38. package/dist/models/CheckFormationSchemaExistsResponse.js.map +1 -0
  39. package/dist/models/CheckFormationSchemaExistsResponseBody.d.ts +61 -0
  40. package/dist/models/CheckFormationSchemaExistsResponseBody.js +68 -0
  41. package/dist/models/CheckFormationSchemaExistsResponseBody.js.map +1 -0
  42. package/dist/models/CheckSampleDataSetRequest.d.ts +1 -1
  43. package/dist/models/CheckSampleDataSetResponseBody.d.ts +9 -6
  44. package/dist/models/CheckSampleDataSetResponseBody.js.map +1 -1
  45. package/dist/models/ColDetailModel.d.ts +77 -0
  46. package/dist/models/ColDetailModel.js.map +1 -1
  47. package/dist/models/CreateAccountRequest.d.ts +22 -22
  48. package/dist/models/CreateAccountRequest.js +5 -0
  49. package/dist/models/CreateAccountRequest.js.map +1 -1
  50. package/dist/models/CreateAccountShrinkRequest.d.ts +87 -0
  51. package/dist/models/CreateAccountShrinkRequest.js +70 -0
  52. package/dist/models/CreateAccountShrinkRequest.js.map +1 -0
  53. package/dist/models/CreateApsCopyWorkloadRequest.d.ts +5 -5
  54. package/dist/models/CreateApsCopyWorkloadResponseBody.d.ts +8 -10
  55. package/dist/models/CreateApsCopyWorkloadResponseBody.js.map +1 -1
  56. package/dist/models/CreateApsDatasoureRequest.d.ts +38 -38
  57. package/dist/models/CreateApsDatasoureResponseBody.d.ts +9 -10
  58. package/dist/models/CreateApsDatasoureResponseBody.js.map +1 -1
  59. package/dist/models/CreateApsDatasoureShrinkRequest.d.ts +10 -10
  60. package/dist/models/CreateApsHiveJobRequest.d.ts +13 -14
  61. package/dist/models/CreateApsHiveJobRequest.js.map +1 -1
  62. package/dist/models/CreateApsHiveJobResponseBody.d.ts +8 -10
  63. package/dist/models/CreateApsHiveJobResponseBody.js.map +1 -1
  64. package/dist/models/CreateApsKafkaHudiJobRequest.d.ts +55 -27
  65. package/dist/models/CreateApsKafkaHudiJobRequest.js.map +1 -1
  66. package/dist/models/CreateApsKafkaHudiJobResponseBody.d.ts +6 -5
  67. package/dist/models/CreateApsKafkaHudiJobResponseBody.js.map +1 -1
  68. package/dist/models/CreateApsKafkaHudiJobShrinkRequest.d.ts +51 -23
  69. package/dist/models/CreateApsKafkaHudiJobShrinkRequest.js.map +1 -1
  70. package/dist/models/CreateApsWebhookRequest.d.ts +12 -7
  71. package/dist/models/CreateApsWebhookRequest.js.map +1 -1
  72. package/dist/models/CreateApsWebhookResponseBody.d.ts +3 -3
  73. package/dist/models/CreateApsWebhookShrinkRequest.d.ts +5 -3
  74. package/dist/models/CreateApsWebhookShrinkRequest.js.map +1 -1
  75. package/dist/models/CreateDbclusterRequest.d.ts +80 -79
  76. package/dist/models/CreateDbclusterRequest.js +4 -0
  77. package/dist/models/CreateDbclusterRequest.js.map +1 -1
  78. package/dist/models/CreateDbclusterResponseBody.d.ts +2 -2
  79. package/dist/models/CreateDbresourceGroupRequest.d.ts +247 -43
  80. package/dist/models/CreateDbresourceGroupRequest.js +51 -1
  81. package/dist/models/CreateDbresourceGroupRequest.js.map +1 -1
  82. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +88 -37
  83. package/dist/models/CreateDbresourceGroupShrinkRequest.js +6 -0
  84. package/dist/models/CreateDbresourceGroupShrinkRequest.js.map +1 -1
  85. package/dist/models/CreateFormationCrawlerRequest.d.ts +64 -0
  86. package/dist/models/{GetApsManagedDatabasesRequest.js → CreateFormationCrawlerRequest.js} +6 -4
  87. package/dist/models/CreateFormationCrawlerRequest.js.map +1 -0
  88. package/dist/models/{GetApsManagedDatabasesResponse.d.ts → CreateFormationCrawlerResponse.d.ts} +3 -3
  89. package/dist/models/{GetApsManagedDatabasesResponse.js → CreateFormationCrawlerResponse.js} +6 -6
  90. package/dist/models/{GetApsManagedDatabasesResponse.js.map → CreateFormationCrawlerResponse.js.map} +1 -1
  91. package/dist/models/CreateFormationCrawlerResponseBody.d.ts +71 -0
  92. package/dist/models/CreateFormationCrawlerResponseBody.js +70 -0
  93. package/dist/models/CreateFormationCrawlerResponseBody.js.map +1 -0
  94. package/dist/models/CreateLakeStorageRequest.d.ts +6 -7
  95. package/dist/models/CreateLakeStorageRequest.js.map +1 -1
  96. package/dist/models/CreateLakeStorageResponseBody.d.ts +8 -9
  97. package/dist/models/CreateLakeStorageResponseBody.js.map +1 -1
  98. package/dist/models/CreateLakeStorageShrinkRequest.d.ts +4 -5
  99. package/dist/models/CreateLakeStorageShrinkRequest.js.map +1 -1
  100. package/dist/models/CreateMaterializedViewRecommendRequest.d.ts +17 -17
  101. package/dist/models/CreateOssSubDirectoryRequest.d.ts +4 -3
  102. package/dist/models/CreateOssSubDirectoryRequest.js.map +1 -1
  103. package/dist/models/CreateOssSubDirectoryResponseBody.d.ts +10 -12
  104. package/dist/models/CreateOssSubDirectoryResponseBody.js.map +1 -1
  105. package/dist/models/CreatePerformanceViewRequest.d.ts +28 -29
  106. package/dist/models/CreatePerformanceViewRequest.js.map +1 -1
  107. package/dist/models/CreatePerformanceViewResponseBody.d.ts +3 -5
  108. package/dist/models/CreatePerformanceViewResponseBody.js.map +1 -1
  109. package/dist/models/CreatePerformanceViewShrinkRequest.d.ts +14 -12
  110. package/dist/models/CreatePerformanceViewShrinkRequest.js.map +1 -1
  111. package/dist/models/CreateSemanticViewRequest.d.ts +53 -0
  112. package/dist/models/CreateSemanticViewRequest.js +64 -0
  113. package/dist/models/CreateSemanticViewRequest.js.map +1 -0
  114. package/dist/models/{ListApsLifecycleStrategyResponse.d.ts → CreateSemanticViewResponse.d.ts} +3 -3
  115. package/dist/models/{ListApsOptimizationTasksResponse.js → CreateSemanticViewResponse.js} +6 -6
  116. package/dist/models/CreateSemanticViewResponse.js.map +1 -0
  117. package/dist/models/CreateSemanticViewResponseBody.d.ts +21 -0
  118. package/dist/models/{DescribeLlmanswerResponseBody.js → CreateSemanticViewResponseBody.js} +4 -8
  119. package/dist/models/CreateSemanticViewResponseBody.js.map +1 -0
  120. package/dist/models/CreateSparkTemplateRequest.d.ts +12 -14
  121. package/dist/models/CreateSparkTemplateRequest.js.map +1 -1
  122. package/dist/models/CreateSparkTemplateResponseBody.d.ts +4 -5
  123. package/dist/models/CreateSparkTemplateResponseBody.js.map +1 -1
  124. package/dist/models/CstoreIndexModel.d.ts +54 -0
  125. package/dist/models/CstoreIndexModel.js.map +1 -1
  126. package/dist/models/DatabaseSummaryModel.d.ts +35 -0
  127. package/dist/models/DatabaseSummaryModel.js.map +1 -1
  128. package/dist/models/DeleteApsWebhookResponseBody.d.ts +3 -0
  129. package/dist/models/DeleteApsWebhookResponseBody.js.map +1 -1
  130. package/dist/models/DeleteFormationCrawlerRequest.d.ts +53 -0
  131. package/dist/models/DeleteFormationCrawlerRequest.js +64 -0
  132. package/dist/models/DeleteFormationCrawlerRequest.js.map +1 -0
  133. package/dist/models/DeleteFormationCrawlerResponse.d.ts +19 -0
  134. package/dist/models/{ListApsLifecycleStrategyResponse.js → DeleteFormationCrawlerResponse.js} +6 -6
  135. package/dist/models/DeleteFormationCrawlerResponse.js.map +1 -0
  136. package/dist/models/DeleteFormationCrawlerResponseBody.d.ts +63 -0
  137. package/dist/models/DeleteFormationCrawlerResponseBody.js +68 -0
  138. package/dist/models/DeleteFormationCrawlerResponseBody.js.map +1 -0
  139. package/dist/models/DeletePerformanceViewRequest.d.ts +6 -6
  140. package/dist/models/DeletePerformanceViewResponseBody.d.ts +5 -3
  141. package/dist/models/DeletePerformanceViewResponseBody.js.map +1 -1
  142. package/dist/models/DeleteSemanticViewRequest.d.ts +43 -0
  143. package/dist/models/DeleteSemanticViewRequest.js +62 -0
  144. package/dist/models/DeleteSemanticViewRequest.js.map +1 -0
  145. package/dist/models/DeleteSemanticViewResponse.d.ts +19 -0
  146. package/dist/models/DeleteSemanticViewResponse.js +69 -0
  147. package/dist/models/DeleteSemanticViewResponse.js.map +1 -0
  148. package/dist/models/DeleteSemanticViewResponseBody.d.ts +21 -0
  149. package/dist/models/DeleteSemanticViewResponseBody.js +58 -0
  150. package/dist/models/DeleteSemanticViewResponseBody.js.map +1 -0
  151. package/dist/models/DescribeAbnormalPatternDetectionResponseBody.d.ts +2 -2
  152. package/dist/models/DescribeAccountAllPrivilegesRequest.d.ts +5 -4
  153. package/dist/models/DescribeAccountAllPrivilegesRequest.js.map +1 -1
  154. package/dist/models/DescribeAccountAllPrivilegesResponseBody.d.ts +12 -12
  155. package/dist/models/DescribeAccountPrivilegesRequest.d.ts +10 -9
  156. package/dist/models/DescribeAccountPrivilegesRequest.js.map +1 -1
  157. package/dist/models/DescribeAccountPrivilegesResponseBody.d.ts +12 -12
  158. package/dist/models/DescribeAccountsRequest.d.ts +8 -6
  159. package/dist/models/DescribeAccountsRequest.js.map +1 -1
  160. package/dist/models/DescribeAccountsResponseBody.d.ts +14 -56
  161. package/dist/models/DescribeAccountsResponseBody.js +28 -1
  162. package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
  163. package/dist/models/DescribeAdbMySqlTablesRequest.d.ts +3 -2
  164. package/dist/models/DescribeAdbMySqlTablesRequest.js.map +1 -1
  165. package/dist/models/DescribeAdbMySqlTablesResponseBody.d.ts +10 -8
  166. package/dist/models/DescribeAdbMySqlTablesResponseBody.js.map +1 -1
  167. package/dist/models/DescribeAllDataSourceResponseBody.d.ts +0 -102
  168. package/dist/models/DescribeAllDataSourceResponseBody.js.map +1 -1
  169. package/dist/models/DescribeAppliedAdvicesRequest.d.ts +39 -28
  170. package/dist/models/DescribeAppliedAdvicesRequest.js.map +1 -1
  171. package/dist/models/DescribeAppliedAdvicesResponseBody.d.ts +42 -29
  172. package/dist/models/DescribeAppliedAdvicesResponseBody.js.map +1 -1
  173. package/dist/models/DescribeApsActionLogsRequest.d.ts +2 -2
  174. package/dist/models/DescribeApsJobsResponseBody.d.ts +1 -1
  175. package/dist/models/DescribeApsResourceGroupsRequest.d.ts +4 -4
  176. package/dist/models/DescribeApsResourceGroupsResponseBody.d.ts +33 -22
  177. package/dist/models/DescribeApsResourceGroupsResponseBody.js.map +1 -1
  178. package/dist/models/DescribeAuditLogRecordsRequest.d.ts +72 -51
  179. package/dist/models/DescribeAuditLogRecordsRequest.js.map +1 -1
  180. package/dist/models/DescribeAuditLogRecordsResponseBody.d.ts +34 -14
  181. package/dist/models/DescribeAuditLogRecordsResponseBody.js +2 -0
  182. package/dist/models/DescribeAuditLogRecordsResponseBody.js.map +1 -1
  183. package/dist/models/DescribeAutoRenewalAttributeRequest.d.ts +19 -0
  184. package/dist/models/DescribeAutoRenewalAttributeRequest.js.map +1 -1
  185. package/dist/models/DescribeAutoRenewalAttributeResponseBody.d.ts +12 -24
  186. package/dist/models/DescribeAutoRenewalAttributeResponseBody.js.map +1 -1
  187. package/dist/models/DescribeAutoRenewalAttributeShrinkRequest.d.ts +19 -0
  188. package/dist/models/DescribeAutoRenewalAttributeShrinkRequest.js.map +1 -1
  189. package/dist/models/DescribeAvailableAdvicesRequest.d.ts +34 -25
  190. package/dist/models/DescribeAvailableAdvicesRequest.js.map +1 -1
  191. package/dist/models/DescribeAvailableAdvicesResponseBody.d.ts +38 -26
  192. package/dist/models/DescribeAvailableAdvicesResponseBody.js.map +1 -1
  193. package/dist/models/DescribeBackupPolicyRequest.d.ts +1 -1
  194. package/dist/models/DescribeBackupPolicyResponseBody.d.ts +21 -14
  195. package/dist/models/DescribeBackupPolicyResponseBody.js.map +1 -1
  196. package/dist/models/DescribeBackupsRequest.d.ts +19 -9
  197. package/dist/models/DescribeBackupsRequest.js.map +1 -1
  198. package/dist/models/DescribeBackupsResponseBody.d.ts +14 -56
  199. package/dist/models/DescribeBackupsResponseBody.js.map +1 -1
  200. package/dist/models/DescribeClusterAccessWhiteListRequest.d.ts +9 -1
  201. package/dist/models/DescribeClusterAccessWhiteListRequest.js.map +1 -1
  202. package/dist/models/DescribeClusterAccessWhiteListResponseBody.d.ts +0 -29
  203. package/dist/models/DescribeClusterAccessWhiteListResponseBody.js.map +1 -1
  204. package/dist/models/DescribeClusterNetInfoRequest.d.ts +8 -5
  205. package/dist/models/DescribeClusterNetInfoRequest.js +2 -0
  206. package/dist/models/DescribeClusterNetInfoRequest.js.map +1 -1
  207. package/dist/models/DescribeClusterNetInfoResponseBody.d.ts +1 -93
  208. package/dist/models/DescribeClusterNetInfoResponseBody.js.map +1 -1
  209. package/dist/models/DescribeColumnsResponseBody.d.ts +0 -59
  210. package/dist/models/DescribeColumnsResponseBody.js.map +1 -1
  211. package/dist/models/DescribeControllerDetectionResponseBody.d.ts +1 -1
  212. package/dist/models/DescribeDbclusterAttributeRequest.d.ts +3 -2
  213. package/dist/models/DescribeDbclusterAttributeRequest.js.map +1 -1
  214. package/dist/models/DescribeDbclusterAttributeResponseBody.d.ts +0 -434
  215. package/dist/models/DescribeDbclusterAttributeResponseBody.js.map +1 -1
  216. package/dist/models/DescribeDbclusterHealthStatusRequest.d.ts +4 -3
  217. package/dist/models/DescribeDbclusterHealthStatusRequest.js.map +1 -1
  218. package/dist/models/DescribeDbclusterHealthStatusResponseBody.d.ts +61 -46
  219. package/dist/models/DescribeDbclusterHealthStatusResponseBody.js.map +1 -1
  220. package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +10 -9
  221. package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
  222. package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +17 -10
  223. package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
  224. package/dist/models/DescribeDbclusterStatusRequest.d.ts +1 -2
  225. package/dist/models/DescribeDbclusterStatusRequest.js.map +1 -1
  226. package/dist/models/DescribeDbclusterStatusResponseBody.d.ts +1 -1
  227. package/dist/models/DescribeDbclustersRequest.d.ts +47 -33
  228. package/dist/models/DescribeDbclustersRequest.js.map +1 -1
  229. package/dist/models/DescribeDbclustersResponseBody.d.ts +0 -451
  230. package/dist/models/DescribeDbclustersResponseBody.js.map +1 -1
  231. package/dist/models/DescribeDbresourceGroupRequest.d.ts +10 -13
  232. package/dist/models/DescribeDbresourceGroupRequest.js.map +1 -1
  233. package/dist/models/DescribeDbresourceGroupResponseBody.d.ts +323 -37
  234. package/dist/models/DescribeDbresourceGroupResponseBody.js +53 -1
  235. package/dist/models/DescribeDbresourceGroupResponseBody.js.map +1 -1
  236. package/dist/models/DescribeDiagnosisRecordsRequest.d.ts +73 -54
  237. package/dist/models/DescribeDiagnosisRecordsRequest.js.map +1 -1
  238. package/dist/models/DescribeDiagnosisRecordsResponseBody.d.ts +49 -33
  239. package/dist/models/DescribeDiagnosisRecordsResponseBody.js.map +1 -1
  240. package/dist/models/DescribeDiagnosisSqlinfoRequest.d.ts +19 -27
  241. package/dist/models/DescribeDiagnosisSqlinfoRequest.js.map +1 -1
  242. package/dist/models/DescribeDiagnosisSqlinfoResponseBody.d.ts +8 -8
  243. package/dist/models/DescribeDownloadRecordsRequest.d.ts +12 -7
  244. package/dist/models/DescribeDownloadRecordsRequest.js.map +1 -1
  245. package/dist/models/DescribeDownloadRecordsResponseBody.d.ts +17 -8
  246. package/dist/models/DescribeDownloadRecordsResponseBody.js.map +1 -1
  247. package/dist/models/DescribeEnabledPrivilegesRequest.d.ts +4 -4
  248. package/dist/models/DescribeEnabledPrivilegesResponseBody.d.ts +10 -4
  249. package/dist/models/DescribeEnabledPrivilegesResponseBody.js.map +1 -1
  250. package/dist/models/DescribeExcessivePrimaryKeysResponseBody.d.ts +4 -4
  251. package/dist/models/DescribeExecutorDetectionResponseBody.d.ts +2 -2
  252. package/dist/models/DescribeHistoryTasksRequest.d.ts +0 -2
  253. package/dist/models/DescribeHistoryTasksRequest.js +0 -4
  254. package/dist/models/DescribeHistoryTasksRequest.js.map +1 -1
  255. package/dist/models/DescribeHistoryTasksStatRequest.d.ts +4 -3
  256. package/dist/models/DescribeHistoryTasksStatRequest.js +0 -6
  257. package/dist/models/DescribeHistoryTasksStatRequest.js.map +1 -1
  258. package/dist/models/DescribeJobResourceUsageRequest.d.ts +24 -3
  259. package/dist/models/DescribeJobResourceUsageRequest.js +2 -0
  260. package/dist/models/DescribeJobResourceUsageRequest.js.map +1 -1
  261. package/dist/models/DescribeJobResourceUsageResponseBody.d.ts +44 -14
  262. package/dist/models/DescribeJobResourceUsageResponseBody.js +2 -0
  263. package/dist/models/DescribeJobResourceUsageResponseBody.js.map +1 -1
  264. package/dist/models/DescribeMvRecommendSubTasksRequest.d.ts +19 -10
  265. package/dist/models/DescribeMvRecommendSubTasksRequest.js.map +1 -1
  266. package/dist/models/DescribeMvRecommendSubTasksResponseBody.d.ts +6 -6
  267. package/dist/models/DescribeMvRecommendTasksRequest.d.ts +10 -4
  268. package/dist/models/DescribeMvRecommendTasksRequest.js.map +1 -1
  269. package/dist/models/DescribeMvRecommendTasksResponseBody.d.ts +7 -7
  270. package/dist/models/DescribeMvrecommendResultsRequest.d.ts +12 -3
  271. package/dist/models/DescribeMvrecommendResultsRequest.js.map +1 -1
  272. package/dist/models/DescribeMvrecommendResultsResponseBody.d.ts +13 -7
  273. package/dist/models/DescribeMvrecommendResultsResponseBody.js.map +1 -1
  274. package/dist/models/DescribeOperatorPermissionRequest.d.ts +1 -1
  275. package/dist/models/DescribeOversizeNonPartitionTableInfosResponseBody.d.ts +1 -1
  276. package/dist/models/DescribePatternPerformanceRequest.d.ts +7 -9
  277. package/dist/models/DescribePatternPerformanceRequest.js.map +1 -1
  278. package/dist/models/DescribePatternPerformanceResponseBody.d.ts +83 -30
  279. package/dist/models/DescribePatternPerformanceResponseBody.js.map +1 -1
  280. package/dist/models/DescribePerformanceViewAttributeRequest.d.ts +1 -1
  281. package/dist/models/DescribePerformanceViewAttributeResponseBody.d.ts +1 -1
  282. package/dist/models/DescribePerformanceViewsResponseBody.d.ts +1 -1
  283. package/dist/models/DescribeProcessListRequest.d.ts +101 -0
  284. package/dist/models/{DescribeLlmsimilarQuestionsRequest.js → DescribeProcessListRequest.js} +18 -8
  285. package/dist/models/DescribeProcessListRequest.js.map +1 -0
  286. package/dist/models/DescribeProcessListResponse.d.ts +19 -0
  287. package/dist/models/DescribeProcessListResponse.js +69 -0
  288. package/dist/models/DescribeProcessListResponse.js.map +1 -0
  289. package/dist/models/DescribeProcessListResponseBody.d.ts +80 -0
  290. package/dist/models/DescribeProcessListResponseBody.js +126 -0
  291. package/dist/models/DescribeProcessListResponseBody.js.map +1 -0
  292. package/dist/models/DescribeRegionsRequest.d.ts +11 -5
  293. package/dist/models/DescribeRegionsRequest.js.map +1 -1
  294. package/dist/models/DescribeRegionsResponseBody.d.ts +0 -53
  295. package/dist/models/DescribeRegionsResponseBody.js.map +1 -1
  296. package/dist/models/DescribeSchemasResponseBody.d.ts +0 -18
  297. package/dist/models/DescribeSchemasResponseBody.js.map +1 -1
  298. package/dist/models/DescribeSparkAppDiagnosisInfoRequest.d.ts +1 -1
  299. package/dist/models/DescribeSqlPatternRequest.d.ts +1 -1
  300. package/dist/models/DescribeSqlpatternsRequest.d.ts +60 -34
  301. package/dist/models/DescribeSqlpatternsRequest.js +2 -0
  302. package/dist/models/DescribeSqlpatternsRequest.js.map +1 -1
  303. package/dist/models/DescribeSqlpatternsResponseBody.d.ts +122 -23
  304. package/dist/models/DescribeSqlpatternsResponseBody.js.map +1 -1
  305. package/dist/models/DescribeSqlwebSocketDomainRequest.d.ts +14 -3
  306. package/dist/models/DescribeSqlwebSocketDomainRequest.js.map +1 -1
  307. package/dist/models/DescribeSqlwebSocketDomainResponseBody.d.ts +10 -8
  308. package/dist/models/DescribeSqlwebSocketDomainResponseBody.js.map +1 -1
  309. package/dist/models/DescribeTableAccessCountRequest.d.ts +21 -27
  310. package/dist/models/DescribeTableAccessCountRequest.js.map +1 -1
  311. package/dist/models/DescribeTableAccessCountResponseBody.d.ts +5 -5
  312. package/dist/models/DescribeTablePartitionDiagnoseResponseBody.d.ts +2 -2
  313. package/dist/models/DescribeTableStatisticsResponseBody.d.ts +0 -97
  314. package/dist/models/DescribeTableStatisticsResponseBody.js.map +1 -1
  315. package/dist/models/DescribeTablesResponseBody.d.ts +0 -25
  316. package/dist/models/DescribeTablesResponseBody.js.map +1 -1
  317. package/dist/models/DescribeUserQuotaRequest.d.ts +1 -1
  318. package/dist/models/DescribeUserQuotaResponseBody.d.ts +3 -3
  319. package/dist/models/DescribeViewJobsRequest.d.ts +16 -17
  320. package/dist/models/DescribeViewJobsRequest.js.map +1 -1
  321. package/dist/models/DescribeViewJobsResponseBody.d.ts +5 -5
  322. package/dist/models/DescribeWorkerDetectionRequest.d.ts +7 -10
  323. package/dist/models/DescribeWorkerDetectionRequest.js.map +1 -1
  324. package/dist/models/DescribeWorkerDetectionResponseBody.d.ts +49 -49
  325. package/dist/models/DetachUserEniresponseBody.d.ts +1 -1
  326. package/dist/models/Detail.d.ts +51 -3
  327. package/dist/models/Detail.js.map +1 -1
  328. package/dist/models/DownloadInstanceCacertificateRequest.d.ts +4 -5
  329. package/dist/models/DownloadInstanceCacertificateRequest.js.map +1 -1
  330. package/dist/models/DownloadInstanceCacertificateResponseBody.d.ts +1 -1
  331. package/dist/models/ExecuteSparkWarehouseBatchSqlrequest.d.ts +1 -1
  332. package/dist/models/FieldSchemaModel.d.ts +189 -0
  333. package/dist/models/FieldSchemaModel.js.map +1 -1
  334. package/dist/models/GenerateSqlBySemanticSqlRequest.d.ts +41 -0
  335. package/dist/models/GenerateSqlBySemanticSqlRequest.js +62 -0
  336. package/dist/models/GenerateSqlBySemanticSqlRequest.js.map +1 -0
  337. package/dist/models/{ListApsOptimizationTasksResponse.d.ts → GenerateSqlBySemanticSqlResponse.d.ts} +3 -3
  338. package/dist/models/GenerateSqlBySemanticSqlResponse.js +69 -0
  339. package/dist/models/{ListApsLifecycleStrategyResponse.js.map → GenerateSqlBySemanticSqlResponse.js.map} +1 -1
  340. package/dist/models/GenerateSqlBySemanticSqlResponseBody.d.ts +64 -0
  341. package/dist/models/{DescribeLlmsimilarQuestionsResponseBody.js → GenerateSqlBySemanticSqlResponseBody.js} +16 -26
  342. package/dist/models/GenerateSqlBySemanticSqlResponseBody.js.map +1 -0
  343. package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.d.ts +1 -2
  344. package/dist/models/GetAdbsparkNecessaryRampermissionsRequest.js.map +1 -1
  345. package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.d.ts +20 -23
  346. package/dist/models/GetAdbsparkNecessaryRampermissionsResponseBody.js.map +1 -1
  347. package/dist/models/GetDatabaseObjectsRequest.d.ts +4 -1
  348. package/dist/models/GetDatabaseObjectsRequest.js.map +1 -1
  349. package/dist/models/GetFormationCrawlerRequest.d.ts +50 -0
  350. package/dist/models/{ModifyClusterConnectionStringRequest.js → GetFormationCrawlerRequest.js} +10 -10
  351. package/dist/models/GetFormationCrawlerRequest.js.map +1 -0
  352. package/dist/models/GetFormationCrawlerResponse.d.ts +19 -0
  353. package/dist/models/GetFormationCrawlerResponse.js +69 -0
  354. package/dist/models/GetFormationCrawlerResponse.js.map +1 -0
  355. package/dist/models/{GetApsManagedDatabasesResponseBody.d.ts → GetFormationCrawlerResponseBody.d.ts} +15 -14
  356. package/dist/models/{GetApsManagedDatabasesResponseBody.js → GetFormationCrawlerResponseBody.js} +6 -4
  357. package/dist/models/GetFormationCrawlerResponseBody.js.map +1 -0
  358. package/dist/models/GetKnowledgeRecallRequest.d.ts +41 -0
  359. package/dist/models/GetKnowledgeRecallRequest.js +62 -0
  360. package/dist/models/GetKnowledgeRecallRequest.js.map +1 -0
  361. package/dist/models/GetKnowledgeRecallResponse.d.ts +19 -0
  362. package/dist/models/GetKnowledgeRecallResponse.js +69 -0
  363. package/dist/models/GetKnowledgeRecallResponse.js.map +1 -0
  364. package/dist/models/GetKnowledgeRecallResponseBody.d.ts +69 -0
  365. package/dist/models/GetKnowledgeRecallResponseBody.js +91 -0
  366. package/dist/models/GetKnowledgeRecallResponseBody.js.map +1 -0
  367. package/dist/models/GetSemanticViewRequest.d.ts +43 -0
  368. package/dist/models/GetSemanticViewRequest.js +62 -0
  369. package/dist/models/GetSemanticViewRequest.js.map +1 -0
  370. package/dist/models/GetSemanticViewResponse.d.ts +19 -0
  371. package/dist/models/GetSemanticViewResponse.js +69 -0
  372. package/dist/models/GetSemanticViewResponse.js.map +1 -0
  373. package/dist/models/{DescribeLlmanswerResponseBody.d.ts → GetSemanticViewResponseBody.d.ts} +7 -11
  374. package/dist/models/GetSemanticViewResponseBody.js +64 -0
  375. package/dist/models/GetSemanticViewResponseBody.js.map +1 -0
  376. package/dist/models/GetSparkAppAttemptLogResponseBody.d.ts +1 -1
  377. package/dist/models/GetSparkAppMetricsResponseBody.d.ts +2 -2
  378. package/dist/models/GetSparkAppStateResponseBody.d.ts +1 -1
  379. package/dist/models/GetSparkConfigLogPathRequest.d.ts +1 -1
  380. package/dist/models/GetSparkConfigLogPathResponseBody.d.ts +1 -1
  381. package/dist/models/GetSparkWarehouseBatchSqlrequest.d.ts +2 -2
  382. package/dist/models/GetTableColumnsRequest.d.ts +5 -6
  383. package/dist/models/GetTableColumnsRequest.js.map +1 -1
  384. package/dist/models/GetTableColumnsResponseBody.d.ts +11 -13
  385. package/dist/models/GetTableColumnsResponseBody.js.map +1 -1
  386. package/dist/models/GetTableObjectsRequest.d.ts +24 -32
  387. package/dist/models/GetTableObjectsRequest.js.map +1 -1
  388. package/dist/models/GetTableObjectsResponseBody.d.ts +15 -17
  389. package/dist/models/GetTableObjectsResponseBody.js.map +1 -1
  390. package/dist/models/GetTableRequest.d.ts +4 -4
  391. package/dist/models/GetTableResponseBody.d.ts +5 -5
  392. package/dist/models/GetViewObjectsRequest.d.ts +21 -20
  393. package/dist/models/GetViewObjectsRequest.js.map +1 -1
  394. package/dist/models/GetViewObjectsResponseBody.d.ts +10 -12
  395. package/dist/models/GetViewObjectsResponseBody.js.map +1 -1
  396. package/dist/models/KillSparkAppResponseBody.d.ts +4 -4
  397. package/dist/models/ListApsWebhookRequest.d.ts +2 -2
  398. package/dist/models/ListApsWebhookResponseBody.d.ts +8 -8
  399. package/dist/models/{ListApsOptimizationStrategyRequest.d.ts → ListSemanticViewNamesRequest.d.ts} +6 -8
  400. package/dist/models/ListSemanticViewNamesRequest.js +60 -0
  401. package/dist/models/ListSemanticViewNamesRequest.js.map +1 -0
  402. package/dist/models/ListSemanticViewNamesResponse.d.ts +19 -0
  403. package/dist/models/ListSemanticViewNamesResponse.js +69 -0
  404. package/dist/models/ListSemanticViewNamesResponse.js.map +1 -0
  405. package/dist/models/ListSemanticViewNamesResponseBody.d.ts +62 -0
  406. package/dist/models/{ListApsOptimizationStrategyResponseBody.js → ListSemanticViewNamesResponseBody.js} +13 -25
  407. package/dist/models/ListSemanticViewNamesResponseBody.js.map +1 -0
  408. package/dist/models/ListSparkAppAttemptsRequest.d.ts +7 -7
  409. package/dist/models/ListSparkAppAttemptsResponseBody.d.ts +28 -44
  410. package/dist/models/ListSparkAppAttemptsResponseBody.js.map +1 -1
  411. package/dist/models/ListSparkAppsRequest.d.ts +36 -5
  412. package/dist/models/ListSparkAppsRequest.js.map +1 -1
  413. package/dist/models/ListSparkAppsResponseBody.d.ts +19 -20
  414. package/dist/models/ListSparkAppsResponseBody.js.map +1 -1
  415. package/dist/models/ListTagResourcesRequest.d.ts +2 -2
  416. package/dist/models/ListTagResourcesResponseBody.d.ts +0 -32
  417. package/dist/models/ListTagResourcesResponseBody.js.map +1 -1
  418. package/dist/models/LoadSampleDataSetRequest.d.ts +1 -1
  419. package/dist/models/LoadSampleDataSetResponseBody.d.ts +1 -1
  420. package/dist/models/LogAnalyzeResult.d.ts +14 -1
  421. package/dist/models/LogAnalyzeResult.js.map +1 -1
  422. package/dist/models/ModifyAutoRenewalAttributeRequest.d.ts +25 -0
  423. package/dist/models/ModifyAutoRenewalAttributeRequest.js.map +1 -1
  424. package/dist/models/ModifyAutoRenewalAttributeResponseBody.d.ts +3 -0
  425. package/dist/models/ModifyAutoRenewalAttributeResponseBody.js.map +1 -1
  426. package/dist/models/ModifyDbclusterRequest.d.ts +37 -17
  427. package/dist/models/ModifyDbclusterRequest.js +4 -0
  428. package/dist/models/ModifyDbclusterRequest.js.map +1 -1
  429. package/dist/models/ModifyDbclusterResponseBody.d.ts +1 -1
  430. package/dist/models/ModifyDbresourceGroupRequest.d.ts +304 -26
  431. package/dist/models/ModifyDbresourceGroupRequest.js +47 -1
  432. package/dist/models/ModifyDbresourceGroupRequest.js.map +1 -1
  433. package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +75 -24
  434. package/dist/models/ModifyDbresourceGroupShrinkRequest.js +2 -0
  435. package/dist/models/ModifyDbresourceGroupShrinkRequest.js.map +1 -1
  436. package/dist/models/ModifyMaterializedViewRecommendRequest.d.ts +18 -25
  437. package/dist/models/ModifyMaterializedViewRecommendRequest.js.map +1 -1
  438. package/dist/models/ModifyMaterializedViewRecommendResponseBody.d.ts +1 -1
  439. package/dist/models/ModifyPerformanceViewRequest.d.ts +1 -1
  440. package/dist/models/ModifyPerformanceViewShrinkRequest.d.ts +1 -1
  441. package/dist/models/ModifyUserEniVswitchOptionsResponseBody.d.ts +1 -1
  442. package/dist/models/OpenStructMvBaseTableDetailModel.d.ts +28 -0
  443. package/dist/models/OpenStructMvBaseTableDetailModel.js.map +1 -1
  444. package/dist/models/OpenStructMvDetailModel.d.ts +149 -0
  445. package/dist/models/OpenStructMvDetailModel.js.map +1 -1
  446. package/dist/models/OpenStructMvRecommendSubTaskModel.d.ts +63 -0
  447. package/dist/models/OpenStructMvRecommendSubTaskModel.js.map +1 -1
  448. package/dist/models/OpenStructMvRecommendTaskModel.d.ts +63 -0
  449. package/dist/models/OpenStructMvRecommendTaskModel.js.map +1 -1
  450. package/dist/models/OpenStructMvrecommendResultModel.d.ts +39 -0
  451. package/dist/models/OpenStructMvrecommendResultModel.js.map +1 -1
  452. package/dist/models/OpenStructRefreshJobModel.d.ts +73 -0
  453. package/dist/models/OpenStructRefreshJobModel.js.map +1 -1
  454. package/dist/models/QueryFormationInstsByTaskIdrequest.d.ts +43 -0
  455. package/dist/models/QueryFormationInstsByTaskIdrequest.js +62 -0
  456. package/dist/models/QueryFormationInstsByTaskIdrequest.js.map +1 -0
  457. package/dist/models/{ListApsOptimizationStrategyResponse.d.ts → QueryFormationInstsByTaskIdresponse.d.ts} +3 -3
  458. package/dist/models/{DescribeLlmsimilarQuestionsResponse.js → QueryFormationInstsByTaskIdresponse.js} +6 -6
  459. package/dist/models/{DescribeLlmsimilarQuestionsResponse.js.map → QueryFormationInstsByTaskIdresponse.js.map} +1 -1
  460. package/dist/models/QueryFormationInstsByTaskIdresponseBody.d.ts +199 -0
  461. package/dist/models/QueryFormationInstsByTaskIdresponseBody.js +123 -0
  462. package/dist/models/QueryFormationInstsByTaskIdresponseBody.js.map +1 -0
  463. package/dist/models/QueryFormationTaskByIdrequest.d.ts +53 -0
  464. package/dist/models/QueryFormationTaskByIdrequest.js +64 -0
  465. package/dist/models/QueryFormationTaskByIdrequest.js.map +1 -0
  466. package/dist/models/QueryFormationTaskByIdresponse.d.ts +19 -0
  467. package/dist/models/QueryFormationTaskByIdresponse.js +69 -0
  468. package/dist/models/QueryFormationTaskByIdresponse.js.map +1 -0
  469. package/dist/models/QueryFormationTaskByIdresponseBody.d.ts +70 -0
  470. package/dist/models/QueryFormationTaskByIdresponseBody.js +68 -0
  471. package/dist/models/QueryFormationTaskByIdresponseBody.js.map +1 -0
  472. package/dist/models/QueryFormationTasksByTypeRequest.d.ts +45 -0
  473. package/dist/models/{ListApsOptimizationStrategyRequest.js → QueryFormationTasksByTypeRequest.js} +6 -4
  474. package/dist/models/QueryFormationTasksByTypeRequest.js.map +1 -0
  475. package/dist/models/QueryFormationTasksByTypeResponse.d.ts +19 -0
  476. package/dist/models/QueryFormationTasksByTypeResponse.js +69 -0
  477. package/dist/models/QueryFormationTasksByTypeResponse.js.map +1 -0
  478. package/dist/models/QueryFormationTasksByTypeResponseBody.d.ts +165 -0
  479. package/dist/models/{ListApsOptimizationTasksResponseBody.js → QueryFormationTasksByTypeResponseBody.js} +32 -34
  480. package/dist/models/QueryFormationTasksByTypeResponseBody.js.map +1 -0
  481. package/dist/models/ReleaseClusterPublicConnectionRequest.d.ts +7 -4
  482. package/dist/models/ReleaseClusterPublicConnectionRequest.js +2 -0
  483. package/dist/models/ReleaseClusterPublicConnectionRequest.js.map +1 -1
  484. package/dist/models/RenameSemanticViewRequest.d.ts +63 -0
  485. package/dist/models/RenameSemanticViewRequest.js +66 -0
  486. package/dist/models/RenameSemanticViewRequest.js.map +1 -0
  487. package/dist/models/RenameSemanticViewResponse.d.ts +19 -0
  488. package/dist/models/RenameSemanticViewResponse.js +69 -0
  489. package/dist/models/RenameSemanticViewResponse.js.map +1 -0
  490. package/dist/models/RenameSemanticViewResponseBody.d.ts +21 -0
  491. package/dist/models/RenameSemanticViewResponseBody.js +58 -0
  492. package/dist/models/RenameSemanticViewResponseBody.js.map +1 -0
  493. package/dist/models/ReplaceSemanticViewRequest.d.ts +53 -0
  494. package/dist/models/ReplaceSemanticViewRequest.js +64 -0
  495. package/dist/models/ReplaceSemanticViewRequest.js.map +1 -0
  496. package/dist/models/ReplaceSemanticViewResponse.d.ts +19 -0
  497. package/dist/models/ReplaceSemanticViewResponse.js +69 -0
  498. package/dist/models/ReplaceSemanticViewResponse.js.map +1 -0
  499. package/dist/models/{ModifyClusterConnectionStringResponseBody.d.ts → ReplaceSemanticViewResponseBody.d.ts} +2 -2
  500. package/dist/models/ReplaceSemanticViewResponseBody.js +58 -0
  501. package/dist/models/ReplaceSemanticViewResponseBody.js.map +1 -0
  502. package/dist/models/{DescribeLlmsimilarQuestionsRequest.d.ts → RunMaterializedViewRecommendRequest.d.ts} +15 -13
  503. package/dist/models/{DescribeLlmanswerRequest.js → RunMaterializedViewRecommendRequest.js} +6 -6
  504. package/dist/models/RunMaterializedViewRecommendRequest.js.map +1 -0
  505. package/dist/models/{DescribeLlmsimilarQuestionsResponse.d.ts → RunMaterializedViewRecommendResponse.d.ts} +3 -3
  506. package/dist/models/RunMaterializedViewRecommendResponse.js +69 -0
  507. package/dist/models/RunMaterializedViewRecommendResponse.js.map +1 -0
  508. package/dist/models/RunMaterializedViewRecommendResponseBody.d.ts +21 -0
  509. package/dist/models/RunMaterializedViewRecommendResponseBody.js +58 -0
  510. package/dist/models/RunMaterializedViewRecommendResponseBody.js.map +1 -0
  511. package/dist/models/{GetApsManagedDatabasesRequest.d.ts → SearchSemanticViewsRequest.d.ts} +12 -6
  512. package/dist/models/SearchSemanticViewsRequest.js +62 -0
  513. package/dist/models/SearchSemanticViewsRequest.js.map +1 -0
  514. package/dist/models/SearchSemanticViewsResponse.d.ts +19 -0
  515. package/dist/models/SearchSemanticViewsResponse.js +69 -0
  516. package/dist/models/SearchSemanticViewsResponse.js.map +1 -0
  517. package/dist/models/SearchSemanticViewsResponseBody.d.ts +27 -0
  518. package/dist/models/SearchSemanticViewsResponseBody.js +64 -0
  519. package/dist/models/SearchSemanticViewsResponseBody.js.map +1 -0
  520. package/dist/models/SemanticViewModel.d.ts +116 -0
  521. package/dist/models/SemanticViewModel.js +66 -0
  522. package/dist/models/SemanticViewModel.js.map +1 -0
  523. package/dist/models/SerDeInfoModel.d.ts +25 -0
  524. package/dist/models/SerDeInfoModel.js.map +1 -1
  525. package/dist/models/SetSparkAppLogRootPathRequest.d.ts +2 -2
  526. package/dist/models/SetSparkAppLogRootPathResponseBody.d.ts +3 -3
  527. package/dist/models/SparkAnalyzeLogTask.d.ts +31 -0
  528. package/dist/models/SparkAnalyzeLogTask.js.map +1 -1
  529. package/dist/models/SparkAppInfo.d.ts +38 -4
  530. package/dist/models/SparkAppInfo.js.map +1 -1
  531. package/dist/models/SparkAttemptInfo.d.ts +30 -2
  532. package/dist/models/SparkAttemptInfo.js.map +1 -1
  533. package/dist/models/SparkBatchSql.d.ts +48 -4
  534. package/dist/models/SparkBatchSql.js.map +1 -1
  535. package/dist/models/SparkBatchSqlstatement.d.ts +40 -2
  536. package/dist/models/SparkBatchSqlstatement.js.map +1 -1
  537. package/dist/models/StartFormationCrawlerRequest.d.ts +50 -0
  538. package/dist/models/StartFormationCrawlerRequest.js +64 -0
  539. package/dist/models/StartFormationCrawlerRequest.js.map +1 -0
  540. package/dist/models/StartFormationCrawlerResponse.d.ts +19 -0
  541. package/dist/models/StartFormationCrawlerResponse.js +69 -0
  542. package/dist/models/StartFormationCrawlerResponse.js.map +1 -0
  543. package/dist/models/StartFormationCrawlerResponseBody.d.ts +47 -0
  544. package/dist/models/StartFormationCrawlerResponseBody.js +64 -0
  545. package/dist/models/StartFormationCrawlerResponseBody.js.map +1 -0
  546. package/dist/models/StopFormationCrawlerRequest.d.ts +53 -0
  547. package/dist/models/StopFormationCrawlerRequest.js +64 -0
  548. package/dist/models/StopFormationCrawlerRequest.js.map +1 -0
  549. package/dist/models/StopFormationCrawlerResponse.d.ts +19 -0
  550. package/dist/models/StopFormationCrawlerResponse.js +69 -0
  551. package/dist/models/StopFormationCrawlerResponse.js.map +1 -0
  552. package/dist/models/StopFormationCrawlerResponseBody.d.ts +61 -0
  553. package/dist/models/StopFormationCrawlerResponseBody.js +68 -0
  554. package/dist/models/StopFormationCrawlerResponseBody.js.map +1 -0
  555. package/dist/models/StorageDescriptorModel.d.ts +57 -0
  556. package/dist/models/StorageDescriptorModel.js.map +1 -1
  557. package/dist/models/TableDetailModel.d.ts +60 -0
  558. package/dist/models/TableDetailModel.js.map +1 -1
  559. package/dist/models/TableModel.d.ts +312 -0
  560. package/dist/models/TableModel.js.map +1 -1
  561. package/dist/models/TableSummaryModel.d.ts +63 -0
  562. package/dist/models/TableSummaryModel.js.map +1 -1
  563. package/dist/models/UpdateApsWebhookRequest.d.ts +9 -6
  564. package/dist/models/UpdateApsWebhookRequest.js.map +1 -1
  565. package/dist/models/UpdateApsWebhookResponseBody.d.ts +5 -2
  566. package/dist/models/UpdateApsWebhookResponseBody.js.map +1 -1
  567. package/dist/models/UpdateApsWebhookShrinkRequest.d.ts +1 -1
  568. package/dist/models/UpdateFormationCrawlerRequest.d.ts +49 -0
  569. package/dist/models/UpdateFormationCrawlerRequest.js +64 -0
  570. package/dist/models/UpdateFormationCrawlerRequest.js.map +1 -0
  571. package/dist/models/UpdateFormationCrawlerResponse.d.ts +19 -0
  572. package/dist/models/UpdateFormationCrawlerResponse.js +69 -0
  573. package/dist/models/UpdateFormationCrawlerResponse.js.map +1 -0
  574. package/dist/models/UpdateFormationCrawlerResponseBody.d.ts +74 -0
  575. package/dist/models/UpdateFormationCrawlerResponseBody.js +70 -0
  576. package/dist/models/UpdateFormationCrawlerResponseBody.js.map +1 -0
  577. package/dist/models/{ListApsLifecycleStrategyRequest.d.ts → UpdateFormationCrawlerScheduleStateRequest.d.ts} +23 -20
  578. package/dist/models/{ListApsOptimizationTasksRequest.js → UpdateFormationCrawlerScheduleStateRequest.js} +10 -14
  579. package/dist/models/UpdateFormationCrawlerScheduleStateRequest.js.map +1 -0
  580. package/dist/models/UpdateFormationCrawlerScheduleStateResponse.d.ts +19 -0
  581. package/dist/models/UpdateFormationCrawlerScheduleStateResponse.js +69 -0
  582. package/dist/models/UpdateFormationCrawlerScheduleStateResponse.js.map +1 -0
  583. package/dist/models/UpdateFormationCrawlerScheduleStateResponseBody.d.ts +63 -0
  584. package/dist/models/UpdateFormationCrawlerScheduleStateResponseBody.js +68 -0
  585. package/dist/models/UpdateFormationCrawlerScheduleStateResponseBody.js.map +1 -0
  586. package/dist/models/UserSummaryModel.d.ts +19 -0
  587. package/dist/models/UserSummaryModel.js +70 -0
  588. package/dist/models/UserSummaryModel.js.map +1 -0
  589. package/dist/models/model.d.ts +85 -26
  590. package/dist/models/model.js +225 -105
  591. package/dist/models/model.js.map +1 -1
  592. package/package.json +2 -2
  593. package/src/client.ts +1967 -982
  594. package/src/models/AccessTokenModel.ts +39 -0
  595. package/src/models/AddKnowledgeFileRequest.ts +88 -0
  596. package/src/models/{DescribeLlmanswerResponse.ts → AddKnowledgeFileResponse.ts} +4 -4
  597. package/src/models/AddKnowledgeFileResponseBody.ts +34 -0
  598. package/src/models/AllocateClusterPublicConnectionRequest.ts +13 -7
  599. package/src/models/ApplyAdviceByIdRequest.ts +15 -1
  600. package/src/models/BatchApplyAdviceByIdListRequest.ts +16 -4
  601. package/src/models/BindAccountRequest.ts +13 -5
  602. package/src/models/BindAccountResponseBody.ts +1 -1
  603. package/src/models/BindAccountShrinkRequest.ts +65 -0
  604. package/src/models/CancelSparkReplStatementResponseBody.ts +1 -1
  605. package/src/models/CancelSparkWarehouseBatchSqlrequest.ts +2 -2
  606. package/src/models/CancelSparkWarehouseBatchSqlresponseBody.ts +1 -1
  607. package/src/models/CheckFormationSchemaExistsRequest.ts +77 -0
  608. package/src/models/CheckFormationSchemaExistsResponse.ts +40 -0
  609. package/src/models/CheckFormationSchemaExistsResponseBody.ts +84 -0
  610. package/src/models/CheckSampleDataSetRequest.ts +1 -1
  611. package/src/models/CheckSampleDataSetResponseBody.ts +9 -6
  612. package/src/models/ColDetailModel.ts +77 -0
  613. package/src/models/CreateAccountRequest.ts +27 -22
  614. package/src/models/CreateAccountShrinkRequest.ts +112 -0
  615. package/src/models/CreateApsCopyWorkloadRequest.ts +5 -5
  616. package/src/models/CreateApsCopyWorkloadResponseBody.ts +8 -10
  617. package/src/models/CreateApsDatasoureRequest.ts +38 -38
  618. package/src/models/CreateApsDatasoureResponseBody.ts +9 -10
  619. package/src/models/CreateApsDatasoureShrinkRequest.ts +10 -10
  620. package/src/models/CreateApsHiveJobRequest.ts +13 -14
  621. package/src/models/CreateApsHiveJobResponseBody.ts +8 -10
  622. package/src/models/CreateApsKafkaHudiJobRequest.ts +55 -27
  623. package/src/models/CreateApsKafkaHudiJobResponseBody.ts +6 -5
  624. package/src/models/CreateApsKafkaHudiJobShrinkRequest.ts +51 -23
  625. package/src/models/CreateApsWebhookRequest.ts +12 -7
  626. package/src/models/CreateApsWebhookResponseBody.ts +3 -3
  627. package/src/models/CreateApsWebhookShrinkRequest.ts +5 -3
  628. package/src/models/CreateDbclusterRequest.ts +84 -79
  629. package/src/models/CreateDbclusterResponseBody.ts +2 -2
  630. package/src/models/CreateDbresourceGroupRequest.ts +288 -43
  631. package/src/models/CreateDbresourceGroupShrinkRequest.ts +94 -37
  632. package/src/models/CreateFormationCrawlerRequest.ts +81 -0
  633. package/src/models/{GetApsManagedDatabasesResponse.ts → CreateFormationCrawlerResponse.ts} +4 -4
  634. package/src/models/CreateFormationCrawlerResponseBody.ts +96 -0
  635. package/src/models/CreateLakeStorageRequest.ts +6 -7
  636. package/src/models/CreateLakeStorageResponseBody.ts +8 -9
  637. package/src/models/CreateLakeStorageShrinkRequest.ts +4 -5
  638. package/src/models/CreateMaterializedViewRecommendRequest.ts +17 -17
  639. package/src/models/CreateOssSubDirectoryRequest.ts +4 -3
  640. package/src/models/CreateOssSubDirectoryResponseBody.ts +10 -12
  641. package/src/models/CreatePerformanceViewRequest.ts +28 -29
  642. package/src/models/CreatePerformanceViewResponseBody.ts +3 -5
  643. package/src/models/CreatePerformanceViewShrinkRequest.ts +14 -12
  644. package/src/models/CreateSemanticViewRequest.ts +72 -0
  645. package/src/models/{ListApsLifecycleStrategyResponse.ts → CreateSemanticViewResponse.ts} +4 -4
  646. package/src/models/CreateSemanticViewResponseBody.ts +34 -0
  647. package/src/models/CreateSparkTemplateRequest.ts +12 -14
  648. package/src/models/CreateSparkTemplateResponseBody.ts +4 -5
  649. package/src/models/CstoreIndexModel.ts +54 -0
  650. package/src/models/DatabaseSummaryModel.ts +35 -0
  651. package/src/models/DeleteApsWebhookResponseBody.ts +3 -0
  652. package/src/models/DeleteFormationCrawlerRequest.ts +72 -0
  653. package/src/models/DeleteFormationCrawlerResponse.ts +40 -0
  654. package/src/models/DeleteFormationCrawlerResponseBody.ts +86 -0
  655. package/src/models/DeletePerformanceViewRequest.ts +6 -6
  656. package/src/models/DeletePerformanceViewResponseBody.ts +5 -3
  657. package/src/models/DeleteSemanticViewRequest.ts +60 -0
  658. package/src/models/DeleteSemanticViewResponse.ts +40 -0
  659. package/src/models/DeleteSemanticViewResponseBody.ts +34 -0
  660. package/src/models/DescribeAbnormalPatternDetectionResponseBody.ts +2 -2
  661. package/src/models/DescribeAccountAllPrivilegesRequest.ts +5 -4
  662. package/src/models/DescribeAccountAllPrivilegesResponseBody.ts +12 -12
  663. package/src/models/DescribeAccountPrivilegesRequest.ts +10 -9
  664. package/src/models/DescribeAccountPrivilegesResponseBody.ts +12 -12
  665. package/src/models/DescribeAccountsRequest.ts +8 -6
  666. package/src/models/DescribeAccountsResponseBody.ts +32 -56
  667. package/src/models/DescribeAdbMySqlTablesRequest.ts +3 -2
  668. package/src/models/DescribeAdbMySqlTablesResponseBody.ts +10 -8
  669. package/src/models/DescribeAllDataSourceResponseBody.ts +0 -102
  670. package/src/models/DescribeAppliedAdvicesRequest.ts +39 -28
  671. package/src/models/DescribeAppliedAdvicesResponseBody.ts +42 -29
  672. package/src/models/DescribeApsActionLogsRequest.ts +2 -2
  673. package/src/models/DescribeApsJobsResponseBody.ts +1 -1
  674. package/src/models/DescribeApsResourceGroupsRequest.ts +4 -4
  675. package/src/models/DescribeApsResourceGroupsResponseBody.ts +33 -22
  676. package/src/models/DescribeAuditLogRecordsRequest.ts +73 -52
  677. package/src/models/DescribeAuditLogRecordsResponseBody.ts +36 -14
  678. package/src/models/DescribeAutoRenewalAttributeRequest.ts +19 -0
  679. package/src/models/DescribeAutoRenewalAttributeResponseBody.ts +12 -24
  680. package/src/models/DescribeAutoRenewalAttributeShrinkRequest.ts +19 -0
  681. package/src/models/DescribeAvailableAdvicesRequest.ts +34 -25
  682. package/src/models/DescribeAvailableAdvicesResponseBody.ts +38 -26
  683. package/src/models/DescribeBackupPolicyRequest.ts +1 -1
  684. package/src/models/DescribeBackupPolicyResponseBody.ts +21 -14
  685. package/src/models/DescribeBackupsRequest.ts +19 -9
  686. package/src/models/DescribeBackupsResponseBody.ts +14 -56
  687. package/src/models/DescribeClusterAccessWhiteListRequest.ts +9 -1
  688. package/src/models/DescribeClusterAccessWhiteListResponseBody.ts +0 -29
  689. package/src/models/DescribeClusterNetInfoRequest.ts +10 -5
  690. package/src/models/DescribeClusterNetInfoResponseBody.ts +1 -93
  691. package/src/models/DescribeColumnsResponseBody.ts +0 -59
  692. package/src/models/DescribeControllerDetectionResponseBody.ts +1 -1
  693. package/src/models/DescribeDbclusterAttributeRequest.ts +3 -2
  694. package/src/models/DescribeDbclusterAttributeResponseBody.ts +0 -434
  695. package/src/models/DescribeDbclusterHealthStatusRequest.ts +4 -3
  696. package/src/models/DescribeDbclusterHealthStatusResponseBody.ts +61 -46
  697. package/src/models/DescribeDbclusterPerformanceRequest.ts +10 -9
  698. package/src/models/DescribeDbclusterPerformanceResponseBody.ts +17 -10
  699. package/src/models/DescribeDbclusterStatusRequest.ts +1 -2
  700. package/src/models/DescribeDbclusterStatusResponseBody.ts +1 -1
  701. package/src/models/DescribeDbclustersRequest.ts +47 -33
  702. package/src/models/DescribeDbclustersResponseBody.ts +0 -451
  703. package/src/models/DescribeDbresourceGroupRequest.ts +10 -13
  704. package/src/models/DescribeDbresourceGroupResponseBody.ts +366 -37
  705. package/src/models/DescribeDiagnosisRecordsRequest.ts +74 -55
  706. package/src/models/DescribeDiagnosisRecordsResponseBody.ts +49 -33
  707. package/src/models/DescribeDiagnosisSqlinfoRequest.ts +19 -27
  708. package/src/models/DescribeDiagnosisSqlinfoResponseBody.ts +8 -8
  709. package/src/models/DescribeDownloadRecordsRequest.ts +12 -7
  710. package/src/models/DescribeDownloadRecordsResponseBody.ts +17 -8
  711. package/src/models/DescribeEnabledPrivilegesRequest.ts +4 -4
  712. package/src/models/DescribeEnabledPrivilegesResponseBody.ts +10 -4
  713. package/src/models/DescribeExcessivePrimaryKeysResponseBody.ts +4 -4
  714. package/src/models/DescribeExecutorDetectionResponseBody.ts +2 -2
  715. package/src/models/DescribeHistoryTasksRequest.ts +0 -6
  716. package/src/models/DescribeHistoryTasksStatRequest.ts +4 -9
  717. package/src/models/DescribeJobResourceUsageRequest.ts +26 -3
  718. package/src/models/DescribeJobResourceUsageResponseBody.ts +46 -14
  719. package/src/models/DescribeMvRecommendSubTasksRequest.ts +19 -10
  720. package/src/models/DescribeMvRecommendSubTasksResponseBody.ts +6 -6
  721. package/src/models/DescribeMvRecommendTasksRequest.ts +10 -4
  722. package/src/models/DescribeMvRecommendTasksResponseBody.ts +7 -7
  723. package/src/models/DescribeMvrecommendResultsRequest.ts +12 -3
  724. package/src/models/DescribeMvrecommendResultsResponseBody.ts +13 -7
  725. package/src/models/DescribeOperatorPermissionRequest.ts +1 -1
  726. package/src/models/DescribeOversizeNonPartitionTableInfosResponseBody.ts +1 -1
  727. package/src/models/DescribePatternPerformanceRequest.ts +7 -9
  728. package/src/models/DescribePatternPerformanceResponseBody.ts +83 -30
  729. package/src/models/DescribePerformanceViewAttributeRequest.ts +1 -1
  730. package/src/models/DescribePerformanceViewAttributeResponseBody.ts +1 -1
  731. package/src/models/DescribePerformanceViewsResponseBody.ts +1 -1
  732. package/src/models/DescribeProcessListRequest.ts +136 -0
  733. package/src/models/DescribeProcessListResponse.ts +40 -0
  734. package/src/models/DescribeProcessListResponseBody.ts +143 -0
  735. package/src/models/DescribeRegionsRequest.ts +11 -5
  736. package/src/models/DescribeRegionsResponseBody.ts +0 -53
  737. package/src/models/DescribeSchemasResponseBody.ts +0 -18
  738. package/src/models/DescribeSparkAppDiagnosisInfoRequest.ts +1 -1
  739. package/src/models/DescribeSqlPatternRequest.ts +1 -1
  740. package/src/models/DescribeSqlpatternsRequest.ts +62 -34
  741. package/src/models/DescribeSqlpatternsResponseBody.ts +122 -23
  742. package/src/models/DescribeSqlwebSocketDomainRequest.ts +14 -3
  743. package/src/models/DescribeSqlwebSocketDomainResponseBody.ts +10 -8
  744. package/src/models/DescribeTableAccessCountRequest.ts +21 -27
  745. package/src/models/DescribeTableAccessCountResponseBody.ts +5 -5
  746. package/src/models/DescribeTablePartitionDiagnoseResponseBody.ts +2 -2
  747. package/src/models/DescribeTableStatisticsResponseBody.ts +0 -97
  748. package/src/models/DescribeTablesResponseBody.ts +0 -25
  749. package/src/models/DescribeUserQuotaRequest.ts +1 -1
  750. package/src/models/DescribeUserQuotaResponseBody.ts +3 -3
  751. package/src/models/DescribeViewJobsRequest.ts +16 -17
  752. package/src/models/DescribeViewJobsResponseBody.ts +5 -5
  753. package/src/models/DescribeWorkerDetectionRequest.ts +7 -10
  754. package/src/models/DescribeWorkerDetectionResponseBody.ts +49 -49
  755. package/src/models/DetachUserEniresponseBody.ts +1 -1
  756. package/src/models/Detail.ts +51 -3
  757. package/src/models/DownloadInstanceCacertificateRequest.ts +4 -5
  758. package/src/models/DownloadInstanceCacertificateResponseBody.ts +1 -1
  759. package/src/models/ExecuteSparkWarehouseBatchSqlrequest.ts +1 -1
  760. package/src/models/FieldSchemaModel.ts +189 -0
  761. package/src/models/GenerateSqlBySemanticSqlRequest.ts +58 -0
  762. package/src/models/{ListApsOptimizationTasksResponse.ts → GenerateSqlBySemanticSqlResponse.ts} +4 -4
  763. package/src/models/GenerateSqlBySemanticSqlResponseBody.ts +96 -0
  764. package/src/models/GetAdbsparkNecessaryRampermissionsRequest.ts +1 -2
  765. package/src/models/GetAdbsparkNecessaryRampermissionsResponseBody.ts +20 -23
  766. package/src/models/GetDatabaseObjectsRequest.ts +4 -1
  767. package/src/models/GetFormationCrawlerRequest.ts +69 -0
  768. package/src/models/GetFormationCrawlerResponse.ts +40 -0
  769. package/src/models/{GetApsManagedDatabasesResponseBody.ts → GetFormationCrawlerResponseBody.ts} +17 -14
  770. package/src/models/GetKnowledgeRecallRequest.ts +58 -0
  771. package/src/models/GetKnowledgeRecallResponse.ts +40 -0
  772. package/src/models/GetKnowledgeRecallResponseBody.ts +104 -0
  773. package/src/models/GetSemanticViewRequest.ts +60 -0
  774. package/src/models/GetSemanticViewResponse.ts +40 -0
  775. package/src/models/{DescribeLlmanswerResponseBody.ts → GetSemanticViewResponseBody.ts} +12 -15
  776. package/src/models/GetSparkAppAttemptLogResponseBody.ts +1 -1
  777. package/src/models/GetSparkAppMetricsResponseBody.ts +2 -2
  778. package/src/models/GetSparkAppStateResponseBody.ts +1 -1
  779. package/src/models/GetSparkConfigLogPathRequest.ts +1 -1
  780. package/src/models/GetSparkConfigLogPathResponseBody.ts +1 -1
  781. package/src/models/GetSparkWarehouseBatchSqlrequest.ts +2 -2
  782. package/src/models/GetTableColumnsRequest.ts +5 -6
  783. package/src/models/GetTableColumnsResponseBody.ts +11 -13
  784. package/src/models/GetTableObjectsRequest.ts +24 -32
  785. package/src/models/GetTableObjectsResponseBody.ts +15 -17
  786. package/src/models/GetTableRequest.ts +4 -4
  787. package/src/models/GetTableResponseBody.ts +5 -5
  788. package/src/models/GetViewObjectsRequest.ts +21 -20
  789. package/src/models/GetViewObjectsResponseBody.ts +10 -12
  790. package/src/models/KillSparkAppResponseBody.ts +4 -4
  791. package/src/models/ListApsWebhookRequest.ts +2 -2
  792. package/src/models/ListApsWebhookResponseBody.ts +8 -8
  793. package/src/models/{ListApsOptimizationStrategyRequest.ts → ListSemanticViewNamesRequest.ts} +8 -10
  794. package/src/models/ListSemanticViewNamesResponse.ts +40 -0
  795. package/src/models/ListSemanticViewNamesResponseBody.ts +94 -0
  796. package/src/models/ListSparkAppAttemptsRequest.ts +7 -7
  797. package/src/models/ListSparkAppAttemptsResponseBody.ts +28 -44
  798. package/src/models/ListSparkAppsRequest.ts +36 -5
  799. package/src/models/ListSparkAppsResponseBody.ts +19 -20
  800. package/src/models/ListTagResourcesRequest.ts +2 -2
  801. package/src/models/ListTagResourcesResponseBody.ts +0 -32
  802. package/src/models/LoadSampleDataSetRequest.ts +1 -1
  803. package/src/models/LoadSampleDataSetResponseBody.ts +1 -1
  804. package/src/models/LogAnalyzeResult.ts +14 -1
  805. package/src/models/ModifyAutoRenewalAttributeRequest.ts +25 -0
  806. package/src/models/ModifyAutoRenewalAttributeResponseBody.ts +3 -0
  807. package/src/models/ModifyDbclusterRequest.ts +41 -17
  808. package/src/models/ModifyDbclusterResponseBody.ts +1 -1
  809. package/src/models/ModifyDbresourceGroupRequest.ts +341 -26
  810. package/src/models/ModifyDbresourceGroupShrinkRequest.ts +77 -24
  811. package/src/models/ModifyMaterializedViewRecommendRequest.ts +18 -25
  812. package/src/models/ModifyMaterializedViewRecommendResponseBody.ts +1 -1
  813. package/src/models/ModifyPerformanceViewRequest.ts +1 -1
  814. package/src/models/ModifyPerformanceViewShrinkRequest.ts +1 -1
  815. package/src/models/ModifyUserEniVswitchOptionsResponseBody.ts +1 -1
  816. package/src/models/OpenStructMvBaseTableDetailModel.ts +28 -0
  817. package/src/models/OpenStructMvDetailModel.ts +149 -0
  818. package/src/models/OpenStructMvRecommendSubTaskModel.ts +63 -0
  819. package/src/models/OpenStructMvRecommendTaskModel.ts +63 -0
  820. package/src/models/OpenStructMvrecommendResultModel.ts +39 -0
  821. package/src/models/OpenStructRefreshJobModel.ts +73 -0
  822. package/src/models/QueryFormationInstsByTaskIdrequest.ts +60 -0
  823. package/src/models/{DescribeLlmsimilarQuestionsResponse.ts → QueryFormationInstsByTaskIdresponse.ts} +4 -4
  824. package/src/models/QueryFormationInstsByTaskIdresponseBody.ts +266 -0
  825. package/src/models/QueryFormationTaskByIdrequest.ts +72 -0
  826. package/src/models/QueryFormationTaskByIdresponse.ts +40 -0
  827. package/src/models/QueryFormationTaskByIdresponseBody.ts +93 -0
  828. package/src/models/QueryFormationTasksByTypeRequest.ts +62 -0
  829. package/src/models/QueryFormationTasksByTypeResponse.ts +40 -0
  830. package/src/models/QueryFormationTasksByTypeResponseBody.ts +223 -0
  831. package/src/models/ReleaseClusterPublicConnectionRequest.ts +9 -4
  832. package/src/models/RenameSemanticViewRequest.ts +84 -0
  833. package/src/models/RenameSemanticViewResponse.ts +40 -0
  834. package/src/models/RenameSemanticViewResponseBody.ts +34 -0
  835. package/src/models/ReplaceSemanticViewRequest.ts +72 -0
  836. package/src/models/ReplaceSemanticViewResponse.ts +40 -0
  837. package/src/models/{ModifyClusterConnectionStringResponseBody.ts → ReplaceSemanticViewResponseBody.ts} +2 -2
  838. package/src/models/{DescribeLlmsimilarQuestionsRequest.ts → RunMaterializedViewRecommendRequest.ts} +17 -15
  839. package/src/models/RunMaterializedViewRecommendResponse.ts +40 -0
  840. package/src/models/RunMaterializedViewRecommendResponseBody.ts +34 -0
  841. package/src/models/{GetApsManagedDatabasesRequest.ts → SearchSemanticViewsRequest.ts} +16 -8
  842. package/src/models/SearchSemanticViewsResponse.ts +40 -0
  843. package/src/models/SearchSemanticViewsResponseBody.ts +45 -0
  844. package/src/models/SemanticViewModel.ts +137 -0
  845. package/src/models/SerDeInfoModel.ts +25 -0
  846. package/src/models/SetSparkAppLogRootPathRequest.ts +2 -2
  847. package/src/models/SetSparkAppLogRootPathResponseBody.ts +3 -3
  848. package/src/models/SparkAnalyzeLogTask.ts +31 -0
  849. package/src/models/SparkAppInfo.ts +38 -4
  850. package/src/models/SparkAttemptInfo.ts +30 -2
  851. package/src/models/SparkBatchSql.ts +48 -4
  852. package/src/models/SparkBatchSqlstatement.ts +40 -2
  853. package/src/models/StartFormationCrawlerRequest.ts +69 -0
  854. package/src/models/StartFormationCrawlerResponse.ts +40 -0
  855. package/src/models/StartFormationCrawlerResponseBody.ts +66 -0
  856. package/src/models/StopFormationCrawlerRequest.ts +72 -0
  857. package/src/models/StopFormationCrawlerResponse.ts +40 -0
  858. package/src/models/StopFormationCrawlerResponseBody.ts +84 -0
  859. package/src/models/StorageDescriptorModel.ts +57 -0
  860. package/src/models/TableDetailModel.ts +60 -0
  861. package/src/models/TableModel.ts +312 -0
  862. package/src/models/TableSummaryModel.ts +63 -0
  863. package/src/models/UpdateApsWebhookRequest.ts +9 -6
  864. package/src/models/UpdateApsWebhookResponseBody.ts +5 -2
  865. package/src/models/UpdateApsWebhookShrinkRequest.ts +1 -1
  866. package/src/models/UpdateFormationCrawlerRequest.ts +68 -0
  867. package/src/models/UpdateFormationCrawlerResponse.ts +40 -0
  868. package/src/models/UpdateFormationCrawlerResponseBody.ts +99 -0
  869. package/src/models/{ListApsLifecycleStrategyRequest.ts → UpdateFormationCrawlerScheduleStateRequest.ts} +29 -28
  870. package/src/models/UpdateFormationCrawlerScheduleStateResponse.ts +40 -0
  871. package/src/models/UpdateFormationCrawlerScheduleStateResponseBody.ts +86 -0
  872. package/src/models/UserSummaryModel.ts +43 -0
  873. package/src/models/model.ts +85 -26
  874. package/dist/models/DescribeLlmanswerRequest.d.ts +0 -44
  875. package/dist/models/DescribeLlmanswerRequest.js.map +0 -1
  876. package/dist/models/DescribeLlmanswerResponse.js.map +0 -1
  877. package/dist/models/DescribeLlmanswerResponseBody.js.map +0 -1
  878. package/dist/models/DescribeLlmsimilarQuestionsRequest.js.map +0 -1
  879. package/dist/models/DescribeLlmsimilarQuestionsResponseBody.d.ts +0 -90
  880. package/dist/models/DescribeLlmsimilarQuestionsResponseBody.js.map +0 -1
  881. package/dist/models/GetApsManagedDatabasesRequest.js.map +0 -1
  882. package/dist/models/GetApsManagedDatabasesResponseBody.js.map +0 -1
  883. package/dist/models/ListApsLifecycleStrategyRequest.js.map +0 -1
  884. package/dist/models/ListApsLifecycleStrategyResponseBody.d.ts +0 -229
  885. package/dist/models/ListApsLifecycleStrategyResponseBody.js +0 -147
  886. package/dist/models/ListApsLifecycleStrategyResponseBody.js.map +0 -1
  887. package/dist/models/ListApsOptimizationStrategyRequest.js.map +0 -1
  888. package/dist/models/ListApsOptimizationStrategyResponse.js +0 -69
  889. package/dist/models/ListApsOptimizationStrategyResponse.js.map +0 -1
  890. package/dist/models/ListApsOptimizationStrategyResponseBody.d.ts +0 -122
  891. package/dist/models/ListApsOptimizationStrategyResponseBody.js.map +0 -1
  892. package/dist/models/ListApsOptimizationTasksRequest.d.ts +0 -75
  893. package/dist/models/ListApsOptimizationTasksRequest.js.map +0 -1
  894. package/dist/models/ListApsOptimizationTasksResponse.js.map +0 -1
  895. package/dist/models/ListApsOptimizationTasksResponseBody.d.ts +0 -189
  896. package/dist/models/ListApsOptimizationTasksResponseBody.js.map +0 -1
  897. package/dist/models/ModifyClusterConnectionStringRequest.d.ts +0 -54
  898. package/dist/models/ModifyClusterConnectionStringRequest.js.map +0 -1
  899. package/dist/models/ModifyClusterConnectionStringResponse.d.ts +0 -19
  900. package/dist/models/ModifyClusterConnectionStringResponse.js +0 -69
  901. package/dist/models/ModifyClusterConnectionStringResponse.js.map +0 -1
  902. package/dist/models/ModifyClusterConnectionStringResponseBody.js.map +0 -1
  903. package/src/models/DescribeLlmanswerRequest.ts +0 -69
  904. package/src/models/DescribeLlmsimilarQuestionsResponseBody.ts +0 -132
  905. package/src/models/ListApsLifecycleStrategyResponseBody.ts +0 -313
  906. package/src/models/ListApsOptimizationStrategyResponse.ts +0 -40
  907. package/src/models/ListApsOptimizationStrategyResponseBody.ts +0 -166
  908. package/src/models/ListApsOptimizationTasksRequest.ts +0 -100
  909. package/src/models/ListApsOptimizationTasksResponseBody.ts +0 -249
  910. package/src/models/ModifyClusterConnectionStringRequest.ts +0 -73
  911. package/src/models/ModifyClusterConnectionStringResponse.ts +0 -40
package/src/client.ts CHANGED
@@ -57,6 +57,21 @@ export default class Client extends OpenApi {
57
57
  'eu-west-1-oxs': "adb.ap-northeast-1.aliyuncs.com",
58
58
  'me-east-1': "adb.ap-northeast-1.aliyuncs.com",
59
59
  'rus-west-1-pop': "adb.ap-northeast-1.aliyuncs.com",
60
+ 'na-south-1': "adb.na-south-1.aliyuncs.com",
61
+ 'me-central-1': "adb.me-central-1.aliyuncs.com",
62
+ 'eu-west-1': "adb.eu-west-1.aliyuncs.com",
63
+ 'eu-central-1': "adb.eu-central-1.aliyuncs.com",
64
+ 'cn-zhangjiakou': "adb.cn-zhangjiakou.aliyuncs.com",
65
+ 'cn-wulanchabu': "adb.cn-wulanchabu.aliyuncs.com",
66
+ 'cn-huhehaote': "adb.cn-huhehaote.aliyuncs.com",
67
+ 'cn-guangzhou': "adb.cn-guangzhou.aliyuncs.com",
68
+ 'cn-chengdu': "adb.cn-chengdu.aliyuncs.com",
69
+ 'ap-southeast-7': "adb.ap-southeast-7.aliyuncs.com",
70
+ 'ap-southeast-6': "adb.ap-southeast-6.aliyuncs.com",
71
+ 'ap-southeast-5': "adb.ap-southeast-5.aliyuncs.com",
72
+ 'ap-southeast-3': "adb.ap-southeast-3.aliyuncs.com",
73
+ 'ap-northeast-2': "adb.ap-northeast-2.aliyuncs.com",
74
+ 'ap-northeast-1': "adb.ap-northeast-1.aliyuncs.com",
60
75
  };
61
76
  this.checkConfig(config);
62
77
  this._endpoint = this.getEndpoint("adb", this._regionId, this._endpointRule, this._network, this._suffix, this._endpointMap, this._endpoint);
@@ -76,10 +91,72 @@ export default class Client extends OpenApi {
76
91
  }
77
92
 
78
93
  /**
79
- * Applies for a public endpoint for an AnalyticDB for MySQL cluster.
94
+ * Adds a knowledge base document.
95
+ *
96
+ * @param request - AddKnowledgeFileRequest
97
+ * @param runtime - runtime options for this request RuntimeOptions
98
+ * @returns AddKnowledgeFileResponse
99
+ */
100
+ async addKnowledgeFileWithOptions(request: $_model.AddKnowledgeFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddKnowledgeFileResponse> {
101
+ request.validate();
102
+ let query = { };
103
+ if (!$dara.isNull(request.DBClusterId)) {
104
+ query["DBClusterId"] = request.DBClusterId;
105
+ }
106
+
107
+ if (!$dara.isNull(request.fileLocation)) {
108
+ query["FileLocation"] = request.fileLocation;
109
+ }
110
+
111
+ if (!$dara.isNull(request.fileType)) {
112
+ query["FileType"] = request.fileType;
113
+ }
114
+
115
+ if (!$dara.isNull(request.isDir)) {
116
+ query["IsDir"] = request.isDir;
117
+ }
118
+
119
+ if (!$dara.isNull(request.tags)) {
120
+ query["Tags"] = request.tags;
121
+ }
122
+
123
+ if (!$dara.isNull(request.uploadUser)) {
124
+ query["UploadUser"] = request.uploadUser;
125
+ }
126
+
127
+ let req = new $OpenApiUtil.OpenApiRequest({
128
+ query: OpenApiUtil.query(query),
129
+ });
130
+ let params = new $OpenApiUtil.Params({
131
+ action: "AddKnowledgeFile",
132
+ version: "2021-12-01",
133
+ protocol: "HTTPS",
134
+ pathname: "/",
135
+ method: "POST",
136
+ authType: "AK",
137
+ style: "RPC",
138
+ reqBodyType: "formData",
139
+ bodyType: "json",
140
+ });
141
+ return $dara.cast<$_model.AddKnowledgeFileResponse>(await this.callApi(params, req, runtime), new $_model.AddKnowledgeFileResponse({}));
142
+ }
143
+
144
+ /**
145
+ * Adds a knowledge base document.
146
+ *
147
+ * @param request - AddKnowledgeFileRequest
148
+ * @returns AddKnowledgeFileResponse
149
+ */
150
+ async addKnowledgeFile(request: $_model.AddKnowledgeFileRequest): Promise<$_model.AddKnowledgeFileResponse> {
151
+ let runtime = new $dara.RuntimeOptions({ });
152
+ return await this.addKnowledgeFileWithOptions(request, runtime);
153
+ }
154
+
155
+ /**
156
+ * Allocates a public connection address for a cluster.
80
157
  *
81
158
  * @remarks
82
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
159
+ * For a list of service endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
83
160
  *
84
161
  * @param request - AllocateClusterPublicConnectionRequest
85
162
  * @param runtime - runtime options for this request RuntimeOptions
@@ -100,6 +177,10 @@ export default class Client extends OpenApi {
100
177
  query["Engine"] = request.engine;
101
178
  }
102
179
 
180
+ if (!$dara.isNull(request.resourceGroupName)) {
181
+ query["ResourceGroupName"] = request.resourceGroupName;
182
+ }
183
+
103
184
  let req = new $OpenApiUtil.OpenApiRequest({
104
185
  query: OpenApiUtil.query(query),
105
186
  });
@@ -118,10 +199,10 @@ export default class Client extends OpenApi {
118
199
  }
119
200
 
120
201
  /**
121
- * Applies for a public endpoint for an AnalyticDB for MySQL cluster.
202
+ * Allocates a public connection address for a cluster.
122
203
  *
123
204
  * @remarks
124
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
205
+ * For a list of service endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
125
206
  *
126
207
  * @param request - AllocateClusterPublicConnectionRequest
127
208
  * @returns AllocateClusterPublicConnectionResponse
@@ -132,10 +213,10 @@ export default class Client extends OpenApi {
132
213
  }
133
214
 
134
215
  /**
135
- * Applies an optimization suggestion.
216
+ * Applies a single optimization suggestion.
136
217
  *
137
218
  * @remarks
138
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
219
+ * For the endpoints of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
139
220
  *
140
221
  * @param request - ApplyAdviceByIdRequest
141
222
  * @param runtime - runtime options for this request RuntimeOptions
@@ -186,10 +267,10 @@ export default class Client extends OpenApi {
186
267
  }
187
268
 
188
269
  /**
189
- * Applies an optimization suggestion.
270
+ * Applies a single optimization suggestion.
190
271
  *
191
272
  * @remarks
192
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
273
+ * For the endpoints of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
193
274
  *
194
275
  * @param request - ApplyAdviceByIdRequest
195
276
  * @returns ApplyAdviceByIdResponse
@@ -248,7 +329,10 @@ export default class Client extends OpenApi {
248
329
  }
249
330
 
250
331
  /**
251
- * Applies optimization suggestions.
332
+ * Applies optimization suggestions in batches.
333
+ *
334
+ * @remarks
335
+ * For the endpoint of this service, refer to [Service registration](https://help.aliyun.com/document_detail/612373.html).
252
336
  *
253
337
  * @param request - BatchApplyAdviceByIdListRequest
254
338
  * @param runtime - runtime options for this request RuntimeOptions
@@ -299,7 +383,10 @@ export default class Client extends OpenApi {
299
383
  }
300
384
 
301
385
  /**
302
- * Applies optimization suggestions.
386
+ * Applies optimization suggestions in batches.
387
+ *
388
+ * @remarks
389
+ * For the endpoint of this service, refer to [Service registration](https://help.aliyun.com/document_detail/612373.html).
303
390
  *
304
391
  * @param request - BatchApplyAdviceByIdListRequest
305
392
  * @returns BatchApplyAdviceByIdListResponse
@@ -310,17 +397,23 @@ export default class Client extends OpenApi {
310
397
  }
311
398
 
312
399
  /**
313
- * Associates a standard account of an AnalyticDB for MySQL cluster with a Resource Access Management (RAM) user.
400
+ * Bind a Resource Access Management (RAM) user to a standard database account in a cluster.
314
401
  *
315
402
  * @remarks
316
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
403
+ * For the current service endpoint, see [service endpoints](https://help.aliyun.com/document_detail/612373.html).
317
404
  *
318
- * @param request - BindAccountRequest
405
+ * @param tmpReq - BindAccountRequest
319
406
  * @param runtime - runtime options for this request RuntimeOptions
320
407
  * @returns BindAccountResponse
321
408
  */
322
- async bindAccountWithOptions(request: $_model.BindAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BindAccountResponse> {
323
- request.validate();
409
+ async bindAccountWithOptions(tmpReq: $_model.BindAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.BindAccountResponse> {
410
+ tmpReq.validate();
411
+ let request = new $_model.BindAccountShrinkRequest({ });
412
+ OpenApiUtil.convert(tmpReq, request);
413
+ if (!$dara.isNull(tmpReq.ramUserList)) {
414
+ request.ramUserListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ramUserList, "RamUserList", "json");
415
+ }
416
+
324
417
  let query = { };
325
418
  if (!$dara.isNull(request.accountName)) {
326
419
  query["AccountName"] = request.accountName;
@@ -334,6 +427,10 @@ export default class Client extends OpenApi {
334
427
  query["RamUser"] = request.ramUser;
335
428
  }
336
429
 
430
+ if (!$dara.isNull(request.ramUserListShrink)) {
431
+ query["RamUserList"] = request.ramUserListShrink;
432
+ }
433
+
337
434
  let req = new $OpenApiUtil.OpenApiRequest({
338
435
  query: OpenApiUtil.query(query),
339
436
  });
@@ -352,10 +449,10 @@ export default class Client extends OpenApi {
352
449
  }
353
450
 
354
451
  /**
355
- * Associates a standard account of an AnalyticDB for MySQL cluster with a Resource Access Management (RAM) user.
452
+ * Bind a Resource Access Management (RAM) user to a standard database account in a cluster.
356
453
  *
357
454
  * @remarks
358
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
455
+ * For the current service endpoint, see [service endpoints](https://help.aliyun.com/document_detail/612373.html).
359
456
  *
360
457
  * @param request - BindAccountRequest
361
458
  * @returns BindAccountResponse
@@ -472,7 +569,12 @@ export default class Client extends OpenApi {
472
569
  }
473
570
 
474
571
  /**
475
- * Cancels the execution of a Spark SQL statement.
572
+ * Cancels a Spark SQL execution.
573
+ *
574
+ * @remarks
575
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
576
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
577
+ * > If you encounter a 409 error when initiating requests from China North 1 (Qingdao), China South 1 (Shenzhen), China South 3 (Guangzhou), or Hong Kong (China), contact technical support.
476
578
  *
477
579
  * @param request - CancelSparkWarehouseBatchSQLRequest
478
580
  * @param runtime - runtime options for this request RuntimeOptions
@@ -511,7 +613,12 @@ export default class Client extends OpenApi {
511
613
  }
512
614
 
513
615
  /**
514
- * Cancels the execution of a Spark SQL statement.
616
+ * Cancels a Spark SQL execution.
617
+ *
618
+ * @remarks
619
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
620
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
621
+ * > If you encounter a 409 error when initiating requests from China North 1 (Qingdao), China South 1 (Shenzhen), China South 3 (Guangzhou), or Hong Kong (China), contact technical support.
515
622
  *
516
623
  * @param request - CancelSparkWarehouseBatchSQLRequest
517
624
  * @returns CancelSparkWarehouseBatchSQLResponse
@@ -573,9 +680,63 @@ export default class Client extends OpenApi {
573
680
  return await this.checkBindRamUserWithOptions(request, runtime);
574
681
  }
575
682
 
683
+ /**
684
+ * Checks whether a metadata discovery schema exists.
685
+ *
686
+ * @param request - CheckFormationSchemaExistsRequest
687
+ * @param runtime - runtime options for this request RuntimeOptions
688
+ * @returns CheckFormationSchemaExistsResponse
689
+ */
690
+ async checkFormationSchemaExistsWithOptions(request: $_model.CheckFormationSchemaExistsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CheckFormationSchemaExistsResponse> {
691
+ request.validate();
692
+ let body : {[key: string ]: any} = { };
693
+ if (!$dara.isNull(request.DBClusterId)) {
694
+ body["DBClusterId"] = request.DBClusterId;
695
+ }
696
+
697
+ if (!$dara.isNull(request.prefixMode)) {
698
+ body["PrefixMode"] = request.prefixMode;
699
+ }
700
+
701
+ if (!$dara.isNull(request.regionId)) {
702
+ body["RegionId"] = request.regionId;
703
+ }
704
+
705
+ if (!$dara.isNull(request.schema)) {
706
+ body["Schema"] = request.schema;
707
+ }
708
+
709
+ let req = new $OpenApiUtil.OpenApiRequest({
710
+ body: OpenApiUtil.parseToMap(body),
711
+ });
712
+ let params = new $OpenApiUtil.Params({
713
+ action: "CheckFormationSchemaExists",
714
+ version: "2021-12-01",
715
+ protocol: "HTTPS",
716
+ pathname: "/",
717
+ method: "POST",
718
+ authType: "AK",
719
+ style: "RPC",
720
+ reqBodyType: "formData",
721
+ bodyType: "json",
722
+ });
723
+ return $dara.cast<$_model.CheckFormationSchemaExistsResponse>(await this.callApi(params, req, runtime), new $_model.CheckFormationSchemaExistsResponse({}));
724
+ }
725
+
726
+ /**
727
+ * Checks whether a metadata discovery schema exists.
728
+ *
729
+ * @param request - CheckFormationSchemaExistsRequest
730
+ * @returns CheckFormationSchemaExistsResponse
731
+ */
732
+ async checkFormationSchemaExists(request: $_model.CheckFormationSchemaExistsRequest): Promise<$_model.CheckFormationSchemaExistsResponse> {
733
+ let runtime = new $dara.RuntimeOptions({ });
734
+ return await this.checkFormationSchemaExistsWithOptions(request, runtime);
735
+ }
736
+
576
737
  /**
577
738
  * @remarks
578
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
739
+ * For the service endpoint, see [endpoint](https://help.aliyun.com/document_detail/612373.html).
579
740
  *
580
741
  * @param request - CheckSampleDataSetRequest
581
742
  * @param runtime - runtime options for this request RuntimeOptions
@@ -607,7 +768,7 @@ export default class Client extends OpenApi {
607
768
 
608
769
  /**
609
770
  * @remarks
610
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
771
+ * For the service endpoint, see [endpoint](https://help.aliyun.com/document_detail/612373.html).
611
772
  *
612
773
  * @param request - CheckSampleDataSetRequest
613
774
  * @returns CheckSampleDataSetResponse
@@ -778,17 +939,23 @@ export default class Client extends OpenApi {
778
939
  }
779
940
 
780
941
  /**
781
- * Creates a database account for an AnalyticDB for MySQL cluster.
942
+ * Creates a database account for a cluster.
782
943
  *
783
944
  * @remarks
784
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
945
+ * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
785
946
  *
786
- * @param request - CreateAccountRequest
947
+ * @param tmpReq - CreateAccountRequest
787
948
  * @param runtime - runtime options for this request RuntimeOptions
788
949
  * @returns CreateAccountResponse
789
950
  */
790
- async createAccountWithOptions(request: $_model.CreateAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAccountResponse> {
791
- request.validate();
951
+ async createAccountWithOptions(tmpReq: $_model.CreateAccountRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateAccountResponse> {
952
+ tmpReq.validate();
953
+ let request = new $_model.CreateAccountShrinkRequest({ });
954
+ OpenApiUtil.convert(tmpReq, request);
955
+ if (!$dara.isNull(tmpReq.ramUserList)) {
956
+ request.ramUserListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ramUserList, "RamUserList", "json");
957
+ }
958
+
792
959
  let query = { };
793
960
  if (!$dara.isNull(request.accountDescription)) {
794
961
  query["AccountDescription"] = request.accountDescription;
@@ -814,6 +981,10 @@ export default class Client extends OpenApi {
814
981
  query["Engine"] = request.engine;
815
982
  }
816
983
 
984
+ if (!$dara.isNull(request.ramUserListShrink)) {
985
+ query["RamUserList"] = request.ramUserListShrink;
986
+ }
987
+
817
988
  let req = new $OpenApiUtil.OpenApiRequest({
818
989
  query: OpenApiUtil.query(query),
819
990
  });
@@ -832,10 +1003,10 @@ export default class Client extends OpenApi {
832
1003
  }
833
1004
 
834
1005
  /**
835
- * Creates a database account for an AnalyticDB for MySQL cluster.
1006
+ * Creates a database account for a cluster.
836
1007
  *
837
1008
  * @remarks
838
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
1009
+ * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
839
1010
  *
840
1011
  * @param request - CreateAccountRequest
841
1012
  * @returns CreateAccountResponse
@@ -846,7 +1017,7 @@ export default class Client extends OpenApi {
846
1017
  }
847
1018
 
848
1019
  /**
849
- * Creates an AnalyticDB Pipeline Service (APS) replication job.
1020
+ * Creates an APS replication task.
850
1021
  *
851
1022
  * @param request - CreateApsCopyWorkloadRequest
852
1023
  * @param runtime - runtime options for this request RuntimeOptions
@@ -901,7 +1072,7 @@ export default class Client extends OpenApi {
901
1072
  }
902
1073
 
903
1074
  /**
904
- * Creates an AnalyticDB Pipeline Service (APS) replication job.
1075
+ * Creates an APS replication task.
905
1076
  *
906
1077
  * @param request - CreateApsCopyWorkloadRequest
907
1078
  * @returns CreateApsCopyWorkloadResponse
@@ -912,10 +1083,10 @@ export default class Client extends OpenApi {
912
1083
  }
913
1084
 
914
1085
  /**
915
- * Creates an AnalyticDB Pipeline Service (APS) data source.
1086
+ * Creates an APS data source.
916
1087
  *
917
1088
  * @remarks
918
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
1089
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
919
1090
  *
920
1091
  * @param tmpReq - CreateApsDatasoureRequest
921
1092
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1024,10 +1195,10 @@ export default class Client extends OpenApi {
1024
1195
  }
1025
1196
 
1026
1197
  /**
1027
- * Creates an AnalyticDB Pipeline Service (APS) data source.
1198
+ * Creates an APS data source.
1028
1199
  *
1029
1200
  * @remarks
1030
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
1201
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1031
1202
  *
1032
1203
  * @param request - CreateApsDatasoureRequest
1033
1204
  * @returns CreateApsDatasoureResponse
@@ -1038,10 +1209,10 @@ export default class Client extends OpenApi {
1038
1209
  }
1039
1210
 
1040
1211
  /**
1041
- * Creates an AnalyticDB Pipeline Service (APS) job from a Hive data source.
1212
+ * Creates an APS Hive task.
1042
1213
  *
1043
1214
  * @remarks
1044
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
1215
+ * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1045
1216
  *
1046
1217
  * @param request - CreateApsHiveJobRequest
1047
1218
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1120,10 +1291,10 @@ export default class Client extends OpenApi {
1120
1291
  }
1121
1292
 
1122
1293
  /**
1123
- * Creates an AnalyticDB Pipeline Service (APS) job from a Hive data source.
1294
+ * Creates an APS Hive task.
1124
1295
  *
1125
1296
  * @remarks
1126
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
1297
+ * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1127
1298
  *
1128
1299
  * @param request - CreateApsHiveJobRequest
1129
1300
  * @returns CreateApsHiveJobResponse
@@ -1134,7 +1305,7 @@ export default class Client extends OpenApi {
1134
1305
  }
1135
1306
 
1136
1307
  /**
1137
- * Creates a data ingestion task to load data from an Apache Kafka topic into an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
1308
+ * Creates an APS Kafka to data lakehouse job.
1138
1309
  *
1139
1310
  * @param tmpReq - CreateApsKafkaHudiJobRequest
1140
1311
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1287,7 +1458,7 @@ export default class Client extends OpenApi {
1287
1458
  }
1288
1459
 
1289
1460
  /**
1290
- * Creates a data ingestion task to load data from an Apache Kafka topic into an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
1461
+ * Creates an APS Kafka to data lakehouse job.
1291
1462
  *
1292
1463
  * @param request - CreateApsKafkaHudiJobRequest
1293
1464
  * @returns CreateApsKafkaHudiJobResponse
@@ -1478,7 +1649,7 @@ export default class Client extends OpenApi {
1478
1649
  }
1479
1650
 
1480
1651
  /**
1481
- * Creates a new webhook for the specified cluster or task type.
1652
+ * Creates a webhook for a specified database cluster and task type.
1482
1653
  *
1483
1654
  * @param tmpReq - CreateApsWebhookRequest
1484
1655
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1527,7 +1698,7 @@ export default class Client extends OpenApi {
1527
1698
  }
1528
1699
 
1529
1700
  /**
1530
- * Creates a new webhook for the specified cluster or task type.
1701
+ * Creates a webhook for a specified database cluster and task type.
1531
1702
  *
1532
1703
  * @param request - CreateApsWebhookRequest
1533
1704
  * @returns CreateApsWebhookResponse
@@ -1538,10 +1709,10 @@ export default class Client extends OpenApi {
1538
1709
  }
1539
1710
 
1540
1711
  /**
1541
- * Creates a data backup for an AnalyticDB for MySQL instance.
1712
+ * Creates a backup set immediately.
1542
1713
  *
1543
1714
  * @remarks
1544
- * *Before you call this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups are the same as regular backups in terms of price and retention period of backup sets.
1715
+ * *Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups and regular backups have the same pricing and backup set retention period.
1545
1716
  *
1546
1717
  * @param request - CreateBackupRequest
1547
1718
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1592,10 +1763,10 @@ export default class Client extends OpenApi {
1592
1763
  }
1593
1764
 
1594
1765
  /**
1595
- * Creates a data backup for an AnalyticDB for MySQL instance.
1766
+ * Creates a backup set immediately.
1596
1767
  *
1597
1768
  * @remarks
1598
- * *Before you call this operation, make sure that you fully understand the billing method and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups are the same as regular backups in terms of price and retention period of backup sets.
1769
+ * *Before you use this operation, make sure that you fully understand the billing methods and [pricing](https://www.aliyun.com/price/product#/ads/detail/ads_pre) of AnalyticDB for MySQL.** Temporary backups and regular backups have the same pricing and backup set retention period.
1599
1770
  *
1600
1771
  * @param request - CreateBackupRequest
1601
1772
  * @returns CreateBackupResponse
@@ -1606,10 +1777,10 @@ export default class Client extends OpenApi {
1606
1777
  }
1607
1778
 
1608
1779
  /**
1609
- * Creates an AnalyticDB for MySQL Data Lakehouse Edition cluster.
1780
+ * Creates a Data Lakehouse Edition cluster.
1610
1781
  *
1611
1782
  * @remarks
1612
- * CreateDBCluster
1783
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1613
1784
  *
1614
1785
  * @param request - CreateDBClusterRequest
1615
1786
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1618,6 +1789,14 @@ export default class Client extends OpenApi {
1618
1789
  async createDBClusterWithOptions(request: $_model.CreateDBClusterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateDBClusterResponse> {
1619
1790
  request.validate();
1620
1791
  let query = { };
1792
+ if (!$dara.isNull(request.AINodeNumber)) {
1793
+ query["AINodeNumber"] = request.AINodeNumber;
1794
+ }
1795
+
1796
+ if (!$dara.isNull(request.AINodeSpec)) {
1797
+ query["AINodeSpec"] = request.AINodeSpec;
1798
+ }
1799
+
1621
1800
  if (!$dara.isNull(request.backupSetId)) {
1622
1801
  query["BackupSetId"] = request.backupSetId;
1623
1802
  }
@@ -1752,10 +1931,10 @@ export default class Client extends OpenApi {
1752
1931
  }
1753
1932
 
1754
1933
  /**
1755
- * Creates an AnalyticDB for MySQL Data Lakehouse Edition cluster.
1934
+ * Creates a Data Lakehouse Edition cluster.
1756
1935
  *
1757
1936
  * @remarks
1758
- * CreateDBCluster
1937
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1759
1938
  *
1760
1939
  * @param request - CreateDBClusterRequest
1761
1940
  * @returns CreateDBClusterResponse
@@ -1766,10 +1945,10 @@ export default class Client extends OpenApi {
1766
1945
  }
1767
1946
 
1768
1947
  /**
1769
- * Creates a resource group for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
1948
+ * Creates a resource group for a specified Dedicated Edition, Basic Edition, or Data Lakehouse Edition cluster.
1770
1949
  *
1771
1950
  * @remarks
1772
- * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
1951
+ * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1773
1952
  *
1774
1953
  * @param tmpReq - CreateDBResourceGroupRequest
1775
1954
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1779,6 +1958,10 @@ export default class Client extends OpenApi {
1779
1958
  tmpReq.validate();
1780
1959
  let request = new $_model.CreateDBResourceGroupShrinkRequest({ });
1781
1960
  OpenApiUtil.convert(tmpReq, request);
1961
+ if (!$dara.isNull(tmpReq.atmConfig)) {
1962
+ request.atmConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.atmConfig, "AtmConfig", "json");
1963
+ }
1964
+
1782
1965
  if (!$dara.isNull(tmpReq.engineParams)) {
1783
1966
  request.engineParamsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.engineParams, "EngineParams", "json");
1784
1967
  }
@@ -1796,10 +1979,18 @@ export default class Client extends OpenApi {
1796
1979
  }
1797
1980
 
1798
1981
  let query = { };
1982
+ if (!$dara.isNull(request.atmConfigShrink)) {
1983
+ query["AtmConfig"] = request.atmConfigShrink;
1984
+ }
1985
+
1799
1986
  if (!$dara.isNull(request.autoStopInterval)) {
1800
1987
  query["AutoStopInterval"] = request.autoStopInterval;
1801
1988
  }
1802
1989
 
1990
+ if (!$dara.isNull(request.classification)) {
1991
+ query["Classification"] = request.classification;
1992
+ }
1993
+
1803
1994
  if (!$dara.isNull(request.clusterMode)) {
1804
1995
  query["ClusterMode"] = request.clusterMode;
1805
1996
  }
@@ -1872,6 +2063,10 @@ export default class Client extends OpenApi {
1872
2063
  query["Rules"] = request.rulesShrink;
1873
2064
  }
1874
2065
 
2066
+ if (!$dara.isNull(request.scalePolicy)) {
2067
+ query["ScalePolicy"] = request.scalePolicy;
2068
+ }
2069
+
1875
2070
  if (!$dara.isNull(request.specName)) {
1876
2071
  query["SpecName"] = request.specName;
1877
2072
  }
@@ -1898,10 +2093,10 @@ export default class Client extends OpenApi {
1898
2093
  }
1899
2094
 
1900
2095
  /**
1901
- * Creates a resource group for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
2096
+ * Creates a resource group for a specified Dedicated Edition, Basic Edition, or Data Lakehouse Edition cluster.
1902
2097
  *
1903
2098
  * @remarks
1904
- * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
2099
+ * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1905
2100
  *
1906
2101
  * @param request - CreateDBResourceGroupRequest
1907
2102
  * @returns CreateDBResourceGroupResponse
@@ -1995,6 +2190,80 @@ export default class Client extends OpenApi {
1995
2190
  return await this.createElasticPlanWithOptions(request, runtime);
1996
2191
  }
1997
2192
 
2193
+ /**
2194
+ * Creates a Formation Crawler metadata discovery task in an AnalyticDB for MySQL (ADB) instance.
2195
+ *
2196
+ * @remarks
2197
+ * ## Operation description
2198
+ * - This operation creates a Formation Crawler metadata discovery task in an AnalyticDB for MySQL instance.
2199
+ * - The created task configuration is not executed immediately. Call `StartFormationCrawler` to start the task.
2200
+ * - The `CrawlerInfo` field is a JSON string that contains the core configuration of the task, such as the target database name and data source type.
2201
+ * - Some parameters, such as `classifiers` and `frequency`, require double JSON encoding.
2202
+ * - The database name specified in `dbName` is automatically converted to lowercase by the server.
2203
+ * - `schemaChangePolicy` is required. You must specify both `updateRule` and `deleteRule`.
2204
+ * - Use the `RUN_ON_DEMAND` scheduling mode to avoid unnecessary repeated scans.
2205
+ * - Make sure the product name is `adb` and the endpoint format is `adb.{regionId}.aliyuncs.com`.
2206
+ * - After the task is created, manually call `StartFormationCrawler` to trigger the first metadata discovery.
2207
+ *
2208
+ * @param request - CreateFormationCrawlerRequest
2209
+ * @param runtime - runtime options for this request RuntimeOptions
2210
+ * @returns CreateFormationCrawlerResponse
2211
+ */
2212
+ async createFormationCrawlerWithOptions(request: $_model.CreateFormationCrawlerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateFormationCrawlerResponse> {
2213
+ request.validate();
2214
+ let body : {[key: string ]: any} = { };
2215
+ if (!$dara.isNull(request.crawlerInfo)) {
2216
+ body["CrawlerInfo"] = request.crawlerInfo;
2217
+ }
2218
+
2219
+ if (!$dara.isNull(request.DBClusterId)) {
2220
+ body["DBClusterId"] = request.DBClusterId;
2221
+ }
2222
+
2223
+ if (!$dara.isNull(request.regionId)) {
2224
+ body["RegionId"] = request.regionId;
2225
+ }
2226
+
2227
+ let req = new $OpenApiUtil.OpenApiRequest({
2228
+ body: OpenApiUtil.parseToMap(body),
2229
+ });
2230
+ let params = new $OpenApiUtil.Params({
2231
+ action: "CreateFormationCrawler",
2232
+ version: "2021-12-01",
2233
+ protocol: "HTTPS",
2234
+ pathname: "/",
2235
+ method: "POST",
2236
+ authType: "AK",
2237
+ style: "RPC",
2238
+ reqBodyType: "formData",
2239
+ bodyType: "json",
2240
+ });
2241
+ return $dara.cast<$_model.CreateFormationCrawlerResponse>(await this.callApi(params, req, runtime), new $_model.CreateFormationCrawlerResponse({}));
2242
+ }
2243
+
2244
+ /**
2245
+ * Creates a Formation Crawler metadata discovery task in an AnalyticDB for MySQL (ADB) instance.
2246
+ *
2247
+ * @remarks
2248
+ * ## Operation description
2249
+ * - This operation creates a Formation Crawler metadata discovery task in an AnalyticDB for MySQL instance.
2250
+ * - The created task configuration is not executed immediately. Call `StartFormationCrawler` to start the task.
2251
+ * - The `CrawlerInfo` field is a JSON string that contains the core configuration of the task, such as the target database name and data source type.
2252
+ * - Some parameters, such as `classifiers` and `frequency`, require double JSON encoding.
2253
+ * - The database name specified in `dbName` is automatically converted to lowercase by the server.
2254
+ * - `schemaChangePolicy` is required. You must specify both `updateRule` and `deleteRule`.
2255
+ * - Use the `RUN_ON_DEMAND` scheduling mode to avoid unnecessary repeated scans.
2256
+ * - Make sure the product name is `adb` and the endpoint format is `adb.{regionId}.aliyuncs.com`.
2257
+ * - After the task is created, manually call `StartFormationCrawler` to trigger the first metadata discovery.
2258
+ *
2259
+ * @param request - CreateFormationCrawlerRequest
2260
+ * @returns CreateFormationCrawlerResponse
2261
+ */
2262
+ async createFormationCrawler(request: $_model.CreateFormationCrawlerRequest): Promise<$_model.CreateFormationCrawlerResponse> {
2263
+ let runtime = new $dara.RuntimeOptions({ });
2264
+ return await this.createFormationCrawlerWithOptions(request, runtime);
2265
+ }
2266
+
1998
2267
  /**
1999
2268
  * Creates a lake storage.
2000
2269
  *
@@ -2062,7 +2331,7 @@ export default class Client extends OpenApi {
2062
2331
  }
2063
2332
 
2064
2333
  /**
2065
- * Creates a materialized view recommendation task.
2334
+ * Creates an automatic materialized view recommendation task.
2066
2335
  *
2067
2336
  * @param request - CreateMaterializedViewRecommendRequest
2068
2337
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2149,7 +2418,7 @@ export default class Client extends OpenApi {
2149
2418
  }
2150
2419
 
2151
2420
  /**
2152
- * Creates a materialized view recommendation task.
2421
+ * Creates an automatic materialized view recommendation task.
2153
2422
  *
2154
2423
  * @param request - CreateMaterializedViewRecommendRequest
2155
2424
  * @returns CreateMaterializedViewRecommendResponse
@@ -2160,12 +2429,12 @@ export default class Client extends OpenApi {
2160
2429
  }
2161
2430
 
2162
2431
  /**
2163
- * Creates an Object Storage Service (OSS) subdirectory.
2432
+ * Creates a subdirectory in Object Storage Service (OSS).
2164
2433
  *
2165
2434
  * @remarks
2166
- * General endpoint: `adb.aliyuncs.com`.
2167
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
2168
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
2435
+ * - Central public endpoint: `adb.aliyuncs.com`.
2436
+ * - Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
2437
+ * - Regional VPC endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
2169
2438
  *
2170
2439
  * @param request - CreateOssSubDirectoryRequest
2171
2440
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2200,12 +2469,12 @@ export default class Client extends OpenApi {
2200
2469
  }
2201
2470
 
2202
2471
  /**
2203
- * Creates an Object Storage Service (OSS) subdirectory.
2472
+ * Creates a subdirectory in Object Storage Service (OSS).
2204
2473
  *
2205
2474
  * @remarks
2206
- * General endpoint: `adb.aliyuncs.com`.
2207
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
2208
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
2475
+ * - Central public endpoint: `adb.aliyuncs.com`.
2476
+ * - Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
2477
+ * - Regional VPC endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
2209
2478
  *
2210
2479
  * @param request - CreateOssSubDirectoryRequest
2211
2480
  * @returns CreateOssSubDirectoryResponse
@@ -2216,7 +2485,7 @@ export default class Client extends OpenApi {
2216
2485
  }
2217
2486
 
2218
2487
  /**
2219
- * Creates a custom monitoring view.
2488
+ * Creates a custom monitoring dashboard.
2220
2489
  *
2221
2490
  * @param tmpReq - CreatePerformanceViewRequest
2222
2491
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2289,7 +2558,7 @@ export default class Client extends OpenApi {
2289
2558
  }
2290
2559
 
2291
2560
  /**
2292
- * Creates a custom monitoring view.
2561
+ * Creates a custom monitoring dashboard.
2293
2562
  *
2294
2563
  * @param request - CreatePerformanceViewRequest
2295
2564
  * @returns CreatePerformanceViewResponse
@@ -2299,13 +2568,67 @@ export default class Client extends OpenApi {
2299
2568
  return await this.createPerformanceViewWithOptions(request, runtime);
2300
2569
  }
2301
2570
 
2571
+ /**
2572
+ * Creates a semantic view.
2573
+ *
2574
+ * @param request - CreateSemanticViewRequest
2575
+ * @param runtime - runtime options for this request RuntimeOptions
2576
+ * @returns CreateSemanticViewResponse
2577
+ */
2578
+ async createSemanticViewWithOptions(request: $_model.CreateSemanticViewRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateSemanticViewResponse> {
2579
+ request.validate();
2580
+ let query = { };
2581
+ if (!$dara.isNull(request.DBClusterId)) {
2582
+ query["DBClusterId"] = request.DBClusterId;
2583
+ }
2584
+
2585
+ if (!$dara.isNull(request.definition)) {
2586
+ query["Definition"] = request.definition;
2587
+ }
2588
+
2589
+ if (!$dara.isNull(request.schemaName)) {
2590
+ query["SchemaName"] = request.schemaName;
2591
+ }
2592
+
2593
+ if (!$dara.isNull(request.viewName)) {
2594
+ query["ViewName"] = request.viewName;
2595
+ }
2596
+
2597
+ let req = new $OpenApiUtil.OpenApiRequest({
2598
+ query: OpenApiUtil.query(query),
2599
+ });
2600
+ let params = new $OpenApiUtil.Params({
2601
+ action: "CreateSemanticView",
2602
+ version: "2021-12-01",
2603
+ protocol: "HTTPS",
2604
+ pathname: "/",
2605
+ method: "POST",
2606
+ authType: "AK",
2607
+ style: "RPC",
2608
+ reqBodyType: "formData",
2609
+ bodyType: "json",
2610
+ });
2611
+ return $dara.cast<$_model.CreateSemanticViewResponse>(await this.callApi(params, req, runtime), new $_model.CreateSemanticViewResponse({}));
2612
+ }
2613
+
2614
+ /**
2615
+ * Creates a semantic view.
2616
+ *
2617
+ * @param request - CreateSemanticViewRequest
2618
+ * @returns CreateSemanticViewResponse
2619
+ */
2620
+ async createSemanticView(request: $_model.CreateSemanticViewRequest): Promise<$_model.CreateSemanticViewResponse> {
2621
+ let runtime = new $dara.RuntimeOptions({ });
2622
+ return await this.createSemanticViewWithOptions(request, runtime);
2623
+ }
2624
+
2302
2625
  /**
2303
2626
  * Creates a Spark application template.
2304
2627
  *
2305
2628
  * @remarks
2306
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
2307
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
2308
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
2629
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
2630
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
2631
+ * > If you encounter a 409 fault when sending requests from Hong Kong (China), contact technical support.
2309
2632
  *
2310
2633
  * @param request - CreateSparkTemplateRequest
2311
2634
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2355,9 +2678,9 @@ export default class Client extends OpenApi {
2355
2678
  * Creates a Spark application template.
2356
2679
  *
2357
2680
  * @remarks
2358
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
2359
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
2360
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
2681
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
2682
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
2683
+ * > If you encounter a 409 fault when sending requests from Hong Kong (China), contact technical support.
2361
2684
  *
2362
2685
  * @param request - CreateSparkTemplateRequest
2363
2686
  * @returns CreateSparkTemplateResponse
@@ -2824,25 +3147,25 @@ export default class Client extends OpenApi {
2824
3147
  }
2825
3148
 
2826
3149
  /**
2827
- * Deletes a lake storage.
2828
- *
2829
- * @remarks
2830
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3150
+ * Deletes a metadata discovery task.
2831
3151
  *
2832
- * @param request - DeleteLakeStorageRequest
3152
+ * @param request - DeleteFormationCrawlerRequest
2833
3153
  * @param runtime - runtime options for this request RuntimeOptions
2834
- * @returns DeleteLakeStorageResponse
3154
+ * @returns DeleteFormationCrawlerResponse
2835
3155
  */
2836
- async deleteLakeStorageWithOptions(request: $_model.DeleteLakeStorageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLakeStorageResponse> {
3156
+ async deleteFormationCrawlerWithOptions(request: $_model.DeleteFormationCrawlerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteFormationCrawlerResponse> {
2837
3157
  request.validate();
2838
- let query = { };
2839
- if (!$dara.isNull(request.DBClusterId)) {
2840
- query["DBClusterId"] = request.DBClusterId;
3158
+ let body : {[key: string ]: any} = { };
3159
+ if (!$dara.isNull(request.crawlerTaskId)) {
3160
+ body["CrawlerTaskId"] = request.crawlerTaskId;
2841
3161
  }
2842
3162
 
2843
- let body : {[key: string ]: any} = { };
2844
- if (!$dara.isNull(request.lakeStorageId)) {
2845
- body["LakeStorageId"] = request.lakeStorageId;
3163
+ if (!$dara.isNull(request.crawlerTaskName)) {
3164
+ body["CrawlerTaskName"] = request.crawlerTaskName;
3165
+ }
3166
+
3167
+ if (!$dara.isNull(request.DBClusterId)) {
3168
+ body["DBClusterId"] = request.DBClusterId;
2846
3169
  }
2847
3170
 
2848
3171
  if (!$dara.isNull(request.regionId)) {
@@ -2850,11 +3173,10 @@ export default class Client extends OpenApi {
2850
3173
  }
2851
3174
 
2852
3175
  let req = new $OpenApiUtil.OpenApiRequest({
2853
- query: OpenApiUtil.query(query),
2854
3176
  body: OpenApiUtil.parseToMap(body),
2855
3177
  });
2856
3178
  let params = new $OpenApiUtil.Params({
2857
- action: "DeleteLakeStorage",
3179
+ action: "DeleteFormationCrawler",
2858
3180
  version: "2021-12-01",
2859
3181
  protocol: "HTTPS",
2860
3182
  pathname: "/",
@@ -2864,14 +3186,69 @@ export default class Client extends OpenApi {
2864
3186
  reqBodyType: "formData",
2865
3187
  bodyType: "json",
2866
3188
  });
2867
- return $dara.cast<$_model.DeleteLakeStorageResponse>(await this.callApi(params, req, runtime), new $_model.DeleteLakeStorageResponse({}));
3189
+ return $dara.cast<$_model.DeleteFormationCrawlerResponse>(await this.callApi(params, req, runtime), new $_model.DeleteFormationCrawlerResponse({}));
2868
3190
  }
2869
3191
 
2870
3192
  /**
2871
- * Deletes a lake storage.
3193
+ * Deletes a metadata discovery task.
2872
3194
  *
2873
- * @remarks
2874
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3195
+ * @param request - DeleteFormationCrawlerRequest
3196
+ * @returns DeleteFormationCrawlerResponse
3197
+ */
3198
+ async deleteFormationCrawler(request: $_model.DeleteFormationCrawlerRequest): Promise<$_model.DeleteFormationCrawlerResponse> {
3199
+ let runtime = new $dara.RuntimeOptions({ });
3200
+ return await this.deleteFormationCrawlerWithOptions(request, runtime);
3201
+ }
3202
+
3203
+ /**
3204
+ * Deletes a lake storage.
3205
+ *
3206
+ * @remarks
3207
+ * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3208
+ *
3209
+ * @param request - DeleteLakeStorageRequest
3210
+ * @param runtime - runtime options for this request RuntimeOptions
3211
+ * @returns DeleteLakeStorageResponse
3212
+ */
3213
+ async deleteLakeStorageWithOptions(request: $_model.DeleteLakeStorageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteLakeStorageResponse> {
3214
+ request.validate();
3215
+ let query = { };
3216
+ if (!$dara.isNull(request.DBClusterId)) {
3217
+ query["DBClusterId"] = request.DBClusterId;
3218
+ }
3219
+
3220
+ let body : {[key: string ]: any} = { };
3221
+ if (!$dara.isNull(request.lakeStorageId)) {
3222
+ body["LakeStorageId"] = request.lakeStorageId;
3223
+ }
3224
+
3225
+ if (!$dara.isNull(request.regionId)) {
3226
+ body["RegionId"] = request.regionId;
3227
+ }
3228
+
3229
+ let req = new $OpenApiUtil.OpenApiRequest({
3230
+ query: OpenApiUtil.query(query),
3231
+ body: OpenApiUtil.parseToMap(body),
3232
+ });
3233
+ let params = new $OpenApiUtil.Params({
3234
+ action: "DeleteLakeStorage",
3235
+ version: "2021-12-01",
3236
+ protocol: "HTTPS",
3237
+ pathname: "/",
3238
+ method: "POST",
3239
+ authType: "AK",
3240
+ style: "RPC",
3241
+ reqBodyType: "formData",
3242
+ bodyType: "json",
3243
+ });
3244
+ return $dara.cast<$_model.DeleteLakeStorageResponse>(await this.callApi(params, req, runtime), new $_model.DeleteLakeStorageResponse({}));
3245
+ }
3246
+
3247
+ /**
3248
+ * Deletes a lake storage.
3249
+ *
3250
+ * @remarks
3251
+ * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
2875
3252
  *
2876
3253
  * @param request - DeleteLakeStorageRequest
2877
3254
  * @returns DeleteLakeStorageResponse
@@ -3013,6 +3390,56 @@ export default class Client extends OpenApi {
3013
3390
  return await this.deletePerformanceViewWithOptions(request, runtime);
3014
3391
  }
3015
3392
 
3393
+ /**
3394
+ * Deletes the specified semantic view.
3395
+ *
3396
+ * @param request - DeleteSemanticViewRequest
3397
+ * @param runtime - runtime options for this request RuntimeOptions
3398
+ * @returns DeleteSemanticViewResponse
3399
+ */
3400
+ async deleteSemanticViewWithOptions(request: $_model.DeleteSemanticViewRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSemanticViewResponse> {
3401
+ request.validate();
3402
+ let query = { };
3403
+ if (!$dara.isNull(request.DBClusterId)) {
3404
+ query["DBClusterId"] = request.DBClusterId;
3405
+ }
3406
+
3407
+ if (!$dara.isNull(request.schemaName)) {
3408
+ query["SchemaName"] = request.schemaName;
3409
+ }
3410
+
3411
+ if (!$dara.isNull(request.viewName)) {
3412
+ query["ViewName"] = request.viewName;
3413
+ }
3414
+
3415
+ let req = new $OpenApiUtil.OpenApiRequest({
3416
+ query: OpenApiUtil.query(query),
3417
+ });
3418
+ let params = new $OpenApiUtil.Params({
3419
+ action: "DeleteSemanticView",
3420
+ version: "2021-12-01",
3421
+ protocol: "HTTPS",
3422
+ pathname: "/",
3423
+ method: "POST",
3424
+ authType: "AK",
3425
+ style: "RPC",
3426
+ reqBodyType: "formData",
3427
+ bodyType: "json",
3428
+ });
3429
+ return $dara.cast<$_model.DeleteSemanticViewResponse>(await this.callApi(params, req, runtime), new $_model.DeleteSemanticViewResponse({}));
3430
+ }
3431
+
3432
+ /**
3433
+ * Deletes the specified semantic view.
3434
+ *
3435
+ * @param request - DeleteSemanticViewRequest
3436
+ * @returns DeleteSemanticViewResponse
3437
+ */
3438
+ async deleteSemanticView(request: $_model.DeleteSemanticViewRequest): Promise<$_model.DeleteSemanticViewResponse> {
3439
+ let runtime = new $dara.RuntimeOptions({ });
3440
+ return await this.deleteSemanticViewWithOptions(request, runtime);
3441
+ }
3442
+
3016
3443
  /**
3017
3444
  * Deletes Spark template files.
3018
3445
  *
@@ -3244,10 +3671,10 @@ export default class Client extends OpenApi {
3244
3671
  }
3245
3672
 
3246
3673
  /**
3247
- * Queries the permissions of a database account on all permission levels.
3674
+ * Retrieves all permissions granted to a specified account, including permissions at the global, database, table, and column levels.
3248
3675
  *
3249
3676
  * @remarks
3250
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3677
+ * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3251
3678
  *
3252
3679
  * @param request - DescribeAccountAllPrivilegesRequest
3253
3680
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3290,10 +3717,10 @@ export default class Client extends OpenApi {
3290
3717
  }
3291
3718
 
3292
3719
  /**
3293
- * Queries the permissions of a database account on all permission levels.
3720
+ * Retrieves all permissions granted to a specified account, including permissions at the global, database, table, and column levels.
3294
3721
  *
3295
3722
  * @remarks
3296
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3723
+ * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3297
3724
  *
3298
3725
  * @param request - DescribeAccountAllPrivilegesRequest
3299
3726
  * @returns DescribeAccountAllPrivilegesResponse
@@ -3384,7 +3811,10 @@ export default class Client extends OpenApi {
3384
3811
  }
3385
3812
 
3386
3813
  /**
3387
- * 获取某一ADB账户的权限
3814
+ * Retrieves the permissions of a specified database account at a specific level.
3815
+ *
3816
+ * @remarks
3817
+ * See [service endpoint](https://help.aliyun.com/document_detail/612373.html).
3388
3818
  *
3389
3819
  * @param request - DescribeAccountPrivilegesRequest
3390
3820
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3447,7 +3877,10 @@ export default class Client extends OpenApi {
3447
3877
  }
3448
3878
 
3449
3879
  /**
3450
- * 获取某一ADB账户的权限
3880
+ * Retrieves the permissions of a specified database account at a specific level.
3881
+ *
3882
+ * @remarks
3883
+ * See [service endpoint](https://help.aliyun.com/document_detail/612373.html).
3451
3884
  *
3452
3885
  * @param request - DescribeAccountPrivilegesRequest
3453
3886
  * @returns DescribeAccountPrivilegesResponse
@@ -3458,10 +3891,10 @@ export default class Client extends OpenApi {
3458
3891
  }
3459
3892
 
3460
3893
  /**
3461
- * Queries the database accounts of an AnalyticDB for MySQL cluster.
3894
+ * Queries the database accounts of a cluster.
3462
3895
  *
3463
3896
  * @remarks
3464
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3897
+ * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3465
3898
  *
3466
3899
  * @param request - DescribeAccountsRequest
3467
3900
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3504,10 +3937,10 @@ export default class Client extends OpenApi {
3504
3937
  }
3505
3938
 
3506
3939
  /**
3507
- * Queries the database accounts of an AnalyticDB for MySQL cluster.
3940
+ * Queries the database accounts of a cluster.
3508
3941
  *
3509
3942
  * @remarks
3510
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3943
+ * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
3511
3944
  *
3512
3945
  * @param request - DescribeAccountsRequest
3513
3946
  * @returns DescribeAccountsResponse
@@ -3742,11 +4175,11 @@ export default class Client extends OpenApi {
3742
4175
  }
3743
4176
 
3744
4177
  /**
3745
- * Queries a list of tables for an AnalyticDB for MySQL cluster.
4178
+ * Lists information about all tables in a specified database of a cluster.
3746
4179
  *
3747
4180
  * @remarks
3748
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3749
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
4181
+ * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. For example, `adb.cn-hangzhou.aliyuncs.com`.
4182
+ * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. For example, `adb-vpc.cn-hangzhou.aliyuncs.com`.
3750
4183
  *
3751
4184
  * @param request - DescribeAdbMySqlTablesRequest
3752
4185
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3785,11 +4218,11 @@ export default class Client extends OpenApi {
3785
4218
  }
3786
4219
 
3787
4220
  /**
3788
- * Queries a list of tables for an AnalyticDB for MySQL cluster.
4221
+ * Lists information about all tables in a specified database of a cluster.
3789
4222
  *
3790
4223
  * @remarks
3791
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
3792
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
4224
+ * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. For example, `adb.cn-hangzhou.aliyuncs.com`.
4225
+ * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. For example, `adb-vpc.cn-hangzhou.aliyuncs.com`.
3793
4226
  *
3794
4227
  * @param request - DescribeAdbMySqlTablesRequest
3795
4228
  * @returns DescribeAdbMySqlTablesResponse
@@ -3914,7 +4347,7 @@ export default class Client extends OpenApi {
3914
4347
  }
3915
4348
 
3916
4349
  /**
3917
- * Queries the applied optimization suggestions for an AnalyticDB for MySQL cluster.
4350
+ * Shows applied recommendations.
3918
4351
  *
3919
4352
  * @param request - DescribeAppliedAdvicesRequest
3920
4353
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3985,7 +4418,7 @@ export default class Client extends OpenApi {
3985
4418
  }
3986
4419
 
3987
4420
  /**
3988
- * Queries the applied optimization suggestions for an AnalyticDB for MySQL cluster.
4421
+ * Shows applied recommendations.
3989
4422
  *
3990
4423
  * @param request - DescribeAppliedAdvicesRequest
3991
4424
  * @returns DescribeAppliedAdvicesResponse
@@ -4494,11 +4927,11 @@ export default class Client extends OpenApi {
4494
4927
  }
4495
4928
 
4496
4929
  /**
4497
- * Queries the information about resource groups of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
4930
+ * Retrieves details about the resource groups used for data synchronization.
4498
4931
  *
4499
4932
  * @remarks
4500
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
4501
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
4933
+ * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
4934
+ * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
4502
4935
  *
4503
4936
  * @param request - DescribeApsResourceGroupsRequest
4504
4937
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4537,11 +4970,11 @@ export default class Client extends OpenApi {
4537
4970
  }
4538
4971
 
4539
4972
  /**
4540
- * Queries the information about resource groups of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
4973
+ * Retrieves details about the resource groups used for data synchronization.
4541
4974
  *
4542
4975
  * @remarks
4543
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
4544
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
4976
+ * - Public endpoint for a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
4977
+ * - VPC endpoint for a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
4545
4978
  *
4546
4979
  * @param request - DescribeApsResourceGroupsRequest
4547
4980
  * @returns DescribeApsResourceGroupsResponse
@@ -4552,11 +4985,11 @@ export default class Client extends OpenApi {
4552
4985
  }
4553
4986
 
4554
4987
  /**
4555
- * Queries the SQL audit logs of an AnalyticDB for MySQL cluster.
4988
+ * Query SQL audit logs for the cluster.
4556
4989
  *
4557
4990
  * @remarks
4558
- * SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL audit was disabled and re-enabled, only SQL audit logs from the time when SQL audit was re-enabled can be queried. The following operations are not recorded in SQL audit logs: **INSERT INTO VALUES**, **REPLACE INTO VALUES**, and **UPSERT INTO VALUES**.
4559
- * * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4991
+ * - You can query SQL audit logs only if SQL audit is enabled. Log data is retained for up to 30 days. If you disable and re-enable SQL audit, you can only query logs generated after it is re-enabled. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
4992
+ * - For a list of endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4560
4993
  *
4561
4994
  * @param request - DescribeAuditLogRecordsRequest
4562
4995
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4659,11 +5092,11 @@ export default class Client extends OpenApi {
4659
5092
  }
4660
5093
 
4661
5094
  /**
4662
- * Queries the SQL audit logs of an AnalyticDB for MySQL cluster.
5095
+ * Query SQL audit logs for the cluster.
4663
5096
  *
4664
5097
  * @remarks
4665
- * SQL audit logs can be queried only when SQL audit is enabled. Only SQL audit logs within the last 30 days can be queried. If SQL audit was disabled and re-enabled, only SQL audit logs from the time when SQL audit was re-enabled can be queried. The following operations are not recorded in SQL audit logs: **INSERT INTO VALUES**, **REPLACE INTO VALUES**, and **UPSERT INTO VALUES**.
4666
- * * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5098
+ * - You can query SQL audit logs only if SQL audit is enabled. Log data is retained for up to 30 days. If you disable and re-enable SQL audit, you can only query logs generated after it is re-enabled. SQL audit logs do not record **INSERT INTO VALUES**, **REPLACE INTO VALUES**, or **UPSERT INTO VALUES** operations.
5099
+ * - For a list of endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4667
5100
  *
4668
5101
  * @param request - DescribeAuditLogRecordsRequest
4669
5102
  * @returns DescribeAuditLogRecordsResponse
@@ -4674,7 +5107,7 @@ export default class Client extends OpenApi {
4674
5107
  }
4675
5108
 
4676
5109
  /**
4677
- * 查询自动续费参数
5110
+ * Queries the auto-renewal status of a subscription cluster.
4678
5111
  *
4679
5112
  * @param tmpReq - DescribeAutoRenewalAttributeRequest
4680
5113
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4743,7 +5176,7 @@ export default class Client extends OpenApi {
4743
5176
  }
4744
5177
 
4745
5178
  /**
4746
- * 查询自动续费参数
5179
+ * Queries the auto-renewal status of a subscription cluster.
4747
5180
  *
4748
5181
  * @param request - DescribeAutoRenewalAttributeRequest
4749
5182
  * @returns DescribeAutoRenewalAttributeResponse
@@ -4754,7 +5187,7 @@ export default class Client extends OpenApi {
4754
5187
  }
4755
5188
 
4756
5189
  /**
4757
- * Queries the available optimization suggestions for an AnalyticDB for MySQL cluster.
5190
+ * Use DescribeAvailableAdvices to list available optimization recommendations.
4758
5191
  *
4759
5192
  * @param request - DescribeAvailableAdvicesRequest
4760
5193
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4821,7 +5254,7 @@ export default class Client extends OpenApi {
4821
5254
  }
4822
5255
 
4823
5256
  /**
4824
- * Queries the available optimization suggestions for an AnalyticDB for MySQL cluster.
5257
+ * Use DescribeAvailableAdvices to list available optimization recommendations.
4825
5258
  *
4826
5259
  * @param request - DescribeAvailableAdvicesRequest
4827
5260
  * @returns DescribeAvailableAdvicesResponse
@@ -4832,10 +5265,10 @@ export default class Client extends OpenApi {
4832
5265
  }
4833
5266
 
4834
5267
  /**
4835
- * 查看集群备份设置
5268
+ * Queries the backup settings of a cluster.
4836
5269
  *
4837
5270
  * @remarks
4838
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5271
+ * For more information about endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4839
5272
  *
4840
5273
  * @param request - DescribeBackupPolicyRequest
4841
5274
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4882,10 +5315,10 @@ export default class Client extends OpenApi {
4882
5315
  }
4883
5316
 
4884
5317
  /**
4885
- * 查看集群备份设置
5318
+ * Queries the backup settings of a cluster.
4886
5319
  *
4887
5320
  * @remarks
4888
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5321
+ * For more information about endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4889
5322
  *
4890
5323
  * @param request - DescribeBackupPolicyRequest
4891
5324
  * @returns DescribeBackupPolicyResponse
@@ -4896,10 +5329,10 @@ export default class Client extends OpenApi {
4896
5329
  }
4897
5330
 
4898
5331
  /**
4899
- * 查询实例备份集
5332
+ * Queries the backup sets for an instance.
4900
5333
  *
4901
5334
  * @remarks
4902
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5335
+ * For information about the endpoints for this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4903
5336
  *
4904
5337
  * @param request - DescribeBackupsRequest
4905
5338
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4970,10 +5403,10 @@ export default class Client extends OpenApi {
4970
5403
  }
4971
5404
 
4972
5405
  /**
4973
- * 查询实例备份集
5406
+ * Queries the backup sets for an instance.
4974
5407
  *
4975
5408
  * @remarks
4976
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5409
+ * For information about the endpoints for this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4977
5410
  *
4978
5411
  * @param request - DescribeBackupsRequest
4979
5412
  * @returns DescribeBackupsResponse
@@ -5058,10 +5491,10 @@ export default class Client extends OpenApi {
5058
5491
  }
5059
5492
 
5060
5493
  /**
5061
- * Queries the IP address whitelists of an AnalyticDB for MySQL cluster.
5494
+ * Queries the IP whitelist for a specified cluster.
5062
5495
  *
5063
5496
  * @remarks
5064
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5497
+ * For information about endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5065
5498
  *
5066
5499
  * @param request - DescribeClusterAccessWhiteListRequest
5067
5500
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5100,10 +5533,10 @@ export default class Client extends OpenApi {
5100
5533
  }
5101
5534
 
5102
5535
  /**
5103
- * Queries the IP address whitelists of an AnalyticDB for MySQL cluster.
5536
+ * Queries the IP whitelist for a specified cluster.
5104
5537
  *
5105
5538
  * @remarks
5106
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5539
+ * For information about endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5107
5540
  *
5108
5541
  * @param request - DescribeClusterAccessWhiteListRequest
5109
5542
  * @returns DescribeClusterAccessWhiteListResponse
@@ -5114,10 +5547,10 @@ export default class Client extends OpenApi {
5114
5547
  }
5115
5548
 
5116
5549
  /**
5117
- * Queries the network information about an AnalyticDB for MySQL cluster.
5550
+ * Queries the network information of a specified cluster.
5118
5551
  *
5119
5552
  * @remarks
5120
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5553
+ * For service endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5121
5554
  *
5122
5555
  * @param request - DescribeClusterNetInfoRequest
5123
5556
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5134,6 +5567,10 @@ export default class Client extends OpenApi {
5134
5567
  query["Engine"] = request.engine;
5135
5568
  }
5136
5569
 
5570
+ if (!$dara.isNull(request.resourceGroupName)) {
5571
+ query["ResourceGroupName"] = request.resourceGroupName;
5572
+ }
5573
+
5137
5574
  let req = new $OpenApiUtil.OpenApiRequest({
5138
5575
  query: OpenApiUtil.query(query),
5139
5576
  });
@@ -5152,10 +5589,10 @@ export default class Client extends OpenApi {
5152
5589
  }
5153
5590
 
5154
5591
  /**
5155
- * Queries the network information about an AnalyticDB for MySQL cluster.
5592
+ * Queries the network information of a specified cluster.
5156
5593
  *
5157
5594
  * @remarks
5158
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5595
+ * For service endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5159
5596
  *
5160
5597
  * @param request - DescribeClusterNetInfoRequest
5161
5598
  * @returns DescribeClusterNetInfoResponse
@@ -5496,10 +5933,10 @@ export default class Client extends OpenApi {
5496
5933
  }
5497
5934
 
5498
5935
  /**
5499
- * Queries the information about an AnalyticDB for MySQL cluster.
5936
+ * Returns the details of a specific cluster.
5500
5937
  *
5501
5938
  * @remarks
5502
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5939
+ * To find the endpoints for this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5503
5940
  *
5504
5941
  * @param request - DescribeDBClusterAttributeRequest
5505
5942
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5530,10 +5967,10 @@ export default class Client extends OpenApi {
5530
5967
  }
5531
5968
 
5532
5969
  /**
5533
- * Queries the information about an AnalyticDB for MySQL cluster.
5970
+ * Returns the details of a specific cluster.
5534
5971
  *
5535
5972
  * @remarks
5536
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5973
+ * To find the endpoints for this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5537
5974
  *
5538
5975
  * @param request - DescribeDBClusterAttributeRequest
5539
5976
  * @returns DescribeDBClusterAttributeResponse
@@ -5544,10 +5981,10 @@ export default class Client extends OpenApi {
5544
5981
  }
5545
5982
 
5546
5983
  /**
5547
- * Queries the health status of an AnalyticDB for MySQL cluster.
5984
+ * View a cluster\\"s health status.
5548
5985
  *
5549
5986
  * @remarks
5550
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
5987
+ * For the service access address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
5551
5988
  *
5552
5989
  * @param request - DescribeDBClusterHealthStatusRequest
5553
5990
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5582,10 +6019,10 @@ export default class Client extends OpenApi {
5582
6019
  }
5583
6020
 
5584
6021
  /**
5585
- * Queries the health status of an AnalyticDB for MySQL cluster.
6022
+ * View a cluster\\"s health status.
5586
6023
  *
5587
6024
  * @remarks
5588
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6025
+ * For the service access address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
5589
6026
  *
5590
6027
  * @param request - DescribeDBClusterHealthStatusRequest
5591
6028
  * @returns DescribeDBClusterHealthStatusResponse
@@ -5596,10 +6033,10 @@ export default class Client extends OpenApi {
5596
6033
  }
5597
6034
 
5598
6035
  /**
5599
- * Queries the performance data of an AnalyticDB for MySQL cluster.
6036
+ * View target cluster performance data.
5600
6037
  *
5601
6038
  * @remarks
5602
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6039
+ * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
5603
6040
  *
5604
6041
  * @param request - DescribeDBClusterPerformanceRequest
5605
6042
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5650,10 +6087,10 @@ export default class Client extends OpenApi {
5650
6087
  }
5651
6088
 
5652
6089
  /**
5653
- * Queries the performance data of an AnalyticDB for MySQL cluster.
6090
+ * View target cluster performance data.
5654
6091
  *
5655
6092
  * @remarks
5656
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6093
+ * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
5657
6094
  *
5658
6095
  * @param request - DescribeDBClusterPerformanceRequest
5659
6096
  * @returns DescribeDBClusterPerformanceResponse
@@ -5666,6 +6103,9 @@ export default class Client extends OpenApi {
5666
6103
  /**
5667
6104
  * Queries the SSL configurations of a cluster.
5668
6105
  *
6106
+ * @remarks
6107
+ * >Warning: 目前该功能处于内测阶段,控制台界面展示及API调用接口尚未稳定,可能持续变化。
6108
+ *
5669
6109
  * @param request - DescribeDBClusterSSLRequest
5670
6110
  * @param runtime - runtime options for this request RuntimeOptions
5671
6111
  * @returns DescribeDBClusterSSLResponse
@@ -5701,6 +6141,9 @@ export default class Client extends OpenApi {
5701
6141
  /**
5702
6142
  * Queries the SSL configurations of a cluster.
5703
6143
  *
6144
+ * @remarks
6145
+ * >Warning: 目前该功能处于内测阶段,控制台界面展示及API调用接口尚未稳定,可能持续变化。
6146
+ *
5704
6147
  * @param request - DescribeDBClusterSSLRequest
5705
6148
  * @returns DescribeDBClusterSSLResponse
5706
6149
  */
@@ -5778,10 +6221,10 @@ export default class Client extends OpenApi {
5778
6221
  }
5779
6222
 
5780
6223
  /**
5781
- * Queries the statuses of AnalyticDB for MySQL clusters within a region.
6224
+ * Queries the status list of a cluster.
5782
6225
  *
5783
6226
  * @remarks
5784
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6227
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5785
6228
  *
5786
6229
  * @param request - DescribeDBClusterStatusRequest
5787
6230
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5812,10 +6255,10 @@ export default class Client extends OpenApi {
5812
6255
  }
5813
6256
 
5814
6257
  /**
5815
- * Queries the statuses of AnalyticDB for MySQL clusters within a region.
6258
+ * Queries the status list of a cluster.
5816
6259
  *
5817
6260
  * @remarks
5818
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6261
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5819
6262
  *
5820
6263
  * @param request - DescribeDBClusterStatusRequest
5821
6264
  * @returns DescribeDBClusterStatusResponse
@@ -5826,10 +6269,10 @@ export default class Client extends OpenApi {
5826
6269
  }
5827
6270
 
5828
6271
  /**
5829
- * Queries the information about AnalyticDB for MySQL Data Lakehouse Edition clusters within a region.
6272
+ * View the Data Lakehouse Edition clusters in the destination region.
5830
6273
  *
5831
6274
  * @remarks
5832
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6275
+ * For a current list of service endpoints, see [Service Endpoints](https://help.aliyun.com/document_detail/612373.html).
5833
6276
  *
5834
6277
  * @param request - DescribeDBClustersRequest
5835
6278
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5896,10 +6339,10 @@ export default class Client extends OpenApi {
5896
6339
  }
5897
6340
 
5898
6341
  /**
5899
- * Queries the information about AnalyticDB for MySQL Data Lakehouse Edition clusters within a region.
6342
+ * View the Data Lakehouse Edition clusters in the destination region.
5900
6343
  *
5901
6344
  * @remarks
5902
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6345
+ * For a current list of service endpoints, see [Service Endpoints](https://help.aliyun.com/document_detail/612373.html).
5903
6346
  *
5904
6347
  * @param request - DescribeDBClustersRequest
5905
6348
  * @returns DescribeDBClustersResponse
@@ -5910,10 +6353,10 @@ export default class Client extends OpenApi {
5910
6353
  }
5911
6354
 
5912
6355
  /**
5913
- * Queries the information about resource groups of an AnalyticDB for MySQL cluster.
6356
+ * Queries the resource group information of a cluster.
5914
6357
  *
5915
6358
  * @remarks
5916
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6359
+ * For information about the service registration of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5917
6360
  *
5918
6361
  * @param request - DescribeDBResourceGroupRequest
5919
6362
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5960,10 +6403,10 @@ export default class Client extends OpenApi {
5960
6403
  }
5961
6404
 
5962
6405
  /**
5963
- * Queries the information about resource groups of an AnalyticDB for MySQL cluster.
6406
+ * Queries the resource group information of a cluster.
5964
6407
  *
5965
6408
  * @remarks
5966
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6409
+ * For information about the service registration of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
5967
6410
  *
5968
6411
  * @param request - DescribeDBResourceGroupRequest
5969
6412
  * @returns DescribeDBResourceGroupResponse
@@ -6042,10 +6485,10 @@ export default class Client extends OpenApi {
6042
6485
  }
6043
6486
 
6044
6487
  /**
6045
- * Queries the diagnostic information about SQL statements that meet a query condition for an AnalyticDB for MySQL cluster.
6488
+ * Queries the summary of SQL statements that meet specified conditions in an AnalyticDB for MySQL cluster.
6046
6489
  *
6047
6490
  * @remarks
6048
- * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
6491
+ * For information about service endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6049
6492
  *
6050
6493
  * @param request - DescribeDiagnosisRecordsRequest
6051
6494
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6148,10 +6591,10 @@ export default class Client extends OpenApi {
6148
6591
  }
6149
6592
 
6150
6593
  /**
6151
- * Queries the diagnostic information about SQL statements that meet a query condition for an AnalyticDB for MySQL cluster.
6594
+ * Queries the summary of SQL statements that meet specified conditions in an AnalyticDB for MySQL cluster.
6152
6595
  *
6153
6596
  * @remarks
6154
- * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
6597
+ * For information about service endpoints, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6155
6598
  *
6156
6599
  * @param request - DescribeDiagnosisRecordsRequest
6157
6600
  * @returns DescribeDiagnosisRecordsResponse
@@ -6162,10 +6605,10 @@ export default class Client extends OpenApi {
6162
6605
  }
6163
6606
 
6164
6607
  /**
6165
- * Queries the execution information about an SQL statement, including the execution plan, execution information, resource usage, and self-diagnostics results.
6608
+ * Queries the execution details of a specific SQL statement, including the execution plan, runtime information, resource usage, and self-diagnostics results.
6166
6609
  *
6167
6610
  * @remarks
6168
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6611
+ * For the service registration addresses of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6169
6612
  *
6170
6613
  * @param request - DescribeDiagnosisSQLInfoRequest
6171
6614
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6220,10 +6663,10 @@ export default class Client extends OpenApi {
6220
6663
  }
6221
6664
 
6222
6665
  /**
6223
- * Queries the execution information about an SQL statement, including the execution plan, execution information, resource usage, and self-diagnostics results.
6666
+ * Queries the execution details of a specific SQL statement, including the execution plan, runtime information, resource usage, and self-diagnostics results.
6224
6667
  *
6225
6668
  * @remarks
6226
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6669
+ * For the service registration addresses of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6227
6670
  *
6228
6671
  * @param request - DescribeDiagnosisSQLInfoRequest
6229
6672
  * @returns DescribeDiagnosisSQLInfoResponse
@@ -6234,10 +6677,10 @@ export default class Client extends OpenApi {
6234
6677
  }
6235
6678
 
6236
6679
  /**
6237
- * Queries the last five SQL query download tasks of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
6680
+ * Queries the five most recent download tasks for SQL query results in a specified AnalyticDB for MySQL Lakehouse Edition (3.0) cluster.
6238
6681
  *
6239
6682
  * @remarks
6240
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6683
+ * For a list of service endpoints, see [Service Endpoints](https://help.aliyun.com/document_detail/612373.html).
6241
6684
  *
6242
6685
  * @param request - DescribeDownloadRecordsRequest
6243
6686
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6276,10 +6719,10 @@ export default class Client extends OpenApi {
6276
6719
  }
6277
6720
 
6278
6721
  /**
6279
- * Queries the last five SQL query download tasks of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
6722
+ * Queries the five most recent download tasks for SQL query results in a specified AnalyticDB for MySQL Lakehouse Edition (3.0) cluster.
6280
6723
  *
6281
6724
  * @remarks
6282
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
6725
+ * For a list of service endpoints, see [Service Endpoints](https://help.aliyun.com/document_detail/612373.html).
6283
6726
  *
6284
6727
  * @param request - DescribeDownloadRecordsRequest
6285
6728
  * @returns DescribeDownloadRecordsResponse
@@ -6542,7 +6985,12 @@ export default class Client extends OpenApi {
6542
6985
  }
6543
6986
 
6544
6987
  /**
6545
- * Queries the permission level and permissions supported for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
6988
+ * Retrieves the supported permission levels and the list of permissions.
6989
+ *
6990
+ * @remarks
6991
+ * - Central public endpoint: `adb.aliyuncs.com`.
6992
+ * - Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
6993
+ * - Regional VPC endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
6546
6994
  *
6547
6995
  * @param request - DescribeEnabledPrivilegesRequest
6548
6996
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6569,7 +7017,12 @@ export default class Client extends OpenApi {
6569
7017
  }
6570
7018
 
6571
7019
  /**
6572
- * Queries the permission level and permissions supported for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
7020
+ * Retrieves the supported permission levels and the list of permissions.
7021
+ *
7022
+ * @remarks
7023
+ * - Central public endpoint: `adb.aliyuncs.com`.
7024
+ * - Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
7025
+ * - Regional VPC endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
6573
7026
  *
6574
7027
  * @param request - DescribeEnabledPrivilegesRequest
6575
7028
  * @returns DescribeEnabledPrivilegesResponse
@@ -6810,10 +7263,6 @@ export default class Client extends OpenApi {
6810
7263
  query["InstanceType"] = request.instanceType;
6811
7264
  }
6812
7265
 
6813
- if (!$dara.isNull(request.ownerId)) {
6814
- query["OwnerId"] = request.ownerId;
6815
- }
6816
-
6817
7266
  if (!$dara.isNull(request.pageNumber)) {
6818
7267
  query["PageNumber"] = request.pageNumber;
6819
7268
  }
@@ -6830,10 +7279,6 @@ export default class Client extends OpenApi {
6830
7279
  query["ResourceGroupId"] = request.resourceGroupId;
6831
7280
  }
6832
7281
 
6833
- if (!$dara.isNull(request.resourceOwnerId)) {
6834
- query["ResourceOwnerId"] = request.resourceOwnerId;
6835
- }
6836
-
6837
7282
  if (!$dara.isNull(request.status)) {
6838
7283
  query["Status"] = request.status;
6839
7284
  }
@@ -6907,10 +7352,6 @@ export default class Client extends OpenApi {
6907
7352
  query["InstanceId"] = request.instanceId;
6908
7353
  }
6909
7354
 
6910
- if (!$dara.isNull(request.ownerId)) {
6911
- query["OwnerId"] = request.ownerId;
6912
- }
6913
-
6914
7355
  if (!$dara.isNull(request.regionId)) {
6915
7356
  query["RegionId"] = request.regionId;
6916
7357
  }
@@ -6919,14 +7360,6 @@ export default class Client extends OpenApi {
6919
7360
  query["ResourceGroupId"] = request.resourceGroupId;
6920
7361
  }
6921
7362
 
6922
- if (!$dara.isNull(request.resourceOwnerAccount)) {
6923
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
6924
- }
6925
-
6926
- if (!$dara.isNull(request.resourceOwnerId)) {
6927
- query["ResourceOwnerId"] = request.resourceOwnerId;
6928
- }
6929
-
6930
7363
  if (!$dara.isNull(request.securityToken)) {
6931
7364
  query["SecurityToken"] = request.securityToken;
6932
7365
  }
@@ -7118,10 +7551,10 @@ export default class Client extends OpenApi {
7118
7551
  }
7119
7552
 
7120
7553
  /**
7121
- * 获取作业资源使用统计
7554
+ * Retrieves resource usage statistics for jobs.
7122
7555
  *
7123
7556
  * @remarks
7124
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
7557
+ * For the service registration information of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
7125
7558
  *
7126
7559
  * @param request - DescribeJobResourceUsageRequest
7127
7560
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7146,6 +7579,10 @@ export default class Client extends OpenApi {
7146
7579
  query["PageSize"] = request.pageSize;
7147
7580
  }
7148
7581
 
7582
+ if (!$dara.isNull(request.sparkAppName)) {
7583
+ query["SparkAppName"] = request.sparkAppName;
7584
+ }
7585
+
7149
7586
  if (!$dara.isNull(request.startTime)) {
7150
7587
  query["StartTime"] = request.startTime;
7151
7588
  }
@@ -7168,10 +7605,10 @@ export default class Client extends OpenApi {
7168
7605
  }
7169
7606
 
7170
7607
  /**
7171
- * 获取作业资源使用统计
7608
+ * Retrieves resource usage statistics for jobs.
7172
7609
  *
7173
7610
  * @remarks
7174
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
7611
+ * For the service registration information of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
7175
7612
  *
7176
7613
  * @param request - DescribeJobResourceUsageRequest
7177
7614
  * @returns DescribeJobResourceUsageResponse
@@ -7244,48 +7681,24 @@ export default class Client extends OpenApi {
7244
7681
  }
7245
7682
 
7246
7683
  /**
7247
- * Queries the answer by a large language model (LLM) to a user question about the use of AnalyticDB for MySQL.
7684
+ * Queries the lake cache size of an AnalyticDB for MySQL cluster.
7248
7685
  *
7249
- * @param request - DescribeLLMAnswerRequest
7686
+ * @param request - DescribeLakeCacheSizeRequest
7250
7687
  * @param runtime - runtime options for this request RuntimeOptions
7251
- * @returns DescribeLLMAnswerResponse
7688
+ * @returns DescribeLakeCacheSizeResponse
7252
7689
  */
7253
- async *describeLLMAnswerWithSSE(request: $_model.DescribeLLMAnswerRequest, runtime: $dara.RuntimeOptions): AsyncGenerator<$_model.DescribeLLMAnswerResponse, any, unknown> {
7690
+ async describeLakeCacheSizeWithOptions(request: $_model.DescribeLakeCacheSizeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLakeCacheSizeResponse> {
7254
7691
  request.validate();
7255
7692
  let query = { };
7256
7693
  if (!$dara.isNull(request.DBClusterId)) {
7257
7694
  query["DBClusterId"] = request.DBClusterId;
7258
7695
  }
7259
7696
 
7260
- if (!$dara.isNull(request.ownerAccount)) {
7261
- query["OwnerAccount"] = request.ownerAccount;
7262
- }
7263
-
7264
- if (!$dara.isNull(request.ownerId)) {
7265
- query["OwnerId"] = request.ownerId;
7266
- }
7267
-
7268
- if (!$dara.isNull(request.query)) {
7269
- query["Query"] = request.query;
7270
- }
7271
-
7272
- if (!$dara.isNull(request.regionId)) {
7273
- query["RegionId"] = request.regionId;
7274
- }
7275
-
7276
- if (!$dara.isNull(request.resourceOwnerAccount)) {
7277
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
7278
- }
7279
-
7280
- if (!$dara.isNull(request.resourceOwnerId)) {
7281
- query["ResourceOwnerId"] = request.resourceOwnerId;
7282
- }
7283
-
7284
7697
  let req = new $OpenApiUtil.OpenApiRequest({
7285
7698
  query: OpenApiUtil.query(query),
7286
7699
  });
7287
7700
  let params = new $OpenApiUtil.Params({
7288
- action: "DescribeLLMAnswer",
7701
+ action: "DescribeLakeCacheSize",
7289
7702
  version: "2021-12-01",
7290
7703
  protocol: "HTTPS",
7291
7704
  pathname: "/",
@@ -7295,65 +7708,78 @@ export default class Client extends OpenApi {
7295
7708
  reqBodyType: "formData",
7296
7709
  bodyType: "json",
7297
7710
  });
7298
- let sseResp = await this.callSSEApi(params, req, runtime);
7711
+ return $dara.cast<$_model.DescribeLakeCacheSizeResponse>(await this.callApi(params, req, runtime), new $_model.DescribeLakeCacheSizeResponse({}));
7712
+ }
7299
7713
 
7300
- for await (let resp of sseResp) {
7301
- let data = JSON.parse(resp.event.data);
7302
- yield $dara.cast<$_model.DescribeLLMAnswerResponse>({
7303
- statusCode: resp.statusCode,
7304
- headers: resp.headers,
7305
- body: {
7306
- ...data,
7307
- RequestId: resp.event.id,
7308
- Message: resp.event.event,
7309
- },
7310
- }, new $_model.DescribeLLMAnswerResponse({}));
7311
- }
7714
+ /**
7715
+ * Queries the lake cache size of an AnalyticDB for MySQL cluster.
7716
+ *
7717
+ * @param request - DescribeLakeCacheSizeRequest
7718
+ * @returns DescribeLakeCacheSizeResponse
7719
+ */
7720
+ async describeLakeCacheSize(request: $_model.DescribeLakeCacheSizeRequest): Promise<$_model.DescribeLakeCacheSizeResponse> {
7721
+ let runtime = new $dara.RuntimeOptions({ });
7722
+ return await this.describeLakeCacheSizeWithOptions(request, runtime);
7312
7723
  }
7313
7724
 
7314
7725
  /**
7315
- * Queries the answer by a large language model (LLM) to a user question about the use of AnalyticDB for MySQL.
7726
+ * Queries the results of a materialized view recommendation task.
7316
7727
  *
7317
- * @param request - DescribeLLMAnswerRequest
7728
+ * @remarks
7729
+ * For information about the endpoints of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
7730
+ *
7731
+ * @param request - DescribeMVRecommendResultsRequest
7318
7732
  * @param runtime - runtime options for this request RuntimeOptions
7319
- * @returns DescribeLLMAnswerResponse
7733
+ * @returns DescribeMVRecommendResultsResponse
7320
7734
  */
7321
- async describeLLMAnswerWithOptions(request: $_model.DescribeLLMAnswerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLLMAnswerResponse> {
7735
+ async describeMVRecommendResultsWithOptions(request: $_model.DescribeMVRecommendResultsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMVRecommendResultsResponse> {
7322
7736
  request.validate();
7323
7737
  let query = { };
7738
+ if (!$dara.isNull(request.actionInner)) {
7739
+ query["ActionInner"] = request.actionInner;
7740
+ }
7741
+
7324
7742
  if (!$dara.isNull(request.DBClusterId)) {
7325
7743
  query["DBClusterId"] = request.DBClusterId;
7326
7744
  }
7327
7745
 
7328
- if (!$dara.isNull(request.ownerAccount)) {
7329
- query["OwnerAccount"] = request.ownerAccount;
7746
+ if (!$dara.isNull(request.from)) {
7747
+ query["From"] = request.from;
7330
7748
  }
7331
7749
 
7332
- if (!$dara.isNull(request.ownerId)) {
7333
- query["OwnerId"] = request.ownerId;
7750
+ if (!$dara.isNull(request.orderBy)) {
7751
+ query["OrderBy"] = request.orderBy;
7334
7752
  }
7335
7753
 
7336
- if (!$dara.isNull(request.query)) {
7337
- query["Query"] = request.query;
7754
+ if (!$dara.isNull(request.pageNumber)) {
7755
+ query["PageNumber"] = request.pageNumber;
7756
+ }
7757
+
7758
+ if (!$dara.isNull(request.pageSize)) {
7759
+ query["PageSize"] = request.pageSize;
7338
7760
  }
7339
7761
 
7340
7762
  if (!$dara.isNull(request.regionId)) {
7341
7763
  query["RegionId"] = request.regionId;
7342
7764
  }
7343
7765
 
7344
- if (!$dara.isNull(request.resourceOwnerAccount)) {
7345
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
7766
+ if (!$dara.isNull(request.subQueryId)) {
7767
+ query["SubQueryId"] = request.subQueryId;
7346
7768
  }
7347
7769
 
7348
- if (!$dara.isNull(request.resourceOwnerId)) {
7349
- query["ResourceOwnerId"] = request.resourceOwnerId;
7770
+ if (!$dara.isNull(request.subtaskId)) {
7771
+ query["SubtaskId"] = request.subtaskId;
7772
+ }
7773
+
7774
+ if (!$dara.isNull(request.taskName)) {
7775
+ query["TaskName"] = request.taskName;
7350
7776
  }
7351
7777
 
7352
7778
  let req = new $OpenApiUtil.OpenApiRequest({
7353
7779
  query: OpenApiUtil.query(query),
7354
7780
  });
7355
7781
  let params = new $OpenApiUtil.Params({
7356
- action: "DescribeLLMAnswer",
7782
+ action: "DescribeMVRecommendResults",
7357
7783
  version: "2021-12-01",
7358
7784
  protocol: "HTTPS",
7359
7785
  pathname: "/",
@@ -7363,214 +7789,25 @@ export default class Client extends OpenApi {
7363
7789
  reqBodyType: "formData",
7364
7790
  bodyType: "json",
7365
7791
  });
7366
- return $dara.cast<$_model.DescribeLLMAnswerResponse>(await this.callApi(params, req, runtime), new $_model.DescribeLLMAnswerResponse({}));
7792
+ return $dara.cast<$_model.DescribeMVRecommendResultsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeMVRecommendResultsResponse({}));
7367
7793
  }
7368
7794
 
7369
7795
  /**
7370
- * Queries the answer by a large language model (LLM) to a user question about the use of AnalyticDB for MySQL.
7796
+ * Queries the results of a materialized view recommendation task.
7797
+ *
7798
+ * @remarks
7799
+ * For information about the endpoints of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
7371
7800
  *
7372
- * @param request - DescribeLLMAnswerRequest
7373
- * @returns DescribeLLMAnswerResponse
7801
+ * @param request - DescribeMVRecommendResultsRequest
7802
+ * @returns DescribeMVRecommendResultsResponse
7374
7803
  */
7375
- async describeLLMAnswer(request: $_model.DescribeLLMAnswerRequest): Promise<$_model.DescribeLLMAnswerResponse> {
7804
+ async describeMVRecommendResults(request: $_model.DescribeMVRecommendResultsRequest): Promise<$_model.DescribeMVRecommendResultsResponse> {
7376
7805
  let runtime = new $dara.RuntimeOptions({ });
7377
- return await this.describeLLMAnswerWithOptions(request, runtime);
7806
+ return await this.describeMVRecommendResultsWithOptions(request, runtime);
7378
7807
  }
7379
7808
 
7380
7809
  /**
7381
- * Queries a list of questions similar to a user question.
7382
- *
7383
- * @param request - DescribeLLMSimilarQuestionsRequest
7384
- * @param runtime - runtime options for this request RuntimeOptions
7385
- * @returns DescribeLLMSimilarQuestionsResponse
7386
- */
7387
- async describeLLMSimilarQuestionsWithOptions(request: $_model.DescribeLLMSimilarQuestionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLLMSimilarQuestionsResponse> {
7388
- request.validate();
7389
- let query = { };
7390
- if (!$dara.isNull(request.DBClusterId)) {
7391
- query["DBClusterId"] = request.DBClusterId;
7392
- }
7393
-
7394
- if (!$dara.isNull(request.ownerAccount)) {
7395
- query["OwnerAccount"] = request.ownerAccount;
7396
- }
7397
-
7398
- if (!$dara.isNull(request.ownerId)) {
7399
- query["OwnerId"] = request.ownerId;
7400
- }
7401
-
7402
- if (!$dara.isNull(request.query)) {
7403
- query["Query"] = request.query;
7404
- }
7405
-
7406
- if (!$dara.isNull(request.regionId)) {
7407
- query["RegionId"] = request.regionId;
7408
- }
7409
-
7410
- if (!$dara.isNull(request.resourceOwnerAccount)) {
7411
- query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
7412
- }
7413
-
7414
- if (!$dara.isNull(request.resourceOwnerId)) {
7415
- query["ResourceOwnerId"] = request.resourceOwnerId;
7416
- }
7417
-
7418
- let req = new $OpenApiUtil.OpenApiRequest({
7419
- query: OpenApiUtil.query(query),
7420
- });
7421
- let params = new $OpenApiUtil.Params({
7422
- action: "DescribeLLMSimilarQuestions",
7423
- version: "2021-12-01",
7424
- protocol: "HTTPS",
7425
- pathname: "/",
7426
- method: "POST",
7427
- authType: "AK",
7428
- style: "RPC",
7429
- reqBodyType: "formData",
7430
- bodyType: "json",
7431
- });
7432
- return $dara.cast<$_model.DescribeLLMSimilarQuestionsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeLLMSimilarQuestionsResponse({}));
7433
- }
7434
-
7435
- /**
7436
- * Queries a list of questions similar to a user question.
7437
- *
7438
- * @param request - DescribeLLMSimilarQuestionsRequest
7439
- * @returns DescribeLLMSimilarQuestionsResponse
7440
- */
7441
- async describeLLMSimilarQuestions(request: $_model.DescribeLLMSimilarQuestionsRequest): Promise<$_model.DescribeLLMSimilarQuestionsResponse> {
7442
- let runtime = new $dara.RuntimeOptions({ });
7443
- return await this.describeLLMSimilarQuestionsWithOptions(request, runtime);
7444
- }
7445
-
7446
- /**
7447
- * Queries the lake cache size of an AnalyticDB for MySQL cluster.
7448
- *
7449
- * @param request - DescribeLakeCacheSizeRequest
7450
- * @param runtime - runtime options for this request RuntimeOptions
7451
- * @returns DescribeLakeCacheSizeResponse
7452
- */
7453
- async describeLakeCacheSizeWithOptions(request: $_model.DescribeLakeCacheSizeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeLakeCacheSizeResponse> {
7454
- request.validate();
7455
- let query = { };
7456
- if (!$dara.isNull(request.DBClusterId)) {
7457
- query["DBClusterId"] = request.DBClusterId;
7458
- }
7459
-
7460
- let req = new $OpenApiUtil.OpenApiRequest({
7461
- query: OpenApiUtil.query(query),
7462
- });
7463
- let params = new $OpenApiUtil.Params({
7464
- action: "DescribeLakeCacheSize",
7465
- version: "2021-12-01",
7466
- protocol: "HTTPS",
7467
- pathname: "/",
7468
- method: "POST",
7469
- authType: "AK",
7470
- style: "RPC",
7471
- reqBodyType: "formData",
7472
- bodyType: "json",
7473
- });
7474
- return $dara.cast<$_model.DescribeLakeCacheSizeResponse>(await this.callApi(params, req, runtime), new $_model.DescribeLakeCacheSizeResponse({}));
7475
- }
7476
-
7477
- /**
7478
- * Queries the lake cache size of an AnalyticDB for MySQL cluster.
7479
- *
7480
- * @param request - DescribeLakeCacheSizeRequest
7481
- * @returns DescribeLakeCacheSizeResponse
7482
- */
7483
- async describeLakeCacheSize(request: $_model.DescribeLakeCacheSizeRequest): Promise<$_model.DescribeLakeCacheSizeResponse> {
7484
- let runtime = new $dara.RuntimeOptions({ });
7485
- return await this.describeLakeCacheSizeWithOptions(request, runtime);
7486
- }
7487
-
7488
- /**
7489
- * Retrieves the result of a recommendation task for a materialized view.
7490
- *
7491
- * @remarks
7492
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
7493
- *
7494
- * @param request - DescribeMVRecommendResultsRequest
7495
- * @param runtime - runtime options for this request RuntimeOptions
7496
- * @returns DescribeMVRecommendResultsResponse
7497
- */
7498
- async describeMVRecommendResultsWithOptions(request: $_model.DescribeMVRecommendResultsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeMVRecommendResultsResponse> {
7499
- request.validate();
7500
- let query = { };
7501
- if (!$dara.isNull(request.actionInner)) {
7502
- query["ActionInner"] = request.actionInner;
7503
- }
7504
-
7505
- if (!$dara.isNull(request.DBClusterId)) {
7506
- query["DBClusterId"] = request.DBClusterId;
7507
- }
7508
-
7509
- if (!$dara.isNull(request.from)) {
7510
- query["From"] = request.from;
7511
- }
7512
-
7513
- if (!$dara.isNull(request.orderBy)) {
7514
- query["OrderBy"] = request.orderBy;
7515
- }
7516
-
7517
- if (!$dara.isNull(request.pageNumber)) {
7518
- query["PageNumber"] = request.pageNumber;
7519
- }
7520
-
7521
- if (!$dara.isNull(request.pageSize)) {
7522
- query["PageSize"] = request.pageSize;
7523
- }
7524
-
7525
- if (!$dara.isNull(request.regionId)) {
7526
- query["RegionId"] = request.regionId;
7527
- }
7528
-
7529
- if (!$dara.isNull(request.subQueryId)) {
7530
- query["SubQueryId"] = request.subQueryId;
7531
- }
7532
-
7533
- if (!$dara.isNull(request.subtaskId)) {
7534
- query["SubtaskId"] = request.subtaskId;
7535
- }
7536
-
7537
- if (!$dara.isNull(request.taskName)) {
7538
- query["TaskName"] = request.taskName;
7539
- }
7540
-
7541
- let req = new $OpenApiUtil.OpenApiRequest({
7542
- query: OpenApiUtil.query(query),
7543
- });
7544
- let params = new $OpenApiUtil.Params({
7545
- action: "DescribeMVRecommendResults",
7546
- version: "2021-12-01",
7547
- protocol: "HTTPS",
7548
- pathname: "/",
7549
- method: "POST",
7550
- authType: "AK",
7551
- style: "RPC",
7552
- reqBodyType: "formData",
7553
- bodyType: "json",
7554
- });
7555
- return $dara.cast<$_model.DescribeMVRecommendResultsResponse>(await this.callApi(params, req, runtime), new $_model.DescribeMVRecommendResultsResponse({}));
7556
- }
7557
-
7558
- /**
7559
- * Retrieves the result of a recommendation task for a materialized view.
7560
- *
7561
- * @remarks
7562
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
7563
- *
7564
- * @param request - DescribeMVRecommendResultsRequest
7565
- * @returns DescribeMVRecommendResultsResponse
7566
- */
7567
- async describeMVRecommendResults(request: $_model.DescribeMVRecommendResultsRequest): Promise<$_model.DescribeMVRecommendResultsResponse> {
7568
- let runtime = new $dara.RuntimeOptions({ });
7569
- return await this.describeMVRecommendResultsWithOptions(request, runtime);
7570
- }
7571
-
7572
- /**
7573
- * 查看物化视图子任务
7810
+ * View subtasks of a materialized view
7574
7811
  *
7575
7812
  * @param request - DescribeMvRecommendSubTasksRequest
7576
7813
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7633,7 +7870,7 @@ export default class Client extends OpenApi {
7633
7870
  }
7634
7871
 
7635
7872
  /**
7636
- * 查看物化视图子任务
7873
+ * View subtasks of a materialized view
7637
7874
  *
7638
7875
  * @param request - DescribeMvRecommendSubTasksRequest
7639
7876
  * @returns DescribeMvRecommendSubTasksResponse
@@ -7644,7 +7881,7 @@ export default class Client extends OpenApi {
7644
7881
  }
7645
7882
 
7646
7883
  /**
7647
- * 查看物化视图推荐任务
7884
+ * Views recommendation tasks for materialized views.
7648
7885
  *
7649
7886
  * @param request - DescribeMvRecommendTasksRequest
7650
7887
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7699,7 +7936,7 @@ export default class Client extends OpenApi {
7699
7936
  }
7700
7937
 
7701
7938
  /**
7702
- * 查看物化视图推荐任务
7939
+ * Views recommendation tasks for materialized views.
7703
7940
  *
7704
7941
  * @param request - DescribeMvRecommendTasksRequest
7705
7942
  * @returns DescribeMvRecommendTasksResponse
@@ -7854,12 +8091,10 @@ export default class Client extends OpenApi {
7854
8091
  }
7855
8092
 
7856
8093
  /**
7857
- * Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL cluster within a time range.
8094
+ * View metric details (such as query time and average memory consumption) for SQL patterns over a specified time range in a cluster.
7858
8095
  *
7859
8096
  * @remarks
7860
- * General endpoint: `adb.aliyuncs.com`.
7861
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
7862
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
8097
+ * For the endpoint of this service, see [endpoint](https://help.aliyun.com/document_detail/612373.html).
7863
8098
  *
7864
8099
  * @param request - DescribePatternPerformanceRequest
7865
8100
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7906,12 +8141,10 @@ export default class Client extends OpenApi {
7906
8141
  }
7907
8142
 
7908
8143
  /**
7909
- * Queries the information about performance metrics of an SQL pattern such as the query duration and average memory usage for an AnalyticDB for MySQL cluster within a time range.
8144
+ * View metric details (such as query time and average memory consumption) for SQL patterns over a specified time range in a cluster.
7910
8145
  *
7911
8146
  * @remarks
7912
- * General endpoint: `adb.aliyuncs.com`.
7913
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
7914
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
8147
+ * For the endpoint of this service, see [endpoint](https://help.aliyun.com/document_detail/612373.html).
7915
8148
  *
7916
8149
  * @param request - DescribePatternPerformanceRequest
7917
8150
  * @returns DescribePatternPerformanceResponse
@@ -8050,10 +8283,96 @@ export default class Client extends OpenApi {
8050
8283
  }
8051
8284
 
8052
8285
  /**
8053
- * Queries a list of regions and zones in which AnalyticDB for MySQL Data Lakehouse Edition (V3.0) is available.
8286
+ * Call the DescribeProcessList operation to view the running queries of an instance.
8287
+ *
8288
+ * @param request - DescribeProcessListRequest
8289
+ * @param runtime - runtime options for this request RuntimeOptions
8290
+ * @returns DescribeProcessListResponse
8291
+ */
8292
+ async describeProcessListWithOptions(request: $_model.DescribeProcessListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DescribeProcessListResponse> {
8293
+ request.validate();
8294
+ let query = { };
8295
+ if (!$dara.isNull(request.DBClusterId)) {
8296
+ query["DBClusterId"] = request.DBClusterId;
8297
+ }
8298
+
8299
+ if (!$dara.isNull(request.keyword)) {
8300
+ query["Keyword"] = request.keyword;
8301
+ }
8302
+
8303
+ if (!$dara.isNull(request.order)) {
8304
+ query["Order"] = request.order;
8305
+ }
8306
+
8307
+ if (!$dara.isNull(request.ownerAccount)) {
8308
+ query["OwnerAccount"] = request.ownerAccount;
8309
+ }
8310
+
8311
+ if (!$dara.isNull(request.ownerId)) {
8312
+ query["OwnerId"] = request.ownerId;
8313
+ }
8314
+
8315
+ if (!$dara.isNull(request.pageNumber)) {
8316
+ query["PageNumber"] = request.pageNumber;
8317
+ }
8318
+
8319
+ if (!$dara.isNull(request.pageSize)) {
8320
+ query["PageSize"] = request.pageSize;
8321
+ }
8322
+
8323
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
8324
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
8325
+ }
8326
+
8327
+ if (!$dara.isNull(request.resourceOwnerId)) {
8328
+ query["ResourceOwnerId"] = request.resourceOwnerId;
8329
+ }
8330
+
8331
+ if (!$dara.isNull(request.runningTime)) {
8332
+ query["RunningTime"] = request.runningTime;
8333
+ }
8334
+
8335
+ if (!$dara.isNull(request.showFull)) {
8336
+ query["ShowFull"] = request.showFull;
8337
+ }
8338
+
8339
+ if (!$dara.isNull(request.user)) {
8340
+ query["User"] = request.user;
8341
+ }
8342
+
8343
+ let req = new $OpenApiUtil.OpenApiRequest({
8344
+ query: OpenApiUtil.query(query),
8345
+ });
8346
+ let params = new $OpenApiUtil.Params({
8347
+ action: "DescribeProcessList",
8348
+ version: "2021-12-01",
8349
+ protocol: "HTTPS",
8350
+ pathname: "/",
8351
+ method: "POST",
8352
+ authType: "AK",
8353
+ style: "RPC",
8354
+ reqBodyType: "formData",
8355
+ bodyType: "json",
8356
+ });
8357
+ return $dara.cast<$_model.DescribeProcessListResponse>(await this.callApi(params, req, runtime), new $_model.DescribeProcessListResponse({}));
8358
+ }
8359
+
8360
+ /**
8361
+ * Call the DescribeProcessList operation to view the running queries of an instance.
8362
+ *
8363
+ * @param request - DescribeProcessListRequest
8364
+ * @returns DescribeProcessListResponse
8365
+ */
8366
+ async describeProcessList(request: $_model.DescribeProcessListRequest): Promise<$_model.DescribeProcessListResponse> {
8367
+ let runtime = new $dara.RuntimeOptions({ });
8368
+ return await this.describeProcessListWithOptions(request, runtime);
8369
+ }
8370
+
8371
+ /**
8372
+ * Queries the regions and zones supported by AnalyticDB for MySQL Data Lakehouse Edition.
8054
8373
  *
8055
8374
  * @remarks
8056
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
8375
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
8057
8376
  *
8058
8377
  * @param request - DescribeRegionsRequest
8059
8378
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8104,10 +8423,10 @@ export default class Client extends OpenApi {
8104
8423
  }
8105
8424
 
8106
8425
  /**
8107
- * Queries a list of regions and zones in which AnalyticDB for MySQL Data Lakehouse Edition (V3.0) is available.
8426
+ * Queries the regions and zones supported by AnalyticDB for MySQL Data Lakehouse Edition.
8108
8427
  *
8109
8428
  * @remarks
8110
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
8429
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
8111
8430
  *
8112
8431
  * @param request - DescribeRegionsRequest
8113
8432
  * @returns DescribeRegionsResponse
@@ -8226,12 +8545,12 @@ export default class Client extends OpenApi {
8226
8545
  }
8227
8546
 
8228
8547
  /**
8229
- * Queries a list of SQL patterns for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster within a time range.
8548
+ * View the list of SQL patterns for an AnalyticDB for MySQL Data Lakehouse Edition cluster for a specified date range.
8230
8549
  *
8231
8550
  * @remarks
8232
- * General endpoint: `adb.aliyuncs.com`.
8233
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
8234
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
8551
+ * - Global public endpoint: `adb.aliyuncs.com`.
8552
+ * - Regional public endpoint: `adb.<region-id>.aliyuncs.com` (e.g., `adb.cn-hangzhou.aliyuncs.com`).
8553
+ * - Regional VPC endpoint: `adb-vpc.<region-id>.aliyuncs.com` (e.g., `adb-vpc.cn-hangzhou.aliyuncs.com`).
8235
8554
  *
8236
8555
  * @param request - DescribeSQLPatternsRequest
8237
8556
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8272,6 +8591,10 @@ export default class Client extends OpenApi {
8272
8591
  query["RegionId"] = request.regionId;
8273
8592
  }
8274
8593
 
8594
+ if (!$dara.isNull(request.sqlPatternHash)) {
8595
+ query["SqlPatternHash"] = request.sqlPatternHash;
8596
+ }
8597
+
8275
8598
  if (!$dara.isNull(request.startTime)) {
8276
8599
  query["StartTime"] = request.startTime;
8277
8600
  }
@@ -8298,12 +8621,12 @@ export default class Client extends OpenApi {
8298
8621
  }
8299
8622
 
8300
8623
  /**
8301
- * Queries a list of SQL patterns for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster within a time range.
8624
+ * View the list of SQL patterns for an AnalyticDB for MySQL Data Lakehouse Edition cluster for a specified date range.
8302
8625
  *
8303
8626
  * @remarks
8304
- * General endpoint: `adb.aliyuncs.com`.
8305
- * * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
8306
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
8627
+ * - Global public endpoint: `adb.aliyuncs.com`.
8628
+ * - Regional public endpoint: `adb.<region-id>.aliyuncs.com` (e.g., `adb.cn-hangzhou.aliyuncs.com`).
8629
+ * - Regional VPC endpoint: `adb-vpc.<region-id>.aliyuncs.com` (e.g., `adb-vpc.cn-hangzhou.aliyuncs.com`).
8307
8630
  *
8308
8631
  * @param request - DescribeSQLPatternsRequest
8309
8632
  * @returns DescribeSQLPatternsResponse
@@ -8314,7 +8637,7 @@ export default class Client extends OpenApi {
8314
8637
  }
8315
8638
 
8316
8639
  /**
8317
- * Queries the WebSocket domain name of an AnalyticDB for MySQL cluster.
8640
+ * Queries the registered WebSocket domain.
8318
8641
  *
8319
8642
  * @param request - DescribeSQLWebSocketDomainRequest
8320
8643
  * @param runtime - runtime options for this request RuntimeOptions
@@ -8353,7 +8676,7 @@ export default class Client extends OpenApi {
8353
8676
  }
8354
8677
 
8355
8678
  /**
8356
- * Queries the WebSocket domain name of an AnalyticDB for MySQL cluster.
8679
+ * Queries the registered WebSocket domain.
8357
8680
  *
8358
8681
  * @param request - DescribeSQLWebSocketDomainRequest
8359
8682
  * @returns DescribeSQLWebSocketDomainResponse
@@ -9086,10 +9409,10 @@ export default class Client extends OpenApi {
9086
9409
  }
9087
9410
 
9088
9411
  /**
9089
- * Queries the number of accesses to a table or all tables in an AnalyticDB for MySQL cluster on a date.
9412
+ * Queries the number of times a specified table or all tables in a cluster are accessed within a specified date range.
9090
9413
  *
9091
9414
  * @remarks
9092
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
9415
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
9093
9416
  *
9094
9417
  * @param request - DescribeTableAccessCountRequest
9095
9418
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9144,10 +9467,10 @@ export default class Client extends OpenApi {
9144
9467
  }
9145
9468
 
9146
9469
  /**
9147
- * Queries the number of accesses to a table or all tables in an AnalyticDB for MySQL cluster on a date.
9470
+ * Queries the number of times a specified table or all tables in a cluster are accessed within a specified date range.
9148
9471
  *
9149
9472
  * @remarks
9150
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
9473
+ * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
9151
9474
  *
9152
9475
  * @param request - DescribeTableAccessCountRequest
9153
9476
  * @returns DescribeTableAccessCountResponse
@@ -9442,7 +9765,7 @@ export default class Client extends OpenApi {
9442
9765
  }
9443
9766
 
9444
9767
  /**
9445
- * Retrieves materialized view refresh tasks.
9768
+ * Retrieves view tasks.
9446
9769
  *
9447
9770
  * @param request - DescribeViewJobsRequest
9448
9771
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9505,7 +9828,7 @@ export default class Client extends OpenApi {
9505
9828
  }
9506
9829
 
9507
9830
  /**
9508
- * Retrieves materialized view refresh tasks.
9831
+ * Retrieves view tasks.
9509
9832
  *
9510
9833
  * @param request - DescribeViewJobsRequest
9511
9834
  * @returns DescribeViewJobsResponse
@@ -9516,7 +9839,7 @@ export default class Client extends OpenApi {
9516
9839
  }
9517
9840
 
9518
9841
  /**
9519
- * Queries the diagnostic results of the storage layer.
9842
+ * Queries the diagnostics results of the storage layer.
9520
9843
  *
9521
9844
  * @param request - DescribeWorkerDetectionRequest
9522
9845
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9579,7 +9902,7 @@ export default class Client extends OpenApi {
9579
9902
  }
9580
9903
 
9581
9904
  /**
9582
- * Queries the diagnostic results of the storage layer.
9905
+ * Queries the diagnostics results of the storage layer.
9583
9906
  *
9584
9907
  * @param request - DescribeWorkerDetectionRequest
9585
9908
  * @returns DescribeWorkerDetectionResponse
@@ -9590,10 +9913,10 @@ export default class Client extends OpenApi {
9590
9913
  }
9591
9914
 
9592
9915
  /**
9593
- * 解绑用户弹性网卡
9916
+ * Detaches an Elastic Network Interface (ENI).
9594
9917
  *
9595
9918
  * @remarks
9596
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
9919
+ * For the service endpoint, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
9597
9920
  *
9598
9921
  * @param request - DetachUserENIRequest
9599
9922
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9624,10 +9947,10 @@ export default class Client extends OpenApi {
9624
9947
  }
9625
9948
 
9626
9949
  /**
9627
- * 解绑用户弹性网卡
9950
+ * Detaches an Elastic Network Interface (ENI).
9628
9951
  *
9629
9952
  * @remarks
9630
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
9953
+ * For the service endpoint, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
9631
9954
  *
9632
9955
  * @param request - DetachUserENIRequest
9633
9956
  * @returns DetachUserENIResponse
@@ -9840,7 +10163,7 @@ export default class Client extends OpenApi {
9840
10163
  }
9841
10164
 
9842
10165
  /**
9843
- * Queries the Object Storage Service (OSS) URL of the downloaded certificate authority (CA) certificate that is used to connect to the wide table engine.
10166
+ * Retrieves the OSS download path of a CA certificate for connecting to the wide table engine.
9844
10167
  *
9845
10168
  * @param request - DownloadInstanceCACertificateRequest
9846
10169
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9883,7 +10206,7 @@ export default class Client extends OpenApi {
9883
10206
  }
9884
10207
 
9885
10208
  /**
9886
- * Queries the Object Storage Service (OSS) URL of the downloaded certificate authority (CA) certificate that is used to connect to the wide table engine.
10209
+ * Retrieves the OSS download path of a CA certificate for connecting to the wide table engine.
9887
10210
  *
9888
10211
  * @param request - DownloadInstanceCACertificateRequest
9889
10212
  * @returns DownloadInstanceCACertificateResponse
@@ -10048,6 +10371,11 @@ export default class Client extends OpenApi {
10048
10371
  /**
10049
10372
  * Executes Spark SQL statements in batches.
10050
10373
  *
10374
+ * @remarks
10375
+ * - 地域的公网接入地址:`adb.<region-id>.aliyuncs.com`。示例:`adb.cn-hangzhou.aliyuncs.com`。
10376
+ * - 地域的VPC接入地址:`adb-vpc.<region-id>.aliyuncs.com`。示例:`adb-vpc.cn-hangzhou.aliyuncs.com`。
10377
+ * > 如果华北1(青岛)、华南1(深圳)、华南3(广州)、中国香港发起请求时,遇到409错误,请联系技术支持。
10378
+ *
10051
10379
  * @param request - ExecuteSparkWarehouseBatchSQLRequest
10052
10380
  * @param runtime - runtime options for this request RuntimeOptions
10053
10381
  * @returns ExecuteSparkWarehouseBatchSQLResponse
@@ -10107,6 +10435,11 @@ export default class Client extends OpenApi {
10107
10435
  /**
10108
10436
  * Executes Spark SQL statements in batches.
10109
10437
  *
10438
+ * @remarks
10439
+ * - 地域的公网接入地址:`adb.<region-id>.aliyuncs.com`。示例:`adb.cn-hangzhou.aliyuncs.com`。
10440
+ * - 地域的VPC接入地址:`adb-vpc.<region-id>.aliyuncs.com`。示例:`adb-vpc.cn-hangzhou.aliyuncs.com`。
10441
+ * > 如果华北1(青岛)、华南1(深圳)、华南3(广州)、中国香港发起请求时,遇到409错误,请联系技术支持。
10442
+ *
10110
10443
  * @param request - ExecuteSparkWarehouseBatchSQLRequest
10111
10444
  * @returns ExecuteSparkWarehouseBatchSQLResponse
10112
10445
  */
@@ -10177,27 +10510,32 @@ export default class Client extends OpenApi {
10177
10510
  }
10178
10511
 
10179
10512
  /**
10180
- * View the Spark basic permission diagnosis report of the current user.
10181
- *
10182
- * @remarks
10183
- * The API diagnosis report contains whether the current user has all permissions required by the AnalyticDB for Spark related features. The scope of the permissions may exceed the minimum requirements of the business. The diagnostic report of the current API is used to quickly initialize the environment of AnalyticDB for Spark. If fine-grained permission configuration is needed, see [Configure fine-grained permissions in AnalyDB for Spark.](https://www.alibabacloud.com/help/zh/analyticdb/analyticdb-for-mysql/user-guide/create-the-aliyunadbsparkprocessingdatarole-role-for-a-ram-user-and-grant-permissions-to-the-role?spm=a2c63.p38356.help-menu-92664.d_2_5_0.48362a487dMzm9#section-y2z-ucd-1ko)
10513
+ * Generates an executable SQL statement from a semantic SQL statement.
10184
10514
  *
10185
- * @param request - GetADBSparkNecessaryRAMPermissionsRequest
10515
+ * @param request - GenerateSqlBySemanticSqlRequest
10186
10516
  * @param runtime - runtime options for this request RuntimeOptions
10187
- * @returns GetADBSparkNecessaryRAMPermissionsResponse
10517
+ * @returns GenerateSqlBySemanticSqlResponse
10188
10518
  */
10189
- async getADBSparkNecessaryRAMPermissionsWithOptions(request: $_model.GetADBSparkNecessaryRAMPermissionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetADBSparkNecessaryRAMPermissionsResponse> {
10519
+ async generateSqlBySemanticSqlWithOptions(request: $_model.GenerateSqlBySemanticSqlRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GenerateSqlBySemanticSqlResponse> {
10190
10520
  request.validate();
10191
- let body : {[key: string ]: any} = { };
10521
+ let query = { };
10192
10522
  if (!$dara.isNull(request.DBClusterId)) {
10193
- body["DBClusterId"] = request.DBClusterId;
10523
+ query["DBClusterId"] = request.DBClusterId;
10524
+ }
10525
+
10526
+ if (!$dara.isNull(request.schemaName)) {
10527
+ query["SchemaName"] = request.schemaName;
10528
+ }
10529
+
10530
+ if (!$dara.isNull(request.sql)) {
10531
+ query["Sql"] = request.sql;
10194
10532
  }
10195
10533
 
10196
10534
  let req = new $OpenApiUtil.OpenApiRequest({
10197
- body: OpenApiUtil.parseToMap(body),
10535
+ query: OpenApiUtil.query(query),
10198
10536
  });
10199
10537
  let params = new $OpenApiUtil.Params({
10200
- action: "GetADBSparkNecessaryRAMPermissions",
10538
+ action: "GenerateSqlBySemanticSql",
10201
10539
  version: "2021-12-01",
10202
10540
  protocol: "HTTPS",
10203
10541
  pathname: "/",
@@ -10207,46 +10545,42 @@ export default class Client extends OpenApi {
10207
10545
  reqBodyType: "formData",
10208
10546
  bodyType: "json",
10209
10547
  });
10210
- return $dara.cast<$_model.GetADBSparkNecessaryRAMPermissionsResponse>(await this.callApi(params, req, runtime), new $_model.GetADBSparkNecessaryRAMPermissionsResponse({}));
10548
+ return $dara.cast<$_model.GenerateSqlBySemanticSqlResponse>(await this.callApi(params, req, runtime), new $_model.GenerateSqlBySemanticSqlResponse({}));
10211
10549
  }
10212
10550
 
10213
10551
  /**
10214
- * View the Spark basic permission diagnosis report of the current user.
10552
+ * Generates an executable SQL statement from a semantic SQL statement.
10215
10553
  *
10216
- * @remarks
10217
- * The API diagnosis report contains whether the current user has all permissions required by the AnalyticDB for Spark related features. The scope of the permissions may exceed the minimum requirements of the business. The diagnostic report of the current API is used to quickly initialize the environment of AnalyticDB for Spark. If fine-grained permission configuration is needed, see [Configure fine-grained permissions in AnalyDB for Spark.](https://www.alibabacloud.com/help/zh/analyticdb/analyticdb-for-mysql/user-guide/create-the-aliyunadbsparkprocessingdatarole-role-for-a-ram-user-and-grant-permissions-to-the-role?spm=a2c63.p38356.help-menu-92664.d_2_5_0.48362a487dMzm9#section-y2z-ucd-1ko)
10218
- *
10219
- * @param request - GetADBSparkNecessaryRAMPermissionsRequest
10220
- * @returns GetADBSparkNecessaryRAMPermissionsResponse
10554
+ * @param request - GenerateSqlBySemanticSqlRequest
10555
+ * @returns GenerateSqlBySemanticSqlResponse
10221
10556
  */
10222
- async getADBSparkNecessaryRAMPermissions(request: $_model.GetADBSparkNecessaryRAMPermissionsRequest): Promise<$_model.GetADBSparkNecessaryRAMPermissionsResponse> {
10557
+ async generateSqlBySemanticSql(request: $_model.GenerateSqlBySemanticSqlRequest): Promise<$_model.GenerateSqlBySemanticSqlResponse> {
10223
10558
  let runtime = new $dara.RuntimeOptions({ });
10224
- return await this.getADBSparkNecessaryRAMPermissionsWithOptions(request, runtime);
10559
+ return await this.generateSqlBySemanticSqlWithOptions(request, runtime);
10225
10560
  }
10226
10561
 
10227
10562
  /**
10228
- * Queries a list of databases.
10563
+ * Queries the basic permission diagnostic report of the current user for Spark.
10229
10564
  *
10230
- * @param request - GetApsManagedDatabasesRequest
10565
+ * @remarks
10566
+ * The API diagnostic report contains all the permissions required by the current user for ADB Spark-related features. The scope of the permission check may exceed the minimum requirements of your business. This API is used for quick initialization of the ADB Spark environment. To configure fine-grained permissions, [refer to the ADB Spark fine-grained permission configuration documentation.](https://www.alibabacloud.com/help/zh/analyticdb/analyticdb-for-mysql/user-guide/create-the-aliyunadbsparkprocessingdatarole-role-for-a-ram-user-and-grant-permissions-to-the-role?spm=a2c63.p38356.help-menu-92664.d_2_5_0.48362a487dMzm9#section-y2z-ucd-1ko)
10567
+ *
10568
+ * @param request - GetADBSparkNecessaryRAMPermissionsRequest
10231
10569
  * @param runtime - runtime options for this request RuntimeOptions
10232
- * @returns GetApsManagedDatabasesResponse
10570
+ * @returns GetADBSparkNecessaryRAMPermissionsResponse
10233
10571
  */
10234
- async getApsManagedDatabasesWithOptions(request: $_model.GetApsManagedDatabasesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetApsManagedDatabasesResponse> {
10572
+ async getADBSparkNecessaryRAMPermissionsWithOptions(request: $_model.GetADBSparkNecessaryRAMPermissionsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetADBSparkNecessaryRAMPermissionsResponse> {
10235
10573
  request.validate();
10236
10574
  let body : {[key: string ]: any} = { };
10237
10575
  if (!$dara.isNull(request.DBClusterId)) {
10238
10576
  body["DBClusterId"] = request.DBClusterId;
10239
10577
  }
10240
10578
 
10241
- if (!$dara.isNull(request.regionId)) {
10242
- body["RegionId"] = request.regionId;
10243
- }
10244
-
10245
10579
  let req = new $OpenApiUtil.OpenApiRequest({
10246
10580
  body: OpenApiUtil.parseToMap(body),
10247
10581
  });
10248
10582
  let params = new $OpenApiUtil.Params({
10249
- action: "GetApsManagedDatabases",
10583
+ action: "GetADBSparkNecessaryRAMPermissions",
10250
10584
  version: "2021-12-01",
10251
10585
  protocol: "HTTPS",
10252
10586
  pathname: "/",
@@ -10256,18 +10590,21 @@ export default class Client extends OpenApi {
10256
10590
  reqBodyType: "formData",
10257
10591
  bodyType: "json",
10258
10592
  });
10259
- return $dara.cast<$_model.GetApsManagedDatabasesResponse>(await this.callApi(params, req, runtime), new $_model.GetApsManagedDatabasesResponse({}));
10593
+ return $dara.cast<$_model.GetADBSparkNecessaryRAMPermissionsResponse>(await this.callApi(params, req, runtime), new $_model.GetADBSparkNecessaryRAMPermissionsResponse({}));
10260
10594
  }
10261
10595
 
10262
10596
  /**
10263
- * Queries a list of databases.
10597
+ * Queries the basic permission diagnostic report of the current user for Spark.
10598
+ *
10599
+ * @remarks
10600
+ * The API diagnostic report contains all the permissions required by the current user for ADB Spark-related features. The scope of the permission check may exceed the minimum requirements of your business. This API is used for quick initialization of the ADB Spark environment. To configure fine-grained permissions, [refer to the ADB Spark fine-grained permission configuration documentation.](https://www.alibabacloud.com/help/zh/analyticdb/analyticdb-for-mysql/user-guide/create-the-aliyunadbsparkprocessingdatarole-role-for-a-ram-user-and-grant-permissions-to-the-role?spm=a2c63.p38356.help-menu-92664.d_2_5_0.48362a487dMzm9#section-y2z-ucd-1ko)
10264
10601
  *
10265
- * @param request - GetApsManagedDatabasesRequest
10266
- * @returns GetApsManagedDatabasesResponse
10602
+ * @param request - GetADBSparkNecessaryRAMPermissionsRequest
10603
+ * @returns GetADBSparkNecessaryRAMPermissionsResponse
10267
10604
  */
10268
- async getApsManagedDatabases(request: $_model.GetApsManagedDatabasesRequest): Promise<$_model.GetApsManagedDatabasesResponse> {
10605
+ async getADBSparkNecessaryRAMPermissions(request: $_model.GetADBSparkNecessaryRAMPermissionsRequest): Promise<$_model.GetADBSparkNecessaryRAMPermissionsResponse> {
10269
10606
  let runtime = new $dara.RuntimeOptions({ });
10270
- return await this.getApsManagedDatabasesWithOptions(request, runtime);
10607
+ return await this.getADBSparkNecessaryRAMPermissionsWithOptions(request, runtime);
10271
10608
  }
10272
10609
 
10273
10610
  /**
@@ -10341,52 +10678,160 @@ export default class Client extends OpenApi {
10341
10678
  }
10342
10679
 
10343
10680
  /**
10344
- * Queries the information about databases.
10345
- *
10346
- * @remarks
10347
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
10348
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
10681
+ * Queries the information about databases.
10682
+ *
10683
+ * @remarks
10684
+ * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
10685
+ * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
10686
+ *
10687
+ * @param request - GetDatabaseObjectsRequest
10688
+ * @param runtime - runtime options for this request RuntimeOptions
10689
+ * @returns GetDatabaseObjectsResponse
10690
+ */
10691
+ async getDatabaseObjectsWithOptions(request: $_model.GetDatabaseObjectsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDatabaseObjectsResponse> {
10692
+ request.validate();
10693
+ let query = { };
10694
+ if (!$dara.isNull(request.DBClusterId)) {
10695
+ query["DBClusterId"] = request.DBClusterId;
10696
+ }
10697
+
10698
+ if (!$dara.isNull(request.filterOwner)) {
10699
+ query["FilterOwner"] = request.filterOwner;
10700
+ }
10701
+
10702
+ if (!$dara.isNull(request.filterSchemaName)) {
10703
+ query["FilterSchemaName"] = request.filterSchemaName;
10704
+ }
10705
+
10706
+ if (!$dara.isNull(request.orderBy)) {
10707
+ query["OrderBy"] = request.orderBy;
10708
+ }
10709
+
10710
+ if (!$dara.isNull(request.pageNumber)) {
10711
+ query["PageNumber"] = request.pageNumber;
10712
+ }
10713
+
10714
+ if (!$dara.isNull(request.pageSize)) {
10715
+ query["PageSize"] = request.pageSize;
10716
+ }
10717
+
10718
+ if (!$dara.isNull(request.regionId)) {
10719
+ query["RegionId"] = request.regionId;
10720
+ }
10721
+
10722
+ let req = new $OpenApiUtil.OpenApiRequest({
10723
+ query: OpenApiUtil.query(query),
10724
+ });
10725
+ let params = new $OpenApiUtil.Params({
10726
+ action: "GetDatabaseObjects",
10727
+ version: "2021-12-01",
10728
+ protocol: "HTTPS",
10729
+ pathname: "/",
10730
+ method: "POST",
10731
+ authType: "AK",
10732
+ style: "RPC",
10733
+ reqBodyType: "formData",
10734
+ bodyType: "json",
10735
+ });
10736
+ return $dara.cast<$_model.GetDatabaseObjectsResponse>(await this.callApi(params, req, runtime), new $_model.GetDatabaseObjectsResponse({}));
10737
+ }
10738
+
10739
+ /**
10740
+ * Queries the information about databases.
10741
+ *
10742
+ * @remarks
10743
+ * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
10744
+ * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
10745
+ *
10746
+ * @param request - GetDatabaseObjectsRequest
10747
+ * @returns GetDatabaseObjectsResponse
10748
+ */
10749
+ async getDatabaseObjects(request: $_model.GetDatabaseObjectsRequest): Promise<$_model.GetDatabaseObjectsResponse> {
10750
+ let runtime = new $dara.RuntimeOptions({ });
10751
+ return await this.getDatabaseObjectsWithOptions(request, runtime);
10752
+ }
10753
+
10754
+ /**
10755
+ * Queries the details of a metadata discovery task.
10756
+ *
10757
+ * @param request - GetFormationCrawlerRequest
10758
+ * @param runtime - runtime options for this request RuntimeOptions
10759
+ * @returns GetFormationCrawlerResponse
10760
+ */
10761
+ async getFormationCrawlerWithOptions(request: $_model.GetFormationCrawlerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetFormationCrawlerResponse> {
10762
+ request.validate();
10763
+ let body : {[key: string ]: any} = { };
10764
+ if (!$dara.isNull(request.crawlerTaskId)) {
10765
+ body["CrawlerTaskId"] = request.crawlerTaskId;
10766
+ }
10767
+
10768
+ if (!$dara.isNull(request.crawlerTaskName)) {
10769
+ body["CrawlerTaskName"] = request.crawlerTaskName;
10770
+ }
10771
+
10772
+ if (!$dara.isNull(request.DBClusterId)) {
10773
+ body["DBClusterId"] = request.DBClusterId;
10774
+ }
10775
+
10776
+ if (!$dara.isNull(request.regionId)) {
10777
+ body["RegionId"] = request.regionId;
10778
+ }
10779
+
10780
+ let req = new $OpenApiUtil.OpenApiRequest({
10781
+ body: OpenApiUtil.parseToMap(body),
10782
+ });
10783
+ let params = new $OpenApiUtil.Params({
10784
+ action: "GetFormationCrawler",
10785
+ version: "2021-12-01",
10786
+ protocol: "HTTPS",
10787
+ pathname: "/",
10788
+ method: "POST",
10789
+ authType: "AK",
10790
+ style: "RPC",
10791
+ reqBodyType: "formData",
10792
+ bodyType: "json",
10793
+ });
10794
+ return $dara.cast<$_model.GetFormationCrawlerResponse>(await this.callApi(params, req, runtime), new $_model.GetFormationCrawlerResponse({}));
10795
+ }
10796
+
10797
+ /**
10798
+ * Queries the details of a metadata discovery task.
10799
+ *
10800
+ * @param request - GetFormationCrawlerRequest
10801
+ * @returns GetFormationCrawlerResponse
10802
+ */
10803
+ async getFormationCrawler(request: $_model.GetFormationCrawlerRequest): Promise<$_model.GetFormationCrawlerResponse> {
10804
+ let runtime = new $dara.RuntimeOptions({ });
10805
+ return await this.getFormationCrawlerWithOptions(request, runtime);
10806
+ }
10807
+
10808
+ /**
10809
+ * Adds a knowledge base document.
10349
10810
  *
10350
- * @param request - GetDatabaseObjectsRequest
10811
+ * @param request - GetKnowledgeRecallRequest
10351
10812
  * @param runtime - runtime options for this request RuntimeOptions
10352
- * @returns GetDatabaseObjectsResponse
10813
+ * @returns GetKnowledgeRecallResponse
10353
10814
  */
10354
- async getDatabaseObjectsWithOptions(request: $_model.GetDatabaseObjectsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetDatabaseObjectsResponse> {
10815
+ async getKnowledgeRecallWithOptions(request: $_model.GetKnowledgeRecallRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetKnowledgeRecallResponse> {
10355
10816
  request.validate();
10356
10817
  let query = { };
10357
10818
  if (!$dara.isNull(request.DBClusterId)) {
10358
10819
  query["DBClusterId"] = request.DBClusterId;
10359
10820
  }
10360
10821
 
10361
- if (!$dara.isNull(request.filterOwner)) {
10362
- query["FilterOwner"] = request.filterOwner;
10363
- }
10364
-
10365
- if (!$dara.isNull(request.filterSchemaName)) {
10366
- query["FilterSchemaName"] = request.filterSchemaName;
10367
- }
10368
-
10369
- if (!$dara.isNull(request.orderBy)) {
10370
- query["OrderBy"] = request.orderBy;
10371
- }
10372
-
10373
- if (!$dara.isNull(request.pageNumber)) {
10374
- query["PageNumber"] = request.pageNumber;
10375
- }
10376
-
10377
- if (!$dara.isNull(request.pageSize)) {
10378
- query["PageSize"] = request.pageSize;
10822
+ if (!$dara.isNull(request.question)) {
10823
+ query["Question"] = request.question;
10379
10824
  }
10380
10825
 
10381
- if (!$dara.isNull(request.regionId)) {
10382
- query["RegionId"] = request.regionId;
10826
+ if (!$dara.isNull(request.topk)) {
10827
+ query["Topk"] = request.topk;
10383
10828
  }
10384
10829
 
10385
10830
  let req = new $OpenApiUtil.OpenApiRequest({
10386
10831
  query: OpenApiUtil.query(query),
10387
10832
  });
10388
10833
  let params = new $OpenApiUtil.Params({
10389
- action: "GetDatabaseObjects",
10834
+ action: "GetKnowledgeRecall",
10390
10835
  version: "2021-12-01",
10391
10836
  protocol: "HTTPS",
10392
10837
  pathname: "/",
@@ -10396,22 +10841,18 @@ export default class Client extends OpenApi {
10396
10841
  reqBodyType: "formData",
10397
10842
  bodyType: "json",
10398
10843
  });
10399
- return $dara.cast<$_model.GetDatabaseObjectsResponse>(await this.callApi(params, req, runtime), new $_model.GetDatabaseObjectsResponse({}));
10844
+ return $dara.cast<$_model.GetKnowledgeRecallResponse>(await this.callApi(params, req, runtime), new $_model.GetKnowledgeRecallResponse({}));
10400
10845
  }
10401
10846
 
10402
10847
  /**
10403
- * Queries the information about databases.
10404
- *
10405
- * @remarks
10406
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
10407
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
10848
+ * Adds a knowledge base document.
10408
10849
  *
10409
- * @param request - GetDatabaseObjectsRequest
10410
- * @returns GetDatabaseObjectsResponse
10850
+ * @param request - GetKnowledgeRecallRequest
10851
+ * @returns GetKnowledgeRecallResponse
10411
10852
  */
10412
- async getDatabaseObjects(request: $_model.GetDatabaseObjectsRequest): Promise<$_model.GetDatabaseObjectsResponse> {
10853
+ async getKnowledgeRecall(request: $_model.GetKnowledgeRecallRequest): Promise<$_model.GetKnowledgeRecallResponse> {
10413
10854
  let runtime = new $dara.RuntimeOptions({ });
10414
- return await this.getDatabaseObjectsWithOptions(request, runtime);
10855
+ return await this.getKnowledgeRecallWithOptions(request, runtime);
10415
10856
  }
10416
10857
 
10417
10858
  /**
@@ -10466,6 +10907,56 @@ export default class Client extends OpenApi {
10466
10907
  return await this.getLakeStorageWithOptions(request, runtime);
10467
10908
  }
10468
10909
 
10910
+ /**
10911
+ * Retrieves the details of a semantic view.
10912
+ *
10913
+ * @param request - GetSemanticViewRequest
10914
+ * @param runtime - runtime options for this request RuntimeOptions
10915
+ * @returns GetSemanticViewResponse
10916
+ */
10917
+ async getSemanticViewWithOptions(request: $_model.GetSemanticViewRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetSemanticViewResponse> {
10918
+ request.validate();
10919
+ let query = { };
10920
+ if (!$dara.isNull(request.DBClusterId)) {
10921
+ query["DBClusterId"] = request.DBClusterId;
10922
+ }
10923
+
10924
+ if (!$dara.isNull(request.schemaName)) {
10925
+ query["SchemaName"] = request.schemaName;
10926
+ }
10927
+
10928
+ if (!$dara.isNull(request.viewName)) {
10929
+ query["ViewName"] = request.viewName;
10930
+ }
10931
+
10932
+ let req = new $OpenApiUtil.OpenApiRequest({
10933
+ query: OpenApiUtil.query(query),
10934
+ });
10935
+ let params = new $OpenApiUtil.Params({
10936
+ action: "GetSemanticView",
10937
+ version: "2021-12-01",
10938
+ protocol: "HTTPS",
10939
+ pathname: "/",
10940
+ method: "POST",
10941
+ authType: "AK",
10942
+ style: "RPC",
10943
+ reqBodyType: "formData",
10944
+ bodyType: "json",
10945
+ });
10946
+ return $dara.cast<$_model.GetSemanticViewResponse>(await this.callApi(params, req, runtime), new $_model.GetSemanticViewResponse({}));
10947
+ }
10948
+
10949
+ /**
10950
+ * Retrieves the details of a semantic view.
10951
+ *
10952
+ * @param request - GetSemanticViewRequest
10953
+ * @returns GetSemanticViewResponse
10954
+ */
10955
+ async getSemanticView(request: $_model.GetSemanticViewRequest): Promise<$_model.GetSemanticViewResponse> {
10956
+ let runtime = new $dara.RuntimeOptions({ });
10957
+ return await this.getSemanticViewWithOptions(request, runtime);
10958
+ }
10959
+
10469
10960
  /**
10470
10961
  * Queries the information about the retry log of a Spark application.
10471
10962
  *
@@ -11258,7 +11749,12 @@ export default class Client extends OpenApi {
11258
11749
  }
11259
11750
 
11260
11751
  /**
11261
- * Queries the execution result of a Spark SQL statement.
11752
+ * Retrieves the execution results of a Spark SQL statement.
11753
+ *
11754
+ * @remarks
11755
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
11756
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11757
+ * > If you encounter a 409 error when sending requests from China North 1 (Qingdao), China South 1 (Shenzhen), China South 3 (Guangzhou), or Hong Kong (China), contact technical support.
11262
11758
  *
11263
11759
  * @param request - GetSparkWarehouseBatchSQLRequest
11264
11760
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11297,7 +11793,12 @@ export default class Client extends OpenApi {
11297
11793
  }
11298
11794
 
11299
11795
  /**
11300
- * Queries the execution result of a Spark SQL statement.
11796
+ * Retrieves the execution results of a Spark SQL statement.
11797
+ *
11798
+ * @remarks
11799
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
11800
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11801
+ * > If you encounter a 409 error when sending requests from China North 1 (Qingdao), China South 1 (Shenzhen), China South 3 (Guangzhou), or Hong Kong (China), contact technical support.
11301
11802
  *
11302
11803
  * @param request - GetSparkWarehouseBatchSQLRequest
11303
11804
  * @returns GetSparkWarehouseBatchSQLResponse
@@ -11308,7 +11809,11 @@ export default class Client extends OpenApi {
11308
11809
  }
11309
11810
 
11310
11811
  /**
11311
- * 获取表
11812
+ * Retrieves table information.
11813
+ *
11814
+ * @remarks
11815
+ * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
11816
+ * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11312
11817
  *
11313
11818
  * @param request - GetTableRequest
11314
11819
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11351,7 +11856,11 @@ export default class Client extends OpenApi {
11351
11856
  }
11352
11857
 
11353
11858
  /**
11354
- * 获取表
11859
+ * Retrieves table information.
11860
+ *
11861
+ * @remarks
11862
+ * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
11863
+ * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11355
11864
  *
11356
11865
  * @param request - GetTableRequest
11357
11866
  * @returns GetTableResponse
@@ -11362,11 +11871,11 @@ export default class Client extends OpenApi {
11362
11871
  }
11363
11872
 
11364
11873
  /**
11365
- * Queries the information about columns.
11874
+ * Queries column information.
11366
11875
  *
11367
11876
  * @remarks
11368
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11369
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11877
+ * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
11878
+ * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11370
11879
  *
11371
11880
  * @param request - GetTableColumnsRequest
11372
11881
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11421,11 +11930,11 @@ export default class Client extends OpenApi {
11421
11930
  }
11422
11931
 
11423
11932
  /**
11424
- * Queries the information about columns.
11933
+ * Queries column information.
11425
11934
  *
11426
11935
  * @remarks
11427
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11428
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11936
+ * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
11937
+ * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11429
11938
  *
11430
11939
  * @param request - GetTableColumnsRequest
11431
11940
  * @returns GetTableColumnsResponse
@@ -11498,7 +12007,11 @@ export default class Client extends OpenApi {
11498
12007
  }
11499
12008
 
11500
12009
  /**
11501
- * 获取table概要信息
12010
+ * Queries table information.
12011
+ *
12012
+ * @remarks
12013
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12014
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11502
12015
  *
11503
12016
  * @param request - GetTableObjectsRequest
11504
12017
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11565,7 +12078,11 @@ export default class Client extends OpenApi {
11565
12078
  }
11566
12079
 
11567
12080
  /**
11568
- * 获取table概要信息
12081
+ * Queries table information.
12082
+ *
12083
+ * @remarks
12084
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12085
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11569
12086
  *
11570
12087
  * @param request - GetTableObjectsRequest
11571
12088
  * @returns GetTableObjectsResponse
@@ -11638,11 +12155,11 @@ export default class Client extends OpenApi {
11638
12155
  }
11639
12156
 
11640
12157
  /**
11641
- * Queries the information about views.
12158
+ * Queries view information.
11642
12159
  *
11643
12160
  * @remarks
11644
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11645
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12161
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12162
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11646
12163
  *
11647
12164
  * @param request - GetViewObjectsRequest
11648
12165
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11709,11 +12226,11 @@ export default class Client extends OpenApi {
11709
12226
  }
11710
12227
 
11711
12228
  /**
11712
- * Queries the information about views.
12229
+ * Queries view information.
11713
12230
  *
11714
12231
  * @remarks
11715
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11716
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12232
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12233
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
11717
12234
  *
11718
12235
  * @param request - GetViewObjectsRequest
11719
12236
  * @returns GetViewObjectsResponse
@@ -11819,224 +12336,44 @@ export default class Client extends OpenApi {
11819
12336
  /**
11820
12337
  * Terminates an ongoing query.
11821
12338
  *
11822
- * @param request - KillProcessRequest
11823
- * @returns KillProcessResponse
11824
- */
11825
- async killProcess(request: $_model.KillProcessRequest): Promise<$_model.KillProcessResponse> {
11826
- let runtime = new $dara.RuntimeOptions({ });
11827
- return await this.killProcessWithOptions(request, runtime);
11828
- }
11829
-
11830
- /**
11831
- * Terminates a Spark application.
11832
- *
11833
- * @remarks
11834
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11835
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11836
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
11837
- *
11838
- * @param request - KillSparkAppRequest
11839
- * @param runtime - runtime options for this request RuntimeOptions
11840
- * @returns KillSparkAppResponse
11841
- */
11842
- async killSparkAppWithOptions(request: $_model.KillSparkAppRequest, runtime: $dara.RuntimeOptions): Promise<$_model.KillSparkAppResponse> {
11843
- request.validate();
11844
- let query = { };
11845
- if (!$dara.isNull(request.DBClusterId)) {
11846
- query["DBClusterId"] = request.DBClusterId;
11847
- }
11848
-
11849
- let body : {[key: string ]: any} = { };
11850
- if (!$dara.isNull(request.appId)) {
11851
- body["AppId"] = request.appId;
11852
- }
11853
-
11854
- let req = new $OpenApiUtil.OpenApiRequest({
11855
- query: OpenApiUtil.query(query),
11856
- body: OpenApiUtil.parseToMap(body),
11857
- });
11858
- let params = new $OpenApiUtil.Params({
11859
- action: "KillSparkApp",
11860
- version: "2021-12-01",
11861
- protocol: "HTTPS",
11862
- pathname: "/",
11863
- method: "POST",
11864
- authType: "AK",
11865
- style: "RPC",
11866
- reqBodyType: "formData",
11867
- bodyType: "json",
11868
- });
11869
- return $dara.cast<$_model.KillSparkAppResponse>(await this.callApi(params, req, runtime), new $_model.KillSparkAppResponse({}));
11870
- }
11871
-
11872
- /**
11873
- * Terminates a Spark application.
11874
- *
11875
- * @remarks
11876
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11877
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11878
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
11879
- *
11880
- * @param request - KillSparkAppRequest
11881
- * @returns KillSparkAppResponse
11882
- */
11883
- async killSparkApp(request: $_model.KillSparkAppRequest): Promise<$_model.KillSparkAppResponse> {
11884
- let runtime = new $dara.RuntimeOptions({ });
11885
- return await this.killSparkAppWithOptions(request, runtime);
11886
- }
11887
-
11888
- /**
11889
- * Terminates a Spark log analysis task and queries the information about the analysis task.
11890
- *
11891
- * @remarks
11892
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11893
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11894
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
11895
- *
11896
- * @param request - KillSparkLogAnalyzeTaskRequest
11897
- * @param runtime - runtime options for this request RuntimeOptions
11898
- * @returns KillSparkLogAnalyzeTaskResponse
11899
- */
11900
- async killSparkLogAnalyzeTaskWithOptions(request: $_model.KillSparkLogAnalyzeTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.KillSparkLogAnalyzeTaskResponse> {
11901
- request.validate();
11902
- let body : {[key: string ]: any} = { };
11903
- if (!$dara.isNull(request.taskId)) {
11904
- body["TaskId"] = request.taskId;
11905
- }
11906
-
11907
- let req = new $OpenApiUtil.OpenApiRequest({
11908
- body: OpenApiUtil.parseToMap(body),
11909
- });
11910
- let params = new $OpenApiUtil.Params({
11911
- action: "KillSparkLogAnalyzeTask",
11912
- version: "2021-12-01",
11913
- protocol: "HTTPS",
11914
- pathname: "/",
11915
- method: "POST",
11916
- authType: "AK",
11917
- style: "RPC",
11918
- reqBodyType: "formData",
11919
- bodyType: "json",
11920
- });
11921
- return $dara.cast<$_model.KillSparkLogAnalyzeTaskResponse>(await this.callApi(params, req, runtime), new $_model.KillSparkLogAnalyzeTaskResponse({}));
11922
- }
11923
-
11924
- /**
11925
- * Terminates a Spark log analysis task and queries the information about the analysis task.
11926
- *
11927
- * @remarks
11928
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11929
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11930
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
11931
- *
11932
- * @param request - KillSparkLogAnalyzeTaskRequest
11933
- * @returns KillSparkLogAnalyzeTaskResponse
11934
- */
11935
- async killSparkLogAnalyzeTask(request: $_model.KillSparkLogAnalyzeTaskRequest): Promise<$_model.KillSparkLogAnalyzeTaskResponse> {
11936
- let runtime = new $dara.RuntimeOptions({ });
11937
- return await this.killSparkLogAnalyzeTaskWithOptions(request, runtime);
11938
- }
11939
-
11940
- /**
11941
- * Shuts down a Spark SQL engine.
11942
- *
11943
- * @remarks
11944
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11945
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11946
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
11947
- *
11948
- * @deprecated OpenAPI KillSparkSQLEngine is deprecated
11949
- *
11950
- * @param request - KillSparkSQLEngineRequest
11951
- * @param runtime - runtime options for this request RuntimeOptions
11952
- * @returns KillSparkSQLEngineResponse
11953
- */
11954
- async killSparkSQLEngineWithOptions(request: $_model.KillSparkSQLEngineRequest, runtime: $dara.RuntimeOptions): Promise<$_model.KillSparkSQLEngineResponse> {
11955
- request.validate();
11956
- let body : {[key: string ]: any} = { };
11957
- if (!$dara.isNull(request.DBClusterId)) {
11958
- body["DBClusterId"] = request.DBClusterId;
11959
- }
11960
-
11961
- if (!$dara.isNull(request.resourceGroupName)) {
11962
- body["ResourceGroupName"] = request.resourceGroupName;
11963
- }
11964
-
11965
- let req = new $OpenApiUtil.OpenApiRequest({
11966
- body: OpenApiUtil.parseToMap(body),
11967
- });
11968
- let params = new $OpenApiUtil.Params({
11969
- action: "KillSparkSQLEngine",
11970
- version: "2021-12-01",
11971
- protocol: "HTTPS",
11972
- pathname: "/",
11973
- method: "POST",
11974
- authType: "AK",
11975
- style: "RPC",
11976
- reqBodyType: "formData",
11977
- bodyType: "json",
11978
- });
11979
- return $dara.cast<$_model.KillSparkSQLEngineResponse>(await this.callApi(params, req, runtime), new $_model.KillSparkSQLEngineResponse({}));
12339
+ * @param request - KillProcessRequest
12340
+ * @returns KillProcessResponse
12341
+ */
12342
+ async killProcess(request: $_model.KillProcessRequest): Promise<$_model.KillProcessResponse> {
12343
+ let runtime = new $dara.RuntimeOptions({ });
12344
+ return await this.killProcessWithOptions(request, runtime);
11980
12345
  }
11981
12346
 
11982
12347
  /**
11983
- * Shuts down a Spark SQL engine.
12348
+ * Terminates a Spark application.
11984
12349
  *
11985
12350
  * @remarks
11986
12351
  * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
11987
12352
  * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11988
12353
  * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
11989
12354
  *
11990
- * @deprecated OpenAPI KillSparkSQLEngine is deprecated
11991
- *
11992
- * @param request - KillSparkSQLEngineRequest
11993
- * @returns KillSparkSQLEngineResponse
11994
- */
11995
- // Deprecated
11996
- async killSparkSQLEngine(request: $_model.KillSparkSQLEngineRequest): Promise<$_model.KillSparkSQLEngineResponse> {
11997
- let runtime = new $dara.RuntimeOptions({ });
11998
- return await this.killSparkSQLEngineWithOptions(request, runtime);
11999
- }
12000
-
12001
- /**
12002
- * Queries a list of lifecycle management policies of an AnalyticDB for MySQL cluster.
12003
- *
12004
- * @param request - ListApsLifecycleStrategyRequest
12355
+ * @param request - KillSparkAppRequest
12005
12356
  * @param runtime - runtime options for this request RuntimeOptions
12006
- * @returns ListApsLifecycleStrategyResponse
12357
+ * @returns KillSparkAppResponse
12007
12358
  */
12008
- async listApsLifecycleStrategyWithOptions(request: $_model.ListApsLifecycleStrategyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApsLifecycleStrategyResponse> {
12359
+ async killSparkAppWithOptions(request: $_model.KillSparkAppRequest, runtime: $dara.RuntimeOptions): Promise<$_model.KillSparkAppResponse> {
12009
12360
  request.validate();
12010
- let body : {[key: string ]: any} = { };
12361
+ let query = { };
12011
12362
  if (!$dara.isNull(request.DBClusterId)) {
12012
- body["DBClusterId"] = request.DBClusterId;
12013
- }
12014
-
12015
- if (!$dara.isNull(request.endTime)) {
12016
- body["EndTime"] = request.endTime;
12017
- }
12018
-
12019
- if (!$dara.isNull(request.pageNumber)) {
12020
- body["PageNumber"] = request.pageNumber;
12021
- }
12022
-
12023
- if (!$dara.isNull(request.pageSize)) {
12024
- body["PageSize"] = request.pageSize;
12025
- }
12026
-
12027
- if (!$dara.isNull(request.regionId)) {
12028
- body["RegionId"] = request.regionId;
12363
+ query["DBClusterId"] = request.DBClusterId;
12029
12364
  }
12030
12365
 
12031
- if (!$dara.isNull(request.startTime)) {
12032
- body["StartTime"] = request.startTime;
12366
+ let body : {[key: string ]: any} = { };
12367
+ if (!$dara.isNull(request.appId)) {
12368
+ body["AppId"] = request.appId;
12033
12369
  }
12034
12370
 
12035
12371
  let req = new $OpenApiUtil.OpenApiRequest({
12372
+ query: OpenApiUtil.query(query),
12036
12373
  body: OpenApiUtil.parseToMap(body),
12037
12374
  });
12038
12375
  let params = new $OpenApiUtil.Params({
12039
- action: "ListApsLifecycleStrategy",
12376
+ action: "KillSparkApp",
12040
12377
  version: "2021-12-01",
12041
12378
  protocol: "HTTPS",
12042
12379
  pathname: "/",
@@ -12046,46 +12383,49 @@ export default class Client extends OpenApi {
12046
12383
  reqBodyType: "formData",
12047
12384
  bodyType: "json",
12048
12385
  });
12049
- return $dara.cast<$_model.ListApsLifecycleStrategyResponse>(await this.callApi(params, req, runtime), new $_model.ListApsLifecycleStrategyResponse({}));
12386
+ return $dara.cast<$_model.KillSparkAppResponse>(await this.callApi(params, req, runtime), new $_model.KillSparkAppResponse({}));
12050
12387
  }
12051
12388
 
12052
12389
  /**
12053
- * Queries a list of lifecycle management policies of an AnalyticDB for MySQL cluster.
12390
+ * Terminates a Spark application.
12391
+ *
12392
+ * @remarks
12393
+ * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12394
+ * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12395
+ * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
12054
12396
  *
12055
- * @param request - ListApsLifecycleStrategyRequest
12056
- * @returns ListApsLifecycleStrategyResponse
12397
+ * @param request - KillSparkAppRequest
12398
+ * @returns KillSparkAppResponse
12057
12399
  */
12058
- async listApsLifecycleStrategy(request: $_model.ListApsLifecycleStrategyRequest): Promise<$_model.ListApsLifecycleStrategyResponse> {
12400
+ async killSparkApp(request: $_model.KillSparkAppRequest): Promise<$_model.KillSparkAppResponse> {
12059
12401
  let runtime = new $dara.RuntimeOptions({ });
12060
- return await this.listApsLifecycleStrategyWithOptions(request, runtime);
12402
+ return await this.killSparkAppWithOptions(request, runtime);
12061
12403
  }
12062
12404
 
12063
12405
  /**
12064
- * Queries a list of lake storage optimization policies for an AnalyticDB for MySQL cluster.
12406
+ * Terminates a Spark log analysis task and queries the information about the analysis task.
12065
12407
  *
12066
12408
  * @remarks
12067
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12409
+ * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12410
+ * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12411
+ * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
12068
12412
  *
12069
- * @param request - ListApsOptimizationStrategyRequest
12413
+ * @param request - KillSparkLogAnalyzeTaskRequest
12070
12414
  * @param runtime - runtime options for this request RuntimeOptions
12071
- * @returns ListApsOptimizationStrategyResponse
12415
+ * @returns KillSparkLogAnalyzeTaskResponse
12072
12416
  */
12073
- async listApsOptimizationStrategyWithOptions(request: $_model.ListApsOptimizationStrategyRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApsOptimizationStrategyResponse> {
12417
+ async killSparkLogAnalyzeTaskWithOptions(request: $_model.KillSparkLogAnalyzeTaskRequest, runtime: $dara.RuntimeOptions): Promise<$_model.KillSparkLogAnalyzeTaskResponse> {
12074
12418
  request.validate();
12075
12419
  let body : {[key: string ]: any} = { };
12076
- if (!$dara.isNull(request.DBClusterId)) {
12077
- body["DBClusterId"] = request.DBClusterId;
12078
- }
12079
-
12080
- if (!$dara.isNull(request.regionId)) {
12081
- body["RegionId"] = request.regionId;
12420
+ if (!$dara.isNull(request.taskId)) {
12421
+ body["TaskId"] = request.taskId;
12082
12422
  }
12083
12423
 
12084
12424
  let req = new $OpenApiUtil.OpenApiRequest({
12085
12425
  body: OpenApiUtil.parseToMap(body),
12086
12426
  });
12087
12427
  let params = new $OpenApiUtil.Params({
12088
- action: "ListApsOptimizationStrategy",
12428
+ action: "KillSparkLogAnalyzeTask",
12089
12429
  version: "2021-12-01",
12090
12430
  protocol: "HTTPS",
12091
12431
  pathname: "/",
@@ -12095,66 +12435,55 @@ export default class Client extends OpenApi {
12095
12435
  reqBodyType: "formData",
12096
12436
  bodyType: "json",
12097
12437
  });
12098
- return $dara.cast<$_model.ListApsOptimizationStrategyResponse>(await this.callApi(params, req, runtime), new $_model.ListApsOptimizationStrategyResponse({}));
12438
+ return $dara.cast<$_model.KillSparkLogAnalyzeTaskResponse>(await this.callApi(params, req, runtime), new $_model.KillSparkLogAnalyzeTaskResponse({}));
12099
12439
  }
12100
12440
 
12101
12441
  /**
12102
- * Queries a list of lake storage optimization policies for an AnalyticDB for MySQL cluster.
12442
+ * Terminates a Spark log analysis task and queries the information about the analysis task.
12103
12443
  *
12104
12444
  * @remarks
12105
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12445
+ * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12446
+ * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12447
+ * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
12106
12448
  *
12107
- * @param request - ListApsOptimizationStrategyRequest
12108
- * @returns ListApsOptimizationStrategyResponse
12449
+ * @param request - KillSparkLogAnalyzeTaskRequest
12450
+ * @returns KillSparkLogAnalyzeTaskResponse
12109
12451
  */
12110
- async listApsOptimizationStrategy(request: $_model.ListApsOptimizationStrategyRequest): Promise<$_model.ListApsOptimizationStrategyResponse> {
12452
+ async killSparkLogAnalyzeTask(request: $_model.KillSparkLogAnalyzeTaskRequest): Promise<$_model.KillSparkLogAnalyzeTaskResponse> {
12111
12453
  let runtime = new $dara.RuntimeOptions({ });
12112
- return await this.listApsOptimizationStrategyWithOptions(request, runtime);
12454
+ return await this.killSparkLogAnalyzeTaskWithOptions(request, runtime);
12113
12455
  }
12114
12456
 
12115
12457
  /**
12116
- * Queries a list of optimization jobs executed based on a lifecycle management policy. The system runs optimization jobs on a regular basis based on lifecycle management policies.
12458
+ * Shuts down a Spark SQL engine.
12459
+ *
12460
+ * @remarks
12461
+ * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12462
+ * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12463
+ * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
12464
+ *
12465
+ * @deprecated OpenAPI KillSparkSQLEngine is deprecated
12117
12466
  *
12118
- * @param request - ListApsOptimizationTasksRequest
12467
+ * @param request - KillSparkSQLEngineRequest
12119
12468
  * @param runtime - runtime options for this request RuntimeOptions
12120
- * @returns ListApsOptimizationTasksResponse
12469
+ * @returns KillSparkSQLEngineResponse
12121
12470
  */
12122
- async listApsOptimizationTasksWithOptions(request: $_model.ListApsOptimizationTasksRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListApsOptimizationTasksResponse> {
12471
+ async killSparkSQLEngineWithOptions(request: $_model.KillSparkSQLEngineRequest, runtime: $dara.RuntimeOptions): Promise<$_model.KillSparkSQLEngineResponse> {
12123
12472
  request.validate();
12124
12473
  let body : {[key: string ]: any} = { };
12125
12474
  if (!$dara.isNull(request.DBClusterId)) {
12126
12475
  body["DBClusterId"] = request.DBClusterId;
12127
12476
  }
12128
12477
 
12129
- if (!$dara.isNull(request.endTime)) {
12130
- body["EndTime"] = request.endTime;
12131
- }
12132
-
12133
- if (!$dara.isNull(request.pageNumber)) {
12134
- body["PageNumber"] = request.pageNumber;
12135
- }
12136
-
12137
- if (!$dara.isNull(request.pageSize)) {
12138
- body["PageSize"] = request.pageSize;
12139
- }
12140
-
12141
- if (!$dara.isNull(request.regionId)) {
12142
- body["RegionId"] = request.regionId;
12143
- }
12144
-
12145
- if (!$dara.isNull(request.startTime)) {
12146
- body["StartTime"] = request.startTime;
12147
- }
12148
-
12149
- if (!$dara.isNull(request.strategyType)) {
12150
- body["StrategyType"] = request.strategyType;
12478
+ if (!$dara.isNull(request.resourceGroupName)) {
12479
+ body["ResourceGroupName"] = request.resourceGroupName;
12151
12480
  }
12152
12481
 
12153
12482
  let req = new $OpenApiUtil.OpenApiRequest({
12154
12483
  body: OpenApiUtil.parseToMap(body),
12155
12484
  });
12156
12485
  let params = new $OpenApiUtil.Params({
12157
- action: "ListApsOptimizationTasks",
12486
+ action: "KillSparkSQLEngine",
12158
12487
  version: "2021-12-01",
12159
12488
  protocol: "HTTPS",
12160
12489
  pathname: "/",
@@ -12164,26 +12493,34 @@ export default class Client extends OpenApi {
12164
12493
  reqBodyType: "formData",
12165
12494
  bodyType: "json",
12166
12495
  });
12167
- return $dara.cast<$_model.ListApsOptimizationTasksResponse>(await this.callApi(params, req, runtime), new $_model.ListApsOptimizationTasksResponse({}));
12496
+ return $dara.cast<$_model.KillSparkSQLEngineResponse>(await this.callApi(params, req, runtime), new $_model.KillSparkSQLEngineResponse({}));
12168
12497
  }
12169
12498
 
12170
12499
  /**
12171
- * Queries a list of optimization jobs executed based on a lifecycle management policy. The system runs optimization jobs on a regular basis based on lifecycle management policies.
12500
+ * Shuts down a Spark SQL engine.
12501
+ *
12502
+ * @remarks
12503
+ * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12504
+ * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12505
+ * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
12506
+ *
12507
+ * @deprecated OpenAPI KillSparkSQLEngine is deprecated
12172
12508
  *
12173
- * @param request - ListApsOptimizationTasksRequest
12174
- * @returns ListApsOptimizationTasksResponse
12509
+ * @param request - KillSparkSQLEngineRequest
12510
+ * @returns KillSparkSQLEngineResponse
12175
12511
  */
12176
- async listApsOptimizationTasks(request: $_model.ListApsOptimizationTasksRequest): Promise<$_model.ListApsOptimizationTasksResponse> {
12512
+ // Deprecated
12513
+ async killSparkSQLEngine(request: $_model.KillSparkSQLEngineRequest): Promise<$_model.KillSparkSQLEngineResponse> {
12177
12514
  let runtime = new $dara.RuntimeOptions({ });
12178
- return await this.listApsOptimizationTasksWithOptions(request, runtime);
12515
+ return await this.killSparkSQLEngineWithOptions(request, runtime);
12179
12516
  }
12180
12517
 
12181
12518
  /**
12182
- * Queries the Webhook configurations of a specified database cluster.
12519
+ * Queries the webhook configurations for a specified database cluster.
12183
12520
  *
12184
12521
  * @remarks
12185
- * This API allows you to obtain a list of configured webhooks based on `RegionId`, `DBClusterId`, and optional `JobType`. The `JobType` parameter specifies the task type, such as SLS/OSS export task. If the parameter is provided, webhooks related to the task type are returned. If the parameter is not provided, all types of webhooks are returned.
12186
- * Note: Make sure that the `RegionId` and `DBClusterId` you provided are correct. Otherwise, the webhook information may not be obtained correctly.
12522
+ * Queries the list of configured webhooks for a specified database cluster based on RegionId, DBClusterId, and the optional JobType parameter. The JobType parameter specifies the task type, such as SLS or OSS export tasks. If JobType is specified, only webhooks associated with the specified task type are returned. If JobType is not specified, webhooks of all types are returned.
12523
+ * Note: Ensure that the RegionId and DBClusterId values you provide are correct. Otherwise, the webhook information may not be retrieved.
12187
12524
  *
12188
12525
  * @param request - ListApsWebhookRequest
12189
12526
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12222,11 +12559,11 @@ export default class Client extends OpenApi {
12222
12559
  }
12223
12560
 
12224
12561
  /**
12225
- * Queries the Webhook configurations of a specified database cluster.
12562
+ * Queries the webhook configurations for a specified database cluster.
12226
12563
  *
12227
12564
  * @remarks
12228
- * This API allows you to obtain a list of configured webhooks based on `RegionId`, `DBClusterId`, and optional `JobType`. The `JobType` parameter specifies the task type, such as SLS/OSS export task. If the parameter is provided, webhooks related to the task type are returned. If the parameter is not provided, all types of webhooks are returned.
12229
- * Note: Make sure that the `RegionId` and `DBClusterId` you provided are correct. Otherwise, the webhook information may not be obtained correctly.
12565
+ * Queries the list of configured webhooks for a specified database cluster based on RegionId, DBClusterId, and the optional JobType parameter. The JobType parameter specifies the task type, such as SLS or OSS export tasks. If JobType is specified, only webhooks associated with the specified task type are returned. If JobType is not specified, webhooks of all types are returned.
12566
+ * Note: Ensure that the RegionId and DBClusterId values you provide are correct. Otherwise, the webhook information may not be retrieved.
12230
12567
  *
12231
12568
  * @param request - ListApsWebhookRequest
12232
12569
  * @returns ListApsWebhookResponse
@@ -12363,12 +12700,64 @@ export default class Client extends OpenApi {
12363
12700
  }
12364
12701
 
12365
12702
  /**
12366
- * Queries the information about retry attempts of a Spark application.
12703
+ * Query the list of semantic views
12367
12704
  *
12368
12705
  * @remarks
12369
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12370
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12371
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
12706
+ * For the endpoints of the service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12707
+ *
12708
+ * @param request - ListSemanticViewNamesRequest
12709
+ * @param runtime - runtime options for this request RuntimeOptions
12710
+ * @returns ListSemanticViewNamesResponse
12711
+ */
12712
+ async listSemanticViewNamesWithOptions(request: $_model.ListSemanticViewNamesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListSemanticViewNamesResponse> {
12713
+ request.validate();
12714
+ let query = { };
12715
+ if (!$dara.isNull(request.DBClusterId)) {
12716
+ query["DBClusterId"] = request.DBClusterId;
12717
+ }
12718
+
12719
+ if (!$dara.isNull(request.schemaName)) {
12720
+ query["SchemaName"] = request.schemaName;
12721
+ }
12722
+
12723
+ let req = new $OpenApiUtil.OpenApiRequest({
12724
+ query: OpenApiUtil.query(query),
12725
+ });
12726
+ let params = new $OpenApiUtil.Params({
12727
+ action: "ListSemanticViewNames",
12728
+ version: "2021-12-01",
12729
+ protocol: "HTTPS",
12730
+ pathname: "/",
12731
+ method: "POST",
12732
+ authType: "AK",
12733
+ style: "RPC",
12734
+ reqBodyType: "formData",
12735
+ bodyType: "json",
12736
+ });
12737
+ return $dara.cast<$_model.ListSemanticViewNamesResponse>(await this.callApi(params, req, runtime), new $_model.ListSemanticViewNamesResponse({}));
12738
+ }
12739
+
12740
+ /**
12741
+ * Query the list of semantic views
12742
+ *
12743
+ * @remarks
12744
+ * For the endpoints of the service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
12745
+ *
12746
+ * @param request - ListSemanticViewNamesRequest
12747
+ * @returns ListSemanticViewNamesResponse
12748
+ */
12749
+ async listSemanticViewNames(request: $_model.ListSemanticViewNamesRequest): Promise<$_model.ListSemanticViewNamesResponse> {
12750
+ let runtime = new $dara.RuntimeOptions({ });
12751
+ return await this.listSemanticViewNamesWithOptions(request, runtime);
12752
+ }
12753
+
12754
+ /**
12755
+ * Queries the retry information of a specified Spark application.
12756
+ *
12757
+ * @remarks
12758
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12759
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
12760
+ * > If you encounter a 409 fault when initiating a request from Hong Kong (China), submit a ticket or contact technical support.
12372
12761
  *
12373
12762
  * @param request - ListSparkAppAttemptsRequest
12374
12763
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12411,12 +12800,12 @@ export default class Client extends OpenApi {
12411
12800
  }
12412
12801
 
12413
12802
  /**
12414
- * Queries the information about retry attempts of a Spark application.
12803
+ * Queries the retry information of a specified Spark application.
12415
12804
  *
12416
12805
  * @remarks
12417
- * Regional public endpoint: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12418
- * * Regional Virtual Private Cloud (VPC) endpoint: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12419
- * > If HTTP status code 409 is returned when you call this operation in the China (Qingdao), China (Shenzhen), China (Guangzhou), or China (Hong Kong) region, contact technical support.
12806
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12807
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
12808
+ * > If you encounter a 409 fault when initiating a request from Hong Kong (China), submit a ticket or contact technical support.
12420
12809
  *
12421
12810
  * @param request - ListSparkAppAttemptsRequest
12422
12811
  * @returns ListSparkAppAttemptsResponse
@@ -12427,7 +12816,12 @@ export default class Client extends OpenApi {
12427
12816
  }
12428
12817
 
12429
12818
  /**
12430
- * Queries the Spark applications that run on an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
12819
+ * Queries the list of Spark applications.
12820
+ *
12821
+ * @remarks
12822
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12823
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
12824
+ * > If you encounter a 409 fault when initiating a request from Hong Kong (China), contact technical support.
12431
12825
  *
12432
12826
  * @param request - ListSparkAppsRequest
12433
12827
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12474,7 +12868,12 @@ export default class Client extends OpenApi {
12474
12868
  }
12475
12869
 
12476
12870
  /**
12477
- * Queries the Spark applications that run on an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
12871
+ * Queries the list of Spark applications.
12872
+ *
12873
+ * @remarks
12874
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12875
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
12876
+ * > If you encounter a 409 fault when initiating a request from Hong Kong (China), contact technical support.
12478
12877
  *
12479
12878
  * @param request - ListSparkAppsRequest
12480
12879
  * @returns ListSparkAppsResponse
@@ -12599,6 +12998,11 @@ export default class Client extends OpenApi {
12599
12998
  /**
12600
12999
  * Queries a list of Spark SQL statements.
12601
13000
  *
13001
+ * @remarks
13002
+ * - 地域的公网接入地址:`adb.<region-id>.aliyuncs.com`。示例:`adb.cn-hangzhou.aliyuncs.com`。
13003
+ * - 地域的VPC接入地址:`adb-vpc.<region-id>.aliyuncs.com`。示例:`adb-vpc.cn-hangzhou.aliyuncs.com`。
13004
+ * > 如果华北1(青岛)、华南1(深圳)、华南3(广州)、中国香港发起请求时,遇到409错误,请联系技术支持。
13005
+ *
12602
13006
  * @param request - ListSparkWarehouseBatchSQLRequest
12603
13007
  * @param runtime - runtime options for this request RuntimeOptions
12604
13008
  * @returns ListSparkWarehouseBatchSQLResponse
@@ -12642,6 +13046,11 @@ export default class Client extends OpenApi {
12642
13046
  /**
12643
13047
  * Queries a list of Spark SQL statements.
12644
13048
  *
13049
+ * @remarks
13050
+ * - 地域的公网接入地址:`adb.<region-id>.aliyuncs.com`。示例:`adb.cn-hangzhou.aliyuncs.com`。
13051
+ * - 地域的VPC接入地址:`adb-vpc.<region-id>.aliyuncs.com`。示例:`adb-vpc.cn-hangzhou.aliyuncs.com`。
13052
+ * > 如果华北1(青岛)、华南1(深圳)、华南3(广州)、中国香港发起请求时,遇到409错误,请联系技术支持。
13053
+ *
12645
13054
  * @param request - ListSparkWarehouseBatchSQLRequest
12646
13055
  * @returns ListSparkWarehouseBatchSQLResponse
12647
13056
  */
@@ -13301,7 +13710,7 @@ export default class Client extends OpenApi {
13301
13710
  }
13302
13711
 
13303
13712
  /**
13304
- * 修改自动续费配置
13713
+ * Configures auto-renewal for a subscription cluster.
13305
13714
  *
13306
13715
  * @param request - ModifyAutoRenewalAttributeRequest
13307
13716
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13364,7 +13773,7 @@ export default class Client extends OpenApi {
13364
13773
  }
13365
13774
 
13366
13775
  /**
13367
- * 修改自动续费配置
13776
+ * Configures auto-renewal for a subscription cluster.
13368
13777
  *
13369
13778
  * @param request - ModifyAutoRenewalAttributeRequest
13370
13779
  * @returns ModifyAutoRenewalAttributeResponse
@@ -13501,115 +13910,55 @@ export default class Client extends OpenApi {
13501
13910
  return $dara.cast<$_model.ModifyClickhouseEngineResponse>(await this.callApi(params, req, runtime), new $_model.ModifyClickhouseEngineResponse({}));
13502
13911
  }
13503
13912
 
13504
- /**
13505
- * Enables the wide table engine feature for an AnalyticDB for MySQL cluster or modifies the disk cache size of the wide table engine of an AnalyticDB for MySQL cluster for which you enabled the wide table engine feature.
13506
- *
13507
- * @param request - ModifyClickhouseEngineRequest
13508
- * @returns ModifyClickhouseEngineResponse
13509
- */
13510
- async modifyClickhouseEngine(request: $_model.ModifyClickhouseEngineRequest): Promise<$_model.ModifyClickhouseEngineResponse> {
13511
- let runtime = new $dara.RuntimeOptions({ });
13512
- return await this.modifyClickhouseEngineWithOptions(request, runtime);
13513
- }
13514
-
13515
- /**
13516
- * Modifies the IP address whitelist of an AnalyticDB for MySQL cluster.
13517
- *
13518
- * @remarks
13519
- * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
13520
- *
13521
- * @param request - ModifyClusterAccessWhiteListRequest
13522
- * @param runtime - runtime options for this request RuntimeOptions
13523
- * @returns ModifyClusterAccessWhiteListResponse
13524
- */
13525
- async modifyClusterAccessWhiteListWithOptions(request: $_model.ModifyClusterAccessWhiteListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterAccessWhiteListResponse> {
13526
- request.validate();
13527
- let query = { };
13528
- if (!$dara.isNull(request.DBClusterIPArrayAttribute)) {
13529
- query["DBClusterIPArrayAttribute"] = request.DBClusterIPArrayAttribute;
13530
- }
13531
-
13532
- if (!$dara.isNull(request.DBClusterIPArrayName)) {
13533
- query["DBClusterIPArrayName"] = request.DBClusterIPArrayName;
13534
- }
13535
-
13536
- if (!$dara.isNull(request.DBClusterId)) {
13537
- query["DBClusterId"] = request.DBClusterId;
13538
- }
13539
-
13540
- if (!$dara.isNull(request.modifyMode)) {
13541
- query["ModifyMode"] = request.modifyMode;
13542
- }
13543
-
13544
- if (!$dara.isNull(request.securityIps)) {
13545
- query["SecurityIps"] = request.securityIps;
13546
- }
13547
-
13548
- let req = new $OpenApiUtil.OpenApiRequest({
13549
- query: OpenApiUtil.query(query),
13550
- });
13551
- let params = new $OpenApiUtil.Params({
13552
- action: "ModifyClusterAccessWhiteList",
13553
- version: "2021-12-01",
13554
- protocol: "HTTPS",
13555
- pathname: "/",
13556
- method: "POST",
13557
- authType: "AK",
13558
- style: "RPC",
13559
- reqBodyType: "formData",
13560
- bodyType: "json",
13561
- });
13562
- return $dara.cast<$_model.ModifyClusterAccessWhiteListResponse>(await this.callApi(params, req, runtime), new $_model.ModifyClusterAccessWhiteListResponse({}));
13563
- }
13564
-
13565
- /**
13566
- * Modifies the IP address whitelist of an AnalyticDB for MySQL cluster.
13567
- *
13568
- * @remarks
13569
- * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
13913
+ /**
13914
+ * Enables the wide table engine feature for an AnalyticDB for MySQL cluster or modifies the disk cache size of the wide table engine of an AnalyticDB for MySQL cluster for which you enabled the wide table engine feature.
13570
13915
  *
13571
- * @param request - ModifyClusterAccessWhiteListRequest
13572
- * @returns ModifyClusterAccessWhiteListResponse
13916
+ * @param request - ModifyClickhouseEngineRequest
13917
+ * @returns ModifyClickhouseEngineResponse
13573
13918
  */
13574
- async modifyClusterAccessWhiteList(request: $_model.ModifyClusterAccessWhiteListRequest): Promise<$_model.ModifyClusterAccessWhiteListResponse> {
13919
+ async modifyClickhouseEngine(request: $_model.ModifyClickhouseEngineRequest): Promise<$_model.ModifyClickhouseEngineResponse> {
13575
13920
  let runtime = new $dara.RuntimeOptions({ });
13576
- return await this.modifyClusterAccessWhiteListWithOptions(request, runtime);
13921
+ return await this.modifyClickhouseEngineWithOptions(request, runtime);
13577
13922
  }
13578
13923
 
13579
13924
  /**
13580
- * Modifies the public endpoint of an AnalyticDB for MySQL cluster.
13925
+ * Modifies the IP address whitelist of an AnalyticDB for MySQL cluster.
13581
13926
  *
13582
13927
  * @remarks
13583
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
13928
+ * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
13584
13929
  *
13585
- * @param request - ModifyClusterConnectionStringRequest
13930
+ * @param request - ModifyClusterAccessWhiteListRequest
13586
13931
  * @param runtime - runtime options for this request RuntimeOptions
13587
- * @returns ModifyClusterConnectionStringResponse
13932
+ * @returns ModifyClusterAccessWhiteListResponse
13588
13933
  */
13589
- async modifyClusterConnectionStringWithOptions(request: $_model.ModifyClusterConnectionStringRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterConnectionStringResponse> {
13934
+ async modifyClusterAccessWhiteListWithOptions(request: $_model.ModifyClusterAccessWhiteListRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyClusterAccessWhiteListResponse> {
13590
13935
  request.validate();
13591
13936
  let query = { };
13592
- if (!$dara.isNull(request.connectionStringPrefix)) {
13593
- query["ConnectionStringPrefix"] = request.connectionStringPrefix;
13937
+ if (!$dara.isNull(request.DBClusterIPArrayAttribute)) {
13938
+ query["DBClusterIPArrayAttribute"] = request.DBClusterIPArrayAttribute;
13594
13939
  }
13595
13940
 
13596
- if (!$dara.isNull(request.currentConnectionString)) {
13597
- query["CurrentConnectionString"] = request.currentConnectionString;
13941
+ if (!$dara.isNull(request.DBClusterIPArrayName)) {
13942
+ query["DBClusterIPArrayName"] = request.DBClusterIPArrayName;
13598
13943
  }
13599
13944
 
13600
13945
  if (!$dara.isNull(request.DBClusterId)) {
13601
13946
  query["DBClusterId"] = request.DBClusterId;
13602
13947
  }
13603
13948
 
13604
- if (!$dara.isNull(request.port)) {
13605
- query["Port"] = request.port;
13949
+ if (!$dara.isNull(request.modifyMode)) {
13950
+ query["ModifyMode"] = request.modifyMode;
13951
+ }
13952
+
13953
+ if (!$dara.isNull(request.securityIps)) {
13954
+ query["SecurityIps"] = request.securityIps;
13606
13955
  }
13607
13956
 
13608
13957
  let req = new $OpenApiUtil.OpenApiRequest({
13609
13958
  query: OpenApiUtil.query(query),
13610
13959
  });
13611
13960
  let params = new $OpenApiUtil.Params({
13612
- action: "ModifyClusterConnectionString",
13961
+ action: "ModifyClusterAccessWhiteList",
13613
13962
  version: "2021-12-01",
13614
13963
  protocol: "HTTPS",
13615
13964
  pathname: "/",
@@ -13619,21 +13968,21 @@ export default class Client extends OpenApi {
13619
13968
  reqBodyType: "formData",
13620
13969
  bodyType: "json",
13621
13970
  });
13622
- return $dara.cast<$_model.ModifyClusterConnectionStringResponse>(await this.callApi(params, req, runtime), new $_model.ModifyClusterConnectionStringResponse({}));
13971
+ return $dara.cast<$_model.ModifyClusterAccessWhiteListResponse>(await this.callApi(params, req, runtime), new $_model.ModifyClusterAccessWhiteListResponse({}));
13623
13972
  }
13624
13973
 
13625
13974
  /**
13626
- * Modifies the public endpoint of an AnalyticDB for MySQL cluster.
13975
+ * Modifies the IP address whitelist of an AnalyticDB for MySQL cluster.
13627
13976
  *
13628
13977
  * @remarks
13629
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
13978
+ * For information about the endpoints of AnalyticDB for MySQL, see Endpoints.
13630
13979
  *
13631
- * @param request - ModifyClusterConnectionStringRequest
13632
- * @returns ModifyClusterConnectionStringResponse
13980
+ * @param request - ModifyClusterAccessWhiteListRequest
13981
+ * @returns ModifyClusterAccessWhiteListResponse
13633
13982
  */
13634
- async modifyClusterConnectionString(request: $_model.ModifyClusterConnectionStringRequest): Promise<$_model.ModifyClusterConnectionStringResponse> {
13983
+ async modifyClusterAccessWhiteList(request: $_model.ModifyClusterAccessWhiteListRequest): Promise<$_model.ModifyClusterAccessWhiteListResponse> {
13635
13984
  let runtime = new $dara.RuntimeOptions({ });
13636
- return await this.modifyClusterConnectionStringWithOptions(request, runtime);
13985
+ return await this.modifyClusterAccessWhiteListWithOptions(request, runtime);
13637
13986
  }
13638
13987
 
13639
13988
  /**
@@ -13683,16 +14032,16 @@ export default class Client extends OpenApi {
13683
14032
  }
13684
14033
 
13685
14034
  /**
13686
- * Changes the configurations of an AnalyticDB for MySQL Data Lakehouse Edition cluster.
14035
+ * Scales up or scales down a Data Lakehouse Edition cluster.
13687
14036
  *
13688
14037
  * @remarks
13689
- * ### [](#)
13690
- * * During a scaling event, you are not allowed to execute the `SUBMIT JOB` statement to submit asynchronous jobs. If your business requires asynchronous jobs, perform scaling during appropriate periods.
13691
- * * When you scale a cluster, data in the cluster is migrated for redistribution. The amount of time that is required to migrate data is proportional to the data volume. During a scaling event, the services provided by the cluster are not interrupted. When you downgrade cluster specifications, data migration may require up to dozens of hours to complete. Proceed with caution especially if your cluster contains a large amount of data.
13692
- * * If the cluster has a built-in dataset loaded, make sure that the cluster has reserved storage resources of at least 24 AnalyticDB compute units (ACUs). Otherwise, the built-in dataset cannot be used.
13693
- * * When the scaling process is about to end, transient connections may occur. We recommend that you scale your cluster during off-peak hours or make sure that your application is configured to automatically reconnect to your cluster.
13694
- * * You can change an AnalyticDB for MySQL cluster from Data Warehouse Edition to Data Lakehouse Edition, but not the other way around. For more information, see Change a cluster from Data Warehouse Edition to Data Lakehouse Edition.
13695
- * * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14038
+ * ### Before you begin
14039
+ * - During scaling, `submit job` for submitting asynchronous tasks is disabled. If your business depends on this feature, schedule the scaling operation during an appropriate time window.
14040
+ * - Scaling operations redistribute and migrate data. The migration duration is proportional to the data volume, and the service is not interrupted during scaling. When you scale down a cluster from a large specification to a small specification, data migration typically takes several hours or even tens of hours. Exercise caution when you scale down a cluster with a large data volume.
14041
+ * - If the cluster has loaded a built-in dataset, make sure that the cluster has at least 24 ACUs of storage reserved resources during scale-down. Otherwise, the built-in dataset cannot be used.
14042
+ * - Transient connections may occur near the end of scaling. Scale during off-peak hours, or make sure that your application has an automatic reconnection mechanism.
14043
+ * - You cannot perform an Upgrade/Downgrade from Data Lakehouse Edition to Data Warehouse Edition. You can perform an Upgrade/Downgrade from Data Warehouse Edition to Data Lakehouse Edition. For details, refer to the documentation about changing Data Warehouse Edition to Data Lakehouse Edition.
14044
+ * - For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
13696
14045
  *
13697
14046
  * @param request - ModifyDBClusterRequest
13698
14047
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13701,6 +14050,14 @@ export default class Client extends OpenApi {
13701
14050
  async modifyDBClusterWithOptions(request: $_model.ModifyDBClusterRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ModifyDBClusterResponse> {
13702
14051
  request.validate();
13703
14052
  let query = { };
14053
+ if (!$dara.isNull(request.AINodeNumber)) {
14054
+ query["AINodeNumber"] = request.AINodeNumber;
14055
+ }
14056
+
14057
+ if (!$dara.isNull(request.AINodeSpec)) {
14058
+ query["AINodeSpec"] = request.AINodeSpec;
14059
+ }
14060
+
13704
14061
  if (!$dara.isNull(request.computeResource)) {
13705
14062
  query["ComputeResource"] = request.computeResource;
13706
14063
  }
@@ -13751,16 +14108,16 @@ export default class Client extends OpenApi {
13751
14108
  }
13752
14109
 
13753
14110
  /**
13754
- * Changes the configurations of an AnalyticDB for MySQL Data Lakehouse Edition cluster.
14111
+ * Scales up or scales down a Data Lakehouse Edition cluster.
13755
14112
  *
13756
14113
  * @remarks
13757
- * ### [](#)
13758
- * * During a scaling event, you are not allowed to execute the `SUBMIT JOB` statement to submit asynchronous jobs. If your business requires asynchronous jobs, perform scaling during appropriate periods.
13759
- * * When you scale a cluster, data in the cluster is migrated for redistribution. The amount of time that is required to migrate data is proportional to the data volume. During a scaling event, the services provided by the cluster are not interrupted. When you downgrade cluster specifications, data migration may require up to dozens of hours to complete. Proceed with caution especially if your cluster contains a large amount of data.
13760
- * * If the cluster has a built-in dataset loaded, make sure that the cluster has reserved storage resources of at least 24 AnalyticDB compute units (ACUs). Otherwise, the built-in dataset cannot be used.
13761
- * * When the scaling process is about to end, transient connections may occur. We recommend that you scale your cluster during off-peak hours or make sure that your application is configured to automatically reconnect to your cluster.
13762
- * * You can change an AnalyticDB for MySQL cluster from Data Warehouse Edition to Data Lakehouse Edition, but not the other way around. For more information, see Change a cluster from Data Warehouse Edition to Data Lakehouse Edition.
13763
- * * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14114
+ * ### Before you begin
14115
+ * - During scaling, `submit job` for submitting asynchronous tasks is disabled. If your business depends on this feature, schedule the scaling operation during an appropriate time window.
14116
+ * - Scaling operations redistribute and migrate data. The migration duration is proportional to the data volume, and the service is not interrupted during scaling. When you scale down a cluster from a large specification to a small specification, data migration typically takes several hours or even tens of hours. Exercise caution when you scale down a cluster with a large data volume.
14117
+ * - If the cluster has loaded a built-in dataset, make sure that the cluster has at least 24 ACUs of storage reserved resources during scale-down. Otherwise, the built-in dataset cannot be used.
14118
+ * - Transient connections may occur near the end of scaling. Scale during off-peak hours, or make sure that your application has an automatic reconnection mechanism.
14119
+ * - You cannot perform an Upgrade/Downgrade from Data Lakehouse Edition to Data Warehouse Edition. You can perform an Upgrade/Downgrade from Data Warehouse Edition to Data Lakehouse Edition. For details, refer to the documentation about changing Data Warehouse Edition to Data Lakehouse Edition.
14120
+ * - For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
13764
14121
  *
13765
14122
  * @param request - ModifyDBClusterRequest
13766
14123
  * @returns ModifyDBClusterResponse
@@ -14045,10 +14402,10 @@ export default class Client extends OpenApi {
14045
14402
  }
14046
14403
 
14047
14404
  /**
14048
- * Modifies the amount of reserved computing resources for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
14405
+ * Changes the resource group of a cluster.
14049
14406
  *
14050
14407
  * @remarks
14051
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14408
+ * For service endpoints, see [endpoints](https://help.aliyun.com/document_detail/612373.html).
14052
14409
  *
14053
14410
  * @param tmpReq - ModifyDBResourceGroupRequest
14054
14411
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14058,6 +14415,10 @@ export default class Client extends OpenApi {
14058
14415
  tmpReq.validate();
14059
14416
  let request = new $_model.ModifyDBResourceGroupShrinkRequest({ });
14060
14417
  OpenApiUtil.convert(tmpReq, request);
14418
+ if (!$dara.isNull(tmpReq.atmConfig)) {
14419
+ request.atmConfigShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.atmConfig, "AtmConfig", "json");
14420
+ }
14421
+
14061
14422
  if (!$dara.isNull(tmpReq.engineParams)) {
14062
14423
  request.engineParamsShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.engineParams, "EngineParams", "json");
14063
14424
  }
@@ -14075,6 +14436,10 @@ export default class Client extends OpenApi {
14075
14436
  }
14076
14437
 
14077
14438
  let query = { };
14439
+ if (!$dara.isNull(request.atmConfigShrink)) {
14440
+ query["AtmConfig"] = request.atmConfigShrink;
14441
+ }
14442
+
14078
14443
  if (!$dara.isNull(request.autoStopInterval)) {
14079
14444
  query["AutoStopInterval"] = request.autoStopInterval;
14080
14445
  }
@@ -14177,10 +14542,10 @@ export default class Client extends OpenApi {
14177
14542
  }
14178
14543
 
14179
14544
  /**
14180
- * Modifies the amount of reserved computing resources for an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
14545
+ * Changes the resource group of a cluster.
14181
14546
  *
14182
14547
  * @remarks
14183
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14548
+ * For service endpoints, see [endpoints](https://help.aliyun.com/document_detail/612373.html).
14184
14549
  *
14185
14550
  * @param request - ModifyDBResourceGroupRequest
14186
14551
  * @returns ModifyDBResourceGroupResponse
@@ -14449,7 +14814,7 @@ export default class Client extends OpenApi {
14449
14814
  }
14450
14815
 
14451
14816
  /**
14452
- * Modifies a materialized view recommendation task.
14817
+ * Modifies an automatic materialized view recommendation task.
14453
14818
  *
14454
14819
  * @param request - ModifyMaterializedViewRecommendRequest
14455
14820
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14536,7 +14901,7 @@ export default class Client extends OpenApi {
14536
14901
  }
14537
14902
 
14538
14903
  /**
14539
- * Modifies a materialized view recommendation task.
14904
+ * Modifies an automatic materialized view recommendation task.
14540
14905
  *
14541
14906
  * @param request - ModifyMaterializedViewRecommendRequest
14542
14907
  * @returns ModifyMaterializedViewRecommendResponse
@@ -14809,10 +15174,164 @@ export default class Client extends OpenApi {
14809
15174
  }
14810
15175
 
14811
15176
  /**
14812
- * Releases the public endpoint of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
15177
+ * Queries the list of metadata discovery task instances.
15178
+ *
15179
+ * @param request - QueryFormationInstsByTaskIDRequest
15180
+ * @param runtime - runtime options for this request RuntimeOptions
15181
+ * @returns QueryFormationInstsByTaskIDResponse
15182
+ */
15183
+ async queryFormationInstsByTaskIDWithOptions(request: $_model.QueryFormationInstsByTaskIDRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryFormationInstsByTaskIDResponse> {
15184
+ request.validate();
15185
+ let body : {[key: string ]: any} = { };
15186
+ if (!$dara.isNull(request.DBClusterId)) {
15187
+ body["DBClusterId"] = request.DBClusterId;
15188
+ }
15189
+
15190
+ if (!$dara.isNull(request.regionId)) {
15191
+ body["RegionId"] = request.regionId;
15192
+ }
15193
+
15194
+ if (!$dara.isNull(request.taskId)) {
15195
+ body["TaskId"] = request.taskId;
15196
+ }
15197
+
15198
+ let req = new $OpenApiUtil.OpenApiRequest({
15199
+ body: OpenApiUtil.parseToMap(body),
15200
+ });
15201
+ let params = new $OpenApiUtil.Params({
15202
+ action: "QueryFormationInstsByTaskID",
15203
+ version: "2021-12-01",
15204
+ protocol: "HTTPS",
15205
+ pathname: "/",
15206
+ method: "POST",
15207
+ authType: "AK",
15208
+ style: "RPC",
15209
+ reqBodyType: "formData",
15210
+ bodyType: "json",
15211
+ });
15212
+ return $dara.cast<$_model.QueryFormationInstsByTaskIDResponse>(await this.callApi(params, req, runtime), new $_model.QueryFormationInstsByTaskIDResponse({}));
15213
+ }
15214
+
15215
+ /**
15216
+ * Queries the list of metadata discovery task instances.
15217
+ *
15218
+ * @param request - QueryFormationInstsByTaskIDRequest
15219
+ * @returns QueryFormationInstsByTaskIDResponse
15220
+ */
15221
+ async queryFormationInstsByTaskID(request: $_model.QueryFormationInstsByTaskIDRequest): Promise<$_model.QueryFormationInstsByTaskIDResponse> {
15222
+ let runtime = new $dara.RuntimeOptions({ });
15223
+ return await this.queryFormationInstsByTaskIDWithOptions(request, runtime);
15224
+ }
15225
+
15226
+ /**
15227
+ * Queries a metadata discovery task by ID.
15228
+ *
15229
+ * @param request - QueryFormationTaskByIDRequest
15230
+ * @param runtime - runtime options for this request RuntimeOptions
15231
+ * @returns QueryFormationTaskByIDResponse
15232
+ */
15233
+ async queryFormationTaskByIDWithOptions(request: $_model.QueryFormationTaskByIDRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryFormationTaskByIDResponse> {
15234
+ request.validate();
15235
+ let body : {[key: string ]: any} = { };
15236
+ if (!$dara.isNull(request.DBClusterId)) {
15237
+ body["DBClusterId"] = request.DBClusterId;
15238
+ }
15239
+
15240
+ if (!$dara.isNull(request.regionId)) {
15241
+ body["RegionId"] = request.regionId;
15242
+ }
15243
+
15244
+ if (!$dara.isNull(request.taskId)) {
15245
+ body["TaskId"] = request.taskId;
15246
+ }
15247
+
15248
+ if (!$dara.isNull(request.taskType)) {
15249
+ body["TaskType"] = request.taskType;
15250
+ }
15251
+
15252
+ let req = new $OpenApiUtil.OpenApiRequest({
15253
+ body: OpenApiUtil.parseToMap(body),
15254
+ });
15255
+ let params = new $OpenApiUtil.Params({
15256
+ action: "QueryFormationTaskByID",
15257
+ version: "2021-12-01",
15258
+ protocol: "HTTPS",
15259
+ pathname: "/",
15260
+ method: "POST",
15261
+ authType: "AK",
15262
+ style: "RPC",
15263
+ reqBodyType: "formData",
15264
+ bodyType: "json",
15265
+ });
15266
+ return $dara.cast<$_model.QueryFormationTaskByIDResponse>(await this.callApi(params, req, runtime), new $_model.QueryFormationTaskByIDResponse({}));
15267
+ }
15268
+
15269
+ /**
15270
+ * Queries a metadata discovery task by ID.
15271
+ *
15272
+ * @param request - QueryFormationTaskByIDRequest
15273
+ * @returns QueryFormationTaskByIDResponse
15274
+ */
15275
+ async queryFormationTaskByID(request: $_model.QueryFormationTaskByIDRequest): Promise<$_model.QueryFormationTaskByIDResponse> {
15276
+ let runtime = new $dara.RuntimeOptions({ });
15277
+ return await this.queryFormationTaskByIDWithOptions(request, runtime);
15278
+ }
15279
+
15280
+ /**
15281
+ * Queries metadata discovery tasks by task type.
15282
+ *
15283
+ * @param request - QueryFormationTasksByTypeRequest
15284
+ * @param runtime - runtime options for this request RuntimeOptions
15285
+ * @returns QueryFormationTasksByTypeResponse
15286
+ */
15287
+ async queryFormationTasksByTypeWithOptions(request: $_model.QueryFormationTasksByTypeRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryFormationTasksByTypeResponse> {
15288
+ request.validate();
15289
+ let body : {[key: string ]: any} = { };
15290
+ if (!$dara.isNull(request.DBClusterId)) {
15291
+ body["DBClusterId"] = request.DBClusterId;
15292
+ }
15293
+
15294
+ if (!$dara.isNull(request.regionId)) {
15295
+ body["RegionId"] = request.regionId;
15296
+ }
15297
+
15298
+ if (!$dara.isNull(request.taskType)) {
15299
+ body["TaskType"] = request.taskType;
15300
+ }
15301
+
15302
+ let req = new $OpenApiUtil.OpenApiRequest({
15303
+ body: OpenApiUtil.parseToMap(body),
15304
+ });
15305
+ let params = new $OpenApiUtil.Params({
15306
+ action: "QueryFormationTasksByType",
15307
+ version: "2021-12-01",
15308
+ protocol: "HTTPS",
15309
+ pathname: "/",
15310
+ method: "POST",
15311
+ authType: "AK",
15312
+ style: "RPC",
15313
+ reqBodyType: "formData",
15314
+ bodyType: "json",
15315
+ });
15316
+ return $dara.cast<$_model.QueryFormationTasksByTypeResponse>(await this.callApi(params, req, runtime), new $_model.QueryFormationTasksByTypeResponse({}));
15317
+ }
15318
+
15319
+ /**
15320
+ * Queries metadata discovery tasks by task type.
15321
+ *
15322
+ * @param request - QueryFormationTasksByTypeRequest
15323
+ * @returns QueryFormationTasksByTypeResponse
15324
+ */
15325
+ async queryFormationTasksByType(request: $_model.QueryFormationTasksByTypeRequest): Promise<$_model.QueryFormationTasksByTypeResponse> {
15326
+ let runtime = new $dara.RuntimeOptions({ });
15327
+ return await this.queryFormationTasksByTypeWithOptions(request, runtime);
15328
+ }
15329
+
15330
+ /**
15331
+ * Releases the public endpoint of a specified cluster.
14813
15332
  *
14814
15333
  * @remarks
14815
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
15334
+ * For the endpoints of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14816
15335
  *
14817
15336
  * @param request - ReleaseClusterPublicConnectionRequest
14818
15337
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14829,6 +15348,10 @@ export default class Client extends OpenApi {
14829
15348
  query["Engine"] = request.engine;
14830
15349
  }
14831
15350
 
15351
+ if (!$dara.isNull(request.resourceGroupName)) {
15352
+ query["ResourceGroupName"] = request.resourceGroupName;
15353
+ }
15354
+
14832
15355
  let req = new $OpenApiUtil.OpenApiRequest({
14833
15356
  query: OpenApiUtil.query(query),
14834
15357
  });
@@ -14847,10 +15370,10 @@ export default class Client extends OpenApi {
14847
15370
  }
14848
15371
 
14849
15372
  /**
14850
- * Releases the public endpoint of an AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
15373
+ * Releases the public endpoint of a specified cluster.
14851
15374
  *
14852
15375
  * @remarks
14853
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
15376
+ * For the endpoints of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14854
15377
  *
14855
15378
  * @param request - ReleaseClusterPublicConnectionRequest
14856
15379
  * @returns ReleaseClusterPublicConnectionResponse
@@ -14860,6 +15383,118 @@ export default class Client extends OpenApi {
14860
15383
  return await this.releaseClusterPublicConnectionWithOptions(request, runtime);
14861
15384
  }
14862
15385
 
15386
+ /**
15387
+ * Modifies the name of a semantic view.
15388
+ *
15389
+ * @param request - RenameSemanticViewRequest
15390
+ * @param runtime - runtime options for this request RuntimeOptions
15391
+ * @returns RenameSemanticViewResponse
15392
+ */
15393
+ async renameSemanticViewWithOptions(request: $_model.RenameSemanticViewRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RenameSemanticViewResponse> {
15394
+ request.validate();
15395
+ let query = { };
15396
+ if (!$dara.isNull(request.DBClusterId)) {
15397
+ query["DBClusterId"] = request.DBClusterId;
15398
+ }
15399
+
15400
+ if (!$dara.isNull(request.newSchemaName)) {
15401
+ query["NewSchemaName"] = request.newSchemaName;
15402
+ }
15403
+
15404
+ if (!$dara.isNull(request.newViewName)) {
15405
+ query["NewViewName"] = request.newViewName;
15406
+ }
15407
+
15408
+ if (!$dara.isNull(request.oldSchemaName)) {
15409
+ query["OldSchemaName"] = request.oldSchemaName;
15410
+ }
15411
+
15412
+ if (!$dara.isNull(request.oldViewName)) {
15413
+ query["OldViewName"] = request.oldViewName;
15414
+ }
15415
+
15416
+ let req = new $OpenApiUtil.OpenApiRequest({
15417
+ query: OpenApiUtil.query(query),
15418
+ });
15419
+ let params = new $OpenApiUtil.Params({
15420
+ action: "RenameSemanticView",
15421
+ version: "2021-12-01",
15422
+ protocol: "HTTPS",
15423
+ pathname: "/",
15424
+ method: "POST",
15425
+ authType: "AK",
15426
+ style: "RPC",
15427
+ reqBodyType: "formData",
15428
+ bodyType: "json",
15429
+ });
15430
+ return $dara.cast<$_model.RenameSemanticViewResponse>(await this.callApi(params, req, runtime), new $_model.RenameSemanticViewResponse({}));
15431
+ }
15432
+
15433
+ /**
15434
+ * Modifies the name of a semantic view.
15435
+ *
15436
+ * @param request - RenameSemanticViewRequest
15437
+ * @returns RenameSemanticViewResponse
15438
+ */
15439
+ async renameSemanticView(request: $_model.RenameSemanticViewRequest): Promise<$_model.RenameSemanticViewResponse> {
15440
+ let runtime = new $dara.RuntimeOptions({ });
15441
+ return await this.renameSemanticViewWithOptions(request, runtime);
15442
+ }
15443
+
15444
+ /**
15445
+ * Updates the definition of a semantic view.
15446
+ *
15447
+ * @param request - ReplaceSemanticViewRequest
15448
+ * @param runtime - runtime options for this request RuntimeOptions
15449
+ * @returns ReplaceSemanticViewResponse
15450
+ */
15451
+ async replaceSemanticViewWithOptions(request: $_model.ReplaceSemanticViewRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReplaceSemanticViewResponse> {
15452
+ request.validate();
15453
+ let query = { };
15454
+ if (!$dara.isNull(request.DBClusterId)) {
15455
+ query["DBClusterId"] = request.DBClusterId;
15456
+ }
15457
+
15458
+ if (!$dara.isNull(request.definition)) {
15459
+ query["Definition"] = request.definition;
15460
+ }
15461
+
15462
+ if (!$dara.isNull(request.schemaName)) {
15463
+ query["SchemaName"] = request.schemaName;
15464
+ }
15465
+
15466
+ if (!$dara.isNull(request.viewName)) {
15467
+ query["ViewName"] = request.viewName;
15468
+ }
15469
+
15470
+ let req = new $OpenApiUtil.OpenApiRequest({
15471
+ query: OpenApiUtil.query(query),
15472
+ });
15473
+ let params = new $OpenApiUtil.Params({
15474
+ action: "ReplaceSemanticView",
15475
+ version: "2021-12-01",
15476
+ protocol: "HTTPS",
15477
+ pathname: "/",
15478
+ method: "POST",
15479
+ authType: "AK",
15480
+ style: "RPC",
15481
+ reqBodyType: "formData",
15482
+ bodyType: "json",
15483
+ });
15484
+ return $dara.cast<$_model.ReplaceSemanticViewResponse>(await this.callApi(params, req, runtime), new $_model.ReplaceSemanticViewResponse({}));
15485
+ }
15486
+
15487
+ /**
15488
+ * Updates the definition of a semantic view.
15489
+ *
15490
+ * @param request - ReplaceSemanticViewRequest
15491
+ * @returns ReplaceSemanticViewResponse
15492
+ */
15493
+ async replaceSemanticView(request: $_model.ReplaceSemanticViewRequest): Promise<$_model.ReplaceSemanticViewResponse> {
15494
+ let runtime = new $dara.RuntimeOptions({ });
15495
+ return await this.replaceSemanticViewWithOptions(request, runtime);
15496
+ }
15497
+
14863
15498
  /**
14864
15499
  * Resets the password of a database account for an AnalyticDB for MySQL cluster.
14865
15500
  *
@@ -14982,6 +15617,122 @@ export default class Client extends OpenApi {
14982
15617
  return await this.revokeOperatorPermissionWithOptions(request, runtime);
14983
15618
  }
14984
15619
 
15620
+ /**
15621
+ * Runs an automated recommendation task for Materialized Views.
15622
+ *
15623
+ * @param request - RunMaterializedViewRecommendRequest
15624
+ * @param runtime - runtime options for this request RuntimeOptions
15625
+ * @returns RunMaterializedViewRecommendResponse
15626
+ */
15627
+ async runMaterializedViewRecommendWithOptions(request: $_model.RunMaterializedViewRecommendRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RunMaterializedViewRecommendResponse> {
15628
+ request.validate();
15629
+ let query = { };
15630
+ if (!$dara.isNull(request.DBClusterId)) {
15631
+ query["DBClusterId"] = request.DBClusterId;
15632
+ }
15633
+
15634
+ if (!$dara.isNull(request.ownerAccount)) {
15635
+ query["OwnerAccount"] = request.ownerAccount;
15636
+ }
15637
+
15638
+ if (!$dara.isNull(request.ownerId)) {
15639
+ query["OwnerId"] = request.ownerId;
15640
+ }
15641
+
15642
+ if (!$dara.isNull(request.regionId)) {
15643
+ query["RegionId"] = request.regionId;
15644
+ }
15645
+
15646
+ if (!$dara.isNull(request.resourceOwnerAccount)) {
15647
+ query["ResourceOwnerAccount"] = request.resourceOwnerAccount;
15648
+ }
15649
+
15650
+ if (!$dara.isNull(request.resourceOwnerId)) {
15651
+ query["ResourceOwnerId"] = request.resourceOwnerId;
15652
+ }
15653
+
15654
+ if (!$dara.isNull(request.taskName)) {
15655
+ query["TaskName"] = request.taskName;
15656
+ }
15657
+
15658
+ let req = new $OpenApiUtil.OpenApiRequest({
15659
+ query: OpenApiUtil.query(query),
15660
+ });
15661
+ let params = new $OpenApiUtil.Params({
15662
+ action: "RunMaterializedViewRecommend",
15663
+ version: "2021-12-01",
15664
+ protocol: "HTTPS",
15665
+ pathname: "/",
15666
+ method: "POST",
15667
+ authType: "AK",
15668
+ style: "RPC",
15669
+ reqBodyType: "formData",
15670
+ bodyType: "json",
15671
+ });
15672
+ return $dara.cast<$_model.RunMaterializedViewRecommendResponse>(await this.callApi(params, req, runtime), new $_model.RunMaterializedViewRecommendResponse({}));
15673
+ }
15674
+
15675
+ /**
15676
+ * Runs an automated recommendation task for Materialized Views.
15677
+ *
15678
+ * @param request - RunMaterializedViewRecommendRequest
15679
+ * @returns RunMaterializedViewRecommendResponse
15680
+ */
15681
+ async runMaterializedViewRecommend(request: $_model.RunMaterializedViewRecommendRequest): Promise<$_model.RunMaterializedViewRecommendResponse> {
15682
+ let runtime = new $dara.RuntimeOptions({ });
15683
+ return await this.runMaterializedViewRecommendWithOptions(request, runtime);
15684
+ }
15685
+
15686
+ /**
15687
+ * Searches for semantic views.
15688
+ *
15689
+ * @param request - SearchSemanticViewsRequest
15690
+ * @param runtime - runtime options for this request RuntimeOptions
15691
+ * @returns SearchSemanticViewsResponse
15692
+ */
15693
+ async searchSemanticViewsWithOptions(request: $_model.SearchSemanticViewsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SearchSemanticViewsResponse> {
15694
+ request.validate();
15695
+ let query = { };
15696
+ if (!$dara.isNull(request.DBClusterId)) {
15697
+ query["DBClusterId"] = request.DBClusterId;
15698
+ }
15699
+
15700
+ if (!$dara.isNull(request.queryText)) {
15701
+ query["QueryText"] = request.queryText;
15702
+ }
15703
+
15704
+ if (!$dara.isNull(request.topK)) {
15705
+ query["TopK"] = request.topK;
15706
+ }
15707
+
15708
+ let req = new $OpenApiUtil.OpenApiRequest({
15709
+ query: OpenApiUtil.query(query),
15710
+ });
15711
+ let params = new $OpenApiUtil.Params({
15712
+ action: "SearchSemanticViews",
15713
+ version: "2021-12-01",
15714
+ protocol: "HTTPS",
15715
+ pathname: "/",
15716
+ method: "POST",
15717
+ authType: "AK",
15718
+ style: "RPC",
15719
+ reqBodyType: "formData",
15720
+ bodyType: "json",
15721
+ });
15722
+ return $dara.cast<$_model.SearchSemanticViewsResponse>(await this.callApi(params, req, runtime), new $_model.SearchSemanticViewsResponse({}));
15723
+ }
15724
+
15725
+ /**
15726
+ * Searches for semantic views.
15727
+ *
15728
+ * @param request - SearchSemanticViewsRequest
15729
+ * @returns SearchSemanticViewsResponse
15730
+ */
15731
+ async searchSemanticViews(request: $_model.SearchSemanticViewsRequest): Promise<$_model.SearchSemanticViewsResponse> {
15732
+ let runtime = new $dara.RuntimeOptions({ });
15733
+ return await this.searchSemanticViewsWithOptions(request, runtime);
15734
+ }
15735
+
14985
15736
  /**
14986
15737
  * Modifies the Spark log configuration.
14987
15738
  *
@@ -15088,6 +15839,68 @@ export default class Client extends OpenApi {
15088
15839
  return await this.startApsJobWithOptions(request, runtime);
15089
15840
  }
15090
15841
 
15842
+ /**
15843
+ * Manually triggers a metadata discovery task.
15844
+ *
15845
+ * @remarks
15846
+ * ### Operation description
15847
+ * When you use a cloud-native data repository AnalyticDB for MySQL cluster and require Alibaba Cloud technical support, if the helpdesk needs to perform operations on your cluster during the support procedure, authorize the service account of the AnalyticDB for MySQL cluster so that the helpdesk can provide technical support through the service account. After the authorization expires, the permissions of the service account are automatically revoked.
15848
+ *
15849
+ * @param request - StartFormationCrawlerRequest
15850
+ * @param runtime - runtime options for this request RuntimeOptions
15851
+ * @returns StartFormationCrawlerResponse
15852
+ */
15853
+ async startFormationCrawlerWithOptions(request: $_model.StartFormationCrawlerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StartFormationCrawlerResponse> {
15854
+ request.validate();
15855
+ let body : {[key: string ]: any} = { };
15856
+ if (!$dara.isNull(request.crawlerTaskId)) {
15857
+ body["CrawlerTaskId"] = request.crawlerTaskId;
15858
+ }
15859
+
15860
+ if (!$dara.isNull(request.crawlerTaskName)) {
15861
+ body["CrawlerTaskName"] = request.crawlerTaskName;
15862
+ }
15863
+
15864
+ if (!$dara.isNull(request.DBClusterId)) {
15865
+ body["DBClusterId"] = request.DBClusterId;
15866
+ }
15867
+
15868
+ if (!$dara.isNull(request.regionId)) {
15869
+ body["RegionId"] = request.regionId;
15870
+ }
15871
+
15872
+ let req = new $OpenApiUtil.OpenApiRequest({
15873
+ body: OpenApiUtil.parseToMap(body),
15874
+ });
15875
+ let params = new $OpenApiUtil.Params({
15876
+ action: "StartFormationCrawler",
15877
+ version: "2021-12-01",
15878
+ protocol: "HTTPS",
15879
+ pathname: "/",
15880
+ method: "POST",
15881
+ authType: "AK",
15882
+ style: "RPC",
15883
+ reqBodyType: "formData",
15884
+ bodyType: "json",
15885
+ });
15886
+ return $dara.cast<$_model.StartFormationCrawlerResponse>(await this.callApi(params, req, runtime), new $_model.StartFormationCrawlerResponse({}));
15887
+ }
15888
+
15889
+ /**
15890
+ * Manually triggers a metadata discovery task.
15891
+ *
15892
+ * @remarks
15893
+ * ### Operation description
15894
+ * When you use a cloud-native data repository AnalyticDB for MySQL cluster and require Alibaba Cloud technical support, if the helpdesk needs to perform operations on your cluster during the support procedure, authorize the service account of the AnalyticDB for MySQL cluster so that the helpdesk can provide technical support through the service account. After the authorization expires, the permissions of the service account are automatically revoked.
15895
+ *
15896
+ * @param request - StartFormationCrawlerRequest
15897
+ * @returns StartFormationCrawlerResponse
15898
+ */
15899
+ async startFormationCrawler(request: $_model.StartFormationCrawlerRequest): Promise<$_model.StartFormationCrawlerResponse> {
15900
+ let runtime = new $dara.RuntimeOptions({ });
15901
+ return await this.startFormationCrawlerWithOptions(request, runtime);
15902
+ }
15903
+
15091
15904
  /**
15092
15905
  * Starts a Spark session.
15093
15906
  *
@@ -15219,6 +16032,66 @@ export default class Client extends OpenApi {
15219
16032
  return await this.startSparkSQLEngineWithOptions(request, runtime);
15220
16033
  }
15221
16034
 
16035
+ /**
16036
+ * Stops a metadata discovery task that is currently running.
16037
+ *
16038
+ * @remarks
16039
+ * Stops only the currently running task without canceling subsequent cron-scheduled executions.
16040
+ *
16041
+ * @param request - StopFormationCrawlerRequest
16042
+ * @param runtime - runtime options for this request RuntimeOptions
16043
+ * @returns StopFormationCrawlerResponse
16044
+ */
16045
+ async stopFormationCrawlerWithOptions(request: $_model.StopFormationCrawlerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.StopFormationCrawlerResponse> {
16046
+ request.validate();
16047
+ let body : {[key: string ]: any} = { };
16048
+ if (!$dara.isNull(request.crawlerTaskId)) {
16049
+ body["CrawlerTaskId"] = request.crawlerTaskId;
16050
+ }
16051
+
16052
+ if (!$dara.isNull(request.crawlerTaskName)) {
16053
+ body["CrawlerTaskName"] = request.crawlerTaskName;
16054
+ }
16055
+
16056
+ if (!$dara.isNull(request.DBClusterId)) {
16057
+ body["DBClusterId"] = request.DBClusterId;
16058
+ }
16059
+
16060
+ if (!$dara.isNull(request.regionId)) {
16061
+ body["RegionId"] = request.regionId;
16062
+ }
16063
+
16064
+ let req = new $OpenApiUtil.OpenApiRequest({
16065
+ body: OpenApiUtil.parseToMap(body),
16066
+ });
16067
+ let params = new $OpenApiUtil.Params({
16068
+ action: "StopFormationCrawler",
16069
+ version: "2021-12-01",
16070
+ protocol: "HTTPS",
16071
+ pathname: "/",
16072
+ method: "POST",
16073
+ authType: "AK",
16074
+ style: "RPC",
16075
+ reqBodyType: "formData",
16076
+ bodyType: "json",
16077
+ });
16078
+ return $dara.cast<$_model.StopFormationCrawlerResponse>(await this.callApi(params, req, runtime), new $_model.StopFormationCrawlerResponse({}));
16079
+ }
16080
+
16081
+ /**
16082
+ * Stops a metadata discovery task that is currently running.
16083
+ *
16084
+ * @remarks
16085
+ * Stops only the currently running task without canceling subsequent cron-scheduled executions.
16086
+ *
16087
+ * @param request - StopFormationCrawlerRequest
16088
+ * @returns StopFormationCrawlerResponse
16089
+ */
16090
+ async stopFormationCrawler(request: $_model.StopFormationCrawlerRequest): Promise<$_model.StopFormationCrawlerResponse> {
16091
+ let runtime = new $dara.RuntimeOptions({ });
16092
+ return await this.stopFormationCrawlerWithOptions(request, runtime);
16093
+ }
16094
+
15222
16095
  /**
15223
16096
  * Submits an SQL query and exports a result set.
15224
16097
  *
@@ -15516,7 +16389,7 @@ export default class Client extends OpenApi {
15516
16389
  }
15517
16390
 
15518
16391
  /**
15519
- * Disassociates resource groups from database accounts for an AnalyticDB for MySQL cluster.
16392
+ * Disassociates a database account from a resource group of an AnalyticDB for MySQL cluster.
15520
16393
  *
15521
16394
  * @remarks
15522
16395
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
@@ -15558,7 +16431,7 @@ export default class Client extends OpenApi {
15558
16431
  }
15559
16432
 
15560
16433
  /**
15561
- * Disassociates resource groups from database accounts for an AnalyticDB for MySQL cluster.
16434
+ * Disassociates a database account from a resource group of an AnalyticDB for MySQL cluster.
15562
16435
  *
15563
16436
  * @remarks
15564
16437
  * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
@@ -15572,7 +16445,7 @@ export default class Client extends OpenApi {
15572
16445
  }
15573
16446
 
15574
16447
  /**
15575
- * Updates the webhook configuration of a specified cluster.
16448
+ * Updates the webhook configuration of a specified database cluster.
15576
16449
  *
15577
16450
  * @param tmpReq - UpdateApsWebhookRequest
15578
16451
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15617,7 +16490,7 @@ export default class Client extends OpenApi {
15617
16490
  }
15618
16491
 
15619
16492
  /**
15620
- * Updates the webhook configuration of a specified cluster.
16493
+ * Updates the webhook configuration of a specified database cluster.
15621
16494
  *
15622
16495
  * @param request - UpdateApsWebhookRequest
15623
16496
  * @returns UpdateApsWebhookResponse
@@ -15627,6 +16500,118 @@ export default class Client extends OpenApi {
15627
16500
  return await this.updateApsWebhookWithOptions(request, runtime);
15628
16501
  }
15629
16502
 
16503
+ /**
16504
+ * Updates the information of a metadata discovery task.
16505
+ *
16506
+ * @param request - UpdateFormationCrawlerRequest
16507
+ * @param runtime - runtime options for this request RuntimeOptions
16508
+ * @returns UpdateFormationCrawlerResponse
16509
+ */
16510
+ async updateFormationCrawlerWithOptions(request: $_model.UpdateFormationCrawlerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFormationCrawlerResponse> {
16511
+ request.validate();
16512
+ let body : {[key: string ]: any} = { };
16513
+ if (!$dara.isNull(request.crawlerInfo)) {
16514
+ body["CrawlerInfo"] = request.crawlerInfo;
16515
+ }
16516
+
16517
+ if (!$dara.isNull(request.crawlerTaskId)) {
16518
+ body["CrawlerTaskId"] = request.crawlerTaskId;
16519
+ }
16520
+
16521
+ if (!$dara.isNull(request.DBClusterId)) {
16522
+ body["DBClusterId"] = request.DBClusterId;
16523
+ }
16524
+
16525
+ if (!$dara.isNull(request.regionId)) {
16526
+ body["RegionId"] = request.regionId;
16527
+ }
16528
+
16529
+ let req = new $OpenApiUtil.OpenApiRequest({
16530
+ body: OpenApiUtil.parseToMap(body),
16531
+ });
16532
+ let params = new $OpenApiUtil.Params({
16533
+ action: "UpdateFormationCrawler",
16534
+ version: "2021-12-01",
16535
+ protocol: "HTTPS",
16536
+ pathname: "/",
16537
+ method: "POST",
16538
+ authType: "AK",
16539
+ style: "RPC",
16540
+ reqBodyType: "formData",
16541
+ bodyType: "json",
16542
+ });
16543
+ return $dara.cast<$_model.UpdateFormationCrawlerResponse>(await this.callApi(params, req, runtime), new $_model.UpdateFormationCrawlerResponse({}));
16544
+ }
16545
+
16546
+ /**
16547
+ * Updates the information of a metadata discovery task.
16548
+ *
16549
+ * @param request - UpdateFormationCrawlerRequest
16550
+ * @returns UpdateFormationCrawlerResponse
16551
+ */
16552
+ async updateFormationCrawler(request: $_model.UpdateFormationCrawlerRequest): Promise<$_model.UpdateFormationCrawlerResponse> {
16553
+ let runtime = new $dara.RuntimeOptions({ });
16554
+ return await this.updateFormationCrawlerWithOptions(request, runtime);
16555
+ }
16556
+
16557
+ /**
16558
+ * Pauses or resumes the periodic scheduling of metadata discovery.
16559
+ *
16560
+ * @param request - UpdateFormationCrawlerScheduleStateRequest
16561
+ * @param runtime - runtime options for this request RuntimeOptions
16562
+ * @returns UpdateFormationCrawlerScheduleStateResponse
16563
+ */
16564
+ async updateFormationCrawlerScheduleStateWithOptions(request: $_model.UpdateFormationCrawlerScheduleStateRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateFormationCrawlerScheduleStateResponse> {
16565
+ request.validate();
16566
+ let body : {[key: string ]: any} = { };
16567
+ if (!$dara.isNull(request.crawlerTaskId)) {
16568
+ body["CrawlerTaskId"] = request.crawlerTaskId;
16569
+ }
16570
+
16571
+ if (!$dara.isNull(request.crawlerTaskName)) {
16572
+ body["CrawlerTaskName"] = request.crawlerTaskName;
16573
+ }
16574
+
16575
+ if (!$dara.isNull(request.DBClusterId)) {
16576
+ body["DBClusterId"] = request.DBClusterId;
16577
+ }
16578
+
16579
+ if (!$dara.isNull(request.regionId)) {
16580
+ body["RegionId"] = request.regionId;
16581
+ }
16582
+
16583
+ if (!$dara.isNull(request.scheduleState)) {
16584
+ body["ScheduleState"] = request.scheduleState;
16585
+ }
16586
+
16587
+ let req = new $OpenApiUtil.OpenApiRequest({
16588
+ body: OpenApiUtil.parseToMap(body),
16589
+ });
16590
+ let params = new $OpenApiUtil.Params({
16591
+ action: "UpdateFormationCrawlerScheduleState",
16592
+ version: "2021-12-01",
16593
+ protocol: "HTTPS",
16594
+ pathname: "/",
16595
+ method: "POST",
16596
+ authType: "AK",
16597
+ style: "RPC",
16598
+ reqBodyType: "formData",
16599
+ bodyType: "json",
16600
+ });
16601
+ return $dara.cast<$_model.UpdateFormationCrawlerScheduleStateResponse>(await this.callApi(params, req, runtime), new $_model.UpdateFormationCrawlerScheduleStateResponse({}));
16602
+ }
16603
+
16604
+ /**
16605
+ * Pauses or resumes the periodic scheduling of metadata discovery.
16606
+ *
16607
+ * @param request - UpdateFormationCrawlerScheduleStateRequest
16608
+ * @returns UpdateFormationCrawlerScheduleStateResponse
16609
+ */
16610
+ async updateFormationCrawlerScheduleState(request: $_model.UpdateFormationCrawlerScheduleStateRequest): Promise<$_model.UpdateFormationCrawlerScheduleStateResponse> {
16611
+ let runtime = new $dara.RuntimeOptions({ });
16612
+ return await this.updateFormationCrawlerScheduleStateWithOptions(request, runtime);
16613
+ }
16614
+
15630
16615
  /**
15631
16616
  * Updates a lake storage.
15632
16617
  *