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
|
@@ -75,7 +75,7 @@ module.exports = class Client extends BaseClient {
|
|
|
75
75
|
Action: "DescribeMongoDBInstance"
|
|
76
76
|
},
|
|
77
77
|
headers: {
|
|
78
|
-
"Content-Type": "application/
|
|
78
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
79
79
|
}
|
|
80
80
|
},
|
|
81
81
|
paramsType: {
|
|
@@ -226,7 +226,7 @@ module.exports = class Client extends BaseClient {
|
|
|
226
226
|
Action: "DescribeMongoDBSnapshot"
|
|
227
227
|
},
|
|
228
228
|
headers: {
|
|
229
|
-
"Content-Type": "application/
|
|
229
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
230
230
|
}
|
|
231
231
|
},
|
|
232
232
|
paramsType: {
|
|
@@ -242,7 +242,7 @@ module.exports = class Client extends BaseClient {
|
|
|
242
242
|
Action: "DeleteMongoDBSnapshot"
|
|
243
243
|
},
|
|
244
244
|
headers: {
|
|
245
|
-
"Content-Type": "application/
|
|
245
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
246
246
|
}
|
|
247
247
|
},
|
|
248
248
|
paramsType: {
|
|
@@ -286,6 +286,24 @@ module.exports = class Client extends BaseClient {
|
|
|
286
286
|
Type: "String"
|
|
287
287
|
}
|
|
288
288
|
},
|
|
289
|
+
DeleteSecurityGroupRules: {
|
|
290
|
+
url: "/",
|
|
291
|
+
method: "DELETE",
|
|
292
|
+
config: {
|
|
293
|
+
query: {
|
|
294
|
+
Version: "2017-01-01",
|
|
295
|
+
Action: "DeleteSecurityGroupRules"
|
|
296
|
+
},
|
|
297
|
+
headers: {
|
|
298
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
299
|
+
}
|
|
300
|
+
},
|
|
301
|
+
paramsType: {
|
|
302
|
+
Cidrs: "String",
|
|
303
|
+
InstanceId: "String",
|
|
304
|
+
Type: "String"
|
|
305
|
+
}
|
|
306
|
+
},
|
|
289
307
|
ListSecurityGroupRules: {
|
|
290
308
|
url: "/",
|
|
291
309
|
method: "GET",
|
|
@@ -365,9 +383,7 @@ module.exports = class Client extends BaseClient {
|
|
|
365
383
|
"Content-Type": "application/json"
|
|
366
384
|
}
|
|
367
385
|
},
|
|
368
|
-
paramsType: {
|
|
369
|
-
Action: "String"
|
|
370
|
-
}
|
|
386
|
+
paramsType: {}
|
|
371
387
|
},
|
|
372
388
|
AllocateEip: {
|
|
373
389
|
url: "/",
|
|
@@ -414,9 +430,7 @@ module.exports = class Client extends BaseClient {
|
|
|
414
430
|
"Content-Type": "application/json"
|
|
415
431
|
}
|
|
416
432
|
},
|
|
417
|
-
paramsType: {
|
|
418
|
-
Action: "String"
|
|
419
|
-
}
|
|
433
|
+
paramsType: {}
|
|
420
434
|
},
|
|
421
435
|
CreateMongoDBShardInstance: {
|
|
422
436
|
url: "/",
|
|
@@ -460,7 +474,8 @@ module.exports = class Client extends BaseClient {
|
|
|
460
474
|
}
|
|
461
475
|
},
|
|
462
476
|
paramsType: {
|
|
463
|
-
SnapshotId: "String"
|
|
477
|
+
SnapshotId: "String",
|
|
478
|
+
InstanceId: "String"
|
|
464
479
|
}
|
|
465
480
|
},
|
|
466
481
|
CloneInstance: {
|
|
@@ -516,9 +531,7 @@ module.exports = class Client extends BaseClient {
|
|
|
516
531
|
"Content-Type": "application/json"
|
|
517
532
|
}
|
|
518
533
|
},
|
|
519
|
-
paramsType: {
|
|
520
|
-
Action: "String"
|
|
521
|
-
}
|
|
534
|
+
paramsType: {}
|
|
522
535
|
},
|
|
523
536
|
AddClusterNode: {
|
|
524
537
|
url: "/",
|
|
@@ -677,6 +690,143 @@ module.exports = class Client extends BaseClient {
|
|
|
677
690
|
InstanceId: "String",
|
|
678
691
|
ResetTimePoint: "String"
|
|
679
692
|
}
|
|
693
|
+
},
|
|
694
|
+
DescribeDefaultParams: {
|
|
695
|
+
url: "/",
|
|
696
|
+
method: "GET",
|
|
697
|
+
config: {
|
|
698
|
+
query: {
|
|
699
|
+
Version: "2017-01-01",
|
|
700
|
+
Action: "DescribeDefaultParams"
|
|
701
|
+
},
|
|
702
|
+
headers: {
|
|
703
|
+
"Content-Type": "application/json"
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
paramsType: {
|
|
707
|
+
DbVersion: "String"
|
|
708
|
+
}
|
|
709
|
+
},
|
|
710
|
+
CreateParamGroup: {
|
|
711
|
+
url: "/",
|
|
712
|
+
method: "POST",
|
|
713
|
+
config: {
|
|
714
|
+
query: {
|
|
715
|
+
Version: "2017-01-01",
|
|
716
|
+
Action: "CreateParamGroup"
|
|
717
|
+
},
|
|
718
|
+
headers: {
|
|
719
|
+
"Content-Type": "application/json"
|
|
720
|
+
}
|
|
721
|
+
},
|
|
722
|
+
paramsType: {
|
|
723
|
+
ParamGroupName: "String",
|
|
724
|
+
Description: "String",
|
|
725
|
+
DbVersion: "Double",
|
|
726
|
+
Params: "String"
|
|
727
|
+
}
|
|
728
|
+
},
|
|
729
|
+
DescribeParamGroupList: {
|
|
730
|
+
url: "/",
|
|
731
|
+
method: "GET",
|
|
732
|
+
config: {
|
|
733
|
+
query: {
|
|
734
|
+
Version: "2017-01-01",
|
|
735
|
+
Action: "DescribeParamGroupList"
|
|
736
|
+
},
|
|
737
|
+
headers: {
|
|
738
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
739
|
+
}
|
|
740
|
+
},
|
|
741
|
+
paramsType: {
|
|
742
|
+
DbVersion: "String",
|
|
743
|
+
NameSearch: "String",
|
|
744
|
+
Offset: "String",
|
|
745
|
+
Limit: "String"
|
|
746
|
+
}
|
|
747
|
+
},
|
|
748
|
+
DescribeParamGroupInfo: {
|
|
749
|
+
url: "/",
|
|
750
|
+
method: "GET",
|
|
751
|
+
config: {
|
|
752
|
+
query: {
|
|
753
|
+
Version: "2017-01-01",
|
|
754
|
+
Action: "DescribeParamGroupInfo"
|
|
755
|
+
},
|
|
756
|
+
headers: {
|
|
757
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
758
|
+
}
|
|
759
|
+
},
|
|
760
|
+
paramsType: {
|
|
761
|
+
ParamGroupId: "String"
|
|
762
|
+
}
|
|
763
|
+
},
|
|
764
|
+
DescribeModifyHistory: {
|
|
765
|
+
url: "/",
|
|
766
|
+
method: "GET",
|
|
767
|
+
config: {
|
|
768
|
+
query: {
|
|
769
|
+
Version: "2017-01-01",
|
|
770
|
+
Action: "DescribeModifyHistory"
|
|
771
|
+
},
|
|
772
|
+
headers: {
|
|
773
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
774
|
+
}
|
|
775
|
+
},
|
|
776
|
+
paramsType: {
|
|
777
|
+
ParamName: "String",
|
|
778
|
+
Offset: "Int",
|
|
779
|
+
Limit: "Int"
|
|
780
|
+
}
|
|
781
|
+
},
|
|
782
|
+
DescribeInstanceParams: {
|
|
783
|
+
url: "/",
|
|
784
|
+
method: "GET",
|
|
785
|
+
config: {
|
|
786
|
+
query: {
|
|
787
|
+
Version: "2017-01-01",
|
|
788
|
+
Action: "DescribeInstanceParams"
|
|
789
|
+
},
|
|
790
|
+
headers: {
|
|
791
|
+
"Content-Type": "application/x-www-form-urlencoded"
|
|
792
|
+
}
|
|
793
|
+
},
|
|
794
|
+
paramsType: {
|
|
795
|
+
InstanceId: "String"
|
|
796
|
+
}
|
|
797
|
+
},
|
|
798
|
+
ModifyParamGroup: {
|
|
799
|
+
url: "/",
|
|
800
|
+
method: "POST",
|
|
801
|
+
config: {
|
|
802
|
+
query: {
|
|
803
|
+
Version: "2017-01-01",
|
|
804
|
+
Action: "ModifyParamGroup"
|
|
805
|
+
},
|
|
806
|
+
headers: {
|
|
807
|
+
"Content-Type": "application/json"
|
|
808
|
+
}
|
|
809
|
+
},
|
|
810
|
+
paramsType: {
|
|
811
|
+
NewParamGroupName: "String",
|
|
812
|
+
NewDescription: "String"
|
|
813
|
+
}
|
|
814
|
+
},
|
|
815
|
+
DeleteParamGroup: {
|
|
816
|
+
url: "/",
|
|
817
|
+
method: "POST",
|
|
818
|
+
config: {
|
|
819
|
+
query: {
|
|
820
|
+
Version: "2017-01-01",
|
|
821
|
+
Action: "DeleteParamGroup"
|
|
822
|
+
},
|
|
823
|
+
headers: {
|
|
824
|
+
"Content-Type": "application/json"
|
|
825
|
+
}
|
|
826
|
+
},
|
|
827
|
+
paramsType: {
|
|
828
|
+
ParamGroupId: "String"
|
|
829
|
+
}
|
|
680
830
|
}
|
|
681
831
|
});
|
|
682
832
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
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: "mongodb.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: "mongodb"
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
_defineProperty(this, "_apiList", {
|
|
26
|
+
DescribeDefaultParams: {
|
|
27
|
+
url: "/",
|
|
28
|
+
method: "GET",
|
|
29
|
+
config: {
|
|
30
|
+
query: {
|
|
31
|
+
Version: "2025-01-01",
|
|
32
|
+
Action: "DescribeDefaultParams"
|
|
33
|
+
},
|
|
34
|
+
headers: {
|
|
35
|
+
"Content-Type": "application/json"
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
paramsType: {
|
|
39
|
+
DbVersion: "Double"
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
};
|