ksyun-sdk-node 1.2.4 → 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 (126) hide show
  1. package/.claude/settings.local.json +12 -0
  2. package/dist/base/BaseClient.js +50 -4
  3. package/dist/service/Actiontrail/v20190401/index.js +31 -31
  4. package/dist/service/Aicp/v20240612/index.js +511 -0
  5. package/dist/service/Bill/v20180601/index.js +45 -45
  6. package/dist/service/Bill/v20220601/index.js +35 -35
  7. package/dist/service/Bill_union/v20200101/index.js +139 -103
  8. package/dist/service/Bill_union/v20221222/index.js +93 -93
  9. package/dist/service/Bill_union/v20250801/index.js +66 -0
  10. package/dist/service/Bws/v20160304/index.js +103 -103
  11. package/dist/service/Cdn/v20160901/index.js +66 -19
  12. package/dist/service/Cdn/v20200630/index.js +306 -306
  13. package/dist/service/Cdn/v20200901/index.js +108 -108
  14. package/dist/service/Cdn/v20211201/index.js +45 -0
  15. package/dist/service/Cdn/v20250503/index.js +71 -0
  16. package/dist/service/Cen/v20160304/index.js +321 -321
  17. package/dist/service/Clickhouse/v20210101/index.js +387 -387
  18. package/dist/service/Ebs/v20160304/index.js +262 -262
  19. package/dist/service/Eip/v20160304/index.js +101 -101
  20. package/dist/service/Epc/v20151101/index.js +1741 -766
  21. package/dist/service/Iam/v20151101/index.js +863 -756
  22. package/dist/service/Iam/v20240513/index.js +47 -0
  23. package/dist/service/Iam/v20240703/index.js +44 -0
  24. package/dist/service/Kad/v20161122/index.js +81 -81
  25. package/dist/service/Kce/v20180314/index.js +216 -216
  26. package/dist/service/Kce/v20190806/index.js +343 -343
  27. package/dist/service/Kce/v20201231/index.js +39 -39
  28. package/dist/service/Kcf/v20211215/index.js +141 -141
  29. package/dist/service/Kcm/v20160304/index.js +81 -81
  30. package/dist/service/Kcrs/v20211109/index.js +611 -611
  31. package/dist/service/Kcs/v20160701/index.js +800 -800
  32. package/dist/service/Kcs/v20170401/index.js +47 -47
  33. package/dist/service/Kead/v20200101/index.js +25 -25
  34. package/dist/service/Kec/v20160304/index.js +1697 -1533
  35. package/dist/service/Kes/v20201215/index.js +171 -0
  36. package/dist/service/Ket/v20170101/index.js +92 -92
  37. package/dist/service/Kkms/v20160304/index.js +108 -108
  38. package/dist/service/Klog/v20200731/index.js +232 -705
  39. package/dist/service/Kls/v20170101/index.js +135 -135
  40. package/dist/service/Kmr/v20210902/index.js +422 -0
  41. package/dist/service/Kmr/v20231231/index.js +154 -0
  42. package/dist/service/Kmr/v20240814/index.js +370 -0
  43. package/dist/service/Krds/v20160701/index.js +991 -991
  44. package/dist/service/Krds/v20200825/index.js +115 -115
  45. package/dist/service/Memcached/v20180627/index.js +172 -172
  46. package/dist/service/Mongodb/v20170101/index.js +514 -514
  47. package/dist/service/Monitor/v20100525/index.js +41 -41
  48. package/dist/service/Monitor/v20181114/index.js +25 -25
  49. package/dist/service/Monitor/v20210101/index.js +153 -116
  50. package/dist/service/Monitor/v20220101/index.js +30 -40
  51. package/dist/service/Monitor/v20250101/index.js +71 -0
  52. package/dist/service/Rabbitmq/v20191017/index.js +163 -163
  53. package/dist/service/Resourcemanager/v20210320/index.js +110 -110
  54. package/dist/service/Sks/v20151101/index.js +69 -69
  55. package/dist/service/Slb/v20160304/index.js +1208 -1208
  56. package/dist/service/Sts/v20151101/index.js +23 -23
  57. package/dist/service/Tagv2/v20200901/index.js +115 -115
  58. package/dist/service/Tidb/v20210520/index.js +254 -254
  59. package/dist/service/Trade/v20200114/index.js +20 -20
  60. package/dist/service/Trade/v20200831/index.js +22 -22
  61. package/dist/service/Vpc/v20160304/index.js +1947 -1209
  62. package/dist/service/Waf/v20200707/index.js +174 -174
  63. package/example/iam.js +2 -1
  64. package/example/res.js +2 -1
  65. package/package.json +1 -1
  66. package/src/base/BaseClient.js +51 -4
  67. package/src/service/Actiontrail/v20190401/index.js +42 -42
  68. package/src/service/Aicp/v20240612/index.js +503 -0
  69. package/src/service/Bill/v20180601/index.js +63 -64
  70. package/src/service/Bill/v20220601/index.js +50 -50
  71. package/src/service/Bill_union/v20200101/index.js +181 -146
  72. package/src/service/Bill_union/v20221222/index.js +124 -124
  73. package/src/service/Bill_union/v20250801/index.js +58 -0
  74. package/src/service/Bws/v20160304/index.js +138 -138
  75. package/src/service/Cdn/v20160901/index.js +78 -32
  76. package/src/service/Cdn/v20200630/index.js +399 -399
  77. package/src/service/Cdn/v20200901/index.js +143 -143
  78. package/src/service/Cdn/v20211201/index.js +37 -0
  79. package/src/service/Cdn/v20250503/index.js +63 -0
  80. package/src/service/Cen/v20160304/index.js +449 -449
  81. package/src/service/Clickhouse/v20210101/index.js +535 -535
  82. package/src/service/Ebs/v20160304/index.js +365 -365
  83. package/src/service/Eip/v20160304/index.js +135 -136
  84. package/src/service/Epc/v20151101/index.js +1984 -1009
  85. package/src/service/Iam/v20151101/index.js +1155 -1050
  86. package/src/service/Iam/v20240513/index.js +39 -0
  87. package/src/service/Iam/v20240703/index.js +36 -0
  88. package/src/service/Kad/v20161122/index.js +112 -112
  89. package/src/service/Kce/v20180314/index.js +309 -309
  90. package/src/service/Kce/v20190806/index.js +471 -471
  91. package/src/service/Kce/v20201231/index.js +50 -50
  92. package/src/service/Kcf/v20211215/index.js +192 -194
  93. package/src/service/Kcm/v20160304/index.js +104 -104
  94. package/src/service/Kcrs/v20211109/index.js +840 -854
  95. package/src/service/Kcs/v20160701/index.js +1095 -1098
  96. package/src/service/Kcs/v20170401/index.js +66 -66
  97. package/src/service/Kead/v20200101/index.js +36 -36
  98. package/src/service/Kec/v20160304/index.js +2061 -1902
  99. package/src/service/Kes/v20201215/index.js +163 -0
  100. package/src/service/Ket/v20170101/index.js +123 -123
  101. package/src/service/Kkms/v20160304/index.js +156 -156
  102. package/src/service/Klog/v20200731/index.js +320 -807
  103. package/src/service/Kls/v20170101/index.js +183 -183
  104. package/src/service/Kmr/v20210902/index.js +414 -0
  105. package/src/service/Kmr/v20231231/index.js +146 -0
  106. package/src/service/Kmr/v20240814/index.js +362 -0
  107. package/src/service/Krds/v20160701/index.js +1291 -1293
  108. package/src/service/Krds/v20200825/index.js +163 -163
  109. package/src/service/Memcached/v20180627/index.js +238 -245
  110. package/src/service/Mongodb/v20170101/index.js +672 -672
  111. package/src/service/Monitor/v20100525/index.js +56 -56
  112. package/src/service/Monitor/v20181114/index.js +36 -36
  113. package/src/service/Monitor/v20210101/index.js +205 -169
  114. package/src/service/Monitor/v20220101/index.js +44 -54
  115. package/src/service/Monitor/v20250101/index.js +63 -0
  116. package/src/service/Rabbitmq/v20191017/index.js +231 -231
  117. package/src/service/Resourcemanager/v20210320/index.js +157 -158
  118. package/src/service/Sks/v20151101/index.js +95 -96
  119. package/src/service/Slb/v20160304/index.js +1471 -1471
  120. package/src/service/Sts/v20151101/index.js +34 -34
  121. package/src/service/Tagv2/v20200901/index.js +163 -163
  122. package/src/service/Tidb/v20210520/index.js +352 -352
  123. package/src/service/Trade/v20200114/index.js +31 -31
  124. package/src/service/Trade/v20200831/index.js +33 -33
  125. package/src/service/Vpc/v20160304/index.js +2404 -1667
  126. package/src/service/Waf/v20200707/index.js +237 -237
@@ -1,368 +1,368 @@
1
1
  const BaseClient = require("../../../base/BaseClient.js");
2
2
 
3
3
  module.exports = class Client extends BaseClient {
4
- _baseConfig = {
5
- 'protocol': 'http://',
6
- 'endpoint': 'ebs.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': 'ebs',
15
- },
16
- },
17
- }
18
- _apiList = {
19
- 'CreateVolume': {
20
- 'url': '/',
21
- 'method': 'GET',
22
- 'config': {
23
- 'query': {
24
- 'Version': '2016-03-04',
25
- 'Action': 'CreateVolume',
26
- },
27
- 'headers': {
28
- 'Content-Type': 'application/json'
29
- },
30
- },
31
- 'paramsType': {
32
- 'VolumeName': 'String',
33
- 'VolumeType': 'String',
34
- 'VolumeDesc': 'String',
35
- 'Size': 'Int',
36
- 'AvailabilityZone': 'String',
37
- 'ChargeType': 'String',
38
- 'PurchaseTime': 'Int',
39
- 'ProjectId': 'String',
40
- 'SubOrderId': 'String',
41
- }
42
- },
43
- 'AttachVolume': {
44
- 'url': '/',
45
- 'method': 'GET',
46
- 'config': {
47
- 'query': {
48
- 'Version': '2016-03-04',
49
- 'Action': 'AttachVolume',
50
- },
51
- 'headers': {
52
- 'Content-Type': 'application/json'
53
- },
54
- },
55
- 'paramsType': {
56
- 'VolumeId': 'String',
57
- 'InstanceId': 'String',
58
- 'DeleteWithInstance': 'String',
59
- }
60
- },
61
- 'DetachVolume': {
62
- 'url': '/',
63
- 'method': 'GET',
64
- 'config': {
65
- 'query': {
66
- 'Version': '2016-03-04',
67
- 'Action': 'DetachVolume',
68
- },
69
- 'headers': {
70
- 'Content-Type': 'application/json'
71
- },
72
- },
73
- 'paramsType': {
74
- 'InstanceId': 'String',
75
- 'VolumeId': 'String',
76
- }
77
- },
78
- 'DeleteVolume': {
79
- 'url': '/',
80
- 'method': 'GET',
81
- 'config': {
82
- 'query': {
83
- 'Version': '2016-03-04',
84
- 'Action': 'DeleteVolume',
85
- },
86
- 'headers': {
87
- 'Content-Type': 'application/json'
88
- },
89
- },
90
- 'paramsType': {
91
- 'VolumeId': 'String',
92
- 'ForceDelete': 'Boolean',
93
- }
94
- },
95
- 'ResizeVolume': {
96
- 'url': '/',
97
- 'method': 'GET',
98
- 'config': {
99
- 'query': {
100
- 'Version': '2016-03-04',
101
- 'Action': 'ResizeVolume',
102
- },
103
- 'headers': {
104
- 'Content-Type': 'application/json'
105
- },
106
- },
107
- 'paramsType': {
108
- 'VolumeId': 'String',
109
- 'Size': 'String',
110
- 'OnlineResize': 'Boolean',
111
- 'SubOrderId': 'String',
112
- }
113
- },
114
- 'DescribeVolumes': {
115
- 'url': '/',
116
- 'method': 'GET',
117
- 'config': {
118
- 'query': {
119
- 'Version': '2016-03-04',
120
- 'Action': 'DescribeVolumes',
121
- },
122
- 'headers': {
123
- 'Content-Type': 'application/json'
124
- },
125
- },
126
- 'paramsType': {
127
- 'VolumeId': 'Filter',
128
- 'VolumeCategory': 'String',
129
- 'VolumeStatus': 'String',
130
- 'VolumeType': 'String',
131
- 'VolumeCreateDate': 'String',
132
- 'Marker': 'Int',
133
- 'MaxResults': 'Int',
134
- }
135
- },
136
- 'ModifyVolume': {
137
- 'url': '/',
138
- 'method': 'GET',
139
- 'config': {
140
- 'query': {
141
- 'Version': '2016-03-04',
142
- 'Action': 'ModifyVolume',
143
- },
144
- 'headers': {
145
- 'Content-Type': 'application/json'
146
- },
147
- },
148
- 'paramsType': {
149
- 'VolumeId': 'String',
150
- 'VolumeName': 'String',
151
- 'VolumeDesc': 'String',
152
- 'DeleteWithInstance': 'String',
153
- }
154
- },
155
- 'DescribeEbsInstances': {
156
- 'url': '/',
157
- 'method': 'GET',
158
- 'config': {
159
- 'query': {
160
- 'Version': '2016-03-04',
161
- 'Action': 'DescribeEbsInstances',
162
- },
163
- 'headers': {
164
- 'Content-Type': 'application/json'
165
- },
166
- },
167
- 'paramsType': {
168
- 'AvailabilityZone': 'String',
169
- 'VolumeType': 'String',
170
- }
171
- },
172
- 'DescribeInstanceVolumes': {
173
- 'url': '/',
174
- 'method': 'GET',
175
- 'config': {
176
- 'query': {
177
- 'Version': '2016-03-04',
178
- 'Action': 'DescribeInstanceVolumes',
179
- },
180
- 'headers': {
181
- 'Content-Type': 'application/json'
182
- },
183
- },
184
- 'paramsType': {
185
- 'InstanceId': 'String',
186
- }
187
- },
188
- 'RenewVolume': {
189
- 'url': '/',
190
- 'method': 'GET',
191
- 'config': {
192
- 'query': {
193
- 'Version': '2016-03-04',
194
- 'Action': 'RenewVolume',
195
- },
196
- 'headers': {
197
- 'Content-Type': 'application/json'
198
- },
199
- },
200
- 'paramsType': {
201
- 'VolumeId': 'String',
202
- 'PurchaseTime': 'Int',
203
- }
204
- },
205
- 'UpdateVolumeProject': {
206
- 'url': '/',
207
- 'method': 'GET',
208
- 'config': {
209
- 'query': {
210
- 'Version': '2016-03-04',
211
- 'Action': 'UpdateVolumeProject',
212
- },
213
- 'headers': {
214
- 'Content-Type': 'application/json'
215
- },
216
- },
217
- 'paramsType': {
218
- 'VolumeId': 'Filter',
219
- 'ProjectId': 'String',
220
- }
221
- },
222
- 'DescribeSnapshots': {
223
- 'url': '/',
224
- 'method': 'GET',
225
- 'config': {
226
- 'query': {
227
- 'Version': '2016-03-04',
228
- 'Action': 'DescribeSnapshots',
229
- },
230
- 'headers': {
231
- 'Content-Type': 'application/json'
232
- },
233
- },
234
- 'paramsType': {
235
- 'VolumeId': 'String',
236
- 'VolumeCategory': 'String',
237
- 'SnapshotId': 'String',
238
- 'AvailabilityZone': 'String',
239
- 'SnapshotName': 'String',
240
- 'PageNumber': 'Int',
241
- 'PageSize': 'Int',
242
- }
243
- },
244
- 'CreateSnapshot': {
245
- 'url': '/',
246
- 'method': 'GET',
247
- 'config': {
248
- 'query': {
249
- 'Version': '2016-03-04',
250
- 'Action': 'CreateSnapshot',
251
- },
252
- 'headers': {
253
- 'Content-Type': 'application/json'
254
- },
255
- },
256
- 'paramsType': {
257
- 'VolumeId': 'String',
258
- 'SnapshotName': 'String',
259
- 'SnapshotDesc': 'String',
260
- 'SnapshotType': 'String',
261
- }
262
- },
263
- 'DeleteSnapshot': {
264
- 'url': '/',
265
- 'method': 'GET',
266
- 'config': {
267
- 'query': {
268
- 'Version': '2016-03-04',
269
- 'Action': 'DeleteSnapshot',
270
- },
271
- 'headers': {
272
- 'Content-Type': 'application/json'
273
- },
274
- },
275
- 'paramsType': {
276
- 'SnapshotId': 'String',
277
- }
278
- },
279
- 'RollbackSnapshot': {
280
- 'url': '/',
281
- 'method': 'GET',
282
- 'config': {
283
- 'query': {
284
- 'Version': '2016-03-04',
285
- 'Action': 'RollbackSnapshot',
286
- },
287
- 'headers': {
288
- 'Content-Type': 'application/json'
289
- },
290
- },
291
- 'paramsType': {
292
- 'VolumeId': 'String',
293
- 'SnapshotId': 'String',
294
- }
295
- },
296
- 'ModifySnapshot': {
297
- 'url': '/',
298
- 'method': 'GET',
299
- 'config': {
300
- 'query': {
301
- 'Version': '2016-03-04',
302
- 'Action': 'ModifySnapshot',
303
- },
304
- 'headers': {
305
- 'Content-Type': 'application/json'
306
- },
307
- },
308
- 'paramsType': {
309
- 'SnapshotId': 'String',
310
- 'SnapshotName': 'String',
311
- 'SnapshotDesc': 'String',
312
- }
313
- },
314
- 'RecoveryVolume': {
315
- 'url': '/',
316
- 'method': 'GET',
317
- 'config': {
318
- 'query': {
319
- 'Version': '2016-03-04',
320
- 'Action': 'RecoveryVolume',
321
- },
322
- 'headers': {
323
- 'Content-Type': 'application/json'
324
- },
325
- },
326
- 'paramsType': {
327
- 'VolumeId': 'String',
328
- }
329
- },
330
- 'ValidateAttachInstance': {
331
- 'url': '/',
332
- 'method': 'GET',
333
- 'config': {
334
- 'query': {
335
- 'Version': '2016-03-04',
336
- 'Action': 'ValidateAttachInstance',
337
- },
338
- 'headers': {
339
- 'Content-Type': 'application/json'
340
- },
341
- },
342
- 'paramsType': {
343
- 'VolumeType': 'String',
344
- 'InstanceId': 'String',
345
- }
346
- },
347
- 'DescribeCreateVolumePrice': {
348
- 'url': '/',
349
- 'method': 'GET',
350
- 'config': {
351
- 'query': {
352
- 'Version': '2016-03-04',
353
- 'Action': 'DescribeCreateVolumePrice',
354
- },
355
- 'headers': {
356
- 'Content-Type': 'application/json'
357
- },
358
- },
359
- 'paramsType': {
360
- 'VolumeType': 'String',
361
- 'Size': 'Int',
362
- 'AvailabilityZone': 'String',
363
- 'ChargeType': 'String',
364
- 'PurchaseTime': 'Int',
365
- }
366
- },
367
- }
368
- }
4
+ _baseConfig = {
5
+ protocol: "http://",
6
+ endpoint: "ebs.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: "ebs",
15
+ },
16
+ },
17
+ };
18
+ _apiList = {
19
+ CreateVolume: {
20
+ url: "/",
21
+ method: "GET",
22
+ config: {
23
+ query: {
24
+ Version: "2016-03-04",
25
+ Action: "CreateVolume",
26
+ },
27
+ headers: {
28
+ "Content-Type": "application/json",
29
+ },
30
+ },
31
+ paramsType: {
32
+ VolumeName: "String",
33
+ VolumeType: "String",
34
+ VolumeDesc: "String",
35
+ Size: "Int",
36
+ AvailabilityZone: "String",
37
+ ChargeType: "String",
38
+ PurchaseTime: "Int",
39
+ ProjectId: "String",
40
+ SubOrderId: "String",
41
+ },
42
+ },
43
+ AttachVolume: {
44
+ url: "/",
45
+ method: "GET",
46
+ config: {
47
+ query: {
48
+ Version: "2016-03-04",
49
+ Action: "AttachVolume",
50
+ },
51
+ headers: {
52
+ "Content-Type": "application/json",
53
+ },
54
+ },
55
+ paramsType: {
56
+ VolumeId: "String",
57
+ InstanceId: "String",
58
+ DeleteWithInstance: "String",
59
+ },
60
+ },
61
+ DetachVolume: {
62
+ url: "/",
63
+ method: "GET",
64
+ config: {
65
+ query: {
66
+ Version: "2016-03-04",
67
+ Action: "DetachVolume",
68
+ },
69
+ headers: {
70
+ "Content-Type": "application/json",
71
+ },
72
+ },
73
+ paramsType: {
74
+ InstanceId: "String",
75
+ VolumeId: "String",
76
+ },
77
+ },
78
+ DeleteVolume: {
79
+ url: "/",
80
+ method: "GET",
81
+ config: {
82
+ query: {
83
+ Version: "2016-03-04",
84
+ Action: "DeleteVolume",
85
+ },
86
+ headers: {
87
+ "Content-Type": "application/json",
88
+ },
89
+ },
90
+ paramsType: {
91
+ VolumeId: "String",
92
+ ForceDelete: "Boolean",
93
+ },
94
+ },
95
+ ResizeVolume: {
96
+ url: "/",
97
+ method: "GET",
98
+ config: {
99
+ query: {
100
+ Version: "2016-03-04",
101
+ Action: "ResizeVolume",
102
+ },
103
+ headers: {
104
+ "Content-Type": "application/json",
105
+ },
106
+ },
107
+ paramsType: {
108
+ VolumeId: "String",
109
+ Size: "String",
110
+ OnlineResize: "Boolean",
111
+ SubOrderId: "String",
112
+ },
113
+ },
114
+ DescribeVolumes: {
115
+ url: "/",
116
+ method: "GET",
117
+ config: {
118
+ query: {
119
+ Version: "2016-03-04",
120
+ Action: "DescribeVolumes",
121
+ },
122
+ headers: {
123
+ "Content-Type": "application/json",
124
+ },
125
+ },
126
+ paramsType: {
127
+ VolumeId: "Filter",
128
+ VolumeCategory: "String",
129
+ VolumeStatus: "String",
130
+ VolumeType: "String",
131
+ VolumeCreateDate: "String",
132
+ Marker: "Int",
133
+ MaxResults: "Int",
134
+ },
135
+ },
136
+ ModifyVolume: {
137
+ url: "/",
138
+ method: "GET",
139
+ config: {
140
+ query: {
141
+ Version: "2016-03-04",
142
+ Action: "ModifyVolume",
143
+ },
144
+ headers: {
145
+ "Content-Type": "application/json",
146
+ },
147
+ },
148
+ paramsType: {
149
+ VolumeId: "String",
150
+ VolumeName: "String",
151
+ VolumeDesc: "String",
152
+ DeleteWithInstance: "String",
153
+ },
154
+ },
155
+ DescribeEbsInstances: {
156
+ url: "/",
157
+ method: "GET",
158
+ config: {
159
+ query: {
160
+ Version: "2016-03-04",
161
+ Action: "DescribeEbsInstances",
162
+ },
163
+ headers: {
164
+ "Content-Type": "application/json",
165
+ },
166
+ },
167
+ paramsType: {
168
+ AvailabilityZone: "String",
169
+ VolumeType: "String",
170
+ },
171
+ },
172
+ DescribeInstanceVolumes: {
173
+ url: "/",
174
+ method: "GET",
175
+ config: {
176
+ query: {
177
+ Version: "2016-03-04",
178
+ Action: "DescribeInstanceVolumes",
179
+ },
180
+ headers: {
181
+ "Content-Type": "application/json",
182
+ },
183
+ },
184
+ paramsType: {
185
+ InstanceId: "String",
186
+ },
187
+ },
188
+ RenewVolume: {
189
+ url: "/",
190
+ method: "GET",
191
+ config: {
192
+ query: {
193
+ Version: "2016-03-04",
194
+ Action: "RenewVolume",
195
+ },
196
+ headers: {
197
+ "Content-Type": "application/json",
198
+ },
199
+ },
200
+ paramsType: {
201
+ VolumeId: "String",
202
+ PurchaseTime: "Int",
203
+ },
204
+ },
205
+ UpdateVolumeProject: {
206
+ url: "/",
207
+ method: "GET",
208
+ config: {
209
+ query: {
210
+ Version: "2016-03-04",
211
+ Action: "UpdateVolumeProject",
212
+ },
213
+ headers: {
214
+ "Content-Type": "application/json",
215
+ },
216
+ },
217
+ paramsType: {
218
+ VolumeId: "Filter",
219
+ ProjectId: "String",
220
+ },
221
+ },
222
+ DescribeSnapshots: {
223
+ url: "/",
224
+ method: "GET",
225
+ config: {
226
+ query: {
227
+ Version: "2016-03-04",
228
+ Action: "DescribeSnapshots",
229
+ },
230
+ headers: {
231
+ "Content-Type": "application/json",
232
+ },
233
+ },
234
+ paramsType: {
235
+ VolumeId: "String",
236
+ VolumeCategory: "String",
237
+ SnapshotId: "String",
238
+ AvailabilityZone: "String",
239
+ SnapshotName: "String",
240
+ PageNumber: "Int",
241
+ PageSize: "Int",
242
+ },
243
+ },
244
+ CreateSnapshot: {
245
+ url: "/",
246
+ method: "GET",
247
+ config: {
248
+ query: {
249
+ Version: "2016-03-04",
250
+ Action: "CreateSnapshot",
251
+ },
252
+ headers: {
253
+ "Content-Type": "application/json",
254
+ },
255
+ },
256
+ paramsType: {
257
+ VolumeId: "String",
258
+ SnapshotName: "String",
259
+ SnapshotDesc: "String",
260
+ SnapshotType: "String",
261
+ },
262
+ },
263
+ DeleteSnapshot: {
264
+ url: "/",
265
+ method: "GET",
266
+ config: {
267
+ query: {
268
+ Version: "2016-03-04",
269
+ Action: "DeleteSnapshot",
270
+ },
271
+ headers: {
272
+ "Content-Type": "application/json",
273
+ },
274
+ },
275
+ paramsType: {
276
+ SnapshotId: "String",
277
+ },
278
+ },
279
+ RollbackSnapshot: {
280
+ url: "/",
281
+ method: "GET",
282
+ config: {
283
+ query: {
284
+ Version: "2016-03-04",
285
+ Action: "RollbackSnapshot",
286
+ },
287
+ headers: {
288
+ "Content-Type": "application/json",
289
+ },
290
+ },
291
+ paramsType: {
292
+ VolumeId: "String",
293
+ SnapshotId: "String",
294
+ },
295
+ },
296
+ ModifySnapshot: {
297
+ url: "/",
298
+ method: "GET",
299
+ config: {
300
+ query: {
301
+ Version: "2016-03-04",
302
+ Action: "ModifySnapshot",
303
+ },
304
+ headers: {
305
+ "Content-Type": "application/json",
306
+ },
307
+ },
308
+ paramsType: {
309
+ SnapshotId: "String",
310
+ SnapshotName: "String",
311
+ SnapshotDesc: "String",
312
+ },
313
+ },
314
+ RecoveryVolume: {
315
+ url: "/",
316
+ method: "GET",
317
+ config: {
318
+ query: {
319
+ Version: "2016-03-04",
320
+ Action: "RecoveryVolume",
321
+ },
322
+ headers: {
323
+ "Content-Type": "application/json",
324
+ },
325
+ },
326
+ paramsType: {
327
+ VolumeId: "String",
328
+ },
329
+ },
330
+ ValidateAttachInstance: {
331
+ url: "/",
332
+ method: "GET",
333
+ config: {
334
+ query: {
335
+ Version: "2016-03-04",
336
+ Action: "ValidateAttachInstance",
337
+ },
338
+ headers: {
339
+ "Content-Type": "application/json",
340
+ },
341
+ },
342
+ paramsType: {
343
+ VolumeType: "String",
344
+ InstanceId: "String",
345
+ },
346
+ },
347
+ DescribeCreateVolumePrice: {
348
+ url: "/",
349
+ method: "GET",
350
+ config: {
351
+ query: {
352
+ Version: "2016-03-04",
353
+ Action: "DescribeCreateVolumePrice",
354
+ },
355
+ headers: {
356
+ "Content-Type": "application/json",
357
+ },
358
+ },
359
+ paramsType: {
360
+ VolumeType: "String",
361
+ Size: "Int",
362
+ AvailabilityZone: "String",
363
+ ChargeType: "String",
364
+ PurchaseTime: "Int",
365
+ },
366
+ },
367
+ };
368
+ };