@alicloud/dataworks-public20240518 8.8.2 → 8.8.3

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 (54) hide show
  1. package/dist/client.d.ts +104 -104
  2. package/dist/client.js +107 -104
  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/GetApplicationContentsRequest.d.ts +1 -1
  9. package/dist/models/GetApplicationContentsResponseBody.d.ts +77 -55
  10. package/dist/models/GetApplicationContentsResponseBody.js.map +1 -1
  11. package/dist/models/ListMyApplicationsRequest.d.ts +40 -23
  12. package/dist/models/ListMyApplicationsRequest.js.map +1 -1
  13. package/dist/models/ListMyApplicationsResponseBody.d.ts +51 -77
  14. package/dist/models/ListMyApplicationsResponseBody.js.map +1 -1
  15. package/dist/models/ListMyApplicationsShrinkRequest.d.ts +27 -20
  16. package/dist/models/ListMyApplicationsShrinkRequest.js.map +1 -1
  17. package/dist/models/ListMyRelatedApprovalsRequest.d.ts +58 -48
  18. package/dist/models/ListMyRelatedApprovalsRequest.js.map +1 -1
  19. package/dist/models/ListMyRelatedApprovalsResponseBody.d.ts +53 -77
  20. package/dist/models/ListMyRelatedApprovalsResponseBody.js.map +1 -1
  21. package/dist/models/ListMyRelatedApprovalsShrinkRequest.d.ts +36 -24
  22. package/dist/models/ListMyRelatedApprovalsShrinkRequest.js.map +1 -1
  23. package/dist/models/ListPendingApprovalsRequest.d.ts +42 -14
  24. package/dist/models/ListPendingApprovalsRequest.js.map +1 -1
  25. package/dist/models/ListPendingApprovalsResponseBody.d.ts +60 -85
  26. package/dist/models/ListPendingApprovalsResponseBody.js.map +1 -1
  27. package/dist/models/ListPendingApprovalsShrinkRequest.d.ts +27 -9
  28. package/dist/models/ListPendingApprovalsShrinkRequest.js.map +1 -1
  29. package/dist/models/RerunTaskInstancesRequest.d.ts +3 -2
  30. package/dist/models/RerunTaskInstancesRequest.js +2 -0
  31. package/dist/models/RerunTaskInstancesRequest.js.map +1 -1
  32. package/dist/models/RerunTaskInstancesResponseBody.d.ts +2 -2
  33. package/dist/models/RerunTaskInstancesShrinkRequest.d.ts +3 -2
  34. package/dist/models/RerunTaskInstancesShrinkRequest.js +2 -0
  35. package/dist/models/RerunTaskInstancesShrinkRequest.js.map +1 -1
  36. package/package.json +1 -1
  37. package/src/client.ts +108 -104
  38. package/src/models/ApplyResourceAccessPermissionRequest.ts +35 -20
  39. package/src/models/ApplyResourceAccessPermissionResponseBody.ts +1 -1
  40. package/src/models/ApplyResourceAccessPermissionShrinkRequest.ts +3 -3
  41. package/src/models/GetApplicationContentsRequest.ts +1 -1
  42. package/src/models/GetApplicationContentsResponseBody.ts +77 -55
  43. package/src/models/ListMyApplicationsRequest.ts +40 -23
  44. package/src/models/ListMyApplicationsResponseBody.ts +51 -77
  45. package/src/models/ListMyApplicationsShrinkRequest.ts +27 -20
  46. package/src/models/ListMyRelatedApprovalsRequest.ts +58 -48
  47. package/src/models/ListMyRelatedApprovalsResponseBody.ts +53 -77
  48. package/src/models/ListMyRelatedApprovalsShrinkRequest.ts +36 -24
  49. package/src/models/ListPendingApprovalsRequest.ts +42 -14
  50. package/src/models/ListPendingApprovalsResponseBody.ts +60 -85
  51. package/src/models/ListPendingApprovalsShrinkRequest.ts +27 -9
  52. package/src/models/RerunTaskInstancesRequest.ts +5 -2
  53. package/src/models/RerunTaskInstancesResponseBody.ts +2 -2
  54. package/src/models/RerunTaskInstancesShrinkRequest.ts +5 -2
package/dist/client.d.ts CHANGED
@@ -58,19 +58,19 @@ export default class Client extends OpenApi {
58
58
  */
59
59
  addEntityIntoMetaCollection(request: $_model.AddEntityIntoMetaCollectionRequest): Promise<$_model.AddEntityIntoMetaCollectionResponse>;
60
60
  /**
61
- * Submits a request for permissions on specific resources.
61
+ * Submits an application for access permissions on a specific resource.
62
62
  *
63
63
  * @remarks
64
- * ## Request details
65
- * - **Reason**: The reason for the request. This parameter is required.
66
- * - **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.
67
- * - **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`).
68
- * - **Grantee**: The principal to which permissions are granted. You must specify the principal type (`PrincipalType`) and principal ID (`PrincipalId`).
69
- * - **AccessTypes**: A list of permission types.
70
- * - **ExpirationTime**: The permission expiration time, specified as a Unix timestamp in milliseconds.
71
- * - **AuthMethod**: The authorization method. This parameter is optional. If not specified, the system\\"s default authorization method is used.
72
- * - **ClientToken**: A client token to ensure request idempotency. This parameter is optional.
73
- * 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`.
64
+ * ## Request Description
65
+ * - **Reason**: The reason for the application. This parameter is required.
66
+ * - **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.
67
+ * - **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.
68
+ * - **Grantee**: The grantee description. You need to specify the grantee type (PrincipalType) and the principal ID (PrincipalId).
69
+ * - **AccessTypes**: The list of permission types. Multiple permission combinations are supported.
70
+ * - **ExpirationTime**: The permission expiration time, provided as a milliseconds timestamp.
71
+ * - **AuthMethod**: An optional parameter that specifies the authorization method. The system uses the built-in default authorization method if not specified.
72
+ * - **ClientToken**: The client token used to prevent duplicate requests. This parameter is optional.
73
+ * 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`.
74
74
  *
75
75
  * @param tmpReq - ApplyResourceAccessPermissionRequest
76
76
  * @param runtime - runtime options for this request RuntimeOptions
@@ -78,19 +78,19 @@ export default class Client extends OpenApi {
78
78
  */
79
79
  applyResourceAccessPermissionWithOptions(tmpReq: $_model.ApplyResourceAccessPermissionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ApplyResourceAccessPermissionResponse>;
80
80
  /**
81
- * Submits a request for permissions on specific resources.
81
+ * Submits an application for access permissions on a specific resource.
82
82
  *
83
83
  * @remarks
84
- * ## Request details
85
- * - **Reason**: The reason for the request. This parameter is required.
86
- * - **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.
87
- * - **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`).
88
- * - **Grantee**: The principal to which permissions are granted. You must specify the principal type (`PrincipalType`) and principal ID (`PrincipalId`).
89
- * - **AccessTypes**: A list of permission types.
90
- * - **ExpirationTime**: The permission expiration time, specified as a Unix timestamp in milliseconds.
91
- * - **AuthMethod**: The authorization method. This parameter is optional. If not specified, the system\\"s default authorization method is used.
92
- * - **ClientToken**: A client token to ensure request idempotency. This parameter is optional.
93
- * 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`.
84
+ * ## Request Description
85
+ * - **Reason**: The reason for the application. This parameter is required.
86
+ * - **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.
87
+ * - **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.
88
+ * - **Grantee**: The grantee description. You need to specify the grantee type (PrincipalType) and the principal ID (PrincipalId).
89
+ * - **AccessTypes**: The list of permission types. Multiple permission combinations are supported.
90
+ * - **ExpirationTime**: The permission expiration time, provided as a milliseconds timestamp.
91
+ * - **AuthMethod**: An optional parameter that specifies the authorization method. The system uses the built-in default authorization method if not specified.
92
+ * - **ClientToken**: The client token used to prevent duplicate requests. This parameter is optional.
93
+ * 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`.
94
94
  *
95
95
  * @param request - ApplyResourceAccessPermissionRequest
96
96
  * @returns ApplyResourceAccessPermissionResponse
@@ -2523,14 +2523,14 @@ export default class Client extends OpenApi {
2523
2523
  */
2524
2524
  getAlertRule(request: $_model.GetAlertRuleRequest): Promise<$_model.GetAlertRuleResponse>;
2525
2525
  /**
2526
- * Retrieves a resource permission request by its process instance ID.
2526
+ * Queries the content of resource permission applications under the specified process instance ID.
2527
2527
  *
2528
2528
  * @remarks
2529
- * ## Request
2530
- * - This API retrieves details for a resource permission request using the specified `ProcessInstanceId`.
2531
- * - A valid `ProcessInstanceId` is required.
2532
- * - The response includes basic request information, status, and a list of requested items.
2533
- * - Each requested item includes detailed resource information, the principal, and the requested operation permissions.
2529
+ * ## Request Description
2530
+ * - This API is used to query the details of resource permission applications based on the provided `ProcessInstanceId`.
2531
+ * - A valid `ProcessInstanceId` parameter must be provided in the request.
2532
+ * - The response includes the basic information, status, and the list of specific application contents.
2533
+ * - Each application content includes detailed resource information, the grantee, the requested operation permissions, and more.
2534
2534
  *
2535
2535
  * @param request - GetApplicationContentsRequest
2536
2536
  * @param runtime - runtime options for this request RuntimeOptions
@@ -2538,14 +2538,14 @@ export default class Client extends OpenApi {
2538
2538
  */
2539
2539
  getApplicationContentsWithOptions(request: $_model.GetApplicationContentsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetApplicationContentsResponse>;
2540
2540
  /**
2541
- * Retrieves a resource permission request by its process instance ID.
2541
+ * Queries the content of resource permission applications under the specified process instance ID.
2542
2542
  *
2543
2543
  * @remarks
2544
- * ## Request
2545
- * - This API retrieves details for a resource permission request using the specified `ProcessInstanceId`.
2546
- * - A valid `ProcessInstanceId` is required.
2547
- * - The response includes basic request information, status, and a list of requested items.
2548
- * - Each requested item includes detailed resource information, the principal, and the requested operation permissions.
2544
+ * ## Request Description
2545
+ * - This API is used to query the details of resource permission applications based on the provided `ProcessInstanceId`.
2546
+ * - A valid `ProcessInstanceId` parameter must be provided in the request.
2547
+ * - The response includes the basic information, status, and the list of specific application contents.
2548
+ * - Each application content includes detailed resource information, the grantee, the requested operation permissions, and more.
2549
2549
  *
2550
2550
  * @param request - GetApplicationContentsRequest
2551
2551
  * @returns GetApplicationContentsResponse
@@ -4919,16 +4919,16 @@ export default class Client extends OpenApi {
4919
4919
  */
4920
4920
  listMetaEntityDefs(request: $_model.ListMetaEntityDefsRequest): Promise<$_model.ListMetaEntityDefsResponse>;
4921
4921
  /**
4922
- * Lists all resource access requests submitted by the current user.
4922
+ * Queries all resource access permission application orders initiated by the current user.
4923
4923
  *
4924
4924
  * @remarks
4925
- * ## Request
4926
- * - This operation supports pagination using the `NextToken` and `PageSize` parameters.
4927
- * - The required `DefSchema` parameter specifies the resource type.
4928
- * - Specify multiple resource types in the `ResourceType` parameter to filter applications more precisely.
4929
- * - Use the `StartTime` and `EndTime` parameters to limit the query to a specific time range.
4930
- * - Use the `Statuses` parameter to filter applications by status, such as pending approval or approved.
4931
- * - To filter by a specific resource or grantee, use the `Resource` and `Grantee` parameters.
4925
+ * ## Request description
4926
+ * - This API supports paginated queries, controlled by the `NextToken` and `PageSize` parameters.
4927
+ * - `DefSchema` is a required parameter that specifies the resource type.
4928
+ * - The `ResourceType` list can contain multiple resource types for more precise filtering of application orders.
4929
+ * - You can set `StartTime` and `EndTime` to limit the time range of the query.
4930
+ * - `Statuses` allows you to filter application orders by specific statuses, such as pending approval and authorized.
4931
+ * - If you need to filter by specific resources or authorization targets, you can provide detailed information through the `Resource` and `Grantee` fields.
4932
4932
  *
4933
4933
  * @param tmpReq - ListMyApplicationsRequest
4934
4934
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4936,31 +4936,31 @@ export default class Client extends OpenApi {
4936
4936
  */
4937
4937
  listMyApplicationsWithOptions(tmpReq: $_model.ListMyApplicationsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMyApplicationsResponse>;
4938
4938
  /**
4939
- * Lists all resource access requests submitted by the current user.
4939
+ * Queries all resource access permission application orders initiated by the current user.
4940
4940
  *
4941
4941
  * @remarks
4942
- * ## Request
4943
- * - This operation supports pagination using the `NextToken` and `PageSize` parameters.
4944
- * - The required `DefSchema` parameter specifies the resource type.
4945
- * - Specify multiple resource types in the `ResourceType` parameter to filter applications more precisely.
4946
- * - Use the `StartTime` and `EndTime` parameters to limit the query to a specific time range.
4947
- * - Use the `Statuses` parameter to filter applications by status, such as pending approval or approved.
4948
- * - To filter by a specific resource or grantee, use the `Resource` and `Grantee` parameters.
4942
+ * ## Request description
4943
+ * - This API supports paginated queries, controlled by the `NextToken` and `PageSize` parameters.
4944
+ * - `DefSchema` is a required parameter that specifies the resource type.
4945
+ * - The `ResourceType` list can contain multiple resource types for more precise filtering of application orders.
4946
+ * - You can set `StartTime` and `EndTime` to limit the time range of the query.
4947
+ * - `Statuses` allows you to filter application orders by specific statuses, such as pending approval and authorized.
4948
+ * - If you need to filter by specific resources or authorization targets, you can provide detailed information through the `Resource` and `Grantee` fields.
4949
4949
  *
4950
4950
  * @param request - ListMyApplicationsRequest
4951
4951
  * @returns ListMyApplicationsResponse
4952
4952
  */
4953
4953
  listMyApplications(request: $_model.ListMyApplicationsRequest): Promise<$_model.ListMyApplicationsResponse>;
4954
4954
  /**
4955
- * Lists permission requests where the current user is an approver or stakeholder.
4955
+ * Query all permission application orders where the current user is an approver or stakeholder.
4956
4956
  *
4957
4957
  * @remarks
4958
- * ## Request
4959
- * - This API retrieves all pending and approved permission requests where the current user is an approver.
4960
- * - The `Statuses` parameter filters requests by status.
4961
- * - 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.
4962
- * - The `PageSize` parameter defaults to 10, with a maximum value of 200.
4963
- * - `DefSchema` and `ResourceType` are required parameters. Other parameters are optional.
4958
+ * ## Request Description
4959
+ * - This API is used to retrieve all permission application orders where the current user is an approver, including pending and processed application orders.
4960
+ * - You can use the `Statuses` parameter to filter application orders by specific status.
4961
+ * - `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.
4962
+ * - `PageSize` defaults to 10, with a maximum of 200.
4963
+ * - `DefSchema` and `ResourceType` are required fields. Other parameters can be filled in as needed.
4964
4964
  *
4965
4965
  * @param tmpReq - ListMyRelatedApprovalsRequest
4966
4966
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4968,15 +4968,15 @@ export default class Client extends OpenApi {
4968
4968
  */
4969
4969
  listMyRelatedApprovalsWithOptions(tmpReq: $_model.ListMyRelatedApprovalsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListMyRelatedApprovalsResponse>;
4970
4970
  /**
4971
- * Lists permission requests where the current user is an approver or stakeholder.
4971
+ * Query all permission application orders where the current user is an approver or stakeholder.
4972
4972
  *
4973
4973
  * @remarks
4974
- * ## Request
4975
- * - This API retrieves all pending and approved permission requests where the current user is an approver.
4976
- * - The `Statuses` parameter filters requests by status.
4977
- * - 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.
4978
- * - The `PageSize` parameter defaults to 10, with a maximum value of 200.
4979
- * - `DefSchema` and `ResourceType` are required parameters. Other parameters are optional.
4974
+ * ## Request Description
4975
+ * - This API is used to retrieve all permission application orders where the current user is an approver, including pending and processed application orders.
4976
+ * - You can use the `Statuses` parameter to filter application orders by specific status.
4977
+ * - `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.
4978
+ * - `PageSize` defaults to 10, with a maximum of 200.
4979
+ * - `DefSchema` and `ResourceType` are required fields. Other parameters can be filled in as needed.
4980
4980
  *
4981
4981
  * @param request - ListMyRelatedApprovalsRequest
4982
4982
  * @returns ListMyRelatedApprovalsResponse
@@ -5099,27 +5099,27 @@ export default class Client extends OpenApi {
5099
5099
  */
5100
5100
  listPartitions(request: $_model.ListPartitionsRequest): Promise<$_model.ListPartitionsResponse>;
5101
5101
  /**
5102
- * Retrieves pending permission requests awaiting approval by the current user.
5102
+ * Retrieves the list of pending permission request orders for which the current user is the approver.
5103
5103
  *
5104
5104
  * @remarks
5105
- * ## Request
5106
- * 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.
5107
- * - **ResourceType**: The resource type, such as a table. You can specify one or more values.
5108
- * - **Resource**: Search criteria for a resource, such as its project, database, or table name.
5109
- * - **StartTime and EndTime**: The time range when the permission requests were submitted.
5110
- * - **Statuses**: Filters the results by approval status, for example, to retrieve only requests that are pending approval.
5111
- * - **Grantee**: Filters the results by the grantee.
5112
- * - **AccessTypes**: Filters the results by the access type, such as `Read` or `Update`.
5113
- * - **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.
5105
+ * ## Request Description
5106
+ * 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.
5107
+ * - **ResourceType**: Specifies the resource type (such as table), which can have multiple values.
5108
+ * - **Resource**: Provides specific resource search conditions, such as the project, database, or table name.
5109
+ * - **StartTime and EndTime**: Define the time range during which the request was submitted.
5110
+ * - **Statuses**: Allows filtering results by approval status, for example, to view only pending approval requests.
5111
+ * - **Grantee**: Filters request orders based on the authorization principal information.
5112
+ * - **AccessTypes**: Filters based on the specific permission types requested (such as read or update).
5113
+ * - **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.
5114
5114
  * Notes:
5115
- * - If no filters are specified, the API returns all matching records.
5116
- * - 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.
5117
- * - 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.
5118
- * - If no more data is available, the `HasMore` field is `false`, and `NextToken` is omitted.
5119
- * ## Response
5120
- * 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.
5121
- * - **Data**: The paginated result set, containing the page size (`PageSize`), cursor (`NextToken`), and a flag indicating if more data is available (`HasMore`).
5122
- * - **ApplicationQueryResponse**: The details of each permission request, including the justification, submission time, status, and a detailed list of requested items.
5115
+ * - If no filtering conditions are provided, all matching records are returned by default.
5116
+ * - 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.
5117
+ * - 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.
5118
+ * - When there is no more data to return, the `HasMore` field is set to `false`, and `NextToken` will be empty or absent.
5119
+ * ## Response Description
5120
+ * 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.
5121
+ * - **Data**: The paginated result set, including page size (`PageSize`), cursor (`NextToken`), and whether more data is available (`HasMore`).
5122
+ * - **ApplicationQueryResponse**: The specific content of each request order, including the reason for the request, submission time, status, and a detailed list of request content.
5123
5123
  *
5124
5124
  * @param tmpReq - ListPendingApprovalsRequest
5125
5125
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5127,27 +5127,27 @@ export default class Client extends OpenApi {
5127
5127
  */
5128
5128
  listPendingApprovalsWithOptions(tmpReq: $_model.ListPendingApprovalsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ListPendingApprovalsResponse>;
5129
5129
  /**
5130
- * Retrieves pending permission requests awaiting approval by the current user.
5130
+ * Retrieves the list of pending permission request orders for which the current user is the approver.
5131
5131
  *
5132
5132
  * @remarks
5133
- * ## Request
5134
- * 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.
5135
- * - **ResourceType**: The resource type, such as a table. You can specify one or more values.
5136
- * - **Resource**: Search criteria for a resource, such as its project, database, or table name.
5137
- * - **StartTime and EndTime**: The time range when the permission requests were submitted.
5138
- * - **Statuses**: Filters the results by approval status, for example, to retrieve only requests that are pending approval.
5139
- * - **Grantee**: Filters the results by the grantee.
5140
- * - **AccessTypes**: Filters the results by the access type, such as `Read` or `Update`.
5141
- * - **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.
5133
+ * ## Request Description
5134
+ * 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.
5135
+ * - **ResourceType**: Specifies the resource type (such as table), which can have multiple values.
5136
+ * - **Resource**: Provides specific resource search conditions, such as the project, database, or table name.
5137
+ * - **StartTime and EndTime**: Define the time range during which the request was submitted.
5138
+ * - **Statuses**: Allows filtering results by approval status, for example, to view only pending approval requests.
5139
+ * - **Grantee**: Filters request orders based on the authorization principal information.
5140
+ * - **AccessTypes**: Filters based on the specific permission types requested (such as read or update).
5141
+ * - **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.
5142
5142
  * Notes:
5143
- * - If no filters are specified, the API returns all matching records.
5144
- * - 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.
5145
- * - 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.
5146
- * - If no more data is available, the `HasMore` field is `false`, and `NextToken` is omitted.
5147
- * ## Response
5148
- * 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.
5149
- * - **Data**: The paginated result set, containing the page size (`PageSize`), cursor (`NextToken`), and a flag indicating if more data is available (`HasMore`).
5150
- * - **ApplicationQueryResponse**: The details of each permission request, including the justification, submission time, status, and a detailed list of requested items.
5143
+ * - If no filtering conditions are provided, all matching records are returned by default.
5144
+ * - 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.
5145
+ * - 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.
5146
+ * - When there is no more data to return, the `HasMore` field is set to `false`, and `NextToken` will be empty or absent.
5147
+ * ## Response Description
5148
+ * 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.
5149
+ * - **Data**: The paginated result set, including page size (`PageSize`), cursor (`NextToken`), and whether more data is available (`HasMore`).
5150
+ * - **ApplicationQueryResponse**: The specific content of each request order, including the reason for the request, submission time, status, and a detailed list of request content.
5151
5151
  *
5152
5152
  * @param request - ListPendingApprovalsRequest
5153
5153
  * @returns ListPendingApprovalsResponse
@@ -5954,10 +5954,10 @@ export default class Client extends OpenApi {
5954
5954
  */
5955
5955
  renameWorkflowDefinition(request: $_model.RenameWorkflowDefinitionRequest): Promise<$_model.RenameWorkflowDefinitionResponse>;
5956
5956
  /**
5957
- * Reruns multiple instances at a time.
5957
+ * Reruns multiple node instances in a batch.
5958
5958
  *
5959
5959
  * @remarks
5960
- * This API operation is available for all DataWorks editions.
5960
+ * You must purchase DataWorks Basic Edition or a more advanced edition to use this operation.
5961
5961
  *
5962
5962
  * @param tmpReq - RerunTaskInstancesRequest
5963
5963
  * @param runtime - runtime options for this request RuntimeOptions
@@ -5965,10 +5965,10 @@ export default class Client extends OpenApi {
5965
5965
  */
5966
5966
  rerunTaskInstancesWithOptions(tmpReq: $_model.RerunTaskInstancesRequest, runtime: $dara.RuntimeOptions): Promise<$_model.RerunTaskInstancesResponse>;
5967
5967
  /**
5968
- * Reruns multiple instances at a time.
5968
+ * Reruns multiple node instances in a batch.
5969
5969
  *
5970
5970
  * @remarks
5971
- * This API operation is available for all DataWorks editions.
5971
+ * You must purchase DataWorks Basic Edition or a more advanced edition to use this operation.
5972
5972
  *
5973
5973
  * @param request - RerunTaskInstancesRequest
5974
5974
  * @returns RerunTaskInstancesResponse