@alicloud/adb20211201 5.1.4 → 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 (87) hide show
  1. package/dist/client.d.ts +98 -8
  2. package/dist/client.js +269 -8
  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/DeleteKnowledgeFileRequest.d.ts +33 -0
  23. package/dist/models/DeleteKnowledgeFileRequest.js +60 -0
  24. package/dist/models/DeleteKnowledgeFileRequest.js.map +1 -0
  25. package/dist/models/DeleteKnowledgeFileResponse.d.ts +19 -0
  26. package/dist/models/DeleteKnowledgeFileResponse.js +69 -0
  27. package/dist/models/DeleteKnowledgeFileResponse.js.map +1 -0
  28. package/dist/models/DeleteKnowledgeFileResponseBody.d.ts +65 -0
  29. package/dist/models/DeleteKnowledgeFileResponseBody.js +86 -0
  30. package/dist/models/DeleteKnowledgeFileResponseBody.js.map +1 -0
  31. package/dist/models/ListKnowledgeTagsRequest.d.ts +33 -0
  32. package/dist/models/ListKnowledgeTagsRequest.js +60 -0
  33. package/dist/models/ListKnowledgeTagsRequest.js.map +1 -0
  34. package/dist/models/ListKnowledgeTagsResponse.d.ts +19 -0
  35. package/dist/models/ListKnowledgeTagsResponse.js +69 -0
  36. package/dist/models/ListKnowledgeTagsResponse.js.map +1 -0
  37. package/dist/models/ListKnowledgeTagsResponseBody.d.ts +98 -0
  38. package/dist/models/ListKnowledgeTagsResponseBody.js +112 -0
  39. package/dist/models/ListKnowledgeTagsResponseBody.js.map +1 -0
  40. package/dist/models/ListKnowledgeUploadUserRequest.d.ts +33 -0
  41. package/dist/models/ListKnowledgeUploadUserRequest.js +60 -0
  42. package/dist/models/ListKnowledgeUploadUserRequest.js.map +1 -0
  43. package/dist/models/ListKnowledgeUploadUserResponse.d.ts +19 -0
  44. package/dist/models/ListKnowledgeUploadUserResponse.js +69 -0
  45. package/dist/models/ListKnowledgeUploadUserResponse.js.map +1 -0
  46. package/dist/models/ListKnowledgeUploadUserResponseBody.d.ts +70 -0
  47. package/dist/models/ListKnowledgeUploadUserResponseBody.js +91 -0
  48. package/dist/models/ListKnowledgeUploadUserResponseBody.js.map +1 -0
  49. package/dist/models/ModifyAccountDescriptionRequest.d.ts +10 -11
  50. package/dist/models/ModifyAccountDescriptionRequest.js.map +1 -1
  51. package/dist/models/RemoveKnowledgeTagsRequest.d.ts +41 -0
  52. package/dist/models/RemoveKnowledgeTagsRequest.js +62 -0
  53. package/dist/models/RemoveKnowledgeTagsRequest.js.map +1 -0
  54. package/dist/models/RemoveKnowledgeTagsResponse.d.ts +19 -0
  55. package/dist/models/RemoveKnowledgeTagsResponse.js +69 -0
  56. package/dist/models/RemoveKnowledgeTagsResponse.js.map +1 -0
  57. package/dist/models/RemoveKnowledgeTagsResponseBody.d.ts +73 -0
  58. package/dist/models/RemoveKnowledgeTagsResponseBody.js +88 -0
  59. package/dist/models/RemoveKnowledgeTagsResponseBody.js.map +1 -0
  60. package/dist/models/ResetAccountPasswordRequest.d.ts +13 -15
  61. package/dist/models/ResetAccountPasswordRequest.js.map +1 -1
  62. package/dist/models/model.d.ts +27 -0
  63. package/dist/models/model.js +77 -23
  64. package/dist/models/model.js.map +1 -1
  65. package/package.json +1 -1
  66. package/src/client.ts +296 -8
  67. package/src/models/AddKnowledgeTagsRequest.ts +58 -0
  68. package/src/models/AddKnowledgeTagsResponse.ts +40 -0
  69. package/src/models/AddKnowledgeTagsResponseBody.ts +176 -0
  70. package/src/models/AddKnowledgeUploadUserRequest.ts +60 -0
  71. package/src/models/AddKnowledgeUploadUserResponse.ts +40 -0
  72. package/src/models/AddKnowledgeUploadUserResponseBody.ts +157 -0
  73. package/src/models/DeleteKnowledgeFileRequest.ts +48 -0
  74. package/src/models/DeleteKnowledgeFileResponse.ts +40 -0
  75. package/src/models/DeleteKnowledgeFileResponseBody.ts +97 -0
  76. package/src/models/ListKnowledgeTagsRequest.ts +48 -0
  77. package/src/models/ListKnowledgeTagsResponse.ts +40 -0
  78. package/src/models/ListKnowledgeTagsResponseBody.ts +147 -0
  79. package/src/models/ListKnowledgeUploadUserRequest.ts +48 -0
  80. package/src/models/ListKnowledgeUploadUserResponse.ts +40 -0
  81. package/src/models/ListKnowledgeUploadUserResponseBody.ts +107 -0
  82. package/src/models/ModifyAccountDescriptionRequest.ts +10 -11
  83. package/src/models/RemoveKnowledgeTagsRequest.ts +58 -0
  84. package/src/models/RemoveKnowledgeTagsResponse.ts +40 -0
  85. package/src/models/RemoveKnowledgeTagsResponseBody.ts +107 -0
  86. package/src/models/ResetAccountPasswordRequest.ts +13 -15
  87. package/src/models/model.ts +27 -0
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListKnowledgeTagsResponseBody } from "./ListKnowledgeTagsResponseBody";
4
+
5
+
6
+ export class ListKnowledgeTagsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListKnowledgeTagsResponseBody;
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: ListKnowledgeTagsResponseBody,
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,147 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListKnowledgeTagsResponseBodyDataTags extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key.
9
+ *
10
+ * @example
11
+ * key_name
12
+ */
13
+ tagKey?: string;
14
+ /**
15
+ * @remarks
16
+ * The tag value.
17
+ *
18
+ * @example
19
+ * test_value
20
+ */
21
+ tagValue?: string;
22
+ static names(): { [key: string]: string } {
23
+ return {
24
+ tagKey: 'TagKey',
25
+ tagValue: 'TagValue',
26
+ };
27
+ }
28
+
29
+ static types(): { [key: string]: any } {
30
+ return {
31
+ tagKey: 'string',
32
+ tagValue: 'string',
33
+ };
34
+ }
35
+
36
+ validate() {
37
+ super.validate();
38
+ }
39
+
40
+ constructor(map?: { [key: string]: any }) {
41
+ super(map);
42
+ }
43
+ }
44
+
45
+ export class ListKnowledgeTagsResponseBodyData extends $dara.Model {
46
+ /**
47
+ * @remarks
48
+ * The location of the knowledge base file.
49
+ *
50
+ * @example
51
+ * oss://bucket/doc.pdf
52
+ */
53
+ fileLocation?: string;
54
+ /**
55
+ * @remarks
56
+ * The prompt message.
57
+ *
58
+ * @example
59
+ * Successful
60
+ */
61
+ message?: string;
62
+ /**
63
+ * @remarks
64
+ * Indicates whether the request was successful. Valid values:
65
+ *
66
+ * - **true**: The request was successful.
67
+ * - **false**: The request failed.
68
+ *
69
+ * @example
70
+ * true
71
+ */
72
+ success?: boolean;
73
+ /**
74
+ * @remarks
75
+ * The list details.
76
+ */
77
+ tags?: ListKnowledgeTagsResponseBodyDataTags[];
78
+ static names(): { [key: string]: string } {
79
+ return {
80
+ fileLocation: 'FileLocation',
81
+ message: 'Message',
82
+ success: 'Success',
83
+ tags: 'Tags',
84
+ };
85
+ }
86
+
87
+ static types(): { [key: string]: any } {
88
+ return {
89
+ fileLocation: 'string',
90
+ message: 'string',
91
+ success: 'boolean',
92
+ tags: { 'type': 'array', 'itemType': ListKnowledgeTagsResponseBodyDataTags },
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ if(Array.isArray(this.tags)) {
98
+ $dara.Model.validateArray(this.tags);
99
+ }
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
108
+ export class ListKnowledgeTagsResponseBody extends $dara.Model {
109
+ /**
110
+ * @remarks
111
+ * The returned data.
112
+ */
113
+ data?: ListKnowledgeTagsResponseBodyData;
114
+ /**
115
+ * @remarks
116
+ * Id of the request
117
+ *
118
+ * @example
119
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
120
+ */
121
+ requestId?: string;
122
+ static names(): { [key: string]: string } {
123
+ return {
124
+ data: 'Data',
125
+ requestId: 'RequestId',
126
+ };
127
+ }
128
+
129
+ static types(): { [key: string]: any } {
130
+ return {
131
+ data: ListKnowledgeTagsResponseBodyData,
132
+ requestId: 'string',
133
+ };
134
+ }
135
+
136
+ validate() {
137
+ if(this.data && typeof (this.data as any).validate === 'function') {
138
+ (this.data as any).validate();
139
+ }
140
+ super.validate();
141
+ }
142
+
143
+ constructor(map?: { [key: string]: any }) {
144
+ super(map);
145
+ }
146
+ }
147
+
@@ -0,0 +1,48 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListKnowledgeUploadUserRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The ADB instance ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * am-bp19aaaaaa****
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @remarks
18
+ * The location of the knowledge base document.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * oss://bucket/doc.pdf
24
+ */
25
+ fileLocation?: string;
26
+ static names(): { [key: string]: string } {
27
+ return {
28
+ DBClusterId: 'DBClusterId',
29
+ fileLocation: 'FileLocation',
30
+ };
31
+ }
32
+
33
+ static types(): { [key: string]: any } {
34
+ return {
35
+ DBClusterId: 'string',
36
+ fileLocation: 'string',
37
+ };
38
+ }
39
+
40
+ validate() {
41
+ super.validate();
42
+ }
43
+
44
+ constructor(map?: { [key: string]: any }) {
45
+ super(map);
46
+ }
47
+ }
48
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { ListKnowledgeUploadUserResponseBody } from "./ListKnowledgeUploadUserResponseBody";
4
+
5
+
6
+ export class ListKnowledgeUploadUserResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: ListKnowledgeUploadUserResponseBody;
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: ListKnowledgeUploadUserResponseBody,
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,107 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class ListKnowledgeUploadUserResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The location of the knowledge base file.
9
+ *
10
+ * @example
11
+ * oss://bucket/doc.pdf
12
+ */
13
+ fileLocation?: string;
14
+ /**
15
+ * @remarks
16
+ * The prompt message.
17
+ *
18
+ * @example
19
+ * Successful
20
+ */
21
+ message?: string;
22
+ /**
23
+ * @remarks
24
+ * Indicates whether the request was successful. Valid values:
25
+ *
26
+ * - **true**: The request was successful.
27
+ * - **false**: The request failed.
28
+ *
29
+ * @example
30
+ * true
31
+ */
32
+ success?: boolean;
33
+ /**
34
+ * @remarks
35
+ * The list of authorized users.
36
+ */
37
+ users?: string[];
38
+ static names(): { [key: string]: string } {
39
+ return {
40
+ fileLocation: 'FileLocation',
41
+ message: 'Message',
42
+ success: 'Success',
43
+ users: 'Users',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ fileLocation: 'string',
50
+ message: 'string',
51
+ success: 'boolean',
52
+ users: { 'type': 'array', 'itemType': 'string' },
53
+ };
54
+ }
55
+
56
+ validate() {
57
+ if(Array.isArray(this.users)) {
58
+ $dara.Model.validateArray(this.users);
59
+ }
60
+ super.validate();
61
+ }
62
+
63
+ constructor(map?: { [key: string]: any }) {
64
+ super(map);
65
+ }
66
+ }
67
+
68
+ export class ListKnowledgeUploadUserResponseBody extends $dara.Model {
69
+ /**
70
+ * @remarks
71
+ * The returned data.
72
+ */
73
+ data?: ListKnowledgeUploadUserResponseBodyData;
74
+ /**
75
+ * @remarks
76
+ * Id of the request
77
+ *
78
+ * @example
79
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
80
+ */
81
+ requestId?: string;
82
+ static names(): { [key: string]: string } {
83
+ return {
84
+ data: 'Data',
85
+ requestId: 'RequestId',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ data: ListKnowledgeUploadUserResponseBodyData,
92
+ requestId: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ if(this.data && typeof (this.data as any).validate === 'function') {
98
+ (this.data as any).validate();
99
+ }
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ModifyAccountDescriptionRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The description of the database account.
9
- *
10
- * * The description cannot start with `http://` or `https://`.
11
- * * The description must be 2 to 256 characters in length.
8
+ * The description of the account.
9
+ * - The description cannot start with `http://` or `https://`.
10
+ * - The description must be 2 to 256 characters in length.
12
11
  *
13
12
  * This parameter is required.
14
13
  *
@@ -18,9 +17,8 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
18
17
  accountDescription?: string;
19
18
  /**
20
19
  * @remarks
21
- * The name of the database account.
22
- *
23
- * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts of an AnalyticDB for MySQL cluster, including database account names.
20
+ * The database account.
21
+ * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the database account information of a specified cluster, including the database account.
24
22
  *
25
23
  * This parameter is required.
26
24
  *
@@ -30,7 +28,8 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
30
28
  accountName?: string;
31
29
  /**
32
30
  * @remarks
33
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition (V3.0) cluster.
31
+ * <props="china">The ID of the cluster. The cluster can be an Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
32
+ * <props="intl">The ID of the Data Lakehouse Edition cluster.
34
33
  *
35
34
  * This parameter is required.
36
35
  *
@@ -40,10 +39,10 @@ export class ModifyAccountDescriptionRequest extends $dara.Model {
40
39
  DBClusterId?: string;
41
40
  /**
42
41
  * @remarks
43
- * The database engine of the cluster. Valid values:
42
+ * The database engine. Valid values:
44
43
  *
45
- * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
46
- * * **Clickhouse**: the wide table engine.
44
+ * - **AnalyticDB** (default): the AnalyticDB for MySQL engine.
45
+ * - **Clickhouse**: the wide table engine.
47
46
  *
48
47
  * @example
49
48
  * Clickhouse
@@ -0,0 +1,58 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RemoveKnowledgeTagsRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The database cluster ID.
9
+ *
10
+ * This parameter is required.
11
+ *
12
+ * @example
13
+ * am-bp19aaaaaa****
14
+ */
15
+ DBClusterId?: string;
16
+ /**
17
+ * @remarks
18
+ * The location of the knowledge base document.
19
+ *
20
+ * This parameter is required.
21
+ *
22
+ * @example
23
+ * oss://bucket/doc.pdf
24
+ */
25
+ fileLocation?: string;
26
+ /**
27
+ * @remarks
28
+ * The JSON string of the tag array to delete.
29
+ *
30
+ * @example
31
+ * [{"tag_key":"biz.scene","tag_value":"test"}]
32
+ */
33
+ tags?: string;
34
+ static names(): { [key: string]: string } {
35
+ return {
36
+ DBClusterId: 'DBClusterId',
37
+ fileLocation: 'FileLocation',
38
+ tags: 'Tags',
39
+ };
40
+ }
41
+
42
+ static types(): { [key: string]: any } {
43
+ return {
44
+ DBClusterId: 'string',
45
+ fileLocation: 'string',
46
+ tags: 'string',
47
+ };
48
+ }
49
+
50
+ validate() {
51
+ super.validate();
52
+ }
53
+
54
+ constructor(map?: { [key: string]: any }) {
55
+ super(map);
56
+ }
57
+ }
58
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { RemoveKnowledgeTagsResponseBody } from "./RemoveKnowledgeTagsResponseBody";
4
+
5
+
6
+ export class RemoveKnowledgeTagsResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: RemoveKnowledgeTagsResponseBody;
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: RemoveKnowledgeTagsResponseBody,
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,107 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class RemoveKnowledgeTagsResponseBodyData extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The location of the knowledge base file.
9
+ *
10
+ * @example
11
+ * oss://bucket/doc.pdf
12
+ */
13
+ fileLocation?: string;
14
+ /**
15
+ * @remarks
16
+ * The message returned by the operation.
17
+ *
18
+ * @example
19
+ * Successful
20
+ */
21
+ message?: string;
22
+ /**
23
+ * @remarks
24
+ * The number of tags that were successfully deleted.
25
+ *
26
+ * @example
27
+ * 1
28
+ */
29
+ removed?: number;
30
+ /**
31
+ * @remarks
32
+ * Indicates whether the request was successful. Valid values:
33
+ *
34
+ * - **true**: The request was successful.
35
+ * - **false**: The request failed.
36
+ *
37
+ * @example
38
+ * true
39
+ */
40
+ success?: boolean;
41
+ static names(): { [key: string]: string } {
42
+ return {
43
+ fileLocation: 'FileLocation',
44
+ message: 'Message',
45
+ removed: 'Removed',
46
+ success: 'Success',
47
+ };
48
+ }
49
+
50
+ static types(): { [key: string]: any } {
51
+ return {
52
+ fileLocation: 'string',
53
+ message: 'string',
54
+ removed: 'number',
55
+ success: 'boolean',
56
+ };
57
+ }
58
+
59
+ validate() {
60
+ super.validate();
61
+ }
62
+
63
+ constructor(map?: { [key: string]: any }) {
64
+ super(map);
65
+ }
66
+ }
67
+
68
+ export class RemoveKnowledgeTagsResponseBody extends $dara.Model {
69
+ /**
70
+ * @remarks
71
+ * The returned data.
72
+ */
73
+ data?: RemoveKnowledgeTagsResponseBodyData;
74
+ /**
75
+ * @remarks
76
+ * Id of the request
77
+ *
78
+ * @example
79
+ * 1AD222E9-E606-4A42-BF6D-8A4442913CEF
80
+ */
81
+ requestId?: string;
82
+ static names(): { [key: string]: string } {
83
+ return {
84
+ data: 'Data',
85
+ requestId: 'RequestId',
86
+ };
87
+ }
88
+
89
+ static types(): { [key: string]: any } {
90
+ return {
91
+ data: RemoveKnowledgeTagsResponseBodyData,
92
+ requestId: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ if(this.data && typeof (this.data as any).validate === 'function') {
98
+ (this.data as any).validate();
99
+ }
100
+ super.validate();
101
+ }
102
+
103
+ constructor(map?: { [key: string]: any }) {
104
+ super(map);
105
+ }
106
+ }
107
+
@@ -5,10 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ResetAccountPasswordRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The description of the database account.
9
- *
10
- * * The description cannot start with `http://` or `https://`.
11
- * * The description must be 2 to 256 characters in length.
8
+ * The description of the account.
9
+ * - The description cannot start with `http://` or `https://`.
10
+ * - The description must be 2 to 256 characters in length.
12
11
  *
13
12
  * @example
14
13
  * AccDesc
@@ -16,9 +15,8 @@ export class ResetAccountPasswordRequest extends $dara.Model {
16
15
  accountDescription?: string;
17
16
  /**
18
17
  * @remarks
19
- * The name of the database account.
20
- *
21
- * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the information about database accounts of an AnalyticDB for MySQL cluster, including database account names.
18
+ * The database account.
19
+ * > You can call the [DescribeAccounts](https://help.aliyun.com/document_detail/612430.html) operation to query the database account information of a specified cluster, including the database account.
22
20
  *
23
21
  * This parameter is required.
24
22
  *
@@ -29,10 +27,9 @@ export class ResetAccountPasswordRequest extends $dara.Model {
29
27
  /**
30
28
  * @remarks
31
29
  * The password of the database account.
32
- *
33
- * * The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
34
- * * Special characters include `! @ # $ % ^ & * ( ) _ + - =`
35
- * * The password must be 8 to 32 characters in length.
30
+ * - The password must contain at least three of the following character types: uppercase letters, lowercase letters, digits, and special characters.
31
+ * - The following special characters are supported: `!@#$%^&*()_+-=`
32
+ * - The password must be 8 to 32 characters in length.
36
33
  *
37
34
  * This parameter is required.
38
35
  *
@@ -42,7 +39,8 @@ export class ResetAccountPasswordRequest extends $dara.Model {
42
39
  accountPassword?: string;
43
40
  /**
44
41
  * @remarks
45
- * The ID of the AnalyticDB for MySQL Data Lakehouse Edition cluster.
42
+ * <props="china">The ID of the cluster. The cluster can be an Enterprise Edition, Basic Edition, or Data Lakehouse Edition cluster.
43
+ * <props="intl">The ID of the Data Lakehouse Edition cluster.
46
44
  *
47
45
  * This parameter is required.
48
46
  *
@@ -52,10 +50,10 @@ export class ResetAccountPasswordRequest extends $dara.Model {
52
50
  DBClusterId?: string;
53
51
  /**
54
52
  * @remarks
55
- * The database engine of the cluster. Valid values:
53
+ * The database engine. Valid values:
56
54
  *
57
- * * **AnalyticDB** (default): the AnalyticDB for MySQL engine.
58
- * * **Clickhouse**: the wide table engine.
55
+ * - **AnalyticDB** (default): the AnalyticDB for MySQL engine.
56
+ * - **Clickhouse**: the wide table engine.
59
57
  *
60
58
  * @example
61
59
  * Clickhouse