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
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
 
3
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
-
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); }
5
6
  const BaseClient = require("../../../base/BaseClient.js");
6
-
7
7
  module.exports = class Client extends BaseClient {
8
8
  constructor(...args) {
9
9
  super(...args);
10
-
11
10
  _defineProperty(this, "_baseConfig", {
12
11
  'protocol': 'http://',
13
12
  'endpoint': 'slb.api.ksyun.com',
@@ -23,7 +22,6 @@ module.exports = class Client extends BaseClient {
23
22
  }
24
23
  }
25
24
  });
26
-
27
25
  _defineProperty(this, "_apiList", {
28
26
  'DescribeListeners': {
29
27
  'url': '/',
@@ -44,6 +42,22 @@ module.exports = class Client extends BaseClient {
44
42
  'NextToken': 'String'
45
43
  }
46
44
  },
45
+ 'DeleteListeners': {
46
+ 'url': '/',
47
+ 'method': 'GET',
48
+ 'config': {
49
+ 'query': {
50
+ 'Version': '2016-03-04',
51
+ 'Action': 'DeleteListeners'
52
+ },
53
+ 'headers': {
54
+ 'Content-Type': 'application/x-www-form-urlencoded'
55
+ }
56
+ },
57
+ 'paramsType': {
58
+ 'ListenerId': 'String'
59
+ }
60
+ },
47
61
  'ModifyListeners': {
48
62
  'url': '/',
49
63
  'method': 'GET',
@@ -70,7 +84,8 @@ module.exports = class Client extends BaseClient {
70
84
  'SessionPersistencePeriod': 'Int',
71
85
  'CookieType': 'String',
72
86
  'CookieName': 'String',
73
- 'CertificateId': 'String'
87
+ 'CertificateId': 'String',
88
+ 'RedirectListenerId': 'String'
74
89
  }
75
90
  },
76
91
  'CreateListeners': {
@@ -211,6 +226,22 @@ module.exports = class Client extends BaseClient {
211
226
  'HealthCheckExp': 'String'
212
227
  }
213
228
  },
229
+ 'DeleteHealthCheck': {
230
+ 'url': '/',
231
+ 'method': 'GET',
232
+ 'config': {
233
+ 'query': {
234
+ 'Version': '2016-03-04',
235
+ 'Action': 'DeleteHealthCheck'
236
+ },
237
+ 'headers': {
238
+ 'Content-Type': 'application/x-www-form-urlencoded'
239
+ }
240
+ },
241
+ 'paramsType': {
242
+ 'HealthCheckId': 'String'
243
+ }
244
+ },
214
245
  'DescribeHealthChecks': {
215
246
  'url': '/',
216
247
  'method': 'GET',
@@ -278,6 +309,22 @@ module.exports = class Client extends BaseClient {
278
309
  'State': 'String'
279
310
  }
280
311
  },
312
+ 'DeleteLoadBalancer': {
313
+ 'url': '/',
314
+ 'method': 'GET',
315
+ 'config': {
316
+ 'query': {
317
+ 'Version': '2016-03-04',
318
+ 'Action': 'DeleteLoadBalancer'
319
+ },
320
+ 'headers': {
321
+ 'Content-Type': 'application/x-www-form-urlencoded'
322
+ }
323
+ },
324
+ 'paramsType': {
325
+ 'LoadBalancerId': 'String'
326
+ }
327
+ },
281
328
  'ModifyLoadBalancer': {
282
329
  'url': '/',
283
330
  'method': 'GET',
@@ -447,7 +494,8 @@ module.exports = class Client extends BaseClient {
447
494
  'Timeout': 'Int',
448
495
  'UnhealthyThreshold': 'Int',
449
496
  'UrlPath': 'String',
450
- 'Region': 'String'
497
+ 'Region': 'String',
498
+ 'Type': 'String'
451
499
  }
452
500
  },
453
501
  'DeleteBackendServerGroup': {
@@ -966,8 +1014,469 @@ module.exports = class Client extends BaseClient {
966
1014
  'PrivateLinkServerId': 'String',
967
1015
  'PrivateLinkId': 'String'
968
1016
  }
1017
+ },
1018
+ 'CreateAlb': {
1019
+ 'url': '/',
1020
+ 'method': 'GET',
1021
+ 'config': {
1022
+ 'query': {
1023
+ 'Version': '2016-03-04',
1024
+ 'Action': 'CreateAlb'
1025
+ },
1026
+ 'headers': {
1027
+ 'Content-Type': 'application/x-www-form-urlencoded'
1028
+ }
1029
+ },
1030
+ 'paramsType': {
1031
+ 'AlbName': 'String',
1032
+ 'AlbVersion': 'String',
1033
+ 'AlbType': 'String',
1034
+ 'VpcId': 'String',
1035
+ 'IpVersion': 'String',
1036
+ 'ProjectId': 'String',
1037
+ 'AllocationId': 'String',
1038
+ 'ChargeType': 'String'
1039
+ }
1040
+ },
1041
+ 'DeleteAlb': {
1042
+ 'url': '/',
1043
+ 'method': 'GET',
1044
+ 'config': {
1045
+ 'query': {
1046
+ 'Version': '2016-03-04',
1047
+ 'Action': 'DeleteAlb'
1048
+ },
1049
+ 'headers': {
1050
+ 'Content-Type': 'application/x-www-form-urlencoded'
1051
+ }
1052
+ },
1053
+ 'paramsType': {
1054
+ 'AlbId': 'String'
1055
+ }
1056
+ },
1057
+ 'SetAlbName': {
1058
+ 'url': '/',
1059
+ 'method': 'GET',
1060
+ 'config': {
1061
+ 'query': {
1062
+ 'Version': '2016-03-04',
1063
+ 'Action': 'SetAlbName'
1064
+ },
1065
+ 'headers': {
1066
+ 'Content-Type': 'application/x-www-form-urlencoded'
1067
+ }
1068
+ },
1069
+ 'paramsType': {
1070
+ 'AlbId': 'String',
1071
+ 'AlbName': 'String'
1072
+ }
1073
+ },
1074
+ 'SetAlbStatus': {
1075
+ 'url': '/',
1076
+ 'method': 'GET',
1077
+ 'config': {
1078
+ 'query': {
1079
+ 'Version': '2016-03-04',
1080
+ 'Action': 'SetAlbStatus'
1081
+ },
1082
+ 'headers': {
1083
+ 'Content-Type': 'application/x-www-form-urlencoded'
1084
+ }
1085
+ },
1086
+ 'paramsType': {
1087
+ 'AlbId': 'String',
1088
+ 'State': 'String'
1089
+ }
1090
+ },
1091
+ 'DescribeAlbs': {
1092
+ 'url': '/',
1093
+ 'method': 'GET',
1094
+ 'config': {
1095
+ 'query': {
1096
+ 'Version': '2016-03-04',
1097
+ 'Action': 'DescribeAlbs'
1098
+ },
1099
+ 'headers': {
1100
+ 'Content-Type': 'application/x-www-form-urlencoded'
1101
+ }
1102
+ },
1103
+ 'paramsType': {
1104
+ 'AlbId': 'Filter',
1105
+ 'Filter': 'Filter',
1106
+ 'MaxResults': 'Int',
1107
+ 'NextToken': 'String'
1108
+ }
1109
+ },
1110
+ 'CreateAlbListener': {
1111
+ 'url': '/',
1112
+ 'method': 'GET',
1113
+ 'config': {
1114
+ 'query': {
1115
+ 'Version': '2016-03-04',
1116
+ 'Action': 'CreateAlbListener'
1117
+ },
1118
+ 'headers': {
1119
+ 'Content-Type': 'application/x-www-form-urlencoded'
1120
+ }
1121
+ },
1122
+ 'paramsType': {
1123
+ 'AlbId': 'String',
1124
+ 'AlbListenerName': 'String',
1125
+ 'Method': 'String',
1126
+ 'Protocol': 'String',
1127
+ 'Port': 'Int',
1128
+ 'CertificateId': 'String',
1129
+ 'TlsCipherPolicy': 'String',
1130
+ 'AlbListenerAclId': 'String',
1131
+ 'AlbListenerState': 'String',
1132
+ 'SessionState': 'String',
1133
+ 'SessionPersistencePeriod': 'Int',
1134
+ 'CookieType': 'String',
1135
+ 'CookieName': 'String',
1136
+ 'EnableHttp2': 'Boolean',
1137
+ 'HttpProtocol': 'String'
1138
+ }
1139
+ },
1140
+ 'ModifyAlbListener': {
1141
+ 'url': '/',
1142
+ 'method': 'GET',
1143
+ 'config': {
1144
+ 'query': {
1145
+ 'Version': '2016-03-04',
1146
+ 'Action': 'ModifyAlbListener'
1147
+ },
1148
+ 'headers': {
1149
+ 'Content-Type': 'application/x-www-form-urlencoded'
1150
+ }
1151
+ },
1152
+ 'paramsType': {
1153
+ 'AlbListenerId': 'String',
1154
+ 'AlbListenerName': 'String',
1155
+ 'AlbListenerState': 'String',
1156
+ 'Method': 'String',
1157
+ 'CertificateId': 'String',
1158
+ 'TlsCipherPolicy': 'String',
1159
+ 'AlbListenerAclId': 'String',
1160
+ 'HttpProtocol': 'String',
1161
+ 'SessionState': 'String',
1162
+ 'SessionPersistencePeriod': 'Int',
1163
+ 'CookieType': 'String',
1164
+ 'CookieName': 'String',
1165
+ 'EnableHttp2': 'Boolean'
1166
+ }
1167
+ },
1168
+ 'DeleteAlbListener': {
1169
+ 'url': '/',
1170
+ 'method': 'GET',
1171
+ 'config': {
1172
+ 'query': {
1173
+ 'Version': '2016-03-04',
1174
+ 'Action': 'DeleteAlbListener'
1175
+ },
1176
+ 'headers': {
1177
+ 'Content-Type': 'application/x-www-form-urlencoded'
1178
+ }
1179
+ },
1180
+ 'paramsType': {
1181
+ 'AlbListenerId': 'String'
1182
+ }
1183
+ },
1184
+ 'DescribeAlbListeners': {
1185
+ 'url': '/',
1186
+ 'method': 'GET',
1187
+ 'config': {
1188
+ 'query': {
1189
+ 'Version': '2016-03-04',
1190
+ 'Action': 'DescribeAlbListeners'
1191
+ },
1192
+ 'headers': {
1193
+ 'Content-Type': 'application/x-www-form-urlencoded'
1194
+ }
1195
+ },
1196
+ 'paramsType': {
1197
+ 'AlbListenerId': 'Filter',
1198
+ 'Filter': 'Filter',
1199
+ 'MaxResults': 'Int',
1200
+ 'NextToken': 'String'
1201
+ }
1202
+ },
1203
+ 'CreateAlbRuleGroup': {
1204
+ 'url': '/',
1205
+ 'method': 'POST',
1206
+ 'config': {
1207
+ 'query': {
1208
+ 'Version': '2016-03-04',
1209
+ 'Action': 'CreateAlbRuleGroup'
1210
+ },
1211
+ 'headers': {
1212
+ 'Content-Type': 'application/json'
1213
+ }
1214
+ },
1215
+ 'paramsType': {
1216
+ 'AlbRuleGroupName': 'String',
1217
+ 'AlbListenerId': 'String',
1218
+ 'BackendServerGroupId': 'String',
1219
+ 'ListenerSync': 'String',
1220
+ 'Method': 'String',
1221
+ 'SessionState': 'String',
1222
+ 'SessionPersistencePeriod': 'Int',
1223
+ 'CookieType': 'String',
1224
+ 'CookieName': 'String',
1225
+ 'HealthCheckState': 'String',
1226
+ 'Timeout': 'Int',
1227
+ 'Interval': 'Int',
1228
+ 'HealthyThreshold': 'Int',
1229
+ 'UnhealthyThreshold': 'Int',
1230
+ 'UrlPath': 'String',
1231
+ 'HostName': 'String',
1232
+ 'AlbRuleSet': 'Array',
1233
+ 'RedirectHttpCode': 'String',
1234
+ 'RedirectAlbListenerId': 'String'
1235
+ }
1236
+ },
1237
+ 'DeleteAlbRuleGroup': {
1238
+ 'url': '/',
1239
+ 'method': 'GET',
1240
+ 'config': {
1241
+ 'query': {
1242
+ 'Version': '2016-03-04',
1243
+ 'Action': 'DeleteAlbRuleGroup'
1244
+ },
1245
+ 'headers': {
1246
+ 'Content-Type': 'application/x-www-form-urlencoded'
1247
+ }
1248
+ },
1249
+ 'paramsType': {
1250
+ 'AlbRuleGroupId': 'String'
1251
+ }
1252
+ },
1253
+ 'DescribeAlbRuleGroups': {
1254
+ 'url': '/',
1255
+ 'method': 'GET',
1256
+ 'config': {
1257
+ 'query': {
1258
+ 'Version': '2016-03-04',
1259
+ 'Action': 'DescribeAlbRuleGroups'
1260
+ },
1261
+ 'headers': {
1262
+ 'Content-Type': 'application/x-www-form-urlencoded'
1263
+ }
1264
+ },
1265
+ 'paramsType': {
1266
+ 'AlbRuleGroupId': 'Filter',
1267
+ 'Filter': 'Filter',
1268
+ 'MaxResults': 'Int',
1269
+ 'NextToken': 'String'
1270
+ }
1271
+ },
1272
+ 'ModifyAlbRuleGroup': {
1273
+ 'url': '/',
1274
+ 'method': 'POST',
1275
+ 'config': {
1276
+ 'query': {
1277
+ 'Version': '2016-03-04',
1278
+ 'Action': 'ModifyAlbRuleGroup'
1279
+ },
1280
+ 'headers': {
1281
+ 'Content-Type': 'application/json'
1282
+ }
1283
+ },
1284
+ 'paramsType': {
1285
+ 'AlbRuleGroupId': 'String',
1286
+ 'AlbRuleGroupName': 'String',
1287
+ 'BackendServerGroupId': 'String',
1288
+ 'ListenerSync': 'String',
1289
+ 'Method': 'String',
1290
+ 'SessionState': 'String',
1291
+ 'SessionPersistencePeriod': 'Int',
1292
+ 'CookieType': 'String',
1293
+ 'CookieName': 'String',
1294
+ 'HealthCheckState': 'String',
1295
+ 'Timeout': 'Int',
1296
+ 'Interval': 'Int',
1297
+ 'HealthyThreshold': 'Int',
1298
+ 'UnhealthyThreshold': 'Int',
1299
+ 'UrlPath': 'String',
1300
+ 'HostName': 'String',
1301
+ 'AlbRuleSet': 'Array',
1302
+ 'RedirectHttpCode': 'String',
1303
+ 'RedirectAlbListenerId': 'String'
1304
+ }
1305
+ },
1306
+ 'AddAlbRule': {
1307
+ 'url': '/',
1308
+ 'method': 'GET',
1309
+ 'config': {
1310
+ 'query': {
1311
+ 'Version': '2016-03-04',
1312
+ 'Action': 'AddAlbRule'
1313
+ },
1314
+ 'headers': {
1315
+ 'Content-Type': 'application/x-www-form-urlencoded'
1316
+ }
1317
+ },
1318
+ 'paramsType': {
1319
+ 'AlbRuleGroupId': 'String',
1320
+ 'AlbRuleType': 'String',
1321
+ 'AlbRuleValue': 'String'
1322
+ }
1323
+ },
1324
+ 'DeleteAlbRule': {
1325
+ 'url': '/',
1326
+ 'method': 'GET',
1327
+ 'config': {
1328
+ 'query': {
1329
+ 'Version': '2016-03-04',
1330
+ 'Action': 'DeleteAlbRule'
1331
+ },
1332
+ 'headers': {
1333
+ 'Content-Type': 'application/x-www-form-urlencoded'
1334
+ }
1335
+ },
1336
+ 'paramsType': {
1337
+ 'AlbRuleGroupId': 'String',
1338
+ 'AlbRuleType': 'String',
1339
+ 'AlbRuleValue': 'String'
1340
+ }
1341
+ },
1342
+ 'CreateAlbListenerCertGroup': {
1343
+ 'url': '/',
1344
+ 'method': 'GET',
1345
+ 'config': {
1346
+ 'query': {
1347
+ 'Version': '2016-03-04',
1348
+ 'Action': 'CreateAlbListenerCertGroup'
1349
+ },
1350
+ 'headers': {
1351
+ 'Content-Type': 'application/x-www-form-urlencoded'
1352
+ }
1353
+ },
1354
+ 'paramsType': {
1355
+ 'AlbListenerId': 'String'
1356
+ }
1357
+ },
1358
+ 'DeleteAlbListenerCertGroup': {
1359
+ 'url': '/',
1360
+ 'method': 'GET',
1361
+ 'config': {
1362
+ 'query': {
1363
+ 'Version': '2016-03-04',
1364
+ 'Action': 'DeleteAlbListenerCertGroup'
1365
+ },
1366
+ 'headers': {
1367
+ 'Content-Type': 'application/x-www-form-urlencoded'
1368
+ }
1369
+ },
1370
+ 'paramsType': {
1371
+ 'AlbListenerCertGroupId': 'String'
1372
+ }
1373
+ },
1374
+ 'DescribeAlbListenerCertGroups': {
1375
+ 'url': '/',
1376
+ 'method': 'GET',
1377
+ 'config': {
1378
+ 'query': {
1379
+ 'Version': '2016-03-04',
1380
+ 'Action': 'DescribeAlbListenerCertGroups'
1381
+ },
1382
+ 'headers': {
1383
+ 'Content-Type': 'application/x-www-form-urlencoded'
1384
+ }
1385
+ },
1386
+ 'paramsType': {
1387
+ 'AlbListenerCertGroupId': 'Filter',
1388
+ 'Filter': 'Filter',
1389
+ 'MaxResults': 'Int',
1390
+ 'NextToken': 'String'
1391
+ }
1392
+ },
1393
+ 'AssociateCertificateWithGroup': {
1394
+ 'url': '/',
1395
+ 'method': 'GET',
1396
+ 'config': {
1397
+ 'query': {
1398
+ 'Version': '2016-03-04',
1399
+ 'Action': 'AssociateCertificateWithGroup'
1400
+ },
1401
+ 'headers': {
1402
+ 'Content-Type': 'application/x-www-form-urlencoded'
1403
+ }
1404
+ },
1405
+ 'paramsType': {
1406
+ 'AlbListenerCertGroupId': 'String',
1407
+ 'CertificateId': 'String'
1408
+ }
1409
+ },
1410
+ 'DissociateCertificateWithGroup': {
1411
+ 'url': '/',
1412
+ 'method': 'GET',
1413
+ 'config': {
1414
+ 'query': {
1415
+ 'Version': '2016-03-04',
1416
+ 'Action': 'DissociateCertificateWithGroup'
1417
+ },
1418
+ 'headers': {
1419
+ 'Content-Type': 'application/x-www-form-urlencoded'
1420
+ }
1421
+ },
1422
+ 'paramsType': {
1423
+ 'AlbListenerCertGroupId': 'String',
1424
+ 'CertificateId': 'String'
1425
+ }
1426
+ },
1427
+ 'SetEnableAlbAccessLog': {
1428
+ 'url': '/',
1429
+ 'method': 'GET',
1430
+ 'config': {
1431
+ 'query': {
1432
+ 'Version': '2016-03-04',
1433
+ 'Action': 'SetEnableAlbAccessLog'
1434
+ },
1435
+ 'headers': {
1436
+ 'Content-Type': 'application/x-www-form-urlencoded'
1437
+ }
1438
+ },
1439
+ 'paramsType': {
1440
+ 'AlbId': 'String',
1441
+ 'EnabledLog': 'Boolean'
1442
+ }
1443
+ },
1444
+ 'SetAlbAccessLog': {
1445
+ 'url': '/',
1446
+ 'method': 'GET',
1447
+ 'config': {
1448
+ 'query': {
1449
+ 'Version': '2016-03-04',
1450
+ 'Action': 'SetAlbAccessLog'
1451
+ },
1452
+ 'headers': {
1453
+ 'Content-Type': 'application/json'
1454
+ }
1455
+ },
1456
+ 'paramsType': {
1457
+ 'AlbId': 'String',
1458
+ 'ProjectName': 'String',
1459
+ 'LogpoolName': 'String'
1460
+ }
1461
+ },
1462
+ 'CloneLoadBalancer': {
1463
+ 'url': '/',
1464
+ 'method': 'GET',
1465
+ 'config': {
1466
+ 'query': {
1467
+ 'Version': '2016-03-04',
1468
+ 'Action': 'CloneLoadBalancer'
1469
+ },
1470
+ 'headers': {
1471
+ 'Content-Type': 'application/x-www-form-urlencoded'
1472
+ }
1473
+ },
1474
+ 'paramsType': {
1475
+ 'VpcId': 'String',
1476
+ 'LoadBalancerName': 'String',
1477
+ 'Type': 'String'
1478
+ }
969
1479
  }
970
1480
  });
971
1481
  }
972
-
973
1482
  };
@@ -1,13 +1,12 @@
1
1
  "use strict";
2
2
 
3
- function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
4
-
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); }
5
6
  const BaseClient = require("../../../base/BaseClient.js");
6
-
7
7
  module.exports = class Client extends BaseClient {
8
8
  constructor(...args) {
9
9
  super(...args);
10
-
11
10
  _defineProperty(this, "_baseConfig", {
12
11
  'protocol': 'http://',
13
12
  'endpoint': 'sts.api.ksyun.com',
@@ -23,11 +22,10 @@ module.exports = class Client extends BaseClient {
23
22
  }
24
23
  }
25
24
  });
26
-
27
25
  _defineProperty(this, "_apiList", {
28
26
  'AssumeRole': {
29
27
  'url': '/',
30
- 'method': 'POST',
28
+ 'method': 'GET',
31
29
  'config': {
32
30
  'query': {
33
31
  'Version': '2015-11-01',
@@ -46,5 +44,4 @@ module.exports = class Client extends BaseClient {
46
44
  }
47
45
  });
48
46
  }
49
-
50
47
  };