@alicloud/adb20211201 5.1.3 → 5.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (142) hide show
  1. package/dist/client.d.ts +128 -38
  2. package/dist/client.js +347 -38
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddKnowledgeTagsRequest.d.ts +41 -0
  5. package/dist/models/AddKnowledgeTagsRequest.js +62 -0
  6. package/dist/models/AddKnowledgeTagsRequest.js.map +1 -0
  7. package/dist/models/AddKnowledgeTagsResponse.d.ts +19 -0
  8. package/dist/models/AddKnowledgeTagsResponse.js +69 -0
  9. package/dist/models/AddKnowledgeTagsResponse.js.map +1 -0
  10. package/dist/models/AddKnowledgeTagsResponseBody.d.ts +121 -0
  11. package/dist/models/AddKnowledgeTagsResponseBody.js +118 -0
  12. package/dist/models/AddKnowledgeTagsResponseBody.js.map +1 -0
  13. package/dist/models/AddKnowledgeUploadUserRequest.d.ts +43 -0
  14. package/dist/models/AddKnowledgeUploadUserRequest.js +62 -0
  15. package/dist/models/AddKnowledgeUploadUserRequest.js.map +1 -0
  16. package/dist/models/AddKnowledgeUploadUserResponse.d.ts +19 -0
  17. package/dist/models/AddKnowledgeUploadUserResponse.js +69 -0
  18. package/dist/models/AddKnowledgeUploadUserResponse.js.map +1 -0
  19. package/dist/models/AddKnowledgeUploadUserResponseBody.d.ts +106 -0
  20. package/dist/models/AddKnowledgeUploadUserResponseBody.js +114 -0
  21. package/dist/models/AddKnowledgeUploadUserResponseBody.js.map +1 -0
  22. package/dist/models/CreateAccountRequest.d.ts +8 -4
  23. package/dist/models/CreateAccountRequest.js +14 -0
  24. package/dist/models/CreateAccountRequest.js.map +1 -1
  25. package/dist/models/CreateAccountShrinkRequest.d.ts +8 -4
  26. package/dist/models/CreateAccountShrinkRequest.js +8 -0
  27. package/dist/models/CreateAccountShrinkRequest.js.map +1 -1
  28. package/dist/models/CreateDbresourceGroupRequest.d.ts +27 -27
  29. package/dist/models/CreateDbresourceGroupShrinkRequest.d.ts +13 -13
  30. package/dist/models/DeleteAccountRequest.d.ts +7 -6
  31. package/dist/models/DeleteAccountRequest.js +2 -0
  32. package/dist/models/DeleteAccountRequest.js.map +1 -1
  33. package/dist/models/DeleteKnowledgeFileRequest.d.ts +33 -0
  34. package/dist/models/DeleteKnowledgeFileRequest.js +60 -0
  35. package/dist/models/DeleteKnowledgeFileRequest.js.map +1 -0
  36. package/dist/models/DeleteKnowledgeFileResponse.d.ts +19 -0
  37. package/dist/models/DeleteKnowledgeFileResponse.js +69 -0
  38. package/dist/models/DeleteKnowledgeFileResponse.js.map +1 -0
  39. package/dist/models/DeleteKnowledgeFileResponseBody.d.ts +65 -0
  40. package/dist/models/DeleteKnowledgeFileResponseBody.js +86 -0
  41. package/dist/models/DeleteKnowledgeFileResponseBody.js.map +1 -0
  42. package/dist/models/DescribeAccountsRequest.d.ts +7 -4
  43. package/dist/models/DescribeAccountsRequest.js +2 -0
  44. package/dist/models/DescribeAccountsRequest.js.map +1 -1
  45. package/dist/models/DescribeAccountsResponseBody.d.ts +43 -0
  46. package/dist/models/DescribeAccountsResponseBody.js +84 -1
  47. package/dist/models/DescribeAccountsResponseBody.js.map +1 -1
  48. package/dist/models/DescribeDbclusterPerformanceRequest.d.ts +9 -11
  49. package/dist/models/DescribeDbclusterPerformanceRequest.js.map +1 -1
  50. package/dist/models/DescribeDbclusterPerformanceResponseBody.d.ts +9 -10
  51. package/dist/models/DescribeDbclusterPerformanceResponseBody.js.map +1 -1
  52. package/dist/models/GetTableResponseBody.d.ts +1 -1
  53. package/dist/models/ListKnowledgeTagsRequest.d.ts +33 -0
  54. package/dist/models/ListKnowledgeTagsRequest.js +60 -0
  55. package/dist/models/ListKnowledgeTagsRequest.js.map +1 -0
  56. package/dist/models/ListKnowledgeTagsResponse.d.ts +19 -0
  57. package/dist/models/ListKnowledgeTagsResponse.js +69 -0
  58. package/dist/models/ListKnowledgeTagsResponse.js.map +1 -0
  59. package/dist/models/ListKnowledgeTagsResponseBody.d.ts +98 -0
  60. package/dist/models/ListKnowledgeTagsResponseBody.js +112 -0
  61. package/dist/models/ListKnowledgeTagsResponseBody.js.map +1 -0
  62. package/dist/models/ListKnowledgeUploadUserRequest.d.ts +33 -0
  63. package/dist/models/ListKnowledgeUploadUserRequest.js +60 -0
  64. package/dist/models/ListKnowledgeUploadUserRequest.js.map +1 -0
  65. package/dist/models/ListKnowledgeUploadUserResponse.d.ts +19 -0
  66. package/dist/models/ListKnowledgeUploadUserResponse.js +69 -0
  67. package/dist/models/ListKnowledgeUploadUserResponse.js.map +1 -0
  68. package/dist/models/ListKnowledgeUploadUserResponseBody.d.ts +70 -0
  69. package/dist/models/ListKnowledgeUploadUserResponseBody.js +91 -0
  70. package/dist/models/ListKnowledgeUploadUserResponseBody.js.map +1 -0
  71. package/dist/models/ModifyAccountDescriptionRequest.d.ts +11 -11
  72. package/dist/models/ModifyAccountDescriptionRequest.js +2 -0
  73. package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
  74. package/dist/models/ModifyAccountPrivilegesRequest.d.ts +13 -10
  75. package/dist/models/ModifyAccountPrivilegesRequest.js +14 -0
  76. package/dist/models/ModifyAccountPrivilegesRequest.js.map +1 -1
  77. package/dist/models/ModifyAccountPrivilegesShrinkRequest.d.ts +7 -4
  78. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js +8 -0
  79. package/dist/models/ModifyAccountPrivilegesShrinkRequest.js.map +1 -1
  80. package/dist/models/ModifyAuditLogConfigRequest.d.ts +11 -13
  81. package/dist/models/ModifyAuditLogConfigRequest.js.map +1 -1
  82. package/dist/models/ModifyAuditLogConfigResponseBody.d.ts +3 -4
  83. package/dist/models/ModifyAuditLogConfigResponseBody.js.map +1 -1
  84. package/dist/models/ModifyBackupPolicyRequest.d.ts +21 -25
  85. package/dist/models/ModifyBackupPolicyRequest.js.map +1 -1
  86. package/dist/models/ModifyDbresourceGroupRequest.d.ts +31 -31
  87. package/dist/models/ModifyDbresourceGroupShrinkRequest.d.ts +19 -19
  88. package/dist/models/RemoveKnowledgeTagsRequest.d.ts +41 -0
  89. package/dist/models/RemoveKnowledgeTagsRequest.js +62 -0
  90. package/dist/models/RemoveKnowledgeTagsRequest.js.map +1 -0
  91. package/dist/models/RemoveKnowledgeTagsResponse.d.ts +19 -0
  92. package/dist/models/RemoveKnowledgeTagsResponse.js +69 -0
  93. package/dist/models/RemoveKnowledgeTagsResponse.js.map +1 -0
  94. package/dist/models/RemoveKnowledgeTagsResponseBody.d.ts +73 -0
  95. package/dist/models/RemoveKnowledgeTagsResponseBody.js +88 -0
  96. package/dist/models/RemoveKnowledgeTagsResponseBody.js.map +1 -0
  97. package/dist/models/ResetAccountPasswordRequest.d.ts +14 -15
  98. package/dist/models/ResetAccountPasswordRequest.js +2 -0
  99. package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
  100. package/dist/models/model.d.ts +30 -0
  101. package/dist/models/model.js +88 -28
  102. package/dist/models/model.js.map +1 -1
  103. package/package.json +1 -1
  104. package/src/client.ts +390 -38
  105. package/src/models/AddKnowledgeTagsRequest.ts +58 -0
  106. package/src/models/AddKnowledgeTagsResponse.ts +40 -0
  107. package/src/models/AddKnowledgeTagsResponseBody.ts +176 -0
  108. package/src/models/AddKnowledgeUploadUserRequest.ts +60 -0
  109. package/src/models/AddKnowledgeUploadUserResponse.ts +40 -0
  110. package/src/models/AddKnowledgeUploadUserResponseBody.ts +157 -0
  111. package/src/models/CreateAccountRequest.ts +22 -4
  112. package/src/models/CreateAccountShrinkRequest.ts +16 -4
  113. package/src/models/CreateDbresourceGroupRequest.ts +27 -27
  114. package/src/models/CreateDbresourceGroupShrinkRequest.ts +13 -13
  115. package/src/models/DeleteAccountRequest.ts +9 -6
  116. package/src/models/DeleteKnowledgeFileRequest.ts +48 -0
  117. package/src/models/DeleteKnowledgeFileResponse.ts +40 -0
  118. package/src/models/DeleteKnowledgeFileResponseBody.ts +97 -0
  119. package/src/models/DescribeAccountsRequest.ts +9 -4
  120. package/src/models/DescribeAccountsResponseBody.ts +99 -0
  121. package/src/models/DescribeDbclusterPerformanceRequest.ts +9 -11
  122. package/src/models/DescribeDbclusterPerformanceResponseBody.ts +9 -10
  123. package/src/models/GetTableResponseBody.ts +1 -1
  124. package/src/models/ListKnowledgeTagsRequest.ts +48 -0
  125. package/src/models/ListKnowledgeTagsResponse.ts +40 -0
  126. package/src/models/ListKnowledgeTagsResponseBody.ts +147 -0
  127. package/src/models/ListKnowledgeUploadUserRequest.ts +48 -0
  128. package/src/models/ListKnowledgeUploadUserResponse.ts +40 -0
  129. package/src/models/ListKnowledgeUploadUserResponseBody.ts +107 -0
  130. package/src/models/ModifyAccountDescriptionRequest.ts +13 -11
  131. package/src/models/ModifyAccountPrivilegesRequest.ts +27 -10
  132. package/src/models/ModifyAccountPrivilegesShrinkRequest.ts +15 -4
  133. package/src/models/ModifyAuditLogConfigRequest.ts +11 -13
  134. package/src/models/ModifyAuditLogConfigResponseBody.ts +3 -4
  135. package/src/models/ModifyBackupPolicyRequest.ts +21 -25
  136. package/src/models/ModifyDbresourceGroupRequest.ts +31 -31
  137. package/src/models/ModifyDbresourceGroupShrinkRequest.ts +19 -19
  138. package/src/models/RemoveKnowledgeTagsRequest.ts +58 -0
  139. package/src/models/RemoveKnowledgeTagsResponse.ts +40 -0
  140. package/src/models/RemoveKnowledgeTagsResponseBody.ts +107 -0
  141. package/src/models/ResetAccountPasswordRequest.ts +16 -15
  142. package/src/models/model.ts +30 -0
package/src/client.ts CHANGED
@@ -141,6 +141,106 @@ export default class Client extends OpenApi {
141
141
  return await this.addKnowledgeFileWithOptions(request, runtime);
142
142
  }
143
143
 
144
+ /**
145
+ * Adds tags to a knowledge base document.
146
+ *
147
+ * @param request - AddKnowledgeTagsRequest
148
+ * @param runtime - runtime options for this request RuntimeOptions
149
+ * @returns AddKnowledgeTagsResponse
150
+ */
151
+ async addKnowledgeTagsWithOptions(request: $_model.AddKnowledgeTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddKnowledgeTagsResponse> {
152
+ request.validate();
153
+ let query = { };
154
+ if (!$dara.isNull(request.DBClusterId)) {
155
+ query["DBClusterId"] = request.DBClusterId;
156
+ }
157
+
158
+ if (!$dara.isNull(request.fileLocation)) {
159
+ query["FileLocation"] = request.fileLocation;
160
+ }
161
+
162
+ if (!$dara.isNull(request.tags)) {
163
+ query["Tags"] = request.tags;
164
+ }
165
+
166
+ let req = new $OpenApiUtil.OpenApiRequest({
167
+ query: OpenApiUtil.query(query),
168
+ });
169
+ let params = new $OpenApiUtil.Params({
170
+ action: "AddKnowledgeTags",
171
+ version: "2021-12-01",
172
+ protocol: "HTTPS",
173
+ pathname: "/",
174
+ method: "POST",
175
+ authType: "AK",
176
+ style: "RPC",
177
+ reqBodyType: "formData",
178
+ bodyType: "json",
179
+ });
180
+ return $dara.cast<$_model.AddKnowledgeTagsResponse>(await this.callApi(params, req, runtime), new $_model.AddKnowledgeTagsResponse({}));
181
+ }
182
+
183
+ /**
184
+ * Adds tags to a knowledge base document.
185
+ *
186
+ * @param request - AddKnowledgeTagsRequest
187
+ * @returns AddKnowledgeTagsResponse
188
+ */
189
+ async addKnowledgeTags(request: $_model.AddKnowledgeTagsRequest): Promise<$_model.AddKnowledgeTagsResponse> {
190
+ let runtime = new $dara.RuntimeOptions({ });
191
+ return await this.addKnowledgeTagsWithOptions(request, runtime);
192
+ }
193
+
194
+ /**
195
+ * Adds authorized users to a knowledge base document.
196
+ *
197
+ * @param request - AddKnowledgeUploadUserRequest
198
+ * @param runtime - runtime options for this request RuntimeOptions
199
+ * @returns AddKnowledgeUploadUserResponse
200
+ */
201
+ async addKnowledgeUploadUserWithOptions(request: $_model.AddKnowledgeUploadUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.AddKnowledgeUploadUserResponse> {
202
+ request.validate();
203
+ let query = { };
204
+ if (!$dara.isNull(request.DBClusterId)) {
205
+ query["DBClusterId"] = request.DBClusterId;
206
+ }
207
+
208
+ if (!$dara.isNull(request.fileLocation)) {
209
+ query["FileLocation"] = request.fileLocation;
210
+ }
211
+
212
+ if (!$dara.isNull(request.users)) {
213
+ query["Users"] = request.users;
214
+ }
215
+
216
+ let req = new $OpenApiUtil.OpenApiRequest({
217
+ query: OpenApiUtil.query(query),
218
+ });
219
+ let params = new $OpenApiUtil.Params({
220
+ action: "AddKnowledgeUploadUser",
221
+ version: "2021-12-01",
222
+ protocol: "HTTPS",
223
+ pathname: "/",
224
+ method: "POST",
225
+ authType: "AK",
226
+ style: "RPC",
227
+ reqBodyType: "formData",
228
+ bodyType: "json",
229
+ });
230
+ return $dara.cast<$_model.AddKnowledgeUploadUserResponse>(await this.callApi(params, req, runtime), new $_model.AddKnowledgeUploadUserResponse({}));
231
+ }
232
+
233
+ /**
234
+ * Adds authorized users to a knowledge base document.
235
+ *
236
+ * @param request - AddKnowledgeUploadUserRequest
237
+ * @returns AddKnowledgeUploadUserResponse
238
+ */
239
+ async addKnowledgeUploadUser(request: $_model.AddKnowledgeUploadUserRequest): Promise<$_model.AddKnowledgeUploadUserResponse> {
240
+ let runtime = new $dara.RuntimeOptions({ });
241
+ return await this.addKnowledgeUploadUserWithOptions(request, runtime);
242
+ }
243
+
144
244
  /**
145
245
  * Allocates a public connection address for a cluster.
146
246
  *
@@ -991,7 +1091,7 @@ export default class Client extends OpenApi {
991
1091
  * Creates a database account for a cluster.
992
1092
  *
993
1093
  * @remarks
994
- * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
1094
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
995
1095
  *
996
1096
  * @param tmpReq - CreateAccountRequest
997
1097
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1001,6 +1101,14 @@ export default class Client extends OpenApi {
1001
1101
  tmpReq.validate();
1002
1102
  let request = new $_model.CreateAccountShrinkRequest({ });
1003
1103
  OpenApiUtil.convert(tmpReq, request);
1104
+ if (!$dara.isNull(tmpReq.promqlInsertPrivileges)) {
1105
+ request.promqlInsertPrivilegesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlInsertPrivileges, "PromqlInsertPrivileges", "json");
1106
+ }
1107
+
1108
+ if (!$dara.isNull(tmpReq.promqlSelectPrivileges)) {
1109
+ request.promqlSelectPrivilegesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlSelectPrivileges, "PromqlSelectPrivileges", "json");
1110
+ }
1111
+
1004
1112
  if (!$dara.isNull(tmpReq.ramUserList)) {
1005
1113
  request.ramUserListShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.ramUserList, "RamUserList", "json");
1006
1114
  }
@@ -1030,10 +1138,26 @@ export default class Client extends OpenApi {
1030
1138
  query["Engine"] = request.engine;
1031
1139
  }
1032
1140
 
1141
+ if (!$dara.isNull(request.promqlInsertPrivilegesShrink)) {
1142
+ query["PromqlInsertPrivileges"] = request.promqlInsertPrivilegesShrink;
1143
+ }
1144
+
1145
+ if (!$dara.isNull(request.promqlSelectNodePercentage)) {
1146
+ query["PromqlSelectNodePercentage"] = request.promqlSelectNodePercentage;
1147
+ }
1148
+
1149
+ if (!$dara.isNull(request.promqlSelectPrivilegesShrink)) {
1150
+ query["PromqlSelectPrivileges"] = request.promqlSelectPrivilegesShrink;
1151
+ }
1152
+
1033
1153
  if (!$dara.isNull(request.ramUserListShrink)) {
1034
1154
  query["RamUserList"] = request.ramUserListShrink;
1035
1155
  }
1036
1156
 
1157
+ if (!$dara.isNull(request.resourceGroupName)) {
1158
+ query["ResourceGroupName"] = request.resourceGroupName;
1159
+ }
1160
+
1037
1161
  let req = new $OpenApiUtil.OpenApiRequest({
1038
1162
  query: OpenApiUtil.query(query),
1039
1163
  });
@@ -1055,7 +1179,7 @@ export default class Client extends OpenApi {
1055
1179
  * Creates a database account for a cluster.
1056
1180
  *
1057
1181
  * @remarks
1058
- * For information about the endpoint of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
1182
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
1059
1183
  *
1060
1184
  * @param request - CreateAccountRequest
1061
1185
  * @returns CreateAccountResponse
@@ -2003,7 +2127,7 @@ export default class Client extends OpenApi {
2003
2127
  * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
2004
2128
  *
2005
2129
  * @remarks
2006
- * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2130
+ * For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2007
2131
  *
2008
2132
  * @param tmpReq - CreateDBResourceGroupRequest
2009
2133
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2151,7 +2275,7 @@ export default class Client extends OpenApi {
2151
2275
  * Creates a resource group for a specified Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
2152
2276
  *
2153
2277
  * @remarks
2154
- * For the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2278
+ * For the endpoints of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2155
2279
  *
2156
2280
  * @param request - CreateDBResourceGroupRequest
2157
2281
  * @returns CreateDBResourceGroupResponse
@@ -2746,10 +2870,10 @@ export default class Client extends OpenApi {
2746
2870
  }
2747
2871
 
2748
2872
  /**
2749
- * Deletes a database account from an AnalyticDB for MySQL cluster.
2873
+ * Deletes a database account from a cluster.
2750
2874
  *
2751
2875
  * @remarks
2752
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
2876
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2753
2877
  *
2754
2878
  * @param request - DeleteAccountRequest
2755
2879
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2770,6 +2894,10 @@ export default class Client extends OpenApi {
2770
2894
  query["Engine"] = request.engine;
2771
2895
  }
2772
2896
 
2897
+ if (!$dara.isNull(request.resourceGroupName)) {
2898
+ query["ResourceGroupName"] = request.resourceGroupName;
2899
+ }
2900
+
2773
2901
  let req = new $OpenApiUtil.OpenApiRequest({
2774
2902
  query: OpenApiUtil.query(query),
2775
2903
  });
@@ -2788,10 +2916,10 @@ export default class Client extends OpenApi {
2788
2916
  }
2789
2917
 
2790
2918
  /**
2791
- * Deletes a database account from an AnalyticDB for MySQL cluster.
2919
+ * Deletes a database account from a cluster.
2792
2920
  *
2793
2921
  * @remarks
2794
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
2922
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
2795
2923
  *
2796
2924
  * @param request - DeleteAccountRequest
2797
2925
  * @returns DeleteAccountResponse
@@ -3255,6 +3383,52 @@ export default class Client extends OpenApi {
3255
3383
  return await this.deleteFormationCrawlerWithOptions(request, runtime);
3256
3384
  }
3257
3385
 
3386
+ /**
3387
+ * Deletes a knowledge base document.
3388
+ *
3389
+ * @param request - DeleteKnowledgeFileRequest
3390
+ * @param runtime - runtime options for this request RuntimeOptions
3391
+ * @returns DeleteKnowledgeFileResponse
3392
+ */
3393
+ async deleteKnowledgeFileWithOptions(request: $_model.DeleteKnowledgeFileRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteKnowledgeFileResponse> {
3394
+ request.validate();
3395
+ let query = { };
3396
+ if (!$dara.isNull(request.DBClusterId)) {
3397
+ query["DBClusterId"] = request.DBClusterId;
3398
+ }
3399
+
3400
+ if (!$dara.isNull(request.fileLocation)) {
3401
+ query["FileLocation"] = request.fileLocation;
3402
+ }
3403
+
3404
+ let req = new $OpenApiUtil.OpenApiRequest({
3405
+ query: OpenApiUtil.query(query),
3406
+ });
3407
+ let params = new $OpenApiUtil.Params({
3408
+ action: "DeleteKnowledgeFile",
3409
+ version: "2021-12-01",
3410
+ protocol: "HTTPS",
3411
+ pathname: "/",
3412
+ method: "POST",
3413
+ authType: "AK",
3414
+ style: "RPC",
3415
+ reqBodyType: "formData",
3416
+ bodyType: "json",
3417
+ });
3418
+ return $dara.cast<$_model.DeleteKnowledgeFileResponse>(await this.callApi(params, req, runtime), new $_model.DeleteKnowledgeFileResponse({}));
3419
+ }
3420
+
3421
+ /**
3422
+ * Deletes a knowledge base document.
3423
+ *
3424
+ * @param request - DeleteKnowledgeFileRequest
3425
+ * @returns DeleteKnowledgeFileResponse
3426
+ */
3427
+ async deleteKnowledgeFile(request: $_model.DeleteKnowledgeFileRequest): Promise<$_model.DeleteKnowledgeFileResponse> {
3428
+ let runtime = new $dara.RuntimeOptions({ });
3429
+ return await this.deleteKnowledgeFileWithOptions(request, runtime);
3430
+ }
3431
+
3258
3432
  /**
3259
3433
  * Deletes a lake storage.
3260
3434
  *
@@ -3949,7 +4123,7 @@ export default class Client extends OpenApi {
3949
4123
  * Queries the database accounts of a cluster.
3950
4124
  *
3951
4125
  * @remarks
3952
- * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4126
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
3953
4127
  *
3954
4128
  * @param request - DescribeAccountsRequest
3955
4129
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3974,6 +4148,10 @@ export default class Client extends OpenApi {
3974
4148
  query["OwnerId"] = request.ownerId;
3975
4149
  }
3976
4150
 
4151
+ if (!$dara.isNull(request.resourceGroupName)) {
4152
+ query["ResourceGroupName"] = request.resourceGroupName;
4153
+ }
4154
+
3977
4155
  let req = new $OpenApiUtil.OpenApiRequest({
3978
4156
  query: OpenApiUtil.query(query),
3979
4157
  });
@@ -3995,7 +4173,7 @@ export default class Client extends OpenApi {
3995
4173
  * Queries the database accounts of a cluster.
3996
4174
  *
3997
4175
  * @remarks
3998
- * For the endpoint of this service, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
4176
+ * For the service registration information of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
3999
4177
  *
4000
4178
  * @param request - DescribeAccountsRequest
4001
4179
  * @returns DescribeAccountsResponse
@@ -6108,10 +6286,10 @@ export default class Client extends OpenApi {
6108
6286
  }
6109
6287
 
6110
6288
  /**
6111
- * View target cluster performance data.
6289
+ * Queries the performance data of a specified cluster.
6112
6290
  *
6113
6291
  * @remarks
6114
- * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
6292
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
6115
6293
  *
6116
6294
  * @param request - DescribeDBClusterPerformanceRequest
6117
6295
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6162,10 +6340,10 @@ export default class Client extends OpenApi {
6162
6340
  }
6163
6341
 
6164
6342
  /**
6165
- * View target cluster performance data.
6343
+ * Queries the performance data of a specified cluster.
6166
6344
  *
6167
6345
  * @remarks
6168
- * For the service endpoint address, see [service endpoint](https://help.aliyun.com/document_detail/612373.html).
6346
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
6169
6347
  *
6170
6348
  * @param request - DescribeDBClusterPerformanceRequest
6171
6349
  * @returns DescribeDBClusterPerformanceResponse
@@ -11951,8 +12129,8 @@ export default class Client extends OpenApi {
11951
12129
  * Retrieves table information.
11952
12130
  *
11953
12131
  * @remarks
11954
- * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
11955
- * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
12132
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12133
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
11956
12134
  *
11957
12135
  * @param request - GetTableRequest
11958
12136
  * @param runtime - runtime options for this request RuntimeOptions
@@ -11998,8 +12176,8 @@ export default class Client extends OpenApi {
11998
12176
  * Retrieves table information.
11999
12177
  *
12000
12178
  * @remarks
12001
- * - Public endpoint of the region: `adb.<region-id>.aliyuncs.com`. Example: `adb.ap-southeast-1.aliyuncs.com`.
12002
- * - VPC endpoint of the region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.ap-southeast-1.aliyuncs.com`.
12179
+ * - Public endpoint of a region: `adb.<region-id>.aliyuncs.com`. Example: `adb.cn-hangzhou.aliyuncs.com`.
12180
+ * - VPC endpoint of a region: `adb-vpc.<region-id>.aliyuncs.com`. Example: `adb-vpc.cn-hangzhou.aliyuncs.com`.
12003
12181
  *
12004
12182
  * @param request - GetTableRequest
12005
12183
  * @returns GetTableResponse
@@ -12712,6 +12890,98 @@ export default class Client extends OpenApi {
12712
12890
  return await this.listApsWebhookWithOptions(request, runtime);
12713
12891
  }
12714
12892
 
12893
+ /**
12894
+ * Queries the tags of a knowledge base document.
12895
+ *
12896
+ * @param request - ListKnowledgeTagsRequest
12897
+ * @param runtime - runtime options for this request RuntimeOptions
12898
+ * @returns ListKnowledgeTagsResponse
12899
+ */
12900
+ async listKnowledgeTagsWithOptions(request: $_model.ListKnowledgeTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListKnowledgeTagsResponse> {
12901
+ request.validate();
12902
+ let query = { };
12903
+ if (!$dara.isNull(request.DBClusterId)) {
12904
+ query["DBClusterId"] = request.DBClusterId;
12905
+ }
12906
+
12907
+ if (!$dara.isNull(request.fileLocation)) {
12908
+ query["FileLocation"] = request.fileLocation;
12909
+ }
12910
+
12911
+ let req = new $OpenApiUtil.OpenApiRequest({
12912
+ query: OpenApiUtil.query(query),
12913
+ });
12914
+ let params = new $OpenApiUtil.Params({
12915
+ action: "ListKnowledgeTags",
12916
+ version: "2021-12-01",
12917
+ protocol: "HTTPS",
12918
+ pathname: "/",
12919
+ method: "POST",
12920
+ authType: "AK",
12921
+ style: "RPC",
12922
+ reqBodyType: "formData",
12923
+ bodyType: "json",
12924
+ });
12925
+ return $dara.cast<$_model.ListKnowledgeTagsResponse>(await this.callApi(params, req, runtime), new $_model.ListKnowledgeTagsResponse({}));
12926
+ }
12927
+
12928
+ /**
12929
+ * Queries the tags of a knowledge base document.
12930
+ *
12931
+ * @param request - ListKnowledgeTagsRequest
12932
+ * @returns ListKnowledgeTagsResponse
12933
+ */
12934
+ async listKnowledgeTags(request: $_model.ListKnowledgeTagsRequest): Promise<$_model.ListKnowledgeTagsResponse> {
12935
+ let runtime = new $dara.RuntimeOptions({ });
12936
+ return await this.listKnowledgeTagsWithOptions(request, runtime);
12937
+ }
12938
+
12939
+ /**
12940
+ * Queries the authorized users of a knowledge base document.
12941
+ *
12942
+ * @param request - ListKnowledgeUploadUserRequest
12943
+ * @param runtime - runtime options for this request RuntimeOptions
12944
+ * @returns ListKnowledgeUploadUserResponse
12945
+ */
12946
+ async listKnowledgeUploadUserWithOptions(request: $_model.ListKnowledgeUploadUserRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListKnowledgeUploadUserResponse> {
12947
+ request.validate();
12948
+ let query = { };
12949
+ if (!$dara.isNull(request.DBClusterId)) {
12950
+ query["DBClusterId"] = request.DBClusterId;
12951
+ }
12952
+
12953
+ if (!$dara.isNull(request.fileLocation)) {
12954
+ query["FileLocation"] = request.fileLocation;
12955
+ }
12956
+
12957
+ let req = new $OpenApiUtil.OpenApiRequest({
12958
+ query: OpenApiUtil.query(query),
12959
+ });
12960
+ let params = new $OpenApiUtil.Params({
12961
+ action: "ListKnowledgeUploadUser",
12962
+ version: "2021-12-01",
12963
+ protocol: "HTTPS",
12964
+ pathname: "/",
12965
+ method: "POST",
12966
+ authType: "AK",
12967
+ style: "RPC",
12968
+ reqBodyType: "formData",
12969
+ bodyType: "json",
12970
+ });
12971
+ return $dara.cast<$_model.ListKnowledgeUploadUserResponse>(await this.callApi(params, req, runtime), new $_model.ListKnowledgeUploadUserResponse({}));
12972
+ }
12973
+
12974
+ /**
12975
+ * Queries the authorized users of a knowledge base document.
12976
+ *
12977
+ * @param request - ListKnowledgeUploadUserRequest
12978
+ * @returns ListKnowledgeUploadUserResponse
12979
+ */
12980
+ async listKnowledgeUploadUser(request: $_model.ListKnowledgeUploadUserRequest): Promise<$_model.ListKnowledgeUploadUserResponse> {
12981
+ let runtime = new $dara.RuntimeOptions({ });
12982
+ return await this.listKnowledgeUploadUserWithOptions(request, runtime);
12983
+ }
12984
+
12715
12985
  /**
12716
12986
  * Queries a list of lake storages.
12717
12987
  *
@@ -13321,10 +13591,10 @@ export default class Client extends OpenApi {
13321
13591
  }
13322
13592
 
13323
13593
  /**
13324
- * Modifies the description of a database account for an AnalyticDB for MySQL cluster.
13594
+ * Modifies the description of a database account for a specified cluster.
13325
13595
  *
13326
13596
  * @remarks
13327
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
13597
+ * For information about the service registration of the current service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
13328
13598
  *
13329
13599
  * @param request - ModifyAccountDescriptionRequest
13330
13600
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13349,6 +13619,10 @@ export default class Client extends OpenApi {
13349
13619
  query["Engine"] = request.engine;
13350
13620
  }
13351
13621
 
13622
+ if (!$dara.isNull(request.resourceGroupName)) {
13623
+ query["ResourceGroupName"] = request.resourceGroupName;
13624
+ }
13625
+
13352
13626
  let req = new $OpenApiUtil.OpenApiRequest({
13353
13627
  query: OpenApiUtil.query(query),
13354
13628
  });
@@ -13367,10 +13641,10 @@ export default class Client extends OpenApi {
13367
13641
  }
13368
13642
 
13369
13643
  /**
13370
- * Modifies the description of a database account for an AnalyticDB for MySQL cluster.
13644
+ * Modifies the description of a database account for a specified cluster.
13371
13645
  *
13372
13646
  * @remarks
13373
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
13647
+ * For information about the service registration of the current service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
13374
13648
  *
13375
13649
  * @param request - ModifyAccountDescriptionRequest
13376
13650
  * @returns ModifyAccountDescriptionResponse
@@ -13384,7 +13658,7 @@ export default class Client extends OpenApi {
13384
13658
  * Modifies the permissions of a database account.
13385
13659
  *
13386
13660
  * @remarks
13387
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
13661
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
13388
13662
  *
13389
13663
  * @param tmpReq - ModifyAccountPrivilegesRequest
13390
13664
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13398,6 +13672,14 @@ export default class Client extends OpenApi {
13398
13672
  request.accountPrivilegesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.accountPrivileges, "AccountPrivileges", "json");
13399
13673
  }
13400
13674
 
13675
+ if (!$dara.isNull(tmpReq.promqlInsertPrivileges)) {
13676
+ request.promqlInsertPrivilegesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlInsertPrivileges, "PromqlInsertPrivileges", "json");
13677
+ }
13678
+
13679
+ if (!$dara.isNull(tmpReq.promqlSelectPrivileges)) {
13680
+ request.promqlSelectPrivilegesShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.promqlSelectPrivileges, "PromqlSelectPrivileges", "json");
13681
+ }
13682
+
13401
13683
  let query = { };
13402
13684
  if (!$dara.isNull(request.accountName)) {
13403
13685
  query["AccountName"] = request.accountName;
@@ -13411,10 +13693,26 @@ export default class Client extends OpenApi {
13411
13693
  query["DBClusterId"] = request.DBClusterId;
13412
13694
  }
13413
13695
 
13696
+ if (!$dara.isNull(request.promqlInsertPrivilegesShrink)) {
13697
+ query["PromqlInsertPrivileges"] = request.promqlInsertPrivilegesShrink;
13698
+ }
13699
+
13700
+ if (!$dara.isNull(request.promqlSelectNodePercentage)) {
13701
+ query["PromqlSelectNodePercentage"] = request.promqlSelectNodePercentage;
13702
+ }
13703
+
13704
+ if (!$dara.isNull(request.promqlSelectPrivilegesShrink)) {
13705
+ query["PromqlSelectPrivileges"] = request.promqlSelectPrivilegesShrink;
13706
+ }
13707
+
13414
13708
  if (!$dara.isNull(request.regionId)) {
13415
13709
  query["RegionId"] = request.regionId;
13416
13710
  }
13417
13711
 
13712
+ if (!$dara.isNull(request.resourceGroupName)) {
13713
+ query["ResourceGroupName"] = request.resourceGroupName;
13714
+ }
13715
+
13418
13716
  let req = new $OpenApiUtil.OpenApiRequest({
13419
13717
  query: OpenApiUtil.query(query),
13420
13718
  });
@@ -13436,7 +13734,7 @@ export default class Client extends OpenApi {
13436
13734
  * Modifies the permissions of a database account.
13437
13735
  *
13438
13736
  * @remarks
13439
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
13737
+ * For the service registration of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
13440
13738
  *
13441
13739
  * @param request - ModifyAccountPrivilegesRequest
13442
13740
  * @returns ModifyAccountPrivilegesResponse
@@ -13773,10 +14071,10 @@ export default class Client extends OpenApi {
13773
14071
  }
13774
14072
 
13775
14073
  /**
13776
- * Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
14074
+ * Modifies the SQL audit log settings of a cluster.
13777
14075
  *
13778
14076
  * @remarks
13779
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14077
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
13780
14078
  *
13781
14079
  * @param request - ModifyAuditLogConfigRequest
13782
14080
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13835,10 +14133,10 @@ export default class Client extends OpenApi {
13835
14133
  }
13836
14134
 
13837
14135
  /**
13838
- * Modifies the SQL audit settings of an AnalyticDB for MySQL cluster.
14136
+ * Modifies the SQL audit log settings of a cluster.
13839
14137
  *
13840
14138
  * @remarks
13841
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14139
+ * For the endpoint of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
13842
14140
  *
13843
14141
  * @param request - ModifyAuditLogConfigRequest
13844
14142
  * @returns ModifyAuditLogConfigResponse
@@ -13923,10 +14221,10 @@ export default class Client extends OpenApi {
13923
14221
  }
13924
14222
 
13925
14223
  /**
13926
- * Modifies the backup policy of an AnalyticDB for MySQL cluster.
14224
+ * Modifies the backup policy of a cluster.
13927
14225
  *
13928
14226
  * @remarks
13929
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14227
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
13930
14228
  *
13931
14229
  * @param request - ModifyBackupPolicyRequest
13932
14230
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13993,10 +14291,10 @@ export default class Client extends OpenApi {
13993
14291
  }
13994
14292
 
13995
14293
  /**
13996
- * Modifies the backup policy of an AnalyticDB for MySQL cluster.
14294
+ * Modifies the backup policy of a cluster.
13997
14295
  *
13998
14296
  * @remarks
13999
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
14297
+ * For information about the endpoint of the current service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
14000
14298
  *
14001
14299
  * @param request - ModifyBackupPolicyRequest
14002
14300
  * @returns ModifyBackupPolicyResponse
@@ -14544,7 +14842,7 @@ export default class Client extends OpenApi {
14544
14842
  * Changes the resource group of a cluster.
14545
14843
  *
14546
14844
  * @remarks
14547
- * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
14845
+ * For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
14548
14846
  *
14549
14847
  * @param tmpReq - ModifyDBResourceGroupRequest
14550
14848
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14684,7 +14982,7 @@ export default class Client extends OpenApi {
14684
14982
  * Changes the resource group of a cluster.
14685
14983
  *
14686
14984
  * @remarks
14687
- * For information about the endpoints of this service, see [Service registration](https://help.aliyun.com/document_detail/612373.html).
14985
+ * For the endpoint of this service, refer to [Endpoint](https://help.aliyun.com/document_detail/612373.html).
14688
14986
  *
14689
14987
  * @param request - ModifyDBResourceGroupRequest
14690
14988
  * @returns ModifyDBResourceGroupResponse
@@ -15590,6 +15888,56 @@ export default class Client extends OpenApi {
15590
15888
  return await this.releaseClusterPublicConnectionWithOptions(request, runtime);
15591
15889
  }
15592
15890
 
15891
+ /**
15892
+ * Deletes tags from a knowledge base document.
15893
+ *
15894
+ * @param request - RemoveKnowledgeTagsRequest
15895
+ * @param runtime - runtime options for this request RuntimeOptions
15896
+ * @returns RemoveKnowledgeTagsResponse
15897
+ */
15898
+ async removeKnowledgeTagsWithOptions(request: $_model.RemoveKnowledgeTagsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveKnowledgeTagsResponse> {
15899
+ request.validate();
15900
+ let query = { };
15901
+ if (!$dara.isNull(request.DBClusterId)) {
15902
+ query["DBClusterId"] = request.DBClusterId;
15903
+ }
15904
+
15905
+ if (!$dara.isNull(request.fileLocation)) {
15906
+ query["FileLocation"] = request.fileLocation;
15907
+ }
15908
+
15909
+ if (!$dara.isNull(request.tags)) {
15910
+ query["Tags"] = request.tags;
15911
+ }
15912
+
15913
+ let req = new $OpenApiUtil.OpenApiRequest({
15914
+ query: OpenApiUtil.query(query),
15915
+ });
15916
+ let params = new $OpenApiUtil.Params({
15917
+ action: "RemoveKnowledgeTags",
15918
+ version: "2021-12-01",
15919
+ protocol: "HTTPS",
15920
+ pathname: "/",
15921
+ method: "POST",
15922
+ authType: "AK",
15923
+ style: "RPC",
15924
+ reqBodyType: "formData",
15925
+ bodyType: "json",
15926
+ });
15927
+ return $dara.cast<$_model.RemoveKnowledgeTagsResponse>(await this.callApi(params, req, runtime), new $_model.RemoveKnowledgeTagsResponse({}));
15928
+ }
15929
+
15930
+ /**
15931
+ * Deletes tags from a knowledge base document.
15932
+ *
15933
+ * @param request - RemoveKnowledgeTagsRequest
15934
+ * @returns RemoveKnowledgeTagsResponse
15935
+ */
15936
+ async removeKnowledgeTags(request: $_model.RemoveKnowledgeTagsRequest): Promise<$_model.RemoveKnowledgeTagsResponse> {
15937
+ let runtime = new $dara.RuntimeOptions({ });
15938
+ return await this.removeKnowledgeTagsWithOptions(request, runtime);
15939
+ }
15940
+
15593
15941
  /**
15594
15942
  * Modifies the name of a semantic view.
15595
15943
  *
@@ -15703,10 +16051,10 @@ export default class Client extends OpenApi {
15703
16051
  }
15704
16052
 
15705
16053
  /**
15706
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
16054
+ * Resets the password of a database account for a specified cluster.
15707
16055
  *
15708
16056
  * @remarks
15709
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
16057
+ * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
15710
16058
  *
15711
16059
  * @param request - ResetAccountPasswordRequest
15712
16060
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15735,6 +16083,10 @@ export default class Client extends OpenApi {
15735
16083
  query["Engine"] = request.engine;
15736
16084
  }
15737
16085
 
16086
+ if (!$dara.isNull(request.resourceGroupName)) {
16087
+ query["ResourceGroupName"] = request.resourceGroupName;
16088
+ }
16089
+
15738
16090
  let req = new $OpenApiUtil.OpenApiRequest({
15739
16091
  query: OpenApiUtil.query(query),
15740
16092
  });
@@ -15753,10 +16105,10 @@ export default class Client extends OpenApi {
15753
16105
  }
15754
16106
 
15755
16107
  /**
15756
- * Resets the password of a database account for an AnalyticDB for MySQL cluster.
16108
+ * Resets the password of a database account for a specified cluster.
15757
16109
  *
15758
16110
  * @remarks
15759
- * For information about the endpoints of AnalyticDB for MySQL, see [Endpoints](https://help.aliyun.com/document_detail/612373.html).
16111
+ * For information about the service registration of this service, see [Endpoint](https://help.aliyun.com/document_detail/612373.html).
15760
16112
  *
15761
16113
  * @param request - ResetAccountPasswordRequest
15762
16114
  * @returns ResetAccountPasswordResponse