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