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,851 @@
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': 'kcrs.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': 'kcrs'
22
+ }
23
+ }
24
+ });
25
+ _defineProperty(this, "_apiList", {
26
+ 'CreateNamespace': {
27
+ 'url': '/',
28
+ 'method': 'GET',
29
+ 'config': {
30
+ 'query': {
31
+ 'Version': '2021-11-09',
32
+ 'Action': 'CreateNamespace'
33
+ },
34
+ 'headers': {
35
+ 'Content-Type': 'application/json'
36
+ }
37
+ },
38
+ 'paramsType': {
39
+ 'InstanceId': 'String',
40
+ 'Namespace': 'String',
41
+ 'Public': 'String'
42
+ }
43
+ },
44
+ 'DescribeNamespace': {
45
+ 'url': '/',
46
+ 'method': 'GET',
47
+ 'config': {
48
+ 'query': {
49
+ 'Version': '2021-11-09',
50
+ 'Action': 'DescribeNamespace'
51
+ },
52
+ 'headers': {
53
+ 'Content-Type': 'application/json'
54
+ }
55
+ },
56
+ 'paramsType': {
57
+ 'InstanceId': 'String',
58
+ 'Namespace': 'String',
59
+ 'Public': 'String',
60
+ 'MaxResults': 'String',
61
+ 'Marker': 'String'
62
+ }
63
+ },
64
+ 'ModifyNamespaceType': {
65
+ 'url': '/',
66
+ 'method': 'GET',
67
+ 'config': {
68
+ 'query': {
69
+ 'Version': '2021-11-09',
70
+ 'Action': 'ModifyNamespaceType'
71
+ },
72
+ 'headers': {
73
+ 'Content-Type': 'application/json'
74
+ }
75
+ },
76
+ 'paramsType': {
77
+ 'InstanceId': 'String',
78
+ 'Namespace': 'String',
79
+ 'Public': 'String'
80
+ }
81
+ },
82
+ 'DescribeNamespaceExist': {
83
+ 'url': '/',
84
+ 'method': 'GET',
85
+ 'config': {
86
+ 'query': {
87
+ 'Version': '2021-11-09',
88
+ 'Action': 'DescribeNamespaceExist'
89
+ },
90
+ 'headers': {
91
+ 'Content-Type': 'application/json'
92
+ }
93
+ },
94
+ 'paramsType': {
95
+ 'InstanceId': 'String',
96
+ 'Namespace': 'String'
97
+ }
98
+ },
99
+ 'DeleteNamespace': {
100
+ 'url': '/',
101
+ 'method': 'GET',
102
+ 'config': {
103
+ 'query': {
104
+ 'Version': '2021-11-09',
105
+ 'Action': 'DeleteNamespace'
106
+ },
107
+ 'headers': {
108
+ 'Content-Type': 'application/json'
109
+ }
110
+ },
111
+ 'paramsType': {
112
+ 'InstanceId': 'String',
113
+ 'Namespace': 'String'
114
+ }
115
+ },
116
+ 'DescribeImages': {
117
+ 'url': '/',
118
+ 'method': 'GET',
119
+ 'config': {
120
+ 'query': {
121
+ 'Version': '2021-11-09',
122
+ 'Action': 'DescribeImages'
123
+ },
124
+ 'headers': {
125
+ 'Content-Type': 'application/json'
126
+ }
127
+ },
128
+ 'paramsType': {
129
+ 'InstanceId': 'String',
130
+ 'Namespace': 'String',
131
+ 'RepoName': 'String',
132
+ 'ImageId': 'String',
133
+ 'MaxResults': 'String',
134
+ 'Marker': 'String'
135
+ }
136
+ },
137
+ 'DeleteImages': {
138
+ 'url': '/',
139
+ 'method': 'GET',
140
+ 'config': {
141
+ 'query': {
142
+ 'Version': '2021-11-09',
143
+ 'Action': 'DeleteImages'
144
+ },
145
+ 'headers': {
146
+ 'Content-Type': 'application/json'
147
+ }
148
+ },
149
+ 'paramsType': {
150
+ 'InstanceId': 'String',
151
+ 'Namespace': 'String',
152
+ 'RepoName': 'String',
153
+ 'ImageId': 'String'
154
+ }
155
+ },
156
+ 'DeleteRepoTag': {
157
+ 'url': '/',
158
+ 'method': 'GET',
159
+ 'config': {
160
+ 'query': {
161
+ 'Version': '2021-11-09',
162
+ 'Action': 'DeleteRepoTag'
163
+ },
164
+ 'headers': {
165
+ 'Content-Type': 'application/json'
166
+ }
167
+ },
168
+ 'paramsType': {
169
+ 'InstanceId': 'String',
170
+ 'Namespace': 'String',
171
+ 'RepoName': 'String',
172
+ 'TagName': 'String'
173
+ }
174
+ },
175
+ 'DescribeRepository': {
176
+ 'url': '/',
177
+ 'method': 'GET',
178
+ 'config': {
179
+ 'query': {
180
+ 'Version': '2021-11-09',
181
+ 'Action': 'DescribeRepository'
182
+ },
183
+ 'headers': {
184
+ 'Content-Type': 'application/json'
185
+ }
186
+ },
187
+ 'paramsType': {
188
+ 'InstanceId': 'String',
189
+ 'Namespace': 'String',
190
+ 'RepoName': 'Filter',
191
+ 'MaxResults': 'String',
192
+ 'Marker': 'String'
193
+ }
194
+ },
195
+ 'ModifyRepoDesc': {
196
+ 'url': '/',
197
+ 'method': 'GET',
198
+ 'config': {
199
+ 'query': {
200
+ 'Version': '2021-11-09',
201
+ 'Action': 'ModifyRepoDesc'
202
+ },
203
+ 'headers': {
204
+ 'Content-Type': 'application/json'
205
+ }
206
+ },
207
+ 'paramsType': {
208
+ 'InstanceId': 'String',
209
+ 'Namespace': 'String',
210
+ 'RepoName': 'String',
211
+ 'Desc': 'String'
212
+ }
213
+ },
214
+ 'DeleteRepository': {
215
+ 'url': '/',
216
+ 'method': 'GET',
217
+ 'config': {
218
+ 'query': {
219
+ 'Version': '2021-11-09',
220
+ 'Action': 'DeleteRepository'
221
+ },
222
+ 'headers': {
223
+ 'Content-Type': 'application/json'
224
+ }
225
+ },
226
+ 'paramsType': {
227
+ 'InstanceId': 'String',
228
+ 'Namespace': 'String',
229
+ 'RepoName': 'String'
230
+ }
231
+ },
232
+ 'StartImageScan': {
233
+ 'url': '/',
234
+ 'method': 'GET',
235
+ 'config': {
236
+ 'query': {
237
+ 'Version': '2021-11-09',
238
+ 'Action': 'StartImageScan'
239
+ },
240
+ 'headers': {
241
+ 'Content-Type': 'application/json'
242
+ }
243
+ },
244
+ 'paramsType': {
245
+ 'InstanceId': 'String',
246
+ 'Namespace': 'String',
247
+ 'RepoName': 'String',
248
+ 'ImageId': 'String'
249
+ }
250
+ },
251
+ 'DescribeImageScan': {
252
+ 'url': '/',
253
+ 'method': 'GET',
254
+ 'config': {
255
+ 'query': {
256
+ 'Version': '2021-11-09',
257
+ 'Action': 'DescribeImageScan'
258
+ },
259
+ 'headers': {
260
+ 'Content-Type': 'application/json'
261
+ }
262
+ },
263
+ 'paramsType': {
264
+ 'InstanceId': 'String',
265
+ 'Namespace': 'String',
266
+ 'RepoName': 'String',
267
+ 'ImageId': 'String'
268
+ }
269
+ },
270
+ 'CreateInstanceToken': {
271
+ 'url': '/',
272
+ 'method': 'GET',
273
+ 'config': {
274
+ 'query': {
275
+ 'Version': '2021-11-09',
276
+ 'Action': 'CreateInstanceToken'
277
+ },
278
+ 'headers': {
279
+ 'Content-Type': 'application/json'
280
+ }
281
+ },
282
+ 'paramsType': {
283
+ 'InstanceId': 'String',
284
+ 'TokenType': 'String',
285
+ 'TokenTime': 'String',
286
+ 'Desc': 'String'
287
+ }
288
+ },
289
+ 'DescribeInternalEndpoint': {
290
+ 'url': '/',
291
+ 'method': 'GET',
292
+ 'config': {
293
+ 'query': {
294
+ 'Version': '2021-11-09',
295
+ 'Action': 'DescribeInternalEndpoint'
296
+ },
297
+ 'headers': {
298
+ 'Content-Type': 'application/json'
299
+ }
300
+ },
301
+ 'paramsType': {
302
+ 'InstanceId': 'String'
303
+ }
304
+ },
305
+ 'DescribeInstanceToken': {
306
+ 'url': '/',
307
+ 'method': 'GET',
308
+ 'config': {
309
+ 'query': {
310
+ 'Version': '2021-11-09',
311
+ 'Action': 'DescribeInstanceToken'
312
+ },
313
+ 'headers': {
314
+ 'Content-Type': 'application/json'
315
+ }
316
+ },
317
+ 'paramsType': {
318
+ 'InstanceId': 'String',
319
+ 'Marker': 'String',
320
+ 'MaxResults': 'String'
321
+ }
322
+ },
323
+ 'CreateInternalEndpoint': {
324
+ 'url': '/',
325
+ 'method': 'GET',
326
+ 'config': {
327
+ 'query': {
328
+ 'Version': '2021-11-09',
329
+ 'Action': 'CreateInternalEndpoint'
330
+ },
331
+ 'headers': {
332
+ 'Content-Type': 'application/json'
333
+ }
334
+ },
335
+ 'paramsType': {
336
+ 'InstanceId': 'String',
337
+ 'VpcId': 'String',
338
+ 'ReserveSubnetId': 'String'
339
+ }
340
+ },
341
+ 'ModifyInstanceTokenStatus': {
342
+ 'url': '/',
343
+ 'method': 'GET',
344
+ 'config': {
345
+ 'query': {
346
+ 'Version': '2021-11-09',
347
+ 'Action': 'ModifyInstanceTokenStatus'
348
+ },
349
+ 'headers': {
350
+ 'Content-Type': 'application/json'
351
+ }
352
+ },
353
+ 'paramsType': {
354
+ 'InstanceId': 'String',
355
+ 'TokenId': 'String',
356
+ 'Enable': 'String'
357
+ }
358
+ },
359
+ 'DeleteInternalEndpoint': {
360
+ 'url': '/',
361
+ 'method': 'GET',
362
+ 'config': {
363
+ 'query': {
364
+ 'Version': '2021-11-09',
365
+ 'Action': 'DeleteInternalEndpoint'
366
+ },
367
+ 'headers': {
368
+ 'Content-Type': 'application/json'
369
+ }
370
+ },
371
+ 'paramsType': {
372
+ 'InstanceId': 'String',
373
+ 'VpcId': 'String',
374
+ 'EniLBIp': 'String'
375
+ }
376
+ },
377
+ 'ModifyInstanceTokenInformation': {
378
+ 'url': '/',
379
+ 'method': 'GET',
380
+ 'config': {
381
+ 'query': {
382
+ 'Version': '2021-11-09',
383
+ 'Action': 'ModifyInstanceTokenInformation'
384
+ },
385
+ 'headers': {
386
+ 'Content-Type': 'application/json'
387
+ }
388
+ },
389
+ 'paramsType': {
390
+ 'InstanceId': 'String',
391
+ 'TokenId': 'String',
392
+ 'TokenType': 'String',
393
+ 'TokenTime': 'String',
394
+ 'Desc': 'String'
395
+ }
396
+ },
397
+ 'DescribeInternalEndpointDns': {
398
+ 'url': '/',
399
+ 'method': 'GET',
400
+ 'config': {
401
+ 'query': {
402
+ 'Version': '2021-11-09',
403
+ 'Action': 'DescribeInternalEndpointDns'
404
+ },
405
+ 'headers': {
406
+ 'Content-Type': 'application/json'
407
+ }
408
+ },
409
+ 'paramsType': {
410
+ 'InstanceId': 'String',
411
+ 'VpcId': 'String',
412
+ 'EniLBIp': 'String',
413
+ 'InternalEndpointDns': 'String'
414
+ }
415
+ },
416
+ 'DeleteInstanceToken': {
417
+ 'url': '/',
418
+ 'method': 'GET',
419
+ 'config': {
420
+ 'query': {
421
+ 'Version': '2021-11-09',
422
+ 'Action': 'DeleteInstanceToken'
423
+ },
424
+ 'headers': {
425
+ 'Content-Type': 'application/json'
426
+ }
427
+ },
428
+ 'paramsType': {
429
+ 'InstanceId': 'String',
430
+ 'TokenId': 'String'
431
+ }
432
+ },
433
+ 'CreateInternalEndpointDns': {
434
+ 'url': '/',
435
+ 'method': 'GET',
436
+ 'config': {
437
+ 'query': {
438
+ 'Version': '2021-11-09',
439
+ 'Action': 'CreateInternalEndpointDns'
440
+ },
441
+ 'headers': {
442
+ 'Content-Type': 'application/json'
443
+ }
444
+ },
445
+ 'paramsType': {
446
+ 'InstanceId': 'String',
447
+ 'VpcId': 'String',
448
+ 'EniLBIp': 'String',
449
+ 'InternalEndpointDns': 'String'
450
+ }
451
+ },
452
+ 'DeleteInternalEndpointDns': {
453
+ 'url': '/',
454
+ 'method': 'GET',
455
+ 'config': {
456
+ 'query': {
457
+ 'Version': '2021-11-09',
458
+ 'Action': 'DeleteInternalEndpointDns'
459
+ },
460
+ 'headers': {
461
+ 'Content-Type': 'application/json'
462
+ }
463
+ },
464
+ 'paramsType': {
465
+ 'InstanceId': 'String',
466
+ 'VpcId': 'String',
467
+ 'EniLBIp': 'String',
468
+ 'InternalEndpointDns': 'String'
469
+ }
470
+ },
471
+ 'CreateInstance': {
472
+ 'url': '/',
473
+ 'method': 'GET',
474
+ 'config': {
475
+ 'query': {
476
+ 'Version': '2021-11-09',
477
+ 'Action': 'CreateInstance'
478
+ },
479
+ 'headers': {
480
+ 'Content-Type': 'application/json'
481
+ }
482
+ },
483
+ 'paramsType': {
484
+ 'InstanceName': 'String',
485
+ 'ChargeType': 'String',
486
+ 'InstanceType': 'String',
487
+ 'PurchaseTime': 'String',
488
+ 'ProjectId': 'String'
489
+ }
490
+ },
491
+ 'DeleteInstance': {
492
+ 'url': '/',
493
+ 'method': 'GET',
494
+ 'config': {
495
+ 'query': {
496
+ 'Version': '2021-11-09',
497
+ 'Action': 'DeleteInstance'
498
+ },
499
+ 'headers': {
500
+ 'Content-Type': 'application/json'
501
+ }
502
+ },
503
+ 'paramsType': {
504
+ 'InstanceId': 'String',
505
+ 'DeleteBucket': 'String'
506
+ }
507
+ },
508
+ 'DescribeInstanceUsage': {
509
+ 'url': '/',
510
+ 'method': 'GET',
511
+ 'config': {
512
+ 'query': {
513
+ 'Version': '2021-11-09',
514
+ 'Action': 'DescribeInstanceUsage'
515
+ },
516
+ 'headers': {
517
+ 'Content-Type': 'application/json'
518
+ }
519
+ },
520
+ 'paramsType': {
521
+ 'InstanceId': 'String'
522
+ }
523
+ },
524
+ 'DescribeInstance': {
525
+ 'url': '/',
526
+ 'method': 'GET',
527
+ 'config': {
528
+ 'query': {
529
+ 'Version': '2021-11-09',
530
+ 'Action': 'DescribeInstance'
531
+ },
532
+ 'headers': {
533
+ 'Content-Type': 'application/json'
534
+ }
535
+ },
536
+ 'paramsType': {
537
+ 'InstanceId': 'Filter',
538
+ 'Marker': 'String',
539
+ 'MaxResults': 'String',
540
+ 'ProjectId': 'Filter',
541
+ 'InstanceName': 'String'
542
+ }
543
+ },
544
+ 'CreateWebhookTrigger': {
545
+ 'url': '/',
546
+ 'method': 'GET',
547
+ 'config': {
548
+ 'query': {
549
+ 'Version': '2021-11-09',
550
+ 'Action': 'CreateWebhookTrigger'
551
+ },
552
+ 'headers': {
553
+ 'Content-Type': 'application/json'
554
+ }
555
+ },
556
+ 'paramsType': {
557
+ 'InstanceId': 'String',
558
+ 'Namespace': 'String',
559
+ 'Trigger': 'String',
560
+ 'TriggerName': 'String',
561
+ 'EventType': 'Filter',
562
+ 'TriggerUrl': 'String',
563
+ 'Header': 'Filter',
564
+ 'Enabled': 'String',
565
+ 'Key': 'String',
566
+ 'Value': 'Filter'
567
+ }
568
+ },
569
+ 'DescribeWebhookTrigger': {
570
+ 'url': '/',
571
+ 'method': 'GET',
572
+ 'config': {
573
+ 'query': {
574
+ 'Version': '2021-11-09',
575
+ 'Action': 'DescribeWebhookTrigger'
576
+ },
577
+ 'headers': {
578
+ 'Content-Type': 'application/json'
579
+ }
580
+ },
581
+ 'paramsType': {
582
+ 'InstanceId': 'String',
583
+ 'Namespace': 'String',
584
+ 'TriggerId': 'String',
585
+ 'Marker': 'String',
586
+ 'MaxResults': 'String'
587
+ }
588
+ },
589
+ 'ModifyWebhookTrigger': {
590
+ 'url': '/',
591
+ 'method': 'GET',
592
+ 'config': {
593
+ 'query': {
594
+ 'Version': '2021-11-09',
595
+ 'Action': 'ModifyWebhookTrigger'
596
+ },
597
+ 'headers': {
598
+ 'Content-Type': 'application/json'
599
+ }
600
+ },
601
+ 'paramsType': {
602
+ 'InstanceId': 'String',
603
+ 'Namespace': 'String',
604
+ 'Trigger': 'String',
605
+ 'TriggerId': 'String',
606
+ 'TriggerName': 'String',
607
+ 'EventType': 'Filter',
608
+ 'TriggerUrl': 'String',
609
+ 'Header': 'Filter',
610
+ 'Enabled': 'String',
611
+ 'Key': 'String',
612
+ 'Value': 'Filter'
613
+ }
614
+ },
615
+ 'DescribeWebhookTriggerLog': {
616
+ 'url': '/',
617
+ 'method': 'GET',
618
+ 'config': {
619
+ 'query': {
620
+ 'Version': '2021-11-09',
621
+ 'Action': 'DescribeWebhookTriggerLog'
622
+ },
623
+ 'headers': {
624
+ 'Content-Type': 'application/json'
625
+ }
626
+ },
627
+ 'paramsType': {
628
+ 'InstanceId': 'String',
629
+ 'Namespace': 'String',
630
+ 'TriggerId': 'String',
631
+ 'Marker': 'String',
632
+ 'MaxResults': 'String'
633
+ }
634
+ },
635
+ 'DeleteWebhookTrigger': {
636
+ 'url': '/',
637
+ 'method': 'GET',
638
+ 'config': {
639
+ 'query': {
640
+ 'Version': '2021-11-09',
641
+ 'Action': 'DeleteWebhookTrigger'
642
+ },
643
+ 'headers': {
644
+ 'Content-Type': 'application/json'
645
+ }
646
+ },
647
+ 'paramsType': {
648
+ 'InstanceId': 'String',
649
+ 'Namespace': 'String',
650
+ 'TriggerId': 'String'
651
+ }
652
+ },
653
+ 'DescribeAllRepository': {
654
+ 'url': '/',
655
+ 'method': 'GET',
656
+ 'config': {
657
+ 'query': {
658
+ 'Version': '2021-11-09',
659
+ 'Action': 'DescribeAllRepository'
660
+ },
661
+ 'headers': {
662
+ 'Content-Type': 'application/x-www-form-urlencoded'
663
+ }
664
+ },
665
+ 'paramsType': {}
666
+ },
667
+ 'GetMetadata': {
668
+ 'url': '/',
669
+ 'method': 'GET',
670
+ 'config': {
671
+ 'query': {
672
+ 'Version': '2021-11-09',
673
+ 'Action': 'GetMetadata'
674
+ },
675
+ 'headers': {
676
+ 'Content-Type': 'application/x-www-form-urlencoded'
677
+ }
678
+ },
679
+ 'paramsType': {}
680
+ },
681
+ 'CreateRetentionRule': {
682
+ 'url': '/',
683
+ 'method': 'GET',
684
+ 'config': {
685
+ 'query': {
686
+ 'Version': '2021-11-09',
687
+ 'Action': 'CreateRetentionRule'
688
+ },
689
+ 'headers': {
690
+ 'Content-Type': 'application/x-www-form-urlencoded'
691
+ }
692
+ },
693
+ 'paramsType': {}
694
+ },
695
+ 'UpdateRetentionRule': {
696
+ 'url': '/',
697
+ 'method': 'GET',
698
+ 'config': {
699
+ 'query': {
700
+ 'Version': '2021-11-09',
701
+ 'Action': 'UpdateRetentionRule'
702
+ },
703
+ 'headers': {
704
+ 'Content-Type': 'application/x-www-form-urlencoded'
705
+ }
706
+ },
707
+ 'paramsType': {}
708
+ },
709
+ 'DeleteRetentionRule': {
710
+ 'url': '/',
711
+ 'method': 'GET',
712
+ 'config': {
713
+ 'query': {
714
+ 'Version': '2021-11-09',
715
+ 'Action': 'DeleteRetentionRule'
716
+ },
717
+ 'headers': {
718
+ 'Content-Type': 'application/x-www-form-urlencoded'
719
+ }
720
+ },
721
+ 'paramsType': {}
722
+ },
723
+ 'DescribeRetentionRule': {
724
+ 'url': '/',
725
+ 'method': 'GET',
726
+ 'config': {
727
+ 'query': {
728
+ 'Version': '2021-11-09',
729
+ 'Action': 'DescribeRetentionRule'
730
+ },
731
+ 'headers': {
732
+ 'Content-Type': 'application/x-www-form-urlencoded'
733
+ }
734
+ },
735
+ 'paramsType': {}
736
+ },
737
+ 'RunRetentionPolicy': {
738
+ 'url': '/',
739
+ 'method': 'GET',
740
+ 'config': {
741
+ 'query': {
742
+ 'Version': '2021-11-09',
743
+ 'Action': 'RunRetentionPolicy'
744
+ },
745
+ 'headers': {
746
+ 'Content-Type': 'application/x-www-form-urlencoded'
747
+ }
748
+ },
749
+ 'paramsType': {}
750
+ },
751
+ 'GetRetentionPolicyLogs': {
752
+ 'url': '/',
753
+ 'method': 'GET',
754
+ 'config': {
755
+ 'query': {
756
+ 'Version': '2021-11-09',
757
+ 'Action': 'GetRetentionPolicyLogs'
758
+ },
759
+ 'headers': {
760
+ 'Content-Type': 'application/x-www-form-urlencoded'
761
+ }
762
+ },
763
+ 'paramsType': {}
764
+ },
765
+ 'GetRetentionPolicyLogDetail': {
766
+ 'url': '/',
767
+ 'method': 'GET',
768
+ 'config': {
769
+ 'query': {
770
+ 'Version': '2021-11-09',
771
+ 'Action': 'GetRetentionPolicyLogDetail'
772
+ },
773
+ 'headers': {
774
+ 'Content-Type': 'application/x-www-form-urlencoded'
775
+ }
776
+ },
777
+ 'paramsType': {}
778
+ },
779
+ 'GetRetentionPolicyLog': {
780
+ 'url': '/',
781
+ 'method': 'GET',
782
+ 'config': {
783
+ 'query': {
784
+ 'Version': '2021-11-09',
785
+ 'Action': 'GetRetentionPolicyLog'
786
+ },
787
+ 'headers': {
788
+ 'Content-Type': 'application/x-www-form-urlencoded'
789
+ }
790
+ },
791
+ 'paramsType': {}
792
+ },
793
+ 'GetRetentionTrigger': {
794
+ 'url': '/',
795
+ 'method': 'GET',
796
+ 'config': {
797
+ 'query': {
798
+ 'Version': '2021-11-09',
799
+ 'Action': 'GetRetentionTrigger'
800
+ },
801
+ 'headers': {
802
+ 'Content-Type': 'application/x-www-form-urlencoded'
803
+ }
804
+ },
805
+ 'paramsType': {}
806
+ },
807
+ 'UpdateRetentionTrigger': {
808
+ 'url': '/',
809
+ 'method': 'GET',
810
+ 'config': {
811
+ 'query': {
812
+ 'Version': '2021-11-09',
813
+ 'Action': 'UpdateRetentionTrigger'
814
+ },
815
+ 'headers': {
816
+ 'Content-Type': 'application/x-www-form-urlencoded'
817
+ }
818
+ },
819
+ 'paramsType': {}
820
+ },
821
+ 'GetNamespacePolicy': {
822
+ 'url': '/',
823
+ 'method': 'GET',
824
+ 'config': {
825
+ 'query': {
826
+ 'Version': '2021-11-09',
827
+ 'Action': 'GetNamespacePolicy'
828
+ },
829
+ 'headers': {
830
+ 'Content-Type': 'application/x-www-form-urlencoded'
831
+ }
832
+ },
833
+ 'paramsType': {}
834
+ },
835
+ 'Schedule': {
836
+ 'url': '/',
837
+ 'method': 'GET',
838
+ 'config': {
839
+ 'query': {
840
+ 'Version': '2021-11-09',
841
+ 'Action': 'Schedule'
842
+ },
843
+ 'headers': {
844
+ 'Content-Type': 'application/x-www-form-urlencoded'
845
+ }
846
+ },
847
+ 'paramsType': {}
848
+ }
849
+ });
850
+ }
851
+ };