ksyun-sdk-node 1.0.2 → 1.0.5

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