ksyun-sdk-node 1.5.27 → 1.5.28

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.
@@ -68,7 +68,10 @@ module.exports = class Client extends BaseClient {
68
68
  Filter: "Filter",
69
69
  PageSize: "Int",
70
70
  Page: "Int",
71
- TrainJobName: "String"
71
+ TrainJobName: "String",
72
+ GPUType: "String",
73
+ SortKey: "String",
74
+ Sort: "String"
72
75
  }
73
76
  },
74
77
  ModifyModelAccess: {
@@ -154,6 +154,113 @@ module.exports = class Client extends BaseClient {
154
154
  Id: "String"
155
155
  }
156
156
  },
157
+ CreateOrModifyAutoScalingConfig: {
158
+ url: "/",
159
+ method: "POST",
160
+ config: {
161
+ query: {
162
+ Version: "2021-12-15",
163
+ Action: "CreateOrModifyAutoScalingConfig"
164
+ },
165
+ headers: {
166
+ "Content-Type": "application/json"
167
+ }
168
+ },
169
+ paramsType: {
170
+ FunctionId: "String",
171
+ IdleReplicaCount: "Int",
172
+ MaxReplicaCount: "Int",
173
+ MinReplicaCount: "Int",
174
+ CooldownPeriod: "Int",
175
+ StabilizationWindowSeconds: "Int"
176
+ }
177
+ },
178
+ DescribeAutoScalingConfig: {
179
+ url: "/",
180
+ method: "POST",
181
+ config: {
182
+ query: {
183
+ Version: "2021-12-15",
184
+ Action: "DescribeAutoScalingConfig"
185
+ },
186
+ headers: {
187
+ "Content-Type": "application/json"
188
+ }
189
+ },
190
+ paramsType: {
191
+ FunctionId: "String"
192
+ }
193
+ },
194
+ CreateAutoScaledTrigger: {
195
+ url: "/",
196
+ method: "POST",
197
+ config: {
198
+ query: {
199
+ Version: "2021-12-15",
200
+ Action: "CreateAutoScaledTrigger"
201
+ },
202
+ headers: {
203
+ "Content-Type": "application/json"
204
+ }
205
+ },
206
+ paramsType: {
207
+ FunctionId: "String",
208
+ Triggers: "Array"
209
+ }
210
+ },
211
+ ModifyAutoScaledTrigger: {
212
+ url: "/",
213
+ method: "POST",
214
+ config: {
215
+ query: {
216
+ Version: "2021-12-15",
217
+ Action: "ModifyAutoScaledTrigger"
218
+ },
219
+ headers: {
220
+ "Content-Type": "application/json"
221
+ }
222
+ },
223
+ paramsType: {
224
+ FucntionId: "String",
225
+ Name: "String",
226
+ TriggerConfig: "Object"
227
+ }
228
+ },
229
+ DescribeAutoScaledTriggers: {
230
+ url: "/",
231
+ method: "POST",
232
+ config: {
233
+ query: {
234
+ Version: "2021-12-15",
235
+ Action: "DescribeAutoScaledTriggers"
236
+ },
237
+ headers: {
238
+ "Content-Type": "application/json"
239
+ }
240
+ },
241
+ paramsType: {
242
+ FunctionId: "String",
243
+ Name: "String",
244
+ Type: "String"
245
+ }
246
+ },
247
+ DeleteAutoScaledTrigger: {
248
+ url: "/",
249
+ method: "POST",
250
+ config: {
251
+ query: {
252
+ Version: "2021-12-15",
253
+ Action: "DeleteAutoScaledTrigger"
254
+ },
255
+ headers: {
256
+ "Content-Type": "application/json"
257
+ }
258
+ },
259
+ paramsType: {
260
+ Functionid: "String",
261
+ TriggerName: "String"
262
+ }
263
+ },
157
264
  DescribeFunctions: {
158
265
  url: "/",
159
266
  method: "POST",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ksyun-sdk-node",
3
- "version": "1.5.27",
3
+ "version": "1.5.28",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -62,6 +62,9 @@ module.exports = class Client extends BaseClient {
62
62
  PageSize: "Int",
63
63
  Page: "Int",
64
64
  TrainJobName: "String",
65
+ GPUType: "String",
66
+ SortKey: "String",
67
+ Sort: "String",
65
68
  },
66
69
  },
67
70
  ModifyModelAccess: {
@@ -147,6 +147,113 @@ module.exports = class Client extends BaseClient {
147
147
  Id: "String",
148
148
  },
149
149
  },
150
+ CreateOrModifyAutoScalingConfig: {
151
+ url: "/",
152
+ method: "POST",
153
+ config: {
154
+ query: {
155
+ Version: "2021-12-15",
156
+ Action: "CreateOrModifyAutoScalingConfig",
157
+ },
158
+ headers: {
159
+ "Content-Type": "application/json",
160
+ },
161
+ },
162
+ paramsType: {
163
+ FunctionId: "String",
164
+ IdleReplicaCount: "Int",
165
+ MaxReplicaCount: "Int",
166
+ MinReplicaCount: "Int",
167
+ CooldownPeriod: "Int",
168
+ StabilizationWindowSeconds: "Int",
169
+ },
170
+ },
171
+ DescribeAutoScalingConfig: {
172
+ url: "/",
173
+ method: "POST",
174
+ config: {
175
+ query: {
176
+ Version: "2021-12-15",
177
+ Action: "DescribeAutoScalingConfig",
178
+ },
179
+ headers: {
180
+ "Content-Type": "application/json",
181
+ },
182
+ },
183
+ paramsType: {
184
+ FunctionId: "String",
185
+ },
186
+ },
187
+ CreateAutoScaledTrigger: {
188
+ url: "/",
189
+ method: "POST",
190
+ config: {
191
+ query: {
192
+ Version: "2021-12-15",
193
+ Action: "CreateAutoScaledTrigger",
194
+ },
195
+ headers: {
196
+ "Content-Type": "application/json",
197
+ },
198
+ },
199
+ paramsType: {
200
+ FunctionId: "String",
201
+ Triggers: "Array",
202
+ },
203
+ },
204
+ ModifyAutoScaledTrigger: {
205
+ url: "/",
206
+ method: "POST",
207
+ config: {
208
+ query: {
209
+ Version: "2021-12-15",
210
+ Action: "ModifyAutoScaledTrigger",
211
+ },
212
+ headers: {
213
+ "Content-Type": "application/json",
214
+ },
215
+ },
216
+ paramsType: {
217
+ FucntionId: "String",
218
+ Name: "String",
219
+ TriggerConfig: "Object",
220
+ },
221
+ },
222
+ DescribeAutoScaledTriggers: {
223
+ url: "/",
224
+ method: "POST",
225
+ config: {
226
+ query: {
227
+ Version: "2021-12-15",
228
+ Action: "DescribeAutoScaledTriggers",
229
+ },
230
+ headers: {
231
+ "Content-Type": "application/json",
232
+ },
233
+ },
234
+ paramsType: {
235
+ FunctionId: "String",
236
+ Name: "String",
237
+ Type: "String",
238
+ },
239
+ },
240
+ DeleteAutoScaledTrigger: {
241
+ url: "/",
242
+ method: "POST",
243
+ config: {
244
+ query: {
245
+ Version: "2021-12-15",
246
+ Action: "DeleteAutoScaledTrigger",
247
+ },
248
+ headers: {
249
+ "Content-Type": "application/json",
250
+ },
251
+ },
252
+ paramsType: {
253
+ Functionid: "String",
254
+ TriggerName: "String",
255
+ },
256
+ },
150
257
  DescribeFunctions: {
151
258
  url: "/",
152
259
  method: "POST",