ksyun-sdk-node 1.0.5 → 1.4.8

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 (133) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/dist/base/BaseClient.js +133 -52
  3. package/dist/index.js +9 -12
  4. package/dist/lib/fetch.js +4 -5
  5. package/dist/lib/sign.js +31 -33
  6. package/dist/lib/signautreV4.js +167 -0
  7. package/dist/service/Actiontrail/v20190401/index.js +34 -37
  8. package/dist/service/Aicp/v20240612/index.js +511 -0
  9. package/dist/service/Bill/v20180601/index.js +49 -88
  10. package/dist/service/Bill/v20220601/index.js +64 -0
  11. package/dist/service/Bill_union/v20200101/index.js +151 -77
  12. package/dist/service/Bill_union/v20221222/index.js +142 -0
  13. package/dist/service/Bill_union/v20250801/index.js +66 -0
  14. package/dist/service/Bws/v20160304/index.js +111 -94
  15. package/dist/service/Cdn/v20160901/index.js +89 -0
  16. package/dist/service/Cdn/v20200630/index.js +410 -0
  17. package/dist/service/Cdn/v20200901/index.js +162 -0
  18. package/dist/service/Cdn/v20211201/index.js +45 -0
  19. package/dist/service/Cdn/v20250503/index.js +71 -0
  20. package/dist/service/Cen/v20160304/index.js +460 -0
  21. package/dist/service/Clickhouse/v20210101/index.js +546 -0
  22. package/dist/service/Ebs/v20160304/index.js +265 -268
  23. package/dist/service/Eip/v20160304/index.js +104 -107
  24. package/dist/service/Epc/v20151101/index.js +1735 -784
  25. package/dist/service/Iam/v20151101/index.js +872 -711
  26. package/dist/service/Iam/v20240513/index.js +47 -0
  27. package/dist/service/Iam/v20240703/index.js +44 -0
  28. package/dist/service/Kad/v20161122/index.js +84 -87
  29. package/dist/service/Kce/v20180314/index.js +320 -0
  30. package/dist/service/Kce/v20190806/index.js +482 -0
  31. package/dist/service/Kce/v20201231/index.js +63 -0
  32. package/dist/service/Kcf/v20211215/index.js +203 -0
  33. package/dist/service/Kcm/v20160304/index.js +120 -0
  34. package/dist/service/Kcrs/v20211109/index.js +851 -0
  35. package/dist/service/Kcs/v20160701/index.js +1106 -0
  36. package/dist/service/Kcs/v20170401/index.js +81 -0
  37. package/dist/service/Kead/v20200101/index.js +28 -31
  38. package/dist/service/Kec/v20160304/index.js +1695 -1466
  39. package/dist/service/Kes/v20201215/index.js +171 -0
  40. package/dist/service/Ket/v20170101/index.js +141 -0
  41. package/dist/service/Kkms/v20160304/index.js +167 -0
  42. package/dist/service/Klog/v20200731/index.js +331 -0
  43. package/dist/service/Kls/v20170101/index.js +194 -0
  44. package/dist/service/Kmr/v20210902/index.js +422 -0
  45. package/dist/service/Kmr/v20231231/index.js +154 -0
  46. package/dist/service/Kmr/v20240814/index.js +370 -0
  47. package/dist/service/Krds/v20160701/index.js +1302 -0
  48. package/dist/service/Krds/v20200825/index.js +174 -0
  49. package/dist/service/Memcached/v20180627/index.js +249 -0
  50. package/dist/service/Mongodb/v20170101/index.js +516 -501
  51. package/dist/service/Monitor/v20100525/index.js +70 -0
  52. package/dist/service/Monitor/v20181114/index.js +49 -0
  53. package/dist/service/Monitor/v20210101/index.js +216 -0
  54. package/dist/service/Monitor/v20220101/index.js +58 -0
  55. package/dist/service/Monitor/v20250101/index.js +71 -0
  56. package/dist/service/Rabbitmq/v20191017/index.js +242 -0
  57. package/dist/service/Resourcemanager/v20210320/index.js +113 -116
  58. package/dist/service/Sks/v20151101/index.js +72 -75
  59. package/dist/service/Slb/v20160304/index.js +1299 -790
  60. package/dist/service/Sts/v20151101/index.js +26 -29
  61. package/dist/service/Tagv2/v20200901/index.js +174 -0
  62. package/dist/service/Tidb/v20210520/index.js +363 -0
  63. package/dist/service/Trade/v20200114/index.js +23 -26
  64. package/dist/service/Trade/v20200831/index.js +25 -28
  65. package/dist/service/Vpc/v20160304/index.js +2015 -1045
  66. package/dist/service/Waf/v20200707/index.js +248 -0
  67. package/example/iam.js +2 -1
  68. package/example/res.js +2 -1
  69. package/package.json +1 -1
  70. package/src/base/BaseClient.js +131 -35
  71. package/src/lib/signautreV4.js +166 -0
  72. package/src/service/Actiontrail/v20190401/index.js +42 -42
  73. package/src/service/Aicp/v20240612/index.js +503 -0
  74. package/src/service/Bill/v20180601/index.js +61 -102
  75. package/src/service/Bill/v20220601/index.js +56 -0
  76. package/src/service/Bill_union/v20200101/index.js +181 -109
  77. package/src/service/Bill_union/v20221222/index.js +134 -0
  78. package/src/service/Bill_union/v20250801/index.js +58 -0
  79. package/src/service/Bws/v20160304/index.js +139 -119
  80. package/src/service/Cdn/v20160901/index.js +81 -0
  81. package/src/service/Cdn/v20200630/index.js +402 -0
  82. package/src/service/Cdn/v20200901/index.js +154 -0
  83. package/src/service/Cdn/v20211201/index.js +37 -0
  84. package/src/service/Cdn/v20250503/index.js +63 -0
  85. package/src/service/Cen/v20160304/index.js +452 -0
  86. package/src/service/Clickhouse/v20210101/index.js +538 -0
  87. package/src/service/Ebs/v20160304/index.js +365 -368
  88. package/src/service/Eip/v20160304/index.js +135 -136
  89. package/src/service/Epc/v20151101/index.js +1984 -1033
  90. package/src/service/Iam/v20151101/index.js +1155 -993
  91. package/src/service/Iam/v20240513/index.js +39 -0
  92. package/src/service/Iam/v20240703/index.js +36 -0
  93. package/src/service/Kad/v20161122/index.js +112 -112
  94. package/src/service/Kce/v20180314/index.js +312 -0
  95. package/src/service/Kce/v20190806/index.js +474 -0
  96. package/src/service/Kce/v20201231/index.js +55 -0
  97. package/src/service/Kcf/v20211215/index.js +195 -0
  98. package/src/service/Kcm/v20160304/index.js +112 -0
  99. package/src/service/Kcrs/v20211109/index.js +843 -0
  100. package/src/service/Kcs/v20160701/index.js +1098 -0
  101. package/src/service/Kcs/v20170401/index.js +73 -0
  102. package/src/service/Kead/v20200101/index.js +36 -36
  103. package/src/service/Kec/v20160304/index.js +2061 -1838
  104. package/src/service/Kes/v20201215/index.js +163 -0
  105. package/src/service/Ket/v20170101/index.js +133 -0
  106. package/src/service/Kkms/v20160304/index.js +159 -0
  107. package/src/service/Klog/v20200731/index.js +323 -0
  108. package/src/service/Kls/v20170101/index.js +186 -0
  109. package/src/service/Kmr/v20210902/index.js +414 -0
  110. package/src/service/Kmr/v20231231/index.js +146 -0
  111. package/src/service/Kmr/v20240814/index.js +362 -0
  112. package/src/service/Krds/v20160701/index.js +1294 -0
  113. package/src/service/Krds/v20200825/index.js +166 -0
  114. package/src/service/Memcached/v20180627/index.js +241 -0
  115. package/src/service/Mongodb/v20170101/index.js +672 -654
  116. package/src/service/Monitor/v20100525/index.js +62 -0
  117. package/src/service/Monitor/v20181114/index.js +41 -0
  118. package/src/service/Monitor/v20210101/index.js +208 -0
  119. package/src/service/Monitor/v20220101/index.js +50 -0
  120. package/src/service/Monitor/v20250101/index.js +63 -0
  121. package/src/service/Rabbitmq/v20191017/index.js +234 -0
  122. package/src/service/Resourcemanager/v20210320/index.js +157 -158
  123. package/src/service/Sks/v20151101/index.js +95 -96
  124. package/src/service/Slb/v20160304/index.js +1471 -959
  125. package/src/service/Sts/v20151101/index.js +34 -34
  126. package/src/service/Tagv2/v20200901/index.js +166 -0
  127. package/src/service/Tidb/v20210520/index.js +355 -0
  128. package/src/service/Trade/v20200114/index.js +31 -31
  129. package/src/service/Trade/v20200831/index.js +33 -33
  130. package/src/service/Vpc/v20160304/index.js +2404 -1432
  131. package/src/service/Waf/v20200707/index.js +240 -0
  132. package/src/service/Bill_union/v20211209/index.js +0 -35
  133. package/src/service/Slb/v20171210/index.js +0 -39
@@ -0,0 +1,1294 @@
1
+ const BaseClient = require("../../../base/BaseClient.js");
2
+
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
+ 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
+ };