ksyun-sdk-node 1.0.4 → 1.2.4

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 (102) hide show
  1. package/dist/base/BaseClient.js +90 -55
  2. package/dist/index.js +9 -12
  3. package/dist/lib/fetch.js +4 -5
  4. package/dist/lib/sign.js +31 -33
  5. package/dist/lib/signautreV4.js +167 -0
  6. package/dist/service/Actiontrail/v20190401/index.js +4 -7
  7. package/dist/service/Bill/v20180601/index.js +11 -50
  8. package/dist/service/Bill/v20220601/index.js +64 -0
  9. package/dist/service/Bill_union/v20200101/index.js +48 -10
  10. package/dist/service/Bill_union/v20221222/index.js +142 -0
  11. package/dist/service/Bws/v20160304/index.js +157 -0
  12. package/dist/service/Cdn/v20160901/index.js +42 -0
  13. package/dist/service/Cdn/v20200630/index.js +410 -0
  14. package/dist/service/Cdn/v20200901/index.js +162 -0
  15. package/dist/service/Cen/v20160304/index.js +460 -0
  16. package/dist/service/Clickhouse/v20210101/index.js +546 -0
  17. package/dist/service/Ebs/v20160304/index.js +3 -6
  18. package/dist/service/Eip/v20160304/index.js +154 -0
  19. package/dist/service/Epc/v20151101/index.js +1020 -0
  20. package/dist/service/Iam/v20151101/index.js +61 -7
  21. package/dist/service/Kad/v20161122/index.js +3 -6
  22. package/dist/service/Kce/v20180314/index.js +320 -0
  23. package/dist/service/Kce/v20190806/index.js +482 -0
  24. package/dist/service/Kce/v20201231/index.js +63 -0
  25. package/dist/service/Kcf/v20211215/index.js +203 -0
  26. package/dist/service/Kcm/v20160304/index.js +120 -0
  27. package/dist/service/Kcrs/v20211109/index.js +851 -0
  28. package/dist/service/Kcs/v20160701/index.js +1106 -0
  29. package/dist/service/Kcs/v20170401/index.js +81 -0
  30. package/dist/service/Kead/v20200101/index.js +3 -6
  31. package/dist/service/Kec/v20160304/index.js +130 -61
  32. package/dist/service/Ket/v20170101/index.js +141 -0
  33. package/dist/service/Kkms/v20160304/index.js +167 -0
  34. package/dist/service/Klog/v20200731/index.js +804 -0
  35. package/dist/service/Kls/v20170101/index.js +194 -0
  36. package/dist/service/Krds/v20160701/index.js +1302 -0
  37. package/dist/service/Krds/v20200825/index.js +174 -0
  38. package/dist/service/Memcached/v20180627/index.js +249 -0
  39. package/dist/service/Mongodb/v20170101/index.js +683 -0
  40. package/dist/service/Monitor/v20100525/index.js +70 -0
  41. package/dist/service/Monitor/v20181114/index.js +49 -0
  42. package/dist/service/Monitor/v20210101/index.js +179 -0
  43. package/dist/service/Monitor/v20220101/index.js +68 -0
  44. package/dist/service/Rabbitmq/v20191017/index.js +242 -0
  45. package/dist/service/Resourcemanager/v20210320/index.js +3 -6
  46. package/dist/service/Sks/v20151101/index.js +112 -0
  47. package/dist/service/Slb/v20160304/index.js +1482 -0
  48. package/dist/service/Slb/v20171210/index.js +50 -0
  49. package/dist/service/Sts/v20151101/index.js +4 -7
  50. package/dist/service/Tagv2/v20200901/index.js +174 -0
  51. package/dist/service/Tidb/v20210520/index.js +363 -0
  52. package/dist/service/Trade/v20200114/index.js +3 -6
  53. package/dist/service/Trade/v20200831/index.js +3 -6
  54. package/dist/service/Vpc/v20160304/index.js +1677 -0
  55. package/dist/service/Waf/v20200707/index.js +248 -0
  56. package/package.json +1 -1
  57. package/src/base/BaseClient.js +85 -36
  58. package/src/lib/signautreV4.js +166 -0
  59. package/src/service/Actiontrail/v20190401/index.js +1 -1
  60. package/src/service/Bill/v20180601/index.js +6 -46
  61. package/src/service/Bill/v20220601/index.js +56 -0
  62. package/src/service/Bill_union/v20200101/index.js +37 -0
  63. package/src/service/Bill_union/v20221222/index.js +134 -0
  64. package/src/service/Bws/v20160304/index.js +149 -0
  65. package/src/service/{Bill_union/v20211209 → Cdn/v20160901}/index.js +6 -6
  66. package/src/service/Cdn/v20200630/index.js +402 -0
  67. package/src/service/Cdn/v20200901/index.js +154 -0
  68. package/src/service/Cen/v20160304/index.js +452 -0
  69. package/src/service/Clickhouse/v20210101/index.js +538 -0
  70. package/src/service/Ebs/v20160304/index.js +1 -4
  71. package/src/service/Eip/v20160304/index.js +147 -0
  72. package/src/service/Epc/v20151101/index.js +1012 -0
  73. package/src/service/Iam/v20151101/index.js +57 -0
  74. package/src/service/Kce/v20180314/index.js +312 -0
  75. package/src/service/Kce/v20190806/index.js +474 -0
  76. package/src/service/Kce/v20201231/index.js +55 -0
  77. package/src/service/Kcf/v20211215/index.js +197 -0
  78. package/src/service/Kcm/v20160304/index.js +112 -0
  79. package/src/service/Kcrs/v20211109/index.js +857 -0
  80. package/src/service/Kcs/v20160701/index.js +1101 -0
  81. package/src/service/Kcs/v20170401/index.js +73 -0
  82. package/src/service/Kec/v20160304/index.js +106 -40
  83. package/src/service/Ket/v20170101/index.js +133 -0
  84. package/src/service/Kkms/v20160304/index.js +159 -0
  85. package/src/service/Klog/v20200731/index.js +810 -0
  86. package/src/service/Kls/v20170101/index.js +186 -0
  87. package/src/service/Krds/v20160701/index.js +1296 -0
  88. package/src/service/Krds/v20200825/index.js +166 -0
  89. package/src/service/Memcached/v20180627/index.js +248 -0
  90. package/src/service/Mongodb/v20170101/index.js +675 -0
  91. package/src/service/Monitor/v20100525/index.js +62 -0
  92. package/src/service/Monitor/v20181114/index.js +41 -0
  93. package/src/service/Monitor/v20210101/index.js +172 -0
  94. package/src/service/Monitor/v20220101/index.js +60 -0
  95. package/src/service/Rabbitmq/v20191017/index.js +234 -0
  96. package/src/service/Sks/v20151101/index.js +105 -0
  97. package/src/service/Slb/v20160304/index.js +1474 -0
  98. package/src/service/Sts/v20151101/index.js +1 -1
  99. package/src/service/Tagv2/v20200901/index.js +166 -0
  100. package/src/service/Tidb/v20210520/index.js +355 -0
  101. package/src/service/Vpc/v20160304/index.js +1670 -0
  102. package/src/service/Waf/v20200707/index.js +240 -0
@@ -0,0 +1,1020 @@
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': 'epc.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': 'epc'
22
+ }
23
+ }
24
+ });
25
+ _defineProperty(this, "_apiList", {
26
+ 'CreateEpc': {
27
+ 'url': '/',
28
+ 'method': 'GET',
29
+ 'config': {
30
+ 'query': {
31
+ 'Version': '2015-11-01',
32
+ 'Action': 'CreateEpc'
33
+ },
34
+ 'headers': {
35
+ 'Content-Type': 'application/x-www-form-urlencoded'
36
+ }
37
+ },
38
+ 'paramsType': {
39
+ 'HostType': 'String',
40
+ 'AvailabilityZone': 'String',
41
+ 'Raid': 'String',
42
+ 'RaidId': 'String',
43
+ 'ImageId': 'String',
44
+ 'NetworkInterfaceMode': 'String',
45
+ 'SubnetId': 'String',
46
+ 'PrivateIpAddress': 'String',
47
+ 'keyId': 'String',
48
+ 'SecurityGroupId': 'Filter',
49
+ 'DNS1': 'String',
50
+ 'DNS2': 'String',
51
+ 'HostName': 'String',
52
+ 'ProjectId': 'String',
53
+ 'ChargeType': 'String',
54
+ 'Sn': 'String',
55
+ 'PurchaseTime': 'Int',
56
+ 'Password': 'String',
57
+ 'SecurityAgent': 'String',
58
+ 'CloudMonitorAgent': 'String',
59
+ 'ExtensionSubnetId': 'String',
60
+ 'ExtensionPrivateIpAddress': 'String',
61
+ 'ExtensionDNS1': 'String',
62
+ 'ExtensionDNS2': 'String',
63
+ 'Description': 'String',
64
+ 'AddressBandWidth': 'String',
65
+ 'LineId': 'String',
66
+ 'BandWidthShareId': 'String',
67
+ 'AddressChargeType': 'String',
68
+ 'AddressPurchaseTime': 'String',
69
+ 'AddressProjectId': 'String',
70
+ 'SystemFileType': 'String',
71
+ 'DataFileType': 'String',
72
+ 'DataDiskCatalogue': 'String',
73
+ 'DataDiskCatalogueSuffix': 'String',
74
+ 'HyperThreading': 'String',
75
+ 'NvmeDataFileType': 'String',
76
+ 'NvmeDataDiskCatalogue': 'String',
77
+ 'NvmeDataDiskCatalogueSuffix': 'String',
78
+ 'bondAttribute': 'String',
79
+ 'ContainerAgent': 'String',
80
+ 'KesAgent': 'String',
81
+ 'KmrAgent': 'String',
82
+ 'ComputerName': 'String',
83
+ 'OverclockingAttribute': 'String',
84
+ 'GpuImageDriverId': 'String',
85
+ 'SystemVolumeType': 'String',
86
+ 'SystemVolumeSize': 'String',
87
+ 'RoceNetwork': 'String'
88
+ }
89
+ },
90
+ 'StartEpc': {
91
+ 'url': '/',
92
+ 'method': 'GET',
93
+ 'config': {
94
+ 'query': {
95
+ 'Version': '2015-11-01',
96
+ 'Action': 'StartEpc'
97
+ },
98
+ 'headers': {
99
+ 'Content-Type': 'application/json'
100
+ }
101
+ },
102
+ 'paramsType': {
103
+ 'HostId': 'String'
104
+ }
105
+ },
106
+ 'RebootEpc': {
107
+ 'url': '/',
108
+ 'method': 'GET',
109
+ 'config': {
110
+ 'query': {
111
+ 'Version': '2015-11-01',
112
+ 'Action': 'RebootEpc'
113
+ },
114
+ 'headers': {
115
+ 'Content-Type': 'application/json'
116
+ }
117
+ },
118
+ 'paramsType': {
119
+ 'HostId': 'String'
120
+ }
121
+ },
122
+ 'DeleteEpc': {
123
+ 'url': '/',
124
+ 'method': 'GET',
125
+ 'config': {
126
+ 'query': {
127
+ 'Version': '2015-11-01',
128
+ 'Action': 'DeleteEpc'
129
+ },
130
+ 'headers': {
131
+ 'Content-Type': 'application/json'
132
+ }
133
+ },
134
+ 'paramsType': {
135
+ 'HostId': 'String'
136
+ }
137
+ },
138
+ 'ReinstallEpc': {
139
+ 'url': '/',
140
+ 'method': 'GET',
141
+ 'config': {
142
+ 'query': {
143
+ 'Version': '2015-11-01',
144
+ 'Action': 'ReinstallEpc'
145
+ },
146
+ 'headers': {
147
+ 'Content-Type': 'application/x-www-form-urlencoded'
148
+ }
149
+ },
150
+ 'paramsType': {
151
+ 'HostId': 'String',
152
+ 'ImageId': 'String',
153
+ 'keyId': 'String',
154
+ 'Password': 'String',
155
+ 'NetworkInterfaceMode': 'String',
156
+ 'SecurityAgent': 'String',
157
+ 'CloudMonitorAgent': 'String',
158
+ 'Raid': 'String',
159
+ 'RaidId': 'String',
160
+ 'HostName': 'String',
161
+ 'SystemFileType': 'String',
162
+ 'DataFileType': 'String',
163
+ 'DataDiskCatalogue': 'String',
164
+ 'DataDiskCatalogueSuffix': 'String',
165
+ 'HyperThreading': 'String',
166
+ 'NvmeDataFileType': 'String',
167
+ 'NvmeDataDiskCatalogue': 'String',
168
+ 'NvmeDataDiskCatalogueSuffix': 'String',
169
+ 'bondAttribute': 'String',
170
+ 'KesAgent': 'String',
171
+ 'KmrAgent': 'String',
172
+ 'ComputerName': 'String',
173
+ 'OverclockingAttribute': 'String',
174
+ 'DelayStart': 'Int',
175
+ 'AvailabilityZone': 'String',
176
+ 'GpuImageDriverId': 'String'
177
+ }
178
+ },
179
+ 'ModifySecurityGroup': {
180
+ 'url': '/',
181
+ 'method': 'GET',
182
+ 'config': {
183
+ 'query': {
184
+ 'Version': '2015-11-01',
185
+ 'Action': 'ModifySecurityGroup'
186
+ },
187
+ 'headers': {
188
+ 'Content-Type': 'application/json'
189
+ }
190
+ },
191
+ 'paramsType': {
192
+ 'HostId': 'String',
193
+ 'NetworkInterfaceId': 'String',
194
+ 'SecurityGroupId': 'Filter'
195
+ }
196
+ },
197
+ 'CreateKey': {
198
+ 'url': '/',
199
+ 'method': 'GET',
200
+ 'config': {
201
+ 'query': {
202
+ 'Version': '2015-11-01',
203
+ 'Action': 'CreateKey'
204
+ },
205
+ 'headers': {
206
+ 'Content-Type': 'application/x-www-form-urlencoded'
207
+ }
208
+ },
209
+ 'paramsType': {
210
+ 'KeyName': 'String',
211
+ 'Description': 'String'
212
+ }
213
+ },
214
+ 'DescribeEpcs': {
215
+ 'url': '/',
216
+ 'method': 'GET',
217
+ 'config': {
218
+ 'query': {
219
+ 'Version': '2015-11-01',
220
+ 'Action': 'DescribeEpcs'
221
+ },
222
+ 'headers': {
223
+ 'Content-Type': 'application/x-www-form-urlencoded'
224
+ }
225
+ },
226
+ 'paramsType': {
227
+ 'ProjectId': 'Filter',
228
+ 'HostId': 'Filter',
229
+ 'Filter': 'Filter',
230
+ 'MaxResults': 'Int',
231
+ 'NextToken': 'String'
232
+ }
233
+ },
234
+ 'GetDynamicCode': {
235
+ 'url': '/',
236
+ 'method': 'GET',
237
+ 'config': {
238
+ 'query': {
239
+ 'Version': '2015-11-01',
240
+ 'Action': 'GetDynamicCode'
241
+ },
242
+ 'headers': {
243
+ 'Content-Type': 'application/x-www-form-urlencoded'
244
+ }
245
+ },
246
+ 'paramsType': {
247
+ 'RemoteManagementId': 'String'
248
+ }
249
+ },
250
+ 'DescribeVpns': {
251
+ 'url': '/',
252
+ 'method': 'GET',
253
+ 'config': {
254
+ 'query': {
255
+ 'Version': '2015-11-01',
256
+ 'Action': 'DescribeVpns'
257
+ },
258
+ 'headers': {
259
+ 'Content-Type': 'application/x-www-form-urlencoded'
260
+ }
261
+ },
262
+ 'paramsType': {
263
+ 'DynamicCode': 'String',
264
+ 'Pin': 'String',
265
+ 'RemoteManagementId': 'String'
266
+ }
267
+ },
268
+ 'CreateImage': {
269
+ 'url': '/',
270
+ 'method': 'GET',
271
+ 'config': {
272
+ 'query': {
273
+ 'Version': '2015-11-01',
274
+ 'Action': 'CreateImage'
275
+ },
276
+ 'headers': {
277
+ 'Content-Type': 'application/x-www-form-urlencoded'
278
+ }
279
+ },
280
+ 'paramsType': {
281
+ 'HostId': 'String',
282
+ 'ImageName': 'String',
283
+ 'ImageMode': 'String',
284
+ 'ImageInitialization': 'String'
285
+ }
286
+ },
287
+ 'ModifyImage': {
288
+ 'url': '/',
289
+ 'method': 'GET',
290
+ 'config': {
291
+ 'query': {
292
+ 'Version': '2015-11-01',
293
+ 'Action': 'ModifyImage'
294
+ },
295
+ 'headers': {
296
+ 'Content-Type': 'application/x-www-form-urlencoded'
297
+ }
298
+ },
299
+ 'paramsType': {
300
+ 'ImageName': 'String',
301
+ 'ImageId': 'String'
302
+ }
303
+ },
304
+ 'DeleteImage': {
305
+ 'url': '/',
306
+ 'method': 'GET',
307
+ 'config': {
308
+ 'query': {
309
+ 'Version': '2015-11-01',
310
+ 'Action': 'DeleteImage'
311
+ },
312
+ 'headers': {
313
+ 'Content-Type': 'application/x-www-form-urlencoded'
314
+ }
315
+ },
316
+ 'paramsType': {
317
+ 'ImageId': 'String'
318
+ }
319
+ },
320
+ 'DescribeImages': {
321
+ 'url': '/',
322
+ 'method': 'GET',
323
+ 'config': {
324
+ 'query': {
325
+ 'Version': '2015-11-01',
326
+ 'Action': 'DescribeImages'
327
+ },
328
+ 'headers': {
329
+ 'Content-Type': 'application/x-www-form-urlencoded'
330
+ }
331
+ },
332
+ 'paramsType': {
333
+ 'MaxResults': 'Int',
334
+ 'NextToken': 'String'
335
+ }
336
+ },
337
+ 'ModifyDns': {
338
+ 'url': '/',
339
+ 'method': 'GET',
340
+ 'config': {
341
+ 'query': {
342
+ 'Version': '2015-11-01',
343
+ 'Action': 'ModifyDns'
344
+ },
345
+ 'headers': {
346
+ 'Content-Type': 'application/x-www-form-urlencoded'
347
+ }
348
+ },
349
+ 'paramsType': {
350
+ 'NetworkInterfaceId': 'String',
351
+ 'HostId': 'String',
352
+ 'DNS1': 'String',
353
+ 'DNS2': 'String'
354
+ }
355
+ },
356
+ 'ModifyNetworkInterfaceAttribute': {
357
+ 'url': '/',
358
+ 'method': 'GET',
359
+ 'config': {
360
+ 'query': {
361
+ 'Version': '2015-11-01',
362
+ 'Action': 'ModifyNetworkInterfaceAttribute'
363
+ },
364
+ 'headers': {
365
+ 'Content-Type': 'application/x-www-form-urlencoded'
366
+ }
367
+ },
368
+ 'paramsType': {
369
+ 'NetworkInterfaceId': 'String',
370
+ 'HostId': 'String',
371
+ 'SubnetId': 'String',
372
+ 'IpAddress': 'String',
373
+ 'SecurityGroupIdList': 'Array'
374
+ }
375
+ },
376
+ 'DescribePhysicalMonitor': {
377
+ 'url': '/',
378
+ 'method': 'GET',
379
+ 'config': {
380
+ 'query': {
381
+ 'Version': '2015-11-01',
382
+ 'Action': 'DescribePhysicalMonitor'
383
+ },
384
+ 'headers': {
385
+ 'Content-Type': 'application/x-www-form-urlencoded'
386
+ }
387
+ },
388
+ 'paramsType': {
389
+ 'HostId': 'String'
390
+ }
391
+ },
392
+ 'DescribeEpcManagements': {
393
+ 'url': '/',
394
+ 'method': 'GET',
395
+ 'config': {
396
+ 'query': {
397
+ 'Version': '2015-11-01',
398
+ 'Action': 'DescribeEpcManagements'
399
+ },
400
+ 'headers': {
401
+ 'Content-Type': 'application/x-www-form-urlencoded'
402
+ }
403
+ },
404
+ 'paramsType': {
405
+ 'MaxResults': 'Int',
406
+ 'NextToken': 'String',
407
+ 'DynamicCode': 'String',
408
+ 'Pin': 'String',
409
+ 'EpcManagementId': 'Filter',
410
+ 'RemoteManagementId': 'String'
411
+ }
412
+ },
413
+ 'DescribeRemoteManagements': {
414
+ 'url': '/',
415
+ 'method': 'GET',
416
+ 'config': {
417
+ 'query': {
418
+ 'Version': '2015-11-01',
419
+ 'Action': 'DescribeRemoteManagements'
420
+ },
421
+ 'headers': {
422
+ 'Content-Type': 'application/x-www-form-urlencoded'
423
+ }
424
+ },
425
+ 'paramsType': {
426
+ 'RemoteManagementId': 'Filter'
427
+ }
428
+ },
429
+ 'StopEpc': {
430
+ 'url': '/',
431
+ 'method': 'GET',
432
+ 'config': {
433
+ 'query': {
434
+ 'Version': '2015-11-01',
435
+ 'Action': 'StopEpc'
436
+ },
437
+ 'headers': {
438
+ 'Content-Type': 'application/x-www-form-urlencoded'
439
+ }
440
+ },
441
+ 'paramsType': {
442
+ 'HostId': 'String'
443
+ }
444
+ },
445
+ 'ModifyEpc': {
446
+ 'url': '/',
447
+ 'method': 'GET',
448
+ 'config': {
449
+ 'query': {
450
+ 'Version': '2015-11-01',
451
+ 'Action': 'ModifyEpc'
452
+ },
453
+ 'headers': {
454
+ 'Content-Type': 'application/x-www-form-urlencoded'
455
+ }
456
+ },
457
+ 'paramsType': {
458
+ 'HostId': 'String',
459
+ 'HostName': 'String',
460
+ 'Description': 'String'
461
+ }
462
+ },
463
+ 'ModifyRemoteManagement': {
464
+ 'url': '/',
465
+ 'method': 'GET',
466
+ 'config': {
467
+ 'query': {
468
+ 'Version': '2015-11-01',
469
+ 'Action': 'ModifyRemoteManagement'
470
+ },
471
+ 'headers': {
472
+ 'Content-Type': 'application/x-www-form-urlencoded'
473
+ }
474
+ },
475
+ 'paramsType': {
476
+ 'RemoteManagementId': 'String',
477
+ 'DynamicCode': 'String',
478
+ 'Pin': 'String',
479
+ 'NewPhoneNumber': 'String',
480
+ 'NewPin': 'String',
481
+ 'Name': 'String',
482
+ 'VersionId': 'Int'
483
+ }
484
+ },
485
+ 'CreateRemoteManagement': {
486
+ 'url': '/',
487
+ 'method': 'GET',
488
+ 'config': {
489
+ 'query': {
490
+ 'Version': '2015-11-01',
491
+ 'Action': 'CreateRemoteManagement'
492
+ },
493
+ 'headers': {
494
+ 'Content-Type': 'application/x-www-form-urlencoded'
495
+ }
496
+ },
497
+ 'paramsType': {
498
+ 'DynamicCode': 'String',
499
+ 'Pin': 'String',
500
+ 'PhoneNumber': 'String',
501
+ 'Name': 'String',
502
+ 'VersionId': 'Int'
503
+ }
504
+ },
505
+ 'ReinstallCustomerEpc': {
506
+ 'url': '/',
507
+ 'method': 'GET',
508
+ 'config': {
509
+ 'query': {
510
+ 'Version': '2015-11-01',
511
+ 'Action': 'ReinstallCustomerEpc'
512
+ },
513
+ 'headers': {
514
+ 'Content-Type': 'application/x-www-form-urlencoded'
515
+ }
516
+ },
517
+ 'paramsType': {
518
+ 'HostId': 'String',
519
+ 'ServerIp': 'String',
520
+ 'Path': 'String'
521
+ }
522
+ },
523
+ 'DeleteRemoteManagement': {
524
+ 'url': '/',
525
+ 'method': 'GET',
526
+ 'config': {
527
+ 'query': {
528
+ 'Version': '2015-11-01',
529
+ 'Action': 'DeleteRemoteManagement'
530
+ },
531
+ 'headers': {
532
+ 'Content-Type': 'application/x-www-form-urlencoded'
533
+ }
534
+ },
535
+ 'paramsType': {
536
+ 'RemoteManagementId': 'String'
537
+ }
538
+ },
539
+ 'ResetPassword': {
540
+ 'url': '/',
541
+ 'method': 'GET',
542
+ 'config': {
543
+ 'query': {
544
+ 'Version': '2015-11-01',
545
+ 'Action': 'ResetPassword'
546
+ },
547
+ 'headers': {
548
+ 'Content-Type': 'application/x-www-form-urlencoded'
549
+ }
550
+ },
551
+ 'paramsType': {
552
+ 'HostId': 'String',
553
+ 'Password': 'String'
554
+ }
555
+ },
556
+ 'ModifyHyperThreading': {
557
+ 'url': '/',
558
+ 'method': 'GET',
559
+ 'config': {
560
+ 'query': {
561
+ 'Version': '2015-11-01',
562
+ 'Action': 'ModifyHyperThreading'
563
+ },
564
+ 'headers': {
565
+ 'Content-Type': 'application/x-www-form-urlencoded'
566
+ }
567
+ },
568
+ 'paramsType': {
569
+ 'HostId': 'String',
570
+ 'HyperThreadingStatus': 'String'
571
+ }
572
+ },
573
+ 'AssociateCluster': {
574
+ 'url': '/',
575
+ 'method': 'GET',
576
+ 'config': {
577
+ 'query': {
578
+ 'Version': '2015-11-01',
579
+ 'Action': 'AssociateCluster'
580
+ },
581
+ 'headers': {
582
+ 'Content-Type': 'application/x-www-form-urlencoded'
583
+ }
584
+ },
585
+ 'paramsType': {
586
+ 'HostId': 'String',
587
+ 'ClusterId': 'String'
588
+ }
589
+ },
590
+ 'DisassociateCluster': {
591
+ 'url': '/',
592
+ 'method': 'GET',
593
+ 'config': {
594
+ 'query': {
595
+ 'Version': '2015-11-01',
596
+ 'Action': 'DisassociateCluster'
597
+ },
598
+ 'headers': {
599
+ 'Content-Type': 'application/x-www-form-urlencoded'
600
+ }
601
+ },
602
+ 'paramsType': {
603
+ 'HostId': 'String'
604
+ }
605
+ },
606
+ 'DescribeInspections': {
607
+ 'url': '/',
608
+ 'method': 'GET',
609
+ 'config': {
610
+ 'query': {
611
+ 'Version': '2015-11-01',
612
+ 'Action': 'DescribeInspections'
613
+ },
614
+ 'headers': {
615
+ 'Content-Type': 'application/x-www-form-urlencoded'
616
+ }
617
+ },
618
+ 'paramsType': {
619
+ 'MaxResults': 'Int',
620
+ 'NextToken': 'String',
621
+ 'Filter': 'Filter'
622
+ }
623
+ },
624
+ 'DescribeEpcStocks': {
625
+ 'url': '/',
626
+ 'method': 'GET',
627
+ 'config': {
628
+ 'query': {
629
+ 'Version': '2015-11-01',
630
+ 'Action': 'DescribeEpcStocks'
631
+ },
632
+ 'headers': {
633
+ 'Content-Type': 'application/x-www-form-urlencoded'
634
+ }
635
+ },
636
+ 'paramsType': {
637
+ 'Filter': 'Filter'
638
+ }
639
+ },
640
+ 'DescribeEpcDeviceAttributes': {
641
+ 'url': '/',
642
+ 'method': 'GET',
643
+ 'config': {
644
+ 'query': {
645
+ 'Version': '2015-11-01',
646
+ 'Action': 'DescribeEpcDeviceAttributes'
647
+ },
648
+ 'headers': {
649
+ 'Content-Type': 'application/x-www-form-urlencoded'
650
+ }
651
+ },
652
+ 'paramsType': {
653
+ 'Filter': 'Filter',
654
+ 'DeviceAttributeId': 'Filter',
655
+ 'MaxResults': 'Int',
656
+ 'NextToken': 'String'
657
+ }
658
+ },
659
+ 'DescribeProcesses': {
660
+ 'url': '/',
661
+ 'method': 'GET',
662
+ 'config': {
663
+ 'query': {
664
+ 'Version': '2015-11-01',
665
+ 'Action': 'DescribeProcesses'
666
+ },
667
+ 'headers': {
668
+ 'Content-Type': 'application/x-www-form-urlencoded'
669
+ }
670
+ },
671
+ 'paramsType': {
672
+ 'OperationProcessId': 'Filter',
673
+ 'Filter': 'Filter',
674
+ 'MaxResults': 'Int',
675
+ 'NextToken': 'String'
676
+ }
677
+ },
678
+ 'CreateProcess': {
679
+ 'url': '/',
680
+ 'method': 'GET',
681
+ 'config': {
682
+ 'query': {
683
+ 'Version': '2015-11-01',
684
+ 'Action': 'CreateProcess'
685
+ },
686
+ 'headers': {
687
+ 'Content-Type': 'application/x-www-form-urlencoded'
688
+ }
689
+ },
690
+ 'paramsType': {
691
+ 'ProcessId': 'String',
692
+ 'InstanceId': 'String',
693
+ 'Sn': 'String',
694
+ 'AvailabilityZone': 'String',
695
+ 'CreateTime': 'String',
696
+ 'Attribute': 'String',
697
+ 'Content': 'String',
698
+ 'MachineCount': 'Int',
699
+ 'Title': 'String',
700
+ 'Type': 'String',
701
+ 'Confirm': 'String',
702
+ 'ProcessSource': 'Int'
703
+ }
704
+ },
705
+ 'DeleteProcess': {
706
+ 'url': '/',
707
+ 'method': 'GET',
708
+ 'config': {
709
+ 'query': {
710
+ 'Version': '2015-11-01',
711
+ 'Action': 'DeleteProcess'
712
+ },
713
+ 'headers': {
714
+ 'Content-Type': 'application/x-www-form-urlencoded'
715
+ }
716
+ },
717
+ 'paramsType': {
718
+ 'OperationProcessId': 'String'
719
+ }
720
+ },
721
+ 'ReplyProcess': {
722
+ 'url': '/',
723
+ 'method': 'GET',
724
+ 'config': {
725
+ 'query': {
726
+ 'Version': '2015-11-01',
727
+ 'Action': 'ReplyProcess'
728
+ },
729
+ 'headers': {
730
+ 'Content-Type': 'application/x-www-form-urlencoded'
731
+ }
732
+ },
733
+ 'paramsType': {
734
+ 'OperationProcessId': 'String',
735
+ 'Remarks': 'String'
736
+ }
737
+ },
738
+ 'DescribeEpcTrashes': {
739
+ 'url': '/',
740
+ 'method': 'GET',
741
+ 'config': {
742
+ 'query': {
743
+ 'Version': '2015-11-01',
744
+ 'Action': 'DescribeEpcTrashes'
745
+ },
746
+ 'headers': {
747
+ 'Content-Type': 'application/x-www-form-urlencoded'
748
+ }
749
+ },
750
+ 'paramsType': {
751
+ 'MaxResults': 'Int',
752
+ 'NextToken': 'String'
753
+ }
754
+ },
755
+ 'ReturnEpc': {
756
+ 'url': '/',
757
+ 'method': 'GET',
758
+ 'config': {
759
+ 'query': {
760
+ 'Version': '2015-11-01',
761
+ 'Action': 'ReturnEpc'
762
+ },
763
+ 'headers': {
764
+ 'Content-Type': 'application/x-www-form-urlencoded'
765
+ }
766
+ },
767
+ 'paramsType': {
768
+ 'HostId': 'String'
769
+ }
770
+ },
771
+ 'CreateResourceRequirement': {
772
+ 'url': '/',
773
+ 'method': 'GET',
774
+ 'config': {
775
+ 'query': {
776
+ 'Version': '2015-11-01',
777
+ 'Action': 'CreateResourceRequirement'
778
+ },
779
+ 'headers': {
780
+ 'Content-Type': 'application/x-www-form-urlencoded'
781
+ }
782
+ },
783
+ 'paramsType': {
784
+ 'AvailabilityZone': 'String',
785
+ 'RequirementCount': 'Int',
786
+ 'ProjectName': 'String',
787
+ 'UsageDate': 'String',
788
+ 'Description': 'String',
789
+ 'HostType': 'String'
790
+ }
791
+ },
792
+ 'AttachVolume': {
793
+ 'url': '/',
794
+ 'method': 'GET',
795
+ 'config': {
796
+ 'query': {
797
+ 'Version': '2015-11-01',
798
+ 'Action': 'AttachVolume'
799
+ },
800
+ 'headers': {
801
+ 'Content-Type': 'application/x-www-form-urlencoded'
802
+ }
803
+ },
804
+ 'paramsType': {
805
+ 'HostId': 'String',
806
+ 'VolumeId': 'String'
807
+ }
808
+ },
809
+ 'DetachVolume': {
810
+ 'url': '/',
811
+ 'method': 'GET',
812
+ 'config': {
813
+ 'query': {
814
+ 'Version': '2015-11-01',
815
+ 'Action': 'DetachVolume'
816
+ },
817
+ 'headers': {
818
+ 'Content-Type': 'application/x-www-form-urlencoded'
819
+ }
820
+ },
821
+ 'paramsType': {
822
+ 'HostId': 'String',
823
+ 'VolumeId': 'String'
824
+ }
825
+ },
826
+ 'DescribePrice': {
827
+ 'url': '/',
828
+ 'method': 'GET',
829
+ 'config': {
830
+ 'query': {
831
+ 'Version': '2015-11-01',
832
+ 'Action': 'DescribePrice'
833
+ },
834
+ 'headers': {
835
+ 'Content-Type': 'application/x-www-form-urlencoded'
836
+ }
837
+ },
838
+ 'paramsType': {
839
+ 'ChargeType': 'String',
840
+ 'HostType': 'String',
841
+ 'AvailabilityZone': 'String',
842
+ 'PurchaseTime': 'Int',
843
+ 'Amount': 'Int'
844
+ }
845
+ },
846
+ 'ModifyOverclockingAttribute': {
847
+ 'url': '/',
848
+ 'method': 'GET',
849
+ 'config': {
850
+ 'query': {
851
+ 'Version': '2015-11-01',
852
+ 'Action': 'ModifyOverclockingAttribute'
853
+ },
854
+ 'headers': {
855
+ 'Content-Type': 'application/x-www-form-urlencoded'
856
+ }
857
+ },
858
+ 'paramsType': {
859
+ 'HostId': 'String',
860
+ 'OverclockingAttribute': 'String'
861
+ }
862
+ },
863
+ 'CopyImage': {
864
+ 'url': '/',
865
+ 'method': 'GET',
866
+ 'config': {
867
+ 'query': {
868
+ 'Version': '2015-11-01',
869
+ 'Action': 'CopyImage'
870
+ },
871
+ 'headers': {
872
+ 'Content-Type': 'application/x-www-form-urlencoded'
873
+ }
874
+ },
875
+ 'paramsType': {
876
+ 'DestinationName': 'String',
877
+ 'ImageId': 'String',
878
+ 'DestinationRegion': 'String',
879
+ 'CopyTag': 'String'
880
+ }
881
+ },
882
+ 'DescribeEpcRaidAttributes': {
883
+ 'url': '/',
884
+ 'method': 'GET',
885
+ 'config': {
886
+ 'query': {
887
+ 'Version': '2015-11-01',
888
+ 'Action': 'DescribeEpcRaidAttributes'
889
+ },
890
+ 'headers': {
891
+ 'Content-Type': 'application/x-www-form-urlencoded'
892
+ }
893
+ },
894
+ 'paramsType': {
895
+ 'Filter': 'Filter',
896
+ 'MaxResults': 'Int',
897
+ 'NextToken': 'String'
898
+ }
899
+ },
900
+ 'DescribeGpuImageDriver': {
901
+ 'url': '/',
902
+ 'method': 'GET',
903
+ 'config': {
904
+ 'query': {
905
+ 'Version': '2015-11-01',
906
+ 'Action': 'DescribeGpuImageDriver'
907
+ },
908
+ 'headers': {
909
+ 'Content-Type': 'application/x-www-form-urlencoded'
910
+ }
911
+ },
912
+ 'paramsType': {
913
+ 'MaxResults': 'Int',
914
+ 'NextToken': 'String',
915
+ 'ImageId': 'String',
916
+ 'HostType': 'String'
917
+ }
918
+ },
919
+ 'CreateShareImage': {
920
+ 'url': '/',
921
+ 'method': 'GET',
922
+ 'config': {
923
+ 'query': {
924
+ 'Version': '2015-11-01',
925
+ 'Action': 'CreateShareImage'
926
+ },
927
+ 'headers': {
928
+ 'Content-Type': 'application/x-www-form-urlencoded'
929
+ }
930
+ },
931
+ 'paramsType': {
932
+ 'ImageId': 'String',
933
+ 'AccountId.N': 'String'
934
+ }
935
+ },
936
+ 'DeleteShareImage': {
937
+ 'url': '/',
938
+ 'method': 'GET',
939
+ 'config': {
940
+ 'query': {
941
+ 'Version': '2015-11-01',
942
+ 'Action': 'DeleteShareImage'
943
+ },
944
+ 'headers': {
945
+ 'Content-Type': 'application/x-www-form-urlencoded'
946
+ }
947
+ },
948
+ 'paramsType': {
949
+ 'ImageId': 'String',
950
+ 'AccountId.N': 'String'
951
+ }
952
+ },
953
+ 'DescribeShareImageAccountList': {
954
+ 'url': '/',
955
+ 'method': 'GET',
956
+ 'config': {
957
+ 'query': {
958
+ 'Version': '2015-11-01',
959
+ 'Action': 'DescribeShareImageAccountList'
960
+ },
961
+ 'headers': {
962
+ 'Content-Type': 'application/json'
963
+ }
964
+ },
965
+ 'paramsType': {
966
+ 'ImageId': 'String'
967
+ }
968
+ },
969
+ 'DescribeShareImage': {
970
+ 'url': '/',
971
+ 'method': 'GET',
972
+ 'config': {
973
+ 'query': {
974
+ 'Version': '2015-11-01',
975
+ 'Action': 'DescribeShareImage'
976
+ },
977
+ 'headers': {
978
+ 'Content-Type': 'application/x-www-form-urlencoded'
979
+ }
980
+ },
981
+ 'paramsType': {
982
+ 'MaxResults': 'Int',
983
+ 'NextToken': 'String'
984
+ }
985
+ },
986
+ 'AcceptShareImage': {
987
+ 'url': '/',
988
+ 'method': 'GET',
989
+ 'config': {
990
+ 'query': {
991
+ 'Version': '2015-11-01',
992
+ 'Action': 'AcceptShareImage'
993
+ },
994
+ 'headers': {
995
+ 'Content-Type': 'application/x-www-form-urlencoded'
996
+ }
997
+ },
998
+ 'paramsType': {
999
+ 'ImageId': 'String'
1000
+ }
1001
+ },
1002
+ 'RejectShareImage': {
1003
+ 'url': '/',
1004
+ 'method': 'GET',
1005
+ 'config': {
1006
+ 'query': {
1007
+ 'Version': '2015-11-01',
1008
+ 'Action': 'RejectShareImage'
1009
+ },
1010
+ 'headers': {
1011
+ 'Content-Type': 'application/x-www-form-urlencoded'
1012
+ }
1013
+ },
1014
+ 'paramsType': {
1015
+ 'ImageId': 'String'
1016
+ }
1017
+ }
1018
+ });
1019
+ }
1020
+ };