ksyun-sdk-node 1.0.5 → 1.4.8

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 (133) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/dist/base/BaseClient.js +133 -52
  3. package/dist/index.js +9 -12
  4. package/dist/lib/fetch.js +4 -5
  5. package/dist/lib/sign.js +31 -33
  6. package/dist/lib/signautreV4.js +167 -0
  7. package/dist/service/Actiontrail/v20190401/index.js +34 -37
  8. package/dist/service/Aicp/v20240612/index.js +511 -0
  9. package/dist/service/Bill/v20180601/index.js +49 -88
  10. package/dist/service/Bill/v20220601/index.js +64 -0
  11. package/dist/service/Bill_union/v20200101/index.js +151 -77
  12. package/dist/service/Bill_union/v20221222/index.js +142 -0
  13. package/dist/service/Bill_union/v20250801/index.js +66 -0
  14. package/dist/service/Bws/v20160304/index.js +111 -94
  15. package/dist/service/Cdn/v20160901/index.js +89 -0
  16. package/dist/service/Cdn/v20200630/index.js +410 -0
  17. package/dist/service/Cdn/v20200901/index.js +162 -0
  18. package/dist/service/Cdn/v20211201/index.js +45 -0
  19. package/dist/service/Cdn/v20250503/index.js +71 -0
  20. package/dist/service/Cen/v20160304/index.js +460 -0
  21. package/dist/service/Clickhouse/v20210101/index.js +546 -0
  22. package/dist/service/Ebs/v20160304/index.js +265 -268
  23. package/dist/service/Eip/v20160304/index.js +104 -107
  24. package/dist/service/Epc/v20151101/index.js +1735 -784
  25. package/dist/service/Iam/v20151101/index.js +872 -711
  26. package/dist/service/Iam/v20240513/index.js +47 -0
  27. package/dist/service/Iam/v20240703/index.js +44 -0
  28. package/dist/service/Kad/v20161122/index.js +84 -87
  29. package/dist/service/Kce/v20180314/index.js +320 -0
  30. package/dist/service/Kce/v20190806/index.js +482 -0
  31. package/dist/service/Kce/v20201231/index.js +63 -0
  32. package/dist/service/Kcf/v20211215/index.js +203 -0
  33. package/dist/service/Kcm/v20160304/index.js +120 -0
  34. package/dist/service/Kcrs/v20211109/index.js +851 -0
  35. package/dist/service/Kcs/v20160701/index.js +1106 -0
  36. package/dist/service/Kcs/v20170401/index.js +81 -0
  37. package/dist/service/Kead/v20200101/index.js +28 -31
  38. package/dist/service/Kec/v20160304/index.js +1695 -1466
  39. package/dist/service/Kes/v20201215/index.js +171 -0
  40. package/dist/service/Ket/v20170101/index.js +141 -0
  41. package/dist/service/Kkms/v20160304/index.js +167 -0
  42. package/dist/service/Klog/v20200731/index.js +331 -0
  43. package/dist/service/Kls/v20170101/index.js +194 -0
  44. package/dist/service/Kmr/v20210902/index.js +422 -0
  45. package/dist/service/Kmr/v20231231/index.js +154 -0
  46. package/dist/service/Kmr/v20240814/index.js +370 -0
  47. package/dist/service/Krds/v20160701/index.js +1302 -0
  48. package/dist/service/Krds/v20200825/index.js +174 -0
  49. package/dist/service/Memcached/v20180627/index.js +249 -0
  50. package/dist/service/Mongodb/v20170101/index.js +516 -501
  51. package/dist/service/Monitor/v20100525/index.js +70 -0
  52. package/dist/service/Monitor/v20181114/index.js +49 -0
  53. package/dist/service/Monitor/v20210101/index.js +216 -0
  54. package/dist/service/Monitor/v20220101/index.js +58 -0
  55. package/dist/service/Monitor/v20250101/index.js +71 -0
  56. package/dist/service/Rabbitmq/v20191017/index.js +242 -0
  57. package/dist/service/Resourcemanager/v20210320/index.js +113 -116
  58. package/dist/service/Sks/v20151101/index.js +72 -75
  59. package/dist/service/Slb/v20160304/index.js +1299 -790
  60. package/dist/service/Sts/v20151101/index.js +26 -29
  61. package/dist/service/Tagv2/v20200901/index.js +174 -0
  62. package/dist/service/Tidb/v20210520/index.js +363 -0
  63. package/dist/service/Trade/v20200114/index.js +23 -26
  64. package/dist/service/Trade/v20200831/index.js +25 -28
  65. package/dist/service/Vpc/v20160304/index.js +2015 -1045
  66. package/dist/service/Waf/v20200707/index.js +248 -0
  67. package/example/iam.js +2 -1
  68. package/example/res.js +2 -1
  69. package/package.json +1 -1
  70. package/src/base/BaseClient.js +131 -35
  71. package/src/lib/signautreV4.js +166 -0
  72. package/src/service/Actiontrail/v20190401/index.js +42 -42
  73. package/src/service/Aicp/v20240612/index.js +503 -0
  74. package/src/service/Bill/v20180601/index.js +61 -102
  75. package/src/service/Bill/v20220601/index.js +56 -0
  76. package/src/service/Bill_union/v20200101/index.js +181 -109
  77. package/src/service/Bill_union/v20221222/index.js +134 -0
  78. package/src/service/Bill_union/v20250801/index.js +58 -0
  79. package/src/service/Bws/v20160304/index.js +139 -119
  80. package/src/service/Cdn/v20160901/index.js +81 -0
  81. package/src/service/Cdn/v20200630/index.js +402 -0
  82. package/src/service/Cdn/v20200901/index.js +154 -0
  83. package/src/service/Cdn/v20211201/index.js +37 -0
  84. package/src/service/Cdn/v20250503/index.js +63 -0
  85. package/src/service/Cen/v20160304/index.js +452 -0
  86. package/src/service/Clickhouse/v20210101/index.js +538 -0
  87. package/src/service/Ebs/v20160304/index.js +365 -368
  88. package/src/service/Eip/v20160304/index.js +135 -136
  89. package/src/service/Epc/v20151101/index.js +1984 -1033
  90. package/src/service/Iam/v20151101/index.js +1155 -993
  91. package/src/service/Iam/v20240513/index.js +39 -0
  92. package/src/service/Iam/v20240703/index.js +36 -0
  93. package/src/service/Kad/v20161122/index.js +112 -112
  94. package/src/service/Kce/v20180314/index.js +312 -0
  95. package/src/service/Kce/v20190806/index.js +474 -0
  96. package/src/service/Kce/v20201231/index.js +55 -0
  97. package/src/service/Kcf/v20211215/index.js +195 -0
  98. package/src/service/Kcm/v20160304/index.js +112 -0
  99. package/src/service/Kcrs/v20211109/index.js +843 -0
  100. package/src/service/Kcs/v20160701/index.js +1098 -0
  101. package/src/service/Kcs/v20170401/index.js +73 -0
  102. package/src/service/Kead/v20200101/index.js +36 -36
  103. package/src/service/Kec/v20160304/index.js +2061 -1838
  104. package/src/service/Kes/v20201215/index.js +163 -0
  105. package/src/service/Ket/v20170101/index.js +133 -0
  106. package/src/service/Kkms/v20160304/index.js +159 -0
  107. package/src/service/Klog/v20200731/index.js +323 -0
  108. package/src/service/Kls/v20170101/index.js +186 -0
  109. package/src/service/Kmr/v20210902/index.js +414 -0
  110. package/src/service/Kmr/v20231231/index.js +146 -0
  111. package/src/service/Kmr/v20240814/index.js +362 -0
  112. package/src/service/Krds/v20160701/index.js +1294 -0
  113. package/src/service/Krds/v20200825/index.js +166 -0
  114. package/src/service/Memcached/v20180627/index.js +241 -0
  115. package/src/service/Mongodb/v20170101/index.js +672 -654
  116. package/src/service/Monitor/v20100525/index.js +62 -0
  117. package/src/service/Monitor/v20181114/index.js +41 -0
  118. package/src/service/Monitor/v20210101/index.js +208 -0
  119. package/src/service/Monitor/v20220101/index.js +50 -0
  120. package/src/service/Monitor/v20250101/index.js +63 -0
  121. package/src/service/Rabbitmq/v20191017/index.js +234 -0
  122. package/src/service/Resourcemanager/v20210320/index.js +157 -158
  123. package/src/service/Sks/v20151101/index.js +95 -96
  124. package/src/service/Slb/v20160304/index.js +1471 -959
  125. package/src/service/Sts/v20151101/index.js +34 -34
  126. package/src/service/Tagv2/v20200901/index.js +166 -0
  127. package/src/service/Tidb/v20210520/index.js +355 -0
  128. package/src/service/Trade/v20200114/index.js +31 -31
  129. package/src/service/Trade/v20200831/index.js +33 -33
  130. package/src/service/Vpc/v20160304/index.js +2404 -1432
  131. package/src/service/Waf/v20200707/index.js +240 -0
  132. package/src/service/Bill_union/v20211209/index.js +0 -35
  133. package/src/service/Slb/v20171210/index.js +0 -39
@@ -0,0 +1,1098 @@
1
+ const BaseClient = require("../../../base/BaseClient.js");
2
+
3
+ module.exports = class Client extends BaseClient {
4
+ _baseConfig = {
5
+ protocol: "http://",
6
+ endpoint: "kcs.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: "kcs",
15
+ },
16
+ },
17
+ };
18
+ _apiList = {
19
+ CreateCacheCluster: {
20
+ url: "/",
21
+ method: "POST",
22
+ config: {
23
+ query: {
24
+ Version: "2016-07-01",
25
+ Action: "CreateCacheCluster",
26
+ },
27
+ headers: {
28
+ "Content-Type": "application/x-www-form-urlencoded",
29
+ },
30
+ },
31
+ paramsType: {
32
+ AvailableZone: "String",
33
+ Name: "String",
34
+ PassWord: "String",
35
+ Mode: "Int",
36
+ Vip: "String",
37
+ Capacity: "Int",
38
+ VpcId: "String",
39
+ VnetId: "String",
40
+ BillType: "Int",
41
+ Duration: "Int",
42
+ IamProjectId: "String",
43
+ Protocol: "String",
44
+ BackupTimezone: "String",
45
+ SecurityGroupId: "String",
46
+ SlaveNum: "Int",
47
+ SlaveVip: "String",
48
+ PrepareAzName: "String",
49
+ RrAzName: "String",
50
+ ShardNum: "Int",
51
+ ShardSize: "Int",
52
+ Separation: "Int",
53
+ },
54
+ },
55
+ DeleteCacheCluster: {
56
+ url: "/",
57
+ method: "DELETE",
58
+ config: {
59
+ query: {
60
+ Version: "2016-07-01",
61
+ Action: "DeleteCacheCluster",
62
+ },
63
+ headers: {
64
+ "Content-Type": "application/json",
65
+ },
66
+ },
67
+ paramsType: {
68
+ AvailableZone: "String",
69
+ CacheId: "String",
70
+ },
71
+ },
72
+ DescribeCacheCluster: {
73
+ url: "/",
74
+ method: "GET",
75
+ config: {
76
+ query: {
77
+ Version: "2016-07-01",
78
+ Action: "DescribeCacheCluster",
79
+ },
80
+ headers: {
81
+ "Content-Type": "application/json",
82
+ },
83
+ },
84
+ paramsType: {
85
+ CacheId: "String",
86
+ AvailableZone: "String",
87
+ },
88
+ },
89
+ DescribeCacheClusters: {
90
+ url: "/",
91
+ method: "GET",
92
+ config: {
93
+ query: {
94
+ Version: "2016-07-01",
95
+ Action: "DescribeCacheClusters",
96
+ },
97
+ headers: {
98
+ "Content-Type": "application/json",
99
+ },
100
+ },
101
+ paramsType: {
102
+ AvailableZone: "String",
103
+ CacheId: "String",
104
+ Name: "String",
105
+ Vip: "String",
106
+ VpcId: "String",
107
+ VnetId: "String",
108
+ Offset: "String",
109
+ Limit: "String",
110
+ OrderBy: "String",
111
+ IamProjectId: "String",
112
+ FuzzySearch: "String",
113
+ Protocol: "String",
114
+ TagKey: "String",
115
+ TagValue: "String",
116
+ Mode: "String",
117
+ },
118
+ },
119
+ FlushCacheCluster: {
120
+ url: "/",
121
+ method: "PUT",
122
+ config: {
123
+ query: {
124
+ Version: "2016-07-01",
125
+ Action: "FlushCacheCluster",
126
+ },
127
+ headers: {
128
+ "Content-Type": "application/json",
129
+ },
130
+ },
131
+ paramsType: {
132
+ AvailableZone: "String",
133
+ CacheId: "String",
134
+ DatabaseNo: "String",
135
+ },
136
+ },
137
+ RenameCacheCluster: {
138
+ url: "/",
139
+ method: "PUT",
140
+ config: {
141
+ query: {
142
+ Version: "2016-07-01",
143
+ Action: "RenameCacheCluster",
144
+ },
145
+ headers: {
146
+ "Content-Type": "application/json",
147
+ },
148
+ },
149
+ paramsType: {
150
+ AvailableZone: "String",
151
+ CacheId: "String",
152
+ Name: "String",
153
+ },
154
+ },
155
+ ResizeCacheCluster: {
156
+ url: "/",
157
+ method: "PUT",
158
+ config: {
159
+ query: {
160
+ Version: "2016-07-01",
161
+ Action: "ResizeCacheCluster",
162
+ },
163
+ headers: {
164
+ "Content-Type": "application/json",
165
+ },
166
+ },
167
+ paramsType: {
168
+ AvailableZone: "String",
169
+ CacheId: "String",
170
+ Capacity: "Int",
171
+ ShardSize: "Int",
172
+ ShardNum: "Int",
173
+ },
174
+ },
175
+ DescribeCacheParameters: {
176
+ url: "/",
177
+ method: "GET",
178
+ config: {
179
+ query: {
180
+ Version: "2016-07-01",
181
+ Action: "DescribeCacheParameters",
182
+ },
183
+ headers: {
184
+ "Content-Type": "application/json",
185
+ },
186
+ },
187
+ paramsType: {
188
+ AvailableZone: "String",
189
+ CacheId: "String",
190
+ },
191
+ },
192
+ SetCacheParameters: {
193
+ url: "/",
194
+ method: "PUT",
195
+ config: {
196
+ query: {
197
+ Version: "2016-07-01",
198
+ Action: "SetCacheParameters",
199
+ },
200
+ headers: {
201
+ "Content-Type": "application/json",
202
+ },
203
+ },
204
+ paramsType: {
205
+ AvailableZone: "String",
206
+ CacheId: "String",
207
+ Protocol: "String",
208
+ "Parameters.ParameterName": "Filter",
209
+ "Parameters.ParameterValue": "Filter",
210
+ ResetAllParameters: "Boolean",
211
+ },
212
+ },
213
+ DescribeCacheDefaultParameters: {
214
+ url: "/",
215
+ method: "GET",
216
+ config: {
217
+ query: {
218
+ Version: "2016-07-01",
219
+ Action: "DescribeCacheDefaultParameters",
220
+ },
221
+ headers: {
222
+ "Content-Type": "application/json",
223
+ },
224
+ },
225
+ paramsType: {
226
+ AvailableZone: "String",
227
+ ParamVersion: "String",
228
+ },
229
+ },
230
+ SetCacheParameterGroup: {
231
+ url: "/",
232
+ method: "PUT",
233
+ config: {
234
+ query: {
235
+ Version: "2016-07-01",
236
+ Action: "SetCacheParameterGroup",
237
+ },
238
+ headers: {
239
+ "Content-Type": "application/json",
240
+ },
241
+ },
242
+ paramsType: {
243
+ AvailableZone: "String",
244
+ CacheParameterGroupId: "String",
245
+ CacheId: "String",
246
+ },
247
+ },
248
+ CreateCacheParameterGroup: {
249
+ url: "/",
250
+ method: "POST",
251
+ config: {
252
+ query: {
253
+ Version: "2016-07-01",
254
+ Action: "CreateCacheParameterGroup",
255
+ },
256
+ headers: {
257
+ "Content-Type": "application/x-www-form-urlencoded",
258
+ },
259
+ },
260
+ paramsType: {
261
+ AvailableZone: "String",
262
+ Name: "String",
263
+ Description: "String",
264
+ ParamVersion: "String",
265
+ Parameters: "Filter",
266
+ },
267
+ },
268
+ DeleteCacheParameterGroup: {
269
+ url: "/",
270
+ method: "DELETE",
271
+ config: {
272
+ query: {
273
+ Version: "2016-07-01",
274
+ Action: "DeleteCacheParameterGroup",
275
+ },
276
+ headers: {
277
+ "Content-Type": "application/json",
278
+ },
279
+ },
280
+ paramsType: {
281
+ AvailableZone: "String",
282
+ CacheParameterGroupId: "String",
283
+ },
284
+ },
285
+ ModifyCacheParameterGroup: {
286
+ url: "/",
287
+ method: "PUT",
288
+ config: {
289
+ query: {
290
+ Version: "2016-07-01",
291
+ Action: "ModifyCacheParameterGroup",
292
+ },
293
+ headers: {
294
+ "Content-Type": "application/json",
295
+ },
296
+ },
297
+ paramsType: {
298
+ AvailableZone: "String",
299
+ Name: "String",
300
+ Description: "String",
301
+ ParamVersion: "String",
302
+ CacheParameterGroupId: "String",
303
+ Parameters: "Filter",
304
+ },
305
+ },
306
+ DescribeCacheParameterGroups: {
307
+ url: "/",
308
+ method: "GET",
309
+ config: {
310
+ query: {
311
+ Version: "2016-07-01",
312
+ Action: "DescribeCacheParameterGroups",
313
+ },
314
+ headers: {
315
+ "Content-Type": "application/json",
316
+ },
317
+ },
318
+ paramsType: {
319
+ AvailableZone: "String",
320
+ Name: "String",
321
+ CacheParameterGroupId: "String",
322
+ ParamVersion: "String",
323
+ Offset: "String",
324
+ Limit: "String",
325
+ },
326
+ },
327
+ DescribeCacheParameterGroup: {
328
+ url: "/",
329
+ method: "GET",
330
+ config: {
331
+ query: {
332
+ Version: "2016-07-01",
333
+ Action: "DescribeCacheParameterGroup",
334
+ },
335
+ headers: {
336
+ "Content-Type": "application/json",
337
+ },
338
+ },
339
+ paramsType: {
340
+ AvailableZone: "String",
341
+ CacheParameterGroupId: "String",
342
+ },
343
+ },
344
+ SetTimingSnapshot: {
345
+ url: "/",
346
+ method: "PUT",
347
+ config: {
348
+ query: {
349
+ Version: "2016-07-01",
350
+ Action: "SetTimingSnapshot",
351
+ },
352
+ headers: {
353
+ "Content-Type": "application/json",
354
+ },
355
+ },
356
+ paramsType: {
357
+ AvailableZone: "String",
358
+ TimingSwitch: "String",
359
+ CacheId: "String",
360
+ Timezone: "String",
361
+ Bigkey: "Boolean",
362
+ },
363
+ },
364
+ DeleteSnapshot: {
365
+ url: "/",
366
+ method: "DELETE",
367
+ config: {
368
+ query: {
369
+ Version: "2016-07-01",
370
+ Action: "DeleteSnapshot",
371
+ },
372
+ headers: {
373
+ "Content-Type": "application/json",
374
+ },
375
+ },
376
+ paramsType: {
377
+ AvailableZone: "String",
378
+ SnapshotId: "String",
379
+ },
380
+ },
381
+ RenameSnapshot: {
382
+ url: "/",
383
+ method: "PUT",
384
+ config: {
385
+ query: {
386
+ Version: "2016-07-01",
387
+ Action: "RenameSnapshot",
388
+ },
389
+ headers: {
390
+ "Content-Type": "application/json",
391
+ },
392
+ },
393
+ paramsType: {
394
+ AvailableZone: "String",
395
+ Name: "String",
396
+ SnapshotId: "String",
397
+ },
398
+ },
399
+ RestoreSnapshot: {
400
+ url: "/",
401
+ method: "PUT",
402
+ config: {
403
+ query: {
404
+ Version: "2016-07-01",
405
+ Action: "RestoreSnapshot",
406
+ },
407
+ headers: {
408
+ "Content-Type": "application/json",
409
+ },
410
+ },
411
+ paramsType: {
412
+ AvailableZone: "String",
413
+ Cacheld: "String",
414
+ Type: "String",
415
+ SnapshotId: "String",
416
+ BucketName: "String",
417
+ ObjectName: "String",
418
+ },
419
+ },
420
+ DescribeSnapshots: {
421
+ url: "/",
422
+ method: "GET",
423
+ config: {
424
+ query: {
425
+ Version: "2016-07-01",
426
+ Action: "DescribeSnapshots",
427
+ },
428
+ headers: {
429
+ "Content-Type": "application/json",
430
+ },
431
+ },
432
+ paramsType: {
433
+ AvailableZone: "String",
434
+ CacheId: "String",
435
+ },
436
+ },
437
+ DownloadSnapshot: {
438
+ url: "/",
439
+ method: "GET",
440
+ config: {
441
+ query: {
442
+ Version: "2016-07-01",
443
+ Action: "DownloadSnapshot",
444
+ },
445
+ headers: {
446
+ "Content-Type": "application/json",
447
+ },
448
+ },
449
+ paramsType: {
450
+ AvailableZone: "String",
451
+ SnapshotId: "String",
452
+ },
453
+ },
454
+ ExportSnapshot: {
455
+ url: "/",
456
+ method: "GET",
457
+ config: {
458
+ query: {
459
+ Version: "2016-07-01",
460
+ Action: "ExportSnapshot",
461
+ },
462
+ headers: {
463
+ "Content-Type": "application/json",
464
+ },
465
+ },
466
+ paramsType: {
467
+ AvailableZone: "String",
468
+ SnapshotId: "String",
469
+ BucketName: "String",
470
+ ObjectName: "String",
471
+ },
472
+ },
473
+ DescribeRegions: {
474
+ url: "/",
475
+ method: "GET",
476
+ config: {
477
+ query: {
478
+ Version: "2016-07-01",
479
+ Action: "DescribeRegions",
480
+ },
481
+ headers: {
482
+ "Content-Type": "application/json",
483
+ },
484
+ },
485
+ paramsType: {},
486
+ },
487
+ DescribeAvailabilityZones: {
488
+ url: "/",
489
+ method: "GET",
490
+ config: {
491
+ query: {
492
+ Version: "2016-07-01",
493
+ Action: "DescribeAvailabilityZones",
494
+ },
495
+ headers: {
496
+ "Content-Type": "application/json",
497
+ },
498
+ },
499
+ paramsType: {},
500
+ },
501
+ DescribeCacheByRole: {
502
+ url: "/",
503
+ method: "GET",
504
+ config: {
505
+ query: {
506
+ Version: "2016-07-01",
507
+ Action: "DescribeCacheByRole",
508
+ },
509
+ headers: {
510
+ "Content-Type": "application/json",
511
+ },
512
+ },
513
+ paramsType: {
514
+ AvailableZone: "String",
515
+ CacheId: "String",
516
+ Proxy: "String",
517
+ },
518
+ },
519
+ StatisticDBInstances: {
520
+ url: "/",
521
+ method: "GET",
522
+ config: {
523
+ query: {
524
+ Version: "2016-07-01",
525
+ Action: "StatisticDBInstances",
526
+ },
527
+ headers: {
528
+ "Content-Type": "application/json",
529
+ },
530
+ },
531
+ paramsType: {},
532
+ },
533
+ UpdatePassword: {
534
+ url: "/",
535
+ method: "PUT",
536
+ config: {
537
+ query: {
538
+ Version: "2016-07-01",
539
+ Action: "UpdatePassword",
540
+ },
541
+ headers: {
542
+ "Content-Type": "application/json",
543
+ },
544
+ },
545
+ paramsType: {
546
+ AvailableZone: "String",
547
+ CacheId: "String",
548
+ Password: "String",
549
+ },
550
+ },
551
+ RestartCacheCluster: {
552
+ url: "/",
553
+ method: "POST",
554
+ config: {
555
+ query: {
556
+ Version: "2016-07-01",
557
+ Action: "RestartCacheCluster",
558
+ },
559
+ headers: {
560
+ "Content-Type": "application/x-www-form-urlencoded",
561
+ },
562
+ },
563
+ paramsType: {
564
+ AvailableZone: "String",
565
+ CacheId: "String",
566
+ },
567
+ },
568
+ AllocateEip: {
569
+ url: "/",
570
+ method: "POST",
571
+ config: {
572
+ query: {
573
+ Version: "2016-07-01",
574
+ Action: "AllocateEip",
575
+ },
576
+ headers: {
577
+ "Content-Type": "application/x-www-form-urlencoded",
578
+ },
579
+ },
580
+ paramsType: {
581
+ AvailableZone: "String",
582
+ CacheId: "String",
583
+ InsType: "String",
584
+ },
585
+ },
586
+ DeallocateEip: {
587
+ url: "/",
588
+ method: "POST",
589
+ config: {
590
+ query: {
591
+ Version: "2016-07-01",
592
+ Action: "DeallocateEip",
593
+ },
594
+ headers: {
595
+ "Content-Type": "application/x-www-form-urlencoded",
596
+ },
597
+ },
598
+ paramsType: {
599
+ AvailableZone: "String",
600
+ CacheId: "String",
601
+ InsType: "String",
602
+ },
603
+ },
604
+ DescribeInstances: {
605
+ url: "/",
606
+ method: "GET",
607
+ config: {
608
+ query: {
609
+ Version: "2016-07-01",
610
+ Action: "DescribeInstances",
611
+ },
612
+ headers: {
613
+ "Content-Type": "application/json",
614
+ },
615
+ },
616
+ paramsType: {
617
+ AvailableZone: "String",
618
+ SecurityGroupId: "String",
619
+ Offset: "Int",
620
+ Limit: "Int",
621
+ FilterCache: "Boolean",
622
+ SearchKey: "String",
623
+ },
624
+ },
625
+ DeleteSecurityGroupRule: {
626
+ url: "/",
627
+ method: "POST",
628
+ config: {
629
+ query: {
630
+ Version: "2016-07-01",
631
+ Action: "DeleteSecurityGroupRule",
632
+ },
633
+ headers: {
634
+ "Content-Type": "application/x-www-form-urlencoded",
635
+ },
636
+ },
637
+ paramsType: {
638
+ AvailableZone: "String",
639
+ SecurityGroupId: "String",
640
+ SecurityGroupRuleId: "Filter",
641
+ },
642
+ },
643
+ CreateSecurityGroupRule: {
644
+ url: "/",
645
+ method: "POST",
646
+ config: {
647
+ query: {
648
+ Version: "2016-07-01",
649
+ Action: "CreateSecurityGroupRule",
650
+ },
651
+ headers: {
652
+ "Content-Type": "application/x-www-form-urlencoded",
653
+ },
654
+ },
655
+ paramsType: {
656
+ AvailableZone: "String",
657
+ Cidrs: "Filter",
658
+ SecurityGroupId: "String",
659
+ },
660
+ },
661
+ DeallocateSecurityGroup: {
662
+ url: "/",
663
+ method: "POST",
664
+ config: {
665
+ query: {
666
+ Version: "2016-07-01",
667
+ Action: "DeallocateSecurityGroup",
668
+ },
669
+ headers: {
670
+ "Content-Type": "application/x-www-form-urlencoded",
671
+ },
672
+ },
673
+ paramsType: {
674
+ AvailableZone: "String",
675
+ CacheId: "Filter",
676
+ SecurityGroupId: "String",
677
+ },
678
+ },
679
+ AllocateSecurityGroup: {
680
+ url: "/",
681
+ method: "POST",
682
+ config: {
683
+ query: {
684
+ Version: "2016-07-01",
685
+ Action: "AllocateSecurityGroup",
686
+ },
687
+ headers: {
688
+ "Content-Type": "application/x-www-form-urlencoded",
689
+ },
690
+ },
691
+ paramsType: {
692
+ AvailableZone: "String",
693
+ CacheId: "Filter",
694
+ SecurityGroupId: "Filter",
695
+ },
696
+ },
697
+ DescribeSecurityGroup: {
698
+ url: "/",
699
+ method: "GET",
700
+ config: {
701
+ query: {
702
+ Version: "2016-07-01",
703
+ Action: "DescribeSecurityGroup",
704
+ },
705
+ headers: {
706
+ "Content-Type": "application/json",
707
+ },
708
+ },
709
+ paramsType: {
710
+ AvailableZone: "String",
711
+ SecurityGroupId: "String",
712
+ SearchKey: "String",
713
+ Offset: "String",
714
+ Limit: "Int",
715
+ },
716
+ },
717
+ DescribeSecurityGroups: {
718
+ url: "/",
719
+ method: "GET",
720
+ config: {
721
+ query: {
722
+ Version: "2016-07-01",
723
+ Action: "DescribeSecurityGroups",
724
+ },
725
+ headers: {
726
+ "Content-Type": "application/json",
727
+ },
728
+ },
729
+ paramsType: {
730
+ AvailableZone: "String",
731
+ Offset: "String",
732
+ Limit: "Int",
733
+ CacheId: "String",
734
+ FilterCache: "Boolean",
735
+ SearchKey: "String",
736
+ },
737
+ },
738
+ ModifySecurityGroup: {
739
+ url: "/",
740
+ method: "POST",
741
+ config: {
742
+ query: {
743
+ Version: "2016-07-01",
744
+ Action: "ModifySecurityGroup",
745
+ },
746
+ headers: {
747
+ "Content-Type": "application/x-www-form-urlencoded",
748
+ },
749
+ },
750
+ paramsType: {
751
+ AvailableZone: "String",
752
+ Name: "String",
753
+ Description: "String",
754
+ SecurityGroupId: "String",
755
+ },
756
+ },
757
+ DeleteSecurityGroup: {
758
+ url: "/",
759
+ method: "POST",
760
+ config: {
761
+ query: {
762
+ Version: "2016-07-01",
763
+ Action: "DeleteSecurityGroup",
764
+ },
765
+ headers: {
766
+ "Content-Type": "application/x-www-form-urlencoded",
767
+ },
768
+ },
769
+ paramsType: {
770
+ AvailableZone: "String",
771
+ SecurityGroupId: "Filter",
772
+ },
773
+ },
774
+ CloneSecurityGroup: {
775
+ url: "/",
776
+ method: "POST",
777
+ config: {
778
+ query: {
779
+ Version: "2016-07-01",
780
+ Action: "CloneSecurityGroup",
781
+ },
782
+ headers: {
783
+ "Content-Type": "application/x-www-form-urlencoded",
784
+ },
785
+ },
786
+ paramsType: {
787
+ AvailableZone: "String",
788
+ Name: "String",
789
+ Description: "String",
790
+ SrcSecurityGroupId: "String",
791
+ },
792
+ },
793
+ CreateSecurityGroup: {
794
+ url: "/",
795
+ method: "POST",
796
+ config: {
797
+ query: {
798
+ Version: "2016-07-01",
799
+ Action: "CreateSecurityGroup",
800
+ },
801
+ headers: {
802
+ "Content-Type": "application/x-www-form-urlencoded",
803
+ },
804
+ },
805
+ paramsType: {
806
+ AvailableZone: "String",
807
+ Name: "String",
808
+ Description: "String",
809
+ },
810
+ },
811
+ DescribeHotKeys: {
812
+ url: "/",
813
+ method: "GET",
814
+ config: {
815
+ query: {
816
+ Version: "2016-07-01",
817
+ Action: "DescribeHotKeys",
818
+ },
819
+ headers: {
820
+ "Content-Type": "application/json",
821
+ },
822
+ },
823
+ paramsType: {
824
+ AvailableZone: "String",
825
+ CacheId: "String",
826
+ Limit: "Int",
827
+ Offset: "Int",
828
+ SortKey: "String",
829
+ SortDir: "String",
830
+ },
831
+ },
832
+ AnalyzeHotKeys: {
833
+ url: "/",
834
+ method: "GET",
835
+ config: {
836
+ query: {
837
+ Version: "2016-07-01",
838
+ Action: "AnalyzeHotKeys",
839
+ },
840
+ headers: {
841
+ "Content-Type": "application/json",
842
+ },
843
+ },
844
+ paramsType: {
845
+ AvailableZone: "String",
846
+ CacheId: "String",
847
+ },
848
+ },
849
+ CloseDirectAccessToCluster: {
850
+ url: "/",
851
+ method: "GET",
852
+ config: {
853
+ query: {
854
+ Version: "2016-07-01",
855
+ Action: "CloseDirectAccessToCluster",
856
+ },
857
+ headers: {
858
+ "Content-Type": "application/json",
859
+ },
860
+ },
861
+ paramsType: {
862
+ AvailableZone: "String",
863
+ CacheId: "String",
864
+ },
865
+ },
866
+ OpenDirectAccessToCluster: {
867
+ url: "/",
868
+ method: "GET",
869
+ config: {
870
+ query: {
871
+ Version: "2016-07-01",
872
+ Action: "OpenDirectAccessToCluster",
873
+ },
874
+ headers: {
875
+ "Content-Type": "application/json",
876
+ },
877
+ },
878
+ paramsType: {
879
+ AvailableZone: "String",
880
+ CacheId: "String",
881
+ SubnetId: "String",
882
+ VpcId: "String",
883
+ },
884
+ },
885
+ DescribeParentBackUpsSnapshots: {
886
+ url: "/",
887
+ method: "GET",
888
+ config: {
889
+ query: {
890
+ Version: "2016-07-01",
891
+ Action: "DescribeParentBackUpsSnapshots",
892
+ },
893
+ headers: {
894
+ "Content-Type": "application/json",
895
+ },
896
+ },
897
+ paramsType: {
898
+ CacheId: "String",
899
+ },
900
+ },
901
+ DescribeBackUpsSnapshotsDetail: {
902
+ url: "/",
903
+ method: "GET",
904
+ config: {
905
+ query: {
906
+ Version: "2016-07-01",
907
+ Action: "DescribeBackUpsSnapshotsDetail",
908
+ },
909
+ headers: {
910
+ "Content-Type": "application/json",
911
+ },
912
+ },
913
+ paramsType: {
914
+ CacheId: "String",
915
+ SnapshotId: "String",
916
+ },
917
+ },
918
+ DeleteLevelSnapshots: {
919
+ url: "/",
920
+ method: "DELETE",
921
+ config: {
922
+ query: {
923
+ Version: "2016-07-01",
924
+ Action: "DeleteLevelSnapshots",
925
+ },
926
+ headers: {
927
+ "Content-Type": "application/json",
928
+ },
929
+ },
930
+ paramsType: {
931
+ CacheId: "String",
932
+ SnapshotId: "String",
933
+ },
934
+ },
935
+ DownloadLevelSnapshot: {
936
+ url: "/",
937
+ method: "POST",
938
+ config: {
939
+ query: {
940
+ Version: "2016-07-01",
941
+ Action: "DownloadLevelSnapshot",
942
+ },
943
+ headers: {
944
+ "Content-Type": "application/x-www-form-urlencoded",
945
+ },
946
+ },
947
+ paramsType: {
948
+ CacheId: "String",
949
+ SnapshotId: "String",
950
+ },
951
+ },
952
+ DescribeBigKeys: {
953
+ url: "/",
954
+ method: "GET",
955
+ config: {
956
+ query: {
957
+ Version: "2016-07-01",
958
+ Action: "DescribeBigKeys",
959
+ },
960
+ headers: {
961
+ "Content-Type": "application/json",
962
+ },
963
+ },
964
+ paramsType: {
965
+ CacheId: "String",
966
+ },
967
+ },
968
+ DeleteBigKeysAnalyseResult: {
969
+ url: "/",
970
+ method: "DELETE",
971
+ config: {
972
+ query: {
973
+ Version: "2016-07-01",
974
+ Action: "DeleteBigKeysAnalyseResult",
975
+ },
976
+ headers: {
977
+ "Content-Type": "application/json",
978
+ },
979
+ },
980
+ paramsType: {
981
+ CacheId: "String",
982
+ TaskId: "String",
983
+ },
984
+ },
985
+ AnalyzeBigKeys: {
986
+ url: "/",
987
+ method: "GET",
988
+ config: {
989
+ query: {
990
+ Version: "2016-07-01",
991
+ Action: "AnalyzeBigKeys",
992
+ },
993
+ headers: {
994
+ "Content-Type": "application/json",
995
+ },
996
+ },
997
+ paramsType: {
998
+ TaskId: "String",
999
+ QueryType: "Int",
1000
+ },
1001
+ },
1002
+ DescribeCreateSnapshotStatus: {
1003
+ url: "/",
1004
+ method: "GET",
1005
+ config: {
1006
+ query: {
1007
+ Version: "2016-07-01",
1008
+ Action: "DescribeCreateSnapshotStatus",
1009
+ },
1010
+ headers: {
1011
+ "Content-Type": "application/json",
1012
+ },
1013
+ },
1014
+ paramsType: {
1015
+ CacheId: "String",
1016
+ },
1017
+ },
1018
+ GetDailyAnalyzeSwitchState: {
1019
+ url: "/",
1020
+ method: "POST",
1021
+ config: {
1022
+ query: {
1023
+ Version: "2016-07-01",
1024
+ Action: "GetDailyAnalyzeSwitchState",
1025
+ },
1026
+ headers: {
1027
+ "Content-Type": "application/x-www-form-urlencoded",
1028
+ },
1029
+ },
1030
+ paramsType: {
1031
+ CacheId: "String",
1032
+ },
1033
+ },
1034
+ AnalyzeDaily: {
1035
+ url: "/",
1036
+ method: "POST",
1037
+ config: {
1038
+ query: {
1039
+ Version: "2016-07-01",
1040
+ Action: "AnalyzeDaily",
1041
+ },
1042
+ headers: {
1043
+ "Content-Type": "application/x-www-form-urlencoded",
1044
+ },
1045
+ },
1046
+ paramsType: {
1047
+ CacheId: "String",
1048
+ StartQueryTime: "String",
1049
+ EndQueryTime: "String",
1050
+ PageNum: "String",
1051
+ PageSize: "String",
1052
+ ShardId: "String",
1053
+ OperationType: "String",
1054
+ },
1055
+ },
1056
+ AnalyzeSlowDaily: {
1057
+ url: "/",
1058
+ method: "POST",
1059
+ config: {
1060
+ query: {
1061
+ Version: "2016-07-01",
1062
+ Action: "AnalyzeSlowDaily",
1063
+ },
1064
+ headers: {
1065
+ "Content-Type": "application/x-www-form-urlencoded",
1066
+ },
1067
+ },
1068
+ paramsType: {
1069
+ CacheId: "String",
1070
+ StartQueryTime: "String",
1071
+ EndQueryTime: "String",
1072
+ PageNum: "Int",
1073
+ PageSize: "Int",
1074
+ ShardId: "String",
1075
+ IsProxy: "Boolean",
1076
+ OperationType: "String",
1077
+ },
1078
+ },
1079
+ AnalyzeDailySwitch: {
1080
+ url: "/",
1081
+ method: "POST",
1082
+ config: {
1083
+ query: {
1084
+ Version: "2016-07-01",
1085
+ Action: "AnalyzeDailySwitch",
1086
+ },
1087
+ headers: {
1088
+ "Content-Type": "application/x-www-form-urlencoded",
1089
+ },
1090
+ },
1091
+ paramsType: {
1092
+ CacheId: "String",
1093
+ ServiceLog: "Boolean",
1094
+ SlowLog: "Boolean",
1095
+ },
1096
+ },
1097
+ };
1098
+ };