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
|
@@ -35,5 +35,24 @@ module.exports = class Client extends BaseClient {
|
|
|
35
35
|
Policy: "String",
|
|
36
36
|
},
|
|
37
37
|
},
|
|
38
|
+
AssumeRoleTemporarySAML: {
|
|
39
|
+
url: "/",
|
|
40
|
+
method: "POST",
|
|
41
|
+
config: {
|
|
42
|
+
query: {
|
|
43
|
+
Version: "2015-11-01",
|
|
44
|
+
Action: "AssumeRoleTemporarySAML",
|
|
45
|
+
},
|
|
46
|
+
headers: {
|
|
47
|
+
"Content-Type": "application/json",
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
paramsType: {
|
|
51
|
+
RoleKrn: "String",
|
|
52
|
+
RoleSessionName: "String",
|
|
53
|
+
DurationSeconds: "String",
|
|
54
|
+
Policy: "String",
|
|
55
|
+
},
|
|
56
|
+
},
|
|
38
57
|
};
|
|
39
58
|
};
|
|
@@ -18,14 +18,14 @@ module.exports = class Client extends BaseClient {
|
|
|
18
18
|
_apiList = {
|
|
19
19
|
CreateTag: {
|
|
20
20
|
url: "/",
|
|
21
|
-
method: "
|
|
21
|
+
method: "POST",
|
|
22
22
|
config: {
|
|
23
23
|
query: {
|
|
24
24
|
Version: "2020-09-01",
|
|
25
25
|
Action: "CreateTag",
|
|
26
26
|
},
|
|
27
27
|
headers: {
|
|
28
|
-
"Content-Type": "application/
|
|
28
|
+
"Content-Type": "application/json",
|
|
29
29
|
},
|
|
30
30
|
},
|
|
31
31
|
paramsType: {
|
|
@@ -42,7 +42,7 @@ module.exports = class Client extends BaseClient {
|
|
|
42
42
|
Action: "DeleteTag",
|
|
43
43
|
},
|
|
44
44
|
headers: {
|
|
45
|
-
"Content-Type": "application/
|
|
45
|
+
"Content-Type": "application/json",
|
|
46
46
|
},
|
|
47
47
|
},
|
|
48
48
|
paramsType: {
|
|
@@ -106,14 +106,14 @@ module.exports = class Client extends BaseClient {
|
|
|
106
106
|
},
|
|
107
107
|
ListResources: {
|
|
108
108
|
url: "/",
|
|
109
|
-
method: "
|
|
109
|
+
method: "POST",
|
|
110
110
|
config: {
|
|
111
111
|
query: {
|
|
112
112
|
Version: "2020-09-01",
|
|
113
113
|
Action: "ListResources",
|
|
114
114
|
},
|
|
115
115
|
headers: {
|
|
116
|
-
"Content-Type": "application/
|
|
116
|
+
"Content-Type": "application/json",
|
|
117
117
|
},
|
|
118
118
|
},
|
|
119
119
|
paramsType: {
|
|
@@ -127,6 +127,23 @@ module.exports = class Client extends BaseClient {
|
|
|
127
127
|
PageSize: "Int",
|
|
128
128
|
},
|
|
129
129
|
},
|
|
130
|
+
ListTagsByResourceIds: {
|
|
131
|
+
url: "/",
|
|
132
|
+
method: "GET",
|
|
133
|
+
config: {
|
|
134
|
+
query: {
|
|
135
|
+
Version: "2020-09-01",
|
|
136
|
+
Action: "ListTagsByResourceIds",
|
|
137
|
+
},
|
|
138
|
+
headers: {
|
|
139
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
140
|
+
},
|
|
141
|
+
},
|
|
142
|
+
paramsType: {
|
|
143
|
+
ResourceType: "String",
|
|
144
|
+
ResourceUuids: "String",
|
|
145
|
+
},
|
|
146
|
+
},
|
|
130
147
|
ReplaceResourcesTags: {
|
|
131
148
|
url: "/",
|
|
132
149
|
method: "GET",
|
|
@@ -136,7 +153,7 @@ module.exports = class Client extends BaseClient {
|
|
|
136
153
|
Action: "ReplaceResourcesTags",
|
|
137
154
|
},
|
|
138
155
|
headers: {
|
|
139
|
-
"Content-Type": "application/
|
|
156
|
+
"Content-Type": "application/json",
|
|
140
157
|
},
|
|
141
158
|
},
|
|
142
159
|
paramsType: {
|
|
@@ -162,5 +179,24 @@ module.exports = class Client extends BaseClient {
|
|
|
162
179
|
TagIds: "String",
|
|
163
180
|
},
|
|
164
181
|
},
|
|
182
|
+
CreateTagAndAttachResource: {
|
|
183
|
+
url: "/",
|
|
184
|
+
method: "GET",
|
|
185
|
+
config: {
|
|
186
|
+
query: {
|
|
187
|
+
Version: "2020-09-01",
|
|
188
|
+
Action: "CreateTagAndAttachResource",
|
|
189
|
+
},
|
|
190
|
+
headers: {
|
|
191
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
192
|
+
},
|
|
193
|
+
},
|
|
194
|
+
paramsType: {
|
|
195
|
+
TagKey: "String",
|
|
196
|
+
TagValue: "String",
|
|
197
|
+
ResourceType: "String",
|
|
198
|
+
ResourceUuid: "String",
|
|
199
|
+
},
|
|
200
|
+
},
|
|
165
201
|
};
|
|
166
202
|
};
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
const BaseClient = require("../../../base/BaseClient.js");
|
|
2
|
+
|
|
3
|
+
module.exports = class Client extends BaseClient {
|
|
4
|
+
_baseConfig = {
|
|
5
|
+
protocol: "http://",
|
|
6
|
+
endpoint: "ter.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: "ter",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
};
|
|
18
|
+
_apiList = {
|
|
19
|
+
DescribeStackOutputs: {
|
|
20
|
+
url: "/",
|
|
21
|
+
method: "GET",
|
|
22
|
+
config: {
|
|
23
|
+
query: {
|
|
24
|
+
Version: "2024-04-15",
|
|
25
|
+
Action: "DescribeStackOutputs",
|
|
26
|
+
},
|
|
27
|
+
headers: {
|
|
28
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
29
|
+
},
|
|
30
|
+
},
|
|
31
|
+
paramsType: {
|
|
32
|
+
StackId: "String",
|
|
33
|
+
},
|
|
34
|
+
},
|
|
35
|
+
DescribeStackEvents: {
|
|
36
|
+
url: "/",
|
|
37
|
+
method: "GET",
|
|
38
|
+
config: {
|
|
39
|
+
query: {
|
|
40
|
+
Version: "2024-04-15",
|
|
41
|
+
Action: "DescribeStackEvents",
|
|
42
|
+
},
|
|
43
|
+
headers: {
|
|
44
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
45
|
+
},
|
|
46
|
+
},
|
|
47
|
+
paramsType: {
|
|
48
|
+
StackId: "String",
|
|
49
|
+
MaxResults: "Int",
|
|
50
|
+
Offset: "Int",
|
|
51
|
+
},
|
|
52
|
+
},
|
|
53
|
+
DeleteTemplate: {
|
|
54
|
+
url: "/",
|
|
55
|
+
method: "GET",
|
|
56
|
+
config: {
|
|
57
|
+
query: {
|
|
58
|
+
Version: "2024-04-15",
|
|
59
|
+
Action: "DeleteTemplate",
|
|
60
|
+
},
|
|
61
|
+
headers: {
|
|
62
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
paramsType: {
|
|
66
|
+
TemplateId: "String",
|
|
67
|
+
},
|
|
68
|
+
},
|
|
69
|
+
DescribeTemplateVersions: {
|
|
70
|
+
url: "/",
|
|
71
|
+
method: "GET",
|
|
72
|
+
config: {
|
|
73
|
+
query: {
|
|
74
|
+
Version: "2024-04-15",
|
|
75
|
+
Action: "DescribeTemplateVersions",
|
|
76
|
+
},
|
|
77
|
+
headers: {
|
|
78
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
79
|
+
},
|
|
80
|
+
},
|
|
81
|
+
paramsType: {
|
|
82
|
+
TemplateId: "String",
|
|
83
|
+
},
|
|
84
|
+
},
|
|
85
|
+
DescribeTemplates: {
|
|
86
|
+
url: "/",
|
|
87
|
+
method: "GET",
|
|
88
|
+
config: {
|
|
89
|
+
query: {
|
|
90
|
+
Version: "2024-04-15",
|
|
91
|
+
Action: "DescribeTemplates",
|
|
92
|
+
},
|
|
93
|
+
headers: {
|
|
94
|
+
"Content-Type": "application/x-www-form-urlencoded",
|
|
95
|
+
},
|
|
96
|
+
},
|
|
97
|
+
paramsType: {
|
|
98
|
+
MaxResults: "Int",
|
|
99
|
+
TemplateId: "Filter",
|
|
100
|
+
Offset: "Int",
|
|
101
|
+
TemplateName: "Filter",
|
|
102
|
+
TemplateType: "String",
|
|
103
|
+
},
|
|
104
|
+
},
|
|
105
|
+
};
|
|
106
|
+
};
|