ksyun-sdk-node 1.4.9 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/service/Aicp/v20240612/index.js +24 -0
  2. package/dist/service/Bws/v20160304/index.js +3 -0
  3. package/dist/service/Cdn/v20250503/index.js +0 -333
  4. package/dist/service/Cdn/v3/index.js +600 -0
  5. package/dist/service/Cen/v20160304/index.js +147 -103
  6. package/dist/service/Clickhouse/v20210101/index.js +204 -19
  7. package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
  8. package/dist/service/Dmp/v20240101/index.js +362 -0
  9. package/dist/service/Dts/v20180108/index.js +386 -0
  10. package/dist/service/Ebs/v20160304/index.js +197 -34
  11. package/dist/service/Eip/v20160304/index.js +79 -1
  12. package/dist/service/Influxdb/v20191010/index.js +504 -0
  13. package/dist/service/Kad/v20161122/index.js +32 -0
  14. package/dist/service/Kce/v20190806/index.js +234 -43
  15. package/dist/service/Kce/v20201231/index.js +2 -2
  16. package/dist/service/Kce/v20230101/index.js +193 -0
  17. package/dist/service/Kce/v20230306/index.js +434 -0
  18. package/dist/service/Kce/v20231115/index.js +65 -0
  19. package/dist/service/Kce2/v20230101/index.js +313 -0
  20. package/dist/service/Kci/v20200702/index.js +336 -0
  21. package/dist/service/Kcm/v20160304/index.js +113 -3
  22. package/dist/service/Kcrs/v20211109/index.js +88 -92
  23. package/dist/service/Kcs/v20160701/index.js +165 -23
  24. package/dist/service/Kcs/v20170401/index.js +1 -36
  25. package/dist/service/Kcs/v20240701/index.js +45 -0
  26. package/dist/service/Kead/v20200101/index.js +37 -8
  27. package/dist/service/Ked/v1/index.js +805 -0
  28. package/dist/service/Ket/v20170101/index.js +42 -0
  29. package/dist/service/Kfw/v20160304/index.js +59 -0
  30. package/dist/service/Kingpay/v1/index.js +44 -0
  31. package/dist/service/Knad/v20230323/index.js +333 -0
  32. package/dist/service/Kpfs/v20240930/index.js +181 -0
  33. package/dist/service/Krds/v20160701/index.js +505 -96
  34. package/dist/service/Krds/v20200825/index.js +48 -8
  35. package/dist/service/Milvus/v20231010/index.js +366 -0
  36. package/dist/service/Mongodb/v20170101/index.js +163 -13
  37. package/dist/service/Mongodb/v20250101/index.js +44 -0
  38. package/dist/service/Pdns/v20160304/index.js +636 -0
  39. package/dist/service/Postgresql/v20181225/index.js +950 -0
  40. package/dist/service/Rabbitmq/v20191017/index.js +107 -6
  41. package/dist/service/Relyt/v20240117/index.js +45 -0
  42. package/dist/service/Sks/v20151101/index.js +2 -1
  43. package/dist/service/Slb/v20160304/index.js +426 -53
  44. package/dist/service/Slb/v20250430/index.js +750 -0
  45. package/dist/service/Sqlserver/v20190425/index.js +872 -0
  46. package/dist/service/Sts/v20151101/index.js +19 -0
  47. package/dist/service/Tagv2/v20200901/index.js +42 -6
  48. package/dist/service/Ter/v20240415/index.js +114 -0
  49. package/dist/service/Tidb/v20210520/index.js +415 -21
  50. package/dist/service/Trade/v20250220/index.js +97 -0
  51. package/dist/service/Trade/v20250321/index.js +93 -0
  52. package/dist/service/Trade/v20250828/index.js +56 -0
  53. package/dist/service/Vpc/v20160304/index.js +32 -0
  54. package/dist/service/Waf/v20200707/index.js +188 -5
  55. package/package.json +1 -1
  56. package/src/service/Aicp/v20240612/index.js +24 -0
  57. package/src/service/Bws/v20160304/index.js +3 -0
  58. package/src/service/Cdn/{v20250503 → v3}/index.js +196 -0
  59. package/src/service/Cen/v20160304/index.js +144 -100
  60. package/src/service/Clickhouse/v20210101/index.js +203 -18
  61. package/src/service/Cloud_advisor/v20250610/index.js +73 -0
  62. package/src/service/Dmp/v20240101/index.js +354 -0
  63. package/src/service/Dts/v20180108/index.js +378 -0
  64. package/src/service/Ebs/v20160304/index.js +194 -31
  65. package/src/service/Eip/v20160304/index.js +79 -1
  66. package/src/service/Influxdb/v20191010/index.js +496 -0
  67. package/src/service/Kad/v20161122/index.js +32 -0
  68. package/src/service/Kce/v20190806/index.js +233 -42
  69. package/src/service/Kce/v20201231/index.js +2 -2
  70. package/src/service/Kce/v20230101/index.js +185 -0
  71. package/src/service/Kce/v20230306/index.js +426 -0
  72. package/src/service/Kce/v20231115/index.js +57 -0
  73. package/src/service/Kce2/v20230101/index.js +305 -0
  74. package/src/service/Kci/v20200702/index.js +328 -0
  75. package/src/service/Kcm/v20160304/index.js +110 -0
  76. package/src/service/Kcrs/v20211109/index.js +87 -91
  77. package/src/service/Kcs/v20160701/index.js +164 -22
  78. package/src/service/Kcs/v20170401/index.js +1 -36
  79. package/src/service/Kcs/v20240701/index.js +37 -0
  80. package/src/service/Kead/v20200101/index.js +37 -8
  81. package/src/service/Ked/v1/index.js +797 -0
  82. package/src/service/Ket/v20170101/index.js +42 -0
  83. package/src/service/Kfw/v20160304/index.js +51 -0
  84. package/src/service/Kingpay/v1/index.js +36 -0
  85. package/src/service/Knad/v20230323/index.js +325 -0
  86. package/src/service/Kpfs/v20240930/index.js +173 -0
  87. package/src/service/Krds/v20160701/index.js +502 -93
  88. package/src/service/Krds/v20200825/index.js +48 -8
  89. package/src/service/Milvus/v20231010/index.js +358 -0
  90. package/src/service/Mongodb/v20170101/index.js +162 -12
  91. package/src/service/Mongodb/v20250101/index.js +36 -0
  92. package/src/service/Pdns/v20160304/index.js +628 -0
  93. package/src/service/Postgresql/v20181225/index.js +942 -0
  94. package/src/service/Rabbitmq/v20191017/index.js +107 -6
  95. package/src/service/Relyt/v20240117/index.js +37 -0
  96. package/src/service/Sks/v20151101/index.js +1 -0
  97. package/src/service/Slb/v20160304/index.js +416 -43
  98. package/src/service/Slb/v20250430/index.js +742 -0
  99. package/src/service/Sqlserver/v20190425/index.js +864 -0
  100. package/src/service/Sts/v20151101/index.js +19 -0
  101. package/src/service/Tagv2/v20200901/index.js +42 -6
  102. package/src/service/Ter/v20240415/index.js +106 -0
  103. package/src/service/Tidb/v20210520/index.js +412 -18
  104. package/src/service/Trade/v20250220/index.js +89 -0
  105. package/src/service/Trade/v20250321/index.js +85 -0
  106. package/src/service/Trade/v20250828/index.js +48 -0
  107. package/src/service/Vpc/v20160304/index.js +32 -0
  108. package/src/service/Waf/v20200707/index.js +187 -4
@@ -0,0 +1,950 @@
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: "postgresql.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: "postgresql"
22
+ }
23
+ }
24
+ });
25
+ _defineProperty(this, "_apiList", {
26
+ CreateDBInstance: {
27
+ url: "/",
28
+ method: "GET",
29
+ config: {
30
+ query: {
31
+ Version: "2018-12-25",
32
+ Action: "CreateDBInstance"
33
+ },
34
+ headers: {
35
+ "Content-Type": "application/json"
36
+ }
37
+ },
38
+ paramsType: {
39
+ Mem: "Int",
40
+ Disk: "Int",
41
+ DBInstanceName: "String",
42
+ Engine: "String",
43
+ EngineVersion: "String",
44
+ MasterUserPassword: "String",
45
+ MasterUserName: "String",
46
+ DBInstanceType: "String",
47
+ VpcId: "String",
48
+ SubnetId: "String",
49
+ PreferredBackupTime: "String",
50
+ DBParameterGroupId: "String",
51
+ SecurityGroupId: "String",
52
+ Port: "String",
53
+ BillType: "String",
54
+ Duration: "String",
55
+ DurationUnit: "String",
56
+ AvailabilityZone: "Filter",
57
+ ProjectId: "String"
58
+ }
59
+ },
60
+ DescribeDBInstances: {
61
+ url: "/",
62
+ method: "GET",
63
+ config: {
64
+ query: {
65
+ Version: "2018-12-25",
66
+ Action: "DescribeDBInstances"
67
+ },
68
+ headers: {
69
+ "Content-Type": "application/json"
70
+ }
71
+ },
72
+ paramsType: {
73
+ DBInstanceIdentifier: "String",
74
+ DBInstanceType: "String",
75
+ Keyword: "String",
76
+ Marker: "Int",
77
+ MaxRecords: "Int",
78
+ GroupId: "String",
79
+ ProjectId: "String",
80
+ DBInstanceIdentifierIn: "String",
81
+ DBInstanceNameIn: "String",
82
+ VipIn: "String",
83
+ ExpiryDateLessThan: "Int",
84
+ Order: "String"
85
+ }
86
+ },
87
+ DeleteDBInstance: {
88
+ url: "/",
89
+ method: "GET",
90
+ config: {
91
+ query: {
92
+ Version: "2018-12-25",
93
+ Action: "DeleteDBInstance"
94
+ },
95
+ headers: {
96
+ "Content-Type": "application/json"
97
+ }
98
+ },
99
+ paramsType: {
100
+ DBInstanceIdentifier: "String"
101
+ }
102
+ },
103
+ StatisticDBInstances: {
104
+ url: "/",
105
+ method: "GET",
106
+ config: {
107
+ query: {
108
+ Version: "2018-12-25",
109
+ Action: "StatisticDBInstances"
110
+ },
111
+ headers: {
112
+ "Content-Type": "application/json"
113
+ }
114
+ },
115
+ paramsType: {
116
+ ExpiryDateLessThan: "String",
117
+ GroupId: "String",
118
+ Keyword: "String"
119
+ }
120
+ },
121
+ ModifyDBInstance: {
122
+ url: "/",
123
+ method: "GET",
124
+ config: {
125
+ query: {
126
+ Version: "2018-12-25",
127
+ Action: "ModifyDBInstance"
128
+ },
129
+ headers: {
130
+ "Content-Type": "application/json"
131
+ }
132
+ },
133
+ paramsType: {
134
+ DBInstanceIdentifier: "String",
135
+ PreferredBackupTime: "String",
136
+ DBInstanceName: "String",
137
+ MasterUserPassword: "String",
138
+ DBParameterGroupId: "String",
139
+ SecurityGroupId: "String"
140
+ }
141
+ },
142
+ CreateSecurityGroup: {
143
+ url: "/",
144
+ method: "GET",
145
+ config: {
146
+ query: {
147
+ Version: "2018-12-25",
148
+ Action: "CreateSecurityGroup"
149
+ },
150
+ headers: {
151
+ "Content-Type": "application/json"
152
+ }
153
+ },
154
+ paramsType: {
155
+ SecurityGroupName: "String",
156
+ SecurityGroupDescription: "String",
157
+ DBInstanceIdentifier: "Filter",
158
+ SecurityGroupRule: "Filter"
159
+ }
160
+ },
161
+ DescribeSecurityGroup: {
162
+ url: "/",
163
+ method: "GET",
164
+ config: {
165
+ query: {
166
+ Version: "2018-12-25",
167
+ Action: "DescribeSecurityGroup"
168
+ },
169
+ headers: {
170
+ "Content-Type": "application/json"
171
+ }
172
+ },
173
+ paramsType: {
174
+ SecurityGroupId: "String"
175
+ }
176
+ },
177
+ DeleteSecurityGroup: {
178
+ url: "/",
179
+ method: "GET",
180
+ config: {
181
+ query: {
182
+ Version: "2018-12-25",
183
+ Action: "DeleteSecurityGroup"
184
+ },
185
+ headers: {
186
+ "Content-Type": "application/json"
187
+ }
188
+ },
189
+ paramsType: {
190
+ SecurityGroupId: "String"
191
+ }
192
+ },
193
+ ModifySecurityGroup: {
194
+ url: "/",
195
+ method: "GET",
196
+ config: {
197
+ query: {
198
+ Version: "2018-12-25",
199
+ Action: "ModifySecurityGroup"
200
+ },
201
+ headers: {
202
+ "Content-Type": "application/json"
203
+ }
204
+ },
205
+ paramsType: {
206
+ SecurityGroupId: "String",
207
+ SecurityGroupName: "String",
208
+ SecurityGroupDescription: "String"
209
+ }
210
+ },
211
+ CloneSecurityGroup: {
212
+ url: "/",
213
+ method: "GET",
214
+ config: {
215
+ query: {
216
+ Version: "2018-12-25",
217
+ Action: "CloneSecurityGroup"
218
+ },
219
+ headers: {
220
+ "Content-Type": "application/json"
221
+ }
222
+ },
223
+ paramsType: {
224
+ SecurityGroupId: "String",
225
+ SecurityGroupName: "String",
226
+ SecurityGroupDescription: "String"
227
+ }
228
+ },
229
+ ModifySecurityGroupRule: {
230
+ url: "/",
231
+ method: "GET",
232
+ config: {
233
+ query: {
234
+ Version: "2018-12-25",
235
+ Action: "ModifySecurityGroupRule"
236
+ },
237
+ headers: {
238
+ "Content-Type": "application/json"
239
+ }
240
+ },
241
+ paramsType: {
242
+ SecurityGroupId: "String",
243
+ SecurityGroupRuleAction: "String",
244
+ SecurityGroupRule: "Filter"
245
+ }
246
+ },
247
+ SecurityGroupRelation: {
248
+ url: "/",
249
+ method: "GET",
250
+ config: {
251
+ query: {
252
+ Version: "2018-12-25",
253
+ Action: "SecurityGroupRelation"
254
+ },
255
+ headers: {
256
+ "Content-Type": "application/json"
257
+ }
258
+ },
259
+ paramsType: {
260
+ RelationAction: "String",
261
+ SecurityGroupId: "String",
262
+ DBInstanceIdentifier: "Filter"
263
+ }
264
+ },
265
+ ModifySecurityGroupRuleName: {
266
+ url: "/",
267
+ method: "GET",
268
+ config: {
269
+ query: {
270
+ Version: "2018-12-25",
271
+ Action: "ModifySecurityGroupRuleName"
272
+ },
273
+ headers: {
274
+ "Content-Type": "application/json"
275
+ }
276
+ },
277
+ paramsType: {
278
+ SecurityGroupRuleId: "String",
279
+ SecurityGroupRuleName: "String"
280
+ }
281
+ },
282
+ DescribeDBLogFiles: {
283
+ url: "/",
284
+ method: "GET",
285
+ config: {
286
+ query: {
287
+ Version: "2018-12-25",
288
+ Action: "DescribeDBLogFiles"
289
+ },
290
+ headers: {
291
+ "Content-Type": "application/json"
292
+ }
293
+ },
294
+ paramsType: {
295
+ DBInstanceIdentifier: "String",
296
+ DBLogType: "String",
297
+ StartTime: "String",
298
+ EndTime: "String",
299
+ MaxFileSize: "Int",
300
+ Marker: "Int",
301
+ MaxRecords: "Int"
302
+ }
303
+ },
304
+ CreateDBBackup: {
305
+ url: "/",
306
+ method: "GET",
307
+ config: {
308
+ query: {
309
+ Version: "2018-12-25",
310
+ Action: "CreateDBBackup"
311
+ },
312
+ headers: {
313
+ "Content-Type": "application/json"
314
+ }
315
+ },
316
+ paramsType: {
317
+ DBInstanceIdentifier: "String",
318
+ DBBackupName: "String",
319
+ Description: "String"
320
+ }
321
+ },
322
+ DeleteDBBackup: {
323
+ url: "/",
324
+ method: "GET",
325
+ config: {
326
+ query: {
327
+ Version: "2018-12-25",
328
+ Action: "DeleteDBBackup"
329
+ },
330
+ headers: {
331
+ "Content-Type": "application/json"
332
+ }
333
+ },
334
+ paramsType: {
335
+ DBBackupIdentifier: "String"
336
+ }
337
+ },
338
+ DescribeDBBackups: {
339
+ url: "/",
340
+ method: "GET",
341
+ config: {
342
+ query: {
343
+ Version: "2018-12-25",
344
+ Action: "DescribeDBBackups"
345
+ },
346
+ headers: {
347
+ "Content-Type": "application/json"
348
+ }
349
+ },
350
+ paramsType: {
351
+ DBInstanceIdentifier: "String",
352
+ BackupType: "String",
353
+ Keyword: "String",
354
+ Marker: "Int",
355
+ MaxRecords: "Int"
356
+ }
357
+ },
358
+ ModifyDBBackupPolicy: {
359
+ url: "/",
360
+ method: "GET",
361
+ config: {
362
+ query: {
363
+ Version: "2018-12-25",
364
+ Action: "ModifyDBBackupPolicy"
365
+ },
366
+ headers: {
367
+ "Content-Type": "application/json"
368
+ }
369
+ },
370
+ paramsType: {
371
+ DBInstanceIdentifier: "String",
372
+ PreferredBackupTime: "String"
373
+ }
374
+ },
375
+ OverrideDBInstance: {
376
+ url: "/",
377
+ method: "GET",
378
+ config: {
379
+ query: {
380
+ Version: "2018-12-25",
381
+ Action: "OverrideDBInstance"
382
+ },
383
+ headers: {
384
+ "Content-Type": "application/json"
385
+ }
386
+ },
387
+ paramsType: {
388
+ DBInstanceIdentifier: "String",
389
+ DBBackupIdentifier: "String"
390
+ }
391
+ },
392
+ CreateDBParameterGroup: {
393
+ url: "/",
394
+ method: "GET",
395
+ config: {
396
+ query: {
397
+ Version: "2018-12-25",
398
+ Action: "CreateDBParameterGroup"
399
+ },
400
+ headers: {
401
+ "Content-Type": "application/json"
402
+ }
403
+ },
404
+ paramsType: {
405
+ Engine: "String",
406
+ EngineVersion: "String",
407
+ DBParameterGroupName: "String",
408
+ Description: "String",
409
+ Parameters: "Filter"
410
+ }
411
+ },
412
+ ModifyDBParameterGroup: {
413
+ url: "/",
414
+ method: "GET",
415
+ config: {
416
+ query: {
417
+ Version: "2018-12-25",
418
+ Action: "ModifyDBParameterGroup"
419
+ },
420
+ headers: {
421
+ "Content-Type": "application/json"
422
+ }
423
+ },
424
+ paramsType: {
425
+ DBParameterGroupId: "String",
426
+ DBParameterGroupName: "String",
427
+ Description: "String",
428
+ Parameters: "Filter"
429
+ }
430
+ },
431
+ DeleteDBParameterGroup: {
432
+ url: "/",
433
+ method: "GET",
434
+ config: {
435
+ query: {
436
+ Version: "2018-12-25",
437
+ Action: "DeleteDBParameterGroup"
438
+ },
439
+ headers: {
440
+ "Content-Type": "application/json"
441
+ }
442
+ },
443
+ paramsType: {
444
+ DBParameterGroupId: "String"
445
+ }
446
+ },
447
+ ResetDBParameterGroup: {
448
+ url: "/",
449
+ method: "GET",
450
+ config: {
451
+ query: {
452
+ Version: "2018-12-25",
453
+ Action: "ResetDBParameterGroup"
454
+ },
455
+ headers: {
456
+ "Content-Type": "application/json"
457
+ }
458
+ },
459
+ paramsType: {
460
+ DBParameterGroupId: "String"
461
+ }
462
+ },
463
+ DescribeDBParameterGroup: {
464
+ url: "/",
465
+ method: "GET",
466
+ config: {
467
+ query: {
468
+ Version: "2018-12-25",
469
+ Action: "DescribeDBParameterGroup"
470
+ },
471
+ headers: {
472
+ "Content-Type": "application/json"
473
+ }
474
+ },
475
+ paramsType: {
476
+ DBParameterGroupId: "String",
477
+ Marker: "Int",
478
+ MaxRecords: "Int",
479
+ Source: "String"
480
+ }
481
+ },
482
+ DescribeEngineDefaultParameters: {
483
+ url: "/",
484
+ method: "GET",
485
+ config: {
486
+ query: {
487
+ Version: "2018-12-25",
488
+ Action: "DescribeEngineDefaultParameters"
489
+ },
490
+ headers: {
491
+ "Content-Type": "application/json"
492
+ }
493
+ },
494
+ paramsType: {
495
+ Engine: "String",
496
+ EngineVersion: "String"
497
+ }
498
+ },
499
+ DescribeDBInstanceParameters: {
500
+ url: "/",
501
+ method: "GET",
502
+ config: {
503
+ query: {
504
+ Version: "2018-12-25",
505
+ Action: "DescribeDBInstanceParameters"
506
+ },
507
+ headers: {
508
+ "Content-Type": "application/json"
509
+ }
510
+ },
511
+ paramsType: {
512
+ DBInstanceIdentifier: "String"
513
+ }
514
+ },
515
+ RebootDBInstance: {
516
+ url: "/",
517
+ method: "GET",
518
+ config: {
519
+ query: {
520
+ Version: "2018-12-25",
521
+ Action: "RebootDBInstance"
522
+ },
523
+ headers: {
524
+ "Content-Type": "application/json"
525
+ }
526
+ },
527
+ paramsType: {
528
+ DBInstanceIdentifier: "String"
529
+ }
530
+ },
531
+ DescribeDBEngineVersions: {
532
+ url: "/",
533
+ method: "GET",
534
+ config: {
535
+ query: {
536
+ Version: "2018-12-25",
537
+ Action: "DescribeDBEngineVersions"
538
+ },
539
+ headers: {
540
+ "Content-Type": "application/json"
541
+ }
542
+ },
543
+ paramsType: {}
544
+ },
545
+ AllocateDBInstanceEip: {
546
+ url: "/",
547
+ method: "GET",
548
+ config: {
549
+ query: {
550
+ Version: "2018-12-25",
551
+ Action: "AllocateDBInstanceEip"
552
+ },
553
+ headers: {
554
+ "Content-Type": "application/json"
555
+ }
556
+ },
557
+ paramsType: {
558
+ DBInstanceIdentifier: "String",
559
+ Port: "Int"
560
+ }
561
+ },
562
+ ReleaseDBInstanceEip: {
563
+ url: "/",
564
+ method: "GET",
565
+ config: {
566
+ query: {
567
+ Version: "2018-12-25",
568
+ Action: "ReleaseDBInstanceEip"
569
+ },
570
+ headers: {
571
+ "Content-Type": "application/json"
572
+ }
573
+ },
574
+ paramsType: {
575
+ DBInstanceIdentifier: "String"
576
+ }
577
+ },
578
+ ModifyDBInstanceSpec: {
579
+ url: "/",
580
+ method: "GET",
581
+ config: {
582
+ query: {
583
+ Version: "2018-12-25",
584
+ Action: "ModifyDBInstanceSpec"
585
+ },
586
+ headers: {
587
+ "Content-Type": "application/json"
588
+ }
589
+ },
590
+ paramsType: {
591
+ DBInstanceIdentifier: "String",
592
+ Mem: "Int",
593
+ Disk: "Int"
594
+ }
595
+ },
596
+ RestoreDBInstanceFromDBBackup: {
597
+ url: "/",
598
+ method: "GET",
599
+ config: {
600
+ query: {
601
+ Version: "2018-12-25",
602
+ Action: "RestoreDBInstanceFromDBBackup"
603
+ },
604
+ headers: {
605
+ "Content-Type": "application/json"
606
+ }
607
+ },
608
+ paramsType: {
609
+ DBBackupIdentifier: "String",
610
+ DBInstanceType: "String",
611
+ DBInstanceName: "String",
612
+ BillType: "String",
613
+ Duration: "Int",
614
+ DurationUnit: "String",
615
+ AvailabilityZone: "Filter",
616
+ VpcId: "String",
617
+ SubnetId: "String"
618
+ }
619
+ },
620
+ SwitchDBInstanceHA: {
621
+ url: "/",
622
+ method: "GET",
623
+ config: {
624
+ query: {
625
+ Version: "2018-12-25",
626
+ Action: "SwitchDBInstanceHA"
627
+ },
628
+ headers: {
629
+ "Content-Type": "application/json"
630
+ }
631
+ },
632
+ paramsType: {
633
+ DBInstanceIdentifier: "String"
634
+ }
635
+ },
636
+ CreateDBInstanceReadReplica: {
637
+ url: "/",
638
+ method: "GET",
639
+ config: {
640
+ query: {
641
+ Version: "2018-12-25",
642
+ Action: "CreateDBInstanceReadReplica"
643
+ },
644
+ headers: {
645
+ "Content-Type": "application/json"
646
+ }
647
+ },
648
+ paramsType: {
649
+ DBInstanceIdentifier: "String",
650
+ DBInstanceName: "String",
651
+ AttachedVipId: "String",
652
+ BillType: "String",
653
+ Duration: "String",
654
+ DurationUnit: "String",
655
+ AvailabilityZone: "Filter",
656
+ Vip: "String",
657
+ Mem: "Int",
658
+ Disk: "Int"
659
+ }
660
+ },
661
+ ModifyInstanceAccountInfo: {
662
+ url: "/",
663
+ method: "GET",
664
+ config: {
665
+ query: {
666
+ Version: "2018-12-25",
667
+ Action: "ModifyInstanceAccountInfo"
668
+ },
669
+ headers: {
670
+ "Content-Type": "application/json"
671
+ }
672
+ },
673
+ paramsType: {
674
+ DBInstanceIdentifier: "String",
675
+ AccountName: "String",
676
+ AccountPassword: "String",
677
+ AccountDescription: "String"
678
+ }
679
+ },
680
+ DescribeInstanceDatabases: {
681
+ url: "/",
682
+ method: "GET",
683
+ config: {
684
+ query: {
685
+ Version: "2018-12-25",
686
+ Action: "DescribeInstanceDatabases"
687
+ },
688
+ headers: {
689
+ "Content-Type": "application/json"
690
+ }
691
+ },
692
+ paramsType: {
693
+ DBInstanceIdentifier: "String"
694
+ }
695
+ },
696
+ DescribeDBInstanceExtensions: {
697
+ url: "/",
698
+ method: "GET",
699
+ config: {
700
+ query: {
701
+ Version: "2018-12-25",
702
+ Action: "DescribeDBInstanceExtensions"
703
+ },
704
+ headers: {
705
+ "Content-Type": "application/json"
706
+ }
707
+ },
708
+ paramsType: {
709
+ DBInstanceIdentifier: "String",
710
+ KeyWord: "String"
711
+ }
712
+ },
713
+ ModifyDBInstanceExtension: {
714
+ url: "/",
715
+ method: "GET",
716
+ config: {
717
+ query: {
718
+ Version: "2018-12-25",
719
+ Action: "ModifyDBInstanceExtension"
720
+ },
721
+ headers: {
722
+ "Content-Type": "application/json"
723
+ }
724
+ },
725
+ paramsType: {
726
+ DBInstanceIdentifier: "String",
727
+ InstanceDatabaseName: "String",
728
+ Operation: "String",
729
+ Extension: "Filter"
730
+ }
731
+ },
732
+ DescribeCollations: {
733
+ url: "/",
734
+ method: "GET",
735
+ config: {
736
+ query: {
737
+ Version: "2018-12-25",
738
+ Action: "DescribeCollations"
739
+ },
740
+ headers: {
741
+ "Content-Type": "application/json"
742
+ }
743
+ },
744
+ paramsType: {
745
+ DBInstanceIdentifier: "String"
746
+ }
747
+ },
748
+ ModifyInstanceDatabaseOwner: {
749
+ url: "/",
750
+ method: "GET",
751
+ config: {
752
+ query: {
753
+ Version: "2018-12-25",
754
+ Action: "ModifyInstanceDatabaseOwner"
755
+ },
756
+ headers: {
757
+ "Content-Type": "application/json"
758
+ }
759
+ },
760
+ paramsType: {
761
+ DBInstanceIdentifier: "String",
762
+ InstanceDatabaseName: "String",
763
+ Owner: "String"
764
+ }
765
+ },
766
+ DeleteInstanceDatabase: {
767
+ url: "/",
768
+ method: "GET",
769
+ config: {
770
+ query: {
771
+ Version: "2018-12-25",
772
+ Action: "DeleteInstanceDatabase"
773
+ },
774
+ headers: {
775
+ "Content-Type": "application/json"
776
+ }
777
+ },
778
+ paramsType: {
779
+ DBInstanceIdentifier: "String",
780
+ InstanceDatabaseName: "String"
781
+ }
782
+ },
783
+ CreateInstanceDatabase: {
784
+ url: "/",
785
+ method: "GET",
786
+ config: {
787
+ query: {
788
+ Version: "2018-12-25",
789
+ Action: "CreateInstanceDatabase"
790
+ },
791
+ headers: {
792
+ "Content-Type": "application/json"
793
+ }
794
+ },
795
+ paramsType: {
796
+ DBInstanceIdentifier: "String",
797
+ InstanceDatabaseName: "String",
798
+ InstanceDatabaseCollation: "String",
799
+ InstanceDatabaseCharacterSet: "String",
800
+ InstanceDatabaseCharacterSetType: "String",
801
+ Description: "String",
802
+ InstanceDatabaseOwner: "String"
803
+ }
804
+ },
805
+ DescribeInstanceAccounts: {
806
+ url: "/",
807
+ method: "GET",
808
+ config: {
809
+ query: {
810
+ Version: "2018-12-25",
811
+ Action: "DescribeInstanceAccounts"
812
+ },
813
+ headers: {
814
+ "Content-Type": "application/json"
815
+ }
816
+ },
817
+ paramsType: {
818
+ DBInstanceIdentifier: "String"
819
+ }
820
+ },
821
+ CreateInstanceAccount: {
822
+ url: "/",
823
+ method: "GET",
824
+ config: {
825
+ query: {
826
+ Version: "2018-12-25",
827
+ Action: "CreateInstanceAccount"
828
+ },
829
+ headers: {
830
+ "Content-Type": "application/json"
831
+ }
832
+ },
833
+ paramsType: {
834
+ DBInstanceIdentifier: "String",
835
+ AccountName: "String",
836
+ AccountPassword: "String",
837
+ AccountDescription: "String"
838
+ }
839
+ },
840
+ DeleteInstanceAccount: {
841
+ url: "/",
842
+ method: "GET",
843
+ config: {
844
+ query: {
845
+ Version: "2018-12-25",
846
+ Action: "DeleteInstanceAccount"
847
+ },
848
+ headers: {
849
+ "Content-Type": "application/json"
850
+ }
851
+ },
852
+ paramsType: {
853
+ DBInstanceIdentifier: "String",
854
+ AccountName: "String"
855
+ }
856
+ },
857
+ ModifyDBNetwork: {
858
+ url: "/",
859
+ method: "GET",
860
+ config: {
861
+ query: {
862
+ Version: "2018-12-25",
863
+ Action: "ModifyDBNetwork"
864
+ },
865
+ headers: {
866
+ "Content-Type": "application/json"
867
+ }
868
+ },
869
+ paramsType: {
870
+ DBInstanceIdentifier: "String",
871
+ SubnetId: "String",
872
+ VpcId: "String"
873
+ }
874
+ },
875
+ UpdateDBInstanceVersion: {
876
+ url: "/",
877
+ method: "GET",
878
+ config: {
879
+ query: {
880
+ Version: "2018-12-25",
881
+ Action: "UpdateDBInstanceVersion"
882
+ },
883
+ headers: {
884
+ "Content-Type": "application/json"
885
+ }
886
+ },
887
+ paramsType: {
888
+ DBInstanceIdentifier: "String",
889
+ Engine: "String",
890
+ EngineVersion: "String"
891
+ }
892
+ },
893
+ ModifyDBInstanceAvailabilityZone: {
894
+ url: "/",
895
+ method: "GET",
896
+ config: {
897
+ query: {
898
+ Version: "2018-12-25",
899
+ Action: "ModifyDBInstanceAvailabilityZone"
900
+ },
901
+ headers: {
902
+ "Content-Type": "application/json"
903
+ }
904
+ },
905
+ paramsType: {
906
+ DBInstanceIdentifier: "String",
907
+ "AvailabilityZone.1": "String",
908
+ "AvailabilityZone.2": "String"
909
+ }
910
+ },
911
+ UpdateDBInstanceOrder: {
912
+ url: "/",
913
+ method: "GET",
914
+ config: {
915
+ query: {
916
+ Version: "2018-12-25",
917
+ Action: "UpdateDBInstanceOrder"
918
+ },
919
+ headers: {
920
+ "Content-Type": "application/json"
921
+ }
922
+ },
923
+ paramsType: {
924
+ DBInstanceIdentifier: "String",
925
+ UpdateUse: "String",
926
+ Duration: "Int",
927
+ BillType: "String"
928
+ }
929
+ },
930
+ UpdateResourceProtection: {
931
+ url: "/",
932
+ method: "GET",
933
+ config: {
934
+ query: {
935
+ Version: "2018-12-25",
936
+ Action: "UpdateResourceProtection"
937
+ },
938
+ headers: {
939
+ "Content-Type": "application/x-www-form-urlencoded"
940
+ }
941
+ },
942
+ paramsType: {
943
+ DBInstanceIdentifier: "String",
944
+ ProtectionSwitch: "String",
945
+ ProtectionReason: "String"
946
+ }
947
+ }
948
+ });
949
+ }
950
+ };