@alicloud/dataworks-public20240518 8.8.2 → 8.8.4

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 (106) hide show
  1. package/dist/client.d.ts +132 -132
  2. package/dist/client.js +144 -132
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ApplyResourceAccessPermissionRequest.d.ts +35 -20
  5. package/dist/models/ApplyResourceAccessPermissionRequest.js.map +1 -1
  6. package/dist/models/ApplyResourceAccessPermissionResponseBody.d.ts +1 -1
  7. package/dist/models/ApplyResourceAccessPermissionShrinkRequest.d.ts +3 -3
  8. package/dist/models/Column.d.ts +23 -20
  9. package/dist/models/Column.js +5 -0
  10. package/dist/models/Column.js.map +1 -1
  11. package/dist/models/CreatePipelineRunRequest.d.ts +30 -8
  12. package/dist/models/CreatePipelineRunRequest.js +4 -0
  13. package/dist/models/CreatePipelineRunRequest.js.map +1 -1
  14. package/dist/models/CreatePipelineRunResponseBody.d.ts +2 -2
  15. package/dist/models/CreatePipelineRunShrinkRequest.d.ts +30 -8
  16. package/dist/models/CreatePipelineRunShrinkRequest.js +4 -0
  17. package/dist/models/CreatePipelineRunShrinkRequest.js.map +1 -1
  18. package/dist/models/GetApplicationContentsRequest.d.ts +1 -1
  19. package/dist/models/GetApplicationContentsResponseBody.d.ts +77 -55
  20. package/dist/models/GetApplicationContentsResponseBody.js.map +1 -1
  21. package/dist/models/GetColumnRequest.d.ts +14 -13
  22. package/dist/models/GetColumnRequest.js.map +1 -1
  23. package/dist/models/GetColumnResponseBody.d.ts +2 -2
  24. package/dist/models/GetTableRequest.d.ts +17 -14
  25. package/dist/models/GetTableRequest.js +2 -0
  26. package/dist/models/GetTableRequest.js.map +1 -1
  27. package/dist/models/GetTableResponseBody.d.ts +2 -2
  28. package/dist/models/ImportWorkflowDefinitionRequest.d.ts +11 -7
  29. package/dist/models/ImportWorkflowDefinitionRequest.js +2 -0
  30. package/dist/models/ImportWorkflowDefinitionRequest.js.map +1 -1
  31. package/dist/models/ImportWorkflowDefinitionResponseBody.d.ts +13 -17
  32. package/dist/models/ImportWorkflowDefinitionResponseBody.js.map +1 -1
  33. package/dist/models/ListColumnsRequest.d.ts +12 -15
  34. package/dist/models/ListColumnsRequest.js +2 -0
  35. package/dist/models/ListColumnsRequest.js.map +1 -1
  36. package/dist/models/ListColumnsResponseBody.d.ts +3 -3
  37. package/dist/models/ListMyApplicationsRequest.d.ts +40 -23
  38. package/dist/models/ListMyApplicationsRequest.js.map +1 -1
  39. package/dist/models/ListMyApplicationsResponseBody.d.ts +51 -77
  40. package/dist/models/ListMyApplicationsResponseBody.js.map +1 -1
  41. package/dist/models/ListMyApplicationsShrinkRequest.d.ts +27 -20
  42. package/dist/models/ListMyApplicationsShrinkRequest.js.map +1 -1
  43. package/dist/models/ListMyRelatedApprovalsRequest.d.ts +58 -48
  44. package/dist/models/ListMyRelatedApprovalsRequest.js.map +1 -1
  45. package/dist/models/ListMyRelatedApprovalsResponseBody.d.ts +53 -77
  46. package/dist/models/ListMyRelatedApprovalsResponseBody.js.map +1 -1
  47. package/dist/models/ListMyRelatedApprovalsShrinkRequest.d.ts +36 -24
  48. package/dist/models/ListMyRelatedApprovalsShrinkRequest.js.map +1 -1
  49. package/dist/models/ListPendingApprovalsRequest.d.ts +42 -14
  50. package/dist/models/ListPendingApprovalsRequest.js.map +1 -1
  51. package/dist/models/ListPendingApprovalsResponseBody.d.ts +60 -85
  52. package/dist/models/ListPendingApprovalsResponseBody.js.map +1 -1
  53. package/dist/models/ListPendingApprovalsShrinkRequest.d.ts +27 -9
  54. package/dist/models/ListPendingApprovalsShrinkRequest.js.map +1 -1
  55. package/dist/models/ListTablesRequest.d.ts +27 -40
  56. package/dist/models/ListTablesRequest.js +2 -0
  57. package/dist/models/ListTablesRequest.js.map +1 -1
  58. package/dist/models/ListTablesResponseBody.d.ts +3 -3
  59. package/dist/models/ListTablesShrinkRequest.d.ts +27 -40
  60. package/dist/models/ListTablesShrinkRequest.js +2 -0
  61. package/dist/models/ListTablesShrinkRequest.js.map +1 -1
  62. package/dist/models/RerunTaskInstancesRequest.d.ts +3 -2
  63. package/dist/models/RerunTaskInstancesRequest.js +2 -0
  64. package/dist/models/RerunTaskInstancesRequest.js.map +1 -1
  65. package/dist/models/RerunTaskInstancesResponseBody.d.ts +2 -2
  66. package/dist/models/RerunTaskInstancesShrinkRequest.d.ts +3 -2
  67. package/dist/models/RerunTaskInstancesShrinkRequest.js +2 -0
  68. package/dist/models/RerunTaskInstancesShrinkRequest.js.map +1 -1
  69. package/dist/models/Table.d.ts +55 -54
  70. package/dist/models/Table.js +5 -0
  71. package/dist/models/Table.js.map +1 -1
  72. package/package.json +1 -1
  73. package/src/client.ts +148 -132
  74. package/src/models/ApplyResourceAccessPermissionRequest.ts +35 -20
  75. package/src/models/ApplyResourceAccessPermissionResponseBody.ts +1 -1
  76. package/src/models/ApplyResourceAccessPermissionShrinkRequest.ts +3 -3
  77. package/src/models/Column.ts +26 -20
  78. package/src/models/CreatePipelineRunRequest.ts +34 -8
  79. package/src/models/CreatePipelineRunResponseBody.ts +2 -2
  80. package/src/models/CreatePipelineRunShrinkRequest.ts +34 -8
  81. package/src/models/GetApplicationContentsRequest.ts +1 -1
  82. package/src/models/GetApplicationContentsResponseBody.ts +77 -55
  83. package/src/models/GetColumnRequest.ts +14 -13
  84. package/src/models/GetColumnResponseBody.ts +2 -2
  85. package/src/models/GetTableRequest.ts +19 -14
  86. package/src/models/GetTableResponseBody.ts +2 -2
  87. package/src/models/ImportWorkflowDefinitionRequest.ts +13 -7
  88. package/src/models/ImportWorkflowDefinitionResponseBody.ts +13 -17
  89. package/src/models/ListColumnsRequest.ts +14 -15
  90. package/src/models/ListColumnsResponseBody.ts +3 -3
  91. package/src/models/ListMyApplicationsRequest.ts +40 -23
  92. package/src/models/ListMyApplicationsResponseBody.ts +51 -77
  93. package/src/models/ListMyApplicationsShrinkRequest.ts +27 -20
  94. package/src/models/ListMyRelatedApprovalsRequest.ts +58 -48
  95. package/src/models/ListMyRelatedApprovalsResponseBody.ts +53 -77
  96. package/src/models/ListMyRelatedApprovalsShrinkRequest.ts +36 -24
  97. package/src/models/ListPendingApprovalsRequest.ts +42 -14
  98. package/src/models/ListPendingApprovalsResponseBody.ts +60 -85
  99. package/src/models/ListPendingApprovalsShrinkRequest.ts +27 -9
  100. package/src/models/ListTablesRequest.ts +29 -40
  101. package/src/models/ListTablesResponseBody.ts +3 -3
  102. package/src/models/ListTablesShrinkRequest.ts +29 -40
  103. package/src/models/RerunTaskInstancesRequest.ts +5 -2
  104. package/src/models/RerunTaskInstancesResponseBody.ts +2 -2
  105. package/src/models/RerunTaskInstancesShrinkRequest.ts +5 -2
  106. package/src/models/Table.ts +59 -55
package/dist/client.js CHANGED
@@ -319,19 +319,19 @@ class Client extends openapi_core_1.default {
319
319
  return await this.addEntityIntoMetaCollectionWithOptions(request, runtime);
320
320
  }
321
321
  /**
322
- * Submits a request for permissions on specific resources.
322
+ * Submits an application for access permissions on a specific resource.
323
323
  *
324
324
  * @remarks
325
- * ## Request details
326
- * - **Reason**: The reason for the request. This parameter is required.
327
- * - **ApplyContents**: A list of permission requests. Each request includes a resource (Resource), a principal (Grantee), the requested permission types (AccessTypes), and the permission expiration time (ExpirationTime). A single request can contain a maximum of 400 items.
328
- * - **Resource**: The resource for which permissions are requested. You must specify the `name` and `version` of the `ResourceSchema` required for parsing, along with the resource metadata (`MetaData`).
329
- * - **Grantee**: The principal to which permissions are granted. You must specify the principal type (`PrincipalType`) and principal ID (`PrincipalId`).
330
- * - **AccessTypes**: A list of permission types.
331
- * - **ExpirationTime**: The permission expiration time, specified as a Unix timestamp in milliseconds.
332
- * - **AuthMethod**: The authorization method. This parameter is optional. If not specified, the system\\"s default authorization method is used.
333
- * - **ClientToken**: A client token to ensure request idempotency. This parameter is optional.
334
- * Ensure that all required fields are correctly filled out and meet their respective constraints. For example, the `DefVersion` and `MetaData` in the `Resource` object must match the selected `DefSchema`.
325
+ * ## Request Description
326
+ * - **Reason**: The reason for the application. This parameter is required.
327
+ * - **ApplyContents**: Contains multiple resource permission application contents, each including the resource description (Resource), grantee description (Grantee), permission types (AccessTypes), and permission expiration time (ExpirationTime). The maximum limit per request is 400 entries.
328
+ * - **Resource**: The resource description. You need to specify the ResourceSchema.name and version that the resource parsing depends on, as well as the resource metadata MetaData.
329
+ * - **Grantee**: The grantee description. You need to specify the grantee type (PrincipalType) and the principal ID (PrincipalId).
330
+ * - **AccessTypes**: The list of permission types. Multiple permission combinations are supported.
331
+ * - **ExpirationTime**: The permission expiration time, provided as a milliseconds timestamp.
332
+ * - **AuthMethod**: An optional parameter that specifies the authorization method. The system uses the built-in default authorization method if not specified.
333
+ * - **ClientToken**: The client token used to prevent duplicate requests. This parameter is optional.
334
+ * Ensure all required fields are filled in correctly and comply with the corresponding constraints. For example, `DefVersion` and `MetaData` in `Resource` should match the selected `DefSchema`.
335
335
  *
336
336
  * @param tmpReq - ApplyResourceAccessPermissionRequest
337
337
  * @param runtime - runtime options for this request RuntimeOptions
@@ -371,19 +371,19 @@ class Client extends openapi_core_1.default {
371
371
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ApplyResourceAccessPermissionResponse({}));
372
372
  }
373
373
  /**
374
- * Submits a request for permissions on specific resources.
374
+ * Submits an application for access permissions on a specific resource.
375
375
  *
376
376
  * @remarks
377
- * ## Request details
378
- * - **Reason**: The reason for the request. This parameter is required.
379
- * - **ApplyContents**: A list of permission requests. Each request includes a resource (Resource), a principal (Grantee), the requested permission types (AccessTypes), and the permission expiration time (ExpirationTime). A single request can contain a maximum of 400 items.
380
- * - **Resource**: The resource for which permissions are requested. You must specify the `name` and `version` of the `ResourceSchema` required for parsing, along with the resource metadata (`MetaData`).
381
- * - **Grantee**: The principal to which permissions are granted. You must specify the principal type (`PrincipalType`) and principal ID (`PrincipalId`).
382
- * - **AccessTypes**: A list of permission types.
383
- * - **ExpirationTime**: The permission expiration time, specified as a Unix timestamp in milliseconds.
384
- * - **AuthMethod**: The authorization method. This parameter is optional. If not specified, the system\\"s default authorization method is used.
385
- * - **ClientToken**: A client token to ensure request idempotency. This parameter is optional.
386
- * Ensure that all required fields are correctly filled out and meet their respective constraints. For example, the `DefVersion` and `MetaData` in the `Resource` object must match the selected `DefSchema`.
377
+ * ## Request Description
378
+ * - **Reason**: The reason for the application. This parameter is required.
379
+ * - **ApplyContents**: Contains multiple resource permission application contents, each including the resource description (Resource), grantee description (Grantee), permission types (AccessTypes), and permission expiration time (ExpirationTime). The maximum limit per request is 400 entries.
380
+ * - **Resource**: The resource description. You need to specify the ResourceSchema.name and version that the resource parsing depends on, as well as the resource metadata MetaData.
381
+ * - **Grantee**: The grantee description. You need to specify the grantee type (PrincipalType) and the principal ID (PrincipalId).
382
+ * - **AccessTypes**: The list of permission types. Multiple permission combinations are supported.
383
+ * - **ExpirationTime**: The permission expiration time, provided as a milliseconds timestamp.
384
+ * - **AuthMethod**: An optional parameter that specifies the authorization method. The system uses the built-in default authorization method if not specified.
385
+ * - **ClientToken**: The client token used to prevent duplicate requests. This parameter is optional.
386
+ * Ensure all required fields are filled in correctly and comply with the corresponding constraints. For example, `DefVersion` and `MetaData` in `Resource` should match the selected `DefSchema`.
387
387
  *
388
388
  * @param request - ApplyResourceAccessPermissionRequest
389
389
  * @returns ApplyResourceAccessPermissionResponse
@@ -3104,11 +3104,11 @@ class Client extends openapi_core_1.default {
3104
3104
  return await this.createParameterWithOptions(request, runtime);
3105
3105
  }
3106
3106
  /**
3107
- * Creates a deployment process for entities in the Data Studio (new version).
3107
+ * Creates a publish process for an entity in the new-version DataStudio.
3108
3108
  *
3109
3109
  * @remarks
3110
- * >Notice: This API does not support batch operations. If you specify multiple entities to be published, all entities except the first one are ignored.
3111
- * >Notice: This API may not be available in earlier versions of the SDK. In that case, use the CreateDeployment API, which accepts the same parameters.
3110
+ * >Notice: This operation does not support batch operations. If you specify multiple publish entities in the parameters, all entities except the first one are ignored.
3111
+ * >Notice: This operation may not be available in earlier versions of the SDK. In this case, use the CreateDeployment operation. The parameters are the same as those described in this topic.
3112
3112
  *
3113
3113
  * @param tmpReq - CreatePipelineRunRequest
3114
3114
  * @param runtime - runtime options for this request RuntimeOptions
@@ -3122,6 +3122,9 @@ class Client extends openapi_core_1.default {
3122
3122
  request.objectIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.objectIds, "ObjectIds", "json");
3123
3123
  }
3124
3124
  let body = {};
3125
+ if (!$dara.isNull(request.autoRunUntilStage)) {
3126
+ body["AutoRunUntilStage"] = request.autoRunUntilStage;
3127
+ }
3125
3128
  if (!$dara.isNull(request.description)) {
3126
3129
  body["Description"] = request.description;
3127
3130
  }
@@ -3131,6 +3134,9 @@ class Client extends openapi_core_1.default {
3131
3134
  if (!$dara.isNull(request.projectId)) {
3132
3135
  body["ProjectId"] = request.projectId;
3133
3136
  }
3137
+ if (!$dara.isNull(request.runMode)) {
3138
+ body["RunMode"] = request.runMode;
3139
+ }
3134
3140
  if (!$dara.isNull(request.type)) {
3135
3141
  body["Type"] = request.type;
3136
3142
  }
@@ -3151,11 +3157,11 @@ class Client extends openapi_core_1.default {
3151
3157
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreatePipelineRunResponse({}));
3152
3158
  }
3153
3159
  /**
3154
- * Creates a deployment process for entities in the Data Studio (new version).
3160
+ * Creates a publish process for an entity in the new-version DataStudio.
3155
3161
  *
3156
3162
  * @remarks
3157
- * >Notice: This API does not support batch operations. If you specify multiple entities to be published, all entities except the first one are ignored.
3158
- * >Notice: This API may not be available in earlier versions of the SDK. In that case, use the CreateDeployment API, which accepts the same parameters.
3163
+ * >Notice: This operation does not support batch operations. If you specify multiple publish entities in the parameters, all entities except the first one are ignored.
3164
+ * >Notice: This operation may not be available in earlier versions of the SDK. In this case, use the CreateDeployment operation. The parameters are the same as those described in this topic.
3159
3165
  *
3160
3166
  * @param request - CreatePipelineRunRequest
3161
3167
  * @returns CreatePipelineRunResponse
@@ -6963,14 +6969,14 @@ class Client extends openapi_core_1.default {
6963
6969
  return await this.getAlertRuleWithOptions(request, runtime);
6964
6970
  }
6965
6971
  /**
6966
- * Retrieves a resource permission request by its process instance ID.
6972
+ * Queries the content of resource permission applications under the specified process instance ID.
6967
6973
  *
6968
6974
  * @remarks
6969
- * ## Request
6970
- * - This API retrieves details for a resource permission request using the specified `ProcessInstanceId`.
6971
- * - A valid `ProcessInstanceId` is required.
6972
- * - The response includes basic request information, status, and a list of requested items.
6973
- * - Each requested item includes detailed resource information, the principal, and the requested operation permissions.
6975
+ * ## Request Description
6976
+ * - This API is used to query the details of resource permission applications based on the provided `ProcessInstanceId`.
6977
+ * - A valid `ProcessInstanceId` parameter must be provided in the request.
6978
+ * - The response includes the basic information, status, and the list of specific application contents.
6979
+ * - Each application content includes detailed resource information, the grantee, the requested operation permissions, and more.
6974
6980
  *
6975
6981
  * @param request - GetApplicationContentsRequest
6976
6982
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6999,14 +7005,14 @@ class Client extends openapi_core_1.default {
6999
7005
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApplicationContentsResponse({}));
7000
7006
  }
7001
7007
  /**
7002
- * Retrieves a resource permission request by its process instance ID.
7008
+ * Queries the content of resource permission applications under the specified process instance ID.
7003
7009
  *
7004
7010
  * @remarks
7005
- * ## Request
7006
- * - This API retrieves details for a resource permission request using the specified `ProcessInstanceId`.
7007
- * - A valid `ProcessInstanceId` is required.
7008
- * - The response includes basic request information, status, and a list of requested items.
7009
- * - Each requested item includes detailed resource information, the principal, and the requested operation permissions.
7011
+ * ## Request Description
7012
+ * - This API is used to query the details of resource permission applications based on the provided `ProcessInstanceId`.
7013
+ * - A valid `ProcessInstanceId` parameter must be provided in the request.
7014
+ * - The response includes the basic information, status, and the list of specific application contents.
7015
+ * - Each application content includes detailed resource information, the grantee, the requested operation permissions, and more.
7010
7016
  *
7011
7017
  * @param request - GetApplicationContentsRequest
7012
7018
  * @returns GetApplicationContentsResponse
@@ -7147,10 +7153,10 @@ class Client extends openapi_core_1.default {
7147
7153
  return await this.getCertificateWithOptions(request, runtime);
7148
7154
  }
7149
7155
  /**
7150
- * Queries the information about a specific field of a table in Data Map.
7156
+ * Retrieves the details of a specified column in a Data Map table.
7151
7157
  *
7152
7158
  * @remarks
7153
- * 1. DataWorks Basic Edition or a higher edition is required.
7159
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
7154
7160
  *
7155
7161
  * @param request - GetColumnRequest
7156
7162
  * @param runtime - runtime options for this request RuntimeOptions
@@ -7176,10 +7182,10 @@ class Client extends openapi_core_1.default {
7176
7182
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetColumnResponse({}));
7177
7183
  }
7178
7184
  /**
7179
- * Queries the information about a specific field of a table in Data Map.
7185
+ * Retrieves the details of a specified column in a Data Map table.
7180
7186
  *
7181
7187
  * @remarks
7182
- * 1. DataWorks Basic Edition or a higher edition is required.
7188
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
7183
7189
  *
7184
7190
  * @param request - GetColumnRequest
7185
7191
  * @returns GetColumnResponse
@@ -9360,10 +9366,10 @@ class Client extends openapi_core_1.default {
9360
9366
  return await this.getSkillWithOptions(request, runtime);
9361
9367
  }
9362
9368
  /**
9363
- * Queries the information about a specific table in Data Map.
9369
+ * Retrieves the details of a specified data table in DataWorks Data Map. You can specify whether to return business metadata.
9364
9370
  *
9365
9371
  * @remarks
9366
- * 1. DataWorks Basic Edition or a higher edition is required.
9372
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
9367
9373
  *
9368
9374
  * @param request - GetTableRequest
9369
9375
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9389,10 +9395,10 @@ class Client extends openapi_core_1.default {
9389
9395
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTableResponse({}));
9390
9396
  }
9391
9397
  /**
9392
- * Queries the information about a specific table in Data Map.
9398
+ * Retrieves the details of a specified data table in DataWorks Data Map. You can specify whether to return business metadata.
9393
9399
  *
9394
9400
  * @remarks
9395
- * 1. DataWorks Basic Edition or a higher edition is required.
9401
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
9396
9402
  *
9397
9403
  * @param request - GetTableRequest
9398
9404
  * @returns GetTableResponse
@@ -9835,12 +9841,12 @@ class Client extends openapi_core_1.default {
9835
9841
  return importCertificateResp;
9836
9842
  }
9837
9843
  /**
9838
- * Imports a workflow and its child nodes that are specified by the FlowSpec field to DataStudio.
9844
+ * Imports a workflow node defined by FlowSpec and its child nodes into DataStudio.
9839
9845
  *
9840
9846
  * @remarks
9841
9847
  * >Notice:
9842
- * - This API does not support importing multiple workflow definitions. If you define more than one workflow definition in the FlowSpec, all workflow definitions except the first one are ignored.
9843
- * - This is an asynchronous API. Calling this API returns an asynchronous task object. You must call the GetJobStatus API to query the execution status of the task.
9848
+ * - This operation does not support importing multiple workflows. If more than one workflow is defined in the FlowSpec, all workflows except the first one are ignored.
9849
+ * - This is an asynchronous operation. The response returns an asynchronous task object. Call GetJobStatus to query the execution status of the task.
9844
9850
  *
9845
9851
  * @param request - ImportWorkflowDefinitionRequest
9846
9852
  * @param runtime - runtime options for this request RuntimeOptions
@@ -9849,6 +9855,9 @@ class Client extends openapi_core_1.default {
9849
9855
  async importWorkflowDefinitionWithOptions(request, runtime) {
9850
9856
  request.validate();
9851
9857
  let body = {};
9858
+ if (!$dara.isNull(request.dryRun)) {
9859
+ body["DryRun"] = request.dryRun;
9860
+ }
9852
9861
  if (!$dara.isNull(request.projectId)) {
9853
9862
  body["ProjectId"] = request.projectId;
9854
9863
  }
@@ -9872,12 +9881,12 @@ class Client extends openapi_core_1.default {
9872
9881
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ImportWorkflowDefinitionResponse({}));
9873
9882
  }
9874
9883
  /**
9875
- * Imports a workflow and its child nodes that are specified by the FlowSpec field to DataStudio.
9884
+ * Imports a workflow node defined by FlowSpec and its child nodes into DataStudio.
9876
9885
  *
9877
9886
  * @remarks
9878
9887
  * >Notice:
9879
- * - This API does not support importing multiple workflow definitions. If you define more than one workflow definition in the FlowSpec, all workflow definitions except the first one are ignored.
9880
- * - This is an asynchronous API. Calling this API returns an asynchronous task object. You must call the GetJobStatus API to query the execution status of the task.
9888
+ * - This operation does not support importing multiple workflows. If more than one workflow is defined in the FlowSpec, all workflows except the first one are ignored.
9889
+ * - This is an asynchronous operation. The response returns an asynchronous task object. Call GetJobStatus to query the execution status of the task.
9881
9890
  *
9882
9891
  * @param request - ImportWorkflowDefinitionRequest
9883
9892
  * @returns ImportWorkflowDefinitionResponse
@@ -10282,10 +10291,10 @@ class Client extends openapi_core_1.default {
10282
10291
  return await this.listCertificatesWithOptions(request, runtime);
10283
10292
  }
10284
10293
  /**
10285
- * Queries the column list of a specified table in Data Map.
10294
+ * Queries the column list of a specified data table in DataWorks Data Map.
10286
10295
  *
10287
10296
  * @remarks
10288
- * 1. DataWorks Basic Edition or a higher edition is required.
10297
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
10289
10298
  *
10290
10299
  * @param request - ListColumnsRequest
10291
10300
  * @param runtime - runtime options for this request RuntimeOptions
@@ -10311,10 +10320,10 @@ class Client extends openapi_core_1.default {
10311
10320
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListColumnsResponse({}));
10312
10321
  }
10313
10322
  /**
10314
- * Queries the column list of a specified table in Data Map.
10323
+ * Queries the column list of a specified data table in DataWorks Data Map.
10315
10324
  *
10316
10325
  * @remarks
10317
- * 1. DataWorks Basic Edition or a higher edition is required.
10326
+ * 1. You must purchase DataWorks Basic Edition or a higher edition to use this feature.
10318
10327
  *
10319
10328
  * @param request - ListColumnsRequest
10320
10329
  * @returns ListColumnsResponse
@@ -12680,16 +12689,16 @@ class Client extends openapi_core_1.default {
12680
12689
  return await this.listMetaEntityDefsWithOptions(request, runtime);
12681
12690
  }
12682
12691
  /**
12683
- * Lists all resource access requests submitted by the current user.
12692
+ * Queries all resource access permission application orders initiated by the current user.
12684
12693
  *
12685
12694
  * @remarks
12686
- * ## Request
12687
- * - This operation supports pagination using the `NextToken` and `PageSize` parameters.
12688
- * - The required `DefSchema` parameter specifies the resource type.
12689
- * - Specify multiple resource types in the `ResourceType` parameter to filter applications more precisely.
12690
- * - Use the `StartTime` and `EndTime` parameters to limit the query to a specific time range.
12691
- * - Use the `Statuses` parameter to filter applications by status, such as pending approval or approved.
12692
- * - To filter by a specific resource or grantee, use the `Resource` and `Grantee` parameters.
12695
+ * ## Request description
12696
+ * - This API supports paginated queries, controlled by the `NextToken` and `PageSize` parameters.
12697
+ * - `DefSchema` is a required parameter that specifies the resource type.
12698
+ * - The `ResourceType` list can contain multiple resource types for more precise filtering of application orders.
12699
+ * - You can set `StartTime` and `EndTime` to limit the time range of the query.
12700
+ * - `Statuses` allows you to filter application orders by specific statuses, such as pending approval and authorized.
12701
+ * - If you need to filter by specific resources or authorization targets, you can provide detailed information through the `Resource` and `Grantee` fields.
12693
12702
  *
12694
12703
  * @param tmpReq - ListMyApplicationsRequest
12695
12704
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12750,16 +12759,16 @@ class Client extends openapi_core_1.default {
12750
12759
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMyApplicationsResponse({}));
12751
12760
  }
12752
12761
  /**
12753
- * Lists all resource access requests submitted by the current user.
12762
+ * Queries all resource access permission application orders initiated by the current user.
12754
12763
  *
12755
12764
  * @remarks
12756
- * ## Request
12757
- * - This operation supports pagination using the `NextToken` and `PageSize` parameters.
12758
- * - The required `DefSchema` parameter specifies the resource type.
12759
- * - Specify multiple resource types in the `ResourceType` parameter to filter applications more precisely.
12760
- * - Use the `StartTime` and `EndTime` parameters to limit the query to a specific time range.
12761
- * - Use the `Statuses` parameter to filter applications by status, such as pending approval or approved.
12762
- * - To filter by a specific resource or grantee, use the `Resource` and `Grantee` parameters.
12765
+ * ## Request description
12766
+ * - This API supports paginated queries, controlled by the `NextToken` and `PageSize` parameters.
12767
+ * - `DefSchema` is a required parameter that specifies the resource type.
12768
+ * - The `ResourceType` list can contain multiple resource types for more precise filtering of application orders.
12769
+ * - You can set `StartTime` and `EndTime` to limit the time range of the query.
12770
+ * - `Statuses` allows you to filter application orders by specific statuses, such as pending approval and authorized.
12771
+ * - If you need to filter by specific resources or authorization targets, you can provide detailed information through the `Resource` and `Grantee` fields.
12763
12772
  *
12764
12773
  * @param request - ListMyApplicationsRequest
12765
12774
  * @returns ListMyApplicationsResponse
@@ -12769,15 +12778,15 @@ class Client extends openapi_core_1.default {
12769
12778
  return await this.listMyApplicationsWithOptions(request, runtime);
12770
12779
  }
12771
12780
  /**
12772
- * Lists permission requests where the current user is an approver or stakeholder.
12781
+ * Query all permission application orders where the current user is an approver or stakeholder.
12773
12782
  *
12774
12783
  * @remarks
12775
- * ## Request
12776
- * - This API retrieves all pending and approved permission requests where the current user is an approver.
12777
- * - The `Statuses` parameter filters requests by status.
12778
- * - The `NextToken` parameter enables pagination. For the first request, omit this parameter or set it to `null`. For subsequent requests, pass the `NextToken` value returned in the previous response.
12779
- * - The `PageSize` parameter defaults to 10, with a maximum value of 200.
12780
- * - `DefSchema` and `ResourceType` are required parameters. Other parameters are optional.
12784
+ * ## Request Description
12785
+ * - This API is used to retrieve all permission application orders where the current user is an approver, including pending and processed application orders.
12786
+ * - You can use the `Statuses` parameter to filter application orders by specific status.
12787
+ * - `NextToken` is used for paginated requests. It can be omitted or set to `null` for the first request. For subsequent requests, pass the `NextToken` value from the previous response.
12788
+ * - `PageSize` defaults to 10, with a maximum of 200.
12789
+ * - `DefSchema` and `ResourceType` are required fields. Other parameters can be filled in as needed.
12781
12790
  *
12782
12791
  * @param tmpReq - ListMyRelatedApprovalsRequest
12783
12792
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12850,15 +12859,15 @@ class Client extends openapi_core_1.default {
12850
12859
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMyRelatedApprovalsResponse({}));
12851
12860
  }
12852
12861
  /**
12853
- * Lists permission requests where the current user is an approver or stakeholder.
12862
+ * Query all permission application orders where the current user is an approver or stakeholder.
12854
12863
  *
12855
12864
  * @remarks
12856
- * ## Request
12857
- * - This API retrieves all pending and approved permission requests where the current user is an approver.
12858
- * - The `Statuses` parameter filters requests by status.
12859
- * - The `NextToken` parameter enables pagination. For the first request, omit this parameter or set it to `null`. For subsequent requests, pass the `NextToken` value returned in the previous response.
12860
- * - The `PageSize` parameter defaults to 10, with a maximum value of 200.
12861
- * - `DefSchema` and `ResourceType` are required parameters. Other parameters are optional.
12865
+ * ## Request Description
12866
+ * - This API is used to retrieve all permission application orders where the current user is an approver, including pending and processed application orders.
12867
+ * - You can use the `Statuses` parameter to filter application orders by specific status.
12868
+ * - `NextToken` is used for paginated requests. It can be omitted or set to `null` for the first request. For subsequent requests, pass the `NextToken` value from the previous response.
12869
+ * - `PageSize` defaults to 10, with a maximum of 200.
12870
+ * - `DefSchema` and `ResourceType` are required fields. Other parameters can be filled in as needed.
12862
12871
  *
12863
12872
  * @param request - ListMyRelatedApprovalsRequest
12864
12873
  * @returns ListMyRelatedApprovalsResponse
@@ -13157,27 +13166,27 @@ class Client extends openapi_core_1.default {
13157
13166
  return await this.listPartitionsWithOptions(request, runtime);
13158
13167
  }
13159
13168
  /**
13160
- * Retrieves pending permission requests awaiting approval by the current user.
13169
+ * Retrieves the list of pending permission request orders for which the current user is the approver.
13161
13170
  *
13162
13171
  * @remarks
13163
- * ## Request
13164
- * This API queries all pending permission requests that the current user can approve. You can filter the results by criteria such as resource type, time range, and approval status.
13165
- * - **ResourceType**: The resource type, such as a table. You can specify one or more values.
13166
- * - **Resource**: Search criteria for a resource, such as its project, database, or table name.
13167
- * - **StartTime and EndTime**: The time range when the permission requests were submitted.
13168
- * - **Statuses**: Filters the results by approval status, for example, to retrieve only requests that are pending approval.
13169
- * - **Grantee**: Filters the results by the grantee.
13170
- * - **AccessTypes**: Filters the results by the access type, such as `Read` or `Update`.
13171
- * - **PageSize and NextToken**: Enables pagination. `PageSize` specifies the number of results to return for each request, and `NextToken` is the cursor used to retrieve the next page of results.
13172
+ * ## Request Description
13173
+ * This API is used to query all pending permission request orders for which the current logged-in user is the approver. It supports filtering by multiple conditions, including resource type, time range, and approval status, to more precisely locate specific request orders.
13174
+ * - **ResourceType**: Specifies the resource type (such as table), which can have multiple values.
13175
+ * - **Resource**: Provides specific resource search conditions, such as the project, database, or table name.
13176
+ * - **StartTime and EndTime**: Define the time range during which the request was submitted.
13177
+ * - **Statuses**: Allows filtering results by approval status, for example, to view only pending approval requests.
13178
+ * - **Grantee**: Filters request orders based on the authorization principal information.
13179
+ * - **AccessTypes**: Filters based on the specific permission types requested (such as read or update).
13180
+ * - **PageSize and NextToken**: Used for pagination control, specifying the amount of data returned per request and the cursor needed to retrieve the next page of data.
13172
13181
  * Notes:
13173
- * - If no filters are specified, the API returns all matching records.
13174
- * - For the first request, you can leave the `NextToken` parameter empty or omit it. To retrieve subsequent pages, you must use the `NextToken` value returned in the previous response.
13175
- * - The default value of `PageSize` is 10, and the maximum value is 200. If you specify a value greater than the maximum, the maximum value is used.
13176
- * - If no more data is available, the `HasMore` field is `false`, and `NextToken` is omitted.
13177
- * ## Response
13178
- * A successful call returns paginated results. Each permission request includes details such as the submission time, resource description, grantee, and requested permissions. The response also contains the approval process status and other relevant metadata.
13179
- * - **Data**: The paginated result set, containing the page size (`PageSize`), cursor (`NextToken`), and a flag indicating if more data is available (`HasMore`).
13180
- * - **ApplicationQueryResponse**: The details of each permission request, including the justification, submission time, status, and a detailed list of requested items.
13182
+ * - If no filtering conditions are provided, all matching records are returned by default.
13183
+ * - The `NextToken` parameter can be empty or omitted for the first call. Subsequent page requests must use the `NextToken` value provided in the previous response.
13184
+ * - The default value of `PageSize` is 10, and the maximum value is 200. If the specified value exceeds the maximum limit, the maximum value is used.
13185
+ * - When there is no more data to return, the `HasMore` field is set to `false`, and `NextToken` will be empty or absent.
13186
+ * ## Response Description
13187
+ * After a successful call to this API, the response body contains paginated results and detailed information for each request order, such as the application time, resource description, authorization principal, requested permissions, and more. Additionally, the approval process status and other related metadata are provided.
13188
+ * - **Data**: The paginated result set, including page size (`PageSize`), cursor (`NextToken`), and whether more data is available (`HasMore`).
13189
+ * - **ApplicationQueryResponse**: The specific content of each request order, including the reason for the request, submission time, status, and a detailed list of request content.
13181
13190
  *
13182
13191
  * @param tmpReq - ListPendingApprovalsRequest
13183
13192
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13244,27 +13253,27 @@ class Client extends openapi_core_1.default {
13244
13253
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPendingApprovalsResponse({}));
13245
13254
  }
13246
13255
  /**
13247
- * Retrieves pending permission requests awaiting approval by the current user.
13256
+ * Retrieves the list of pending permission request orders for which the current user is the approver.
13248
13257
  *
13249
13258
  * @remarks
13250
- * ## Request
13251
- * This API queries all pending permission requests that the current user can approve. You can filter the results by criteria such as resource type, time range, and approval status.
13252
- * - **ResourceType**: The resource type, such as a table. You can specify one or more values.
13253
- * - **Resource**: Search criteria for a resource, such as its project, database, or table name.
13254
- * - **StartTime and EndTime**: The time range when the permission requests were submitted.
13255
- * - **Statuses**: Filters the results by approval status, for example, to retrieve only requests that are pending approval.
13256
- * - **Grantee**: Filters the results by the grantee.
13257
- * - **AccessTypes**: Filters the results by the access type, such as `Read` or `Update`.
13258
- * - **PageSize and NextToken**: Enables pagination. `PageSize` specifies the number of results to return for each request, and `NextToken` is the cursor used to retrieve the next page of results.
13259
+ * ## Request Description
13260
+ * This API is used to query all pending permission request orders for which the current logged-in user is the approver. It supports filtering by multiple conditions, including resource type, time range, and approval status, to more precisely locate specific request orders.
13261
+ * - **ResourceType**: Specifies the resource type (such as table), which can have multiple values.
13262
+ * - **Resource**: Provides specific resource search conditions, such as the project, database, or table name.
13263
+ * - **StartTime and EndTime**: Define the time range during which the request was submitted.
13264
+ * - **Statuses**: Allows filtering results by approval status, for example, to view only pending approval requests.
13265
+ * - **Grantee**: Filters request orders based on the authorization principal information.
13266
+ * - **AccessTypes**: Filters based on the specific permission types requested (such as read or update).
13267
+ * - **PageSize and NextToken**: Used for pagination control, specifying the amount of data returned per request and the cursor needed to retrieve the next page of data.
13259
13268
  * Notes:
13260
- * - If no filters are specified, the API returns all matching records.
13261
- * - For the first request, you can leave the `NextToken` parameter empty or omit it. To retrieve subsequent pages, you must use the `NextToken` value returned in the previous response.
13262
- * - The default value of `PageSize` is 10, and the maximum value is 200. If you specify a value greater than the maximum, the maximum value is used.
13263
- * - If no more data is available, the `HasMore` field is `false`, and `NextToken` is omitted.
13264
- * ## Response
13265
- * A successful call returns paginated results. Each permission request includes details such as the submission time, resource description, grantee, and requested permissions. The response also contains the approval process status and other relevant metadata.
13266
- * - **Data**: The paginated result set, containing the page size (`PageSize`), cursor (`NextToken`), and a flag indicating if more data is available (`HasMore`).
13267
- * - **ApplicationQueryResponse**: The details of each permission request, including the justification, submission time, status, and a detailed list of requested items.
13269
+ * - If no filtering conditions are provided, all matching records are returned by default.
13270
+ * - The `NextToken` parameter can be empty or omitted for the first call. Subsequent page requests must use the `NextToken` value provided in the previous response.
13271
+ * - The default value of `PageSize` is 10, and the maximum value is 200. If the specified value exceeds the maximum limit, the maximum value is used.
13272
+ * - When there is no more data to return, the `HasMore` field is set to `false`, and `NextToken` will be empty or absent.
13273
+ * ## Response Description
13274
+ * After a successful call to this API, the response body contains paginated results and detailed information for each request order, such as the application time, resource description, authorization principal, requested permissions, and more. Additionally, the approval process status and other related metadata are provided.
13275
+ * - **Data**: The paginated result set, including page size (`PageSize`), cursor (`NextToken`), and whether more data is available (`HasMore`).
13276
+ * - **ApplicationQueryResponse**: The specific content of each request order, including the reason for the request, submission time, status, and a detailed list of request content.
13268
13277
  *
13269
13278
  * @param request - ListPendingApprovalsRequest
13270
13279
  * @returns ListPendingApprovalsResponse
@@ -14048,10 +14057,10 @@ class Client extends openapi_core_1.default {
14048
14057
  return await this.listSkillsWithOptions(request, runtime);
14049
14058
  }
14050
14059
  /**
14051
- * Queries a list of tables in the data map. For data source types that do not support schemas, this operation queries tables within a specified database. For data source types that support schemas, you can query tables within a specified database, MaxCompute project, or schema. The response includes basic table information, technical metadata, and business metadata.
14060
+ * Queries the list of data tables in DataWorks Data Map. For types that do not support the schema level, you can query data tables under a specified database. For types that support the schema level, you can query data tables under a specified database, MaxCompute project, or schema. The response contains only basic table information and does not include technical metadata or business metadata.
14052
14061
  *
14053
14062
  * @remarks
14054
- * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
14063
+ * 1. DataWorks Basic Edition or a higher edition is required.
14055
14064
  *
14056
14065
  * @param tmpReq - ListTablesRequest
14057
14066
  * @param runtime - runtime options for this request RuntimeOptions
@@ -14082,10 +14091,10 @@ class Client extends openapi_core_1.default {
14082
14091
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTablesResponse({}));
14083
14092
  }
14084
14093
  /**
14085
- * Queries a list of tables in the data map. For data source types that do not support schemas, this operation queries tables within a specified database. For data source types that support schemas, you can query tables within a specified database, MaxCompute project, or schema. The response includes basic table information, technical metadata, and business metadata.
14094
+ * Queries the list of data tables in DataWorks Data Map. For types that do not support the schema level, you can query data tables under a specified database. For types that support the schema level, you can query data tables under a specified database, MaxCompute project, or schema. The response contains only basic table information and does not include technical metadata or business metadata.
14086
14095
  *
14087
14096
  * @remarks
14088
- * 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
14097
+ * 1. DataWorks Basic Edition or a higher edition is required.
14089
14098
  *
14090
14099
  * @param request - ListTablesRequest
14091
14100
  * @returns ListTablesResponse
@@ -15469,10 +15478,10 @@ class Client extends openapi_core_1.default {
15469
15478
  return await this.renameWorkflowDefinitionWithOptions(request, runtime);
15470
15479
  }
15471
15480
  /**
15472
- * Reruns multiple instances at a time.
15481
+ * Reruns multiple node instances in a batch.
15473
15482
  *
15474
15483
  * @remarks
15475
- * This API operation is available for all DataWorks editions.
15484
+ * You must purchase DataWorks Basic Edition or a more advanced edition to use this operation.
15476
15485
  *
15477
15486
  * @param tmpReq - RerunTaskInstancesRequest
15478
15487
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15492,6 +15501,9 @@ class Client extends openapi_core_1.default {
15492
15501
  if (!$dara.isNull(request.idsShrink)) {
15493
15502
  body["Ids"] = request.idsShrink;
15494
15503
  }
15504
+ if (!$dara.isNull(request.useLatestConfig)) {
15505
+ body["UseLatestConfig"] = request.useLatestConfig;
15506
+ }
15495
15507
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15496
15508
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
15497
15509
  });
@@ -15509,10 +15521,10 @@ class Client extends openapi_core_1.default {
15509
15521
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RerunTaskInstancesResponse({}));
15510
15522
  }
15511
15523
  /**
15512
- * Reruns multiple instances at a time.
15524
+ * Reruns multiple node instances in a batch.
15513
15525
  *
15514
15526
  * @remarks
15515
- * This API operation is available for all DataWorks editions.
15527
+ * You must purchase DataWorks Basic Edition or a more advanced edition to use this operation.
15516
15528
  *
15517
15529
  * @param request - RerunTaskInstancesRequest
15518
15530
  * @returns RerunTaskInstancesResponse