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