ksyun-sdk-node 1.0.4 → 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,962 @@
1
+ const BaseClient = require("../../../base/BaseClient.js");
2
+
3
+ module.exports = class Client extends BaseClient {
4
+ _baseConfig = {
5
+ 'protocol': 'http://',
6
+ 'endpoint': 'slb.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': 'slb',
15
+ },
16
+ },
17
+ }
18
+ _apiList = {
19
+ 'DescribeListeners': {
20
+ 'url': '/',
21
+ 'method': 'GET',
22
+ 'config': {
23
+ 'query': {
24
+ 'Version': '2016-03-04',
25
+ 'Action': 'DescribeListeners',
26
+ },
27
+ 'headers': {
28
+ 'Content-Type': 'application/x-www-form-urlencoded'
29
+ },
30
+ },
31
+ 'paramsType': {
32
+ 'ListenerId': 'Filter',
33
+ 'Filter': 'Filter',
34
+ 'MaxResults': 'Int',
35
+ 'NextToken': 'String',
36
+ }
37
+ },
38
+ 'ModifyListeners': {
39
+ 'url': '/',
40
+ 'method': 'GET',
41
+ 'config': {
42
+ 'query': {
43
+ 'Version': '2016-03-04',
44
+ 'Action': 'ModifyListeners',
45
+ },
46
+ 'headers': {
47
+ 'Content-Type': 'application/x-www-form-urlencoded'
48
+ },
49
+ },
50
+ 'paramsType': {
51
+ 'ListenerId': 'String',
52
+ 'ListenerName': 'String',
53
+ 'ListenerState': 'String',
54
+ 'Method': 'String',
55
+ 'BandWidthIn': 'Int',
56
+ 'BandWidthOut': 'Int',
57
+ 'HttpProtocol': 'String',
58
+ 'TlsCipherPolicy': 'String',
59
+ 'EnableHttp2': 'Boolean',
60
+ 'SessionState': 'String',
61
+ 'SessionPersistencePeriod': 'Int',
62
+ 'CookieType': 'String',
63
+ 'CookieName': 'String',
64
+ 'CertificateId': 'String',
65
+ }
66
+ },
67
+ 'CreateListeners': {
68
+ 'url': '/',
69
+ 'method': 'GET',
70
+ 'config': {
71
+ 'query': {
72
+ 'Version': '2016-03-04',
73
+ 'Action': 'CreateListeners',
74
+ },
75
+ 'headers': {
76
+ 'Content-Type': 'application/x-www-form-urlencoded'
77
+ },
78
+ },
79
+ 'paramsType': {
80
+ 'LoadBalancerId': 'String',
81
+ 'ListenerName': 'String',
82
+ 'ListenerState': 'String',
83
+ 'ListenerProtocol': 'String',
84
+ 'ListenerPort': 'Int',
85
+ 'Method': 'String',
86
+ 'BandWidthIn': 'Int',
87
+ 'BandWidthOut': 'Int',
88
+ 'LoadBalancerAclId': 'String',
89
+ 'HttpProtocol': 'String',
90
+ 'TlsCipherPolicy': 'String',
91
+ 'EnableHttp2': 'Boolean',
92
+ 'RedirectListenerId': 'String',
93
+ 'SessionState': 'String',
94
+ 'SessionPersistencePeriod': 'Int',
95
+ 'CookieType': 'String',
96
+ 'CookieName': 'String',
97
+ 'CertificateId': 'String',
98
+ }
99
+ },
100
+ 'ModifyInstancesWithListener': {
101
+ 'url': '/',
102
+ 'method': 'GET',
103
+ 'config': {
104
+ 'query': {
105
+ 'Version': '2016-03-04',
106
+ 'Action': 'ModifyInstancesWithListener',
107
+ },
108
+ 'headers': {
109
+ 'Content-Type': 'application/x-www-form-urlencoded'
110
+ },
111
+ },
112
+ 'paramsType': {
113
+ 'RegisterId': 'String',
114
+ 'Weight': 'Int',
115
+ 'RealServerPort': 'Int',
116
+ 'MasterSlaveType': 'String',
117
+ 'Tag': 'String',
118
+ }
119
+ },
120
+ 'RegisterInstancesWithListener': {
121
+ 'url': '/',
122
+ 'method': 'GET',
123
+ 'config': {
124
+ 'query': {
125
+ 'Version': '2016-03-04',
126
+ 'Action': 'RegisterInstancesWithListener',
127
+ },
128
+ 'headers': {
129
+ 'Content-Type': 'application/x-www-form-urlencoded'
130
+ },
131
+ },
132
+ 'paramsType': {
133
+ 'RealServerType': 'String',
134
+ 'ListenerId': 'String',
135
+ 'Weight': 'Int',
136
+ 'RealServerIp': 'String',
137
+ 'RealServerPort': 'Int',
138
+ 'InstanceId': 'String',
139
+ 'Tag': 'String',
140
+ 'MasterSlaveType': 'String',
141
+ }
142
+ },
143
+ 'DeregisterInstancesFromListener': {
144
+ 'url': '/',
145
+ 'method': 'GET',
146
+ 'config': {
147
+ 'query': {
148
+ 'Version': '2016-03-04',
149
+ 'Action': 'DeregisterInstancesFromListener',
150
+ },
151
+ 'headers': {
152
+ 'Content-Type': 'application/x-www-form-urlencoded'
153
+ },
154
+ },
155
+ 'paramsType': {
156
+ 'RegisterId': 'String',
157
+ }
158
+ },
159
+ 'DescribeInstancesWithListener': {
160
+ 'url': '/',
161
+ 'method': 'GET',
162
+ 'config': {
163
+ 'query': {
164
+ 'Version': '2016-03-04',
165
+ 'Action': 'DescribeInstancesWithListener',
166
+ },
167
+ 'headers': {
168
+ 'Content-Type': 'application/x-www-form-urlencoded'
169
+ },
170
+ },
171
+ 'paramsType': {
172
+ 'RegisterId': 'Filter',
173
+ 'Filter': 'Filter',
174
+ 'MaxResults': 'Int',
175
+ 'NextToken': 'String',
176
+ }
177
+ },
178
+ 'ModifyHealthCheck': {
179
+ 'url': '/',
180
+ 'method': 'GET',
181
+ 'config': {
182
+ 'query': {
183
+ 'Version': '2016-03-04',
184
+ 'Action': 'ModifyHealthCheck',
185
+ },
186
+ 'headers': {
187
+ 'Content-Type': 'application/x-www-form-urlencoded'
188
+ },
189
+ },
190
+ 'paramsType': {
191
+ 'HealthCheckId': 'String',
192
+ 'HealthCheckState': 'String',
193
+ 'HealthCheckConnectPort': 'Int',
194
+ 'HealthyThreshold': 'Int',
195
+ 'Interval': 'Int',
196
+ 'Timeout': 'Int',
197
+ 'UnhealthyThreshold': 'Int',
198
+ 'HttpMethod': 'String',
199
+ 'UrlPath': 'String',
200
+ 'HostName': 'String',
201
+ 'HealthCheckReq': 'String',
202
+ 'HealthCheckExp': 'String',
203
+ }
204
+ },
205
+ 'DescribeHealthChecks': {
206
+ 'url': '/',
207
+ 'method': 'GET',
208
+ 'config': {
209
+ 'query': {
210
+ 'Version': '2016-03-04',
211
+ 'Action': 'DescribeHealthChecks',
212
+ },
213
+ 'headers': {
214
+ 'Content-Type': 'application/x-www-form-urlencoded'
215
+ },
216
+ },
217
+ 'paramsType': {
218
+ 'HealthCheckId': 'Filter',
219
+ 'Filter': 'Filter',
220
+ 'Limit': 'Int',
221
+ 'Marker': 'String',
222
+ }
223
+ },
224
+ 'ConfigureHealthCheck': {
225
+ 'url': '/',
226
+ 'method': 'GET',
227
+ 'config': {
228
+ 'query': {
229
+ 'Version': '2016-03-04',
230
+ 'Action': 'ConfigureHealthCheck',
231
+ },
232
+ 'headers': {
233
+ 'Content-Type': 'application/x-www-form-urlencoded'
234
+ },
235
+ },
236
+ 'paramsType': {
237
+ 'ListenerId': 'String',
238
+ 'HealthCheckState': 'String',
239
+ 'HealthCheckConnectPort': 'Int',
240
+ 'HealthyThreshold': 'Int',
241
+ 'Interval': 'Int',
242
+ 'Timeout': 'Int',
243
+ 'UnhealthyThreshold': 'Int',
244
+ 'HttpMethod': 'String',
245
+ 'UrlPath': 'String',
246
+ 'HostName': 'String',
247
+ 'HealthCheckReq': 'String',
248
+ 'HealthCheckExp': 'String',
249
+ }
250
+ },
251
+ 'DescribeLoadBalancers': {
252
+ 'url': '/',
253
+ 'method': 'GET',
254
+ 'config': {
255
+ 'query': {
256
+ 'Version': '2016-03-04',
257
+ 'Action': 'DescribeLoadBalancers',
258
+ },
259
+ 'headers': {
260
+ 'Content-Type': 'application/x-www-form-urlencoded'
261
+ },
262
+ },
263
+ 'paramsType': {
264
+ 'ProjectId': 'Filter',
265
+ 'LoadBalancerId': 'Filter',
266
+ 'Filter': 'Filter',
267
+ 'MaxResults': 'Int',
268
+ 'NextToken': 'String',
269
+ 'State': 'String',
270
+ }
271
+ },
272
+ 'ModifyLoadBalancer': {
273
+ 'url': '/',
274
+ 'method': 'GET',
275
+ 'config': {
276
+ 'query': {
277
+ 'Version': '2016-03-04',
278
+ 'Action': 'ModifyLoadBalancer',
279
+ },
280
+ 'headers': {
281
+ 'Content-Type': 'application/x-www-form-urlencoded'
282
+ },
283
+ },
284
+ 'paramsType': {
285
+ 'LoadBalancerId': 'String',
286
+ 'LoadBalancerName': 'String',
287
+ 'LoadBalancerState': 'String',
288
+ }
289
+ },
290
+ 'CreateLoadBalancer': {
291
+ 'url': '/',
292
+ 'method': 'GET',
293
+ 'config': {
294
+ 'query': {
295
+ 'Version': '2016-03-04',
296
+ 'Action': 'CreateLoadBalancer',
297
+ },
298
+ 'headers': {
299
+ 'Content-Type': 'application/x-www-form-urlencoded'
300
+ },
301
+ },
302
+ 'paramsType': {
303
+ 'VpcId': 'String',
304
+ 'LoadBalancerName': 'String',
305
+ 'Type': 'String',
306
+ 'SubnetId': 'String',
307
+ 'PrivateIpAddress': 'String',
308
+ 'IpVersion': 'String',
309
+ 'LbType': 'String',
310
+ 'ProjectId': 'String',
311
+ }
312
+ },
313
+ 'CreateHostHeader': {
314
+ 'url': '/',
315
+ 'method': 'GET',
316
+ 'config': {
317
+ 'query': {
318
+ 'Version': '2016-03-04',
319
+ 'Action': 'CreateHostHeader',
320
+ },
321
+ 'headers': {
322
+ 'Content-Type': 'application/x-www-form-urlencoded'
323
+ },
324
+ },
325
+ 'paramsType': {
326
+ 'ListenerId': 'String',
327
+ 'CertificateId': 'String',
328
+ 'HostHeader': 'String',
329
+ }
330
+ },
331
+ 'ModifyHostHeader': {
332
+ 'url': '/',
333
+ 'method': 'GET',
334
+ 'config': {
335
+ 'query': {
336
+ 'Version': '2016-03-04',
337
+ 'Action': 'ModifyHostHeader',
338
+ },
339
+ 'headers': {
340
+ 'Content-Type': 'application/x-www-form-urlencoded'
341
+ },
342
+ },
343
+ 'paramsType': {
344
+ 'HostHeaderId': 'String',
345
+ 'CertificateId': 'String',
346
+ }
347
+ },
348
+ 'DeleteHostHeader': {
349
+ 'url': '/',
350
+ 'method': 'GET',
351
+ 'config': {
352
+ 'query': {
353
+ 'Version': '2016-03-04',
354
+ 'Action': 'DeleteHostHeader',
355
+ },
356
+ 'headers': {
357
+ 'Content-Type': 'application/x-www-form-urlencoded'
358
+ },
359
+ },
360
+ 'paramsType': {
361
+ 'HostHeaderId': 'String',
362
+ }
363
+ },
364
+ 'DescribeHostHeaders': {
365
+ 'url': '/',
366
+ 'method': 'GET',
367
+ 'config': {
368
+ 'query': {
369
+ 'Version': '2016-03-04',
370
+ 'Action': 'DescribeHostHeaders',
371
+ },
372
+ 'headers': {
373
+ 'Content-Type': 'application/x-www-form-urlencoded'
374
+ },
375
+ },
376
+ 'paramsType': {
377
+ 'HostHeaderId': 'Filter',
378
+ 'Filter': 'Filter',
379
+ 'MaxResults': 'Int',
380
+ 'NextToken': 'String',
381
+ }
382
+ },
383
+ 'DeleteRule': {
384
+ 'url': '/',
385
+ 'method': 'GET',
386
+ 'config': {
387
+ 'query': {
388
+ 'Version': '2016-03-04',
389
+ 'Action': 'DeleteRule',
390
+ },
391
+ 'headers': {
392
+ 'Content-Type': 'application/x-www-form-urlencoded'
393
+ },
394
+ },
395
+ 'paramsType': {
396
+ 'RuleId': 'String',
397
+ }
398
+ },
399
+ 'DescribeRules': {
400
+ 'url': '/',
401
+ 'method': 'GET',
402
+ 'config': {
403
+ 'query': {
404
+ 'Version': '2016-03-04',
405
+ 'Action': 'DescribeRules',
406
+ },
407
+ 'headers': {
408
+ 'Content-Type': 'application/x-www-form-urlencoded'
409
+ },
410
+ },
411
+ 'paramsType': {
412
+ 'RuleId': 'Filter',
413
+ 'Filter': 'Filter',
414
+ 'MaxResults': 'Int',
415
+ 'NextToken': 'String',
416
+ }
417
+ },
418
+ 'CreateBackendServerGroup': {
419
+ 'url': '/',
420
+ 'method': 'GET',
421
+ 'config': {
422
+ 'query': {
423
+ 'Version': '2016-03-04',
424
+ 'Action': 'CreateBackendServerGroup',
425
+ },
426
+ 'headers': {
427
+ 'Content-Type': 'application/x-www-form-urlencoded'
428
+ },
429
+ },
430
+ 'paramsType': {
431
+ 'VpcId': 'String',
432
+ 'BackendServerGroupName': 'String',
433
+ 'BackendServerGroupType': 'String',
434
+ 'HostName': 'String',
435
+ 'HealthCheckState': 'String',
436
+ 'HealthyThreshold': 'Int',
437
+ 'Interval': 'Int',
438
+ 'Timeout': 'Int',
439
+ 'UnhealthyThreshold': 'Int',
440
+ 'UrlPath': 'String',
441
+ 'Region': 'String',
442
+ }
443
+ },
444
+ 'DeleteBackendServerGroup': {
445
+ 'url': '/',
446
+ 'method': 'GET',
447
+ 'config': {
448
+ 'query': {
449
+ 'Version': '2016-03-04',
450
+ 'Action': 'DeleteBackendServerGroup',
451
+ },
452
+ 'headers': {
453
+ 'Content-Type': 'application/x-www-form-urlencoded'
454
+ },
455
+ },
456
+ 'paramsType': {
457
+ 'BackendServerGroupId': 'String',
458
+ }
459
+ },
460
+ 'ModifyBackendServerGroup': {
461
+ 'url': '/',
462
+ 'method': 'GET',
463
+ 'config': {
464
+ 'query': {
465
+ 'Version': '2016-03-04',
466
+ 'Action': 'ModifyBackendServerGroup',
467
+ },
468
+ 'headers': {
469
+ 'Content-Type': 'application/x-www-form-urlencoded'
470
+ },
471
+ },
472
+ 'paramsType': {
473
+ 'BackendServerGroupId': 'String',
474
+ 'BackendServerGroupName': 'String',
475
+ }
476
+ },
477
+ 'DescribeBackendServerGroups': {
478
+ 'url': '/',
479
+ 'method': 'GET',
480
+ 'config': {
481
+ 'query': {
482
+ 'Version': '2016-03-04',
483
+ 'Action': 'DescribeBackendServerGroups',
484
+ },
485
+ 'headers': {
486
+ 'Content-Type': 'application/x-www-form-urlencoded'
487
+ },
488
+ },
489
+ 'paramsType': {
490
+ 'BackendServerGroupId': 'Filter',
491
+ 'Filter': 'Filter',
492
+ 'MaxResults': 'Int',
493
+ 'NextToken': 'String',
494
+ }
495
+ },
496
+ 'RegisterBackendServer': {
497
+ 'url': '/',
498
+ 'method': 'GET',
499
+ 'config': {
500
+ 'query': {
501
+ 'Version': '2016-03-04',
502
+ 'Action': 'RegisterBackendServer',
503
+ },
504
+ 'headers': {
505
+ 'Content-Type': 'application/x-www-form-urlencoded'
506
+ },
507
+ },
508
+ 'paramsType': {
509
+ 'BackendServerGroupId': 'String',
510
+ 'BackendServerIp': 'String',
511
+ 'BackendServerPort': 'Int',
512
+ 'Weight': 'Int',
513
+ }
514
+ },
515
+ 'DeregisterBackendServer': {
516
+ 'url': '/',
517
+ 'method': 'GET',
518
+ 'config': {
519
+ 'query': {
520
+ 'Version': '2016-03-04',
521
+ 'Action': 'DeregisterBackendServer',
522
+ },
523
+ 'headers': {
524
+ 'Content-Type': 'application/x-www-form-urlencoded'
525
+ },
526
+ },
527
+ 'paramsType': {
528
+ 'RegisterId': 'String',
529
+ }
530
+ },
531
+ 'DescribeBackendServers': {
532
+ 'url': '/',
533
+ 'method': 'GET',
534
+ 'config': {
535
+ 'query': {
536
+ 'Version': '2016-03-04',
537
+ 'Action': 'DescribeBackendServers',
538
+ },
539
+ 'headers': {
540
+ 'Content-Type': 'application/x-www-form-urlencoded'
541
+ },
542
+ },
543
+ 'paramsType': {
544
+ 'RegisterId': 'Filter',
545
+ 'Filter': 'Filter',
546
+ 'MaxResults': 'Int',
547
+ 'NextToken': 'String',
548
+ }
549
+ },
550
+ 'CreateLoadBalancerAcl': {
551
+ 'url': '/',
552
+ 'method': 'GET',
553
+ 'config': {
554
+ 'query': {
555
+ 'Version': '2016-03-04',
556
+ 'Action': 'CreateLoadBalancerAcl',
557
+ },
558
+ 'headers': {
559
+ 'Content-Type': 'application/x-www-form-urlencoded'
560
+ },
561
+ },
562
+ 'paramsType': {
563
+ 'LoadBalancerAclName': 'String',
564
+ 'IpVersion': 'String',
565
+ }
566
+ },
567
+ 'DeleteLoadBalancerAcl': {
568
+ 'url': '/',
569
+ 'method': 'GET',
570
+ 'config': {
571
+ 'query': {
572
+ 'Version': '2016-03-04',
573
+ 'Action': 'DeleteLoadBalancerAcl',
574
+ },
575
+ 'headers': {
576
+ 'Content-Type': 'application/x-www-form-urlencoded'
577
+ },
578
+ },
579
+ 'paramsType': {
580
+ 'LoadBalancerAclId': 'String',
581
+ }
582
+ },
583
+ 'ModifyLoadBalancerAcl': {
584
+ 'url': '/',
585
+ 'method': 'GET',
586
+ 'config': {
587
+ 'query': {
588
+ 'Version': '2016-03-04',
589
+ 'Action': 'ModifyLoadBalancerAcl',
590
+ },
591
+ 'headers': {
592
+ 'Content-Type': 'application/x-www-form-urlencoded'
593
+ },
594
+ },
595
+ 'paramsType': {
596
+ 'LoadBalancerAclId': 'String',
597
+ 'LoadBalancerAclName': 'String',
598
+ }
599
+ },
600
+ 'CreateLoadBalancerAclEntry': {
601
+ 'url': '/',
602
+ 'method': 'GET',
603
+ 'config': {
604
+ 'query': {
605
+ 'Version': '2016-03-04',
606
+ 'Action': 'CreateLoadBalancerAclEntry',
607
+ },
608
+ 'headers': {
609
+ 'Content-Type': 'application/x-www-form-urlencoded'
610
+ },
611
+ },
612
+ 'paramsType': {
613
+ 'LoadBalancerAclId': 'String',
614
+ 'CidrBlock': 'String',
615
+ 'RuleNumber': 'Int',
616
+ 'RuleAction': 'String',
617
+ 'Protocol': 'String',
618
+ 'Description': 'String',
619
+ }
620
+ },
621
+ 'DeleteLoadBalancerAclEntry': {
622
+ 'url': '/',
623
+ 'method': 'GET',
624
+ 'config': {
625
+ 'query': {
626
+ 'Version': '2016-03-04',
627
+ 'Action': 'DeleteLoadBalancerAclEntry',
628
+ },
629
+ 'headers': {
630
+ 'Content-Type': 'application/x-www-form-urlencoded'
631
+ },
632
+ },
633
+ 'paramsType': {
634
+ 'LoadBalancerAclEntryId': 'String',
635
+ }
636
+ },
637
+ 'AssociateLoadBalancerAcl': {
638
+ 'url': '/',
639
+ 'method': 'GET',
640
+ 'config': {
641
+ 'query': {
642
+ 'Version': '2016-03-04',
643
+ 'Action': 'AssociateLoadBalancerAcl',
644
+ },
645
+ 'headers': {
646
+ 'Content-Type': 'application/x-www-form-urlencoded'
647
+ },
648
+ },
649
+ 'paramsType': {
650
+ 'LoadBalancerAclId': 'String',
651
+ 'ListenerId': 'String',
652
+ }
653
+ },
654
+ 'DisassociateLoadBalancerAcl': {
655
+ 'url': '/',
656
+ 'method': 'GET',
657
+ 'config': {
658
+ 'query': {
659
+ 'Version': '2016-03-04',
660
+ 'Action': 'DisassociateLoadBalancerAcl',
661
+ },
662
+ 'headers': {
663
+ 'Content-Type': 'application/x-www-form-urlencoded'
664
+ },
665
+ },
666
+ 'paramsType': {
667
+ 'ListenerId': 'String',
668
+ }
669
+ },
670
+ 'DescribeLoadBalancerAcls': {
671
+ 'url': '/',
672
+ 'method': 'GET',
673
+ 'config': {
674
+ 'query': {
675
+ 'Version': '2016-03-04',
676
+ 'Action': 'DescribeLoadBalancerAcls',
677
+ },
678
+ 'headers': {
679
+ 'Content-Type': 'application/x-www-form-urlencoded'
680
+ },
681
+ },
682
+ 'paramsType': {
683
+ 'LoadBalancerAclId': 'Filter',
684
+ 'MaxResults': 'Int',
685
+ 'NextToken': 'String',
686
+ }
687
+ },
688
+ 'CreateSlbRule': {
689
+ 'url': '/',
690
+ 'method': 'GET',
691
+ 'config': {
692
+ 'query': {
693
+ 'Version': '2016-03-04',
694
+ 'Action': 'CreateSlbRule',
695
+ },
696
+ 'headers': {
697
+ 'Content-Type': 'application/x-www-form-urlencoded'
698
+ },
699
+ },
700
+ 'paramsType': {
701
+ 'Path': 'String',
702
+ 'HostHeaderId': 'String',
703
+ 'BackendServerGroupId': 'String',
704
+ 'ListenerSync': 'String',
705
+ 'Method': 'String',
706
+ 'SessionState': 'String',
707
+ 'SessionPersistencePeriod': 'Int',
708
+ 'cookieType': 'String',
709
+ 'CookieName': 'String',
710
+ 'HealthCheckState': 'String',
711
+ 'HealthyThreshold': 'String',
712
+ 'Interval': 'Int',
713
+ 'Timeout': 'Int',
714
+ 'UnhealthyThreshold': 'Int',
715
+ 'UrlPath': 'String',
716
+ 'HostName': 'String',
717
+ }
718
+ },
719
+ 'ModifySlbRule': {
720
+ 'url': '/',
721
+ 'method': 'GET',
722
+ 'config': {
723
+ 'query': {
724
+ 'Version': '2016-03-04',
725
+ 'Action': 'ModifySlbRule',
726
+ },
727
+ 'headers': {
728
+ 'Content-Type': 'application/x-www-form-urlencoded'
729
+ },
730
+ },
731
+ 'paramsType': {
732
+ 'Path': 'String',
733
+ 'RuleId': 'String',
734
+ 'BackendServerGroupId': 'String',
735
+ 'ListenerSync': 'String',
736
+ 'Method': 'String',
737
+ 'SessionState': 'String',
738
+ 'SessionPersistencePeriod': 'Int',
739
+ 'cookieType': 'String',
740
+ 'CookieName': 'String',
741
+ 'HealthCheckState': 'String',
742
+ 'HealthyThreshold': 'String',
743
+ 'Interval': 'Int',
744
+ 'Timeout': 'Int',
745
+ 'UnhealthyThreshold': 'Int',
746
+ 'UrlPath': 'String',
747
+ 'HostName': 'String',
748
+ }
749
+ },
750
+ 'CreatePrivateLinkServer': {
751
+ 'url': '/',
752
+ 'method': 'GET',
753
+ 'config': {
754
+ 'query': {
755
+ 'Version': '2016-03-04',
756
+ 'Action': 'CreatePrivateLinkServer',
757
+ },
758
+ 'headers': {
759
+ 'Content-Type': 'application/x-www-form-urlencoded'
760
+ },
761
+ },
762
+ 'paramsType': {
763
+ 'PrivateLinkServerName': 'String',
764
+ 'ListenerId': 'String',
765
+ 'Description': 'String',
766
+ 'ProjectId': 'String',
767
+ }
768
+ },
769
+ 'DescribePrivateLinkServer': {
770
+ 'url': '/',
771
+ 'method': 'GET',
772
+ 'config': {
773
+ 'query': {
774
+ 'Version': '2016-03-04',
775
+ 'Action': 'DescribePrivateLinkServer',
776
+ },
777
+ 'headers': {
778
+ 'Content-Type': 'application/x-www-form-urlencoded'
779
+ },
780
+ },
781
+ 'paramsType': {
782
+ 'PrivateLinkServerId': 'Filter',
783
+ 'ProjectId': 'Filter',
784
+ 'MaxResults': 'Int',
785
+ 'NextToken': 'String',
786
+ }
787
+ },
788
+ 'DeletePrivateLinkServer': {
789
+ 'url': '/',
790
+ 'method': 'GET',
791
+ 'config': {
792
+ 'query': {
793
+ 'Version': '2016-03-04',
794
+ 'Action': 'DeletePrivateLinkServer',
795
+ },
796
+ 'headers': {
797
+ 'Content-Type': 'application/x-www-form-urlencoded'
798
+ },
799
+ },
800
+ 'paramsType': {
801
+ 'PrivateLinkServerId': 'String',
802
+ }
803
+ },
804
+ 'ModifyPrivateLinkServer': {
805
+ 'url': '/',
806
+ 'method': 'GET',
807
+ 'config': {
808
+ 'query': {
809
+ 'Version': '2016-03-04',
810
+ 'Action': 'ModifyPrivateLinkServer',
811
+ },
812
+ 'headers': {
813
+ 'Content-Type': 'application/x-www-form-urlencoded'
814
+ },
815
+ },
816
+ 'paramsType': {
817
+ 'PrivateLinkServerId': 'String',
818
+ 'PrivateLinkServerName': 'String',
819
+ 'Description': 'String',
820
+ }
821
+ },
822
+ 'AssociatePrivateLinkServer': {
823
+ 'url': '/',
824
+ 'method': 'GET',
825
+ 'config': {
826
+ 'query': {
827
+ 'Version': '2016-03-04',
828
+ 'Action': 'AssociatePrivateLinkServer',
829
+ },
830
+ 'headers': {
831
+ 'Content-Type': 'application/x-www-form-urlencoded'
832
+ },
833
+ },
834
+ 'paramsType': {
835
+ 'PrivateLinkServerId': 'String',
836
+ 'LoadBalancerId': 'String',
837
+ 'ListenerPort': 'Int',
838
+ 'ProjectId': 'String',
839
+ }
840
+ },
841
+ 'DescribePrivateLink': {
842
+ 'url': '/',
843
+ 'method': 'GET',
844
+ 'config': {
845
+ 'query': {
846
+ 'Version': '2016-03-04',
847
+ 'Action': 'DescribePrivateLink',
848
+ },
849
+ 'headers': {
850
+ 'Content-Type': 'application/x-www-form-urlencoded'
851
+ },
852
+ },
853
+ 'paramsType': {
854
+ 'PrivateLinkId': 'Filter',
855
+ 'ProjectId': 'Filter',
856
+ 'MaxResults': 'Int',
857
+ 'NextToken': 'String',
858
+ }
859
+ },
860
+ 'DeletePrivateLink': {
861
+ 'url': '/',
862
+ 'method': 'GET',
863
+ 'config': {
864
+ 'query': {
865
+ 'Version': '2016-03-04',
866
+ 'Action': 'DeletePrivateLink',
867
+ },
868
+ 'headers': {
869
+ 'Content-Type': 'application/x-www-form-urlencoded'
870
+ },
871
+ },
872
+ 'paramsType': {
873
+ 'PrivateLinkId': 'String',
874
+ }
875
+ },
876
+ 'ModifyLoadBalancerAclEntry': {
877
+ 'url': '/',
878
+ 'method': 'GET',
879
+ 'config': {
880
+ 'query': {
881
+ 'Version': '2016-03-04',
882
+ 'Action': 'ModifyLoadBalancerAclEntry',
883
+ },
884
+ 'headers': {
885
+ 'Content-Type': 'application/x-www-form-urlencoded'
886
+ },
887
+ },
888
+ 'paramsType': {
889
+ 'LoadBalancerAclEntryId': 'String',
890
+ 'RuleNumber': 'Int',
891
+ 'RuleAction': 'String',
892
+ 'Description': 'String',
893
+ }
894
+ },
895
+ 'AcceptPrivateLink': {
896
+ 'url': '/',
897
+ 'method': 'GET',
898
+ 'config': {
899
+ 'query': {
900
+ 'Version': '2016-03-04',
901
+ 'Action': 'AcceptPrivateLink',
902
+ },
903
+ 'headers': {
904
+ 'Content-Type': 'application/x-www-form-urlencoded'
905
+ },
906
+ },
907
+ 'paramsType': {
908
+ 'PrivateLinkId': 'String',
909
+ }
910
+ },
911
+ 'RejectPrivateLink': {
912
+ 'url': '/',
913
+ 'method': 'GET',
914
+ 'config': {
915
+ 'query': {
916
+ 'Version': '2016-03-04',
917
+ 'Action': 'RejectPrivateLink',
918
+ },
919
+ 'headers': {
920
+ 'Content-Type': 'application/x-www-form-urlencoded'
921
+ },
922
+ },
923
+ 'paramsType': {
924
+ 'PrivateLinkId': 'String',
925
+ }
926
+ },
927
+ 'ListPrivateLinkServer': {
928
+ 'url': '/',
929
+ 'method': 'GET',
930
+ 'config': {
931
+ 'query': {
932
+ 'Version': '2016-03-04',
933
+ 'Action': 'ListPrivateLinkServer',
934
+ },
935
+ 'headers': {
936
+ 'Content-Type': 'application/x-www-form-urlencoded'
937
+ },
938
+ },
939
+ 'paramsType': {
940
+ 'PrivateLinkServerId': 'String',
941
+ 'Filter': 'Filter',
942
+ }
943
+ },
944
+ 'RemovePrivateLink': {
945
+ 'url': '/',
946
+ 'method': 'GET',
947
+ 'config': {
948
+ 'query': {
949
+ 'Version': '2016-03-04',
950
+ 'Action': 'RemovePrivateLink',
951
+ },
952
+ 'headers': {
953
+ 'Content-Type': 'application/x-www-form-urlencoded'
954
+ },
955
+ },
956
+ 'paramsType': {
957
+ 'PrivateLinkServerId': 'String',
958
+ 'PrivateLinkId': 'String',
959
+ }
960
+ },
961
+ }
962
+ }