@alicloud/dataworks-public20240518 9.4.0 → 9.6.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.
Files changed (49) hide show
  1. package/dist/client.d.ts +53 -0
  2. package/dist/client.js +136 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/DeleteImageRequest.d.ts +23 -0
  5. package/dist/models/DeleteImageRequest.js +58 -0
  6. package/dist/models/DeleteImageRequest.js.map +1 -0
  7. package/dist/models/DeleteImageResponse.d.ts +19 -0
  8. package/dist/models/DeleteImageResponse.js +69 -0
  9. package/dist/models/DeleteImageResponse.js.map +1 -0
  10. package/dist/models/DeleteImageResponseBody.d.ts +37 -0
  11. package/dist/models/DeleteImageResponseBody.js +62 -0
  12. package/dist/models/DeleteImageResponseBody.js.map +1 -0
  13. package/dist/models/GetBatchChangeTableOwnerStatusRequest.d.ts +21 -0
  14. package/dist/models/GetBatchChangeTableOwnerStatusRequest.js +58 -0
  15. package/dist/models/GetBatchChangeTableOwnerStatusRequest.js.map +1 -0
  16. package/dist/models/GetBatchChangeTableOwnerStatusResponse.d.ts +19 -0
  17. package/dist/models/GetBatchChangeTableOwnerStatusResponse.js +69 -0
  18. package/dist/models/GetBatchChangeTableOwnerStatusResponse.js.map +1 -0
  19. package/dist/models/GetBatchChangeTableOwnerStatusResponseBody.d.ts +94 -0
  20. package/dist/models/GetBatchChangeTableOwnerStatusResponseBody.js +122 -0
  21. package/dist/models/GetBatchChangeTableOwnerStatusResponseBody.js.map +1 -0
  22. package/dist/models/SubmitBatchChangeTableOwnerRequest.d.ts +31 -0
  23. package/dist/models/SubmitBatchChangeTableOwnerRequest.js +65 -0
  24. package/dist/models/SubmitBatchChangeTableOwnerRequest.js.map +1 -0
  25. package/dist/models/SubmitBatchChangeTableOwnerResponse.d.ts +19 -0
  26. package/dist/models/SubmitBatchChangeTableOwnerResponse.js +69 -0
  27. package/dist/models/SubmitBatchChangeTableOwnerResponse.js.map +1 -0
  28. package/dist/models/SubmitBatchChangeTableOwnerResponseBody.d.ts +51 -0
  29. package/dist/models/SubmitBatchChangeTableOwnerResponseBody.js +88 -0
  30. package/dist/models/SubmitBatchChangeTableOwnerResponseBody.js.map +1 -0
  31. package/dist/models/SubmitBatchChangeTableOwnerShrinkRequest.d.ts +31 -0
  32. package/dist/models/SubmitBatchChangeTableOwnerShrinkRequest.js +62 -0
  33. package/dist/models/SubmitBatchChangeTableOwnerShrinkRequest.js.map +1 -0
  34. package/dist/models/model.d.ts +13 -0
  35. package/dist/models/model.js +67 -41
  36. package/dist/models/model.js.map +1 -1
  37. package/package.json +1 -1
  38. package/src/client.ts +148 -0
  39. package/src/models/DeleteImageRequest.ts +36 -0
  40. package/src/models/DeleteImageResponse.ts +40 -0
  41. package/src/models/DeleteImageResponseBody.ts +54 -0
  42. package/src/models/GetBatchChangeTableOwnerStatusRequest.ts +34 -0
  43. package/src/models/GetBatchChangeTableOwnerStatusResponse.ts +40 -0
  44. package/src/models/GetBatchChangeTableOwnerStatusResponseBody.ts +153 -0
  45. package/src/models/SubmitBatchChangeTableOwnerRequest.ts +51 -0
  46. package/src/models/SubmitBatchChangeTableOwnerResponse.ts +40 -0
  47. package/src/models/SubmitBatchChangeTableOwnerResponseBody.ts +85 -0
  48. package/src/models/SubmitBatchChangeTableOwnerShrinkRequest.ts +48 -0
  49. package/src/models/model.ts +13 -0
package/dist/client.d.ts CHANGED
@@ -2004,6 +2004,29 @@ export default class Client extends OpenApi {
2004
2004
  * @returns DeleteFunctionResponse
2005
2005
  */
2006
2006
  deleteFunction(request: $_model.DeleteFunctionRequest): Promise<$_model.DeleteFunctionResponse>;
2007
+ /**
2008
+ * Deletes an image.
2009
+ *
2010
+ * @remarks
2011
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
2012
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
2013
+ *
2014
+ * @param request - DeleteImageRequest
2015
+ * @param runtime - runtime options for this request RuntimeOptions
2016
+ * @returns DeleteImageResponse
2017
+ */
2018
+ deleteImageWithOptions(request: $_model.DeleteImageRequest, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteImageResponse>;
2019
+ /**
2020
+ * Deletes an image.
2021
+ *
2022
+ * @remarks
2023
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
2024
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
2025
+ *
2026
+ * @param request - DeleteImageRequest
2027
+ * @returns DeleteImageResponse
2028
+ */
2029
+ deleteImage(request: $_model.DeleteImageRequest): Promise<$_model.DeleteImageResponse>;
2007
2030
  /**
2008
2031
  * Deletes a specified data lineage relationship from DataWorks Data Map.
2009
2032
  *
@@ -2909,6 +2932,21 @@ export default class Client extends OpenApi {
2909
2932
  * @returns GetApplicationContentsResponse
2910
2933
  */
2911
2934
  getApplicationContents(request: $_model.GetApplicationContentsRequest): Promise<$_model.GetApplicationContentsResponse>;
2935
+ /**
2936
+ * 查询批量转交表Owner状态
2937
+ *
2938
+ * @param request - GetBatchChangeTableOwnerStatusRequest
2939
+ * @param runtime - runtime options for this request RuntimeOptions
2940
+ * @returns GetBatchChangeTableOwnerStatusResponse
2941
+ */
2942
+ getBatchChangeTableOwnerStatusWithOptions(request: $_model.GetBatchChangeTableOwnerStatusRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetBatchChangeTableOwnerStatusResponse>;
2943
+ /**
2944
+ * 查询批量转交表Owner状态
2945
+ *
2946
+ * @param request - GetBatchChangeTableOwnerStatusRequest
2947
+ * @returns GetBatchChangeTableOwnerStatusResponse
2948
+ */
2949
+ getBatchChangeTableOwnerStatus(request: $_model.GetBatchChangeTableOwnerStatusRequest): Promise<$_model.GetBatchChangeTableOwnerStatusResponse>;
2912
2950
  /**
2913
2951
  * Queries the details of a business process by calling GetBusiness.
2914
2952
  *
@@ -7286,6 +7324,21 @@ export default class Client extends OpenApi {
7286
7324
  * @returns StopWorkflowInstancesResponse
7287
7325
  */
7288
7326
  stopWorkflowInstances(request: $_model.StopWorkflowInstancesRequest): Promise<$_model.StopWorkflowInstancesResponse>;
7327
+ /**
7328
+ * 提交批量转交表Owner
7329
+ *
7330
+ * @param tmpReq - SubmitBatchChangeTableOwnerRequest
7331
+ * @param runtime - runtime options for this request RuntimeOptions
7332
+ * @returns SubmitBatchChangeTableOwnerResponse
7333
+ */
7334
+ submitBatchChangeTableOwnerWithOptions(tmpReq: $_model.SubmitBatchChangeTableOwnerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.SubmitBatchChangeTableOwnerResponse>;
7335
+ /**
7336
+ * 提交批量转交表Owner
7337
+ *
7338
+ * @param request - SubmitBatchChangeTableOwnerRequest
7339
+ * @returns SubmitBatchChangeTableOwnerResponse
7340
+ */
7341
+ submitBatchChangeTableOwner(request: $_model.SubmitBatchChangeTableOwnerRequest): Promise<$_model.SubmitBatchChangeTableOwnerResponse>;
7289
7342
  /**
7290
7343
  * Commits a file to the development environment of the scheduling system to generate a task.
7291
7344
  *
package/dist/client.js CHANGED
@@ -5860,6 +5860,53 @@ class Client extends openapi_core_1.default {
5860
5860
  let runtime = new $dara.RuntimeOptions({});
5861
5861
  return await this.deleteFunctionWithOptions(request, runtime);
5862
5862
  }
5863
+ /**
5864
+ * Deletes an image.
5865
+ *
5866
+ * @remarks
5867
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
5868
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
5869
+ *
5870
+ * @param request - DeleteImageRequest
5871
+ * @param runtime - runtime options for this request RuntimeOptions
5872
+ * @returns DeleteImageResponse
5873
+ */
5874
+ async deleteImageWithOptions(request, runtime) {
5875
+ request.validate();
5876
+ let body = {};
5877
+ if (!$dara.isNull(request.id)) {
5878
+ body["Id"] = request.id;
5879
+ }
5880
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
5881
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
5882
+ });
5883
+ let params = new openapi_core_2.$OpenApiUtil.Params({
5884
+ action: "DeleteImage",
5885
+ version: "2024-05-18",
5886
+ protocol: "HTTPS",
5887
+ pathname: "/",
5888
+ method: "POST",
5889
+ authType: "AK",
5890
+ style: "RPC",
5891
+ reqBodyType: "formData",
5892
+ bodyType: "json",
5893
+ });
5894
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteImageResponse({}));
5895
+ }
5896
+ /**
5897
+ * Deletes an image.
5898
+ *
5899
+ * @remarks
5900
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
5901
+ * 2. **Before calling this operation, make sure that the service-linked role AliyunServiceRoleForDataWorks has been created.**
5902
+ *
5903
+ * @param request - DeleteImageRequest
5904
+ * @returns DeleteImageResponse
5905
+ */
5906
+ async deleteImage(request) {
5907
+ let runtime = new $dara.RuntimeOptions({});
5908
+ return await this.deleteImageWithOptions(request, runtime);
5909
+ }
5863
5910
  /**
5864
5911
  * Deletes a specified data lineage relationship from DataWorks Data Map.
5865
5912
  *
@@ -7834,6 +7881,45 @@ class Client extends openapi_core_1.default {
7834
7881
  let runtime = new $dara.RuntimeOptions({});
7835
7882
  return await this.getApplicationContentsWithOptions(request, runtime);
7836
7883
  }
7884
+ /**
7885
+ * 查询批量转交表Owner状态
7886
+ *
7887
+ * @param request - GetBatchChangeTableOwnerStatusRequest
7888
+ * @param runtime - runtime options for this request RuntimeOptions
7889
+ * @returns GetBatchChangeTableOwnerStatusResponse
7890
+ */
7891
+ async getBatchChangeTableOwnerStatusWithOptions(request, runtime) {
7892
+ request.validate();
7893
+ let query = {};
7894
+ if (!$dara.isNull(request.batchId)) {
7895
+ query["BatchId"] = request.batchId;
7896
+ }
7897
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
7898
+ query: openapi_core_2.OpenApiUtil.query(query),
7899
+ });
7900
+ let params = new openapi_core_2.$OpenApiUtil.Params({
7901
+ action: "GetBatchChangeTableOwnerStatus",
7902
+ version: "2024-05-18",
7903
+ protocol: "HTTPS",
7904
+ pathname: "/",
7905
+ method: "POST",
7906
+ authType: "AK",
7907
+ style: "RPC",
7908
+ reqBodyType: "formData",
7909
+ bodyType: "json",
7910
+ });
7911
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetBatchChangeTableOwnerStatusResponse({}));
7912
+ }
7913
+ /**
7914
+ * 查询批量转交表Owner状态
7915
+ *
7916
+ * @param request - GetBatchChangeTableOwnerStatusRequest
7917
+ * @returns GetBatchChangeTableOwnerStatusResponse
7918
+ */
7919
+ async getBatchChangeTableOwnerStatus(request) {
7920
+ let runtime = new $dara.RuntimeOptions({});
7921
+ return await this.getBatchChangeTableOwnerStatusWithOptions(request, runtime);
7922
+ }
7837
7923
  /**
7838
7924
  * Queries the details of a business process by calling GetBusiness.
7839
7925
  *
@@ -18398,6 +18484,56 @@ class Client extends openapi_core_1.default {
18398
18484
  let runtime = new $dara.RuntimeOptions({});
18399
18485
  return await this.stopWorkflowInstancesWithOptions(request, runtime);
18400
18486
  }
18487
+ /**
18488
+ * 提交批量转交表Owner
18489
+ *
18490
+ * @param tmpReq - SubmitBatchChangeTableOwnerRequest
18491
+ * @param runtime - runtime options for this request RuntimeOptions
18492
+ * @returns SubmitBatchChangeTableOwnerResponse
18493
+ */
18494
+ async submitBatchChangeTableOwnerWithOptions(tmpReq, runtime) {
18495
+ tmpReq.validate();
18496
+ let request = new $_model.SubmitBatchChangeTableOwnerShrinkRequest({});
18497
+ openapi_core_2.OpenApiUtil.convert(tmpReq, request);
18498
+ if (!$dara.isNull(tmpReq.tableMetaEntityIds)) {
18499
+ request.tableMetaEntityIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.tableMetaEntityIds, "TableMetaEntityIds", "simple");
18500
+ }
18501
+ let body = {};
18502
+ if (!$dara.isNull(request.enableCrossTenant)) {
18503
+ body["EnableCrossTenant"] = request.enableCrossTenant;
18504
+ }
18505
+ if (!$dara.isNull(request.owner)) {
18506
+ body["Owner"] = request.owner;
18507
+ }
18508
+ if (!$dara.isNull(request.tableMetaEntityIdsShrink)) {
18509
+ body["TableMetaEntityIds"] = request.tableMetaEntityIdsShrink;
18510
+ }
18511
+ let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
18512
+ body: openapi_core_2.OpenApiUtil.parseToMap(body),
18513
+ });
18514
+ let params = new openapi_core_2.$OpenApiUtil.Params({
18515
+ action: "SubmitBatchChangeTableOwner",
18516
+ version: "2024-05-18",
18517
+ protocol: "HTTPS",
18518
+ pathname: "/",
18519
+ method: "POST",
18520
+ authType: "AK",
18521
+ style: "RPC",
18522
+ reqBodyType: "formData",
18523
+ bodyType: "json",
18524
+ });
18525
+ return $dara.cast(await this.callApi(params, req, runtime), new $_model.SubmitBatchChangeTableOwnerResponse({}));
18526
+ }
18527
+ /**
18528
+ * 提交批量转交表Owner
18529
+ *
18530
+ * @param request - SubmitBatchChangeTableOwnerRequest
18531
+ * @returns SubmitBatchChangeTableOwnerResponse
18532
+ */
18533
+ async submitBatchChangeTableOwner(request) {
18534
+ let runtime = new $dara.RuntimeOptions({});
18535
+ return await this.submitBatchChangeTableOwnerWithOptions(request, runtime);
18536
+ }
18401
18537
  /**
18402
18538
  * Commits a file to the development environment of the scheduling system to generate a task.
18403
18539
  *