ksyun-sdk-node 1.2.4 → 1.4.9

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 (128) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/dist/base/BaseClient.js +50 -4
  3. package/dist/service/Actiontrail/v20190401/index.js +31 -31
  4. package/dist/service/Aicp/v20240612/index.js +491 -0
  5. package/dist/service/Aicp/v20251212/index.js +76 -0
  6. package/dist/service/Bill/v20180601/index.js +45 -45
  7. package/dist/service/Bill/v20220601/index.js +35 -35
  8. package/dist/service/Bill_union/v20200101/index.js +139 -103
  9. package/dist/service/Bill_union/v20221222/index.js +93 -93
  10. package/dist/service/Bill_union/v20250801/index.js +66 -0
  11. package/dist/service/Bws/v20160304/index.js +103 -103
  12. package/dist/service/Cdn/v20160901/index.js +52 -19
  13. package/dist/service/Cdn/v20200630/index.js +306 -306
  14. package/dist/service/Cdn/v20200901/index.js +108 -108
  15. package/dist/service/Cdn/v20211201/index.js +45 -0
  16. package/dist/service/Cdn/v20250503/index.js +404 -0
  17. package/dist/service/Cen/v20160304/index.js +321 -321
  18. package/dist/service/Clickhouse/v20210101/index.js +387 -387
  19. package/dist/service/Ebs/v20160304/index.js +262 -262
  20. package/dist/service/Eip/v20160304/index.js +101 -101
  21. package/dist/service/Epc/v20151101/index.js +1822 -766
  22. package/dist/service/Iam/v20151101/index.js +863 -756
  23. package/dist/service/Iam/v20240513/index.js +47 -0
  24. package/dist/service/Iam/v20240703/index.js +44 -0
  25. package/dist/service/Kad/v20161122/index.js +81 -81
  26. package/dist/service/Kce/v20180314/index.js +216 -216
  27. package/dist/service/Kce/v20190806/index.js +343 -343
  28. package/dist/service/Kce/v20201231/index.js +39 -39
  29. package/dist/service/Kcf/v20211215/index.js +141 -141
  30. package/dist/service/Kcm/v20160304/index.js +81 -81
  31. package/dist/service/Kcrs/v20211109/index.js +611 -611
  32. package/dist/service/Kcs/v20160701/index.js +800 -800
  33. package/dist/service/Kcs/v20170401/index.js +47 -47
  34. package/dist/service/Kead/v20200101/index.js +25 -25
  35. package/dist/service/Kec/v20160304/index.js +1697 -1533
  36. package/dist/service/Kes/v20201215/index.js +171 -0
  37. package/dist/service/Ket/v20170101/index.js +92 -92
  38. package/dist/service/Kkms/v20160304/index.js +108 -108
  39. package/dist/service/Klog/v20200731/index.js +232 -705
  40. package/dist/service/Kls/v20170101/index.js +135 -135
  41. package/dist/service/Kmr/v20210902/index.js +422 -0
  42. package/dist/service/Kmr/v20231231/index.js +154 -0
  43. package/dist/service/Kmr/v20240814/index.js +370 -0
  44. package/dist/service/Krds/v20160701/index.js +991 -991
  45. package/dist/service/Krds/v20200825/index.js +115 -115
  46. package/dist/service/Memcached/v20180627/index.js +172 -172
  47. package/dist/service/Mongodb/v20170101/index.js +514 -514
  48. package/dist/service/Monitor/v20100525/index.js +41 -41
  49. package/dist/service/Monitor/v20181114/index.js +25 -25
  50. package/dist/service/Monitor/v20210101/index.js +153 -116
  51. package/dist/service/Monitor/v20220101/index.js +30 -40
  52. package/dist/service/Monitor/v20250101/index.js +71 -0
  53. package/dist/service/Rabbitmq/v20191017/index.js +163 -163
  54. package/dist/service/Resourcemanager/v20210320/index.js +110 -110
  55. package/dist/service/Sks/v20151101/index.js +69 -69
  56. package/dist/service/Slb/v20160304/index.js +1208 -1208
  57. package/dist/service/Sts/v20151101/index.js +23 -23
  58. package/dist/service/Tagv2/v20200901/index.js +115 -115
  59. package/dist/service/Tidb/v20210520/index.js +254 -254
  60. package/dist/service/Trade/v20200114/index.js +20 -20
  61. package/dist/service/Trade/v20200831/index.js +22 -22
  62. package/dist/service/Vpc/v20160304/index.js +1947 -1209
  63. package/dist/service/Waf/v20200707/index.js +174 -174
  64. package/example/iam.js +2 -1
  65. package/example/res.js +2 -1
  66. package/package.json +1 -1
  67. package/src/base/BaseClient.js +51 -4
  68. package/src/service/Actiontrail/v20190401/index.js +42 -42
  69. package/src/service/Aicp/v20240612/index.js +483 -0
  70. package/src/service/Aicp/v20251212/index.js +68 -0
  71. package/src/service/Bill/v20180601/index.js +63 -64
  72. package/src/service/Bill/v20220601/index.js +50 -50
  73. package/src/service/Bill_union/v20200101/index.js +181 -146
  74. package/src/service/Bill_union/v20221222/index.js +124 -124
  75. package/src/service/Bill_union/v20250801/index.js +58 -0
  76. package/src/service/Bws/v20160304/index.js +138 -138
  77. package/src/service/Cdn/v20160901/index.js +62 -30
  78. package/src/service/Cdn/v20200630/index.js +399 -399
  79. package/src/service/Cdn/v20200901/index.js +143 -143
  80. package/src/service/Cdn/v20211201/index.js +37 -0
  81. package/src/service/Cdn/v20250503/index.js +396 -0
  82. package/src/service/Cen/v20160304/index.js +449 -449
  83. package/src/service/Clickhouse/v20210101/index.js +535 -535
  84. package/src/service/Ebs/v20160304/index.js +365 -365
  85. package/src/service/Eip/v20160304/index.js +135 -136
  86. package/src/service/Epc/v20151101/index.js +2065 -1009
  87. package/src/service/Iam/v20151101/index.js +1155 -1050
  88. package/src/service/Iam/v20240513/index.js +39 -0
  89. package/src/service/Iam/v20240703/index.js +36 -0
  90. package/src/service/Kad/v20161122/index.js +112 -112
  91. package/src/service/Kce/v20180314/index.js +309 -309
  92. package/src/service/Kce/v20190806/index.js +471 -471
  93. package/src/service/Kce/v20201231/index.js +50 -50
  94. package/src/service/Kcf/v20211215/index.js +192 -194
  95. package/src/service/Kcm/v20160304/index.js +104 -104
  96. package/src/service/Kcrs/v20211109/index.js +840 -854
  97. package/src/service/Kcs/v20160701/index.js +1095 -1098
  98. package/src/service/Kcs/v20170401/index.js +66 -66
  99. package/src/service/Kead/v20200101/index.js +36 -36
  100. package/src/service/Kec/v20160304/index.js +2061 -1902
  101. package/src/service/Kes/v20201215/index.js +163 -0
  102. package/src/service/Ket/v20170101/index.js +123 -123
  103. package/src/service/Kkms/v20160304/index.js +156 -156
  104. package/src/service/Klog/v20200731/index.js +320 -807
  105. package/src/service/Kls/v20170101/index.js +183 -183
  106. package/src/service/Kmr/v20210902/index.js +414 -0
  107. package/src/service/Kmr/v20231231/index.js +146 -0
  108. package/src/service/Kmr/v20240814/index.js +362 -0
  109. package/src/service/Krds/v20160701/index.js +1291 -1293
  110. package/src/service/Krds/v20200825/index.js +163 -163
  111. package/src/service/Memcached/v20180627/index.js +238 -245
  112. package/src/service/Mongodb/v20170101/index.js +672 -672
  113. package/src/service/Monitor/v20100525/index.js +56 -56
  114. package/src/service/Monitor/v20181114/index.js +36 -36
  115. package/src/service/Monitor/v20210101/index.js +205 -169
  116. package/src/service/Monitor/v20220101/index.js +44 -54
  117. package/src/service/Monitor/v20250101/index.js +63 -0
  118. package/src/service/Rabbitmq/v20191017/index.js +231 -231
  119. package/src/service/Resourcemanager/v20210320/index.js +157 -158
  120. package/src/service/Sks/v20151101/index.js +95 -96
  121. package/src/service/Slb/v20160304/index.js +1471 -1471
  122. package/src/service/Sts/v20151101/index.js +34 -34
  123. package/src/service/Tagv2/v20200901/index.js +163 -163
  124. package/src/service/Tidb/v20210520/index.js +352 -352
  125. package/src/service/Trade/v20200114/index.js +31 -31
  126. package/src/service/Trade/v20200831/index.js +33 -33
  127. package/src/service/Vpc/v20160304/index.js +2404 -1667
  128. package/src/service/Waf/v20200707/index.js +237 -237
@@ -1,1296 +1,1294 @@
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': 'krds.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': 'krds',
15
- },
16
- },
17
- }
18
- _apiList = {
19
- 'RebootDBInstance': {
20
- 'url': '/',
21
- 'method': 'GET',
22
- 'config': {
23
- 'query': {
24
- 'Version': '2016-07-01',
25
- 'Action': 'RebootDBInstance',
26
- },
27
- 'headers': {
28
- 'Content-Type': 'application/json'
29
- },
30
- },
31
- 'paramsType': {
32
- 'DBInstanceIdentifier': 'String',
33
- }
34
- },
35
- 'ModifyDBParameterGroup': {
36
- 'url': '/',
37
- 'method': 'GET',
38
- 'config': {
39
- 'query': {
40
- 'Version': '2016-07-01',
41
- 'Action': 'ModifyDBParameterGroup',
42
- },
43
- 'headers': {
44
- 'Content-Type': 'application/json'
45
- },
46
- },
47
- 'paramsType': {
48
- 'DBParameterGroupId': 'String',
49
- 'Parameters': 'Filter',
50
- 'DBParameterGroupName': 'String',
51
- 'Description': 'String',
52
- }
53
- },
54
- 'ResetDBParameterGroup': {
55
- 'url': '/',
56
- 'method': 'GET',
57
- 'config': {
58
- 'query': {
59
- 'Version': '2016-07-01',
60
- 'Action': 'ResetDBParameterGroup',
61
- },
62
- 'headers': {
63
- 'Content-Type': 'application/json'
64
- },
65
- },
66
- 'paramsType': {
67
- 'DBParameterGroupId': 'String',
68
- }
69
- },
70
- 'DescribeDBParameterGroup': {
71
- 'url': '/',
72
- 'method': 'GET',
73
- 'config': {
74
- 'query': {
75
- 'Version': '2016-07-01',
76
- 'Action': 'DescribeDBParameterGroup',
77
- },
78
- 'headers': {
79
- 'Content-Type': 'application/json'
80
- },
81
- },
82
- 'paramsType': {
83
- 'DBParameterGroupId': 'String',
84
- 'Keyword': 'String',
85
- 'Marker': 'Int',
86
- 'MaxRecords': 'Int',
87
- 'Source': 'String',
88
- }
89
- },
90
- 'DescribeEngineDefaultParameters': {
91
- 'url': '/',
92
- 'method': 'GET',
93
- 'config': {
94
- 'query': {
95
- 'Version': '2016-07-01',
96
- 'Action': 'DescribeEngineDefaultParameters',
97
- },
98
- 'headers': {
99
- 'Content-Type': 'application/json'
100
- },
101
- },
102
- 'paramsType': {
103
- 'Engine': 'String',
104
- 'EngineVersion': 'String',
105
- }
106
- },
107
- 'CreateDBParameterGroup': {
108
- 'url': '/',
109
- 'method': 'GET',
110
- 'config': {
111
- 'query': {
112
- 'Version': '2016-07-01',
113
- 'Action': 'CreateDBParameterGroup',
114
- },
115
- 'headers': {
116
- 'Content-Type': 'application/json'
117
- },
118
- },
119
- 'paramsType': {
120
- 'DBParameterGroupName': 'String',
121
- 'Engine': 'String',
122
- 'EngineVersion': 'String',
123
- 'Parameters.Name': 'Filter',
124
- 'Parameters.Value': 'Filter',
125
- 'Description': 'String',
126
- }
127
- },
128
- 'DeleteDBParameterGroup': {
129
- 'url': '/',
130
- 'method': 'GET',
131
- 'config': {
132
- 'query': {
133
- 'Version': '2016-07-01',
134
- 'Action': 'DeleteDBParameterGroup',
135
- },
136
- 'headers': {
137
- 'Content-Type': 'application/json'
138
- },
139
- },
140
- 'paramsType': {
141
- 'DBParameterGroupId': 'String',
142
- }
143
- },
144
- 'CreateDBInstance': {
145
- 'url': '/',
146
- 'method': 'GET',
147
- 'config': {
148
- 'query': {
149
- 'Version': '2016-07-01',
150
- 'Action': 'CreateDBInstance',
151
- },
152
- 'headers': {
153
- 'Content-Type': 'application/json'
154
- },
155
- },
156
- 'paramsType': {
157
- 'Mem': 'Int',
158
- 'Disk': 'Int',
159
- 'DBInstanceName': 'String',
160
- 'Engine': 'String',
161
- 'EngineVersion': 'String',
162
- 'MasterUserPassword': 'String',
163
- 'MasterUserName': 'String',
164
- 'DBInstanceType': 'String',
165
- 'VpcId': 'String',
166
- 'SubnetId': 'String',
167
- 'PreferredBackupTime': 'String',
168
- 'DBParameterGroupId': 'String',
169
- 'SecurityGroupId': 'String',
170
- 'Port': 'String',
171
- 'BillType': 'String',
172
- 'Duration': 'String',
173
- 'DurationUnit': 'String',
174
- 'AvailabilityZone': 'Filter',
175
- 'ProjectId': 'Int',
176
- 'TableNamesAreCaseSensitive': 'Int',
177
- }
178
- },
179
- 'RestoreDBInstanceFromDBBackup': {
180
- 'url': '/',
181
- 'method': 'GET',
182
- 'config': {
183
- 'query': {
184
- 'Version': '2016-07-01',
185
- 'Action': 'RestoreDBInstanceFromDBBackup',
186
- },
187
- 'headers': {
188
- 'Content-Type': 'application/json'
189
- },
190
- },
191
- 'paramsType': {
192
- 'DBInstanceName': 'String',
193
- 'DBBackupIdentifier': 'String',
194
- 'DBInstanceType': 'String',
195
- 'ProjectId': 'String',
196
- 'AvailabilityZone': 'String',
197
- 'Duration': 'Int',
198
- 'DurationUnit': 'String',
199
- 'Port': 'Int',
200
- }
201
- },
202
- 'DeleteDBInstance': {
203
- 'url': '/',
204
- 'method': 'GET',
205
- 'config': {
206
- 'query': {
207
- 'Version': '2016-07-01',
208
- 'Action': 'DeleteDBInstance',
209
- },
210
- 'headers': {
211
- 'Content-Type': 'application/json'
212
- },
213
- },
214
- 'paramsType': {
215
- 'DBInstanceIdentifier': 'String',
216
- }
217
- },
218
- 'CreateDBInstanceReadReplica': {
219
- 'url': '/',
220
- 'method': 'GET',
221
- 'config': {
222
- 'query': {
223
- 'Version': '2016-07-01',
224
- 'Action': 'CreateDBInstanceReadReplica',
225
- },
226
- 'headers': {
227
- 'Content-Type': 'application/json'
228
- },
229
- },
230
- 'paramsType': {
231
- 'DBInstanceIdentifier': 'String',
232
- 'DBInstanceName': 'String',
233
- 'AttachedVipId': 'String',
234
- 'BillType': 'String',
235
- 'Duration': 'String',
236
- 'DurationUnit': 'String',
237
- 'AvailabilityZone.1': 'String',
238
- 'ProjectId': 'Int',
239
- 'Vip': 'String',
240
- 'Mem': 'Int',
241
- 'Disk': 'Int',
242
- }
243
- },
244
- 'RestoreDBInstanceToPointInTime': {
245
- 'url': '/',
246
- 'method': 'GET',
247
- 'config': {
248
- 'query': {
249
- 'Version': '2016-07-01',
250
- 'Action': 'RestoreDBInstanceToPointInTime',
251
- },
252
- 'headers': {
253
- 'Content-Type': 'application/json'
254
- },
255
- },
256
- 'paramsType': {
257
- 'DBInstanceIdentifier': 'String',
258
- 'RestorableTime': 'String',
259
- }
260
- },
261
- 'DescribeDBInstanceRestorableTime': {
262
- 'url': '/',
263
- 'method': 'GET',
264
- 'config': {
265
- 'query': {
266
- 'Version': '2016-07-01',
267
- 'Action': 'DescribeDBInstanceRestorableTime',
268
- },
269
- 'headers': {
270
- 'Content-Type': 'application/json'
271
- },
272
- },
273
- 'paramsType': {
274
- 'DBInstanceIdentifier': 'String',
275
- }
276
- },
277
- 'ModifyDBInstance': {
278
- 'url': '/',
279
- 'method': 'GET',
280
- 'config': {
281
- 'query': {
282
- 'Version': '2016-07-01',
283
- 'Action': 'ModifyDBInstance',
284
- },
285
- 'headers': {
286
- 'Content-Type': 'application/json'
287
- },
288
- },
289
- 'paramsType': {
290
- 'DBInstanceIdentifier': 'String',
291
- 'PreferredBackupTime': 'String',
292
- 'DBInstanceName': 'String',
293
- 'DBParameterGroupId': 'String',
294
- }
295
- },
296
- 'DescribeDBLogFiles': {
297
- 'url': '/',
298
- 'method': 'GET',
299
- 'config': {
300
- 'query': {
301
- 'Version': '2016-07-01',
302
- 'Action': 'DescribeDBLogFiles',
303
- },
304
- 'headers': {
305
- 'Content-Type': 'application/json'
306
- },
307
- },
308
- 'paramsType': {
309
- 'DBInstanceIdentifier': 'String',
310
- 'DBLogType': 'String',
311
- 'Marker': 'Int',
312
- 'MaxRecords': 'Int',
313
- }
314
- },
315
- 'DescribeDBBackups': {
316
- 'url': '/',
317
- 'method': 'GET',
318
- 'config': {
319
- 'query': {
320
- 'Version': '2016-07-01',
321
- 'Action': 'DescribeDBBackups',
322
- },
323
- 'headers': {
324
- 'Content-Type': 'application/json'
325
- },
326
- },
327
- 'paramsType': {
328
- 'DBInstanceIdentifier': 'String',
329
- 'BackupType': 'String',
330
- 'Keyword': 'String',
331
- 'Marker': 'String',
332
- 'MaxRecords': 'Int',
333
- }
334
- },
335
- 'ModifyDBInstanceSpec': {
336
- 'url': '/',
337
- 'method': 'GET',
338
- 'config': {
339
- 'query': {
340
- 'Version': '2016-07-01',
341
- 'Action': 'ModifyDBInstanceSpec',
342
- },
343
- 'headers': {
344
- 'Content-Type': 'application/json'
345
- },
346
- },
347
- 'paramsType': {
348
- 'DBInstanceIdentifier': 'String',
349
- 'Mem': 'Int',
350
- 'Disk': 'Int',
351
- }
352
- },
353
- 'DescribeDBInstances': {
354
- 'url': '/',
355
- 'method': 'GET',
356
- 'config': {
357
- 'query': {
358
- 'Version': '2016-07-01',
359
- 'Action': 'DescribeDBInstances',
360
- },
361
- 'headers': {
362
- 'Content-Type': 'application/json'
363
- },
364
- },
365
- 'paramsType': {
366
- 'DBInstanceIdentifier': 'String',
367
- 'DBInstanceType': 'String',
368
- 'DBInstanceStatus': 'String',
369
- 'Keyword': 'String',
370
- 'Order': 'String',
371
- 'ProjectId': 'String',
372
- 'Marker': 'Int',
373
- 'MaxRecords': 'Int',
374
- 'DBInstanceIdentifierIn': 'Filter',
375
- 'DBInstanceNameIn': 'Filter',
376
- 'VipIn': 'Filter',
377
- 'EIPIn': 'String',
378
- 'ExpiryDateLessThan': 'Int',
379
- }
380
- },
381
- 'OverrideDBInstance': {
382
- 'url': '/',
383
- 'method': 'GET',
384
- 'config': {
385
- 'query': {
386
- 'Version': '2016-07-01',
387
- 'Action': 'OverrideDBInstance',
388
- },
389
- 'headers': {
390
- 'Content-Type': 'application/json'
391
- },
392
- },
393
- 'paramsType': {
394
- 'DBInstanceIdentifier': 'String',
395
- 'DBBackupIdentifier': 'String',
396
- }
397
- },
398
- 'DescribeDBEngineVersions': {
399
- 'url': '/',
400
- 'method': 'GET',
401
- 'config': {
402
- 'query': {
403
- 'Version': '2016-07-01',
404
- 'Action': 'DescribeDBEngineVersions',
405
- },
406
- 'headers': {
407
- 'Content-Type': 'application/json'
408
- },
409
- },
410
- 'paramsType': {
411
- }
412
- },
413
- 'UpgradeDBInstanceEngineVersion': {
414
- 'url': '/',
415
- 'method': 'GET',
416
- 'config': {
417
- 'query': {
418
- 'Version': '2016-07-01',
419
- 'Action': 'UpgradeDBInstanceEngineVersion',
420
- },
421
- 'headers': {
422
- 'Content-Type': 'application/json'
423
- },
424
- },
425
- 'paramsType': {
426
- 'DBInstanceIdentifier': 'String',
427
- 'Engine': 'String',
428
- 'EngineVersion': 'String',
429
- }
430
- },
431
- 'ModifyDBInstanceType': {
432
- 'url': '/',
433
- 'method': 'GET',
434
- 'config': {
435
- 'query': {
436
- 'Version': '2016-07-01',
437
- 'Action': 'ModifyDBInstanceType',
438
- },
439
- 'headers': {
440
- 'Content-Type': 'application/json'
441
- },
442
- },
443
- 'paramsType': {
444
- 'DBInstanceIdentifier': 'String',
445
- 'DBInstanceType': 'String',
446
- 'BillType': 'String',
447
- 'Duration': 'Int',
448
- 'DurationUnit': 'String',
449
- 'AvailabilityZone': 'String',
450
- }
451
- },
452
- 'DescribeDBInstanceParameters': {
453
- 'url': '/',
454
- 'method': 'GET',
455
- 'config': {
456
- 'query': {
457
- 'Version': '2016-07-01',
458
- 'Action': 'DescribeDBInstanceParameters',
459
- },
460
- 'headers': {
461
- 'Content-Type': 'application/json'
462
- },
463
- },
464
- 'paramsType': {
465
- 'DBInstanceIdentifier': 'String',
466
- }
467
- },
468
- 'DeleteDBBackup': {
469
- 'url': '/',
470
- 'method': 'GET',
471
- 'config': {
472
- 'query': {
473
- 'Version': '2016-07-01',
474
- 'Action': 'DeleteDBBackup',
475
- },
476
- 'headers': {
477
- 'Content-Type': 'application/json'
478
- },
479
- },
480
- 'paramsType': {
481
- 'DBBackupIdentifier': 'String',
482
- }
483
- },
484
- 'CreateDBBackup': {
485
- 'url': '/',
486
- 'method': 'GET',
487
- 'config': {
488
- 'query': {
489
- 'Version': '2016-07-01',
490
- 'Action': 'CreateDBBackup',
491
- },
492
- 'headers': {
493
- 'Content-Type': 'application/json'
494
- },
495
- },
496
- 'paramsType': {
497
- 'DBInstanceIdentifier': 'String',
498
- 'DBBackupName': 'String',
499
- 'Description': 'String',
500
- }
501
- },
502
- 'RenewDBInstance': {
503
- 'url': '/',
504
- 'method': 'GET',
505
- 'config': {
506
- 'query': {
507
- 'Version': '2016-07-01',
508
- 'Action': 'RenewDBInstance',
509
- },
510
- 'headers': {
511
- 'Content-Type': 'application/json'
512
- },
513
- },
514
- 'paramsType': {
515
- 'DBInstanceIdentifier': 'String',
516
- 'Duration': 'Int',
517
- 'DurationUnit': 'String',
518
- 'BillType': 'String',
519
- 'EndTime': 'String',
520
- }
521
- },
522
- 'SwitchDBInstanceHA': {
523
- 'url': '/',
524
- 'method': 'GET',
525
- 'config': {
526
- 'query': {
527
- 'Version': '2016-07-01',
528
- 'Action': 'SwitchDBInstanceHA',
529
- },
530
- 'headers': {
531
- 'Content-Type': 'application/json'
532
- },
533
- },
534
- 'paramsType': {
535
- 'DBInstanceIdentifier': 'String',
536
- }
537
- },
538
- 'GenerateDBAdminURL': {
539
- 'url': '/',
540
- 'method': 'GET',
541
- 'config': {
542
- 'query': {
543
- 'Version': '2016-07-01',
544
- 'Action': 'GenerateDBAdminURL',
545
- },
546
- 'headers': {
547
- 'Content-Type': 'application/json'
548
- },
549
- },
550
- 'paramsType': {
551
- 'DBInstanceIdentifier': 'String',
552
- }
553
- },
554
- 'StatisticDBInstances': {
555
- 'url': '/',
556
- 'method': 'GET',
557
- 'config': {
558
- 'query': {
559
- 'Version': '2016-07-01',
560
- 'Action': 'StatisticDBInstances',
561
- },
562
- 'headers': {
563
- 'Content-Type': 'application/json'
564
- },
565
- },
566
- 'paramsType': {
567
- 'ExpiryDateLessThan': 'Int',
568
- }
569
- },
570
- 'AllocateDBInstanceEip': {
571
- 'url': '/',
572
- 'method': 'GET',
573
- 'config': {
574
- 'query': {
575
- 'Version': '2016-07-01',
576
- 'Action': 'AllocateDBInstanceEip',
577
- },
578
- 'headers': {
579
- 'Content-Type': 'application/json'
580
- },
581
- },
582
- 'paramsType': {
583
- 'DBInstanceIdentifier': 'String',
584
- 'Port': 'String',
585
- }
586
- },
587
- 'ReleaseDBInstanceEip': {
588
- 'url': '/',
589
- 'method': 'GET',
590
- 'config': {
591
- 'query': {
592
- 'Version': '2016-07-01',
593
- 'Action': 'ReleaseDBInstanceEip',
594
- },
595
- 'headers': {
596
- 'Content-Type': 'application/json'
597
- },
598
- },
599
- 'paramsType': {
600
- 'DBInstanceIdentifier': 'String',
601
- }
602
- },
603
- 'ModifyDBInstanceAvailabilityZone': {
604
- 'url': '/',
605
- 'method': 'GET',
606
- 'config': {
607
- 'query': {
608
- 'Version': '2016-07-01',
609
- 'Action': 'ModifyDBInstanceAvailabilityZone',
610
- },
611
- 'headers': {
612
- 'Content-Type': 'application/json'
613
- },
614
- },
615
- 'paramsType': {
616
- 'DBInstanceIdentifier': 'String',
617
- 'AvailabilityZone.1': 'String',
618
- 'AvailabilityZone.2': 'String',
619
- }
620
- },
621
- 'DescribeDBInstanceRegions': {
622
- 'url': '/',
623
- 'method': 'GET',
624
- 'config': {
625
- 'query': {
626
- 'Version': '2016-07-01',
627
- 'Action': 'DescribeDBInstanceRegions',
628
- },
629
- 'headers': {
630
- 'Content-Type': 'application/json'
631
- },
632
- },
633
- 'paramsType': {
634
- }
635
- },
636
- 'DescribeDBInstancePackages': {
637
- 'url': '/',
638
- 'method': 'GET',
639
- 'config': {
640
- 'query': {
641
- 'Version': '2016-07-01',
642
- 'Action': 'DescribeDBInstancePackages',
643
- },
644
- 'headers': {
645
- 'Content-Type': 'application/json'
646
- },
647
- },
648
- 'paramsType': {
649
- 'RegionCode': 'String',
650
- }
651
- },
652
- 'DescribeLastLog': {
653
- 'url': '/',
654
- 'method': 'GET',
655
- 'config': {
656
- 'query': {
657
- 'Version': '2016-07-01',
658
- 'Action': 'DescribeLastLog',
659
- },
660
- 'headers': {
661
- 'Content-Type': 'application/json'
662
- },
663
- },
664
- 'paramsType': {
665
- 'DBInstanceIdentifier': 'String',
666
- 'DBLogType': 'String',
667
- }
668
- },
669
- 'StartAudit': {
670
- 'url': '/',
671
- 'method': 'GET',
672
- 'config': {
673
- 'query': {
674
- 'Version': '2016-07-01',
675
- 'Action': 'StartAudit',
676
- },
677
- 'headers': {
678
- 'Content-Type': 'application/json'
679
- },
680
- },
681
- 'paramsType': {
682
- 'DBInstanceIdentifier': 'String',
683
- }
684
- },
685
- 'StopAudit': {
686
- 'url': '/',
687
- 'method': 'GET',
688
- 'config': {
689
- 'query': {
690
- 'Version': '2016-07-01',
691
- 'Action': 'StopAudit',
692
- },
693
- 'headers': {
694
- 'Content-Type': 'application/json'
695
- },
696
- },
697
- 'paramsType': {
698
- 'DBInstanceIdentifier': 'String',
699
- }
700
- },
701
- 'ListAudit': {
702
- 'url': '/',
703
- 'method': 'GET',
704
- 'config': {
705
- 'query': {
706
- 'Version': '2016-07-01',
707
- 'Action': 'ListAudit',
708
- },
709
- 'headers': {
710
- 'Content-Type': 'application/json'
711
- },
712
- },
713
- 'paramsType': {
714
- 'DBInstanceIdentifier': 'String',
715
- 'AccessSqlStatement': 'String',
716
- 'AccessSqlLanguage': 'String',
717
- 'AccessDBName': 'String',
718
- 'SourceIp': 'String',
719
- 'AccessUsername': 'String',
720
- 'AuditBeginTime': 'String',
721
- 'AuditEndTime': 'String',
722
- 'RunResult': 'String',
723
- 'KeyWord': 'String',
724
- 'SortBy': 'String',
725
- 'SortWay': 'String',
726
- 'Marker': 'String',
727
- 'MaxRecords': 'String',
728
- }
729
- },
730
- 'AuditStatistic': {
731
- 'url': '/',
732
- 'method': 'GET',
733
- 'config': {
734
- 'query': {
735
- 'Version': '2016-07-01',
736
- 'Action': 'AuditStatistic',
737
- },
738
- 'headers': {
739
- 'Content-Type': 'application/json'
740
- },
741
- },
742
- 'paramsType': {
743
- 'DBInstanceIdentifier': 'String',
744
- 'AuditStatisticBeginTime': 'String',
745
- 'AuditStatisticEndTime': 'String',
746
- }
747
- },
748
- 'GetTableRestorableTime': {
749
- 'url': '/',
750
- 'method': 'GET',
751
- 'config': {
752
- 'query': {
753
- 'Version': '2016-07-01',
754
- 'Action': 'GetTableRestorableTime',
755
- },
756
- 'headers': {
757
- 'Content-Type': 'application/json'
758
- },
759
- },
760
- 'paramsType': {
761
- 'DBInstanceIdentifier': 'String',
762
- }
763
- },
764
- 'GetHistoryDatabaseInfo': {
765
- 'url': '/',
766
- 'method': 'GET',
767
- 'config': {
768
- 'query': {
769
- 'Version': '2016-07-01',
770
- 'Action': 'GetHistoryDatabaseInfo',
771
- },
772
- 'headers': {
773
- 'Content-Type': 'application/json'
774
- },
775
- },
776
- 'paramsType': {
777
- 'DBInstanceIdentifier': 'String',
778
- 'DBBackupIdentifier': 'String',
779
- 'RestorableTime': 'String',
780
- }
781
- },
782
- 'OverrideDBInstanceByPointInTime': {
783
- 'url': '/',
784
- 'method': 'GET',
785
- 'config': {
786
- 'query': {
787
- 'Version': '2016-07-01',
788
- 'Action': 'OverrideDBInstanceByPointInTime',
789
- },
790
- 'headers': {
791
- 'Content-Type': 'application/json'
792
- },
793
- },
794
- 'paramsType': {
795
- 'DBInstanceIdentifier': 'String',
796
- 'DBBackupIdentifier': 'String',
797
- 'RestorableTime': 'String',
798
- }
799
- },
800
- 'RestoreToCurInstance': {
801
- 'url': '/',
802
- 'method': 'POST',
803
- 'config': {
804
- 'query': {
805
- 'Version': '2016-07-01',
806
- 'Action': 'RestoreToCurInstance',
807
- },
808
- 'headers': {
809
- 'Content-Type': 'application/json'
810
- },
811
- },
812
- 'paramsType': {
813
- 'DBInstanceIdentifier': 'String',
814
- 'DBBackupIdentifier': 'String',
815
- 'RestorableTime': 'String',
816
- 'SrcDatabases': 'Array',
817
- 'DstDatabases': 'Array',
818
- }
819
- },
820
- 'RestoreToSgInstance': {
821
- 'url': '/',
822
- 'method': 'POST',
823
- 'config': {
824
- 'query': {
825
- 'Version': '2016-07-01',
826
- 'Action': 'RestoreToSgInstance',
827
- },
828
- 'headers': {
829
- 'Content-Type': 'application/json'
830
- },
831
- },
832
- 'paramsType': {
833
- 'DBInstanceIdentifier': 'String',
834
- 'DBBackupIdentifier': 'String',
835
- 'RestorableTime': 'String',
836
- 'SrcDatabases': 'Array',
837
- 'DstDatabases': 'Array',
838
- }
839
- },
840
- 'DescribeAuditHotCount': {
841
- 'url': '/',
842
- 'method': 'GET',
843
- 'config': {
844
- 'query': {
845
- 'Version': '2016-07-01',
846
- 'Action': 'DescribeAuditHotCount',
847
- },
848
- 'headers': {
849
- 'Content-Type': 'application/json'
850
- },
851
- },
852
- 'paramsType': {
853
- 'DBInstanceIdentifier': 'String',
854
- 'TimeRange': 'String',
855
- 'StartTime': 'String',
856
- 'EndTime': 'String',
857
- }
858
- },
859
- 'DescribeAuditHotDuration': {
860
- 'url': '/',
861
- 'method': 'GET',
862
- 'config': {
863
- 'query': {
864
- 'Version': '2016-07-01',
865
- 'Action': 'DescribeAuditHotDuration',
866
- },
867
- 'headers': {
868
- 'Content-Type': 'application/json'
869
- },
870
- },
871
- 'paramsType': {
872
- 'DBInstanceIdentifier': 'String',
873
- 'TimeRange': 'String',
874
- 'StartTime': 'String',
875
- 'EndTime': 'String',
876
- }
877
- },
878
- 'SqlAuditReport': {
879
- 'url': '/',
880
- 'method': 'GET',
881
- 'config': {
882
- 'query': {
883
- 'Version': '2016-07-01',
884
- 'Action': 'SqlAuditReport',
885
- },
886
- 'headers': {
887
- 'Content-Type': 'application/json'
888
- },
889
- },
890
- 'paramsType': {
891
- 'DBInstanceIdentifier': 'String',
892
- 'TimeRange': 'String',
893
- 'StartTime': 'String',
894
- 'EndTime': 'String',
895
- 'DbName': 'String',
896
- 'SortBy': 'String',
897
- 'SortWay': 'Int',
898
- 'Page': 'Int',
899
- 'Size': 'Int',
900
- }
901
- },
902
- 'SqlAuditLineChart': {
903
- 'url': '/',
904
- 'method': 'GET',
905
- 'config': {
906
- 'query': {
907
- 'Version': '2016-07-01',
908
- 'Action': 'SqlAuditLineChart',
909
- },
910
- 'headers': {
911
- 'Content-Type': 'application/json'
912
- },
913
- },
914
- 'paramsType': {
915
- 'DBInstanceIdentifier': 'String',
916
- 'TimeRange': 'String',
917
- 'StartTime': 'String',
918
- 'EndTime': 'String',
919
- }
920
- },
921
- 'SlowLogReport': {
922
- 'url': '/',
923
- 'method': 'GET',
924
- 'config': {
925
- 'query': {
926
- 'Version': '2016-07-01',
927
- 'Action': 'SlowLogReport',
928
- },
929
- 'headers': {
930
- 'Content-Type': 'application/json'
931
- },
932
- },
933
- 'paramsType': {
934
- 'DBInstanceIdentifier': 'String',
935
- 'StartTime': 'String',
936
- 'EndTime': 'String',
937
- 'SortBy': 'String',
938
- 'SortWay': 'String',
939
- 'HeadKey': 'String',
940
- 'Marker': 'Int',
941
- 'MaxRecords': 'Int',
942
- }
943
- },
944
- 'SlowLogLineChart': {
945
- 'url': '/',
946
- 'method': 'GET',
947
- 'config': {
948
- 'query': {
949
- 'Version': '2016-07-01',
950
- 'Action': 'SlowLogLineChart',
951
- },
952
- 'headers': {
953
- 'Content-Type': 'application/json'
954
- },
955
- },
956
- 'paramsType': {
957
- 'DBInstanceIdentifier': 'String',
958
- 'StartTime': 'String',
959
- 'EndTime': 'String',
960
- }
961
- },
962
- 'SlowLogDetail': {
963
- 'url': '/',
964
- 'method': 'GET',
965
- 'config': {
966
- 'query': {
967
- 'Version': '2016-07-01',
968
- 'Action': 'SlowLogDetail',
969
- },
970
- 'headers': {
971
- 'Content-Type': 'application/json'
972
- },
973
- },
974
- 'paramsType': {
975
- 'DBInstanceIdentifier': 'String',
976
- 'StartTime': 'String',
977
- 'EndTime': 'String',
978
- 'SortBy': 'String',
979
- 'SortWay': 'String',
980
- 'HeadKey': 'String',
981
- 'FingerPrint': 'String',
982
- 'checksum': 'String',
983
- }
984
- },
985
- 'StartAuditDetailExportTask': {
986
- 'url': '/',
987
- 'method': 'GET',
988
- 'config': {
989
- 'query': {
990
- 'Version': '2016-07-01',
991
- 'Action': 'StartAuditDetailExportTask',
992
- },
993
- 'headers': {
994
- 'Content-Type': 'application/json'
995
- },
996
- },
997
- 'paramsType': {
998
- 'DBInstanceIdentifier': 'String',
999
- 'ExportFileds': 'String',
1000
- 'AuditBeginTime': 'String',
1001
- 'AuditEndTime': 'String',
1002
- }
1003
- },
1004
- 'ListAuditDetailExportTask': {
1005
- 'url': '/',
1006
- 'method': 'GET',
1007
- 'config': {
1008
- 'query': {
1009
- 'Version': '2016-07-01',
1010
- 'Action': 'ListAuditDetailExportTask',
1011
- },
1012
- 'headers': {
1013
- 'Content-Type': 'application/json'
1014
- },
1015
- },
1016
- 'paramsType': {
1017
- 'DBInstanceIdentifier': 'String',
1018
- 'Marker': 'String',
1019
- 'MaxRecords': 'String',
1020
- }
1021
- },
1022
- 'DescribeInstanceAccounts': {
1023
- 'url': '/',
1024
- 'method': 'GET',
1025
- 'config': {
1026
- 'query': {
1027
- 'Version': '2016-07-01',
1028
- 'Action': 'DescribeInstanceAccounts',
1029
- },
1030
- 'headers': {
1031
- 'Content-Type': 'application/json'
1032
- },
1033
- },
1034
- 'paramsType': {
1035
- 'DBInstanceIdentifier': 'String',
1036
- 'Keyword': 'String',
1037
- }
1038
- },
1039
- 'ModifyInstanceAccountInfo': {
1040
- 'url': '/',
1041
- 'method': 'GET',
1042
- 'config': {
1043
- 'query': {
1044
- 'Version': '2016-07-01',
1045
- 'Action': 'ModifyInstanceAccountInfo',
1046
- },
1047
- 'headers': {
1048
- 'Content-Type': 'application/json'
1049
- },
1050
- },
1051
- 'paramsType': {
1052
- 'DBInstanceIdentifier': 'String',
1053
- 'InstanceAccountName': 'String',
1054
- 'InstanceAccountPassword': 'String',
1055
- 'InstanceAccountDescription': 'String',
1056
- }
1057
- },
1058
- 'DescribeCollations': {
1059
- 'url': '/',
1060
- 'method': 'GET',
1061
- 'config': {
1062
- 'query': {
1063
- 'Version': '2016-07-01',
1064
- 'Action': 'DescribeCollations',
1065
- },
1066
- 'headers': {
1067
- 'Content-Type': 'application/json'
1068
- },
1069
- },
1070
- 'paramsType': {
1071
- 'DBInstanceIdentifier': 'String',
1072
- }
1073
- },
1074
- 'CreateInstanceDatabase': {
1075
- 'url': '/',
1076
- 'method': 'GET',
1077
- 'config': {
1078
- 'query': {
1079
- 'Version': '2016-07-01',
1080
- 'Action': 'CreateInstanceDatabase',
1081
- },
1082
- 'headers': {
1083
- 'Content-Type': 'application/json'
1084
- },
1085
- },
1086
- 'paramsType': {
1087
- 'DBInstanceIdentifier': 'String',
1088
- 'InstanceDatabaseName': 'String',
1089
- 'InstanceDatabaseCollation': 'String',
1090
- 'InstanceDatabaseDescription': 'String',
1091
- }
1092
- },
1093
- 'ModifyInstanceDatabasePrivileges': {
1094
- 'url': '/',
1095
- 'method': 'GET',
1096
- 'config': {
1097
- 'query': {
1098
- 'Version': '2016-07-01',
1099
- 'Action': 'ModifyInstanceDatabasePrivileges',
1100
- },
1101
- 'headers': {
1102
- 'Content-Type': 'application/json'
1103
- },
1104
- },
1105
- 'paramsType': {
1106
- 'DBInstanceIdentifier': 'String',
1107
- 'InstanceDatabaseName': 'String',
1108
- 'InstanceDatabasePrivileges': 'Filter',
1109
- }
1110
- },
1111
- 'DescribeInstanceDatabases': {
1112
- 'url': '/',
1113
- 'method': 'GET',
1114
- 'config': {
1115
- 'query': {
1116
- 'Version': '2016-07-01',
1117
- 'Action': 'DescribeInstanceDatabases',
1118
- },
1119
- 'headers': {
1120
- 'Content-Type': 'application/json'
1121
- },
1122
- },
1123
- 'paramsType': {
1124
- 'DBInstanceIdentifier': 'String',
1125
- 'InstanceDatabaseName': 'String',
1126
- 'Keyword': 'String',
1127
- }
1128
- },
1129
- 'ModifyInstanceDatabaseInfo': {
1130
- 'url': '/',
1131
- 'method': 'GET',
1132
- 'config': {
1133
- 'query': {
1134
- 'Version': '2016-07-01',
1135
- 'Action': 'ModifyInstanceDatabaseInfo',
1136
- },
1137
- 'headers': {
1138
- 'Content-Type': 'application/json'
1139
- },
1140
- },
1141
- 'paramsType': {
1142
- 'DBInstanceIdentifier': 'String',
1143
- 'InstanceDatabaseName': 'String',
1144
- 'InstanceDatabaseDescription': 'String',
1145
- }
1146
- },
1147
- 'StartSlowLogDetailExportTask': {
1148
- 'url': '/',
1149
- 'method': 'GET',
1150
- 'config': {
1151
- 'query': {
1152
- 'Version': '2016-07-01',
1153
- 'Action': 'StartSlowLogDetailExportTask',
1154
- },
1155
- 'headers': {
1156
- 'Content-Type': 'application/json'
1157
- },
1158
- },
1159
- 'paramsType': {
1160
- 'DBInstanceIdentifier': 'String',
1161
- 'AuditBeginTime': 'String',
1162
- 'AuditEndTime': 'String',
1163
- 'AccessSqlStatement': 'String',
1164
- }
1165
- },
1166
- 'ListSlowLogDetailExportTask': {
1167
- 'url': '/',
1168
- 'method': 'GET',
1169
- 'config': {
1170
- 'query': {
1171
- 'Version': '2016-07-01',
1172
- 'Action': 'ListSlowLogDetailExportTask',
1173
- },
1174
- 'headers': {
1175
- 'Content-Type': 'application/json'
1176
- },
1177
- },
1178
- 'paramsType': {
1179
- 'DBInstanceIdentifier': 'String',
1180
- 'Marker': 'String',
1181
- 'MaxRecords': 'String',
1182
- }
1183
- },
1184
- 'CreateInstanceAccountAction': {
1185
- 'url': '/',
1186
- 'method': 'POST',
1187
- 'config': {
1188
- 'query': {
1189
- 'Version': '2016-07-01',
1190
- 'Action': 'CreateInstanceAccountAction',
1191
- },
1192
- 'headers': {
1193
- 'Content-Type': 'application/x-www-form-urlencoded'
1194
- },
1195
- },
1196
- 'paramsType': {
1197
- 'DBInstanceIdentifier': 'String',
1198
- 'InstanceAccountName': 'String',
1199
- 'InstanceAccountPassword': 'String',
1200
- 'InstanceAccountDescription': 'String',
1201
- 'InstanceAccountPrivileges': 'Array',
1202
- }
1203
- },
1204
- 'ModifyInstanceAccountPrivilegesAction': {
1205
- 'url': '/',
1206
- 'method': 'POST',
1207
- 'config': {
1208
- 'query': {
1209
- 'Version': '2016-07-01',
1210
- 'Action': 'ModifyInstanceAccountPrivilegesAction',
1211
- },
1212
- 'headers': {
1213
- 'Content-Type': 'application/x-www-form-urlencoded'
1214
- },
1215
- },
1216
- 'paramsType': {
1217
- 'DBInstanceIdentifier': 'String',
1218
- 'InstanceAccountName': 'String',
1219
- 'InstanceAccountPrivileges': 'Array',
1220
- }
1221
- },
1222
- 'DeleteInstanceAccountAction': {
1223
- 'url': '/',
1224
- 'method': 'POST',
1225
- 'config': {
1226
- 'query': {
1227
- 'Version': '2016-07-01',
1228
- 'Action': 'DeleteInstanceAccountAction',
1229
- },
1230
- 'headers': {
1231
- 'Content-Type': 'application/x-www-form-urlencoded'
1232
- },
1233
- },
1234
- 'paramsType': {
1235
- 'DBInstanceIdentifier': 'String',
1236
- 'InstanceAccountName': 'String',
1237
- }
1238
- },
1239
- 'DeleteInstanceDatabaseAction': {
1240
- 'url': '/',
1241
- 'method': 'POST',
1242
- 'config': {
1243
- 'query': {
1244
- 'Version': '2016-07-01',
1245
- 'Action': 'DeleteInstanceDatabaseAction',
1246
- },
1247
- 'headers': {
1248
- 'Content-Type': 'application/x-www-form-urlencoded'
1249
- },
1250
- },
1251
- 'paramsType': {
1252
- 'DBInstanceIdentifier': 'String',
1253
- 'InstanceDatabaseName': 'String',
1254
- }
1255
- },
1256
- 'ModifyDBNetwork': {
1257
- 'url': '/',
1258
- 'method': 'POST',
1259
- 'config': {
1260
- 'query': {
1261
- 'Version': '2016-07-01',
1262
- 'Action': 'ModifyDBNetwork',
1263
- },
1264
- 'headers': {
1265
- 'Content-Type': 'application/x-www-form-urlencoded'
1266
- },
1267
- },
1268
- 'paramsType': {
1269
- 'DBInstanceIdentifier': 'String',
1270
- 'VpcId': 'String',
1271
- 'SubnetId': 'String',
1272
- 'Vip': 'String',
1273
- 'Port': 'String',
1274
- }
1275
- },
1276
- 'DescribeEngineParametersModifyHistory': {
1277
- 'url': '/',
1278
- 'method': 'GET',
1279
- 'config': {
1280
- 'query': {
1281
- 'Version': '2016-07-01',
1282
- 'Action': 'DescribeEngineParametersModifyHistory',
1283
- },
1284
- 'headers': {
1285
- 'Content-Type': 'application/json'
1286
- },
1287
- },
1288
- 'paramsType': {
1289
- 'DBParameterGroupId': 'String',
1290
- 'Name': 'String',
1291
- 'MaxRecords': 'Int',
1292
- 'Marker': 'Int',
1293
- }
1294
- },
1295
- }
1296
- }
4
+ _baseConfig = {
5
+ protocol: "http://",
6
+ endpoint: "krds.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: "krds",
15
+ },
16
+ },
17
+ };
18
+ _apiList = {
19
+ RebootDBInstance: {
20
+ url: "/",
21
+ method: "GET",
22
+ config: {
23
+ query: {
24
+ Version: "2016-07-01",
25
+ Action: "RebootDBInstance",
26
+ },
27
+ headers: {
28
+ "Content-Type": "application/json",
29
+ },
30
+ },
31
+ paramsType: {
32
+ DBInstanceIdentifier: "String",
33
+ },
34
+ },
35
+ ModifyDBParameterGroup: {
36
+ url: "/",
37
+ method: "GET",
38
+ config: {
39
+ query: {
40
+ Version: "2016-07-01",
41
+ Action: "ModifyDBParameterGroup",
42
+ },
43
+ headers: {
44
+ "Content-Type": "application/json",
45
+ },
46
+ },
47
+ paramsType: {
48
+ DBParameterGroupId: "String",
49
+ Parameters: "Filter",
50
+ DBParameterGroupName: "String",
51
+ Description: "String",
52
+ },
53
+ },
54
+ ResetDBParameterGroup: {
55
+ url: "/",
56
+ method: "GET",
57
+ config: {
58
+ query: {
59
+ Version: "2016-07-01",
60
+ Action: "ResetDBParameterGroup",
61
+ },
62
+ headers: {
63
+ "Content-Type": "application/json",
64
+ },
65
+ },
66
+ paramsType: {
67
+ DBParameterGroupId: "String",
68
+ },
69
+ },
70
+ DescribeDBParameterGroup: {
71
+ url: "/",
72
+ method: "GET",
73
+ config: {
74
+ query: {
75
+ Version: "2016-07-01",
76
+ Action: "DescribeDBParameterGroup",
77
+ },
78
+ headers: {
79
+ "Content-Type": "application/json",
80
+ },
81
+ },
82
+ paramsType: {
83
+ DBParameterGroupId: "String",
84
+ Keyword: "String",
85
+ Marker: "Int",
86
+ MaxRecords: "Int",
87
+ Source: "String",
88
+ },
89
+ },
90
+ DescribeEngineDefaultParameters: {
91
+ url: "/",
92
+ method: "GET",
93
+ config: {
94
+ query: {
95
+ Version: "2016-07-01",
96
+ Action: "DescribeEngineDefaultParameters",
97
+ },
98
+ headers: {
99
+ "Content-Type": "application/json",
100
+ },
101
+ },
102
+ paramsType: {
103
+ Engine: "String",
104
+ EngineVersion: "String",
105
+ },
106
+ },
107
+ CreateDBParameterGroup: {
108
+ url: "/",
109
+ method: "GET",
110
+ config: {
111
+ query: {
112
+ Version: "2016-07-01",
113
+ Action: "CreateDBParameterGroup",
114
+ },
115
+ headers: {
116
+ "Content-Type": "application/json",
117
+ },
118
+ },
119
+ paramsType: {
120
+ DBParameterGroupName: "String",
121
+ Engine: "String",
122
+ EngineVersion: "String",
123
+ "Parameters.Name": "Filter",
124
+ "Parameters.Value": "Filter",
125
+ Description: "String",
126
+ },
127
+ },
128
+ DeleteDBParameterGroup: {
129
+ url: "/",
130
+ method: "GET",
131
+ config: {
132
+ query: {
133
+ Version: "2016-07-01",
134
+ Action: "DeleteDBParameterGroup",
135
+ },
136
+ headers: {
137
+ "Content-Type": "application/json",
138
+ },
139
+ },
140
+ paramsType: {
141
+ DBParameterGroupId: "String",
142
+ },
143
+ },
144
+ CreateDBInstance: {
145
+ url: "/",
146
+ method: "GET",
147
+ config: {
148
+ query: {
149
+ Version: "2016-07-01",
150
+ Action: "CreateDBInstance",
151
+ },
152
+ headers: {
153
+ "Content-Type": "application/json",
154
+ },
155
+ },
156
+ paramsType: {
157
+ Mem: "Int",
158
+ Disk: "Int",
159
+ DBInstanceName: "String",
160
+ Engine: "String",
161
+ EngineVersion: "String",
162
+ MasterUserPassword: "String",
163
+ MasterUserName: "String",
164
+ DBInstanceType: "String",
165
+ VpcId: "String",
166
+ SubnetId: "String",
167
+ PreferredBackupTime: "String",
168
+ DBParameterGroupId: "String",
169
+ SecurityGroupId: "String",
170
+ Port: "String",
171
+ BillType: "String",
172
+ Duration: "String",
173
+ DurationUnit: "String",
174
+ AvailabilityZone: "Filter",
175
+ ProjectId: "Int",
176
+ TableNamesAreCaseSensitive: "Int",
177
+ },
178
+ },
179
+ RestoreDBInstanceFromDBBackup: {
180
+ url: "/",
181
+ method: "GET",
182
+ config: {
183
+ query: {
184
+ Version: "2016-07-01",
185
+ Action: "RestoreDBInstanceFromDBBackup",
186
+ },
187
+ headers: {
188
+ "Content-Type": "application/json",
189
+ },
190
+ },
191
+ paramsType: {
192
+ DBInstanceName: "String",
193
+ DBBackupIdentifier: "String",
194
+ DBInstanceType: "String",
195
+ ProjectId: "String",
196
+ AvailabilityZone: "String",
197
+ Duration: "Int",
198
+ DurationUnit: "String",
199
+ Port: "Int",
200
+ },
201
+ },
202
+ DeleteDBInstance: {
203
+ url: "/",
204
+ method: "GET",
205
+ config: {
206
+ query: {
207
+ Version: "2016-07-01",
208
+ Action: "DeleteDBInstance",
209
+ },
210
+ headers: {
211
+ "Content-Type": "application/json",
212
+ },
213
+ },
214
+ paramsType: {
215
+ DBInstanceIdentifier: "String",
216
+ },
217
+ },
218
+ CreateDBInstanceReadReplica: {
219
+ url: "/",
220
+ method: "GET",
221
+ config: {
222
+ query: {
223
+ Version: "2016-07-01",
224
+ Action: "CreateDBInstanceReadReplica",
225
+ },
226
+ headers: {
227
+ "Content-Type": "application/json",
228
+ },
229
+ },
230
+ paramsType: {
231
+ DBInstanceIdentifier: "String",
232
+ DBInstanceName: "String",
233
+ AttachedVipId: "String",
234
+ BillType: "String",
235
+ Duration: "String",
236
+ DurationUnit: "String",
237
+ "AvailabilityZone.1": "String",
238
+ ProjectId: "Int",
239
+ Vip: "String",
240
+ Mem: "Int",
241
+ Disk: "Int",
242
+ },
243
+ },
244
+ RestoreDBInstanceToPointInTime: {
245
+ url: "/",
246
+ method: "GET",
247
+ config: {
248
+ query: {
249
+ Version: "2016-07-01",
250
+ Action: "RestoreDBInstanceToPointInTime",
251
+ },
252
+ headers: {
253
+ "Content-Type": "application/json",
254
+ },
255
+ },
256
+ paramsType: {
257
+ DBInstanceIdentifier: "String",
258
+ RestorableTime: "String",
259
+ },
260
+ },
261
+ DescribeDBInstanceRestorableTime: {
262
+ url: "/",
263
+ method: "GET",
264
+ config: {
265
+ query: {
266
+ Version: "2016-07-01",
267
+ Action: "DescribeDBInstanceRestorableTime",
268
+ },
269
+ headers: {
270
+ "Content-Type": "application/json",
271
+ },
272
+ },
273
+ paramsType: {
274
+ DBInstanceIdentifier: "String",
275
+ },
276
+ },
277
+ ModifyDBInstance: {
278
+ url: "/",
279
+ method: "GET",
280
+ config: {
281
+ query: {
282
+ Version: "2016-07-01",
283
+ Action: "ModifyDBInstance",
284
+ },
285
+ headers: {
286
+ "Content-Type": "application/json",
287
+ },
288
+ },
289
+ paramsType: {
290
+ DBInstanceIdentifier: "String",
291
+ PreferredBackupTime: "String",
292
+ DBInstanceName: "String",
293
+ DBParameterGroupId: "String",
294
+ },
295
+ },
296
+ DescribeDBLogFiles: {
297
+ url: "/",
298
+ method: "GET",
299
+ config: {
300
+ query: {
301
+ Version: "2016-07-01",
302
+ Action: "DescribeDBLogFiles",
303
+ },
304
+ headers: {
305
+ "Content-Type": "application/json",
306
+ },
307
+ },
308
+ paramsType: {
309
+ DBInstanceIdentifier: "String",
310
+ DBLogType: "String",
311
+ Marker: "Int",
312
+ MaxRecords: "Int",
313
+ },
314
+ },
315
+ DescribeDBBackups: {
316
+ url: "/",
317
+ method: "GET",
318
+ config: {
319
+ query: {
320
+ Version: "2016-07-01",
321
+ Action: "DescribeDBBackups",
322
+ },
323
+ headers: {
324
+ "Content-Type": "application/json",
325
+ },
326
+ },
327
+ paramsType: {
328
+ DBInstanceIdentifier: "String",
329
+ BackupType: "String",
330
+ Keyword: "String",
331
+ Marker: "String",
332
+ MaxRecords: "Int",
333
+ },
334
+ },
335
+ ModifyDBInstanceSpec: {
336
+ url: "/",
337
+ method: "GET",
338
+ config: {
339
+ query: {
340
+ Version: "2016-07-01",
341
+ Action: "ModifyDBInstanceSpec",
342
+ },
343
+ headers: {
344
+ "Content-Type": "application/json",
345
+ },
346
+ },
347
+ paramsType: {
348
+ DBInstanceIdentifier: "String",
349
+ Mem: "Int",
350
+ Disk: "Int",
351
+ },
352
+ },
353
+ DescribeDBInstances: {
354
+ url: "/",
355
+ method: "GET",
356
+ config: {
357
+ query: {
358
+ Version: "2016-07-01",
359
+ Action: "DescribeDBInstances",
360
+ },
361
+ headers: {
362
+ "Content-Type": "application/json",
363
+ },
364
+ },
365
+ paramsType: {
366
+ DBInstanceIdentifier: "String",
367
+ DBInstanceType: "String",
368
+ DBInstanceStatus: "String",
369
+ Keyword: "String",
370
+ Order: "String",
371
+ ProjectId: "String",
372
+ Marker: "Int",
373
+ MaxRecords: "Int",
374
+ DBInstanceIdentifierIn: "Filter",
375
+ DBInstanceNameIn: "Filter",
376
+ VipIn: "Filter",
377
+ EIPIn: "String",
378
+ ExpiryDateLessThan: "Int",
379
+ },
380
+ },
381
+ OverrideDBInstance: {
382
+ url: "/",
383
+ method: "GET",
384
+ config: {
385
+ query: {
386
+ Version: "2016-07-01",
387
+ Action: "OverrideDBInstance",
388
+ },
389
+ headers: {
390
+ "Content-Type": "application/json",
391
+ },
392
+ },
393
+ paramsType: {
394
+ DBInstanceIdentifier: "String",
395
+ DBBackupIdentifier: "String",
396
+ },
397
+ },
398
+ DescribeDBEngineVersions: {
399
+ url: "/",
400
+ method: "GET",
401
+ config: {
402
+ query: {
403
+ Version: "2016-07-01",
404
+ Action: "DescribeDBEngineVersions",
405
+ },
406
+ headers: {
407
+ "Content-Type": "application/json",
408
+ },
409
+ },
410
+ paramsType: {},
411
+ },
412
+ UpgradeDBInstanceEngineVersion: {
413
+ url: "/",
414
+ method: "GET",
415
+ config: {
416
+ query: {
417
+ Version: "2016-07-01",
418
+ Action: "UpgradeDBInstanceEngineVersion",
419
+ },
420
+ headers: {
421
+ "Content-Type": "application/json",
422
+ },
423
+ },
424
+ paramsType: {
425
+ DBInstanceIdentifier: "String",
426
+ Engine: "String",
427
+ EngineVersion: "String",
428
+ },
429
+ },
430
+ ModifyDBInstanceType: {
431
+ url: "/",
432
+ method: "GET",
433
+ config: {
434
+ query: {
435
+ Version: "2016-07-01",
436
+ Action: "ModifyDBInstanceType",
437
+ },
438
+ headers: {
439
+ "Content-Type": "application/json",
440
+ },
441
+ },
442
+ paramsType: {
443
+ DBInstanceIdentifier: "String",
444
+ DBInstanceType: "String",
445
+ BillType: "String",
446
+ Duration: "Int",
447
+ DurationUnit: "String",
448
+ AvailabilityZone: "String",
449
+ },
450
+ },
451
+ DescribeDBInstanceParameters: {
452
+ url: "/",
453
+ method: "GET",
454
+ config: {
455
+ query: {
456
+ Version: "2016-07-01",
457
+ Action: "DescribeDBInstanceParameters",
458
+ },
459
+ headers: {
460
+ "Content-Type": "application/json",
461
+ },
462
+ },
463
+ paramsType: {
464
+ DBInstanceIdentifier: "String",
465
+ },
466
+ },
467
+ DeleteDBBackup: {
468
+ url: "/",
469
+ method: "GET",
470
+ config: {
471
+ query: {
472
+ Version: "2016-07-01",
473
+ Action: "DeleteDBBackup",
474
+ },
475
+ headers: {
476
+ "Content-Type": "application/json",
477
+ },
478
+ },
479
+ paramsType: {
480
+ DBBackupIdentifier: "String",
481
+ },
482
+ },
483
+ CreateDBBackup: {
484
+ url: "/",
485
+ method: "GET",
486
+ config: {
487
+ query: {
488
+ Version: "2016-07-01",
489
+ Action: "CreateDBBackup",
490
+ },
491
+ headers: {
492
+ "Content-Type": "application/json",
493
+ },
494
+ },
495
+ paramsType: {
496
+ DBInstanceIdentifier: "String",
497
+ DBBackupName: "String",
498
+ Description: "String",
499
+ },
500
+ },
501
+ RenewDBInstance: {
502
+ url: "/",
503
+ method: "GET",
504
+ config: {
505
+ query: {
506
+ Version: "2016-07-01",
507
+ Action: "RenewDBInstance",
508
+ },
509
+ headers: {
510
+ "Content-Type": "application/json",
511
+ },
512
+ },
513
+ paramsType: {
514
+ DBInstanceIdentifier: "String",
515
+ Duration: "Int",
516
+ DurationUnit: "String",
517
+ BillType: "String",
518
+ EndTime: "String",
519
+ },
520
+ },
521
+ SwitchDBInstanceHA: {
522
+ url: "/",
523
+ method: "GET",
524
+ config: {
525
+ query: {
526
+ Version: "2016-07-01",
527
+ Action: "SwitchDBInstanceHA",
528
+ },
529
+ headers: {
530
+ "Content-Type": "application/json",
531
+ },
532
+ },
533
+ paramsType: {
534
+ DBInstanceIdentifier: "String",
535
+ },
536
+ },
537
+ GenerateDBAdminURL: {
538
+ url: "/",
539
+ method: "GET",
540
+ config: {
541
+ query: {
542
+ Version: "2016-07-01",
543
+ Action: "GenerateDBAdminURL",
544
+ },
545
+ headers: {
546
+ "Content-Type": "application/json",
547
+ },
548
+ },
549
+ paramsType: {
550
+ DBInstanceIdentifier: "String",
551
+ },
552
+ },
553
+ StatisticDBInstances: {
554
+ url: "/",
555
+ method: "GET",
556
+ config: {
557
+ query: {
558
+ Version: "2016-07-01",
559
+ Action: "StatisticDBInstances",
560
+ },
561
+ headers: {
562
+ "Content-Type": "application/json",
563
+ },
564
+ },
565
+ paramsType: {
566
+ ExpiryDateLessThan: "Int",
567
+ },
568
+ },
569
+ AllocateDBInstanceEip: {
570
+ url: "/",
571
+ method: "GET",
572
+ config: {
573
+ query: {
574
+ Version: "2016-07-01",
575
+ Action: "AllocateDBInstanceEip",
576
+ },
577
+ headers: {
578
+ "Content-Type": "application/json",
579
+ },
580
+ },
581
+ paramsType: {
582
+ DBInstanceIdentifier: "String",
583
+ Port: "String",
584
+ },
585
+ },
586
+ ReleaseDBInstanceEip: {
587
+ url: "/",
588
+ method: "GET",
589
+ config: {
590
+ query: {
591
+ Version: "2016-07-01",
592
+ Action: "ReleaseDBInstanceEip",
593
+ },
594
+ headers: {
595
+ "Content-Type": "application/json",
596
+ },
597
+ },
598
+ paramsType: {
599
+ DBInstanceIdentifier: "String",
600
+ },
601
+ },
602
+ ModifyDBInstanceAvailabilityZone: {
603
+ url: "/",
604
+ method: "GET",
605
+ config: {
606
+ query: {
607
+ Version: "2016-07-01",
608
+ Action: "ModifyDBInstanceAvailabilityZone",
609
+ },
610
+ headers: {
611
+ "Content-Type": "application/json",
612
+ },
613
+ },
614
+ paramsType: {
615
+ DBInstanceIdentifier: "String",
616
+ "AvailabilityZone.1": "String",
617
+ "AvailabilityZone.2": "String",
618
+ },
619
+ },
620
+ DescribeDBInstanceRegions: {
621
+ url: "/",
622
+ method: "GET",
623
+ config: {
624
+ query: {
625
+ Version: "2016-07-01",
626
+ Action: "DescribeDBInstanceRegions",
627
+ },
628
+ headers: {
629
+ "Content-Type": "application/json",
630
+ },
631
+ },
632
+ paramsType: {},
633
+ },
634
+ DescribeDBInstancePackages: {
635
+ url: "/",
636
+ method: "GET",
637
+ config: {
638
+ query: {
639
+ Version: "2016-07-01",
640
+ Action: "DescribeDBInstancePackages",
641
+ },
642
+ headers: {
643
+ "Content-Type": "application/json",
644
+ },
645
+ },
646
+ paramsType: {
647
+ RegionCode: "String",
648
+ },
649
+ },
650
+ DescribeLastLog: {
651
+ url: "/",
652
+ method: "GET",
653
+ config: {
654
+ query: {
655
+ Version: "2016-07-01",
656
+ Action: "DescribeLastLog",
657
+ },
658
+ headers: {
659
+ "Content-Type": "application/json",
660
+ },
661
+ },
662
+ paramsType: {
663
+ DBInstanceIdentifier: "String",
664
+ DBLogType: "String",
665
+ },
666
+ },
667
+ StartAudit: {
668
+ url: "/",
669
+ method: "GET",
670
+ config: {
671
+ query: {
672
+ Version: "2016-07-01",
673
+ Action: "StartAudit",
674
+ },
675
+ headers: {
676
+ "Content-Type": "application/json",
677
+ },
678
+ },
679
+ paramsType: {
680
+ DBInstanceIdentifier: "String",
681
+ },
682
+ },
683
+ StopAudit: {
684
+ url: "/",
685
+ method: "GET",
686
+ config: {
687
+ query: {
688
+ Version: "2016-07-01",
689
+ Action: "StopAudit",
690
+ },
691
+ headers: {
692
+ "Content-Type": "application/json",
693
+ },
694
+ },
695
+ paramsType: {
696
+ DBInstanceIdentifier: "String",
697
+ },
698
+ },
699
+ ListAudit: {
700
+ url: "/",
701
+ method: "GET",
702
+ config: {
703
+ query: {
704
+ Version: "2016-07-01",
705
+ Action: "ListAudit",
706
+ },
707
+ headers: {
708
+ "Content-Type": "application/json",
709
+ },
710
+ },
711
+ paramsType: {
712
+ DBInstanceIdentifier: "String",
713
+ AccessSqlStatement: "String",
714
+ AccessSqlLanguage: "String",
715
+ AccessDBName: "String",
716
+ SourceIp: "String",
717
+ AccessUsername: "String",
718
+ AuditBeginTime: "String",
719
+ AuditEndTime: "String",
720
+ RunResult: "String",
721
+ KeyWord: "String",
722
+ SortBy: "String",
723
+ SortWay: "String",
724
+ Marker: "String",
725
+ MaxRecords: "String",
726
+ },
727
+ },
728
+ AuditStatistic: {
729
+ url: "/",
730
+ method: "GET",
731
+ config: {
732
+ query: {
733
+ Version: "2016-07-01",
734
+ Action: "AuditStatistic",
735
+ },
736
+ headers: {
737
+ "Content-Type": "application/json",
738
+ },
739
+ },
740
+ paramsType: {
741
+ DBInstanceIdentifier: "String",
742
+ AuditStatisticBeginTime: "String",
743
+ AuditStatisticEndTime: "String",
744
+ },
745
+ },
746
+ GetTableRestorableTime: {
747
+ url: "/",
748
+ method: "GET",
749
+ config: {
750
+ query: {
751
+ Version: "2016-07-01",
752
+ Action: "GetTableRestorableTime",
753
+ },
754
+ headers: {
755
+ "Content-Type": "application/json",
756
+ },
757
+ },
758
+ paramsType: {
759
+ DBInstanceIdentifier: "String",
760
+ },
761
+ },
762
+ GetHistoryDatabaseInfo: {
763
+ url: "/",
764
+ method: "GET",
765
+ config: {
766
+ query: {
767
+ Version: "2016-07-01",
768
+ Action: "GetHistoryDatabaseInfo",
769
+ },
770
+ headers: {
771
+ "Content-Type": "application/json",
772
+ },
773
+ },
774
+ paramsType: {
775
+ DBInstanceIdentifier: "String",
776
+ DBBackupIdentifier: "String",
777
+ RestorableTime: "String",
778
+ },
779
+ },
780
+ OverrideDBInstanceByPointInTime: {
781
+ url: "/",
782
+ method: "GET",
783
+ config: {
784
+ query: {
785
+ Version: "2016-07-01",
786
+ Action: "OverrideDBInstanceByPointInTime",
787
+ },
788
+ headers: {
789
+ "Content-Type": "application/json",
790
+ },
791
+ },
792
+ paramsType: {
793
+ DBInstanceIdentifier: "String",
794
+ DBBackupIdentifier: "String",
795
+ RestorableTime: "String",
796
+ },
797
+ },
798
+ RestoreToCurInstance: {
799
+ url: "/",
800
+ method: "POST",
801
+ config: {
802
+ query: {
803
+ Version: "2016-07-01",
804
+ Action: "RestoreToCurInstance",
805
+ },
806
+ headers: {
807
+ "Content-Type": "application/json",
808
+ },
809
+ },
810
+ paramsType: {
811
+ DBInstanceIdentifier: "String",
812
+ DBBackupIdentifier: "String",
813
+ RestorableTime: "String",
814
+ SrcDatabases: "Array",
815
+ DstDatabases: "Array",
816
+ },
817
+ },
818
+ RestoreToSgInstance: {
819
+ url: "/",
820
+ method: "POST",
821
+ config: {
822
+ query: {
823
+ Version: "2016-07-01",
824
+ Action: "RestoreToSgInstance",
825
+ },
826
+ headers: {
827
+ "Content-Type": "application/json",
828
+ },
829
+ },
830
+ paramsType: {
831
+ DBInstanceIdentifier: "String",
832
+ DBBackupIdentifier: "String",
833
+ RestorableTime: "String",
834
+ SrcDatabases: "Array",
835
+ DstDatabases: "Array",
836
+ },
837
+ },
838
+ DescribeAuditHotCount: {
839
+ url: "/",
840
+ method: "GET",
841
+ config: {
842
+ query: {
843
+ Version: "2016-07-01",
844
+ Action: "DescribeAuditHotCount",
845
+ },
846
+ headers: {
847
+ "Content-Type": "application/json",
848
+ },
849
+ },
850
+ paramsType: {
851
+ DBInstanceIdentifier: "String",
852
+ TimeRange: "String",
853
+ StartTime: "String",
854
+ EndTime: "String",
855
+ },
856
+ },
857
+ DescribeAuditHotDuration: {
858
+ url: "/",
859
+ method: "GET",
860
+ config: {
861
+ query: {
862
+ Version: "2016-07-01",
863
+ Action: "DescribeAuditHotDuration",
864
+ },
865
+ headers: {
866
+ "Content-Type": "application/json",
867
+ },
868
+ },
869
+ paramsType: {
870
+ DBInstanceIdentifier: "String",
871
+ TimeRange: "String",
872
+ StartTime: "String",
873
+ EndTime: "String",
874
+ },
875
+ },
876
+ SqlAuditReport: {
877
+ url: "/",
878
+ method: "GET",
879
+ config: {
880
+ query: {
881
+ Version: "2016-07-01",
882
+ Action: "SqlAuditReport",
883
+ },
884
+ headers: {
885
+ "Content-Type": "application/json",
886
+ },
887
+ },
888
+ paramsType: {
889
+ DBInstanceIdentifier: "String",
890
+ TimeRange: "String",
891
+ StartTime: "String",
892
+ EndTime: "String",
893
+ DbName: "String",
894
+ SortBy: "String",
895
+ SortWay: "Int",
896
+ Page: "Int",
897
+ Size: "Int",
898
+ },
899
+ },
900
+ SqlAuditLineChart: {
901
+ url: "/",
902
+ method: "GET",
903
+ config: {
904
+ query: {
905
+ Version: "2016-07-01",
906
+ Action: "SqlAuditLineChart",
907
+ },
908
+ headers: {
909
+ "Content-Type": "application/json",
910
+ },
911
+ },
912
+ paramsType: {
913
+ DBInstanceIdentifier: "String",
914
+ TimeRange: "String",
915
+ StartTime: "String",
916
+ EndTime: "String",
917
+ },
918
+ },
919
+ SlowLogReport: {
920
+ url: "/",
921
+ method: "GET",
922
+ config: {
923
+ query: {
924
+ Version: "2016-07-01",
925
+ Action: "SlowLogReport",
926
+ },
927
+ headers: {
928
+ "Content-Type": "application/json",
929
+ },
930
+ },
931
+ paramsType: {
932
+ DBInstanceIdentifier: "String",
933
+ StartTime: "String",
934
+ EndTime: "String",
935
+ SortBy: "String",
936
+ SortWay: "String",
937
+ HeadKey: "String",
938
+ Marker: "Int",
939
+ MaxRecords: "Int",
940
+ },
941
+ },
942
+ SlowLogLineChart: {
943
+ url: "/",
944
+ method: "GET",
945
+ config: {
946
+ query: {
947
+ Version: "2016-07-01",
948
+ Action: "SlowLogLineChart",
949
+ },
950
+ headers: {
951
+ "Content-Type": "application/json",
952
+ },
953
+ },
954
+ paramsType: {
955
+ DBInstanceIdentifier: "String",
956
+ StartTime: "String",
957
+ EndTime: "String",
958
+ },
959
+ },
960
+ SlowLogDetail: {
961
+ url: "/",
962
+ method: "GET",
963
+ config: {
964
+ query: {
965
+ Version: "2016-07-01",
966
+ Action: "SlowLogDetail",
967
+ },
968
+ headers: {
969
+ "Content-Type": "application/json",
970
+ },
971
+ },
972
+ paramsType: {
973
+ DBInstanceIdentifier: "String",
974
+ StartTime: "String",
975
+ EndTime: "String",
976
+ SortBy: "String",
977
+ SortWay: "String",
978
+ HeadKey: "String",
979
+ FingerPrint: "String",
980
+ checksum: "String",
981
+ },
982
+ },
983
+ StartAuditDetailExportTask: {
984
+ url: "/",
985
+ method: "GET",
986
+ config: {
987
+ query: {
988
+ Version: "2016-07-01",
989
+ Action: "StartAuditDetailExportTask",
990
+ },
991
+ headers: {
992
+ "Content-Type": "application/json",
993
+ },
994
+ },
995
+ paramsType: {
996
+ DBInstanceIdentifier: "String",
997
+ ExportFileds: "String",
998
+ AuditBeginTime: "String",
999
+ AuditEndTime: "String",
1000
+ },
1001
+ },
1002
+ ListAuditDetailExportTask: {
1003
+ url: "/",
1004
+ method: "GET",
1005
+ config: {
1006
+ query: {
1007
+ Version: "2016-07-01",
1008
+ Action: "ListAuditDetailExportTask",
1009
+ },
1010
+ headers: {
1011
+ "Content-Type": "application/json",
1012
+ },
1013
+ },
1014
+ paramsType: {
1015
+ DBInstanceIdentifier: "String",
1016
+ Marker: "String",
1017
+ MaxRecords: "String",
1018
+ },
1019
+ },
1020
+ DescribeInstanceAccounts: {
1021
+ url: "/",
1022
+ method: "GET",
1023
+ config: {
1024
+ query: {
1025
+ Version: "2016-07-01",
1026
+ Action: "DescribeInstanceAccounts",
1027
+ },
1028
+ headers: {
1029
+ "Content-Type": "application/json",
1030
+ },
1031
+ },
1032
+ paramsType: {
1033
+ DBInstanceIdentifier: "String",
1034
+ Keyword: "String",
1035
+ },
1036
+ },
1037
+ ModifyInstanceAccountInfo: {
1038
+ url: "/",
1039
+ method: "GET",
1040
+ config: {
1041
+ query: {
1042
+ Version: "2016-07-01",
1043
+ Action: "ModifyInstanceAccountInfo",
1044
+ },
1045
+ headers: {
1046
+ "Content-Type": "application/json",
1047
+ },
1048
+ },
1049
+ paramsType: {
1050
+ DBInstanceIdentifier: "String",
1051
+ InstanceAccountName: "String",
1052
+ InstanceAccountPassword: "String",
1053
+ InstanceAccountDescription: "String",
1054
+ },
1055
+ },
1056
+ DescribeCollations: {
1057
+ url: "/",
1058
+ method: "GET",
1059
+ config: {
1060
+ query: {
1061
+ Version: "2016-07-01",
1062
+ Action: "DescribeCollations",
1063
+ },
1064
+ headers: {
1065
+ "Content-Type": "application/json",
1066
+ },
1067
+ },
1068
+ paramsType: {
1069
+ DBInstanceIdentifier: "String",
1070
+ },
1071
+ },
1072
+ CreateInstanceDatabase: {
1073
+ url: "/",
1074
+ method: "GET",
1075
+ config: {
1076
+ query: {
1077
+ Version: "2016-07-01",
1078
+ Action: "CreateInstanceDatabase",
1079
+ },
1080
+ headers: {
1081
+ "Content-Type": "application/json",
1082
+ },
1083
+ },
1084
+ paramsType: {
1085
+ DBInstanceIdentifier: "String",
1086
+ InstanceDatabaseName: "String",
1087
+ InstanceDatabaseCollation: "String",
1088
+ InstanceDatabaseDescription: "String",
1089
+ },
1090
+ },
1091
+ ModifyInstanceDatabasePrivileges: {
1092
+ url: "/",
1093
+ method: "GET",
1094
+ config: {
1095
+ query: {
1096
+ Version: "2016-07-01",
1097
+ Action: "ModifyInstanceDatabasePrivileges",
1098
+ },
1099
+ headers: {
1100
+ "Content-Type": "application/json",
1101
+ },
1102
+ },
1103
+ paramsType: {
1104
+ DBInstanceIdentifier: "String",
1105
+ InstanceDatabaseName: "String",
1106
+ InstanceDatabasePrivileges: "Filter",
1107
+ },
1108
+ },
1109
+ DescribeInstanceDatabases: {
1110
+ url: "/",
1111
+ method: "GET",
1112
+ config: {
1113
+ query: {
1114
+ Version: "2016-07-01",
1115
+ Action: "DescribeInstanceDatabases",
1116
+ },
1117
+ headers: {
1118
+ "Content-Type": "application/json",
1119
+ },
1120
+ },
1121
+ paramsType: {
1122
+ DBInstanceIdentifier: "String",
1123
+ InstanceDatabaseName: "String",
1124
+ Keyword: "String",
1125
+ },
1126
+ },
1127
+ ModifyInstanceDatabaseInfo: {
1128
+ url: "/",
1129
+ method: "GET",
1130
+ config: {
1131
+ query: {
1132
+ Version: "2016-07-01",
1133
+ Action: "ModifyInstanceDatabaseInfo",
1134
+ },
1135
+ headers: {
1136
+ "Content-Type": "application/json",
1137
+ },
1138
+ },
1139
+ paramsType: {
1140
+ DBInstanceIdentifier: "String",
1141
+ InstanceDatabaseName: "String",
1142
+ InstanceDatabaseDescription: "String",
1143
+ },
1144
+ },
1145
+ StartSlowLogDetailExportTask: {
1146
+ url: "/",
1147
+ method: "GET",
1148
+ config: {
1149
+ query: {
1150
+ Version: "2016-07-01",
1151
+ Action: "StartSlowLogDetailExportTask",
1152
+ },
1153
+ headers: {
1154
+ "Content-Type": "application/json",
1155
+ },
1156
+ },
1157
+ paramsType: {
1158
+ DBInstanceIdentifier: "String",
1159
+ AuditBeginTime: "String",
1160
+ AuditEndTime: "String",
1161
+ AccessSqlStatement: "String",
1162
+ },
1163
+ },
1164
+ ListSlowLogDetailExportTask: {
1165
+ url: "/",
1166
+ method: "GET",
1167
+ config: {
1168
+ query: {
1169
+ Version: "2016-07-01",
1170
+ Action: "ListSlowLogDetailExportTask",
1171
+ },
1172
+ headers: {
1173
+ "Content-Type": "application/json",
1174
+ },
1175
+ },
1176
+ paramsType: {
1177
+ DBInstanceIdentifier: "String",
1178
+ Marker: "String",
1179
+ MaxRecords: "String",
1180
+ },
1181
+ },
1182
+ CreateInstanceAccountAction: {
1183
+ url: "/",
1184
+ method: "POST",
1185
+ config: {
1186
+ query: {
1187
+ Version: "2016-07-01",
1188
+ Action: "CreateInstanceAccountAction",
1189
+ },
1190
+ headers: {
1191
+ "Content-Type": "application/x-www-form-urlencoded",
1192
+ },
1193
+ },
1194
+ paramsType: {
1195
+ DBInstanceIdentifier: "String",
1196
+ InstanceAccountName: "String",
1197
+ InstanceAccountPassword: "String",
1198
+ InstanceAccountDescription: "String",
1199
+ InstanceAccountPrivileges: "Array",
1200
+ },
1201
+ },
1202
+ ModifyInstanceAccountPrivilegesAction: {
1203
+ url: "/",
1204
+ method: "POST",
1205
+ config: {
1206
+ query: {
1207
+ Version: "2016-07-01",
1208
+ Action: "ModifyInstanceAccountPrivilegesAction",
1209
+ },
1210
+ headers: {
1211
+ "Content-Type": "application/x-www-form-urlencoded",
1212
+ },
1213
+ },
1214
+ paramsType: {
1215
+ DBInstanceIdentifier: "String",
1216
+ InstanceAccountName: "String",
1217
+ InstanceAccountPrivileges: "Array",
1218
+ },
1219
+ },
1220
+ DeleteInstanceAccountAction: {
1221
+ url: "/",
1222
+ method: "POST",
1223
+ config: {
1224
+ query: {
1225
+ Version: "2016-07-01",
1226
+ Action: "DeleteInstanceAccountAction",
1227
+ },
1228
+ headers: {
1229
+ "Content-Type": "application/x-www-form-urlencoded",
1230
+ },
1231
+ },
1232
+ paramsType: {
1233
+ DBInstanceIdentifier: "String",
1234
+ InstanceAccountName: "String",
1235
+ },
1236
+ },
1237
+ DeleteInstanceDatabaseAction: {
1238
+ url: "/",
1239
+ method: "POST",
1240
+ config: {
1241
+ query: {
1242
+ Version: "2016-07-01",
1243
+ Action: "DeleteInstanceDatabaseAction",
1244
+ },
1245
+ headers: {
1246
+ "Content-Type": "application/x-www-form-urlencoded",
1247
+ },
1248
+ },
1249
+ paramsType: {
1250
+ DBInstanceIdentifier: "String",
1251
+ InstanceDatabaseName: "String",
1252
+ },
1253
+ },
1254
+ ModifyDBNetwork: {
1255
+ url: "/",
1256
+ method: "POST",
1257
+ config: {
1258
+ query: {
1259
+ Version: "2016-07-01",
1260
+ Action: "ModifyDBNetwork",
1261
+ },
1262
+ headers: {
1263
+ "Content-Type": "application/x-www-form-urlencoded",
1264
+ },
1265
+ },
1266
+ paramsType: {
1267
+ DBInstanceIdentifier: "String",
1268
+ VpcId: "String",
1269
+ SubnetId: "String",
1270
+ Vip: "String",
1271
+ Port: "String",
1272
+ },
1273
+ },
1274
+ DescribeEngineParametersModifyHistory: {
1275
+ url: "/",
1276
+ method: "GET",
1277
+ config: {
1278
+ query: {
1279
+ Version: "2016-07-01",
1280
+ Action: "DescribeEngineParametersModifyHistory",
1281
+ },
1282
+ headers: {
1283
+ "Content-Type": "application/json",
1284
+ },
1285
+ },
1286
+ paramsType: {
1287
+ DBParameterGroupId: "String",
1288
+ Name: "String",
1289
+ MaxRecords: "Int",
1290
+ Marker: "Int",
1291
+ },
1292
+ },
1293
+ };
1294
+ };