ksyun-sdk-node 1.4.9 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/dist/service/Aicp/v20240612/index.js +24 -0
  2. package/dist/service/Bws/v20160304/index.js +3 -0
  3. package/dist/service/Cdn/v20250503/index.js +0 -333
  4. package/dist/service/Cdn/v3/index.js +600 -0
  5. package/dist/service/Cen/v20160304/index.js +147 -103
  6. package/dist/service/Clickhouse/v20210101/index.js +204 -19
  7. package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
  8. package/dist/service/Dmp/v20240101/index.js +362 -0
  9. package/dist/service/Dts/v20180108/index.js +386 -0
  10. package/dist/service/Ebs/v20160304/index.js +197 -34
  11. package/dist/service/Eip/v20160304/index.js +79 -1
  12. package/dist/service/Influxdb/v20191010/index.js +504 -0
  13. package/dist/service/Kad/v20161122/index.js +32 -0
  14. package/dist/service/Kce/v20190806/index.js +234 -43
  15. package/dist/service/Kce/v20201231/index.js +2 -2
  16. package/dist/service/Kce/v20230101/index.js +193 -0
  17. package/dist/service/Kce/v20230306/index.js +434 -0
  18. package/dist/service/Kce/v20231115/index.js +65 -0
  19. package/dist/service/Kce2/v20230101/index.js +313 -0
  20. package/dist/service/Kci/v20200702/index.js +336 -0
  21. package/dist/service/Kcm/v20160304/index.js +113 -3
  22. package/dist/service/Kcrs/v20211109/index.js +88 -92
  23. package/dist/service/Kcs/v20160701/index.js +165 -23
  24. package/dist/service/Kcs/v20170401/index.js +1 -36
  25. package/dist/service/Kcs/v20240701/index.js +45 -0
  26. package/dist/service/Kead/v20200101/index.js +37 -8
  27. package/dist/service/Ked/v1/index.js +805 -0
  28. package/dist/service/Ket/v20170101/index.js +42 -0
  29. package/dist/service/Kfw/v20160304/index.js +59 -0
  30. package/dist/service/Kingpay/v1/index.js +44 -0
  31. package/dist/service/Knad/v20230323/index.js +333 -0
  32. package/dist/service/Kpfs/v20240930/index.js +181 -0
  33. package/dist/service/Krds/v20160701/index.js +505 -96
  34. package/dist/service/Krds/v20200825/index.js +48 -8
  35. package/dist/service/Milvus/v20231010/index.js +366 -0
  36. package/dist/service/Mongodb/v20170101/index.js +163 -13
  37. package/dist/service/Mongodb/v20250101/index.js +44 -0
  38. package/dist/service/Pdns/v20160304/index.js +636 -0
  39. package/dist/service/Postgresql/v20181225/index.js +950 -0
  40. package/dist/service/Rabbitmq/v20191017/index.js +107 -6
  41. package/dist/service/Relyt/v20240117/index.js +45 -0
  42. package/dist/service/Sks/v20151101/index.js +2 -1
  43. package/dist/service/Slb/v20160304/index.js +426 -53
  44. package/dist/service/Slb/v20250430/index.js +750 -0
  45. package/dist/service/Sqlserver/v20190425/index.js +872 -0
  46. package/dist/service/Sts/v20151101/index.js +19 -0
  47. package/dist/service/Tagv2/v20200901/index.js +42 -6
  48. package/dist/service/Ter/v20240415/index.js +114 -0
  49. package/dist/service/Tidb/v20210520/index.js +415 -21
  50. package/dist/service/Trade/v20250220/index.js +97 -0
  51. package/dist/service/Trade/v20250321/index.js +93 -0
  52. package/dist/service/Trade/v20250828/index.js +56 -0
  53. package/dist/service/Vpc/v20160304/index.js +32 -0
  54. package/dist/service/Waf/v20200707/index.js +188 -5
  55. package/package.json +1 -1
  56. package/src/service/Aicp/v20240612/index.js +24 -0
  57. package/src/service/Bws/v20160304/index.js +3 -0
  58. package/src/service/Cdn/{v20250503 → v3}/index.js +196 -0
  59. package/src/service/Cen/v20160304/index.js +144 -100
  60. package/src/service/Clickhouse/v20210101/index.js +203 -18
  61. package/src/service/Cloud_advisor/v20250610/index.js +73 -0
  62. package/src/service/Dmp/v20240101/index.js +354 -0
  63. package/src/service/Dts/v20180108/index.js +378 -0
  64. package/src/service/Ebs/v20160304/index.js +194 -31
  65. package/src/service/Eip/v20160304/index.js +79 -1
  66. package/src/service/Influxdb/v20191010/index.js +496 -0
  67. package/src/service/Kad/v20161122/index.js +32 -0
  68. package/src/service/Kce/v20190806/index.js +233 -42
  69. package/src/service/Kce/v20201231/index.js +2 -2
  70. package/src/service/Kce/v20230101/index.js +185 -0
  71. package/src/service/Kce/v20230306/index.js +426 -0
  72. package/src/service/Kce/v20231115/index.js +57 -0
  73. package/src/service/Kce2/v20230101/index.js +305 -0
  74. package/src/service/Kci/v20200702/index.js +328 -0
  75. package/src/service/Kcm/v20160304/index.js +110 -0
  76. package/src/service/Kcrs/v20211109/index.js +87 -91
  77. package/src/service/Kcs/v20160701/index.js +164 -22
  78. package/src/service/Kcs/v20170401/index.js +1 -36
  79. package/src/service/Kcs/v20240701/index.js +37 -0
  80. package/src/service/Kead/v20200101/index.js +37 -8
  81. package/src/service/Ked/v1/index.js +797 -0
  82. package/src/service/Ket/v20170101/index.js +42 -0
  83. package/src/service/Kfw/v20160304/index.js +51 -0
  84. package/src/service/Kingpay/v1/index.js +36 -0
  85. package/src/service/Knad/v20230323/index.js +325 -0
  86. package/src/service/Kpfs/v20240930/index.js +173 -0
  87. package/src/service/Krds/v20160701/index.js +502 -93
  88. package/src/service/Krds/v20200825/index.js +48 -8
  89. package/src/service/Milvus/v20231010/index.js +358 -0
  90. package/src/service/Mongodb/v20170101/index.js +162 -12
  91. package/src/service/Mongodb/v20250101/index.js +36 -0
  92. package/src/service/Pdns/v20160304/index.js +628 -0
  93. package/src/service/Postgresql/v20181225/index.js +942 -0
  94. package/src/service/Rabbitmq/v20191017/index.js +107 -6
  95. package/src/service/Relyt/v20240117/index.js +37 -0
  96. package/src/service/Sks/v20151101/index.js +1 -0
  97. package/src/service/Slb/v20160304/index.js +416 -43
  98. package/src/service/Slb/v20250430/index.js +742 -0
  99. package/src/service/Sqlserver/v20190425/index.js +864 -0
  100. package/src/service/Sts/v20151101/index.js +19 -0
  101. package/src/service/Tagv2/v20200901/index.js +42 -6
  102. package/src/service/Ter/v20240415/index.js +106 -0
  103. package/src/service/Tidb/v20210520/index.js +412 -18
  104. package/src/service/Trade/v20250220/index.js +89 -0
  105. package/src/service/Trade/v20250321/index.js +85 -0
  106. package/src/service/Trade/v20250828/index.js +48 -0
  107. package/src/service/Vpc/v20160304/index.js +32 -0
  108. package/src/service/Waf/v20200707/index.js +187 -4
@@ -0,0 +1,742 @@
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
+ DescribeBackendServers: {
20
+ url: "/",
21
+ method: "GET",
22
+ config: {
23
+ query: {
24
+ Version: "2025-04-30",
25
+ Action: "DescribeBackendServers",
26
+ },
27
+ headers: {
28
+ "Content-Type": "application/x-www-form-urlencoded",
29
+ },
30
+ },
31
+ paramsType: {
32
+ Filter: "Filter",
33
+ BackendServerId: "Filter",
34
+ MaxResults: "Int",
35
+ NextToken: "String",
36
+ },
37
+ },
38
+ ModifyBackendServer: {
39
+ url: "/",
40
+ method: "GET",
41
+ config: {
42
+ query: {
43
+ Version: "2025-04-30",
44
+ Action: "ModifyBackendServer",
45
+ },
46
+ headers: {
47
+ "Content-Type": "application/x-www-form-urlencoded",
48
+ },
49
+ },
50
+ paramsType: {
51
+ BackendServerId: "String",
52
+ Weight: "Int",
53
+ Port: "Int",
54
+ MasterSlaveType: "String",
55
+ },
56
+ },
57
+ DeregisterBackendServer: {
58
+ url: "/",
59
+ method: "GET",
60
+ config: {
61
+ query: {
62
+ Version: "2025-04-30",
63
+ Action: "DeregisterBackendServer",
64
+ },
65
+ headers: {
66
+ "Content-Type": "application/x-www-form-urlencoded",
67
+ },
68
+ },
69
+ paramsType: {
70
+ BackendServerId: "String",
71
+ },
72
+ },
73
+ RegisterBackendServer: {
74
+ url: "/",
75
+ method: "GET",
76
+ config: {
77
+ query: {
78
+ Version: "2025-04-30",
79
+ Action: "RegisterBackendServer",
80
+ },
81
+ headers: {
82
+ "Content-Type": "application/x-www-form-urlencoded",
83
+ },
84
+ },
85
+ paramsType: {
86
+ BackendServerGroupId: "String",
87
+ BackendServerIp: "String",
88
+ Port: "Int",
89
+ Weight: "Int",
90
+ NetworkInterfaceId: "String",
91
+ DirectConnectGatewayId: "String",
92
+ MasterSlaveType: "String",
93
+ },
94
+ },
95
+ DescribeBackendServerGroups: {
96
+ url: "/",
97
+ method: "GET",
98
+ config: {
99
+ query: {
100
+ Version: "2025-04-30",
101
+ Action: "DescribeBackendServerGroups",
102
+ },
103
+ headers: {
104
+ "Content-Type": "application/x-www-form-urlencoded",
105
+ },
106
+ },
107
+ paramsType: {
108
+ Filter: "Filter",
109
+ BackendServerGroupId: "Filter",
110
+ MaxResults: "Int",
111
+ NextToken: "String",
112
+ },
113
+ },
114
+ ModifyBackendServerGroup: {
115
+ url: "/",
116
+ method: "GET",
117
+ config: {
118
+ query: {
119
+ Version: "2025-04-30",
120
+ Action: "ModifyBackendServerGroup",
121
+ },
122
+ headers: {
123
+ "Content-Type": "application/x-www-form-urlencoded",
124
+ },
125
+ },
126
+ paramsType: {
127
+ BackendServerGroupId: "String",
128
+ Name: "String",
129
+ UpstreamKeepalive: "String",
130
+ Method: "String",
131
+ SessionState: "String",
132
+ SessionPersistencePeriod: "Int",
133
+ CookieType: "String",
134
+ CookieName: "String",
135
+ HealthCheckState: "String",
136
+ Timeout: "Int",
137
+ Interval: "Int",
138
+ HealthyThreshold: "Int",
139
+ UnhealthyThreshold: "Int",
140
+ UrlPath: "String",
141
+ HostName: "String",
142
+ HealthCheckConnectPort: "Int",
143
+ HealthProtocol: "String",
144
+ SlowStartEnabled: "Boolean",
145
+ SlowStartDuration: "Int",
146
+ HttpMethod: "String",
147
+ HealthCode: "String",
148
+ HealthCheckReq: "String",
149
+ HealthCheckExp: "String",
150
+ },
151
+ },
152
+ DeleteBackendServerGroup: {
153
+ url: "/",
154
+ method: "GET",
155
+ config: {
156
+ query: {
157
+ Version: "2025-04-30",
158
+ Action: "DeleteBackendServerGroup",
159
+ },
160
+ headers: {
161
+ "Content-Type": "application/x-www-form-urlencoded",
162
+ },
163
+ },
164
+ paramsType: {
165
+ BackendServerGroupId: "String",
166
+ },
167
+ },
168
+ CreateBackendServerGroup: {
169
+ url: "/",
170
+ method: "GET",
171
+ config: {
172
+ query: {
173
+ Version: "2025-04-30",
174
+ Action: "CreateBackendServerGroup",
175
+ },
176
+ headers: {
177
+ "Content-Type": "application/x-www-form-urlencoded",
178
+ },
179
+ },
180
+ paramsType: {
181
+ VpcId: "String",
182
+ Name: "String",
183
+ BackendServerType: "String",
184
+ Method: "String",
185
+ SessionState: "String",
186
+ SessionPersistencePeriod: "Int",
187
+ CookieType: "String",
188
+ CookieName: "String",
189
+ UpstreamKeepalive: "String",
190
+ Protocol: "String",
191
+ HealthCheckState: "String",
192
+ Timeout: "Int",
193
+ Interval: "Int",
194
+ HealthyThreshold: "Int",
195
+ UnhealthyThreshold: "Int",
196
+ UrlPath: "String",
197
+ HostName: "String",
198
+ HealthCheckConnectPort: "Int",
199
+ HealthProtocol: "String",
200
+ SlowStartEnabled: "Boolean",
201
+ SlowStartDuration: "Int",
202
+ HttpMethod: "String",
203
+ HealthCheckReq: "String",
204
+ HealthCheckExp: "String",
205
+ HealthCode: "String",
206
+ },
207
+ },
208
+ DescribeListeners: {
209
+ url: "/",
210
+ method: "GET",
211
+ config: {
212
+ query: {
213
+ Version: "2025-04-30",
214
+ Action: "DescribeListeners",
215
+ },
216
+ headers: {
217
+ "Content-Type": "application/x-www-form-urlencoded",
218
+ },
219
+ },
220
+ paramsType: {
221
+ ListenerId: "Filter",
222
+ Filter: "Filter",
223
+ MaxResults: "Int",
224
+ NextToken: "String",
225
+ },
226
+ },
227
+ ModifyListener: {
228
+ url: "/",
229
+ method: "POST",
230
+ config: {
231
+ query: {
232
+ Version: "2025-04-30",
233
+ Action: "ModifyListener",
234
+ },
235
+ headers: {
236
+ "Content-Type": "application/json",
237
+ },
238
+ },
239
+ paramsType: {
240
+ ListenerId: "String",
241
+ ListenerName: "String",
242
+ ListenerState: "String",
243
+ CertificateId: "String",
244
+ TlsCipherPolicy: "String",
245
+ ListenerAclId: "String",
246
+ HttpProtocol: "String",
247
+ EnableHttp2: "Boolean",
248
+ CaEnabled: "Boolean",
249
+ CaCertificateId: "String",
250
+ EnableQuicUpgrade: "Boolean",
251
+ QuicListenerId: "String",
252
+ IdleTimeout: "Int",
253
+ ServerGroupId: "String",
254
+ },
255
+ },
256
+ DeleteListener: {
257
+ url: "/",
258
+ method: "GET",
259
+ config: {
260
+ query: {
261
+ Version: "2025-04-30",
262
+ Action: "DeleteListener",
263
+ },
264
+ headers: {
265
+ "Content-Type": "application/x-www-form-urlencoded",
266
+ },
267
+ },
268
+ paramsType: {
269
+ ListenerId: "String",
270
+ },
271
+ },
272
+ CreateListener: {
273
+ url: "/",
274
+ method: "POST",
275
+ config: {
276
+ query: {
277
+ Version: "2025-04-30",
278
+ Action: "CreateListener",
279
+ },
280
+ headers: {
281
+ "Content-Type": "application/json",
282
+ },
283
+ },
284
+ paramsType: {
285
+ LoadBalancerId: "String",
286
+ ListenerName: "String",
287
+ Protocol: "String",
288
+ Port: "Int",
289
+ CertificateId: "String",
290
+ TlsCipherPolicy: "String",
291
+ ListenerAclId: "String",
292
+ ListenerState: "String",
293
+ RedirectListenerId: "String",
294
+ RedirectHttpCode: "String",
295
+ EnableHttp2: "Boolean",
296
+ BackendServerGroupId: "String",
297
+ FixedResponseConfig: "Object",
298
+ RewriteConfig: "Object",
299
+ CaEnabled: "Boolean",
300
+ CaCertificateId: "String",
301
+ EnableQuicUpgrade: "Boolean",
302
+ QuicListenerId: "String",
303
+ IdleTimeout: "Int",
304
+ ServerGroupId: "String",
305
+ },
306
+ },
307
+ SetAccessLog: {
308
+ url: "/",
309
+ method: "GET",
310
+ config: {
311
+ query: {
312
+ Version: "2025-04-30",
313
+ Action: "SetAccessLog",
314
+ },
315
+ headers: {
316
+ "Content-Type": "application/x-www-form-urlencoded",
317
+ },
318
+ },
319
+ paramsType: {
320
+ LoadBalancerId: "String",
321
+ ProjectName: "String",
322
+ LogpoolName: "String",
323
+ },
324
+ },
325
+ SetEnableAccessLog: {
326
+ url: "/",
327
+ method: "GET",
328
+ config: {
329
+ query: {
330
+ Version: "2025-04-30",
331
+ Action: "SetEnableAccessLog",
332
+ },
333
+ headers: {
334
+ "Content-Type": "application/x-www-form-urlencoded",
335
+ },
336
+ },
337
+ paramsType: {
338
+ LoadBalancerId: "String",
339
+ EnabledLog: "Boolean",
340
+ },
341
+ },
342
+ SetLbProtocolLayers: {
343
+ url: "/",
344
+ method: "GET",
345
+ config: {
346
+ query: {
347
+ Version: "2025-04-30",
348
+ Action: "SetLbProtocolLayers",
349
+ },
350
+ headers: {
351
+ "Content-Type": "application/x-www-form-urlencoded",
352
+ },
353
+ },
354
+ paramsType: {
355
+ LoadBalancerId: "String",
356
+ ProtocolLayers: "String",
357
+ },
358
+ },
359
+ SetLoadBalancerStatus: {
360
+ url: "/",
361
+ method: "GET",
362
+ config: {
363
+ query: {
364
+ Version: "2025-04-30",
365
+ Action: "SetLoadBalancerStatus",
366
+ },
367
+ headers: {
368
+ "Content-Type": "application/x-www-form-urlencoded",
369
+ },
370
+ },
371
+ paramsType: {
372
+ LoadBalancerId: "String",
373
+ State: "String",
374
+ },
375
+ },
376
+ SetLoadBalancerName: {
377
+ url: "/",
378
+ method: "POST",
379
+ config: {
380
+ query: {
381
+ Version: "2025-04-30",
382
+ Action: "SetLoadBalancerName",
383
+ },
384
+ headers: {
385
+ "Content-Type": "application/x-www-form-urlencoded",
386
+ },
387
+ },
388
+ paramsType: {
389
+ LoadBalancerId: "String",
390
+ LoadBalancerName: "String",
391
+ },
392
+ },
393
+ DescribeLoadBalancers: {
394
+ url: "/",
395
+ method: "POST",
396
+ config: {
397
+ query: {
398
+ Version: "2025-04-30",
399
+ Action: "DescribeLoadBalancers",
400
+ },
401
+ headers: {
402
+ "Content-Type": "application/x-www-form-urlencoded",
403
+ },
404
+ },
405
+ paramsType: {
406
+ LoadBalancerId: "Filter",
407
+ Filter: "Filter",
408
+ IsContainTag: "Boolean",
409
+ TagKey: "Filter",
410
+ TagKV: "Filter",
411
+ ProjectId: "Filter",
412
+ MaxResults: "Int",
413
+ NextToken: "String",
414
+ },
415
+ },
416
+ DeleteLoadBalancer: {
417
+ url: "/",
418
+ method: "GET",
419
+ config: {
420
+ query: {
421
+ Version: "2025-04-30",
422
+ Action: "DeleteLoadBalancer",
423
+ },
424
+ headers: {
425
+ "Content-Type": "application/x-www-form-urlencoded",
426
+ },
427
+ },
428
+ paramsType: {
429
+ LoadBalancerId: "String",
430
+ },
431
+ },
432
+ CreateLoadBalancer: {
433
+ url: "/",
434
+ method: "GET",
435
+ config: {
436
+ query: {
437
+ Version: "2025-04-30",
438
+ Action: "CreateLoadBalancer",
439
+ },
440
+ headers: {
441
+ "Content-Type": "application/x-www-form-urlencoded",
442
+ },
443
+ },
444
+ paramsType: {
445
+ LoadBalancerName: "String",
446
+ LoadBalancerVersion: "String",
447
+ LoadBalancerType: "String",
448
+ VpcId: "String",
449
+ IpVersion: "String",
450
+ ProjectId: "String",
451
+ AllocationId: "String",
452
+ ChargeType: "String",
453
+ SubnetId: "String",
454
+ PrivateIpAddress: "String",
455
+ EnabledQuic: "Boolean",
456
+ EnableHpa: "Boolean",
457
+ ProtocolLayers: "String",
458
+ DeleteProtection: "String",
459
+ ModificationProtection: "String",
460
+ },
461
+ },
462
+ ModifyCertificateWithGroup: {
463
+ url: "/",
464
+ method: "GET",
465
+ config: {
466
+ query: {
467
+ Version: "2025-04-30",
468
+ Action: "ModifyCertificateWithGroup",
469
+ },
470
+ headers: {
471
+ "Content-Type": "application/x-www-form-urlencoded",
472
+ },
473
+ },
474
+ paramsType: {
475
+ ListenerCertGroupId: "String",
476
+ OldCertificateId: "String",
477
+ CertificateId: "String",
478
+ },
479
+ },
480
+ DissociateCertificateWithGroup: {
481
+ url: "/",
482
+ method: "GET",
483
+ config: {
484
+ query: {
485
+ Version: "2025-04-30",
486
+ Action: "DissociateCertificateWithGroup",
487
+ },
488
+ headers: {
489
+ "Content-Type": "application/x-www-form-urlencoded",
490
+ },
491
+ },
492
+ paramsType: {
493
+ ListenerCertGroupId: "String",
494
+ CertificateId: "String",
495
+ },
496
+ },
497
+ AssociateCertificateWithGroup: {
498
+ url: "/",
499
+ method: "GET",
500
+ config: {
501
+ query: {
502
+ Version: "2025-04-30",
503
+ Action: "AssociateCertificateWithGroup",
504
+ },
505
+ headers: {
506
+ "Content-Type": "application/x-www-form-urlencoded",
507
+ },
508
+ },
509
+ paramsType: {
510
+ ListenerCertGroupId: "String",
511
+ CertificateId: "String",
512
+ },
513
+ },
514
+ DescribeListenerCertGroups: {
515
+ url: "/",
516
+ method: "GET",
517
+ config: {
518
+ query: {
519
+ Version: "2025-04-30",
520
+ Action: "DescribeListenerCertGroups",
521
+ },
522
+ headers: {
523
+ "Content-Type": "application/x-www-form-urlencoded",
524
+ },
525
+ },
526
+ paramsType: {
527
+ ListenerCertGroupId: "Filter",
528
+ Filter: "Filter",
529
+ MaxResults: "Int",
530
+ NextToken: "String",
531
+ },
532
+ },
533
+ DeleteListenerCertGroup: {
534
+ url: "/",
535
+ method: "GET",
536
+ config: {
537
+ query: {
538
+ Version: "2025-04-30",
539
+ Action: "DeleteListenerCertGroup",
540
+ },
541
+ headers: {
542
+ "Content-Type": "application/x-www-form-urlencoded",
543
+ },
544
+ },
545
+ paramsType: {
546
+ ListenerCertGroupId: "String",
547
+ },
548
+ },
549
+ CreateListenerCertGroup: {
550
+ url: "/",
551
+ method: "GET",
552
+ config: {
553
+ query: {
554
+ Version: "2025-04-30",
555
+ Action: "CreateListenerCertGroup",
556
+ },
557
+ headers: {
558
+ "Content-Type": "application/x-www-form-urlencoded",
559
+ },
560
+ },
561
+ paramsType: {
562
+ ListenerId: "String",
563
+ },
564
+ },
565
+ AddRules: {
566
+ url: "/",
567
+ method: "POST",
568
+ config: {
569
+ query: {
570
+ Version: "2025-04-30",
571
+ Action: "AddRules",
572
+ },
573
+ headers: {
574
+ "Content-Type": "application/json",
575
+ },
576
+ },
577
+ paramsType: {
578
+ RuleGroupId: "String",
579
+ RuleType: "String",
580
+ RuleValue: "String",
581
+ MethodValue: "Array",
582
+ SourceIpValue: "Array",
583
+ HeaderValue: "Array",
584
+ QueryValue: "Array",
585
+ CookieValue: "Array",
586
+ },
587
+ },
588
+ DeleteRule: {
589
+ url: "/",
590
+ method: "GET",
591
+ config: {
592
+ query: {
593
+ Version: "2025-04-30",
594
+ Action: "DeleteRule",
595
+ },
596
+ headers: {
597
+ "Content-Type": "application/x-www-form-urlencoded",
598
+ },
599
+ },
600
+ paramsType: {
601
+ RuleGroupId: "String",
602
+ RuleType: "String",
603
+ RuleValue: "String",
604
+ },
605
+ },
606
+ AddRule: {
607
+ url: "/",
608
+ method: "GET",
609
+ config: {
610
+ query: {
611
+ Version: "2025-04-30",
612
+ Action: "AddRule",
613
+ },
614
+ headers: {
615
+ "Content-Type": "application/x-www-form-urlencoded",
616
+ },
617
+ },
618
+ paramsType: {
619
+ RuleGroupId: "String",
620
+ RuleType: "String",
621
+ RuleValue: "String",
622
+ },
623
+ },
624
+ ModifyRuleGroup: {
625
+ url: "/",
626
+ method: "POST",
627
+ config: {
628
+ query: {
629
+ Version: "2025-04-30",
630
+ Action: "ModifyRuleGroup",
631
+ },
632
+ headers: {
633
+ "Content-Type": "application/json",
634
+ },
635
+ },
636
+ paramsType: {
637
+ RuleGroupId: "String",
638
+ RuleGroupName: "String",
639
+ BackendServerGroupId: "String",
640
+ Type: "String",
641
+ RuleSet: "Array",
642
+ RedirectListenerId: "String",
643
+ RedirectHttpCode: "String",
644
+ FixedResponseConfig: "Object",
645
+ RewriteConfig: "Object",
646
+ },
647
+ },
648
+ DescribeRuleGroups: {
649
+ url: "/",
650
+ method: "GET",
651
+ config: {
652
+ query: {
653
+ Version: "2025-04-30",
654
+ Action: "DescribeRuleGroups",
655
+ },
656
+ headers: {
657
+ "Content-Type": "application/x-www-form-urlencoded",
658
+ },
659
+ },
660
+ paramsType: {
661
+ RuleGroupId: "Filter",
662
+ Filter: "Filter",
663
+ MaxResults: "Int",
664
+ NextToken: "String",
665
+ },
666
+ },
667
+ DeleteRuleGroup: {
668
+ url: "/",
669
+ method: "GET",
670
+ config: {
671
+ query: {
672
+ Version: "2025-04-30",
673
+ Action: "DeleteRuleGroup",
674
+ },
675
+ headers: {
676
+ "Content-Type": "application/x-www-form-urlencoded",
677
+ },
678
+ },
679
+ paramsType: {
680
+ RuleGroupId: "String",
681
+ },
682
+ },
683
+ CreateRuleGroup: {
684
+ url: "/",
685
+ method: "POST",
686
+ config: {
687
+ query: {
688
+ Version: "2025-04-30",
689
+ Action: "CreateRuleGroup",
690
+ },
691
+ headers: {
692
+ "Content-Type": "application/json",
693
+ },
694
+ },
695
+ paramsType: {
696
+ RuleGroupName: "String",
697
+ ListenerId: "String",
698
+ BackendServerGroupId: "String",
699
+ Type: "String",
700
+ RuleSet: "Array",
701
+ RedirectListenerId: "String",
702
+ RedirectHttpCode: "String",
703
+ FixedResponseConfig: "Object",
704
+ RewriteConfig: "Object",
705
+ },
706
+ },
707
+ SetLBModificationProtection: {
708
+ url: "/",
709
+ method: "GET",
710
+ config: {
711
+ query: {
712
+ Version: "2025-04-30",
713
+ Action: "SetLBModificationProtection",
714
+ },
715
+ headers: {
716
+ "Content-Type": "application/x-www-form-urlencoded",
717
+ },
718
+ },
719
+ paramsType: {
720
+ LoadBalancerId: "String",
721
+ ModificationProtection: "Boolean",
722
+ },
723
+ },
724
+ SetLBDeleteProtection: {
725
+ url: "/",
726
+ method: "GET",
727
+ config: {
728
+ query: {
729
+ Version: "2025-04-30",
730
+ Action: "SetLBDeleteProtection",
731
+ },
732
+ headers: {
733
+ "Content-Type": "application/x-www-form-urlencoded",
734
+ },
735
+ },
736
+ paramsType: {
737
+ LoadBalancerId: "String",
738
+ DeleteProtection: "Boolean",
739
+ },
740
+ },
741
+ };
742
+ };