ksyun-sdk-node 1.4.9 → 1.5.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 (177) hide show
  1. package/dist/service/Actiontrail/v20190401/index.js +31 -31
  2. package/dist/service/Aicp/v20240612/index.js +387 -363
  3. package/dist/service/Aicp/v20251212/index.js +47 -47
  4. package/dist/service/Bill/v20180601/index.js +45 -45
  5. package/dist/service/Bill/v20220601/index.js +35 -35
  6. package/dist/service/Bill_union/v20200101/index.js +130 -130
  7. package/dist/service/Bill_union/v20221222/index.js +93 -93
  8. package/dist/service/Bill_union/v20250801/index.js +37 -37
  9. package/dist/service/Bws/v20160304/index.js +106 -103
  10. package/dist/service/Cdn/v20160901/index.js +42 -42
  11. package/dist/service/Cdn/v20200630/index.js +306 -306
  12. package/dist/service/Cdn/v20200901/index.js +108 -108
  13. package/dist/service/Cdn/v20211201/index.js +21 -21
  14. package/dist/service/Cdn/v20250503/index.js +0 -333
  15. package/dist/service/Cdn/v3/index.js +424 -0
  16. package/dist/service/Cen/v20160304/index.js +365 -321
  17. package/dist/service/Clickhouse/v20210101/index.js +585 -400
  18. package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
  19. package/dist/service/Dmp/v20240101/index.js +362 -0
  20. package/dist/service/Dts/v20180108/index.js +386 -0
  21. package/dist/service/Ebs/v20160304/index.js +425 -262
  22. package/dist/service/Eip/v20160304/index.js +179 -101
  23. package/dist/service/Epc/v20151101/index.js +1668 -1668
  24. package/dist/service/Iam/v20151101/index.js +834 -834
  25. package/dist/service/Iam/v20240513/index.js +23 -23
  26. package/dist/service/Iam/v20240703/index.js +20 -20
  27. package/dist/service/Influxdb/v20191010/index.js +504 -0
  28. package/dist/service/Kad/v20161122/index.js +113 -81
  29. package/dist/service/Kce/v20180314/index.js +216 -216
  30. package/dist/service/Kce/v20190806/index.js +534 -343
  31. package/dist/service/Kce/v20201231/index.js +39 -39
  32. package/dist/service/Kce/v20230101/index.js +193 -0
  33. package/dist/service/Kce/v20230306/index.js +434 -0
  34. package/dist/service/Kce/v20231115/index.js +65 -0
  35. package/dist/service/Kce2/v20230101/index.js +313 -0
  36. package/dist/service/Kcf/v20211215/index.js +141 -141
  37. package/dist/service/Kci/v20200702/index.js +336 -0
  38. package/dist/service/Kcm/v20160304/index.js +191 -81
  39. package/dist/service/Kcrs/v20211109/index.js +619 -623
  40. package/dist/service/Kcs/v20160701/index.js +975 -833
  41. package/dist/service/Kcs/v20170401/index.js +22 -57
  42. package/dist/service/Kcs/v20240701/index.js +45 -0
  43. package/dist/service/Kead/v20200101/index.js +54 -25
  44. package/dist/service/Kec/v20160304/index.js +1679 -1679
  45. package/dist/service/Ked/v1/index.js +805 -0
  46. package/dist/service/Kes/v20201215/index.js +112 -112
  47. package/dist/service/Ket/v20170101/index.js +134 -92
  48. package/dist/service/Kfw/v20160304/index.js +59 -0
  49. package/dist/service/Kingpay/v1/index.js +44 -0
  50. package/dist/service/Kkms/v20160304/index.js +108 -108
  51. package/dist/service/Klog/v20200731/index.js +232 -232
  52. package/dist/service/Kls/v20170101/index.js +135 -135
  53. package/dist/service/Kmr/v20210902/index.js +288 -288
  54. package/dist/service/Kmr/v20231231/index.js +100 -100
  55. package/dist/service/Kmr/v20240814/index.js +256 -256
  56. package/dist/service/Knad/v20230323/index.js +333 -0
  57. package/dist/service/Kpfs/v20240930/index.js +181 -0
  58. package/dist/service/Krds/v20160701/index.js +1400 -991
  59. package/dist/service/Krds/v20200825/index.js +155 -115
  60. package/dist/service/Memcached/v20180627/index.js +172 -172
  61. package/dist/service/Milvus/v20231010/index.js +366 -0
  62. package/dist/service/Mongodb/v20170101/index.js +664 -514
  63. package/dist/service/Mongodb/v20250101/index.js +44 -0
  64. package/dist/service/Monitor/v20100525/index.js +41 -41
  65. package/dist/service/Monitor/v20181114/index.js +25 -25
  66. package/dist/service/Monitor/v20210101/index.js +144 -144
  67. package/dist/service/Monitor/v20220101/index.js +30 -30
  68. package/dist/service/Monitor/v20250101/index.js +42 -42
  69. package/dist/service/Pdns/v20160304/index.js +636 -0
  70. package/dist/service/Postgresql/v20181225/index.js +950 -0
  71. package/dist/service/Rabbitmq/v20191017/index.js +270 -169
  72. package/dist/service/Relyt/v20240117/index.js +45 -0
  73. package/dist/service/Resourcemanager/v20210320/index.js +110 -110
  74. package/dist/service/Sks/v20151101/index.js +70 -69
  75. package/dist/service/Slb/v20160304/index.js +1582 -1209
  76. package/dist/service/Slb/v20250430/index.js +750 -0
  77. package/dist/service/Sqlserver/v20190425/index.js +872 -0
  78. package/dist/service/Sts/v20151101/index.js +42 -23
  79. package/dist/service/Tagv2/v20200901/index.js +151 -115
  80. package/dist/service/Ter/v20240415/index.js +114 -0
  81. package/dist/service/Tidb/v20210520/index.js +657 -263
  82. package/dist/service/Trade/v20200114/index.js +20 -20
  83. package/dist/service/Trade/v20200831/index.js +22 -22
  84. package/dist/service/Trade/v20250220/index.js +97 -0
  85. package/dist/service/Trade/v20250321/index.js +93 -0
  86. package/dist/service/Trade/v20250828/index.js +56 -0
  87. package/dist/service/Vpc/v20160304/index.js +1786 -1754
  88. package/dist/service/Waf/v20200707/index.js +382 -199
  89. package/package.json +1 -1
  90. package/src/service/Actiontrail/v20190401/index.js +42 -42
  91. package/src/service/Aicp/v20240612/index.js +505 -480
  92. package/src/service/Aicp/v20251212/index.js +62 -62
  93. package/src/service/Bill/v20180601/index.js +64 -63
  94. package/src/service/Bill/v20220601/index.js +50 -50
  95. package/src/service/Bill_union/v20200101/index.js +183 -181
  96. package/src/service/Bill_union/v20221222/index.js +124 -124
  97. package/src/service/Bill_union/v20250801/index.js +52 -52
  98. package/src/service/Bws/v20160304/index.js +141 -138
  99. package/src/service/Cdn/v20160901/index.js +61 -60
  100. package/src/service/Cdn/v20200630/index.js +399 -399
  101. package/src/service/Cdn/v20200901/index.js +143 -143
  102. package/src/service/Cdn/v20211201/index.js +32 -32
  103. package/src/service/Cdn/v3/index.js +416 -0
  104. package/src/service/Cen/v20160304/index.js +493 -449
  105. package/src/service/Clickhouse/v20210101/index.js +722 -535
  106. package/src/service/Cloud_advisor/v20250610/index.js +73 -0
  107. package/src/service/Dmp/v20240101/index.js +359 -0
  108. package/src/service/Dts/v20180108/index.js +380 -0
  109. package/src/service/Ebs/v20160304/index.js +531 -365
  110. package/src/service/Eip/v20160304/index.js +213 -130
  111. package/src/service/Epc/v20151101/index.js +2068 -2065
  112. package/src/service/Iam/v20151101/index.js +1158 -1155
  113. package/src/service/Iam/v20240513/index.js +34 -34
  114. package/src/service/Iam/v20240703/index.js +31 -31
  115. package/src/service/Influxdb/v20191010/index.js +496 -0
  116. package/src/service/Kad/v20161122/index.js +143 -110
  117. package/src/service/Kce/v20180314/index.js +309 -309
  118. package/src/service/Kce/v20190806/index.js +664 -471
  119. package/src/service/Kce/v20201231/index.js +50 -50
  120. package/src/service/Kce/v20230101/index.js +186 -0
  121. package/src/service/Kce/v20230306/index.js +426 -0
  122. package/src/service/Kce/v20231115/index.js +57 -0
  123. package/src/service/Kce2/v20230101/index.js +305 -0
  124. package/src/service/Kcf/v20211215/index.js +194 -192
  125. package/src/service/Kci/v20200702/index.js +328 -0
  126. package/src/service/Kcm/v20160304/index.js +211 -101
  127. package/src/service/Kcrs/v20211109/index.js +836 -840
  128. package/src/service/Kcs/v20160701/index.js +1241 -1095
  129. package/src/service/Kcs/v20170401/index.js +33 -68
  130. package/src/service/Kcs/v20240701/index.js +37 -0
  131. package/src/service/Kead/v20200101/index.js +66 -36
  132. package/src/service/Kec/v20160304/index.js +2066 -2061
  133. package/src/service/Ked/v1/index.js +798 -0
  134. package/src/service/Kes/v20201215/index.js +160 -160
  135. package/src/service/Ket/v20170101/index.js +163 -121
  136. package/src/service/Kfw/v20160304/index.js +52 -0
  137. package/src/service/Kingpay/v1/index.js +36 -0
  138. package/src/service/Kkms/v20160304/index.js +156 -156
  139. package/src/service/Klog/v20200731/index.js +320 -320
  140. package/src/service/Kls/v20170101/index.js +183 -183
  141. package/src/service/Kmr/v20210902/index.js +411 -411
  142. package/src/service/Kmr/v20231231/index.js +135 -135
  143. package/src/service/Kmr/v20240814/index.js +359 -359
  144. package/src/service/Knad/v20230323/index.js +327 -0
  145. package/src/service/Kpfs/v20240930/index.js +173 -0
  146. package/src/service/Krds/v20160701/index.js +1702 -1291
  147. package/src/service/Krds/v20200825/index.js +203 -163
  148. package/src/service/Memcached/v20180627/index.js +245 -238
  149. package/src/service/Milvus/v20231010/index.js +358 -0
  150. package/src/service/Mongodb/v20170101/index.js +825 -672
  151. package/src/service/Mongodb/v20250101/index.js +36 -0
  152. package/src/service/Monitor/v20100525/index.js +56 -56
  153. package/src/service/Monitor/v20181114/index.js +36 -36
  154. package/src/service/Monitor/v20210101/index.js +207 -205
  155. package/src/service/Monitor/v20220101/index.js +45 -44
  156. package/src/service/Monitor/v20250101/index.js +57 -57
  157. package/src/service/Pdns/v20160304/index.js +628 -0
  158. package/src/service/Postgresql/v20181225/index.js +943 -0
  159. package/src/service/Rabbitmq/v20191017/index.js +338 -231
  160. package/src/service/Relyt/v20240117/index.js +37 -0
  161. package/src/service/Resourcemanager/v20210320/index.js +158 -157
  162. package/src/service/Sks/v20151101/index.js +97 -95
  163. package/src/service/Slb/v20160304/index.js +1844 -1471
  164. package/src/service/Slb/v20250430/index.js +742 -0
  165. package/src/service/Sqlserver/v20190425/index.js +864 -0
  166. package/src/service/Sts/v20151101/index.js +53 -34
  167. package/src/service/Tagv2/v20200901/index.js +199 -163
  168. package/src/service/Ter/v20240415/index.js +106 -0
  169. package/src/service/Tidb/v20210520/index.js +746 -352
  170. package/src/service/Trade/v20200114/index.js +31 -31
  171. package/src/service/Trade/v20200831/index.js +33 -33
  172. package/src/service/Trade/v20250220/index.js +89 -0
  173. package/src/service/Trade/v20250321/index.js +85 -0
  174. package/src/service/Trade/v20250828/index.js +48 -0
  175. package/src/service/Vpc/v20160304/index.js +2437 -2404
  176. package/src/service/Waf/v20200707/index.js +420 -237
  177. package/src/service/Cdn/v20250503/index.js +0 -396
@@ -1,675 +1,828 @@
1
1
  const BaseClient = require("../../../base/BaseClient.js");
2
2
 
3
3
  module.exports = class Client extends BaseClient {
4
- _baseConfig = {
5
- protocol: "http://",
6
- endpoint: "mongodb.api.ksyun.com",
7
- config: {
8
- timeout: 60, //设置timeout
9
- headers: {
10
- Accept: "application/json",
11
- },
12
- credentials: {
13
- region: "cn-shanghai-3",
14
- service: "mongodb",
15
- },
16
- },
17
- };
18
- _apiList = {
19
- CreateMongoDBInstance: {
20
- url: "/",
21
- method: "POST",
22
- config: {
23
- query: {
24
- Version: "2017-01-01",
25
- Action: "CreateMongoDBInstance",
26
- },
27
- headers: {
28
- "Content-Type": "application/x-www-form-urlencoded",
29
- },
30
- },
31
- paramsType: {
32
- PayType: "String",
33
- AvailabilityZone: "Filter",
34
- Name: "String",
35
- DbVersion: "String",
36
- NodeNum: "Int",
37
- Storage: "Int",
38
- Duration: "Int",
39
- IamProjectId: "String",
40
- VpcId: "String",
41
- VnetId: "String",
42
- InstancePassword: "String",
43
- InstanceClass: "String",
44
- },
45
- },
46
- DeleteMongoDBInstance: {
47
- url: "/",
48
- method: "DELETE",
49
- config: {
50
- query: {
51
- Version: "2017-01-01",
52
- Action: "DeleteMongoDBInstance",
53
- },
54
- headers: {
55
- "Content-Type": "application/json",
56
- },
57
- },
58
- paramsType: {
59
- InstanceId: "String",
60
- },
61
- },
62
- DescribeMongoDBInstance: {
63
- url: "/",
64
- method: "GET",
65
- config: {
66
- query: {
67
- Version: "2017-01-01",
68
- Action: "DescribeMongoDBInstance",
69
- },
70
- headers: {
71
- "Content-Type": "application/json",
72
- },
73
- },
74
- paramsType: {
75
- InstanceId: "String",
76
- },
77
- },
78
- DescribeMongoDBInstances: {
79
- url: "/",
80
- method: "GET",
81
- config: {
82
- query: {
83
- Version: "2017-01-01",
84
- Action: "DescribeMongoDBInstances",
85
- },
86
- headers: {
87
- "Content-Type": "application/json",
88
- },
89
- },
90
- paramsType: {
91
- Area: "String",
92
- Vip: "String",
93
- VpcId: "String",
94
- VnetId: "String",
95
- IamProjectId: "String",
96
- InstanceId: "String",
97
- Name: "String",
98
- Mode: "String",
99
- DbVersion: "String",
100
- Status: "String",
101
- FuzzySearch: "String",
102
- TagKey: "String",
103
- TagValue: "String",
104
- Offset: "Int",
105
- Limit: "Int",
106
- OrderBy: "String",
107
- },
108
- },
109
- DescribeMongoDBInstanceNode: {
110
- url: "/",
111
- method: "GET",
112
- config: {
113
- query: {
114
- Version: "2017-01-01",
115
- Action: "DescribeMongoDBInstanceNode",
116
- },
117
- headers: {
118
- "Content-Type": "application/json",
119
- },
120
- },
121
- paramsType: {
122
- InstanceId: "String",
123
- NodeId: "String",
124
- },
125
- },
126
- RenameMongoDBInstance: {
127
- url: "/",
128
- method: "PUT",
129
- config: {
130
- query: {
131
- Version: "2017-01-01",
132
- Action: "RenameMongoDBInstance",
133
- },
134
- headers: {
135
- "Content-Type": "application/json",
136
- },
137
- },
138
- paramsType: {
139
- InstanceId: "String",
140
- Name: "String",
141
- },
142
- },
143
- ResetPasswordMongoDBInstance: {
144
- url: "/",
145
- method: "PUT",
146
- config: {
147
- query: {
148
- Version: "2017-01-01",
149
- Action: "ResetPasswordMongoDBInstance",
150
- },
151
- headers: {
152
- "Content-Type": "application/json",
153
- },
154
- },
155
- paramsType: {
156
- InstanceId: "String",
157
- InstancePassword: "String",
158
- },
159
- },
160
- RestartMongoDBInstance: {
161
- url: "/",
162
- method: "PUT",
163
- config: {
164
- query: {
165
- Version: "2017-01-01",
166
- Action: "RestartMongoDBInstance",
167
- },
168
- headers: {
169
- "Content-Type": "application/json",
170
- },
171
- },
172
- paramsType: {
173
- InstanceId: "String",
174
- },
175
- },
176
- CreateMongoDBSnapshot: {
177
- url: "/",
178
- method: "POST",
179
- config: {
180
- query: {
181
- Version: "2017-01-01",
182
- Action: "CreateMongoDBSnapshot",
183
- },
184
- headers: {
185
- "Content-Type": "application/x-www-form-urlencoded",
186
- },
187
- },
188
- paramsType: {
189
- InstanceId: "String",
190
- Name: "String",
191
- BackupMode: "String",
192
- },
193
- },
194
- SetMongoDBTimingSnapshot: {
195
- url: "/",
196
- method: "PUT",
197
- config: {
198
- query: {
199
- Version: "2017-01-01",
200
- Action: "SetMongoDBTimingSnapshot",
201
- },
202
- headers: {
203
- "Content-Type": "application/json",
204
- },
205
- },
206
- paramsType: {
207
- InstanceId: "String",
208
- TimingSwitch: "String",
209
- Timezone: "String",
210
- TimeCycle: "String",
211
- },
212
- },
213
- DescribeMongoDBSnapshot: {
214
- url: "/",
215
- method: "GET",
216
- config: {
217
- query: {
218
- Version: "2017-01-01",
219
- Action: "DescribeMongoDBSnapshot",
220
- },
221
- headers: {
222
- "Content-Type": "application/json",
223
- },
224
- },
225
- paramsType: {
226
- InstanceId: "String",
227
- },
228
- },
229
- DeleteMongoDBSnapshot: {
230
- url: "/",
231
- method: "DELETE",
232
- config: {
233
- query: {
234
- Version: "2017-01-01",
235
- Action: "DeleteMongoDBSnapshot",
236
- },
237
- headers: {
238
- "Content-Type": "application/json",
239
- },
240
- },
241
- paramsType: {
242
- InstanceId: "String",
243
- SnapshotId: "String",
244
- },
245
- },
246
- RenameMongoDBSnapshot: {
247
- url: "/",
248
- method: "PUT",
249
- config: {
250
- query: {
251
- Version: "2017-01-01",
252
- Action: "RenameMongoDBSnapshot",
253
- },
254
- headers: {
255
- "Content-Type": "application/json",
256
- },
257
- },
258
- paramsType: {
259
- InstanceId: "String",
260
- SnapshotId: "String",
261
- Name: "String",
262
- },
263
- },
264
- AddSecurityGroupRule: {
265
- url: "/",
266
- method: "POST",
267
- config: {
268
- query: {
269
- Version: "2017-01-01",
270
- Action: "AddSecurityGroupRule",
271
- },
272
- headers: {
273
- "Content-Type": "application/x-www-form-urlencoded",
274
- },
275
- },
276
- paramsType: {
277
- InstanceId: "String",
278
- Cidrs: "String",
279
- Type: "String",
280
- },
281
- },
282
- ListSecurityGroupRules: {
283
- url: "/",
284
- method: "GET",
285
- config: {
286
- query: {
287
- Version: "2017-01-01",
288
- Action: "ListSecurityGroupRules",
289
- },
290
- headers: {
291
- "Content-Type": "application/json",
292
- },
293
- },
294
- paramsType: {
295
- InstanceId: "String",
296
- },
297
- },
298
- UpdateMongoDBInstance: {
299
- url: "/",
300
- method: "POST",
301
- config: {
302
- query: {
303
- Version: "2017-01-01",
304
- Action: "UpdateMongoDBInstance",
305
- },
306
- headers: {
307
- "Content-Type": "application/x-www-form-urlencoded",
308
- },
309
- },
310
- paramsType: {
311
- InstanceId: "String",
312
- InstanceClass: "String",
313
- Storage: "Int",
314
- },
315
- },
316
- AddSecondaryInstance: {
317
- url: "/",
318
- method: "PUT",
319
- config: {
320
- query: {
321
- Version: "2017-01-01",
322
- Action: "AddSecondaryInstance",
323
- },
324
- headers: {
325
- "Content-Type": "application/json",
326
- },
327
- },
328
- paramsType: {
329
- InstanceId: "String",
330
- NodeNum: "String",
331
- },
332
- },
333
- DescribeMongoDBShardNode: {
334
- url: "/",
335
- method: "GET",
336
- config: {
337
- query: {
338
- Version: "2017-01-01",
339
- Action: "DescribeMongoDBShardNode",
340
- },
341
- headers: {
342
- "Content-Type": "application/json",
343
- },
344
- },
345
- paramsType: {
346
- InstanceId: "String",
347
- },
348
- },
349
- DescribeValidRegion: {
350
- url: "/",
351
- method: "GET",
352
- config: {
353
- query: {
354
- Version: "2017-01-01",
355
- Action: "DescribeValidRegion",
356
- },
357
- headers: {
358
- "Content-Type": "application/json",
359
- },
360
- },
361
- paramsType: {
362
- Action: "String",
363
- },
364
- },
365
- AllocateEip: {
366
- url: "/",
367
- method: "POST",
368
- config: {
369
- query: {
370
- Version: "2017-01-01",
371
- Action: "AllocateEip",
372
- },
373
- headers: {
374
- "Content-Type": "application/x-www-form-urlencoded",
375
- },
376
- },
377
- paramsType: {
378
- InstanceId: "String",
379
- Type: "String",
380
- },
381
- },
382
- DeallocateEip: {
383
- url: "/",
384
- method: "POST",
385
- config: {
386
- query: {
387
- Version: "2017-01-01",
388
- Action: "DeallocateEip",
389
- },
390
- headers: {
391
- "Content-Type": "application/x-www-form-urlencoded",
392
- },
393
- },
394
- paramsType: {
395
- InstanceId: "String",
396
- },
397
- },
398
- DescribeRegions: {
399
- url: "/",
400
- method: "GET",
401
- config: {
402
- query: {
403
- Version: "2017-01-01",
404
- Action: "DescribeRegions",
405
- },
406
- headers: {
407
- "Content-Type": "application/json",
408
- },
409
- },
410
- paramsType: {
411
- Action: "String",
412
- },
413
- },
414
- CreateMongoDBShardInstance: {
415
- url: "/",
416
- method: "POST",
417
- config: {
418
- query: {
419
- Version: "2017-01-01",
420
- Action: "CreateMongoDBShardInstance",
421
- },
422
- headers: {
423
- "Content-Type": "application/x-www-form-urlencoded",
424
- },
425
- },
426
- paramsType: {
427
- PayType: "String",
428
- AvailabilityZone: "Filter",
429
- Name: "String",
430
- DbVersion: "String",
431
- Storage: "String",
432
- Duration: "Int",
433
- IamProjectId: "String",
434
- VpcId: "String",
435
- VnetId: "String",
436
- InstancePassword: "String",
437
- ShardClass: "String",
438
- ShardNum: "Int",
439
- MongosNum: "Int",
440
- MongosClass: "String",
441
- },
442
- },
443
- DownloadSnapshot: {
444
- url: "/",
445
- method: "GET",
446
- config: {
447
- query: {
448
- Version: "2017-01-01",
449
- Action: "DownloadSnapshot",
450
- },
451
- headers: {
452
- "Content-Type": "application/json",
453
- },
454
- },
455
- paramsType: {
456
- SnapshotId: "String",
457
- },
458
- },
459
- CloneInstance: {
460
- url: "/",
461
- method: "POST",
462
- config: {
463
- query: {
464
- Version: "2017-01-01",
465
- Action: "CloneInstance",
466
- },
467
- headers: {
468
- "Content-Type": "application/x-www-form-urlencoded",
469
- },
470
- },
471
- paramsType: {
472
- PayType: "String",
473
- AvailabilityZone: "String",
474
- Name: "String",
475
- Duration: "Int",
476
- IamProjectId: "String",
477
- VpcId: "String",
478
- VnetId: "String",
479
- InstancePassword: "String",
480
- SnapshotId: "String",
481
- InstanceId: "String",
482
- },
483
- },
484
- DescribeShardNode: {
485
- url: "/",
486
- method: "GET",
487
- config: {
488
- query: {
489
- Version: "2017-01-01",
490
- Action: "DescribeShardNode",
491
- },
492
- headers: {
493
- "Content-Type": "application/json",
494
- },
495
- },
496
- paramsType: {
497
- InstanceId: "String",
498
- },
499
- },
500
- DescribeInstanceStatistic: {
501
- url: "/",
502
- method: "GET",
503
- config: {
504
- query: {
505
- Version: "2017-01-01",
506
- Action: "DescribeInstanceStatistic",
507
- },
508
- headers: {
509
- "Content-Type": "application/json",
510
- },
511
- },
512
- paramsType: {
513
- Action: "String",
514
- },
515
- },
516
- AddClusterNode: {
517
- url: "/",
518
- method: "POST",
519
- config: {
520
- query: {
521
- Version: "2017-01-01",
522
- Action: "AddClusterNode",
523
- },
524
- headers: {
525
- "Content-Type": "application/x-www-form-urlencoded",
526
- },
527
- },
528
- paramsType: {
529
- InstanceId: "String",
530
- NodeType: "String",
531
- NodeClass: "String",
532
- NodeStorage: "Int",
533
- },
534
- },
535
- DeleteClusterNode: {
536
- url: "/",
537
- method: "POST",
538
- config: {
539
- query: {
540
- Version: "2017-01-01",
541
- Action: "DeleteClusterNode",
542
- },
543
- headers: {
544
- "Content-Type": "application/x-www-form-urlencoded",
545
- },
546
- },
547
- paramsType: {
548
- InstanceId: "String",
549
- NodeId: "String",
550
- },
551
- },
552
- DescribeSlowLogDetail: {
553
- url: "/",
554
- method: "GET",
555
- config: {
556
- query: {
557
- Version: "2017-01-01",
558
- Action: "DescribeSlowLogDetail",
559
- },
560
- headers: {
561
- "Content-Type": "application/json",
562
- },
563
- },
564
- paramsType: {
565
- InstanceId: "String",
566
- NodeId: "String",
567
- InstanceType: "String",
568
- Database: "String",
569
- StartTime: "String",
570
- EndTime: "String",
571
- Marker: "Int",
572
- MaxRecords: "Int",
573
- },
574
- },
575
- DescribeSlowLogStatistics: {
576
- url: "/",
577
- method: "GET",
578
- config: {
579
- query: {
580
- Version: "2017-01-01",
581
- Action: "DescribeSlowLogStatistics",
582
- },
583
- headers: {
584
- "Content-Type": "application/json",
585
- },
586
- },
587
- paramsType: {
588
- InstanceId: "String",
589
- NodeId: "String",
590
- InstanceType: "String",
591
- StartTime: "String",
592
- EndTime: "String",
593
- Marker: "Int",
594
- MaxRecords: "Int",
595
- },
596
- },
597
- DescribeSlowLogDatabase: {
598
- url: "/",
599
- method: "GET",
600
- config: {
601
- query: {
602
- Version: "2017-01-01",
603
- Action: "DescribeSlowLogDatabase",
604
- },
605
- headers: {
606
- "Content-Type": "application/json",
607
- },
608
- },
609
- paramsType: {
610
- InstanceId: "String",
611
- NodeId: "String",
612
- InstanceType: "String",
613
- StartTime: "String",
614
- EndTime: "String",
615
- },
616
- },
617
- DescribeSlowLogLineChart: {
618
- url: "/",
619
- method: "GET",
620
- config: {
621
- query: {
622
- Version: "2017-01-01",
623
- Action: "DescribeSlowLogLineChart",
624
- },
625
- headers: {
626
- "Content-Type": "application/json",
627
- },
628
- },
629
- paramsType: {
630
- InstanceId: "String",
631
- NodeId: "String",
632
- InstanceType: "String",
633
- StartTime: "String",
634
- EndTime: "String",
635
- },
636
- },
637
- UpdateMongoDBInstanceCluster: {
638
- url: "/",
639
- method: "POST",
640
- config: {
641
- query: {
642
- Version: "2017-01-01",
643
- Action: "UpdateMongoDBInstanceCluster",
644
- },
645
- headers: {
646
- "Content-Type": "application/x-www-form-urlencoded",
647
- },
648
- },
649
- paramsType: {
650
- InstanceId: "String",
651
- InstanceClass: "String",
652
- NodeType: "String",
653
- NodeId: "String",
654
- Storage: "Int",
655
- },
656
- },
657
- DescribeClusterForRestore: {
658
- url: "/",
659
- method: "GET",
660
- config: {
661
- query: {
662
- Version: "2017-01-01",
663
- Action: "DescribeClusterForRestore",
664
- },
665
- headers: {
666
- "Content-Type": "application/json",
667
- },
668
- },
669
- paramsType: {
670
- InstanceId: "String",
671
- ResetTimePoint: "String",
672
- },
673
- },
674
- };
675
- };
4
+ _baseConfig = {
5
+ 'protocol': 'http://',
6
+ 'endpoint': 'mongodb.api.ksyun.com',
7
+ 'config': {
8
+ 'timeout': 60, //设置timeout
9
+ 'headers': {
10
+ 'Accept': 'application/json'
11
+ },
12
+ 'credentials': {
13
+ 'region': 'cn-shanghai-3',
14
+ 'service': 'mongodb',
15
+ },
16
+ },
17
+ }
18
+ _apiList = {
19
+ 'CreateMongoDBInstance': {
20
+ 'url': '/',
21
+ 'method': 'POST',
22
+ 'config': {
23
+ 'query': {
24
+ 'Version': '2017-01-01',
25
+ 'Action': 'CreateMongoDBInstance',
26
+ },
27
+ 'headers': {
28
+ 'Content-Type': 'application/x-www-form-urlencoded'
29
+ },
30
+ },
31
+ 'paramsType': {
32
+ 'PayType': 'String',
33
+ 'AvailabilityZone': 'Filter',
34
+ 'Name': 'String',
35
+ 'DbVersion': 'String',
36
+ 'NodeNum': 'Int',
37
+ 'Storage': 'Int',
38
+ 'Duration': 'Int',
39
+ 'IamProjectId': 'String',
40
+ 'VpcId': 'String',
41
+ 'VnetId': 'String',
42
+ 'InstancePassword': 'String',
43
+ 'InstanceClass': 'String',
44
+ }
45
+ },
46
+ 'DeleteMongoDBInstance': {
47
+ 'url': '/',
48
+ 'method': 'DELETE',
49
+ 'config': {
50
+ 'query': {
51
+ 'Version': '2017-01-01',
52
+ 'Action': 'DeleteMongoDBInstance',
53
+ },
54
+ 'headers': {
55
+ 'Content-Type': 'application/json'
56
+ },
57
+ },
58
+ 'paramsType': {
59
+ 'InstanceId': 'String',
60
+ }
61
+ },
62
+ 'DescribeMongoDBInstance': {
63
+ 'url': '/',
64
+ 'method': 'GET',
65
+ 'config': {
66
+ 'query': {
67
+ 'Version': '2017-01-01',
68
+ 'Action': 'DescribeMongoDBInstance',
69
+ },
70
+ 'headers': {
71
+ 'Content-Type': 'application/x-www-form-urlencoded'
72
+ },
73
+ },
74
+ 'paramsType': {
75
+ 'InstanceId': 'String',
76
+ }
77
+ },
78
+ 'DescribeMongoDBInstances': {
79
+ 'url': '/',
80
+ 'method': 'GET',
81
+ 'config': {
82
+ 'query': {
83
+ 'Version': '2017-01-01',
84
+ 'Action': 'DescribeMongoDBInstances',
85
+ },
86
+ 'headers': {
87
+ 'Content-Type': 'application/json'
88
+ },
89
+ },
90
+ 'paramsType': {
91
+ 'Area': 'String',
92
+ 'Vip': 'String',
93
+ 'VpcId': 'String',
94
+ 'VnetId': 'String',
95
+ 'IamProjectId': 'String',
96
+ 'InstanceId': 'String',
97
+ 'Name': 'String',
98
+ 'Mode': 'String',
99
+ 'DbVersion': 'String',
100
+ 'Status': 'String',
101
+ 'FuzzySearch': 'String',
102
+ 'TagKey': 'String',
103
+ 'TagValue': 'String',
104
+ 'Offset': 'Int',
105
+ 'Limit': 'Int',
106
+ 'OrderBy': 'String',
107
+ }
108
+ },
109
+ 'DescribeMongoDBInstanceNode': {
110
+ 'url': '/',
111
+ 'method': 'GET',
112
+ 'config': {
113
+ 'query': {
114
+ 'Version': '2017-01-01',
115
+ 'Action': 'DescribeMongoDBInstanceNode',
116
+ },
117
+ 'headers': {
118
+ 'Content-Type': 'application/json'
119
+ },
120
+ },
121
+ 'paramsType': {
122
+ 'InstanceId': 'String',
123
+ 'NodeId': 'String',
124
+ }
125
+ },
126
+ 'RenameMongoDBInstance': {
127
+ 'url': '/',
128
+ 'method': 'PUT',
129
+ 'config': {
130
+ 'query': {
131
+ 'Version': '2017-01-01',
132
+ 'Action': 'RenameMongoDBInstance',
133
+ },
134
+ 'headers': {
135
+ 'Content-Type': 'application/json'
136
+ },
137
+ },
138
+ 'paramsType': {
139
+ 'InstanceId': 'String',
140
+ 'Name': 'String',
141
+ }
142
+ },
143
+ 'ResetPasswordMongoDBInstance': {
144
+ 'url': '/',
145
+ 'method': 'PUT',
146
+ 'config': {
147
+ 'query': {
148
+ 'Version': '2017-01-01',
149
+ 'Action': 'ResetPasswordMongoDBInstance',
150
+ },
151
+ 'headers': {
152
+ 'Content-Type': 'application/json'
153
+ },
154
+ },
155
+ 'paramsType': {
156
+ 'InstanceId': 'String',
157
+ 'InstancePassword': 'String',
158
+ }
159
+ },
160
+ 'RestartMongoDBInstance': {
161
+ 'url': '/',
162
+ 'method': 'PUT',
163
+ 'config': {
164
+ 'query': {
165
+ 'Version': '2017-01-01',
166
+ 'Action': 'RestartMongoDBInstance',
167
+ },
168
+ 'headers': {
169
+ 'Content-Type': 'application/json'
170
+ },
171
+ },
172
+ 'paramsType': {
173
+ 'InstanceId': 'String',
174
+ }
175
+ },
176
+ 'CreateMongoDBSnapshot': {
177
+ 'url': '/',
178
+ 'method': 'POST',
179
+ 'config': {
180
+ 'query': {
181
+ 'Version': '2017-01-01',
182
+ 'Action': 'CreateMongoDBSnapshot',
183
+ },
184
+ 'headers': {
185
+ 'Content-Type': 'application/x-www-form-urlencoded'
186
+ },
187
+ },
188
+ 'paramsType': {
189
+ 'InstanceId': 'String',
190
+ 'Name': 'String',
191
+ 'BackupMode': 'String',
192
+ }
193
+ },
194
+ 'SetMongoDBTimingSnapshot': {
195
+ 'url': '/',
196
+ 'method': 'PUT',
197
+ 'config': {
198
+ 'query': {
199
+ 'Version': '2017-01-01',
200
+ 'Action': 'SetMongoDBTimingSnapshot',
201
+ },
202
+ 'headers': {
203
+ 'Content-Type': 'application/json'
204
+ },
205
+ },
206
+ 'paramsType': {
207
+ 'InstanceId': 'String',
208
+ 'TimingSwitch': 'String',
209
+ 'Timezone': 'String',
210
+ 'TimeCycle': 'String',
211
+ }
212
+ },
213
+ 'DescribeMongoDBSnapshot': {
214
+ 'url': '/',
215
+ 'method': 'GET',
216
+ 'config': {
217
+ 'query': {
218
+ 'Version': '2017-01-01',
219
+ 'Action': 'DescribeMongoDBSnapshot',
220
+ },
221
+ 'headers': {
222
+ 'Content-Type': 'application/x-www-form-urlencoded'
223
+ },
224
+ },
225
+ 'paramsType': {
226
+ 'InstanceId': 'String',
227
+ }
228
+ },
229
+ 'DeleteMongoDBSnapshot': {
230
+ 'url': '/',
231
+ 'method': 'DELETE',
232
+ 'config': {
233
+ 'query': {
234
+ 'Version': '2017-01-01',
235
+ 'Action': 'DeleteMongoDBSnapshot',
236
+ },
237
+ 'headers': {
238
+ 'Content-Type': 'application/x-www-form-urlencoded'
239
+ },
240
+ },
241
+ 'paramsType': {
242
+ 'InstanceId': 'String',
243
+ 'SnapshotId': 'String',
244
+ }
245
+ },
246
+ 'RenameMongoDBSnapshot': {
247
+ 'url': '/',
248
+ 'method': 'PUT',
249
+ 'config': {
250
+ 'query': {
251
+ 'Version': '2017-01-01',
252
+ 'Action': 'RenameMongoDBSnapshot',
253
+ },
254
+ 'headers': {
255
+ 'Content-Type': 'application/json'
256
+ },
257
+ },
258
+ 'paramsType': {
259
+ 'InstanceId': 'String',
260
+ 'SnapshotId': 'String',
261
+ 'Name': 'String',
262
+ }
263
+ },
264
+ 'AddSecurityGroupRule': {
265
+ 'url': '/',
266
+ 'method': 'POST',
267
+ 'config': {
268
+ 'query': {
269
+ 'Version': '2017-01-01',
270
+ 'Action': 'AddSecurityGroupRule',
271
+ },
272
+ 'headers': {
273
+ 'Content-Type': 'application/x-www-form-urlencoded'
274
+ },
275
+ },
276
+ 'paramsType': {
277
+ 'InstanceId': 'String',
278
+ 'Cidrs': 'String',
279
+ 'Type': 'String',
280
+ }
281
+ },
282
+ 'DeleteSecurityGroupRules': {
283
+ 'url': '/',
284
+ 'method': 'DELETE',
285
+ 'config': {
286
+ 'query': {
287
+ 'Version': '2017-01-01',
288
+ 'Action': 'DeleteSecurityGroupRules',
289
+ },
290
+ 'headers': {
291
+ 'Content-Type': 'application/x-www-form-urlencoded'
292
+ },
293
+ },
294
+ 'paramsType': {
295
+ 'Cidrs': 'String',
296
+ 'InstanceId': 'String',
297
+ 'Type': 'String',
298
+ }
299
+ },
300
+ 'ListSecurityGroupRules': {
301
+ 'url': '/',
302
+ 'method': 'GET',
303
+ 'config': {
304
+ 'query': {
305
+ 'Version': '2017-01-01',
306
+ 'Action': 'ListSecurityGroupRules',
307
+ },
308
+ 'headers': {
309
+ 'Content-Type': 'application/json'
310
+ },
311
+ },
312
+ 'paramsType': {
313
+ 'InstanceId': 'String',
314
+ }
315
+ },
316
+ 'UpdateMongoDBInstance': {
317
+ 'url': '/',
318
+ 'method': 'POST',
319
+ 'config': {
320
+ 'query': {
321
+ 'Version': '2017-01-01',
322
+ 'Action': 'UpdateMongoDBInstance',
323
+ },
324
+ 'headers': {
325
+ 'Content-Type': 'application/x-www-form-urlencoded'
326
+ },
327
+ },
328
+ 'paramsType': {
329
+ 'InstanceId': 'String',
330
+ 'InstanceClass': 'String',
331
+ 'Storage': 'Int',
332
+ }
333
+ },
334
+ 'AddSecondaryInstance': {
335
+ 'url': '/',
336
+ 'method': 'PUT',
337
+ 'config': {
338
+ 'query': {
339
+ 'Version': '2017-01-01',
340
+ 'Action': 'AddSecondaryInstance',
341
+ },
342
+ 'headers': {
343
+ 'Content-Type': 'application/json'
344
+ },
345
+ },
346
+ 'paramsType': {
347
+ 'InstanceId': 'String',
348
+ 'NodeNum': 'String',
349
+ }
350
+ },
351
+ 'DescribeMongoDBShardNode': {
352
+ 'url': '/',
353
+ 'method': 'GET',
354
+ 'config': {
355
+ 'query': {
356
+ 'Version': '2017-01-01',
357
+ 'Action': 'DescribeMongoDBShardNode',
358
+ },
359
+ 'headers': {
360
+ 'Content-Type': 'application/json'
361
+ },
362
+ },
363
+ 'paramsType': {
364
+ 'InstanceId': 'String',
365
+ }
366
+ },
367
+ 'DescribeValidRegion': {
368
+ 'url': '/',
369
+ 'method': 'GET',
370
+ 'config': {
371
+ 'query': {
372
+ 'Version': '2017-01-01',
373
+ 'Action': 'DescribeValidRegion',
374
+ },
375
+ 'headers': {
376
+ 'Content-Type': 'application/json'
377
+ },
378
+ },
379
+ 'paramsType': {
380
+ }
381
+ },
382
+ 'AllocateEip': {
383
+ 'url': '/',
384
+ 'method': 'POST',
385
+ 'config': {
386
+ 'query': {
387
+ 'Version': '2017-01-01',
388
+ 'Action': 'AllocateEip',
389
+ },
390
+ 'headers': {
391
+ 'Content-Type': 'application/x-www-form-urlencoded'
392
+ },
393
+ },
394
+ 'paramsType': {
395
+ 'InstanceId': 'String',
396
+ 'Type': 'String',
397
+ }
398
+ },
399
+ 'DeallocateEip': {
400
+ 'url': '/',
401
+ 'method': 'POST',
402
+ 'config': {
403
+ 'query': {
404
+ 'Version': '2017-01-01',
405
+ 'Action': 'DeallocateEip',
406
+ },
407
+ 'headers': {
408
+ 'Content-Type': 'application/x-www-form-urlencoded'
409
+ },
410
+ },
411
+ 'paramsType': {
412
+ 'InstanceId': 'String',
413
+ }
414
+ },
415
+ 'DescribeRegions': {
416
+ 'url': '/',
417
+ 'method': 'GET',
418
+ 'config': {
419
+ 'query': {
420
+ 'Version': '2017-01-01',
421
+ 'Action': 'DescribeRegions',
422
+ },
423
+ 'headers': {
424
+ 'Content-Type': 'application/json'
425
+ },
426
+ },
427
+ 'paramsType': {
428
+ }
429
+ },
430
+ 'CreateMongoDBShardInstance': {
431
+ 'url': '/',
432
+ 'method': 'POST',
433
+ 'config': {
434
+ 'query': {
435
+ 'Version': '2017-01-01',
436
+ 'Action': 'CreateMongoDBShardInstance',
437
+ },
438
+ 'headers': {
439
+ 'Content-Type': 'application/x-www-form-urlencoded'
440
+ },
441
+ },
442
+ 'paramsType': {
443
+ 'PayType': 'String',
444
+ 'AvailabilityZone': 'Filter',
445
+ 'Name': 'String',
446
+ 'DbVersion': 'String',
447
+ 'Storage': 'String',
448
+ 'Duration': 'Int',
449
+ 'IamProjectId': 'String',
450
+ 'VpcId': 'String',
451
+ 'VnetId': 'String',
452
+ 'InstancePassword': 'String',
453
+ 'ShardClass': 'String',
454
+ 'ShardNum': 'Int',
455
+ 'MongosNum': 'Int',
456
+ 'MongosClass': 'String',
457
+ }
458
+ },
459
+ 'DownloadSnapshot': {
460
+ 'url': '/',
461
+ 'method': 'GET',
462
+ 'config': {
463
+ 'query': {
464
+ 'Version': '2017-01-01',
465
+ 'Action': 'DownloadSnapshot',
466
+ },
467
+ 'headers': {
468
+ 'Content-Type': 'application/json'
469
+ },
470
+ },
471
+ 'paramsType': {
472
+ 'SnapshotId': 'String',
473
+ 'InstanceId': 'String',
474
+ }
475
+ },
476
+ 'CloneInstance': {
477
+ 'url': '/',
478
+ 'method': 'POST',
479
+ 'config': {
480
+ 'query': {
481
+ 'Version': '2017-01-01',
482
+ 'Action': 'CloneInstance',
483
+ },
484
+ 'headers': {
485
+ 'Content-Type': 'application/x-www-form-urlencoded'
486
+ },
487
+ },
488
+ 'paramsType': {
489
+ 'PayType': 'String',
490
+ 'AvailabilityZone': 'String',
491
+ 'Name': 'String',
492
+ 'Duration': 'Int',
493
+ 'IamProjectId': 'String',
494
+ 'VpcId': 'String',
495
+ 'VnetId': 'String',
496
+ 'InstancePassword': 'String',
497
+ 'SnapshotId': 'String',
498
+ 'InstanceId': 'String',
499
+ }
500
+ },
501
+ 'DescribeShardNode': {
502
+ 'url': '/',
503
+ 'method': 'GET',
504
+ 'config': {
505
+ 'query': {
506
+ 'Version': '2017-01-01',
507
+ 'Action': 'DescribeShardNode',
508
+ },
509
+ 'headers': {
510
+ 'Content-Type': 'application/json'
511
+ },
512
+ },
513
+ 'paramsType': {
514
+ 'InstanceId': 'String',
515
+ }
516
+ },
517
+ 'DescribeInstanceStatistic': {
518
+ 'url': '/',
519
+ 'method': 'GET',
520
+ 'config': {
521
+ 'query': {
522
+ 'Version': '2017-01-01',
523
+ 'Action': 'DescribeInstanceStatistic',
524
+ },
525
+ 'headers': {
526
+ 'Content-Type': 'application/json'
527
+ },
528
+ },
529
+ 'paramsType': {
530
+ }
531
+ },
532
+ 'AddClusterNode': {
533
+ 'url': '/',
534
+ 'method': 'POST',
535
+ 'config': {
536
+ 'query': {
537
+ 'Version': '2017-01-01',
538
+ 'Action': 'AddClusterNode',
539
+ },
540
+ 'headers': {
541
+ 'Content-Type': 'application/x-www-form-urlencoded'
542
+ },
543
+ },
544
+ 'paramsType': {
545
+ 'InstanceId': 'String',
546
+ 'NodeType': 'String',
547
+ 'NodeClass': 'String',
548
+ 'NodeStorage': 'Int',
549
+ }
550
+ },
551
+ 'DeleteClusterNode': {
552
+ 'url': '/',
553
+ 'method': 'POST',
554
+ 'config': {
555
+ 'query': {
556
+ 'Version': '2017-01-01',
557
+ 'Action': 'DeleteClusterNode',
558
+ },
559
+ 'headers': {
560
+ 'Content-Type': 'application/x-www-form-urlencoded'
561
+ },
562
+ },
563
+ 'paramsType': {
564
+ 'InstanceId': 'String',
565
+ 'NodeId': 'String',
566
+ }
567
+ },
568
+ 'DescribeSlowLogDetail': {
569
+ 'url': '/',
570
+ 'method': 'GET',
571
+ 'config': {
572
+ 'query': {
573
+ 'Version': '2017-01-01',
574
+ 'Action': 'DescribeSlowLogDetail',
575
+ },
576
+ 'headers': {
577
+ 'Content-Type': 'application/json'
578
+ },
579
+ },
580
+ 'paramsType': {
581
+ 'InstanceId': 'String',
582
+ 'NodeId': 'String',
583
+ 'InstanceType': 'String',
584
+ 'Database': 'String',
585
+ 'StartTime': 'String',
586
+ 'EndTime': 'String',
587
+ 'Marker': 'Int',
588
+ 'MaxRecords': 'Int',
589
+ }
590
+ },
591
+ 'DescribeSlowLogStatistics': {
592
+ 'url': '/',
593
+ 'method': 'GET',
594
+ 'config': {
595
+ 'query': {
596
+ 'Version': '2017-01-01',
597
+ 'Action': 'DescribeSlowLogStatistics',
598
+ },
599
+ 'headers': {
600
+ 'Content-Type': 'application/json'
601
+ },
602
+ },
603
+ 'paramsType': {
604
+ 'InstanceId': 'String',
605
+ 'NodeId': 'String',
606
+ 'InstanceType': 'String',
607
+ 'StartTime': 'String',
608
+ 'EndTime': 'String',
609
+ 'Marker': 'Int',
610
+ 'MaxRecords': 'Int',
611
+ }
612
+ },
613
+ 'DescribeSlowLogDatabase': {
614
+ 'url': '/',
615
+ 'method': 'GET',
616
+ 'config': {
617
+ 'query': {
618
+ 'Version': '2017-01-01',
619
+ 'Action': 'DescribeSlowLogDatabase',
620
+ },
621
+ 'headers': {
622
+ 'Content-Type': 'application/json'
623
+ },
624
+ },
625
+ 'paramsType': {
626
+ 'InstanceId': 'String',
627
+ 'NodeId': 'String',
628
+ 'InstanceType': 'String',
629
+ 'StartTime': 'String',
630
+ 'EndTime': 'String',
631
+ }
632
+ },
633
+ 'DescribeSlowLogLineChart': {
634
+ 'url': '/',
635
+ 'method': 'GET',
636
+ 'config': {
637
+ 'query': {
638
+ 'Version': '2017-01-01',
639
+ 'Action': 'DescribeSlowLogLineChart',
640
+ },
641
+ 'headers': {
642
+ 'Content-Type': 'application/json'
643
+ },
644
+ },
645
+ 'paramsType': {
646
+ 'InstanceId': 'String',
647
+ 'NodeId': 'String',
648
+ 'InstanceType': 'String',
649
+ 'StartTime': 'String',
650
+ 'EndTime': 'String',
651
+ }
652
+ },
653
+ 'UpdateMongoDBInstanceCluster': {
654
+ 'url': '/',
655
+ 'method': 'POST',
656
+ 'config': {
657
+ 'query': {
658
+ 'Version': '2017-01-01',
659
+ 'Action': 'UpdateMongoDBInstanceCluster',
660
+ },
661
+ 'headers': {
662
+ 'Content-Type': 'application/x-www-form-urlencoded'
663
+ },
664
+ },
665
+ 'paramsType': {
666
+ 'InstanceId': 'String',
667
+ 'InstanceClass': 'String',
668
+ 'NodeType': 'String',
669
+ 'NodeId': 'String',
670
+ 'Storage': 'Int',
671
+ }
672
+ },
673
+ 'DescribeClusterForRestore': {
674
+ 'url': '/',
675
+ 'method': 'GET',
676
+ 'config': {
677
+ 'query': {
678
+ 'Version': '2017-01-01',
679
+ 'Action': 'DescribeClusterForRestore',
680
+ },
681
+ 'headers': {
682
+ 'Content-Type': 'application/json'
683
+ },
684
+ },
685
+ 'paramsType': {
686
+ 'InstanceId': 'String',
687
+ 'ResetTimePoint': 'String',
688
+ }
689
+ },
690
+ 'DescribeDefaultParams': {
691
+ 'url': '/',
692
+ 'method': 'GET',
693
+ 'config': {
694
+ 'query': {
695
+ 'Version': '2017-01-01',
696
+ 'Action': 'DescribeDefaultParams',
697
+ },
698
+ 'headers': {
699
+ 'Content-Type': 'application/json'
700
+ },
701
+ },
702
+ 'paramsType': {
703
+ 'DbVersion': 'String',
704
+ }
705
+ },
706
+ 'CreateParamGroup': {
707
+ 'url': '/',
708
+ 'method': 'POST',
709
+ 'config': {
710
+ 'query': {
711
+ 'Version': '2017-01-01',
712
+ 'Action': 'CreateParamGroup',
713
+ },
714
+ 'headers': {
715
+ 'Content-Type': 'application/json'
716
+ },
717
+ },
718
+ 'paramsType': {
719
+ 'ParamGroupName': 'String',
720
+ 'Description': 'String',
721
+ 'DbVersion': 'Double',
722
+ 'Params': 'String',
723
+ }
724
+ },
725
+ 'DescribeParamGroupList': {
726
+ 'url': '/',
727
+ 'method': 'GET',
728
+ 'config': {
729
+ 'query': {
730
+ 'Version': '2017-01-01',
731
+ 'Action': 'DescribeParamGroupList',
732
+ },
733
+ 'headers': {
734
+ 'Content-Type': 'application/x-www-form-urlencoded'
735
+ },
736
+ },
737
+ 'paramsType': {
738
+ 'DbVersion': 'String',
739
+ 'NameSearch': 'String',
740
+ 'Offset': 'String',
741
+ 'Limit': 'String',
742
+ }
743
+ },
744
+ 'DescribeParamGroupInfo': {
745
+ 'url': '/',
746
+ 'method': 'GET',
747
+ 'config': {
748
+ 'query': {
749
+ 'Version': '2017-01-01',
750
+ 'Action': 'DescribeParamGroupInfo',
751
+ },
752
+ 'headers': {
753
+ 'Content-Type': 'application/x-www-form-urlencoded'
754
+ },
755
+ },
756
+ 'paramsType': {
757
+ 'ParamGroupId': 'String',
758
+ }
759
+ },
760
+ 'DescribeModifyHistory': {
761
+ 'url': '/',
762
+ 'method': 'GET',
763
+ 'config': {
764
+ 'query': {
765
+ 'Version': '2017-01-01',
766
+ 'Action': 'DescribeModifyHistory',
767
+ },
768
+ 'headers': {
769
+ 'Content-Type': 'application/x-www-form-urlencoded'
770
+ },
771
+ },
772
+ 'paramsType': {
773
+ 'ParamName': 'String',
774
+ 'Offset': 'Int',
775
+ 'Limit': 'Int',
776
+ }
777
+ },
778
+ 'DescribeInstanceParams': {
779
+ 'url': '/',
780
+ 'method': 'GET',
781
+ 'config': {
782
+ 'query': {
783
+ 'Version': '2017-01-01',
784
+ 'Action': 'DescribeInstanceParams',
785
+ },
786
+ 'headers': {
787
+ 'Content-Type': 'application/x-www-form-urlencoded'
788
+ },
789
+ },
790
+ 'paramsType': {
791
+ 'InstanceId': 'String',
792
+ }
793
+ },
794
+ 'ModifyParamGroup': {
795
+ 'url': '/',
796
+ 'method': 'POST',
797
+ 'config': {
798
+ 'query': {
799
+ 'Version': '2017-01-01',
800
+ 'Action': 'ModifyParamGroup',
801
+ },
802
+ 'headers': {
803
+ 'Content-Type': 'application/json'
804
+ },
805
+ },
806
+ 'paramsType': {
807
+ 'NewParamGroupName': 'String',
808
+ 'NewDescription': 'String',
809
+ }
810
+ },
811
+ 'DeleteParamGroup': {
812
+ 'url': '/',
813
+ 'method': 'POST',
814
+ 'config': {
815
+ 'query': {
816
+ 'Version': '2017-01-01',
817
+ 'Action': 'DeleteParamGroup',
818
+ },
819
+ 'headers': {
820
+ 'Content-Type': 'application/json'
821
+ },
822
+ },
823
+ 'paramsType': {
824
+ 'ParamGroupId': 'String',
825
+ }
826
+ },
827
+ }
828
+ }