ksyun-sdk-node 1.4.9 → 1.5.1
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.
- package/dist/service/Aicp/v20240612/index.js +24 -0
- package/dist/service/Bws/v20160304/index.js +3 -0
- package/dist/service/Cdn/v20250503/index.js +0 -333
- package/dist/service/Cdn/v3/index.js +600 -0
- package/dist/service/Cen/v20160304/index.js +147 -103
- package/dist/service/Clickhouse/v20210101/index.js +204 -19
- package/dist/service/Cloud_advisor/v20250610/index.js +81 -0
- package/dist/service/Dmp/v20240101/index.js +362 -0
- package/dist/service/Dts/v20180108/index.js +386 -0
- package/dist/service/Ebs/v20160304/index.js +197 -34
- package/dist/service/Eip/v20160304/index.js +79 -1
- package/dist/service/Influxdb/v20191010/index.js +504 -0
- package/dist/service/Kad/v20161122/index.js +32 -0
- package/dist/service/Kce/v20190806/index.js +234 -43
- package/dist/service/Kce/v20201231/index.js +2 -2
- package/dist/service/Kce/v20230101/index.js +193 -0
- package/dist/service/Kce/v20230306/index.js +434 -0
- package/dist/service/Kce/v20231115/index.js +65 -0
- package/dist/service/Kce2/v20230101/index.js +313 -0
- package/dist/service/Kci/v20200702/index.js +336 -0
- package/dist/service/Kcm/v20160304/index.js +113 -3
- package/dist/service/Kcrs/v20211109/index.js +88 -92
- package/dist/service/Kcs/v20160701/index.js +165 -23
- package/dist/service/Kcs/v20170401/index.js +1 -36
- package/dist/service/Kcs/v20240701/index.js +45 -0
- package/dist/service/Kead/v20200101/index.js +37 -8
- package/dist/service/Ked/v1/index.js +805 -0
- package/dist/service/Ket/v20170101/index.js +42 -0
- package/dist/service/Kfw/v20160304/index.js +59 -0
- package/dist/service/Kingpay/v1/index.js +44 -0
- package/dist/service/Knad/v20230323/index.js +333 -0
- package/dist/service/Kpfs/v20240930/index.js +181 -0
- package/dist/service/Krds/v20160701/index.js +505 -96
- package/dist/service/Krds/v20200825/index.js +48 -8
- package/dist/service/Milvus/v20231010/index.js +366 -0
- package/dist/service/Mongodb/v20170101/index.js +163 -13
- package/dist/service/Mongodb/v20250101/index.js +44 -0
- package/dist/service/Pdns/v20160304/index.js +636 -0
- package/dist/service/Postgresql/v20181225/index.js +950 -0
- package/dist/service/Rabbitmq/v20191017/index.js +107 -6
- package/dist/service/Relyt/v20240117/index.js +45 -0
- package/dist/service/Sks/v20151101/index.js +2 -1
- package/dist/service/Slb/v20160304/index.js +426 -53
- package/dist/service/Slb/v20250430/index.js +750 -0
- package/dist/service/Sqlserver/v20190425/index.js +872 -0
- package/dist/service/Sts/v20151101/index.js +19 -0
- package/dist/service/Tagv2/v20200901/index.js +42 -6
- package/dist/service/Ter/v20240415/index.js +114 -0
- package/dist/service/Tidb/v20210520/index.js +415 -21
- package/dist/service/Trade/v20250220/index.js +97 -0
- package/dist/service/Trade/v20250321/index.js +93 -0
- package/dist/service/Trade/v20250828/index.js +56 -0
- package/dist/service/Vpc/v20160304/index.js +32 -0
- package/dist/service/Waf/v20200707/index.js +188 -5
- package/package.json +1 -1
- package/src/service/Aicp/v20240612/index.js +24 -0
- package/src/service/Bws/v20160304/index.js +3 -0
- package/src/service/Cdn/{v20250503 → v3}/index.js +196 -0
- package/src/service/Cen/v20160304/index.js +144 -100
- package/src/service/Clickhouse/v20210101/index.js +203 -18
- package/src/service/Cloud_advisor/v20250610/index.js +73 -0
- package/src/service/Dmp/v20240101/index.js +354 -0
- package/src/service/Dts/v20180108/index.js +378 -0
- package/src/service/Ebs/v20160304/index.js +194 -31
- package/src/service/Eip/v20160304/index.js +79 -1
- package/src/service/Influxdb/v20191010/index.js +496 -0
- package/src/service/Kad/v20161122/index.js +32 -0
- package/src/service/Kce/v20190806/index.js +233 -42
- package/src/service/Kce/v20201231/index.js +2 -2
- package/src/service/Kce/v20230101/index.js +185 -0
- package/src/service/Kce/v20230306/index.js +426 -0
- package/src/service/Kce/v20231115/index.js +57 -0
- package/src/service/Kce2/v20230101/index.js +305 -0
- package/src/service/Kci/v20200702/index.js +328 -0
- package/src/service/Kcm/v20160304/index.js +110 -0
- package/src/service/Kcrs/v20211109/index.js +87 -91
- package/src/service/Kcs/v20160701/index.js +164 -22
- package/src/service/Kcs/v20170401/index.js +1 -36
- package/src/service/Kcs/v20240701/index.js +37 -0
- package/src/service/Kead/v20200101/index.js +37 -8
- package/src/service/Ked/v1/index.js +797 -0
- package/src/service/Ket/v20170101/index.js +42 -0
- package/src/service/Kfw/v20160304/index.js +51 -0
- package/src/service/Kingpay/v1/index.js +36 -0
- package/src/service/Knad/v20230323/index.js +325 -0
- package/src/service/Kpfs/v20240930/index.js +173 -0
- package/src/service/Krds/v20160701/index.js +502 -93
- package/src/service/Krds/v20200825/index.js +48 -8
- package/src/service/Milvus/v20231010/index.js +358 -0
- package/src/service/Mongodb/v20170101/index.js +162 -12
- package/src/service/Mongodb/v20250101/index.js +36 -0
- package/src/service/Pdns/v20160304/index.js +628 -0
- package/src/service/Postgresql/v20181225/index.js +942 -0
- package/src/service/Rabbitmq/v20191017/index.js +107 -6
- package/src/service/Relyt/v20240117/index.js +37 -0
- package/src/service/Sks/v20151101/index.js +1 -0
- package/src/service/Slb/v20160304/index.js +416 -43
- package/src/service/Slb/v20250430/index.js +742 -0
- package/src/service/Sqlserver/v20190425/index.js +864 -0
- package/src/service/Sts/v20151101/index.js +19 -0
- package/src/service/Tagv2/v20200901/index.js +42 -6
- package/src/service/Ter/v20240415/index.js +106 -0
- package/src/service/Tidb/v20210520/index.js +412 -18
- package/src/service/Trade/v20250220/index.js +89 -0
- package/src/service/Trade/v20250321/index.js +85 -0
- package/src/service/Trade/v20250828/index.js +48 -0
- package/src/service/Vpc/v20160304/index.js +32 -0
- package/src/service/Waf/v20200707/index.js +187 -4
|
@@ -0,0 +1,93 @@
|
|
|
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: "trade.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: "trade"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
QueryUnPayOrders: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "GET",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2025-03-21",
|
|
32
|
+
Action: "QueryUnPayOrders"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
page: "Int",
|
|
40
|
+
size: "Int"
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
QueryOrderInfo: {
|
|
44
|
+
url: "/",
|
|
45
|
+
method: "GET",
|
|
46
|
+
config: {
|
|
47
|
+
query: {
|
|
48
|
+
Version: "2025-03-21",
|
|
49
|
+
Action: "QueryOrderInfo"
|
|
50
|
+
},
|
|
51
|
+
headers: {
|
|
52
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
53
|
+
}
|
|
54
|
+
},
|
|
55
|
+
paramsType: {
|
|
56
|
+
orderId: "String"
|
|
57
|
+
}
|
|
58
|
+
},
|
|
59
|
+
CancelOrder: {
|
|
60
|
+
url: "/",
|
|
61
|
+
method: "POST",
|
|
62
|
+
config: {
|
|
63
|
+
query: {
|
|
64
|
+
Version: "2025-03-21",
|
|
65
|
+
Action: "CancelOrder"
|
|
66
|
+
},
|
|
67
|
+
headers: {
|
|
68
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
paramsType: {
|
|
72
|
+
orderId: "String"
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
LaunchPayOrder: {
|
|
76
|
+
url: "/",
|
|
77
|
+
method: "POST",
|
|
78
|
+
config: {
|
|
79
|
+
query: {
|
|
80
|
+
Version: "2025-03-21",
|
|
81
|
+
Action: "LaunchPayOrder"
|
|
82
|
+
},
|
|
83
|
+
headers: {
|
|
84
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
85
|
+
}
|
|
86
|
+
},
|
|
87
|
+
paramsType: {
|
|
88
|
+
OrderId: "String"
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
});
|
|
92
|
+
}
|
|
93
|
+
};
|
|
@@ -0,0 +1,56 @@
|
|
|
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: "trade.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: "trade"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
QueryInstances: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "POST",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2025-08-28",
|
|
32
|
+
Action: "QueryInstances"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
associatedUserId: "Int",
|
|
40
|
+
instanceIds: "Array",
|
|
41
|
+
status: "Int",
|
|
42
|
+
productGroup: "Int",
|
|
43
|
+
renewStrategy: "Int",
|
|
44
|
+
billingBeginTimeFrom: "String",
|
|
45
|
+
billingBeginTimeTo: "String",
|
|
46
|
+
billingEndTimeFrom: "String",
|
|
47
|
+
billingEndTimeTo: "String",
|
|
48
|
+
serviceBeginTimeFrom: "String",
|
|
49
|
+
serviceBeginTimeTo: "String",
|
|
50
|
+
page: "Int",
|
|
51
|
+
size: "Int"
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
});
|
|
55
|
+
}
|
|
56
|
+
};
|
|
@@ -1467,6 +1467,38 @@ module.exports = class Client extends BaseClient {
|
|
|
1467
1467
|
NextToken: "String"
|
|
1468
1468
|
}
|
|
1469
1469
|
},
|
|
1470
|
+
PublishDirectConnectRouteToBgp: {
|
|
1471
|
+
url: "/",
|
|
1472
|
+
method: "GET",
|
|
1473
|
+
config: {
|
|
1474
|
+
query: {
|
|
1475
|
+
Version: "2016-03-04",
|
|
1476
|
+
Action: "PublishDirectConnectRouteToBgp"
|
|
1477
|
+
},
|
|
1478
|
+
headers: {
|
|
1479
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1480
|
+
}
|
|
1481
|
+
},
|
|
1482
|
+
paramsType: {
|
|
1483
|
+
DirectConnectRouteId: "String"
|
|
1484
|
+
}
|
|
1485
|
+
},
|
|
1486
|
+
CancelDirectConnectRouteToBgp: {
|
|
1487
|
+
url: "/",
|
|
1488
|
+
method: "GET",
|
|
1489
|
+
config: {
|
|
1490
|
+
query: {
|
|
1491
|
+
Version: "2016-03-04",
|
|
1492
|
+
Action: "CancelDirectConnectRouteToBgp"
|
|
1493
|
+
},
|
|
1494
|
+
headers: {
|
|
1495
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
1496
|
+
}
|
|
1497
|
+
},
|
|
1498
|
+
paramsType: {
|
|
1499
|
+
DirectConnectRouteId: "String"
|
|
1500
|
+
}
|
|
1501
|
+
},
|
|
1470
1502
|
DetachDirectConnectGatewayWithVpc: {
|
|
1471
1503
|
url: "/",
|
|
1472
1504
|
method: "GET",
|
|
@@ -23,6 +23,44 @@ module.exports = class Client extends BaseClient {
|
|
|
23
23
|
}
|
|
24
24
|
});
|
|
25
25
|
_defineProperty(this, "_apiList", {
|
|
26
|
+
CreateWaf: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "GET",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2020-07-07",
|
|
32
|
+
Action: "CreateWaf"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
WafType: "String",
|
|
40
|
+
BillType: "Int",
|
|
41
|
+
PurchaseTime: "Int",
|
|
42
|
+
DomainBag: "Int",
|
|
43
|
+
BandWidthIpv4: "Int",
|
|
44
|
+
StorageSize: "Int",
|
|
45
|
+
ProjectId: "Int"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
DeleteWaf: {
|
|
49
|
+
url: "/",
|
|
50
|
+
method: "GET",
|
|
51
|
+
config: {
|
|
52
|
+
query: {
|
|
53
|
+
Version: "2020-07-07",
|
|
54
|
+
Action: "DeleteWaf"
|
|
55
|
+
},
|
|
56
|
+
headers: {
|
|
57
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
paramsType: {
|
|
61
|
+
Action: "String"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
26
64
|
CreateDomain: {
|
|
27
65
|
url: "/",
|
|
28
66
|
method: "GET",
|
|
@@ -128,13 +166,11 @@ module.exports = class Client extends BaseClient {
|
|
|
128
166
|
paramsType: {
|
|
129
167
|
ResourceRecordId: "String",
|
|
130
168
|
RuleName: "String",
|
|
131
|
-
RuleType: "String",
|
|
132
|
-
ArgName: "String",
|
|
133
|
-
RuleData: "String",
|
|
134
|
-
MatchRule: "Int",
|
|
135
169
|
Level: "Int",
|
|
136
170
|
RuleAction: "Int",
|
|
137
|
-
Status: "Boolean"
|
|
171
|
+
Status: "Boolean",
|
|
172
|
+
MatchRuleInfo: "String",
|
|
173
|
+
Priority: "Int"
|
|
138
174
|
}
|
|
139
175
|
},
|
|
140
176
|
DescribeAccessControlRules: {
|
|
@@ -242,6 +278,153 @@ module.exports = class Client extends BaseClient {
|
|
|
242
278
|
paramsType: {
|
|
243
279
|
ResourceRecordId: "Array"
|
|
244
280
|
}
|
|
281
|
+
},
|
|
282
|
+
ModifyStorageTime: {
|
|
283
|
+
url: "/",
|
|
284
|
+
method: "GET",
|
|
285
|
+
config: {
|
|
286
|
+
query: {
|
|
287
|
+
Version: "2020-07-07",
|
|
288
|
+
Action: "ModifyStorageTime"
|
|
289
|
+
},
|
|
290
|
+
headers: {
|
|
291
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
292
|
+
}
|
|
293
|
+
},
|
|
294
|
+
paramsType: {
|
|
295
|
+
StorageTime: "Int"
|
|
296
|
+
}
|
|
297
|
+
},
|
|
298
|
+
CreateAlbDomain: {
|
|
299
|
+
url: "/",
|
|
300
|
+
method: "GET",
|
|
301
|
+
config: {
|
|
302
|
+
query: {
|
|
303
|
+
Version: "2020-07-07",
|
|
304
|
+
Action: "CreateAlbDomain"
|
|
305
|
+
},
|
|
306
|
+
headers: {
|
|
307
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
paramsType: {
|
|
311
|
+
ResourceRecord: "String",
|
|
312
|
+
HttpRewrite: "Boolean",
|
|
313
|
+
HttpSource: "Boolean",
|
|
314
|
+
CertificateId: "String",
|
|
315
|
+
CertificateRegion: "String",
|
|
316
|
+
LbMethod: "String",
|
|
317
|
+
HasProxy: "Boolean",
|
|
318
|
+
ProjectId: "Int",
|
|
319
|
+
HeaderMark: "String",
|
|
320
|
+
HeaderValue: "String",
|
|
321
|
+
HealthMonitor: "String",
|
|
322
|
+
HttpPort: "Filter",
|
|
323
|
+
HttpsPort: "Filter",
|
|
324
|
+
Sources: "String"
|
|
325
|
+
}
|
|
326
|
+
},
|
|
327
|
+
ModifyAlbDomain: {
|
|
328
|
+
url: "/",
|
|
329
|
+
method: "GET",
|
|
330
|
+
config: {
|
|
331
|
+
query: {
|
|
332
|
+
Version: "2020-07-07",
|
|
333
|
+
Action: "ModifyAlbDomain"
|
|
334
|
+
},
|
|
335
|
+
headers: {
|
|
336
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
337
|
+
}
|
|
338
|
+
},
|
|
339
|
+
paramsType: {
|
|
340
|
+
ResourceRecordId: "String",
|
|
341
|
+
HttpRewrite: "Boolean",
|
|
342
|
+
HttpSource: "Boolean",
|
|
343
|
+
CertificateId: "String",
|
|
344
|
+
CertificateRegion: "String",
|
|
345
|
+
LbMethod: "String",
|
|
346
|
+
HasProxy: "Boolean",
|
|
347
|
+
ProjectId: "Int",
|
|
348
|
+
HeaderMark: "String",
|
|
349
|
+
HeaderValue: "String",
|
|
350
|
+
HealthMonitor: "String",
|
|
351
|
+
HttpPort: "Filter",
|
|
352
|
+
HttpsPort: "Filter",
|
|
353
|
+
Sources: "String"
|
|
354
|
+
}
|
|
355
|
+
},
|
|
356
|
+
DeleteAlbDomain: {
|
|
357
|
+
url: "/",
|
|
358
|
+
method: "GET",
|
|
359
|
+
config: {
|
|
360
|
+
query: {
|
|
361
|
+
Version: "2020-07-07",
|
|
362
|
+
Action: "DeleteAlbDomain"
|
|
363
|
+
},
|
|
364
|
+
headers: {
|
|
365
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
366
|
+
}
|
|
367
|
+
},
|
|
368
|
+
paramsType: {
|
|
369
|
+
ResourceRecordId: "String"
|
|
370
|
+
}
|
|
371
|
+
},
|
|
372
|
+
CreateAlbWaf: {
|
|
373
|
+
url: "/",
|
|
374
|
+
method: "GET",
|
|
375
|
+
config: {
|
|
376
|
+
query: {
|
|
377
|
+
Version: "2020-07-07",
|
|
378
|
+
Action: "CreateAlbWaf"
|
|
379
|
+
},
|
|
380
|
+
headers: {
|
|
381
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
382
|
+
}
|
|
383
|
+
},
|
|
384
|
+
paramsType: {
|
|
385
|
+
WafType: "String",
|
|
386
|
+
BillType: "Int",
|
|
387
|
+
ProjectId: "Int",
|
|
388
|
+
AlbNumber: "Int",
|
|
389
|
+
DomainBag: "Int",
|
|
390
|
+
QpsBag: "Int",
|
|
391
|
+
PurchaseTime: "Int"
|
|
392
|
+
}
|
|
393
|
+
},
|
|
394
|
+
ModifyAlbWaf: {
|
|
395
|
+
url: "/",
|
|
396
|
+
method: "GET",
|
|
397
|
+
config: {
|
|
398
|
+
query: {
|
|
399
|
+
Version: "2020-07-07",
|
|
400
|
+
Action: "ModifyAlbWaf"
|
|
401
|
+
},
|
|
402
|
+
headers: {
|
|
403
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
404
|
+
}
|
|
405
|
+
},
|
|
406
|
+
paramsType: {
|
|
407
|
+
WafType: "String",
|
|
408
|
+
DomainBag: "Int",
|
|
409
|
+
AlbNumber: "Int",
|
|
410
|
+
QpsBag: "Int"
|
|
411
|
+
}
|
|
412
|
+
},
|
|
413
|
+
DescribeAlbDomains: {
|
|
414
|
+
url: "/",
|
|
415
|
+
method: "GET",
|
|
416
|
+
config: {
|
|
417
|
+
query: {
|
|
418
|
+
Version: "2020-07-07",
|
|
419
|
+
Action: "DescribeAlbDomains"
|
|
420
|
+
},
|
|
421
|
+
headers: {
|
|
422
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
paramsType: {
|
|
426
|
+
ResourceRecord: "String"
|
|
427
|
+
}
|
|
245
428
|
}
|
|
246
429
|
});
|
|
247
430
|
}
|
package/package.json
CHANGED
|
@@ -255,6 +255,30 @@ module.exports = class Client extends BaseClient {
|
|
|
255
255
|
NotebookId: "String",
|
|
256
256
|
},
|
|
257
257
|
},
|
|
258
|
+
QueryTokenData: {
|
|
259
|
+
url: "/",
|
|
260
|
+
method: "GET",
|
|
261
|
+
config: {
|
|
262
|
+
query: {
|
|
263
|
+
Version: "2024-06-12",
|
|
264
|
+
Action: "QueryTokenData",
|
|
265
|
+
},
|
|
266
|
+
headers: {
|
|
267
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
268
|
+
},
|
|
269
|
+
},
|
|
270
|
+
paramsType: {
|
|
271
|
+
StartTimestamp: "Int",
|
|
272
|
+
EndTimestamp: "Int",
|
|
273
|
+
MaxResults: "Int",
|
|
274
|
+
ModelKeyword: "String",
|
|
275
|
+
Keyword: "String",
|
|
276
|
+
GroupBy: "String",
|
|
277
|
+
ReasoningType: "String",
|
|
278
|
+
Marker: "Int",
|
|
279
|
+
IsGlobalServer: "Boolean",
|
|
280
|
+
},
|
|
281
|
+
},
|
|
258
282
|
CreateTrainJob: {
|
|
259
283
|
url: "/",
|
|
260
284
|
method: "POST",
|
|
@@ -392,5 +392,201 @@ module.exports = class Client extends BaseClient {
|
|
|
392
392
|
Enable: "String",
|
|
393
393
|
},
|
|
394
394
|
},
|
|
395
|
+
SetReferProtectionConfig: {
|
|
396
|
+
url: "/",
|
|
397
|
+
method: "GET",
|
|
398
|
+
config: {
|
|
399
|
+
query: {
|
|
400
|
+
Version: "V3",
|
|
401
|
+
Action: "SetReferProtectionConfig",
|
|
402
|
+
},
|
|
403
|
+
headers: {
|
|
404
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
405
|
+
},
|
|
406
|
+
},
|
|
407
|
+
paramsType: {
|
|
408
|
+
DomainId: "String",
|
|
409
|
+
Enable: "String",
|
|
410
|
+
ReferType: "String",
|
|
411
|
+
ReferList: "String",
|
|
412
|
+
AllowEmpty: "String",
|
|
413
|
+
},
|
|
414
|
+
},
|
|
415
|
+
SetIpProtectionConfig: {
|
|
416
|
+
url: "/",
|
|
417
|
+
method: "POST|GET",
|
|
418
|
+
config: {
|
|
419
|
+
query: {
|
|
420
|
+
Version: "V3",
|
|
421
|
+
Action: "SetIpProtectionConfig",
|
|
422
|
+
},
|
|
423
|
+
headers: {
|
|
424
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
425
|
+
},
|
|
426
|
+
},
|
|
427
|
+
paramsType: {
|
|
428
|
+
DomainId: "String",
|
|
429
|
+
Enable: "String",
|
|
430
|
+
IpType: "String",
|
|
431
|
+
IpList: "String",
|
|
432
|
+
},
|
|
433
|
+
},
|
|
434
|
+
SetHttpHeadersConfig: {
|
|
435
|
+
url: "/",
|
|
436
|
+
method: "POST",
|
|
437
|
+
config: {
|
|
438
|
+
query: {
|
|
439
|
+
Version: "V3",
|
|
440
|
+
Action: "SetHttpHeadersConfig",
|
|
441
|
+
},
|
|
442
|
+
headers: {
|
|
443
|
+
"Content-Type": "application/json",
|
|
444
|
+
},
|
|
445
|
+
},
|
|
446
|
+
paramsType: {
|
|
447
|
+
DomainId: "String",
|
|
448
|
+
HeaderKey: "String",
|
|
449
|
+
HeaderValue: "String",
|
|
450
|
+
},
|
|
451
|
+
},
|
|
452
|
+
DeleteHttpHeadersConfig: {
|
|
453
|
+
url: "/",
|
|
454
|
+
method: "GET",
|
|
455
|
+
config: {
|
|
456
|
+
query: {
|
|
457
|
+
Version: "V3",
|
|
458
|
+
Action: "DeleteHttpHeadersConfig",
|
|
459
|
+
},
|
|
460
|
+
headers: {
|
|
461
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
462
|
+
},
|
|
463
|
+
},
|
|
464
|
+
paramsType: {
|
|
465
|
+
DomainId: "String",
|
|
466
|
+
HeaderKey: "String",
|
|
467
|
+
},
|
|
468
|
+
},
|
|
469
|
+
GetHttpHeaderList: {
|
|
470
|
+
url: "/",
|
|
471
|
+
method: "GET",
|
|
472
|
+
config: {
|
|
473
|
+
query: {
|
|
474
|
+
Version: "V3",
|
|
475
|
+
Action: "GetHttpHeaderList",
|
|
476
|
+
},
|
|
477
|
+
headers: {
|
|
478
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
479
|
+
},
|
|
480
|
+
},
|
|
481
|
+
paramsType: {},
|
|
482
|
+
},
|
|
483
|
+
SetRequestAuthConfig: {
|
|
484
|
+
url: "/",
|
|
485
|
+
method: "GET",
|
|
486
|
+
config: {
|
|
487
|
+
query: {
|
|
488
|
+
Version: "V3",
|
|
489
|
+
Action: "SetRequestAuthConfig",
|
|
490
|
+
},
|
|
491
|
+
headers: {
|
|
492
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
paramsType: {
|
|
496
|
+
DomainId: "String",
|
|
497
|
+
Enable: "String",
|
|
498
|
+
AuthType: "String",
|
|
499
|
+
Key1: "String",
|
|
500
|
+
Key2: "String",
|
|
501
|
+
ExpirationTime: "String",
|
|
502
|
+
},
|
|
503
|
+
},
|
|
504
|
+
SetForceRedirectConfig: {
|
|
505
|
+
url: "/",
|
|
506
|
+
method: "GET",
|
|
507
|
+
config: {
|
|
508
|
+
query: {
|
|
509
|
+
Version: "V3",
|
|
510
|
+
Action: "SetForceRedirectConfig",
|
|
511
|
+
},
|
|
512
|
+
headers: {
|
|
513
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
514
|
+
},
|
|
515
|
+
},
|
|
516
|
+
paramsType: {
|
|
517
|
+
DomainId: "String",
|
|
518
|
+
RedirectType: "String",
|
|
519
|
+
RedirectCode: "String",
|
|
520
|
+
},
|
|
521
|
+
},
|
|
522
|
+
SetErrorPageConfig: {
|
|
523
|
+
url: "/",
|
|
524
|
+
method: "GET",
|
|
525
|
+
config: {
|
|
526
|
+
query: {
|
|
527
|
+
Version: "V3",
|
|
528
|
+
Action: "SetErrorPageConfig",
|
|
529
|
+
},
|
|
530
|
+
headers: {
|
|
531
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
532
|
+
},
|
|
533
|
+
},
|
|
534
|
+
paramsType: {
|
|
535
|
+
DomainId: "String",
|
|
536
|
+
ErrorPages: "Array",
|
|
537
|
+
},
|
|
538
|
+
},
|
|
539
|
+
SetTLSVersionConfig: {
|
|
540
|
+
url: "/",
|
|
541
|
+
method: "POST",
|
|
542
|
+
config: {
|
|
543
|
+
query: {
|
|
544
|
+
Version: "V3",
|
|
545
|
+
Action: "SetTLSVersionConfig",
|
|
546
|
+
},
|
|
547
|
+
headers: {
|
|
548
|
+
"Content-Type": "application/json",
|
|
549
|
+
},
|
|
550
|
+
},
|
|
551
|
+
paramsType: {
|
|
552
|
+
DomainId: "String",
|
|
553
|
+
TLSVersion: "Array",
|
|
554
|
+
},
|
|
555
|
+
},
|
|
556
|
+
GetBillingMode: {
|
|
557
|
+
url: "/",
|
|
558
|
+
method: "GET",
|
|
559
|
+
config: {
|
|
560
|
+
query: {
|
|
561
|
+
Version: "V3",
|
|
562
|
+
Action: "GetBillingMode",
|
|
563
|
+
},
|
|
564
|
+
headers: {
|
|
565
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
566
|
+
},
|
|
567
|
+
},
|
|
568
|
+
paramsType: {
|
|
569
|
+
StartTime: "String",
|
|
570
|
+
EndTime: "String",
|
|
571
|
+
CdnType: "String",
|
|
572
|
+
DomainIds: "String",
|
|
573
|
+
Regions: "String",
|
|
574
|
+
BillingMode: "String",
|
|
575
|
+
},
|
|
576
|
+
},
|
|
577
|
+
GetBlockUrlQuota: {
|
|
578
|
+
url: "/",
|
|
579
|
+
method: "GET",
|
|
580
|
+
config: {
|
|
581
|
+
query: {
|
|
582
|
+
Version: "V3",
|
|
583
|
+
Action: "GetBlockUrlQuota",
|
|
584
|
+
},
|
|
585
|
+
headers: {
|
|
586
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
587
|
+
},
|
|
588
|
+
},
|
|
589
|
+
paramsType: {},
|
|
590
|
+
},
|
|
395
591
|
};
|
|
396
592
|
};
|