ksyun-sdk-node 1.5.0 → 1.5.1

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 (175) hide show
  1. package/dist/service/Actiontrail/v20190401/index.js +31 -31
  2. package/dist/service/Aicp/v20240612/index.js +382 -382
  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 -106
  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/v3/index.js +476 -300
  15. package/dist/service/Cen/v20160304/index.js +355 -355
  16. package/dist/service/Clickhouse/v20210101/index.js +533 -533
  17. package/dist/service/Cloud_advisor/v20250610/index.js +47 -47
  18. package/dist/service/Dmp/v20240101/index.js +248 -248
  19. package/dist/service/Dts/v20180108/index.js +274 -274
  20. package/dist/service/Ebs/v20160304/index.js +383 -383
  21. package/dist/service/Eip/v20160304/index.js +158 -158
  22. package/dist/service/Epc/v20151101/index.js +1668 -1668
  23. package/dist/service/Iam/v20151101/index.js +834 -834
  24. package/dist/service/Iam/v20240513/index.js +23 -23
  25. package/dist/service/Iam/v20240703/index.js +20 -20
  26. package/dist/service/Influxdb/v20191010/index.js +350 -350
  27. package/dist/service/Kad/v20161122/index.js +104 -104
  28. package/dist/service/Kce/v20180314/index.js +216 -216
  29. package/dist/service/Kce/v20190806/index.js +501 -501
  30. package/dist/service/Kce/v20201231/index.js +39 -39
  31. package/dist/service/Kce/v20230101/index.js +130 -130
  32. package/dist/service/Kce/v20230306/index.js +305 -305
  33. package/dist/service/Kce/v20231115/index.js +36 -36
  34. package/dist/service/Kce2/v20230101/index.js +219 -219
  35. package/dist/service/Kcf/v20211215/index.js +141 -141
  36. package/dist/service/Kci/v20200702/index.js +242 -242
  37. package/dist/service/Kcm/v20160304/index.js +161 -161
  38. package/dist/service/Kcrs/v20211109/index.js +608 -608
  39. package/dist/service/Kcs/v20160701/index.js +939 -939
  40. package/dist/service/Kcs/v20170401/index.js +22 -22
  41. package/dist/service/Kcs/v20240701/index.js +21 -21
  42. package/dist/service/Kead/v20200101/index.js +45 -45
  43. package/dist/service/Kec/v20160304/index.js +1679 -1679
  44. package/dist/service/Ked/v1/index.js +568 -568
  45. package/dist/service/Kes/v20201215/index.js +112 -112
  46. package/dist/service/Ket/v20170101/index.js +124 -124
  47. package/dist/service/Kfw/v20160304/index.js +31 -31
  48. package/dist/service/Kingpay/v1/index.js +20 -20
  49. package/dist/service/Kkms/v20160304/index.js +108 -108
  50. package/dist/service/Klog/v20200731/index.js +232 -232
  51. package/dist/service/Kls/v20170101/index.js +135 -135
  52. package/dist/service/Kmr/v20210902/index.js +288 -288
  53. package/dist/service/Kmr/v20231231/index.js +100 -100
  54. package/dist/service/Kmr/v20240814/index.js +256 -256
  55. package/dist/service/Knad/v20230323/index.js +231 -231
  56. package/dist/service/Kpfs/v20240930/index.js +117 -117
  57. package/dist/service/Krds/v20160701/index.js +1286 -1286
  58. package/dist/service/Krds/v20200825/index.js +145 -145
  59. package/dist/service/Memcached/v20180627/index.js +172 -172
  60. package/dist/service/Milvus/v20231010/index.js +252 -252
  61. package/dist/service/Mongodb/v20170101/index.js +618 -618
  62. package/dist/service/Mongodb/v20250101/index.js +20 -20
  63. package/dist/service/Monitor/v20100525/index.js +41 -41
  64. package/dist/service/Monitor/v20181114/index.js +25 -25
  65. package/dist/service/Monitor/v20210101/index.js +144 -144
  66. package/dist/service/Monitor/v20220101/index.js +30 -30
  67. package/dist/service/Monitor/v20250101/index.js +42 -42
  68. package/dist/service/Pdns/v20160304/index.js +442 -442
  69. package/dist/service/Postgresql/v20181225/index.js +702 -702
  70. package/dist/service/Rabbitmq/v20191017/index.js +235 -235
  71. package/dist/service/Relyt/v20240117/index.js +21 -21
  72. package/dist/service/Resourcemanager/v20210320/index.js +110 -110
  73. package/dist/service/Sks/v20151101/index.js +70 -70
  74. package/dist/service/Slb/v20160304/index.js +1549 -1549
  75. package/dist/service/Slb/v20250430/index.js +630 -630
  76. package/dist/service/Sqlserver/v20190425/index.js +633 -633
  77. package/dist/service/Sts/v20151101/index.js +37 -37
  78. package/dist/service/Tagv2/v20200901/index.js +141 -141
  79. package/dist/service/Ter/v20240415/index.js +70 -70
  80. package/dist/service/Tidb/v20210520/index.js +549 -549
  81. package/dist/service/Trade/v20200114/index.js +20 -20
  82. package/dist/service/Trade/v20200831/index.js +22 -22
  83. package/dist/service/Trade/v20250220/index.js +58 -58
  84. package/dist/service/Trade/v20250321/index.js +54 -54
  85. package/dist/service/Trade/v20250828/index.js +32 -32
  86. package/dist/service/Vpc/v20160304/index.js +1776 -1776
  87. package/dist/service/Waf/v20200707/index.js +312 -312
  88. package/package.json +1 -1
  89. package/src/service/Actiontrail/v20190401/index.js +42 -42
  90. package/src/service/Aicp/v20240612/index.js +504 -505
  91. package/src/service/Aicp/v20251212/index.js +62 -62
  92. package/src/service/Bill/v20180601/index.js +63 -64
  93. package/src/service/Bill/v20220601/index.js +50 -50
  94. package/src/service/Bill_union/v20200101/index.js +181 -183
  95. package/src/service/Bill_union/v20221222/index.js +124 -124
  96. package/src/service/Bill_union/v20250801/index.js +52 -52
  97. package/src/service/Bws/v20160304/index.js +141 -141
  98. package/src/service/Cdn/v20160901/index.js +60 -61
  99. package/src/service/Cdn/v20200630/index.js +399 -399
  100. package/src/service/Cdn/v20200901/index.js +143 -143
  101. package/src/service/Cdn/v20211201/index.js +32 -32
  102. package/src/service/Cdn/v3/index.js +589 -413
  103. package/src/service/Cen/v20160304/index.js +493 -493
  104. package/src/service/Clickhouse/v20210101/index.js +720 -722
  105. package/src/service/Cloud_advisor/v20250610/index.js +66 -66
  106. package/src/service/Dmp/v20240101/index.js +351 -356
  107. package/src/service/Dts/v20180108/index.js +375 -377
  108. package/src/service/Ebs/v20160304/index.js +528 -531
  109. package/src/service/Eip/v20160304/index.js +221 -226
  110. package/src/service/Epc/v20151101/index.js +2065 -2068
  111. package/src/service/Iam/v20151101/index.js +1155 -1158
  112. package/src/service/Iam/v20240513/index.js +34 -34
  113. package/src/service/Iam/v20240703/index.js +31 -31
  114. package/src/service/Influxdb/v20191010/index.js +493 -493
  115. package/src/service/Kad/v20161122/index.js +151 -152
  116. package/src/service/Kce/v20180314/index.js +309 -309
  117. package/src/service/Kce/v20190806/index.js +662 -664
  118. package/src/service/Kce/v20201231/index.js +50 -50
  119. package/src/service/Kce/v20230101/index.js +182 -183
  120. package/src/service/Kce/v20230306/index.js +423 -423
  121. package/src/service/Kce/v20231115/index.js +51 -51
  122. package/src/service/Kce2/v20230101/index.js +286 -286
  123. package/src/service/Kcf/v20211215/index.js +192 -194
  124. package/src/service/Kci/v20200702/index.js +309 -309
  125. package/src/service/Kcm/v20160304/index.js +219 -219
  126. package/src/service/Kcrs/v20211109/index.js +836 -836
  127. package/src/service/Kcs/v20160701/index.js +1237 -1241
  128. package/src/service/Kcs/v20170401/index.js +33 -33
  129. package/src/service/Kcs/v20240701/index.js +32 -32
  130. package/src/service/Kead/v20200101/index.js +63 -64
  131. package/src/service/Kec/v20160304/index.js +2061 -2066
  132. package/src/service/Ked/v1/index.js +794 -795
  133. package/src/service/Kes/v20201215/index.js +160 -160
  134. package/src/service/Ket/v20170101/index.js +172 -172
  135. package/src/service/Kfw/v20160304/index.js +45 -46
  136. package/src/service/Kingpay/v1/index.js +31 -31
  137. package/src/service/Kkms/v20160304/index.js +156 -156
  138. package/src/service/Klog/v20200731/index.js +320 -320
  139. package/src/service/Kls/v20170101/index.js +183 -183
  140. package/src/service/Kmr/v20210902/index.js +411 -411
  141. package/src/service/Kmr/v20231231/index.js +135 -135
  142. package/src/service/Kmr/v20240814/index.js +359 -359
  143. package/src/service/Knad/v20230323/index.js +322 -324
  144. package/src/service/Kpfs/v20240930/index.js +170 -170
  145. package/src/service/Krds/v20160701/index.js +1700 -1702
  146. package/src/service/Krds/v20200825/index.js +203 -203
  147. package/src/service/Memcached/v20180627/index.js +238 -245
  148. package/src/service/Milvus/v20231010/index.js +355 -355
  149. package/src/service/Mongodb/v20170101/index.js +822 -825
  150. package/src/service/Mongodb/v20250101/index.js +31 -31
  151. package/src/service/Monitor/v20100525/index.js +56 -56
  152. package/src/service/Monitor/v20181114/index.js +36 -36
  153. package/src/service/Monitor/v20210101/index.js +205 -207
  154. package/src/service/Monitor/v20220101/index.js +44 -45
  155. package/src/service/Monitor/v20250101/index.js +57 -57
  156. package/src/service/Pdns/v20160304/index.js +625 -625
  157. package/src/service/Postgresql/v20181225/index.js +939 -940
  158. package/src/service/Rabbitmq/v20191017/index.js +332 -338
  159. package/src/service/Relyt/v20240117/index.js +32 -32
  160. package/src/service/Resourcemanager/v20210320/index.js +157 -158
  161. package/src/service/Sks/v20151101/index.js +96 -97
  162. package/src/service/Slb/v20160304/index.js +1844 -1844
  163. package/src/service/Slb/v20250430/index.js +739 -739
  164. package/src/service/Sqlserver/v20190425/index.js +861 -861
  165. package/src/service/Sts/v20151101/index.js +52 -52
  166. package/src/service/Tagv2/v20200901/index.js +199 -199
  167. package/src/service/Ter/v20240415/index.js +97 -97
  168. package/src/service/Tidb/v20210520/index.js +746 -746
  169. package/src/service/Trade/v20200114/index.js +31 -31
  170. package/src/service/Trade/v20200831/index.js +33 -33
  171. package/src/service/Trade/v20250220/index.js +81 -81
  172. package/src/service/Trade/v20250321/index.js +77 -77
  173. package/src/service/Trade/v20250828/index.js +43 -43
  174. package/src/service/Vpc/v20160304/index.js +2436 -2437
  175. package/src/service/Waf/v20200707/index.js +420 -420
@@ -1,828 +1,825 @@
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/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
- }
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
+ AllocateEip: {
382
+ url: "/",
383
+ method: "POST",
384
+ config: {
385
+ query: {
386
+ Version: "2017-01-01",
387
+ Action: "AllocateEip",
388
+ },
389
+ headers: {
390
+ "Content-Type": "application/x-www-form-urlencoded",
391
+ },
392
+ },
393
+ paramsType: {
394
+ InstanceId: "String",
395
+ Type: "String",
396
+ },
397
+ },
398
+ DeallocateEip: {
399
+ url: "/",
400
+ method: "POST",
401
+ config: {
402
+ query: {
403
+ Version: "2017-01-01",
404
+ Action: "DeallocateEip",
405
+ },
406
+ headers: {
407
+ "Content-Type": "application/x-www-form-urlencoded",
408
+ },
409
+ },
410
+ paramsType: {
411
+ InstanceId: "String",
412
+ },
413
+ },
414
+ DescribeRegions: {
415
+ url: "/",
416
+ method: "GET",
417
+ config: {
418
+ query: {
419
+ Version: "2017-01-01",
420
+ Action: "DescribeRegions",
421
+ },
422
+ headers: {
423
+ "Content-Type": "application/json",
424
+ },
425
+ },
426
+ paramsType: {},
427
+ },
428
+ CreateMongoDBShardInstance: {
429
+ url: "/",
430
+ method: "POST",
431
+ config: {
432
+ query: {
433
+ Version: "2017-01-01",
434
+ Action: "CreateMongoDBShardInstance",
435
+ },
436
+ headers: {
437
+ "Content-Type": "application/x-www-form-urlencoded",
438
+ },
439
+ },
440
+ paramsType: {
441
+ PayType: "String",
442
+ AvailabilityZone: "Filter",
443
+ Name: "String",
444
+ DbVersion: "String",
445
+ Storage: "String",
446
+ Duration: "Int",
447
+ IamProjectId: "String",
448
+ VpcId: "String",
449
+ VnetId: "String",
450
+ InstancePassword: "String",
451
+ ShardClass: "String",
452
+ ShardNum: "Int",
453
+ MongosNum: "Int",
454
+ MongosClass: "String",
455
+ },
456
+ },
457
+ DownloadSnapshot: {
458
+ url: "/",
459
+ method: "GET",
460
+ config: {
461
+ query: {
462
+ Version: "2017-01-01",
463
+ Action: "DownloadSnapshot",
464
+ },
465
+ headers: {
466
+ "Content-Type": "application/json",
467
+ },
468
+ },
469
+ paramsType: {
470
+ SnapshotId: "String",
471
+ InstanceId: "String",
472
+ },
473
+ },
474
+ CloneInstance: {
475
+ url: "/",
476
+ method: "POST",
477
+ config: {
478
+ query: {
479
+ Version: "2017-01-01",
480
+ Action: "CloneInstance",
481
+ },
482
+ headers: {
483
+ "Content-Type": "application/x-www-form-urlencoded",
484
+ },
485
+ },
486
+ paramsType: {
487
+ PayType: "String",
488
+ AvailabilityZone: "String",
489
+ Name: "String",
490
+ Duration: "Int",
491
+ IamProjectId: "String",
492
+ VpcId: "String",
493
+ VnetId: "String",
494
+ InstancePassword: "String",
495
+ SnapshotId: "String",
496
+ InstanceId: "String",
497
+ },
498
+ },
499
+ DescribeShardNode: {
500
+ url: "/",
501
+ method: "GET",
502
+ config: {
503
+ query: {
504
+ Version: "2017-01-01",
505
+ Action: "DescribeShardNode",
506
+ },
507
+ headers: {
508
+ "Content-Type": "application/json",
509
+ },
510
+ },
511
+ paramsType: {
512
+ InstanceId: "String",
513
+ },
514
+ },
515
+ DescribeInstanceStatistic: {
516
+ url: "/",
517
+ method: "GET",
518
+ config: {
519
+ query: {
520
+ Version: "2017-01-01",
521
+ Action: "DescribeInstanceStatistic",
522
+ },
523
+ headers: {
524
+ "Content-Type": "application/json",
525
+ },
526
+ },
527
+ paramsType: {},
528
+ },
529
+ AddClusterNode: {
530
+ url: "/",
531
+ method: "POST",
532
+ config: {
533
+ query: {
534
+ Version: "2017-01-01",
535
+ Action: "AddClusterNode",
536
+ },
537
+ headers: {
538
+ "Content-Type": "application/x-www-form-urlencoded",
539
+ },
540
+ },
541
+ paramsType: {
542
+ InstanceId: "String",
543
+ NodeType: "String",
544
+ NodeClass: "String",
545
+ NodeStorage: "Int",
546
+ },
547
+ },
548
+ DeleteClusterNode: {
549
+ url: "/",
550
+ method: "POST",
551
+ config: {
552
+ query: {
553
+ Version: "2017-01-01",
554
+ Action: "DeleteClusterNode",
555
+ },
556
+ headers: {
557
+ "Content-Type": "application/x-www-form-urlencoded",
558
+ },
559
+ },
560
+ paramsType: {
561
+ InstanceId: "String",
562
+ NodeId: "String",
563
+ },
564
+ },
565
+ DescribeSlowLogDetail: {
566
+ url: "/",
567
+ method: "GET",
568
+ config: {
569
+ query: {
570
+ Version: "2017-01-01",
571
+ Action: "DescribeSlowLogDetail",
572
+ },
573
+ headers: {
574
+ "Content-Type": "application/json",
575
+ },
576
+ },
577
+ paramsType: {
578
+ InstanceId: "String",
579
+ NodeId: "String",
580
+ InstanceType: "String",
581
+ Database: "String",
582
+ StartTime: "String",
583
+ EndTime: "String",
584
+ Marker: "Int",
585
+ MaxRecords: "Int",
586
+ },
587
+ },
588
+ DescribeSlowLogStatistics: {
589
+ url: "/",
590
+ method: "GET",
591
+ config: {
592
+ query: {
593
+ Version: "2017-01-01",
594
+ Action: "DescribeSlowLogStatistics",
595
+ },
596
+ headers: {
597
+ "Content-Type": "application/json",
598
+ },
599
+ },
600
+ paramsType: {
601
+ InstanceId: "String",
602
+ NodeId: "String",
603
+ InstanceType: "String",
604
+ StartTime: "String",
605
+ EndTime: "String",
606
+ Marker: "Int",
607
+ MaxRecords: "Int",
608
+ },
609
+ },
610
+ DescribeSlowLogDatabase: {
611
+ url: "/",
612
+ method: "GET",
613
+ config: {
614
+ query: {
615
+ Version: "2017-01-01",
616
+ Action: "DescribeSlowLogDatabase",
617
+ },
618
+ headers: {
619
+ "Content-Type": "application/json",
620
+ },
621
+ },
622
+ paramsType: {
623
+ InstanceId: "String",
624
+ NodeId: "String",
625
+ InstanceType: "String",
626
+ StartTime: "String",
627
+ EndTime: "String",
628
+ },
629
+ },
630
+ DescribeSlowLogLineChart: {
631
+ url: "/",
632
+ method: "GET",
633
+ config: {
634
+ query: {
635
+ Version: "2017-01-01",
636
+ Action: "DescribeSlowLogLineChart",
637
+ },
638
+ headers: {
639
+ "Content-Type": "application/json",
640
+ },
641
+ },
642
+ paramsType: {
643
+ InstanceId: "String",
644
+ NodeId: "String",
645
+ InstanceType: "String",
646
+ StartTime: "String",
647
+ EndTime: "String",
648
+ },
649
+ },
650
+ UpdateMongoDBInstanceCluster: {
651
+ url: "/",
652
+ method: "POST",
653
+ config: {
654
+ query: {
655
+ Version: "2017-01-01",
656
+ Action: "UpdateMongoDBInstanceCluster",
657
+ },
658
+ headers: {
659
+ "Content-Type": "application/x-www-form-urlencoded",
660
+ },
661
+ },
662
+ paramsType: {
663
+ InstanceId: "String",
664
+ InstanceClass: "String",
665
+ NodeType: "String",
666
+ NodeId: "String",
667
+ Storage: "Int",
668
+ },
669
+ },
670
+ DescribeClusterForRestore: {
671
+ url: "/",
672
+ method: "GET",
673
+ config: {
674
+ query: {
675
+ Version: "2017-01-01",
676
+ Action: "DescribeClusterForRestore",
677
+ },
678
+ headers: {
679
+ "Content-Type": "application/json",
680
+ },
681
+ },
682
+ paramsType: {
683
+ InstanceId: "String",
684
+ ResetTimePoint: "String",
685
+ },
686
+ },
687
+ DescribeDefaultParams: {
688
+ url: "/",
689
+ method: "GET",
690
+ config: {
691
+ query: {
692
+ Version: "2017-01-01",
693
+ Action: "DescribeDefaultParams",
694
+ },
695
+ headers: {
696
+ "Content-Type": "application/json",
697
+ },
698
+ },
699
+ paramsType: {
700
+ DbVersion: "String",
701
+ },
702
+ },
703
+ CreateParamGroup: {
704
+ url: "/",
705
+ method: "POST",
706
+ config: {
707
+ query: {
708
+ Version: "2017-01-01",
709
+ Action: "CreateParamGroup",
710
+ },
711
+ headers: {
712
+ "Content-Type": "application/json",
713
+ },
714
+ },
715
+ paramsType: {
716
+ ParamGroupName: "String",
717
+ Description: "String",
718
+ DbVersion: "Double",
719
+ Params: "String",
720
+ },
721
+ },
722
+ DescribeParamGroupList: {
723
+ url: "/",
724
+ method: "GET",
725
+ config: {
726
+ query: {
727
+ Version: "2017-01-01",
728
+ Action: "DescribeParamGroupList",
729
+ },
730
+ headers: {
731
+ "Content-Type": "application/x-www-form-urlencoded",
732
+ },
733
+ },
734
+ paramsType: {
735
+ DbVersion: "String",
736
+ NameSearch: "String",
737
+ Offset: "String",
738
+ Limit: "String",
739
+ },
740
+ },
741
+ DescribeParamGroupInfo: {
742
+ url: "/",
743
+ method: "GET",
744
+ config: {
745
+ query: {
746
+ Version: "2017-01-01",
747
+ Action: "DescribeParamGroupInfo",
748
+ },
749
+ headers: {
750
+ "Content-Type": "application/x-www-form-urlencoded",
751
+ },
752
+ },
753
+ paramsType: {
754
+ ParamGroupId: "String",
755
+ },
756
+ },
757
+ DescribeModifyHistory: {
758
+ url: "/",
759
+ method: "GET",
760
+ config: {
761
+ query: {
762
+ Version: "2017-01-01",
763
+ Action: "DescribeModifyHistory",
764
+ },
765
+ headers: {
766
+ "Content-Type": "application/x-www-form-urlencoded",
767
+ },
768
+ },
769
+ paramsType: {
770
+ ParamName: "String",
771
+ Offset: "Int",
772
+ Limit: "Int",
773
+ },
774
+ },
775
+ DescribeInstanceParams: {
776
+ url: "/",
777
+ method: "GET",
778
+ config: {
779
+ query: {
780
+ Version: "2017-01-01",
781
+ Action: "DescribeInstanceParams",
782
+ },
783
+ headers: {
784
+ "Content-Type": "application/x-www-form-urlencoded",
785
+ },
786
+ },
787
+ paramsType: {
788
+ InstanceId: "String",
789
+ },
790
+ },
791
+ ModifyParamGroup: {
792
+ url: "/",
793
+ method: "POST",
794
+ config: {
795
+ query: {
796
+ Version: "2017-01-01",
797
+ Action: "ModifyParamGroup",
798
+ },
799
+ headers: {
800
+ "Content-Type": "application/json",
801
+ },
802
+ },
803
+ paramsType: {
804
+ NewParamGroupName: "String",
805
+ NewDescription: "String",
806
+ },
807
+ },
808
+ DeleteParamGroup: {
809
+ url: "/",
810
+ method: "POST",
811
+ config: {
812
+ query: {
813
+ Version: "2017-01-01",
814
+ Action: "DeleteParamGroup",
815
+ },
816
+ headers: {
817
+ "Content-Type": "application/json",
818
+ },
819
+ },
820
+ paramsType: {
821
+ ParamGroupId: "String",
822
+ },
823
+ },
824
+ };
825
+ };