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