@alicloud/gpdb20160503 3.10.0 → 3.11.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 (287) hide show
  1. package/dist/client.d.ts +253 -140
  2. package/dist/client.js +411 -140
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAiserviceRequest.d.ts +16 -25
  5. package/dist/models/CreateAiserviceRequest.js.map +1 -1
  6. package/dist/models/CreateApiKeyRequest.d.ts +40 -0
  7. package/dist/models/CreateApiKeyRequest.js +69 -0
  8. package/dist/models/CreateApiKeyRequest.js.map +1 -0
  9. package/dist/models/CreateApiKeyResponse.d.ts +19 -0
  10. package/dist/models/CreateApiKeyResponse.js +69 -0
  11. package/dist/models/CreateApiKeyResponse.js.map +1 -0
  12. package/dist/models/CreateApiKeyResponseBody.d.ts +28 -0
  13. package/dist/models/CreateApiKeyResponseBody.js +62 -0
  14. package/dist/models/CreateApiKeyResponseBody.js.map +1 -0
  15. package/dist/models/CreateApiKeyShrinkRequest.d.ts +40 -0
  16. package/dist/models/CreateApiKeyShrinkRequest.js +66 -0
  17. package/dist/models/CreateApiKeyShrinkRequest.js.map +1 -0
  18. package/dist/models/CreateBranchRequest.d.ts +6 -6
  19. package/dist/models/CreateBranchResponseBody.d.ts +2 -2
  20. package/dist/models/CreateDocumentCollectionRequest.d.ts +94 -148
  21. package/dist/models/CreateDocumentCollectionRequest.js.map +1 -1
  22. package/dist/models/CreateDocumentCollectionResponseBody.d.ts +2 -4
  23. package/dist/models/CreateDocumentCollectionResponseBody.js.map +1 -1
  24. package/dist/models/CreateDocumentCollectionShrinkRequest.d.ts +81 -127
  25. package/dist/models/CreateDocumentCollectionShrinkRequest.js.map +1 -1
  26. package/dist/models/CreateIndexRequest.d.ts +13 -21
  27. package/dist/models/CreateIndexRequest.js.map +1 -1
  28. package/dist/models/CreateIndexResponseBody.d.ts +6 -7
  29. package/dist/models/CreateIndexResponseBody.js.map +1 -1
  30. package/dist/models/CreateModelOperatorApiKeyRequest.d.ts +2 -0
  31. package/dist/models/CreateModelOperatorApiKeyRequest.js.map +1 -1
  32. package/dist/models/CreateModelOperatorApiKeyResponseBody.d.ts +6 -0
  33. package/dist/models/CreateModelOperatorApiKeyResponseBody.js.map +1 -1
  34. package/dist/models/CreateModelServiceRequest.d.ts +9 -9
  35. package/dist/models/CreateModelServiceResponseBody.d.ts +1 -1
  36. package/dist/models/CreateModelServiceShrinkRequest.d.ts +9 -9
  37. package/dist/models/CreateSaasServiceRequest.d.ts +2 -2
  38. package/dist/models/CreateSnapshotResponseBody.d.ts +1 -1
  39. package/dist/models/CreateSupabaseProjectRequest.d.ts +8 -8
  40. package/dist/models/CreateSupabaseProjectResponseBody.d.ts +1 -1
  41. package/dist/models/DeleteAiserviceRequest.d.ts +2 -2
  42. package/dist/models/DeleteApiKeyRequest.d.ts +26 -0
  43. package/dist/models/DeleteApiKeyRequest.js +60 -0
  44. package/dist/models/DeleteApiKeyRequest.js.map +1 -0
  45. package/dist/models/DeleteApiKeyResponse.d.ts +19 -0
  46. package/dist/models/DeleteApiKeyResponse.js +69 -0
  47. package/dist/models/DeleteApiKeyResponse.js.map +1 -0
  48. package/dist/models/DeleteApiKeyResponseBody.d.ts +23 -0
  49. package/dist/models/DeleteApiKeyResponseBody.js +60 -0
  50. package/dist/models/DeleteApiKeyResponseBody.js.map +1 -0
  51. package/dist/models/DeleteBranchRequest.d.ts +1 -1
  52. package/dist/models/DeleteSnapshotRequest.d.ts +7 -0
  53. package/dist/models/DeleteSnapshotRequest.js.map +1 -1
  54. package/dist/models/DeleteSnapshotResponseBody.d.ts +3 -0
  55. package/dist/models/DeleteSnapshotResponseBody.js.map +1 -1
  56. package/dist/models/DescribeAiserviceRequest.d.ts +4 -5
  57. package/dist/models/DescribeAiserviceRequest.js.map +1 -1
  58. package/dist/models/DescribeAiserviceResponseBody.d.ts +10 -12
  59. package/dist/models/DescribeAiserviceResponseBody.js.map +1 -1
  60. package/dist/models/DescribeBranchResponseBody.d.ts +7 -7
  61. package/dist/models/DescribeDbinstanceAttributeRequest.d.ts +3 -3
  62. package/dist/models/DescribeDbinstanceAttributeResponseBody.d.ts +1 -1
  63. package/dist/models/DescribeModelOperatorApiKeyRequest.d.ts +3 -0
  64. package/dist/models/DescribeModelOperatorApiKeyRequest.js.map +1 -1
  65. package/dist/models/DescribeModelOperatorApiKeyResponseBody.d.ts +18 -0
  66. package/dist/models/DescribeModelOperatorApiKeyResponseBody.js.map +1 -1
  67. package/dist/models/DescribeModelOperatorUsageRequest.d.ts +49 -0
  68. package/dist/models/DescribeModelOperatorUsageRequest.js.map +1 -1
  69. package/dist/models/DescribeModelOperatorUsageResponseBody.d.ts +47 -0
  70. package/dist/models/DescribeModelOperatorUsageResponseBody.js.map +1 -1
  71. package/dist/models/DescribeModelOperatorUsageShrinkRequest.d.ts +49 -0
  72. package/dist/models/DescribeModelOperatorUsageShrinkRequest.js.map +1 -1
  73. package/dist/models/DescribeModelServiceRequest.d.ts +2 -2
  74. package/dist/models/DescribeModelServiceResponseBody.d.ts +6 -6
  75. package/dist/models/DescribeTableRequest.d.ts +7 -7
  76. package/dist/models/DescribeTableResponseBody.d.ts +4 -5
  77. package/dist/models/DescribeTableResponseBody.js.map +1 -1
  78. package/dist/models/ExecuteStatementRequest.d.ts +18 -19
  79. package/dist/models/ExecuteStatementRequest.js.map +1 -1
  80. package/dist/models/ExecuteStatementResponseBody.d.ts +10 -11
  81. package/dist/models/ExecuteStatementResponseBody.js.map +1 -1
  82. package/dist/models/ExecuteStatementShrinkRequest.d.ts +14 -15
  83. package/dist/models/ExecuteStatementShrinkRequest.js.map +1 -1
  84. package/dist/models/GetAccountRequest.d.ts +7 -3
  85. package/dist/models/GetAccountRequest.js.map +1 -1
  86. package/dist/models/GetAccountResponseBody.d.ts +20 -17
  87. package/dist/models/GetAccountResponseBody.js.map +1 -1
  88. package/dist/models/GetApiKeyRequest.d.ts +26 -0
  89. package/dist/models/GetApiKeyRequest.js +60 -0
  90. package/dist/models/GetApiKeyRequest.js.map +1 -0
  91. package/dist/models/GetApiKeyResponse.d.ts +19 -0
  92. package/dist/models/GetApiKeyResponse.js +69 -0
  93. package/dist/models/GetApiKeyResponse.js.map +1 -0
  94. package/dist/models/GetApiKeyResponseBody.d.ts +71 -0
  95. package/dist/models/GetApiKeyResponseBody.js +96 -0
  96. package/dist/models/GetApiKeyResponseBody.js.map +1 -0
  97. package/dist/models/GetStatementResultRequest.d.ts +6 -6
  98. package/dist/models/GetStatementResultResponseBody.d.ts +6 -6
  99. package/dist/models/GetUploadDocumentJobRequest.d.ts +8 -8
  100. package/dist/models/GetUploadDocumentJobResponseBody.d.ts +27 -29
  101. package/dist/models/GetUploadDocumentJobResponseBody.js.map +1 -1
  102. package/dist/models/GetWorkspaceRequest.d.ts +26 -0
  103. package/dist/models/GetWorkspaceRequest.js +60 -0
  104. package/dist/models/GetWorkspaceRequest.js.map +1 -0
  105. package/dist/models/GetWorkspaceResponse.d.ts +19 -0
  106. package/dist/models/GetWorkspaceResponse.js +69 -0
  107. package/dist/models/GetWorkspaceResponse.js.map +1 -0
  108. package/dist/models/GetWorkspaceResponseBody.d.ts +147 -0
  109. package/dist/models/GetWorkspaceResponseBody.js +160 -0
  110. package/dist/models/GetWorkspaceResponseBody.js.map +1 -0
  111. package/dist/models/ListAinodePoolsRequest.d.ts +1 -1
  112. package/dist/models/ListAinodePoolsResponseBody.d.ts +11 -13
  113. package/dist/models/ListAinodePoolsResponseBody.js.map +1 -1
  114. package/dist/models/ListAiservicesRequest.d.ts +5 -8
  115. package/dist/models/ListAiservicesRequest.js.map +1 -1
  116. package/dist/models/ListAiservicesResponseBody.d.ts +13 -15
  117. package/dist/models/ListAiservicesResponseBody.js.map +1 -1
  118. package/dist/models/ListApiKeysRequest.d.ts +41 -0
  119. package/dist/models/ListApiKeysRequest.js +66 -0
  120. package/dist/models/ListApiKeysRequest.js.map +1 -0
  121. package/dist/models/ListApiKeysResponse.d.ts +19 -0
  122. package/dist/models/ListApiKeysResponse.js +69 -0
  123. package/dist/models/ListApiKeysResponse.js.map +1 -0
  124. package/dist/models/ListApiKeysResponseBody.d.ts +94 -0
  125. package/dist/models/ListApiKeysResponseBody.js +122 -0
  126. package/dist/models/ListApiKeysResponseBody.js.map +1 -0
  127. package/dist/models/ListBranchesRequest.d.ts +12 -12
  128. package/dist/models/ListBranchesResponseBody.d.ts +3 -3
  129. package/dist/models/ListChunksRequest.d.ts +13 -17
  130. package/dist/models/ListChunksRequest.js.map +1 -1
  131. package/dist/models/ListModelOperatorApiKeysRequest.d.ts +12 -0
  132. package/dist/models/ListModelOperatorApiKeysRequest.js.map +1 -1
  133. package/dist/models/ListModelOperatorApiKeysResponseBody.d.ts +28 -0
  134. package/dist/models/ListModelOperatorApiKeysResponseBody.js.map +1 -1
  135. package/dist/models/ListModelOperatorServicesRequest.d.ts +11 -0
  136. package/dist/models/ListModelOperatorServicesRequest.js.map +1 -1
  137. package/dist/models/ListModelOperatorServicesResponseBody.d.ts +19 -0
  138. package/dist/models/ListModelOperatorServicesResponseBody.js.map +1 -1
  139. package/dist/models/ListSaasServiceRequest.d.ts +2 -2
  140. package/dist/models/ListSaasServiceResponseBody.d.ts +10 -10
  141. package/dist/models/ListSupabaseProjectTagsRequest.d.ts +15 -17
  142. package/dist/models/ListSupabaseProjectTagsRequest.js.map +1 -1
  143. package/dist/models/ListSupabaseProjectTagsResponseBody.d.ts +3 -3
  144. package/dist/models/ListWorkspacesResponseBody.d.ts +3 -3
  145. package/dist/models/ModifyAiserviceSecurityIpsRequest.d.ts +7 -10
  146. package/dist/models/ModifyAiserviceSecurityIpsRequest.js.map +1 -1
  147. package/dist/models/ModifyAiserviceSecurityIpsResponseBody.d.ts +1 -1
  148. package/dist/models/ModifyDbinstanceDeploymentModeRequest.d.ts +11 -17
  149. package/dist/models/ModifyDbinstanceDeploymentModeRequest.js.map +1 -1
  150. package/dist/models/ModifyDbinstanceDeploymentModeResponseBody.d.ts +1 -1
  151. package/dist/models/ModifySupabaseAutoScalePolicyRequest.d.ts +4 -6
  152. package/dist/models/ModifySupabaseAutoScalePolicyRequest.js.map +1 -1
  153. package/dist/models/ModifySupabaseProjectResourceRequest.d.ts +3 -3
  154. package/dist/models/ModifySupabaseProjectResourceResponseBody.d.ts +1 -1
  155. package/dist/models/PauseSupabaseProjectRequest.d.ts +1 -1
  156. package/dist/models/QueryKnowledgeBasesContentRequest.d.ts +18 -18
  157. package/dist/models/QueryKnowledgeBasesContentShrinkRequest.d.ts +1 -1
  158. package/dist/models/RestoreSnapshotRequest.d.ts +1 -1
  159. package/dist/models/ResumeSupabaseProjectRequest.d.ts +1 -1
  160. package/dist/models/ResumeSupabaseProjectResponseBody.d.ts +1 -1
  161. package/dist/models/TagSupabaseProjectRequest.d.ts +5 -5
  162. package/dist/models/TagSupabaseProjectResponseBody.d.ts +1 -1
  163. package/dist/models/TextEmbeddingRequest.d.ts +12 -14
  164. package/dist/models/TextEmbeddingRequest.js.map +1 -1
  165. package/dist/models/TextEmbeddingResponseBody.d.ts +5 -6
  166. package/dist/models/TextEmbeddingResponseBody.js.map +1 -1
  167. package/dist/models/TextEmbeddingShrinkRequest.d.ts +12 -14
  168. package/dist/models/TextEmbeddingShrinkRequest.js.map +1 -1
  169. package/dist/models/UntagSupabaseProjectRequest.d.ts +6 -9
  170. package/dist/models/UntagSupabaseProjectRequest.js.map +1 -1
  171. package/dist/models/UntagSupabaseProjectResponseBody.d.ts +1 -1
  172. package/dist/models/UpgradeDbinstanceRequest.d.ts +34 -50
  173. package/dist/models/UpgradeDbinstanceRequest.js.map +1 -1
  174. package/dist/models/UploadDocumentAsyncAdvanceRequest.d.ts +57 -49
  175. package/dist/models/UploadDocumentAsyncAdvanceRequest.js.map +1 -1
  176. package/dist/models/UploadDocumentAsyncRequest.d.ts +57 -49
  177. package/dist/models/UploadDocumentAsyncRequest.js.map +1 -1
  178. package/dist/models/UploadDocumentAsyncResponseBody.d.ts +4 -4
  179. package/dist/models/UploadDocumentAsyncShrinkRequest.d.ts +57 -49
  180. package/dist/models/UploadDocumentAsyncShrinkRequest.js.map +1 -1
  181. package/dist/models/model.d.ts +22 -0
  182. package/dist/models/model.js +65 -20
  183. package/dist/models/model.js.map +1 -1
  184. package/package.json +1 -1
  185. package/src/client.ts +438 -140
  186. package/src/models/CreateAiserviceRequest.ts +16 -25
  187. package/src/models/CreateApiKeyRequest.ts +64 -0
  188. package/src/models/CreateApiKeyResponse.ts +40 -0
  189. package/src/models/CreateApiKeyResponseBody.ts +45 -0
  190. package/src/models/CreateApiKeyShrinkRequest.ts +61 -0
  191. package/src/models/CreateBranchRequest.ts +6 -6
  192. package/src/models/CreateBranchResponseBody.ts +2 -2
  193. package/src/models/CreateDocumentCollectionRequest.ts +94 -148
  194. package/src/models/CreateDocumentCollectionResponseBody.ts +2 -4
  195. package/src/models/CreateDocumentCollectionShrinkRequest.ts +81 -127
  196. package/src/models/CreateIndexRequest.ts +13 -21
  197. package/src/models/CreateIndexResponseBody.ts +6 -7
  198. package/src/models/CreateModelOperatorApiKeyRequest.ts +2 -0
  199. package/src/models/CreateModelOperatorApiKeyResponseBody.ts +6 -0
  200. package/src/models/CreateModelServiceRequest.ts +9 -9
  201. package/src/models/CreateModelServiceResponseBody.ts +1 -1
  202. package/src/models/CreateModelServiceShrinkRequest.ts +9 -9
  203. package/src/models/CreateSaasServiceRequest.ts +2 -2
  204. package/src/models/CreateSnapshotResponseBody.ts +1 -1
  205. package/src/models/CreateSupabaseProjectRequest.ts +8 -8
  206. package/src/models/CreateSupabaseProjectResponseBody.ts +1 -1
  207. package/src/models/DeleteAiserviceRequest.ts +2 -2
  208. package/src/models/DeleteApiKeyRequest.ts +41 -0
  209. package/src/models/DeleteApiKeyResponse.ts +40 -0
  210. package/src/models/DeleteApiKeyResponseBody.ts +38 -0
  211. package/src/models/DeleteBranchRequest.ts +1 -1
  212. package/src/models/DeleteSnapshotRequest.ts +7 -0
  213. package/src/models/DeleteSnapshotResponseBody.ts +3 -0
  214. package/src/models/DescribeAiserviceRequest.ts +4 -5
  215. package/src/models/DescribeAiserviceResponseBody.ts +10 -12
  216. package/src/models/DescribeBranchResponseBody.ts +7 -7
  217. package/src/models/DescribeDbinstanceAttributeRequest.ts +3 -3
  218. package/src/models/DescribeDbinstanceAttributeResponseBody.ts +1 -1
  219. package/src/models/DescribeModelOperatorApiKeyRequest.ts +3 -0
  220. package/src/models/DescribeModelOperatorApiKeyResponseBody.ts +18 -0
  221. package/src/models/DescribeModelOperatorUsageRequest.ts +49 -0
  222. package/src/models/DescribeModelOperatorUsageResponseBody.ts +47 -0
  223. package/src/models/DescribeModelOperatorUsageShrinkRequest.ts +49 -0
  224. package/src/models/DescribeModelServiceRequest.ts +2 -2
  225. package/src/models/DescribeModelServiceResponseBody.ts +6 -6
  226. package/src/models/DescribeTableRequest.ts +7 -7
  227. package/src/models/DescribeTableResponseBody.ts +4 -5
  228. package/src/models/ExecuteStatementRequest.ts +18 -19
  229. package/src/models/ExecuteStatementResponseBody.ts +10 -11
  230. package/src/models/ExecuteStatementShrinkRequest.ts +14 -15
  231. package/src/models/GetAccountRequest.ts +7 -3
  232. package/src/models/GetAccountResponseBody.ts +20 -17
  233. package/src/models/GetApiKeyRequest.ts +41 -0
  234. package/src/models/GetApiKeyResponse.ts +40 -0
  235. package/src/models/GetApiKeyResponseBody.ts +113 -0
  236. package/src/models/GetStatementResultRequest.ts +6 -6
  237. package/src/models/GetStatementResultResponseBody.ts +6 -6
  238. package/src/models/GetUploadDocumentJobRequest.ts +8 -8
  239. package/src/models/GetUploadDocumentJobResponseBody.ts +27 -29
  240. package/src/models/GetWorkspaceRequest.ts +41 -0
  241. package/src/models/GetWorkspaceResponse.ts +40 -0
  242. package/src/models/GetWorkspaceResponseBody.ts +235 -0
  243. package/src/models/ListAinodePoolsRequest.ts +1 -1
  244. package/src/models/ListAinodePoolsResponseBody.ts +11 -13
  245. package/src/models/ListAiservicesRequest.ts +5 -8
  246. package/src/models/ListAiservicesResponseBody.ts +13 -15
  247. package/src/models/ListApiKeysRequest.ts +62 -0
  248. package/src/models/ListApiKeysResponse.ts +40 -0
  249. package/src/models/ListApiKeysResponseBody.ts +153 -0
  250. package/src/models/ListBranchesRequest.ts +12 -12
  251. package/src/models/ListBranchesResponseBody.ts +3 -3
  252. package/src/models/ListChunksRequest.ts +13 -17
  253. package/src/models/ListModelOperatorApiKeysRequest.ts +12 -0
  254. package/src/models/ListModelOperatorApiKeysResponseBody.ts +28 -0
  255. package/src/models/ListModelOperatorServicesRequest.ts +11 -0
  256. package/src/models/ListModelOperatorServicesResponseBody.ts +19 -0
  257. package/src/models/ListSaasServiceRequest.ts +2 -2
  258. package/src/models/ListSaasServiceResponseBody.ts +10 -10
  259. package/src/models/ListSupabaseProjectTagsRequest.ts +15 -17
  260. package/src/models/ListSupabaseProjectTagsResponseBody.ts +3 -3
  261. package/src/models/ListWorkspacesResponseBody.ts +3 -3
  262. package/src/models/ModifyAiserviceSecurityIpsRequest.ts +7 -10
  263. package/src/models/ModifyAiserviceSecurityIpsResponseBody.ts +1 -1
  264. package/src/models/ModifyDbinstanceDeploymentModeRequest.ts +11 -17
  265. package/src/models/ModifyDbinstanceDeploymentModeResponseBody.ts +1 -1
  266. package/src/models/ModifySupabaseAutoScalePolicyRequest.ts +4 -6
  267. package/src/models/ModifySupabaseProjectResourceRequest.ts +3 -3
  268. package/src/models/ModifySupabaseProjectResourceResponseBody.ts +1 -1
  269. package/src/models/PauseSupabaseProjectRequest.ts +1 -1
  270. package/src/models/QueryKnowledgeBasesContentRequest.ts +18 -18
  271. package/src/models/QueryKnowledgeBasesContentShrinkRequest.ts +1 -1
  272. package/src/models/RestoreSnapshotRequest.ts +1 -1
  273. package/src/models/ResumeSupabaseProjectRequest.ts +1 -1
  274. package/src/models/ResumeSupabaseProjectResponseBody.ts +1 -1
  275. package/src/models/TagSupabaseProjectRequest.ts +5 -5
  276. package/src/models/TagSupabaseProjectResponseBody.ts +1 -1
  277. package/src/models/TextEmbeddingRequest.ts +12 -14
  278. package/src/models/TextEmbeddingResponseBody.ts +5 -6
  279. package/src/models/TextEmbeddingShrinkRequest.ts +12 -14
  280. package/src/models/UntagSupabaseProjectRequest.ts +6 -9
  281. package/src/models/UntagSupabaseProjectResponseBody.ts +1 -1
  282. package/src/models/UpgradeDbinstanceRequest.ts +34 -50
  283. package/src/models/UploadDocumentAsyncAdvanceRequest.ts +57 -49
  284. package/src/models/UploadDocumentAsyncRequest.ts +57 -49
  285. package/src/models/UploadDocumentAsyncResponseBody.ts +4 -4
  286. package/src/models/UploadDocumentAsyncShrinkRequest.ts +57 -49
  287. package/src/models/model.ts +22 -0
@@ -7,7 +7,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The instance ID.
9
9
  *
10
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
10
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
11
11
  *
12
12
  * @example
13
13
  * gp-xxxxxxxxx
@@ -15,7 +15,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
15
15
  DBInstanceId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The name of the database.
18
+ * The database name.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -26,13 +26,13 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
26
26
  ownerId?: number;
27
27
  /**
28
28
  * @remarks
29
- * The configuration parameters.
29
+ * The list of configuration parameters.
30
30
  */
31
31
  parametersShrink?: string;
32
32
  /**
33
33
  * @remarks
34
- * Parameters for the vector dataset.
35
- * > When WorkspaceId is not empty, you must also pass this parameter.
34
+ * The vector dataset parameters.
35
+ * > If WorkspaceId is not empty, this parameter is required.
36
36
  */
37
37
  ragWorkspaceCollectionShrink?: string;
38
38
  /**
@@ -47,10 +47,9 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
47
47
  regionId?: string;
48
48
  /**
49
49
  * @remarks
50
- * The execution type. Valid values:
51
- *
52
- * * synchronous
53
- * * asynchronous (not supported)
50
+ * The run type. Valid values:
51
+ * - synchronous: synchronous execution.
52
+ * - asynchronous: asynchronous execution. Currently not supported.
54
53
  *
55
54
  * @example
56
55
  * synchronous
@@ -58,9 +57,9 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
58
57
  runType?: string;
59
58
  /**
60
59
  * @remarks
61
- * The Alibaba Cloud Resource Name (ARN) of the access credential for the created Data API account. You can call the CreateSecret operation to create an access credential.
60
+ * The access credential. Created by calling the CreateSecret operation.
62
61
  *
63
- * > To call the ExecuteStatement operation as a Resource Access Management (RAM) user, the RAM user must have the permissions to call the UseSecret or GetSecretValue operation on the ARN of the access credential.
62
+ * > When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.
64
63
  *
65
64
  * This parameter is required.
66
65
  *
@@ -70,7 +69,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
70
69
  secretArn?: string;
71
70
  /**
72
71
  * @remarks
73
- * The SQL statements that you want to execute.
72
+ * The SQL statement to execute.
74
73
  *
75
74
  * @example
76
75
  * select * from table1
@@ -78,12 +77,12 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
78
77
  sql?: string;
79
78
  /**
80
79
  * @remarks
81
- * The SQL statements.
80
+ * The list of multiple SQL statements.
82
81
  */
83
82
  sqlsShrink?: string;
84
83
  /**
85
84
  * @remarks
86
- * The name of the set of SQL statements that you want to execute. This parameter takes effect when the RunType parameter is set to asynchronous.
85
+ * The name of the execution statement. This parameter takes effect only when RunType is set to asynchronous.
87
86
  *
88
87
  * @example
89
88
  * test
@@ -91,7 +90,7 @@ export class ExecuteStatementShrinkRequest extends $dara.Model {
91
90
  statementName?: string;
92
91
  /**
93
92
  * @remarks
94
- * The ID of a workspace composed of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both are specified, this parameter takes precedence.
93
+ * The ID of the workspace that consists of multiple database instances. This parameter and DBInstanceId cannot both be empty. If both this parameter and DBInstanceId are specified, this parameter takes precedence.
95
94
  *
96
95
  * @example
97
96
  * gp-ws-*****
@@ -5,7 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetAccountRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The name of the database account.
8
+ * The name of the initial account. The name must meet the following requirements:
9
+ *
10
+ * - The name can contain lowercase letters, digits, and underscores (_).
11
+ * - The name must start with a lowercase letter and end with a lowercase letter or digit.
12
+ * - The name cannot start with gp.
13
+ * - The name must be 2 to 16 characters in length.
9
14
  *
10
15
  * This parameter is required.
11
16
  *
@@ -16,8 +21,7 @@ export class GetAccountRequest extends $dara.Model {
16
21
  /**
17
22
  * @remarks
18
23
  * The instance ID.
19
- *
20
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the IDs of all AnalyticDB for PostgreSQL instances in a specific region.
24
+ * >You can specify up to 30 instance IDs for batch operations. Separate multiple instance IDs with commas (,).
21
25
  *
22
26
  * This parameter is required.
23
27
  *
@@ -5,12 +5,12 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetAccountResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The new description of the database account.
8
+ * The modified account description. The description must meet the following requirements:
9
9
  *
10
- * * The description must start with a letter.
11
- * * The description cannot start with `http://` or `https://`.
12
- * * The description can contain letters, underscores (_), hyphens (-), and digits.
13
- * * The description must be 2 to 256 characters in length.
10
+ * - The description must start with a Chinese character or an English letter.
11
+ * - The description cannot start with `http://` or `https://`.
12
+ * - The description can contain Chinese characters, English characters, underscores (_), hyphens (-), and digits.
13
+ * - The description must be 2 to 256 characters in length.
14
14
  *
15
15
  * @example
16
16
  * The instance used by this account to log in is DBInstanceId. The name used to log in is AccountName.
@@ -18,12 +18,12 @@ export class GetAccountResponseBody extends $dara.Model {
18
18
  accountDescription?: string;
19
19
  /**
20
20
  * @remarks
21
- * The name of the initial account.
21
+ * The name of the initial account. The name must meet the following requirements:
22
22
  *
23
- * * The name can contain lowercase letters, digits, and underscores (_).
24
- * * The name must start with a lowercase letter and end with a lowercase letter or a digit.
25
- * * The name cannot start with gp.
26
- * * The name must be 2 to 16 characters in length.
23
+ * - The name can contain lowercase letters, digits, and underscores (_).
24
+ * - The name must start with a lowercase letter and end with a lowercase letter or digit.
25
+ * - The name cannot start with gp.
26
+ * - The name must be 2 to 16 characters in length.
27
27
  *
28
28
  * @example
29
29
  * testaccount
@@ -31,11 +31,11 @@ export class GetAccountResponseBody extends $dara.Model {
31
31
  accountName?: string;
32
32
  /**
33
33
  * @remarks
34
- * The status of the member that you want to query.
34
+ * The status of the database account. Valid values:
35
35
  *
36
- * * **enabled**: managed.
37
- * * **disabled**: not managed.
38
- * * **disabling**: being deleted.
36
+ * - **0**: Being created.
37
+ * - **1**: In use.
38
+ * - **3**: Being deleted.
39
39
  *
40
40
  * @example
41
41
  * 1
@@ -43,8 +43,11 @@ export class GetAccountResponseBody extends $dara.Model {
43
43
  accountStatus?: string;
44
44
  /**
45
45
  * @remarks
46
- * * Normal: standard account
47
- * * Super: privileged account
46
+ * The type of the host account. Valid values:
47
+ * - **Normal**: standard account.
48
+ * - **Admin**: administrator account.
49
+ *
50
+ * For more information about the permissions of host accounts, see [Host account permissions](https://help.aliyun.com/document_detail/176240.html).
48
51
  *
49
52
  * @example
50
53
  * Normal
@@ -54,7 +57,7 @@ export class GetAccountResponseBody extends $dara.Model {
54
57
  * @remarks
55
58
  * The instance ID.
56
59
  *
57
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
60
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
58
61
  *
59
62
  * @example
60
63
  * gp-xxxxxxxxx
@@ -0,0 +1,41 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetApiKeyRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * This parameter is required.
9
+ *
10
+ * @example
11
+ * api-xxxxxx
12
+ */
13
+ keyId?: string;
14
+ /**
15
+ * @example
16
+ * cn-beijing
17
+ */
18
+ regionId?: string;
19
+ static names(): { [key: string]: string } {
20
+ return {
21
+ keyId: 'KeyId',
22
+ regionId: 'RegionId',
23
+ };
24
+ }
25
+
26
+ static types(): { [key: string]: any } {
27
+ return {
28
+ keyId: 'string',
29
+ regionId: 'string',
30
+ };
31
+ }
32
+
33
+ validate() {
34
+ super.validate();
35
+ }
36
+
37
+ constructor(map?: { [key: string]: any }) {
38
+ super(map);
39
+ }
40
+ }
41
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { GetApiKeyResponseBody } from "./GetApiKeyResponseBody";
4
+
5
+
6
+ export class GetApiKeyResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: GetApiKeyResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: GetApiKeyResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,113 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class GetApiKeyResponseBodyAuthServices extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * agdb-2ze8x9278c9iizl
9
+ */
10
+ serviceId?: string;
11
+ /**
12
+ * @example
13
+ * memory
14
+ */
15
+ serviceType?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ serviceId: 'ServiceId',
19
+ serviceType: 'ServiceType',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ serviceId: 'string',
26
+ serviceType: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
39
+ export class GetApiKeyResponseBody extends $dara.Model {
40
+ /**
41
+ * @example
42
+ * sk-xxxxxxx
43
+ */
44
+ apiKey?: string;
45
+ authServices?: GetApiKeyResponseBodyAuthServices[];
46
+ /**
47
+ * @example
48
+ * 2019-09-08T16:00:00Z
49
+ */
50
+ createTime?: string;
51
+ /**
52
+ * @example
53
+ * test api key
54
+ */
55
+ description?: string;
56
+ /**
57
+ * @example
58
+ * api-xxxxxxx
59
+ */
60
+ keyId?: string;
61
+ /**
62
+ * @example
63
+ * test api key
64
+ */
65
+ keyName?: string;
66
+ /**
67
+ * @example
68
+ * sk-1235*****
69
+ */
70
+ keyPrefix?: string;
71
+ /**
72
+ * @example
73
+ * 7565770E-7C45-462D-BA4A-8A5396****
74
+ */
75
+ requestId?: string;
76
+ static names(): { [key: string]: string } {
77
+ return {
78
+ apiKey: 'ApiKey',
79
+ authServices: 'AuthServices',
80
+ createTime: 'CreateTime',
81
+ description: 'Description',
82
+ keyId: 'KeyId',
83
+ keyName: 'KeyName',
84
+ keyPrefix: 'KeyPrefix',
85
+ requestId: 'RequestId',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ apiKey: 'string',
92
+ authServices: { 'type': 'array', 'itemType': GetApiKeyResponseBodyAuthServices },
93
+ createTime: 'string',
94
+ description: 'string',
95
+ keyId: 'string',
96
+ keyName: 'string',
97
+ keyPrefix: 'string',
98
+ requestId: 'string',
99
+ };
100
+ }
101
+
102
+ validate() {
103
+ if(Array.isArray(this.authServices)) {
104
+ $dara.Model.validateArray(this.authServices);
105
+ }
106
+ super.validate();
107
+ }
108
+
109
+ constructor(map?: { [key: string]: any }) {
110
+ super(map);
111
+ }
112
+ }
113
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetStatementResultRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Instance ID. Can be obtained by calling DescribeDBInstances.
8
+ * The instance ID. You can call DescribeDBInstances to obtain the ID.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class GetStatementResultRequest extends $dara.Model {
15
15
  DBInstanceId?: string;
16
16
  /**
17
17
  * @remarks
18
- * Database name.
18
+ * The database name.
19
19
  *
20
20
  * @example
21
21
  * test
@@ -23,7 +23,7 @@ export class GetStatementResultRequest extends $dara.Model {
23
23
  database?: string;
24
24
  /**
25
25
  * @remarks
26
- * Task ID for asynchronous SQL execution.
26
+ * The task ID of the asynchronous SQL execution.
27
27
  *
28
28
  * This parameter is required.
29
29
  *
@@ -34,7 +34,7 @@ export class GetStatementResultRequest extends $dara.Model {
34
34
  ownerId?: number;
35
35
  /**
36
36
  * @remarks
37
- * Region ID where the instance is located.
37
+ * The region ID of the instance.
38
38
  *
39
39
  * This parameter is required.
40
40
  *
@@ -44,9 +44,9 @@ export class GetStatementResultRequest extends $dara.Model {
44
44
  regionId?: string;
45
45
  /**
46
46
  * @remarks
47
- * Access credential. Created through the CreateSecret interface.
47
+ * The access credential. Created by calling the CreateSecret operation.
48
48
  *
49
- * > When accessing this interface with a sub-account, the sub-account must have the UseSecret or GetSecretValue permission for this SecretArn.
49
+ * > When you access this operation by using a RAM user, you must have the UseSecret or GetSecretValue permission on this SecretArn.
50
50
  *
51
51
  * This parameter is required.
52
52
  *
@@ -87,7 +87,7 @@ export class GetStatementResultResponseBodyData extends $dara.Model {
87
87
  records?: GetStatementResultResponseBodyDataRecords;
88
88
  /**
89
89
  * @remarks
90
- * Total number of entries.
90
+ * The total number of rows.
91
91
  *
92
92
  * @example
93
93
  * 10
@@ -132,7 +132,7 @@ export class GetStatementResultResponseBody extends $dara.Model {
132
132
  data?: GetStatementResultResponseBodyData;
133
133
  /**
134
134
  * @remarks
135
- * Return message.
135
+ * The response message.
136
136
  *
137
137
  * @example
138
138
  * success
@@ -140,7 +140,7 @@ export class GetStatementResultResponseBody extends $dara.Model {
140
140
  message?: string;
141
141
  /**
142
142
  * @remarks
143
- * Request ID.
143
+ * The request ID.
144
144
  *
145
145
  * @example
146
146
  * ABB39CC3-4488-4857-905D-2E4A051D0521
@@ -148,10 +148,10 @@ export class GetStatementResultResponseBody extends $dara.Model {
148
148
  requestId?: string;
149
149
  /**
150
150
  * @remarks
151
- * API execution status, with values as follows:
151
+ * The execution status of the API operation. Valid values:
152
152
  *
153
- * - **false**: Execution failed.
154
- * - **true**: Execution succeeded.
153
+ * - **false**: Failed.
154
+ * - **true**: Succeeded.
155
155
  *
156
156
  * @example
157
157
  * success
@@ -7,7 +7,7 @@ export class GetUploadDocumentJobRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The name of the document collection.
9
9
  *
10
- * > You can call the [CreateDocumentCollection](https://help.aliyun.com/document_detail/2618448.html) operation to create a document collection and call the [ListDocumentCollections](https://help.aliyun.com/document_detail/2618452.html) operation to query a list of document collections.
10
+ * > A document collection is created by calling the [CreateDocumentCollection](https://help.aliyun.com/document_detail/2618448.html) operation. You can call the [ListDocumentCollections](https://help.aliyun.com/document_detail/2618452.html) operation to view existing document collections.
11
11
  *
12
12
  * This parameter is required.
13
13
  *
@@ -17,9 +17,9 @@ export class GetUploadDocumentJobRequest extends $dara.Model {
17
17
  collection?: string;
18
18
  /**
19
19
  * @remarks
20
- * The ID of the instance for which vector engine optimization is enabled.
20
+ * The ID of the instance that has the vector engine optimization feature enabled.
21
21
  *
22
- * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the information about all AnalyticDB for PostgreSQL instances within a region, including instance IDs.
22
+ * > You can call the [DescribeDBInstances](https://help.aliyun.com/document_detail/86911.html) operation to query the details of all AnalyticDB for PostgreSQL instances in a region, including instance IDs.
23
23
  *
24
24
  * This parameter is required.
25
25
  *
@@ -29,7 +29,7 @@ export class GetUploadDocumentJobRequest extends $dara.Model {
29
29
  DBInstanceId?: string;
30
30
  /**
31
31
  * @remarks
32
- * The ID of the document upload job. You can call the `UploadDocumentAsync` operation to obtain the job ID.
32
+ * The ID of the document upload task, which is obtained from the UploadDocumentAsync operation.
33
33
  *
34
34
  * This parameter is required.
35
35
  *
@@ -39,9 +39,9 @@ export class GetUploadDocumentJobRequest extends $dara.Model {
39
39
  jobId?: string;
40
40
  /**
41
41
  * @remarks
42
- * The name of the namespace for tenant isolation. Default value: public.
42
+ * The namespace, which is used for tenant isolation. Default value: public.
43
43
  *
44
- * > You can call the [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) operation to create a namespace and call the [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html) operation to query a list of namespaces.
44
+ * > You can create a namespace by calling [CreateNamespace](https://help.aliyun.com/document_detail/2401495.html) and view the list of namespaces by calling [ListNamespaces](https://help.aliyun.com/document_detail/2401502.html).
45
45
  *
46
46
  * @example
47
47
  * mynamespace
@@ -51,7 +51,7 @@ export class GetUploadDocumentJobRequest extends $dara.Model {
51
51
  * @remarks
52
52
  * The password of the namespace.
53
53
  *
54
- * > The value of this parameter is specified when you call the CreateNamespace operation.
54
+ * > This value is specified by the CreateNamespace operation.
55
55
  *
56
56
  * This parameter is required.
57
57
  *
@@ -62,7 +62,7 @@ export class GetUploadDocumentJobRequest extends $dara.Model {
62
62
  ownerId?: number;
63
63
  /**
64
64
  * @remarks
65
- * The region ID of the cluster.
65
+ * The region ID of the instance.
66
66
  *
67
67
  * This parameter is required.
68
68
  *