@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.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
@@ -6963,14 +6963,14 @@ class Client extends openapi_core_1.default {
6963
6963
  return await this.getAlertRuleWithOptions(request, runtime);
6964
6964
  }
6965
6965
  /**
6966
- * Retrieves a resource permission request by its process instance ID.
6966
+ * Queries the content of resource permission applications under the specified process instance ID.
6967
6967
  *
6968
6968
  * @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.
6969
+ * ## Request Description
6970
+ * - This API is used to query the details of resource permission applications based on the provided `ProcessInstanceId`.
6971
+ * - A valid `ProcessInstanceId` parameter must be provided in the request.
6972
+ * - The response includes the basic information, status, and the list of specific application contents.
6973
+ * - Each application content includes detailed resource information, the grantee, the requested operation permissions, and more.
6974
6974
  *
6975
6975
  * @param request - GetApplicationContentsRequest
6976
6976
  * @param runtime - runtime options for this request RuntimeOptions
@@ -6999,14 +6999,14 @@ class Client extends openapi_core_1.default {
6999
6999
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetApplicationContentsResponse({}));
7000
7000
  }
7001
7001
  /**
7002
- * Retrieves a resource permission request by its process instance ID.
7002
+ * Queries the content of resource permission applications under the specified process instance ID.
7003
7003
  *
7004
7004
  * @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.
7005
+ * ## Request Description
7006
+ * - This API is used to query the details of resource permission applications based on the provided `ProcessInstanceId`.
7007
+ * - A valid `ProcessInstanceId` parameter must be provided in the request.
7008
+ * - The response includes the basic information, status, and the list of specific application contents.
7009
+ * - Each application content includes detailed resource information, the grantee, the requested operation permissions, and more.
7010
7010
  *
7011
7011
  * @param request - GetApplicationContentsRequest
7012
7012
  * @returns GetApplicationContentsResponse
@@ -12680,16 +12680,16 @@ class Client extends openapi_core_1.default {
12680
12680
  return await this.listMetaEntityDefsWithOptions(request, runtime);
12681
12681
  }
12682
12682
  /**
12683
- * Lists all resource access requests submitted by the current user.
12683
+ * Queries all resource access permission application orders initiated by the current user.
12684
12684
  *
12685
12685
  * @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.
12686
+ * ## Request description
12687
+ * - This API supports paginated queries, controlled by the `NextToken` and `PageSize` parameters.
12688
+ * - `DefSchema` is a required parameter that specifies the resource type.
12689
+ * - The `ResourceType` list can contain multiple resource types for more precise filtering of application orders.
12690
+ * - You can set `StartTime` and `EndTime` to limit the time range of the query.
12691
+ * - `Statuses` allows you to filter application orders by specific statuses, such as pending approval and authorized.
12692
+ * - If you need to filter by specific resources or authorization targets, you can provide detailed information through the `Resource` and `Grantee` fields.
12693
12693
  *
12694
12694
  * @param tmpReq - ListMyApplicationsRequest
12695
12695
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12750,16 +12750,16 @@ class Client extends openapi_core_1.default {
12750
12750
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMyApplicationsResponse({}));
12751
12751
  }
12752
12752
  /**
12753
- * Lists all resource access requests submitted by the current user.
12753
+ * Queries all resource access permission application orders initiated by the current user.
12754
12754
  *
12755
12755
  * @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.
12756
+ * ## Request description
12757
+ * - This API supports paginated queries, controlled by the `NextToken` and `PageSize` parameters.
12758
+ * - `DefSchema` is a required parameter that specifies the resource type.
12759
+ * - The `ResourceType` list can contain multiple resource types for more precise filtering of application orders.
12760
+ * - You can set `StartTime` and `EndTime` to limit the time range of the query.
12761
+ * - `Statuses` allows you to filter application orders by specific statuses, such as pending approval and authorized.
12762
+ * - If you need to filter by specific resources or authorization targets, you can provide detailed information through the `Resource` and `Grantee` fields.
12763
12763
  *
12764
12764
  * @param request - ListMyApplicationsRequest
12765
12765
  * @returns ListMyApplicationsResponse
@@ -12769,15 +12769,15 @@ class Client extends openapi_core_1.default {
12769
12769
  return await this.listMyApplicationsWithOptions(request, runtime);
12770
12770
  }
12771
12771
  /**
12772
- * Lists permission requests where the current user is an approver or stakeholder.
12772
+ * Query all permission application orders where the current user is an approver or stakeholder.
12773
12773
  *
12774
12774
  * @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.
12775
+ * ## Request Description
12776
+ * - This API is used to retrieve all permission application orders where the current user is an approver, including pending and processed application orders.
12777
+ * - You can use the `Statuses` parameter to filter application orders by specific status.
12778
+ * - `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.
12779
+ * - `PageSize` defaults to 10, with a maximum of 200.
12780
+ * - `DefSchema` and `ResourceType` are required fields. Other parameters can be filled in as needed.
12781
12781
  *
12782
12782
  * @param tmpReq - ListMyRelatedApprovalsRequest
12783
12783
  * @param runtime - runtime options for this request RuntimeOptions
@@ -12850,15 +12850,15 @@ class Client extends openapi_core_1.default {
12850
12850
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMyRelatedApprovalsResponse({}));
12851
12851
  }
12852
12852
  /**
12853
- * Lists permission requests where the current user is an approver or stakeholder.
12853
+ * Query all permission application orders where the current user is an approver or stakeholder.
12854
12854
  *
12855
12855
  * @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.
12856
+ * ## Request Description
12857
+ * - This API is used to retrieve all permission application orders where the current user is an approver, including pending and processed application orders.
12858
+ * - You can use the `Statuses` parameter to filter application orders by specific status.
12859
+ * - `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.
12860
+ * - `PageSize` defaults to 10, with a maximum of 200.
12861
+ * - `DefSchema` and `ResourceType` are required fields. Other parameters can be filled in as needed.
12862
12862
  *
12863
12863
  * @param request - ListMyRelatedApprovalsRequest
12864
12864
  * @returns ListMyRelatedApprovalsResponse
@@ -13157,27 +13157,27 @@ class Client extends openapi_core_1.default {
13157
13157
  return await this.listPartitionsWithOptions(request, runtime);
13158
13158
  }
13159
13159
  /**
13160
- * Retrieves pending permission requests awaiting approval by the current user.
13160
+ * Retrieves the list of pending permission request orders for which the current user is the approver.
13161
13161
  *
13162
13162
  * @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.
13163
+ * ## Request Description
13164
+ * 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.
13165
+ * - **ResourceType**: Specifies the resource type (such as table), which can have multiple values.
13166
+ * - **Resource**: Provides specific resource search conditions, such as the project, database, or table name.
13167
+ * - **StartTime and EndTime**: Define the time range during which the request was submitted.
13168
+ * - **Statuses**: Allows filtering results by approval status, for example, to view only pending approval requests.
13169
+ * - **Grantee**: Filters request orders based on the authorization principal information.
13170
+ * - **AccessTypes**: Filters based on the specific permission types requested (such as read or update).
13171
+ * - **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
13172
  * 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.
13173
+ * - If no filtering conditions are provided, all matching records are returned by default.
13174
+ * - 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.
13175
+ * - 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.
13176
+ * - When there is no more data to return, the `HasMore` field is set to `false`, and `NextToken` will be empty or absent.
13177
+ * ## Response Description
13178
+ * 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.
13179
+ * - **Data**: The paginated result set, including page size (`PageSize`), cursor (`NextToken`), and whether more data is available (`HasMore`).
13180
+ * - **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
13181
  *
13182
13182
  * @param tmpReq - ListPendingApprovalsRequest
13183
13183
  * @param runtime - runtime options for this request RuntimeOptions
@@ -13244,27 +13244,27 @@ class Client extends openapi_core_1.default {
13244
13244
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPendingApprovalsResponse({}));
13245
13245
  }
13246
13246
  /**
13247
- * Retrieves pending permission requests awaiting approval by the current user.
13247
+ * Retrieves the list of pending permission request orders for which the current user is the approver.
13248
13248
  *
13249
13249
  * @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.
13250
+ * ## Request Description
13251
+ * 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.
13252
+ * - **ResourceType**: Specifies the resource type (such as table), which can have multiple values.
13253
+ * - **Resource**: Provides specific resource search conditions, such as the project, database, or table name.
13254
+ * - **StartTime and EndTime**: Define the time range during which the request was submitted.
13255
+ * - **Statuses**: Allows filtering results by approval status, for example, to view only pending approval requests.
13256
+ * - **Grantee**: Filters request orders based on the authorization principal information.
13257
+ * - **AccessTypes**: Filters based on the specific permission types requested (such as read or update).
13258
+ * - **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
13259
  * 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.
13260
+ * - If no filtering conditions are provided, all matching records are returned by default.
13261
+ * - 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.
13262
+ * - 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.
13263
+ * - When there is no more data to return, the `HasMore` field is set to `false`, and `NextToken` will be empty or absent.
13264
+ * ## Response Description
13265
+ * 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.
13266
+ * - **Data**: The paginated result set, including page size (`PageSize`), cursor (`NextToken`), and whether more data is available (`HasMore`).
13267
+ * - **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
13268
  *
13269
13269
  * @param request - ListPendingApprovalsRequest
13270
13270
  * @returns ListPendingApprovalsResponse
@@ -15469,10 +15469,10 @@ class Client extends openapi_core_1.default {
15469
15469
  return await this.renameWorkflowDefinitionWithOptions(request, runtime);
15470
15470
  }
15471
15471
  /**
15472
- * Reruns multiple instances at a time.
15472
+ * Reruns multiple node instances in a batch.
15473
15473
  *
15474
15474
  * @remarks
15475
- * This API operation is available for all DataWorks editions.
15475
+ * You must purchase DataWorks Basic Edition or a more advanced edition to use this operation.
15476
15476
  *
15477
15477
  * @param tmpReq - RerunTaskInstancesRequest
15478
15478
  * @param runtime - runtime options for this request RuntimeOptions
@@ -15492,6 +15492,9 @@ class Client extends openapi_core_1.default {
15492
15492
  if (!$dara.isNull(request.idsShrink)) {
15493
15493
  body["Ids"] = request.idsShrink;
15494
15494
  }
15495
+ if (!$dara.isNull(request.useLatestConfig)) {
15496
+ body["UseLatestConfig"] = request.useLatestConfig;
15497
+ }
15495
15498
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
15496
15499
  body: openapi_core_2.OpenApiUtil.parseToMap(body),
15497
15500
  });
@@ -15509,10 +15512,10 @@ class Client extends openapi_core_1.default {
15509
15512
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.RerunTaskInstancesResponse({}));
15510
15513
  }
15511
15514
  /**
15512
- * Reruns multiple instances at a time.
15515
+ * Reruns multiple node instances in a batch.
15513
15516
  *
15514
15517
  * @remarks
15515
- * This API operation is available for all DataWorks editions.
15518
+ * You must purchase DataWorks Basic Edition or a more advanced edition to use this operation.
15516
15519
  *
15517
15520
  * @param request - RerunTaskInstancesRequest
15518
15521
  * @returns RerunTaskInstancesResponse