ksyun-sdk-node 1.0.5 → 1.2.4

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 (99) hide show
  1. package/dist/base/BaseClient.js +90 -55
  2. package/dist/index.js +9 -12
  3. package/dist/lib/fetch.js +4 -5
  4. package/dist/lib/sign.js +31 -33
  5. package/dist/lib/signautreV4.js +167 -0
  6. package/dist/service/Actiontrail/v20190401/index.js +4 -7
  7. package/dist/service/Bill/v20180601/index.js +11 -50
  8. package/dist/service/Bill/v20220601/index.js +64 -0
  9. package/dist/service/Bill_union/v20200101/index.js +48 -10
  10. package/dist/service/Bill_union/v20221222/index.js +142 -0
  11. package/dist/service/Bws/v20160304/index.js +23 -6
  12. package/dist/service/Cdn/v20160901/index.js +42 -0
  13. package/dist/service/Cdn/v20200630/index.js +410 -0
  14. package/dist/service/Cdn/v20200901/index.js +162 -0
  15. package/dist/service/Cen/v20160304/index.js +460 -0
  16. package/dist/service/Clickhouse/v20210101/index.js +546 -0
  17. package/dist/service/Ebs/v20160304/index.js +3 -6
  18. package/dist/service/Eip/v20160304/index.js +3 -6
  19. package/dist/service/Epc/v20151101/index.js +36 -60
  20. package/dist/service/Iam/v20151101/index.js +61 -7
  21. package/dist/service/Kad/v20161122/index.js +3 -6
  22. package/dist/service/Kce/v20180314/index.js +320 -0
  23. package/dist/service/Kce/v20190806/index.js +482 -0
  24. package/dist/service/Kce/v20201231/index.js +63 -0
  25. package/dist/service/Kcf/v20211215/index.js +203 -0
  26. package/dist/service/Kcm/v20160304/index.js +120 -0
  27. package/dist/service/Kcrs/v20211109/index.js +851 -0
  28. package/dist/service/Kcs/v20160701/index.js +1106 -0
  29. package/dist/service/Kcs/v20170401/index.js +81 -0
  30. package/dist/service/Kead/v20200101/index.js +3 -6
  31. package/dist/service/Kec/v20160304/index.js +107 -42
  32. package/dist/service/Ket/v20170101/index.js +141 -0
  33. package/dist/service/Kkms/v20160304/index.js +167 -0
  34. package/dist/service/Klog/v20200731/index.js +804 -0
  35. package/dist/service/Kls/v20170101/index.js +194 -0
  36. package/dist/service/Krds/v20160701/index.js +1302 -0
  37. package/dist/service/Krds/v20200825/index.js +174 -0
  38. package/dist/service/Memcached/v20180627/index.js +249 -0
  39. package/dist/service/Mongodb/v20170101/index.js +22 -7
  40. package/dist/service/Monitor/v20100525/index.js +70 -0
  41. package/dist/service/Monitor/v20181114/index.js +49 -0
  42. package/dist/service/Monitor/v20210101/index.js +179 -0
  43. package/dist/service/Monitor/v20220101/index.js +68 -0
  44. package/dist/service/Rabbitmq/v20191017/index.js +242 -0
  45. package/dist/service/Resourcemanager/v20210320/index.js +3 -6
  46. package/dist/service/Sks/v20151101/index.js +3 -6
  47. package/dist/service/Slb/v20160304/index.js +517 -8
  48. package/dist/service/Sts/v20151101/index.js +4 -7
  49. package/dist/service/Tagv2/v20200901/index.js +174 -0
  50. package/dist/service/Tidb/v20210520/index.js +363 -0
  51. package/dist/service/Trade/v20200114/index.js +3 -6
  52. package/dist/service/Trade/v20200831/index.js +3 -6
  53. package/dist/service/Vpc/v20160304/index.js +239 -7
  54. package/dist/service/Waf/v20200707/index.js +248 -0
  55. package/package.json +1 -1
  56. package/src/base/BaseClient.js +85 -36
  57. package/src/lib/signautreV4.js +166 -0
  58. package/src/service/Actiontrail/v20190401/index.js +1 -1
  59. package/src/service/Bill/v20180601/index.js +6 -46
  60. package/src/service/Bill/v20220601/index.js +56 -0
  61. package/src/service/Bill_union/v20200101/index.js +37 -0
  62. package/src/service/Bill_union/v20221222/index.js +134 -0
  63. package/src/service/Bws/v20160304/index.js +20 -0
  64. package/src/service/{Bill_union/v20211209 → Cdn/v20160901}/index.js +6 -6
  65. package/src/service/Cdn/v20200630/index.js +402 -0
  66. package/src/service/Cdn/v20200901/index.js +154 -0
  67. package/src/service/Cen/v20160304/index.js +452 -0
  68. package/src/service/Clickhouse/v20210101/index.js +538 -0
  69. package/src/service/Ebs/v20160304/index.js +1 -4
  70. package/src/service/Epc/v20151101/index.js +26 -50
  71. package/src/service/Iam/v20151101/index.js +57 -0
  72. package/src/service/Kce/v20180314/index.js +312 -0
  73. package/src/service/Kce/v20190806/index.js +474 -0
  74. package/src/service/Kce/v20201231/index.js +55 -0
  75. package/src/service/Kcf/v20211215/index.js +197 -0
  76. package/src/service/Kcm/v20160304/index.js +112 -0
  77. package/src/service/Kcrs/v20211109/index.js +857 -0
  78. package/src/service/Kcs/v20160701/index.js +1101 -0
  79. package/src/service/Kcs/v20170401/index.js +73 -0
  80. package/src/service/Kec/v20160304/index.js +86 -22
  81. package/src/service/Ket/v20170101/index.js +133 -0
  82. package/src/service/Kkms/v20160304/index.js +159 -0
  83. package/src/service/Klog/v20200731/index.js +810 -0
  84. package/src/service/Kls/v20170101/index.js +186 -0
  85. package/src/service/Krds/v20160701/index.js +1296 -0
  86. package/src/service/Krds/v20200825/index.js +166 -0
  87. package/src/service/Memcached/v20180627/index.js +248 -0
  88. package/src/service/Mongodb/v20170101/index.js +18 -0
  89. package/src/service/Monitor/v20100525/index.js +62 -0
  90. package/src/service/{Slb/v20171210 → Monitor/v20181114}/index.js +13 -11
  91. package/src/service/Monitor/v20210101/index.js +172 -0
  92. package/src/service/Monitor/v20220101/index.js +60 -0
  93. package/src/service/Rabbitmq/v20191017/index.js +234 -0
  94. package/src/service/Slb/v20160304/index.js +512 -0
  95. package/src/service/Sts/v20151101/index.js +1 -1
  96. package/src/service/Tagv2/v20200901/index.js +166 -0
  97. package/src/service/Tidb/v20210520/index.js +355 -0
  98. package/src/service/Vpc/v20160304/index.js +235 -0
  99. package/src/service/Waf/v20200707/index.js +240 -0
@@ -0,0 +1,1101 @@
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
+ },
488
+ 'DescribeAvailabilityZones': {
489
+ 'url': '/',
490
+ 'method': 'GET',
491
+ 'config': {
492
+ 'query': {
493
+ 'Version': '2016-07-01',
494
+ 'Action': 'DescribeAvailabilityZones',
495
+ },
496
+ 'headers': {
497
+ 'Content-Type': 'application/json'
498
+ },
499
+ },
500
+ 'paramsType': {
501
+ }
502
+ },
503
+ 'DescribeCacheByRole': {
504
+ 'url': '/',
505
+ 'method': 'GET',
506
+ 'config': {
507
+ 'query': {
508
+ 'Version': '2016-07-01',
509
+ 'Action': 'DescribeCacheByRole',
510
+ },
511
+ 'headers': {
512
+ 'Content-Type': 'application/json'
513
+ },
514
+ },
515
+ 'paramsType': {
516
+ 'AvailableZone': 'String',
517
+ 'CacheId': 'String',
518
+ 'Proxy': 'String',
519
+ }
520
+ },
521
+ 'StatisticDBInstances': {
522
+ 'url': '/',
523
+ 'method': 'GET',
524
+ 'config': {
525
+ 'query': {
526
+ 'Version': '2016-07-01',
527
+ 'Action': 'StatisticDBInstances',
528
+ },
529
+ 'headers': {
530
+ 'Content-Type': 'application/json'
531
+ },
532
+ },
533
+ 'paramsType': {
534
+ }
535
+ },
536
+ 'UpdatePassword': {
537
+ 'url': '/',
538
+ 'method': 'PUT',
539
+ 'config': {
540
+ 'query': {
541
+ 'Version': '2016-07-01',
542
+ 'Action': 'UpdatePassword',
543
+ },
544
+ 'headers': {
545
+ 'Content-Type': 'application/json'
546
+ },
547
+ },
548
+ 'paramsType': {
549
+ 'AvailableZone': 'String',
550
+ 'CacheId': 'String',
551
+ 'Password': 'String',
552
+ }
553
+ },
554
+ 'RestartCacheCluster': {
555
+ 'url': '/',
556
+ 'method': 'POST',
557
+ 'config': {
558
+ 'query': {
559
+ 'Version': '2016-07-01',
560
+ 'Action': 'RestartCacheCluster',
561
+ },
562
+ 'headers': {
563
+ 'Content-Type': 'application/x-www-form-urlencoded'
564
+ },
565
+ },
566
+ 'paramsType': {
567
+ 'AvailableZone': 'String',
568
+ 'CacheId': 'String',
569
+ }
570
+ },
571
+ 'AllocateEip': {
572
+ 'url': '/',
573
+ 'method': 'POST',
574
+ 'config': {
575
+ 'query': {
576
+ 'Version': '2016-07-01',
577
+ 'Action': 'AllocateEip',
578
+ },
579
+ 'headers': {
580
+ 'Content-Type': 'application/x-www-form-urlencoded'
581
+ },
582
+ },
583
+ 'paramsType': {
584
+ 'AvailableZone': 'String',
585
+ 'CacheId': 'String',
586
+ 'InsType': 'String',
587
+ }
588
+ },
589
+ 'DeallocateEip': {
590
+ 'url': '/',
591
+ 'method': 'POST',
592
+ 'config': {
593
+ 'query': {
594
+ 'Version': '2016-07-01',
595
+ 'Action': 'DeallocateEip',
596
+ },
597
+ 'headers': {
598
+ 'Content-Type': 'application/x-www-form-urlencoded'
599
+ },
600
+ },
601
+ 'paramsType': {
602
+ 'AvailableZone': 'String',
603
+ 'CacheId': 'String',
604
+ 'InsType': 'String',
605
+ }
606
+ },
607
+ 'DescribeInstances': {
608
+ 'url': '/',
609
+ 'method': 'GET',
610
+ 'config': {
611
+ 'query': {
612
+ 'Version': '2016-07-01',
613
+ 'Action': 'DescribeInstances',
614
+ },
615
+ 'headers': {
616
+ 'Content-Type': 'application/json'
617
+ },
618
+ },
619
+ 'paramsType': {
620
+ 'AvailableZone': 'String',
621
+ 'SecurityGroupId': 'String',
622
+ 'Offset': 'Int',
623
+ 'Limit': 'Int',
624
+ 'FilterCache': 'Boolean',
625
+ 'SearchKey': 'String',
626
+ }
627
+ },
628
+ 'DeleteSecurityGroupRule': {
629
+ 'url': '/',
630
+ 'method': 'POST',
631
+ 'config': {
632
+ 'query': {
633
+ 'Version': '2016-07-01',
634
+ 'Action': 'DeleteSecurityGroupRule',
635
+ },
636
+ 'headers': {
637
+ 'Content-Type': 'application/x-www-form-urlencoded'
638
+ },
639
+ },
640
+ 'paramsType': {
641
+ 'AvailableZone': 'String',
642
+ 'SecurityGroupId': 'String',
643
+ 'SecurityGroupRuleId': 'Filter',
644
+ }
645
+ },
646
+ 'CreateSecurityGroupRule': {
647
+ 'url': '/',
648
+ 'method': 'POST',
649
+ 'config': {
650
+ 'query': {
651
+ 'Version': '2016-07-01',
652
+ 'Action': 'CreateSecurityGroupRule',
653
+ },
654
+ 'headers': {
655
+ 'Content-Type': 'application/x-www-form-urlencoded'
656
+ },
657
+ },
658
+ 'paramsType': {
659
+ 'AvailableZone': 'String',
660
+ 'Cidrs': 'Filter',
661
+ 'SecurityGroupId': 'String',
662
+ }
663
+ },
664
+ 'DeallocateSecurityGroup': {
665
+ 'url': '/',
666
+ 'method': 'POST',
667
+ 'config': {
668
+ 'query': {
669
+ 'Version': '2016-07-01',
670
+ 'Action': 'DeallocateSecurityGroup',
671
+ },
672
+ 'headers': {
673
+ 'Content-Type': 'application/x-www-form-urlencoded'
674
+ },
675
+ },
676
+ 'paramsType': {
677
+ 'AvailableZone': 'String',
678
+ 'CacheId': 'Filter',
679
+ 'SecurityGroupId': 'String',
680
+ }
681
+ },
682
+ 'AllocateSecurityGroup': {
683
+ 'url': '/',
684
+ 'method': 'POST',
685
+ 'config': {
686
+ 'query': {
687
+ 'Version': '2016-07-01',
688
+ 'Action': 'AllocateSecurityGroup',
689
+ },
690
+ 'headers': {
691
+ 'Content-Type': 'application/x-www-form-urlencoded'
692
+ },
693
+ },
694
+ 'paramsType': {
695
+ 'AvailableZone': 'String',
696
+ 'CacheId': 'Filter',
697
+ 'SecurityGroupId': 'Filter',
698
+ }
699
+ },
700
+ 'DescribeSecurityGroup': {
701
+ 'url': '/',
702
+ 'method': 'GET',
703
+ 'config': {
704
+ 'query': {
705
+ 'Version': '2016-07-01',
706
+ 'Action': 'DescribeSecurityGroup',
707
+ },
708
+ 'headers': {
709
+ 'Content-Type': 'application/json'
710
+ },
711
+ },
712
+ 'paramsType': {
713
+ 'AvailableZone': 'String',
714
+ 'SecurityGroupId': 'String',
715
+ 'SearchKey': 'String',
716
+ 'Offset': 'String',
717
+ 'Limit': 'Int',
718
+ }
719
+ },
720
+ 'DescribeSecurityGroups': {
721
+ 'url': '/',
722
+ 'method': 'GET',
723
+ 'config': {
724
+ 'query': {
725
+ 'Version': '2016-07-01',
726
+ 'Action': 'DescribeSecurityGroups',
727
+ },
728
+ 'headers': {
729
+ 'Content-Type': 'application/json'
730
+ },
731
+ },
732
+ 'paramsType': {
733
+ 'AvailableZone': 'String',
734
+ 'Offset': 'String',
735
+ 'Limit': 'Int',
736
+ 'CacheId': 'String',
737
+ 'FilterCache': 'Boolean',
738
+ 'SearchKey': 'String',
739
+ }
740
+ },
741
+ 'ModifySecurityGroup': {
742
+ 'url': '/',
743
+ 'method': 'POST',
744
+ 'config': {
745
+ 'query': {
746
+ 'Version': '2016-07-01',
747
+ 'Action': 'ModifySecurityGroup',
748
+ },
749
+ 'headers': {
750
+ 'Content-Type': 'application/x-www-form-urlencoded'
751
+ },
752
+ },
753
+ 'paramsType': {
754
+ 'AvailableZone': 'String',
755
+ 'Name': 'String',
756
+ 'Description': 'String',
757
+ 'SecurityGroupId': 'String',
758
+ }
759
+ },
760
+ 'DeleteSecurityGroup': {
761
+ 'url': '/',
762
+ 'method': 'POST',
763
+ 'config': {
764
+ 'query': {
765
+ 'Version': '2016-07-01',
766
+ 'Action': 'DeleteSecurityGroup',
767
+ },
768
+ 'headers': {
769
+ 'Content-Type': 'application/x-www-form-urlencoded'
770
+ },
771
+ },
772
+ 'paramsType': {
773
+ 'AvailableZone': 'String',
774
+ 'SecurityGroupId': 'Filter',
775
+ }
776
+ },
777
+ 'CloneSecurityGroup': {
778
+ 'url': '/',
779
+ 'method': 'POST',
780
+ 'config': {
781
+ 'query': {
782
+ 'Version': '2016-07-01',
783
+ 'Action': 'CloneSecurityGroup',
784
+ },
785
+ 'headers': {
786
+ 'Content-Type': 'application/x-www-form-urlencoded'
787
+ },
788
+ },
789
+ 'paramsType': {
790
+ 'AvailableZone': 'String',
791
+ 'Name': 'String',
792
+ 'Description': 'String',
793
+ 'SrcSecurityGroupId': 'String',
794
+ }
795
+ },
796
+ 'CreateSecurityGroup': {
797
+ 'url': '/',
798
+ 'method': 'POST',
799
+ 'config': {
800
+ 'query': {
801
+ 'Version': '2016-07-01',
802
+ 'Action': 'CreateSecurityGroup',
803
+ },
804
+ 'headers': {
805
+ 'Content-Type': 'application/x-www-form-urlencoded'
806
+ },
807
+ },
808
+ 'paramsType': {
809
+ 'AvailableZone': 'String',
810
+ 'Name': 'String',
811
+ 'Description': 'String',
812
+ }
813
+ },
814
+ 'DescribeHotKeys': {
815
+ 'url': '/',
816
+ 'method': 'GET',
817
+ 'config': {
818
+ 'query': {
819
+ 'Version': '2016-07-01',
820
+ 'Action': 'DescribeHotKeys',
821
+ },
822
+ 'headers': {
823
+ 'Content-Type': 'application/json'
824
+ },
825
+ },
826
+ 'paramsType': {
827
+ 'AvailableZone': 'String',
828
+ 'CacheId': 'String',
829
+ 'Limit': 'Int',
830
+ 'Offset': 'Int',
831
+ 'SortKey': 'String',
832
+ 'SortDir': 'String',
833
+ }
834
+ },
835
+ 'AnalyzeHotKeys': {
836
+ 'url': '/',
837
+ 'method': 'GET',
838
+ 'config': {
839
+ 'query': {
840
+ 'Version': '2016-07-01',
841
+ 'Action': 'AnalyzeHotKeys',
842
+ },
843
+ 'headers': {
844
+ 'Content-Type': 'application/json'
845
+ },
846
+ },
847
+ 'paramsType': {
848
+ 'AvailableZone': 'String',
849
+ 'CacheId': 'String',
850
+ }
851
+ },
852
+ 'CloseDirectAccessToCluster': {
853
+ 'url': '/',
854
+ 'method': 'GET',
855
+ 'config': {
856
+ 'query': {
857
+ 'Version': '2016-07-01',
858
+ 'Action': 'CloseDirectAccessToCluster',
859
+ },
860
+ 'headers': {
861
+ 'Content-Type': 'application/json'
862
+ },
863
+ },
864
+ 'paramsType': {
865
+ 'AvailableZone': 'String',
866
+ 'CacheId': 'String',
867
+ }
868
+ },
869
+ 'OpenDirectAccessToCluster': {
870
+ 'url': '/',
871
+ 'method': 'GET',
872
+ 'config': {
873
+ 'query': {
874
+ 'Version': '2016-07-01',
875
+ 'Action': 'OpenDirectAccessToCluster',
876
+ },
877
+ 'headers': {
878
+ 'Content-Type': 'application/json'
879
+ },
880
+ },
881
+ 'paramsType': {
882
+ 'AvailableZone': 'String',
883
+ 'CacheId': 'String',
884
+ 'SubnetId': 'String',
885
+ 'VpcId': 'String',
886
+ }
887
+ },
888
+ 'DescribeParentBackUpsSnapshots': {
889
+ 'url': '/',
890
+ 'method': 'GET',
891
+ 'config': {
892
+ 'query': {
893
+ 'Version': '2016-07-01',
894
+ 'Action': 'DescribeParentBackUpsSnapshots',
895
+ },
896
+ 'headers': {
897
+ 'Content-Type': 'application/json'
898
+ },
899
+ },
900
+ 'paramsType': {
901
+ 'CacheId': 'String',
902
+ }
903
+ },
904
+ 'DescribeBackUpsSnapshotsDetail': {
905
+ 'url': '/',
906
+ 'method': 'GET',
907
+ 'config': {
908
+ 'query': {
909
+ 'Version': '2016-07-01',
910
+ 'Action': 'DescribeBackUpsSnapshotsDetail',
911
+ },
912
+ 'headers': {
913
+ 'Content-Type': 'application/json'
914
+ },
915
+ },
916
+ 'paramsType': {
917
+ 'CacheId': 'String',
918
+ 'SnapshotId': 'String',
919
+ }
920
+ },
921
+ 'DeleteLevelSnapshots': {
922
+ 'url': '/',
923
+ 'method': 'DELETE',
924
+ 'config': {
925
+ 'query': {
926
+ 'Version': '2016-07-01',
927
+ 'Action': 'DeleteLevelSnapshots',
928
+ },
929
+ 'headers': {
930
+ 'Content-Type': 'application/json'
931
+ },
932
+ },
933
+ 'paramsType': {
934
+ 'CacheId': 'String',
935
+ 'SnapshotId': 'String',
936
+ }
937
+ },
938
+ 'DownloadLevelSnapshot': {
939
+ 'url': '/',
940
+ 'method': 'POST',
941
+ 'config': {
942
+ 'query': {
943
+ 'Version': '2016-07-01',
944
+ 'Action': 'DownloadLevelSnapshot',
945
+ },
946
+ 'headers': {
947
+ 'Content-Type': 'application/x-www-form-urlencoded'
948
+ },
949
+ },
950
+ 'paramsType': {
951
+ 'CacheId': 'String',
952
+ 'SnapshotId': 'String',
953
+ }
954
+ },
955
+ 'DescribeBigKeys': {
956
+ 'url': '/',
957
+ 'method': 'GET',
958
+ 'config': {
959
+ 'query': {
960
+ 'Version': '2016-07-01',
961
+ 'Action': 'DescribeBigKeys',
962
+ },
963
+ 'headers': {
964
+ 'Content-Type': 'application/json'
965
+ },
966
+ },
967
+ 'paramsType': {
968
+ 'CacheId': 'String',
969
+ }
970
+ },
971
+ 'DeleteBigKeysAnalyseResult': {
972
+ 'url': '/',
973
+ 'method': 'DELETE',
974
+ 'config': {
975
+ 'query': {
976
+ 'Version': '2016-07-01',
977
+ 'Action': 'DeleteBigKeysAnalyseResult',
978
+ },
979
+ 'headers': {
980
+ 'Content-Type': 'application/json'
981
+ },
982
+ },
983
+ 'paramsType': {
984
+ 'CacheId': 'String',
985
+ 'TaskId': 'String',
986
+ }
987
+ },
988
+ 'AnalyzeBigKeys': {
989
+ 'url': '/',
990
+ 'method': 'GET',
991
+ 'config': {
992
+ 'query': {
993
+ 'Version': '2016-07-01',
994
+ 'Action': 'AnalyzeBigKeys',
995
+ },
996
+ 'headers': {
997
+ 'Content-Type': 'application/json'
998
+ },
999
+ },
1000
+ 'paramsType': {
1001
+ 'TaskId': 'String',
1002
+ 'QueryType': 'Int',
1003
+ }
1004
+ },
1005
+ 'DescribeCreateSnapshotStatus': {
1006
+ 'url': '/',
1007
+ 'method': 'GET',
1008
+ 'config': {
1009
+ 'query': {
1010
+ 'Version': '2016-07-01',
1011
+ 'Action': 'DescribeCreateSnapshotStatus',
1012
+ },
1013
+ 'headers': {
1014
+ 'Content-Type': 'application/json'
1015
+ },
1016
+ },
1017
+ 'paramsType': {
1018
+ 'CacheId': 'String',
1019
+ }
1020
+ },
1021
+ 'GetDailyAnalyzeSwitchState': {
1022
+ 'url': '/',
1023
+ 'method': 'POST',
1024
+ 'config': {
1025
+ 'query': {
1026
+ 'Version': '2016-07-01',
1027
+ 'Action': 'GetDailyAnalyzeSwitchState',
1028
+ },
1029
+ 'headers': {
1030
+ 'Content-Type': 'application/x-www-form-urlencoded'
1031
+ },
1032
+ },
1033
+ 'paramsType': {
1034
+ 'CacheId': 'String',
1035
+ }
1036
+ },
1037
+ 'AnalyzeDaily': {
1038
+ 'url': '/',
1039
+ 'method': 'POST',
1040
+ 'config': {
1041
+ 'query': {
1042
+ 'Version': '2016-07-01',
1043
+ 'Action': 'AnalyzeDaily',
1044
+ },
1045
+ 'headers': {
1046
+ 'Content-Type': 'application/x-www-form-urlencoded'
1047
+ },
1048
+ },
1049
+ 'paramsType': {
1050
+ 'CacheId': 'String',
1051
+ 'StartQueryTime': 'String',
1052
+ 'EndQueryTime': 'String',
1053
+ 'PageNum': 'String',
1054
+ 'PageSize': 'String',
1055
+ 'ShardId': 'String',
1056
+ 'OperationType': 'String',
1057
+ }
1058
+ },
1059
+ 'AnalyzeSlowDaily': {
1060
+ 'url': '/',
1061
+ 'method': 'POST',
1062
+ 'config': {
1063
+ 'query': {
1064
+ 'Version': '2016-07-01',
1065
+ 'Action': 'AnalyzeSlowDaily',
1066
+ },
1067
+ 'headers': {
1068
+ 'Content-Type': 'application/x-www-form-urlencoded'
1069
+ },
1070
+ },
1071
+ 'paramsType': {
1072
+ 'CacheId': 'String',
1073
+ 'StartQueryTime': 'String',
1074
+ 'EndQueryTime': 'String',
1075
+ 'PageNum': 'Int',
1076
+ 'PageSize': 'Int',
1077
+ 'ShardId': 'String',
1078
+ 'IsProxy': 'Boolean',
1079
+ 'OperationType': 'String',
1080
+ }
1081
+ },
1082
+ 'AnalyzeDailySwitch': {
1083
+ 'url': '/',
1084
+ 'method': 'POST',
1085
+ 'config': {
1086
+ 'query': {
1087
+ 'Version': '2016-07-01',
1088
+ 'Action': 'AnalyzeDailySwitch',
1089
+ },
1090
+ 'headers': {
1091
+ 'Content-Type': 'application/x-www-form-urlencoded'
1092
+ },
1093
+ },
1094
+ 'paramsType': {
1095
+ 'CacheId': 'String',
1096
+ 'ServiceLog': 'Boolean',
1097
+ 'SlowLog': 'Boolean',
1098
+ }
1099
+ },
1100
+ }
1101
+ }