@alicloud/dataworks-public20240518 9.3.0 → 9.4.0
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/client.d.ts +42 -0
- package/dist/client.js +171 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateServerIdeInstanceRequest.d.ts +464 -0
- package/dist/models/CreateServerIdeInstanceRequest.js +329 -0
- package/dist/models/CreateServerIdeInstanceRequest.js.map +1 -0
- package/dist/models/CreateServerIdeInstanceResponse.d.ts +19 -0
- package/dist/models/CreateServerIdeInstanceResponse.js +69 -0
- package/dist/models/CreateServerIdeInstanceResponse.js.map +1 -0
- package/dist/models/CreateServerIdeInstanceResponseBody.d.ts +29 -0
- package/dist/models/CreateServerIdeInstanceResponseBody.js +60 -0
- package/dist/models/CreateServerIdeInstanceResponseBody.js.map +1 -0
- package/dist/models/CreateServerIdeInstanceShrinkRequest.d.ts +95 -0
- package/dist/models/CreateServerIdeInstanceShrinkRequest.js +78 -0
- package/dist/models/CreateServerIdeInstanceShrinkRequest.js.map +1 -0
- package/dist/models/UpdateServerIdeInstanceRequest.d.ts +404 -0
- package/dist/models/UpdateServerIdeInstanceRequest.js +281 -0
- package/dist/models/UpdateServerIdeInstanceRequest.js.map +1 -0
- package/dist/models/UpdateServerIdeInstanceResponse.d.ts +19 -0
- package/dist/models/UpdateServerIdeInstanceResponse.js +69 -0
- package/dist/models/UpdateServerIdeInstanceResponse.js.map +1 -0
- package/dist/models/UpdateServerIdeInstanceResponseBody.d.ts +29 -0
- package/dist/models/UpdateServerIdeInstanceResponseBody.js +60 -0
- package/dist/models/UpdateServerIdeInstanceResponseBody.js.map +1 -0
- package/dist/models/UpdateServerIdeInstanceShrinkRequest.d.ts +78 -0
- package/dist/models/UpdateServerIdeInstanceShrinkRequest.js +74 -0
- package/dist/models/UpdateServerIdeInstanceShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +24 -0
- package/dist/models/model.js +90 -42
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +202 -0
- package/src/models/CreateServerIdeInstanceRequest.ts +667 -0
- package/src/models/CreateServerIdeInstanceResponse.ts +40 -0
- package/src/models/CreateServerIdeInstanceResponseBody.ts +44 -0
- package/src/models/CreateServerIdeInstanceShrinkRequest.ts +128 -0
- package/src/models/UpdateServerIdeInstanceRequest.ts +577 -0
- package/src/models/UpdateServerIdeInstanceResponse.ts +40 -0
- package/src/models/UpdateServerIdeInstanceResponseBody.ts +44 -0
- package/src/models/UpdateServerIdeInstanceShrinkRequest.ts +107 -0
- package/src/models/model.ts +24 -0
package/dist/client.d.ts
CHANGED
|
@@ -1395,6 +1395,27 @@ export default class Client extends OpenApi {
|
|
|
1395
1395
|
* @returns CreateSemanticJobResponse
|
|
1396
1396
|
*/
|
|
1397
1397
|
createSemanticJob(request: $_model.CreateSemanticJobRequest): Promise<$_model.CreateSemanticJobResponse>;
|
|
1398
|
+
/**
|
|
1399
|
+
* Creates a personal development environment instance.
|
|
1400
|
+
*
|
|
1401
|
+
* @remarks
|
|
1402
|
+
* Creates a personal development environment (ServerIDE) instance. After you specify the DataWorks workspace, resource group, image, and specifications, the instance is created and the instance ID is returned.
|
|
1403
|
+
*
|
|
1404
|
+
* @param tmpReq - CreateServerIdeInstanceRequest
|
|
1405
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1406
|
+
* @returns CreateServerIdeInstanceResponse
|
|
1407
|
+
*/
|
|
1408
|
+
createServerIdeInstanceWithOptions(tmpReq: $_model.CreateServerIdeInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.CreateServerIdeInstanceResponse>;
|
|
1409
|
+
/**
|
|
1410
|
+
* Creates a personal development environment instance.
|
|
1411
|
+
*
|
|
1412
|
+
* @remarks
|
|
1413
|
+
* Creates a personal development environment (ServerIDE) instance. After you specify the DataWorks workspace, resource group, image, and specifications, the instance is created and the instance ID is returned.
|
|
1414
|
+
*
|
|
1415
|
+
* @param request - CreateServerIdeInstanceRequest
|
|
1416
|
+
* @returns CreateServerIdeInstanceResponse
|
|
1417
|
+
*/
|
|
1418
|
+
createServerIdeInstance(request: $_model.CreateServerIdeInstanceRequest): Promise<$_model.CreateServerIdeInstanceResponse>;
|
|
1398
1419
|
/**
|
|
1399
1420
|
* Creates a new Skill in DataWorks.
|
|
1400
1421
|
*
|
|
@@ -8145,6 +8166,27 @@ export default class Client extends OpenApi {
|
|
|
8145
8166
|
* @returns UpdateSecurityStrategyResponse
|
|
8146
8167
|
*/
|
|
8147
8168
|
updateSecurityStrategy(request: $_model.UpdateSecurityStrategyRequest): Promise<$_model.UpdateSecurityStrategyResponse>;
|
|
8169
|
+
/**
|
|
8170
|
+
* Updates the configuration of a specified personal development environment instance.
|
|
8171
|
+
*
|
|
8172
|
+
* @remarks
|
|
8173
|
+
* Updates the configuration of a specified personal development environment (ServerIDE) instance. You can modify the CU, image, instance name, VPC, dataset, and credential configurations. If the CU and image parameters are not specified, the existing instance configurations are retained.
|
|
8174
|
+
*
|
|
8175
|
+
* @param tmpReq - UpdateServerIdeInstanceRequest
|
|
8176
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8177
|
+
* @returns UpdateServerIdeInstanceResponse
|
|
8178
|
+
*/
|
|
8179
|
+
updateServerIdeInstanceWithOptions(tmpReq: $_model.UpdateServerIdeInstanceRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateServerIdeInstanceResponse>;
|
|
8180
|
+
/**
|
|
8181
|
+
* Updates the configuration of a specified personal development environment instance.
|
|
8182
|
+
*
|
|
8183
|
+
* @remarks
|
|
8184
|
+
* Updates the configuration of a specified personal development environment (ServerIDE) instance. You can modify the CU, image, instance name, VPC, dataset, and credential configurations. If the CU and image parameters are not specified, the existing instance configurations are retained.
|
|
8185
|
+
*
|
|
8186
|
+
* @param request - UpdateServerIdeInstanceRequest
|
|
8187
|
+
* @returns UpdateServerIdeInstanceResponse
|
|
8188
|
+
*/
|
|
8189
|
+
updateServerIdeInstance(request: $_model.UpdateServerIdeInstanceRequest): Promise<$_model.UpdateServerIdeInstanceResponse>;
|
|
8148
8190
|
/**
|
|
8149
8191
|
* Updates a specified Skill and generates a new version.
|
|
8150
8192
|
*
|
package/dist/client.js
CHANGED
|
@@ -4353,6 +4353,95 @@ class Client extends openapi_core_1.default {
|
|
|
4353
4353
|
let runtime = new $dara.RuntimeOptions({});
|
|
4354
4354
|
return await this.createSemanticJobWithOptions(request, runtime);
|
|
4355
4355
|
}
|
|
4356
|
+
/**
|
|
4357
|
+
* Creates a personal development environment instance.
|
|
4358
|
+
*
|
|
4359
|
+
* @remarks
|
|
4360
|
+
* Creates a personal development environment (ServerIDE) instance. After you specify the DataWorks workspace, resource group, image, and specifications, the instance is created and the instance ID is returned.
|
|
4361
|
+
*
|
|
4362
|
+
* @param tmpReq - CreateServerIdeInstanceRequest
|
|
4363
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4364
|
+
* @returns CreateServerIdeInstanceResponse
|
|
4365
|
+
*/
|
|
4366
|
+
async createServerIdeInstanceWithOptions(tmpReq, runtime) {
|
|
4367
|
+
tmpReq.validate();
|
|
4368
|
+
let request = new $_model.CreateServerIdeInstanceShrinkRequest({});
|
|
4369
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4370
|
+
if (!$dara.isNull(tmpReq.credentialConfig)) {
|
|
4371
|
+
request.credentialConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.credentialConfig, "CredentialConfig", "json");
|
|
4372
|
+
}
|
|
4373
|
+
if (!$dara.isNull(tmpReq.datasets)) {
|
|
4374
|
+
request.datasetsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.datasets, "Datasets", "json");
|
|
4375
|
+
}
|
|
4376
|
+
if (!$dara.isNull(tmpReq.userCommand)) {
|
|
4377
|
+
request.userCommandShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userCommand, "UserCommand", "json");
|
|
4378
|
+
}
|
|
4379
|
+
if (!$dara.isNull(tmpReq.userVpc)) {
|
|
4380
|
+
request.userVpcShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userVpc, "UserVpc", "json");
|
|
4381
|
+
}
|
|
4382
|
+
let body = {};
|
|
4383
|
+
if (!$dara.isNull(request.credentialConfigShrink)) {
|
|
4384
|
+
body["CredentialConfig"] = request.credentialConfigShrink;
|
|
4385
|
+
}
|
|
4386
|
+
if (!$dara.isNull(request.cu)) {
|
|
4387
|
+
body["Cu"] = request.cu;
|
|
4388
|
+
}
|
|
4389
|
+
if (!$dara.isNull(request.datasetsShrink)) {
|
|
4390
|
+
body["Datasets"] = request.datasetsShrink;
|
|
4391
|
+
}
|
|
4392
|
+
if (!$dara.isNull(request.imageId)) {
|
|
4393
|
+
body["ImageId"] = request.imageId;
|
|
4394
|
+
}
|
|
4395
|
+
if (!$dara.isNull(request.imageUrl)) {
|
|
4396
|
+
body["ImageUrl"] = request.imageUrl;
|
|
4397
|
+
}
|
|
4398
|
+
if (!$dara.isNull(request.instanceName)) {
|
|
4399
|
+
body["InstanceName"] = request.instanceName;
|
|
4400
|
+
}
|
|
4401
|
+
if (!$dara.isNull(request.owner)) {
|
|
4402
|
+
body["Owner"] = request.owner;
|
|
4403
|
+
}
|
|
4404
|
+
if (!$dara.isNull(request.projectId)) {
|
|
4405
|
+
body["ProjectId"] = request.projectId;
|
|
4406
|
+
}
|
|
4407
|
+
if (!$dara.isNull(request.resourceGroupId)) {
|
|
4408
|
+
body["ResourceGroupId"] = request.resourceGroupId;
|
|
4409
|
+
}
|
|
4410
|
+
if (!$dara.isNull(request.userCommandShrink)) {
|
|
4411
|
+
body["UserCommand"] = request.userCommandShrink;
|
|
4412
|
+
}
|
|
4413
|
+
if (!$dara.isNull(request.userVpcShrink)) {
|
|
4414
|
+
body["UserVpc"] = request.userVpcShrink;
|
|
4415
|
+
}
|
|
4416
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4417
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
4418
|
+
});
|
|
4419
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4420
|
+
action: "CreateServerIdeInstance",
|
|
4421
|
+
version: "2024-05-18",
|
|
4422
|
+
protocol: "HTTPS",
|
|
4423
|
+
pathname: "/",
|
|
4424
|
+
method: "POST",
|
|
4425
|
+
authType: "AK",
|
|
4426
|
+
style: "RPC",
|
|
4427
|
+
reqBodyType: "formData",
|
|
4428
|
+
bodyType: "json",
|
|
4429
|
+
});
|
|
4430
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateServerIdeInstanceResponse({}));
|
|
4431
|
+
}
|
|
4432
|
+
/**
|
|
4433
|
+
* Creates a personal development environment instance.
|
|
4434
|
+
*
|
|
4435
|
+
* @remarks
|
|
4436
|
+
* Creates a personal development environment (ServerIDE) instance. After you specify the DataWorks workspace, resource group, image, and specifications, the instance is created and the instance ID is returned.
|
|
4437
|
+
*
|
|
4438
|
+
* @param request - CreateServerIdeInstanceRequest
|
|
4439
|
+
* @returns CreateServerIdeInstanceResponse
|
|
4440
|
+
*/
|
|
4441
|
+
async createServerIdeInstance(request) {
|
|
4442
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4443
|
+
return await this.createServerIdeInstanceWithOptions(request, runtime);
|
|
4444
|
+
}
|
|
4356
4445
|
/**
|
|
4357
4446
|
* Creates a new Skill in DataWorks.
|
|
4358
4447
|
*
|
|
@@ -21145,6 +21234,88 @@ class Client extends openapi_core_1.default {
|
|
|
21145
21234
|
let runtime = new $dara.RuntimeOptions({});
|
|
21146
21235
|
return await this.updateSecurityStrategyWithOptions(request, runtime);
|
|
21147
21236
|
}
|
|
21237
|
+
/**
|
|
21238
|
+
* Updates the configuration of a specified personal development environment instance.
|
|
21239
|
+
*
|
|
21240
|
+
* @remarks
|
|
21241
|
+
* Updates the configuration of a specified personal development environment (ServerIDE) instance. You can modify the CU, image, instance name, VPC, dataset, and credential configurations. If the CU and image parameters are not specified, the existing instance configurations are retained.
|
|
21242
|
+
*
|
|
21243
|
+
* @param tmpReq - UpdateServerIdeInstanceRequest
|
|
21244
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
21245
|
+
* @returns UpdateServerIdeInstanceResponse
|
|
21246
|
+
*/
|
|
21247
|
+
async updateServerIdeInstanceWithOptions(tmpReq, runtime) {
|
|
21248
|
+
tmpReq.validate();
|
|
21249
|
+
let request = new $_model.UpdateServerIdeInstanceShrinkRequest({});
|
|
21250
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
21251
|
+
if (!$dara.isNull(tmpReq.credentialConfig)) {
|
|
21252
|
+
request.credentialConfigShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.credentialConfig, "CredentialConfig", "json");
|
|
21253
|
+
}
|
|
21254
|
+
if (!$dara.isNull(tmpReq.datasets)) {
|
|
21255
|
+
request.datasetsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.datasets, "Datasets", "json");
|
|
21256
|
+
}
|
|
21257
|
+
if (!$dara.isNull(tmpReq.userVpc)) {
|
|
21258
|
+
request.userVpcShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.userVpc, "UserVpc", "json");
|
|
21259
|
+
}
|
|
21260
|
+
let query = {};
|
|
21261
|
+
if (!$dara.isNull(request.instanceId)) {
|
|
21262
|
+
query["InstanceId"] = request.instanceId;
|
|
21263
|
+
}
|
|
21264
|
+
let body = {};
|
|
21265
|
+
if (!$dara.isNull(request.credentialConfigShrink)) {
|
|
21266
|
+
body["CredentialConfig"] = request.credentialConfigShrink;
|
|
21267
|
+
}
|
|
21268
|
+
if (!$dara.isNull(request.cu)) {
|
|
21269
|
+
body["Cu"] = request.cu;
|
|
21270
|
+
}
|
|
21271
|
+
if (!$dara.isNull(request.datasetsShrink)) {
|
|
21272
|
+
body["Datasets"] = request.datasetsShrink;
|
|
21273
|
+
}
|
|
21274
|
+
if (!$dara.isNull(request.imageId)) {
|
|
21275
|
+
body["ImageId"] = request.imageId;
|
|
21276
|
+
}
|
|
21277
|
+
if (!$dara.isNull(request.imageUrl)) {
|
|
21278
|
+
body["ImageUrl"] = request.imageUrl;
|
|
21279
|
+
}
|
|
21280
|
+
if (!$dara.isNull(request.instanceName)) {
|
|
21281
|
+
body["InstanceName"] = request.instanceName;
|
|
21282
|
+
}
|
|
21283
|
+
if (!$dara.isNull(request.projectId)) {
|
|
21284
|
+
body["ProjectId"] = request.projectId;
|
|
21285
|
+
}
|
|
21286
|
+
if (!$dara.isNull(request.userVpcShrink)) {
|
|
21287
|
+
body["UserVpc"] = request.userVpcShrink;
|
|
21288
|
+
}
|
|
21289
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
21290
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
21291
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
21292
|
+
});
|
|
21293
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
21294
|
+
action: "UpdateServerIdeInstance",
|
|
21295
|
+
version: "2024-05-18",
|
|
21296
|
+
protocol: "HTTPS",
|
|
21297
|
+
pathname: "/",
|
|
21298
|
+
method: "POST",
|
|
21299
|
+
authType: "AK",
|
|
21300
|
+
style: "RPC",
|
|
21301
|
+
reqBodyType: "formData",
|
|
21302
|
+
bodyType: "json",
|
|
21303
|
+
});
|
|
21304
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateServerIdeInstanceResponse({}));
|
|
21305
|
+
}
|
|
21306
|
+
/**
|
|
21307
|
+
* Updates the configuration of a specified personal development environment instance.
|
|
21308
|
+
*
|
|
21309
|
+
* @remarks
|
|
21310
|
+
* Updates the configuration of a specified personal development environment (ServerIDE) instance. You can modify the CU, image, instance name, VPC, dataset, and credential configurations. If the CU and image parameters are not specified, the existing instance configurations are retained.
|
|
21311
|
+
*
|
|
21312
|
+
* @param request - UpdateServerIdeInstanceRequest
|
|
21313
|
+
* @returns UpdateServerIdeInstanceResponse
|
|
21314
|
+
*/
|
|
21315
|
+
async updateServerIdeInstance(request) {
|
|
21316
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
21317
|
+
return await this.updateServerIdeInstanceWithOptions(request, runtime);
|
|
21318
|
+
}
|
|
21148
21319
|
/**
|
|
21149
21320
|
* Updates a specified Skill and generates a new version.
|
|
21150
21321
|
*
|