@alicloud/polardb20170801 7.0.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (76) hide show
  1. package/dist/client.d.ts +63 -18
  2. package/dist/client.js +168 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateBatchConsumerRequest.d.ts +61 -0
  5. package/dist/models/CreateBatchConsumerRequest.js +66 -0
  6. package/dist/models/CreateBatchConsumerRequest.js.map +1 -0
  7. package/dist/models/CreateBatchConsumerResponse.d.ts +19 -0
  8. package/dist/models/CreateBatchConsumerResponse.js +69 -0
  9. package/dist/models/CreateBatchConsumerResponse.js.map +1 -0
  10. package/dist/models/CreateBatchConsumerResponseBody.d.ts +147 -0
  11. package/dist/models/CreateBatchConsumerResponseBody.js +106 -0
  12. package/dist/models/CreateBatchConsumerResponseBody.js.map +1 -0
  13. package/dist/models/DescribeAidbclusterAttributeResponseBody.d.ts +66 -97
  14. package/dist/models/DescribeAidbclusterAttributeResponseBody.js +2 -0
  15. package/dist/models/DescribeAidbclusterAttributeResponseBody.js.map +1 -1
  16. package/dist/models/DescribeApikeyAttributeRequest.d.ts +39 -0
  17. package/dist/models/DescribeApikeyAttributeRequest.js +64 -0
  18. package/dist/models/DescribeApikeyAttributeRequest.js.map +1 -0
  19. package/dist/models/DescribeApikeyAttributeResponse.d.ts +19 -0
  20. package/dist/models/DescribeApikeyAttributeResponse.js +69 -0
  21. package/dist/models/DescribeApikeyAttributeResponse.js.map +1 -0
  22. package/dist/models/DescribeApikeyAttributeResponseBody.d.ts +167 -0
  23. package/dist/models/DescribeApikeyAttributeResponseBody.js +168 -0
  24. package/dist/models/DescribeApikeyAttributeResponseBody.js.map +1 -0
  25. package/dist/models/DescribeGatewayApikeyListRequest.d.ts +43 -0
  26. package/dist/models/DescribeGatewayApikeyListRequest.js +62 -0
  27. package/dist/models/DescribeGatewayApikeyListRequest.js.map +1 -0
  28. package/dist/models/DescribeGatewayApikeyListResponse.d.ts +19 -0
  29. package/dist/models/DescribeGatewayApikeyListResponse.js +69 -0
  30. package/dist/models/DescribeGatewayApikeyListResponse.js.map +1 -0
  31. package/dist/models/DescribeGatewayApikeyListResponseBody.d.ts +147 -0
  32. package/dist/models/DescribeGatewayApikeyListResponseBody.js +106 -0
  33. package/dist/models/DescribeGatewayApikeyListResponseBody.js.map +1 -0
  34. package/dist/models/DescribePolarClawAgentsRequest.d.ts +1 -1
  35. package/dist/models/DescribePolarClawAgentsResponseBody.d.ts +79 -11
  36. package/dist/models/DescribePolarClawAgentsResponseBody.js +71 -1
  37. package/dist/models/DescribePolarClawAgentsResponseBody.js.map +1 -1
  38. package/dist/models/DescribePolarClawAgentsShrinkRequest.d.ts +1 -1
  39. package/dist/models/DescribePolarFsAttributeRequest.d.ts +5 -8
  40. package/dist/models/DescribePolarFsAttributeRequest.js.map +1 -1
  41. package/dist/models/DescribePolarFsAttributeResponseBody.d.ts +49 -57
  42. package/dist/models/DescribePolarFsAttributeResponseBody.js +2 -0
  43. package/dist/models/DescribePolarFsAttributeResponseBody.js.map +1 -1
  44. package/dist/models/DescribePolarFsObjectsResponseBody.d.ts +13 -13
  45. package/dist/models/UpdatePolarClawAgentRequest.d.ts +20 -10
  46. package/dist/models/UpdatePolarClawAgentRequest.js +4 -0
  47. package/dist/models/UpdatePolarClawAgentRequest.js.map +1 -1
  48. package/dist/models/UpdatePolarClawAgentResponseBody.d.ts +15 -15
  49. package/dist/models/UpdatePolarClawAgentShrinkRequest.d.ts +18 -8
  50. package/dist/models/UpdatePolarClawAgentShrinkRequest.js +4 -0
  51. package/dist/models/UpdatePolarClawAgentShrinkRequest.js.map +1 -1
  52. package/dist/models/model.d.ts +16 -0
  53. package/dist/models/model.js +68 -35
  54. package/dist/models/model.js.map +1 -1
  55. package/package.json +1 -1
  56. package/src/client.ts +188 -18
  57. package/src/models/CreateBatchConsumerRequest.ts +82 -0
  58. package/src/models/CreateBatchConsumerResponse.ts +40 -0
  59. package/src/models/CreateBatchConsumerResponseBody.ts +199 -0
  60. package/src/models/DescribeAidbclusterAttributeResponseBody.ts +68 -97
  61. package/src/models/DescribeApikeyAttributeRequest.ts +58 -0
  62. package/src/models/DescribeApikeyAttributeResponse.ts +40 -0
  63. package/src/models/DescribeApikeyAttributeResponseBody.ts +263 -0
  64. package/src/models/DescribeGatewayApikeyListRequest.ts +60 -0
  65. package/src/models/DescribeGatewayApikeyListResponse.ts +40 -0
  66. package/src/models/DescribeGatewayApikeyListResponseBody.ts +199 -0
  67. package/src/models/DescribePolarClawAgentsRequest.ts +1 -1
  68. package/src/models/DescribePolarClawAgentsResponseBody.ts +131 -11
  69. package/src/models/DescribePolarClawAgentsShrinkRequest.ts +1 -1
  70. package/src/models/DescribePolarFsAttributeRequest.ts +5 -8
  71. package/src/models/DescribePolarFsAttributeResponseBody.ts +52 -58
  72. package/src/models/DescribePolarFsObjectsResponseBody.ts +13 -13
  73. package/src/models/UpdatePolarClawAgentRequest.ts +24 -10
  74. package/src/models/UpdatePolarClawAgentResponseBody.ts +15 -15
  75. package/src/models/UpdatePolarClawAgentShrinkRequest.ts +22 -8
  76. package/src/models/model.ts +16 -0
@@ -0,0 +1,263 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeApikeyAttributeResponseBodyItemsConsumer extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * ***
9
+ */
10
+ apiKey?: string;
11
+ /**
12
+ * @example
13
+ * cg-bq6rcdjp02vt
14
+ */
15
+ consumerGroupId?: string;
16
+ /**
17
+ * @example
18
+ * c-71qh3pscbd3i
19
+ */
20
+ consumerId?: string;
21
+ /**
22
+ * @example
23
+ * test
24
+ */
25
+ consumerTag?: string;
26
+ /**
27
+ * @example
28
+ * 2021-07-18T07:32:30Z
29
+ */
30
+ createTime?: string;
31
+ /**
32
+ * @example
33
+ * pg-2ze5n62ef4s165***
34
+ */
35
+ gwClusterId?: string;
36
+ /**
37
+ * @example
38
+ * 2026-04-10T01:48:25Z
39
+ */
40
+ modifyTime?: string;
41
+ /**
42
+ * @example
43
+ * test
44
+ */
45
+ name?: string;
46
+ /**
47
+ * @example
48
+ * Enabled
49
+ */
50
+ status?: string;
51
+ static names(): { [key: string]: string } {
52
+ return {
53
+ apiKey: 'ApiKey',
54
+ consumerGroupId: 'ConsumerGroupId',
55
+ consumerId: 'ConsumerId',
56
+ consumerTag: 'ConsumerTag',
57
+ createTime: 'CreateTime',
58
+ gwClusterId: 'GwClusterId',
59
+ modifyTime: 'ModifyTime',
60
+ name: 'Name',
61
+ status: 'Status',
62
+ };
63
+ }
64
+
65
+ static types(): { [key: string]: any } {
66
+ return {
67
+ apiKey: 'string',
68
+ consumerGroupId: 'string',
69
+ consumerId: 'string',
70
+ consumerTag: 'string',
71
+ createTime: 'string',
72
+ gwClusterId: 'string',
73
+ modifyTime: 'string',
74
+ name: 'string',
75
+ status: 'string',
76
+ };
77
+ }
78
+
79
+ validate() {
80
+ super.validate();
81
+ }
82
+
83
+ constructor(map?: { [key: string]: any }) {
84
+ super(map);
85
+ }
86
+ }
87
+
88
+ export class DescribeApikeyAttributeResponseBodyItemsUsageStatistics extends $dara.Model {
89
+ /**
90
+ * @example
91
+ * c-xxxxxx
92
+ */
93
+ dimensionRefId?: string;
94
+ /**
95
+ * @example
96
+ * Consumer
97
+ */
98
+ dimensionType?: string;
99
+ /**
100
+ * @example
101
+ * pg-bp1ln7w98yrhzz7i2
102
+ */
103
+ gwClusterId?: string;
104
+ /**
105
+ * @example
106
+ * 10
107
+ */
108
+ monthlyCacheToken?: string;
109
+ /**
110
+ * @example
111
+ * 10
112
+ */
113
+ monthlyCostPoints?: string;
114
+ /**
115
+ * @example
116
+ * 10
117
+ */
118
+ monthlyInputToken?: string;
119
+ /**
120
+ * @example
121
+ * 10
122
+ */
123
+ monthlyOutputToken?: string;
124
+ /**
125
+ * @example
126
+ * 10
127
+ */
128
+ monthlyToken?: string;
129
+ /**
130
+ * @example
131
+ * 10
132
+ */
133
+ totalCacheToken?: string;
134
+ /**
135
+ * @example
136
+ * 10
137
+ */
138
+ totalCostPoints?: string;
139
+ /**
140
+ * @example
141
+ * 10
142
+ */
143
+ totalInputToken?: string;
144
+ /**
145
+ * @example
146
+ * 10
147
+ */
148
+ totalOutputToken?: string;
149
+ /**
150
+ * @example
151
+ * 10
152
+ */
153
+ totalToken?: string;
154
+ static names(): { [key: string]: string } {
155
+ return {
156
+ dimensionRefId: 'DimensionRefId',
157
+ dimensionType: 'DimensionType',
158
+ gwClusterId: 'GwClusterId',
159
+ monthlyCacheToken: 'MonthlyCacheToken',
160
+ monthlyCostPoints: 'MonthlyCostPoints',
161
+ monthlyInputToken: 'MonthlyInputToken',
162
+ monthlyOutputToken: 'MonthlyOutputToken',
163
+ monthlyToken: 'MonthlyToken',
164
+ totalCacheToken: 'TotalCacheToken',
165
+ totalCostPoints: 'TotalCostPoints',
166
+ totalInputToken: 'TotalInputToken',
167
+ totalOutputToken: 'TotalOutputToken',
168
+ totalToken: 'TotalToken',
169
+ };
170
+ }
171
+
172
+ static types(): { [key: string]: any } {
173
+ return {
174
+ dimensionRefId: 'string',
175
+ dimensionType: 'string',
176
+ gwClusterId: 'string',
177
+ monthlyCacheToken: 'string',
178
+ monthlyCostPoints: 'string',
179
+ monthlyInputToken: 'string',
180
+ monthlyOutputToken: 'string',
181
+ monthlyToken: 'string',
182
+ totalCacheToken: 'string',
183
+ totalCostPoints: 'string',
184
+ totalInputToken: 'string',
185
+ totalOutputToken: 'string',
186
+ totalToken: 'string',
187
+ };
188
+ }
189
+
190
+ validate() {
191
+ super.validate();
192
+ }
193
+
194
+ constructor(map?: { [key: string]: any }) {
195
+ super(map);
196
+ }
197
+ }
198
+
199
+ export class DescribeApikeyAttributeResponseBodyItems extends $dara.Model {
200
+ consumer?: DescribeApikeyAttributeResponseBodyItemsConsumer;
201
+ usageStatistics?: DescribeApikeyAttributeResponseBodyItemsUsageStatistics[];
202
+ static names(): { [key: string]: string } {
203
+ return {
204
+ consumer: 'Consumer',
205
+ usageStatistics: 'UsageStatistics',
206
+ };
207
+ }
208
+
209
+ static types(): { [key: string]: any } {
210
+ return {
211
+ consumer: DescribeApikeyAttributeResponseBodyItemsConsumer,
212
+ usageStatistics: { 'type': 'array', 'itemType': DescribeApikeyAttributeResponseBodyItemsUsageStatistics },
213
+ };
214
+ }
215
+
216
+ validate() {
217
+ if(this.consumer && typeof (this.consumer as any).validate === 'function') {
218
+ (this.consumer as any).validate();
219
+ }
220
+ if(Array.isArray(this.usageStatistics)) {
221
+ $dara.Model.validateArray(this.usageStatistics);
222
+ }
223
+ super.validate();
224
+ }
225
+
226
+ constructor(map?: { [key: string]: any }) {
227
+ super(map);
228
+ }
229
+ }
230
+
231
+ export class DescribeApikeyAttributeResponseBody extends $dara.Model {
232
+ items?: DescribeApikeyAttributeResponseBodyItems[];
233
+ /**
234
+ * @example
235
+ * F3322AFE-083E-4D77-A074-421301******
236
+ */
237
+ requestId?: string;
238
+ static names(): { [key: string]: string } {
239
+ return {
240
+ items: 'Items',
241
+ requestId: 'RequestId',
242
+ };
243
+ }
244
+
245
+ static types(): { [key: string]: any } {
246
+ return {
247
+ items: { 'type': 'array', 'itemType': DescribeApikeyAttributeResponseBodyItems },
248
+ requestId: 'string',
249
+ };
250
+ }
251
+
252
+ validate() {
253
+ if(Array.isArray(this.items)) {
254
+ $dara.Model.validateArray(this.items);
255
+ }
256
+ super.validate();
257
+ }
258
+
259
+ constructor(map?: { [key: string]: any }) {
260
+ super(map);
261
+ }
262
+ }
263
+
@@ -0,0 +1,60 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGatewayApikeyListRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The page number. Default value: 1.
9
+ *
10
+ * @example
11
+ * 1
12
+ */
13
+ pageNumber?: number;
14
+ /**
15
+ * @remarks
16
+ * The number of entries per page. Valid values:
17
+ * * **30**
18
+ * * **50**
19
+ * * **100**
20
+ * Default value: **30**.
21
+ *
22
+ * @example
23
+ * 30
24
+ */
25
+ pageSize?: number;
26
+ /**
27
+ * @remarks
28
+ * The region ID.
29
+ *
30
+ * This parameter is required.
31
+ *
32
+ * @example
33
+ * cn-beijing
34
+ */
35
+ regionId?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ pageNumber: 'PageNumber',
39
+ pageSize: 'PageSize',
40
+ regionId: 'RegionId',
41
+ };
42
+ }
43
+
44
+ static types(): { [key: string]: any } {
45
+ return {
46
+ pageNumber: 'number',
47
+ pageSize: 'number',
48
+ regionId: 'string',
49
+ };
50
+ }
51
+
52
+ validate() {
53
+ super.validate();
54
+ }
55
+
56
+ constructor(map?: { [key: string]: any }) {
57
+ super(map);
58
+ }
59
+ }
60
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DescribeGatewayApikeyListResponseBody } from "./DescribeGatewayApikeyListResponseBody";
4
+
5
+
6
+ export class DescribeGatewayApikeyListResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DescribeGatewayApikeyListResponseBody;
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: DescribeGatewayApikeyListResponseBody,
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,199 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DescribeGatewayApikeyListResponseBodyItems extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The API key in use.
9
+ *
10
+ * @example
11
+ * xxxxxxxx
12
+ */
13
+ apiKey?: string;
14
+ /**
15
+ * @remarks
16
+ * The user group ID.
17
+ *
18
+ * @example
19
+ * cg-xxxxxx
20
+ */
21
+ consumerGroupId?: string;
22
+ /**
23
+ * @remarks
24
+ * The user ID.
25
+ *
26
+ * @example
27
+ * c-mqveroemc***
28
+ */
29
+ consumerId?: string;
30
+ /**
31
+ * @remarks
32
+ * The consumer tag.
33
+ *
34
+ * @example
35
+ * test
36
+ */
37
+ consumerTag?: string;
38
+ /**
39
+ * @remarks
40
+ * The creation time.
41
+ *
42
+ * @example
43
+ * 2020-08-14T05:58:42Z
44
+ */
45
+ createTime?: string;
46
+ /**
47
+ * @remarks
48
+ * The gateway instance ID.
49
+ *
50
+ * @example
51
+ * pg-xxxxxxxx
52
+ */
53
+ gwClusterId?: string;
54
+ /**
55
+ * @remarks
56
+ * The last modification time.
57
+ *
58
+ * @example
59
+ * 2024-10-29T09:31:37Z
60
+ */
61
+ modifyTime?: string;
62
+ /**
63
+ * @remarks
64
+ * The username.
65
+ *
66
+ * @example
67
+ * test
68
+ */
69
+ name?: string;
70
+ static names(): { [key: string]: string } {
71
+ return {
72
+ apiKey: 'ApiKey',
73
+ consumerGroupId: 'ConsumerGroupId',
74
+ consumerId: 'ConsumerId',
75
+ consumerTag: 'ConsumerTag',
76
+ createTime: 'CreateTime',
77
+ gwClusterId: 'GwClusterId',
78
+ modifyTime: 'ModifyTime',
79
+ name: 'Name',
80
+ };
81
+ }
82
+
83
+ static types(): { [key: string]: any } {
84
+ return {
85
+ apiKey: 'string',
86
+ consumerGroupId: 'string',
87
+ consumerId: 'string',
88
+ consumerTag: 'string',
89
+ createTime: 'string',
90
+ gwClusterId: 'string',
91
+ modifyTime: 'string',
92
+ name: 'string',
93
+ };
94
+ }
95
+
96
+ validate() {
97
+ super.validate();
98
+ }
99
+
100
+ constructor(map?: { [key: string]: any }) {
101
+ super(map);
102
+ }
103
+ }
104
+
105
+ export class DescribeGatewayApikeyListResponseBody extends $dara.Model {
106
+ /**
107
+ * @remarks
108
+ * The list of consumer objects.
109
+ */
110
+ items?: DescribeGatewayApikeyListResponseBodyItems[];
111
+ /**
112
+ * @remarks
113
+ * The page number.
114
+ *
115
+ * @example
116
+ * 1
117
+ */
118
+ pageNumber?: number;
119
+ /**
120
+ * @remarks
121
+ * The number of records on the current page.
122
+ *
123
+ * @example
124
+ * 1
125
+ */
126
+ pageRecordCount?: number;
127
+ /**
128
+ * @remarks
129
+ * The number of entries per page. Valid values:
130
+ * * **30**
131
+ * * **50**
132
+ * * **100**
133
+ *
134
+ * Default value: 30.
135
+ *
136
+ * @example
137
+ * 30
138
+ */
139
+ pageSize?: number;
140
+ /**
141
+ * @remarks
142
+ * Id of the request
143
+ *
144
+ * @example
145
+ * A0450B18-BBD4-5DF9-8E71-610F1A921CDE
146
+ */
147
+ requestId?: string;
148
+ /**
149
+ * @remarks
150
+ * The total number of pages.
151
+ *
152
+ * @example
153
+ * 1
154
+ */
155
+ totalPages?: number;
156
+ /**
157
+ * @remarks
158
+ * The total number of records.
159
+ *
160
+ * @example
161
+ * 1
162
+ */
163
+ totalRecordCount?: number;
164
+ static names(): { [key: string]: string } {
165
+ return {
166
+ items: 'Items',
167
+ pageNumber: 'PageNumber',
168
+ pageRecordCount: 'PageRecordCount',
169
+ pageSize: 'PageSize',
170
+ requestId: 'RequestId',
171
+ totalPages: 'TotalPages',
172
+ totalRecordCount: 'TotalRecordCount',
173
+ };
174
+ }
175
+
176
+ static types(): { [key: string]: any } {
177
+ return {
178
+ items: { 'type': 'array', 'itemType': DescribeGatewayApikeyListResponseBodyItems },
179
+ pageNumber: 'number',
180
+ pageRecordCount: 'number',
181
+ pageSize: 'number',
182
+ requestId: 'string',
183
+ totalPages: 'number',
184
+ totalRecordCount: 'number',
185
+ };
186
+ }
187
+
188
+ validate() {
189
+ if(Array.isArray(this.items)) {
190
+ $dara.Model.validateArray(this.items);
191
+ }
192
+ super.validate();
193
+ }
194
+
195
+ constructor(map?: { [key: string]: any }) {
196
+ super(map);
197
+ }
198
+ }
199
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DescribePolarClawAgentsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * A list of agent IDs to query.
8
+ * The list of agent IDs to describe.
9
9
  *
10
10
  * @example
11
11
  * work,research