ksyun-sdk-node 1.5.0 → 1.5.1

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