@alicloud/dataworks-public20240518 9.7.0 → 9.9.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +85 -14
- package/dist/client.js +188 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateAgentSessionRequest.d.ts +8 -8
- package/dist/models/ExecCrossProjectPipelineRunRequest.d.ts +4 -0
- package/dist/models/ExecCrossProjectPipelineRunRequest.js.map +1 -1
- package/dist/models/ExecCrossProjectPipelineRunResponseBody.d.ts +12 -0
- package/dist/models/ExecCrossProjectPipelineRunResponseBody.js.map +1 -1
- package/dist/models/GetComputeResourceAuthUserMappingsRequest.d.ts +33 -0
- package/dist/models/GetComputeResourceAuthUserMappingsRequest.js +60 -0
- package/dist/models/GetComputeResourceAuthUserMappingsRequest.js.map +1 -0
- package/dist/models/GetComputeResourceAuthUserMappingsResponse.d.ts +19 -0
- package/dist/models/GetComputeResourceAuthUserMappingsResponse.js +69 -0
- package/dist/models/GetComputeResourceAuthUserMappingsResponse.js.map +1 -0
- package/dist/models/GetComputeResourceAuthUserMappingsResponseBody.d.ts +87 -0
- package/dist/models/GetComputeResourceAuthUserMappingsResponseBody.js +110 -0
- package/dist/models/GetComputeResourceAuthUserMappingsResponseBody.js.map +1 -0
- package/dist/models/GetCrossProjectPipelineRunRequest.d.ts +4 -0
- package/dist/models/GetCrossProjectPipelineRunRequest.js.map +1 -1
- package/dist/models/GetCrossProjectPipelineRunResponseBody.d.ts +74 -2
- package/dist/models/GetCrossProjectPipelineRunResponseBody.js.map +1 -1
- package/dist/models/ReplyAgentSessionRequest.d.ts +119 -0
- package/dist/models/ReplyAgentSessionRequest.js +117 -0
- package/dist/models/ReplyAgentSessionRequest.js.map +1 -0
- package/dist/models/ReplyAgentSessionResponse.d.ts +19 -0
- package/dist/models/ReplyAgentSessionResponse.js +69 -0
- package/dist/models/ReplyAgentSessionResponse.js.map +1 -0
- package/dist/models/ReplyAgentSessionResponseBody.d.ts +136 -0
- package/dist/models/ReplyAgentSessionResponseBody.js +140 -0
- package/dist/models/ReplyAgentSessionResponseBody.js.map +1 -0
- package/dist/models/ReplyAgentSessionShrinkRequest.d.ts +38 -0
- package/dist/models/ReplyAgentSessionShrinkRequest.js +62 -0
- package/dist/models/ReplyAgentSessionShrinkRequest.js.map +1 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsRequest.d.ts +79 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsRequest.js +93 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsRequest.js.map +1 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsResponse.d.ts +19 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsResponse.js +69 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsResponse.js.map +1 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsResponseBody.d.ts +64 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsResponseBody.js +86 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsResponseBody.js.map +1 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsShrinkRequest.d.ts +43 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsShrinkRequest.js +64 -0
- package/dist/models/UpdateComputeResourceAuthUserMappingsShrinkRequest.js.map +1 -0
- package/dist/models/model.d.ts +20 -0
- package/dist/models/model.js +83 -43
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +206 -14
- package/src/models/CreateAgentSessionRequest.ts +8 -8
- package/src/models/ExecCrossProjectPipelineRunRequest.ts +4 -0
- package/src/models/ExecCrossProjectPipelineRunResponseBody.ts +12 -0
- package/src/models/GetComputeResourceAuthUserMappingsRequest.ts +48 -0
- package/src/models/GetComputeResourceAuthUserMappingsResponse.ts +40 -0
- package/src/models/GetComputeResourceAuthUserMappingsResponseBody.ts +134 -0
- package/src/models/GetCrossProjectPipelineRunRequest.ts +4 -0
- package/src/models/GetCrossProjectPipelineRunResponseBody.ts +74 -2
- package/src/models/ReplyAgentSessionRequest.ts +171 -0
- package/src/models/ReplyAgentSessionResponse.ts +40 -0
- package/src/models/ReplyAgentSessionResponseBody.ts +204 -0
- package/src/models/ReplyAgentSessionShrinkRequest.ts +55 -0
- package/src/models/UpdateComputeResourceAuthUserMappingsRequest.ts +118 -0
- package/src/models/UpdateComputeResourceAuthUserMappingsResponse.ts +40 -0
- package/src/models/UpdateComputeResourceAuthUserMappingsResponseBody.ts +96 -0
- package/src/models/UpdateComputeResourceAuthUserMappingsShrinkRequest.ts +62 -0
- package/src/models/model.ts +20 -0
package/dist/client.d.ts
CHANGED
|
@@ -403,12 +403,12 @@ export default class Client extends OpenApi {
|
|
|
403
403
|
* Creates a new agent session and returns the session ID.
|
|
404
404
|
*
|
|
405
405
|
* @remarks
|
|
406
|
-
* ##
|
|
406
|
+
* ## Operation description
|
|
407
407
|
* - This operation creates a new agent session.
|
|
408
|
-
* - Use `_meta.agent.agentName` to specify the
|
|
409
|
-
* - dataworks_data_agent: DataWorks built-in agent — Data Agent
|
|
410
|
-
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI
|
|
411
|
-
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service
|
|
408
|
+
* - Use `_meta.agent.agentName` to specify the agent name to bind. This parameter is required.
|
|
409
|
+
* - dataworks_data_agent: DataWorks built-in agent — Data Agent. Provides intelligent data development AI capabilities that cover the entire pipeline of data integration, development, O&M, governance, and analytics.
|
|
410
|
+
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI. Uses natural language processing and intelligent analytics to automate the entire analysis workflow through conversational interaction, from requirement parsing, data extraction, and automatic code generation to visualization report output.
|
|
411
|
+
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service. A DataWorks enterprise-grade dedicated AI assistant built on open source frameworks such as OpenClaw and Hermes Agent.
|
|
412
412
|
* - Use `_meta.config.sessionSource` to pass through a session source identifier for subsequent retrieval by source.
|
|
413
413
|
* - Use `_meta.config.sessionTags[].sessionTagCode` to pass in session tags.
|
|
414
414
|
*
|
|
@@ -421,12 +421,12 @@ export default class Client extends OpenApi {
|
|
|
421
421
|
* Creates a new agent session and returns the session ID.
|
|
422
422
|
*
|
|
423
423
|
* @remarks
|
|
424
|
-
* ##
|
|
424
|
+
* ## Operation description
|
|
425
425
|
* - This operation creates a new agent session.
|
|
426
|
-
* - Use `_meta.agent.agentName` to specify the
|
|
427
|
-
* - dataworks_data_agent: DataWorks built-in agent — Data Agent
|
|
428
|
-
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI
|
|
429
|
-
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service
|
|
426
|
+
* - Use `_meta.agent.agentName` to specify the agent name to bind. This parameter is required.
|
|
427
|
+
* - dataworks_data_agent: DataWorks built-in agent — Data Agent. Provides intelligent data development AI capabilities that cover the entire pipeline of data integration, development, O&M, governance, and analytics.
|
|
428
|
+
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI. Uses natural language processing and intelligent analytics to automate the entire analysis workflow through conversational interaction, from requirement parsing, data extraction, and automatic code generation to visualization report output.
|
|
429
|
+
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service. A DataWorks enterprise-grade dedicated AI assistant built on open source frameworks such as OpenClaw and Hermes Agent.
|
|
430
430
|
* - Use `_meta.config.sessionSource` to pass through a session source identifier for subsequent retrieval by source.
|
|
431
431
|
* - Use `_meta.config.sessionTags[].sessionTagCode` to pass in session tags.
|
|
432
432
|
*
|
|
@@ -2781,7 +2781,7 @@ export default class Client extends OpenApi {
|
|
|
2781
2781
|
*/
|
|
2782
2782
|
establishRelationTableToBusiness(request: $_model.EstablishRelationTableToBusinessRequest): Promise<$_model.EstablishRelationTableToBusinessResponse>;
|
|
2783
2783
|
/**
|
|
2784
|
-
*
|
|
2784
|
+
* Executes a cross-workspace publish flow.
|
|
2785
2785
|
*
|
|
2786
2786
|
* @param request - ExecCrossProjectPipelineRunRequest
|
|
2787
2787
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -2789,7 +2789,7 @@ export default class Client extends OpenApi {
|
|
|
2789
2789
|
*/
|
|
2790
2790
|
execCrossProjectPipelineRunWithOptions(request: $_model.ExecCrossProjectPipelineRunRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ExecCrossProjectPipelineRunResponse>;
|
|
2791
2791
|
/**
|
|
2792
|
-
*
|
|
2792
|
+
* Executes a cross-workspace publish flow.
|
|
2793
2793
|
*
|
|
2794
2794
|
* @param request - ExecCrossProjectPipelineRunRequest
|
|
2795
2795
|
* @returns ExecCrossProjectPipelineRunResponse
|
|
@@ -3120,6 +3120,31 @@ export default class Client extends OpenApi {
|
|
|
3120
3120
|
* @returns GetComputeResourceResponse
|
|
3121
3121
|
*/
|
|
3122
3122
|
getComputeResource(request: $_model.GetComputeResourceRequest): Promise<$_model.GetComputeResourceResponse>;
|
|
3123
|
+
/**
|
|
3124
|
+
* Queries the user mappings of a compute resource. Supports EMR and Serverless Spark resource types.
|
|
3125
|
+
*
|
|
3126
|
+
* @remarks
|
|
3127
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
3128
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
3129
|
+
* - Tenant Owner, Storage Management Administrator, Deployment, Developer, Project Owner, or O&M Engineer
|
|
3130
|
+
*
|
|
3131
|
+
* @param request - GetComputeResourceAuthUserMappingsRequest
|
|
3132
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3133
|
+
* @returns GetComputeResourceAuthUserMappingsResponse
|
|
3134
|
+
*/
|
|
3135
|
+
getComputeResourceAuthUserMappingsWithOptions(request: $_model.GetComputeResourceAuthUserMappingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetComputeResourceAuthUserMappingsResponse>;
|
|
3136
|
+
/**
|
|
3137
|
+
* Queries the user mappings of a compute resource. Supports EMR and Serverless Spark resource types.
|
|
3138
|
+
*
|
|
3139
|
+
* @remarks
|
|
3140
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
3141
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
3142
|
+
* - Tenant Owner, Storage Management Administrator, Deployment, Developer, Project Owner, or O&M Engineer
|
|
3143
|
+
*
|
|
3144
|
+
* @param request - GetComputeResourceAuthUserMappingsRequest
|
|
3145
|
+
* @returns GetComputeResourceAuthUserMappingsResponse
|
|
3146
|
+
*/
|
|
3147
|
+
getComputeResourceAuthUserMappings(request: $_model.GetComputeResourceAuthUserMappingsRequest): Promise<$_model.GetComputeResourceAuthUserMappingsResponse>;
|
|
3123
3148
|
/**
|
|
3124
3149
|
* Queries the configuration, status, and latest run information of a specified metadata crawler.
|
|
3125
3150
|
*
|
|
@@ -3218,7 +3243,7 @@ export default class Client extends OpenApi {
|
|
|
3218
3243
|
*/
|
|
3219
3244
|
getCreateWorkflowInstancesResult(request: $_model.GetCreateWorkflowInstancesResultRequest): Promise<$_model.GetCreateWorkflowInstancesResultResponse>;
|
|
3220
3245
|
/**
|
|
3221
|
-
*
|
|
3246
|
+
* Queries the details of a cross-workspace deployment flow.
|
|
3222
3247
|
*
|
|
3223
3248
|
* @param request - GetCrossProjectPipelineRunRequest
|
|
3224
3249
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -3226,7 +3251,7 @@ export default class Client extends OpenApi {
|
|
|
3226
3251
|
*/
|
|
3227
3252
|
getCrossProjectPipelineRunWithOptions(request: $_model.GetCrossProjectPipelineRunRequest, runtime: $dara.RuntimeOptions): Promise<$_model.GetCrossProjectPipelineRunResponse>;
|
|
3228
3253
|
/**
|
|
3229
|
-
*
|
|
3254
|
+
* Queries the details of a cross-workspace deployment flow.
|
|
3230
3255
|
*
|
|
3231
3256
|
* @param request - GetCrossProjectPipelineRunRequest
|
|
3232
3257
|
* @returns GetCrossProjectPipelineRunResponse
|
|
@@ -7008,6 +7033,27 @@ export default class Client extends OpenApi {
|
|
|
7008
7033
|
* @returns RenameWorkflowDefinitionResponse
|
|
7009
7034
|
*/
|
|
7010
7035
|
renameWorkflowDefinition(request: $_model.RenameWorkflowDefinitionRequest): Promise<$_model.RenameWorkflowDefinitionResponse>;
|
|
7036
|
+
/**
|
|
7037
|
+
* Replies to a pending user interaction in a DataAgent session.
|
|
7038
|
+
*
|
|
7039
|
+
* @remarks
|
|
7040
|
+
* Replies to a permission_request issued by the DataAgent daemon. You can submit an answer to an ask_user_question or cancel the current interaction. The PermissionRequestId must come from the params.data.requestId field in the _qwen/notify event (params.kind=permission_request) of the original PromptAgentSession SSE. The reply only returns whether it was accepted. Subsequent execution events are still returned through the original PromptAgentSession SSE. Do not resubmit the same prompt round.
|
|
7041
|
+
*
|
|
7042
|
+
* @param tmpReq - ReplyAgentSessionRequest
|
|
7043
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7044
|
+
* @returns ReplyAgentSessionResponse
|
|
7045
|
+
*/
|
|
7046
|
+
replyAgentSessionWithOptions(tmpReq: $_model.ReplyAgentSessionRequest, runtime: $dara.RuntimeOptions): Promise<$_model.ReplyAgentSessionResponse>;
|
|
7047
|
+
/**
|
|
7048
|
+
* Replies to a pending user interaction in a DataAgent session.
|
|
7049
|
+
*
|
|
7050
|
+
* @remarks
|
|
7051
|
+
* Replies to a permission_request issued by the DataAgent daemon. You can submit an answer to an ask_user_question or cancel the current interaction. The PermissionRequestId must come from the params.data.requestId field in the _qwen/notify event (params.kind=permission_request) of the original PromptAgentSession SSE. The reply only returns whether it was accepted. Subsequent execution events are still returned through the original PromptAgentSession SSE. Do not resubmit the same prompt round.
|
|
7052
|
+
*
|
|
7053
|
+
* @param request - ReplyAgentSessionRequest
|
|
7054
|
+
* @returns ReplyAgentSessionResponse
|
|
7055
|
+
*/
|
|
7056
|
+
replyAgentSession(request: $_model.ReplyAgentSessionRequest): Promise<$_model.ReplyAgentSessionResponse>;
|
|
7011
7057
|
/**
|
|
7012
7058
|
* Reruns multiple node instances in a batch.
|
|
7013
7059
|
*
|
|
@@ -7705,6 +7751,31 @@ export default class Client extends OpenApi {
|
|
|
7705
7751
|
* @returns UpdateComputeResourceResponse
|
|
7706
7752
|
*/
|
|
7707
7753
|
updateComputeResource(request: $_model.UpdateComputeResourceRequest): Promise<$_model.UpdateComputeResourceResponse>;
|
|
7754
|
+
/**
|
|
7755
|
+
* Updates the account mapping of a compute resource. Currently supports EMR and Serverless Spark resource types.
|
|
7756
|
+
*
|
|
7757
|
+
* @remarks
|
|
7758
|
+
* 1. DataWorks Basic Edition or a higher edition is required.
|
|
7759
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
7760
|
+
* 3. Tenant owner, tenant administrator, storage management administrator, project owner, or O&M engineer.
|
|
7761
|
+
*
|
|
7762
|
+
* @param tmpReq - UpdateComputeResourceAuthUserMappingsRequest
|
|
7763
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7764
|
+
* @returns UpdateComputeResourceAuthUserMappingsResponse
|
|
7765
|
+
*/
|
|
7766
|
+
updateComputeResourceAuthUserMappingsWithOptions(tmpReq: $_model.UpdateComputeResourceAuthUserMappingsRequest, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateComputeResourceAuthUserMappingsResponse>;
|
|
7767
|
+
/**
|
|
7768
|
+
* Updates the account mapping of a compute resource. Currently supports EMR and Serverless Spark resource types.
|
|
7769
|
+
*
|
|
7770
|
+
* @remarks
|
|
7771
|
+
* 1. DataWorks Basic Edition or a higher edition is required.
|
|
7772
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
7773
|
+
* 3. Tenant owner, tenant administrator, storage management administrator, project owner, or O&M engineer.
|
|
7774
|
+
*
|
|
7775
|
+
* @param request - UpdateComputeResourceAuthUserMappingsRequest
|
|
7776
|
+
* @returns UpdateComputeResourceAuthUserMappingsResponse
|
|
7777
|
+
*/
|
|
7778
|
+
updateComputeResourceAuthUserMappings(request: $_model.UpdateComputeResourceAuthUserMappingsRequest): Promise<$_model.UpdateComputeResourceAuthUserMappingsResponse>;
|
|
7708
7779
|
/**
|
|
7709
7780
|
* Updates the resource group, collection scope, scheduling, and extension configurations of a specified metadata crawler.
|
|
7710
7781
|
*
|
package/dist/client.js
CHANGED
|
@@ -1141,12 +1141,12 @@ class Client extends openapi_core_1.default {
|
|
|
1141
1141
|
* Creates a new agent session and returns the session ID.
|
|
1142
1142
|
*
|
|
1143
1143
|
* @remarks
|
|
1144
|
-
* ##
|
|
1144
|
+
* ## Operation description
|
|
1145
1145
|
* - This operation creates a new agent session.
|
|
1146
|
-
* - Use `_meta.agent.agentName` to specify the
|
|
1147
|
-
* - dataworks_data_agent: DataWorks built-in agent — Data Agent
|
|
1148
|
-
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI
|
|
1149
|
-
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service
|
|
1146
|
+
* - Use `_meta.agent.agentName` to specify the agent name to bind. This parameter is required.
|
|
1147
|
+
* - dataworks_data_agent: DataWorks built-in agent — Data Agent. Provides intelligent data development AI capabilities that cover the entire pipeline of data integration, development, O&M, governance, and analytics.
|
|
1148
|
+
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI. Uses natural language processing and intelligent analytics to automate the entire analysis workflow through conversational interaction, from requirement parsing, data extraction, and automatic code generation to visualization report output.
|
|
1149
|
+
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service. A DataWorks enterprise-grade dedicated AI assistant built on open source frameworks such as OpenClaw and Hermes Agent.
|
|
1150
1150
|
* - Use `_meta.config.sessionSource` to pass through a session source identifier for subsequent retrieval by source.
|
|
1151
1151
|
* - Use `_meta.config.sessionTags[].sessionTagCode` to pass in session tags.
|
|
1152
1152
|
*
|
|
@@ -1191,12 +1191,12 @@ class Client extends openapi_core_1.default {
|
|
|
1191
1191
|
* Creates a new agent session and returns the session ID.
|
|
1192
1192
|
*
|
|
1193
1193
|
* @remarks
|
|
1194
|
-
* ##
|
|
1194
|
+
* ## Operation description
|
|
1195
1195
|
* - This operation creates a new agent session.
|
|
1196
|
-
* - Use `_meta.agent.agentName` to specify the
|
|
1197
|
-
* - dataworks_data_agent: DataWorks built-in agent — Data Agent
|
|
1198
|
-
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI
|
|
1199
|
-
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service
|
|
1196
|
+
* - Use `_meta.agent.agentName` to specify the agent name to bind. This parameter is required.
|
|
1197
|
+
* - dataworks_data_agent: DataWorks built-in agent — Data Agent. Provides intelligent data development AI capabilities that cover the entire pipeline of data integration, development, O&M, governance, and analytics.
|
|
1198
|
+
* - dataworks_chatbi_agent: DataWorks built-in agent — ChatBI. Uses natural language processing and intelligent analytics to automate the entire analysis workflow through conversational interaction, from requirement parsing, data extraction, and automatic code generation to visualization report output.
|
|
1199
|
+
* - dataworks_ai_assistant_agent: DataWorks built-in agent — AI Assistant Service. A DataWorks enterprise-grade dedicated AI assistant built on open source frameworks such as OpenClaw and Hermes Agent.
|
|
1200
1200
|
* - Use `_meta.config.sessionSource` to pass through a session source identifier for subsequent retrieval by source.
|
|
1201
1201
|
* - Use `_meta.config.sessionTags[].sessionTagCode` to pass in session tags.
|
|
1202
1202
|
*
|
|
@@ -7556,7 +7556,7 @@ class Client extends openapi_core_1.default {
|
|
|
7556
7556
|
return await this.establishRelationTableToBusinessWithOptions(request, runtime);
|
|
7557
7557
|
}
|
|
7558
7558
|
/**
|
|
7559
|
-
*
|
|
7559
|
+
* Executes a cross-workspace publish flow.
|
|
7560
7560
|
*
|
|
7561
7561
|
* @param request - ExecCrossProjectPipelineRunRequest
|
|
7562
7562
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -7588,7 +7588,7 @@ class Client extends openapi_core_1.default {
|
|
|
7588
7588
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ExecCrossProjectPipelineRunResponse({}));
|
|
7589
7589
|
}
|
|
7590
7590
|
/**
|
|
7591
|
-
*
|
|
7591
|
+
* Executes a cross-workspace publish flow.
|
|
7592
7592
|
*
|
|
7593
7593
|
* @param request - ExecCrossProjectPipelineRunRequest
|
|
7594
7594
|
* @returns ExecCrossProjectPipelineRunResponse
|
|
@@ -8338,6 +8338,58 @@ class Client extends openapi_core_1.default {
|
|
|
8338
8338
|
let runtime = new $dara.RuntimeOptions({});
|
|
8339
8339
|
return await this.getComputeResourceWithOptions(request, runtime);
|
|
8340
8340
|
}
|
|
8341
|
+
/**
|
|
8342
|
+
* Queries the user mappings of a compute resource. Supports EMR and Serverless Spark resource types.
|
|
8343
|
+
*
|
|
8344
|
+
* @remarks
|
|
8345
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
8346
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
8347
|
+
* - Tenant Owner, Storage Management Administrator, Deployment, Developer, Project Owner, or O&M Engineer
|
|
8348
|
+
*
|
|
8349
|
+
* @param request - GetComputeResourceAuthUserMappingsRequest
|
|
8350
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
8351
|
+
* @returns GetComputeResourceAuthUserMappingsResponse
|
|
8352
|
+
*/
|
|
8353
|
+
async getComputeResourceAuthUserMappingsWithOptions(request, runtime) {
|
|
8354
|
+
request.validate();
|
|
8355
|
+
let query = {};
|
|
8356
|
+
if (!$dara.isNull(request.computeResourceId)) {
|
|
8357
|
+
query["ComputeResourceId"] = request.computeResourceId;
|
|
8358
|
+
}
|
|
8359
|
+
if (!$dara.isNull(request.projectId)) {
|
|
8360
|
+
query["ProjectId"] = request.projectId;
|
|
8361
|
+
}
|
|
8362
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
8363
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
8364
|
+
});
|
|
8365
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
8366
|
+
action: "GetComputeResourceAuthUserMappings",
|
|
8367
|
+
version: "2024-05-18",
|
|
8368
|
+
protocol: "HTTPS",
|
|
8369
|
+
pathname: "/",
|
|
8370
|
+
method: "POST",
|
|
8371
|
+
authType: "AK",
|
|
8372
|
+
style: "RPC",
|
|
8373
|
+
reqBodyType: "formData",
|
|
8374
|
+
bodyType: "json",
|
|
8375
|
+
});
|
|
8376
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetComputeResourceAuthUserMappingsResponse({}));
|
|
8377
|
+
}
|
|
8378
|
+
/**
|
|
8379
|
+
* Queries the user mappings of a compute resource. Supports EMR and Serverless Spark resource types.
|
|
8380
|
+
*
|
|
8381
|
+
* @remarks
|
|
8382
|
+
* 1. You must purchase DataWorks Basic Edition or a higher edition to use this operation.
|
|
8383
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
8384
|
+
* - Tenant Owner, Storage Management Administrator, Deployment, Developer, Project Owner, or O&M Engineer
|
|
8385
|
+
*
|
|
8386
|
+
* @param request - GetComputeResourceAuthUserMappingsRequest
|
|
8387
|
+
* @returns GetComputeResourceAuthUserMappingsResponse
|
|
8388
|
+
*/
|
|
8389
|
+
async getComputeResourceAuthUserMappings(request) {
|
|
8390
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
8391
|
+
return await this.getComputeResourceAuthUserMappingsWithOptions(request, runtime);
|
|
8392
|
+
}
|
|
8341
8393
|
/**
|
|
8342
8394
|
* Queries the configuration, status, and latest run information of a specified metadata crawler.
|
|
8343
8395
|
*
|
|
@@ -8499,7 +8551,7 @@ class Client extends openapi_core_1.default {
|
|
|
8499
8551
|
return await this.getCreateWorkflowInstancesResultWithOptions(request, runtime);
|
|
8500
8552
|
}
|
|
8501
8553
|
/**
|
|
8502
|
-
*
|
|
8554
|
+
* Queries the details of a cross-workspace deployment flow.
|
|
8503
8555
|
*
|
|
8504
8556
|
* @param request - GetCrossProjectPipelineRunRequest
|
|
8505
8557
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -8531,7 +8583,7 @@ class Client extends openapi_core_1.default {
|
|
|
8531
8583
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCrossProjectPipelineRunResponse({}));
|
|
8532
8584
|
}
|
|
8533
8585
|
/**
|
|
8534
|
-
*
|
|
8586
|
+
* Queries the details of a cross-workspace deployment flow.
|
|
8535
8587
|
*
|
|
8536
8588
|
* @param request - GetCrossProjectPipelineRunRequest
|
|
8537
8589
|
* @returns GetCrossProjectPipelineRunResponse
|
|
@@ -17915,6 +17967,62 @@ class Client extends openapi_core_1.default {
|
|
|
17915
17967
|
let runtime = new $dara.RuntimeOptions({});
|
|
17916
17968
|
return await this.renameWorkflowDefinitionWithOptions(request, runtime);
|
|
17917
17969
|
}
|
|
17970
|
+
/**
|
|
17971
|
+
* Replies to a pending user interaction in a DataAgent session.
|
|
17972
|
+
*
|
|
17973
|
+
* @remarks
|
|
17974
|
+
* Replies to a permission_request issued by the DataAgent daemon. You can submit an answer to an ask_user_question or cancel the current interaction. The PermissionRequestId must come from the params.data.requestId field in the _qwen/notify event (params.kind=permission_request) of the original PromptAgentSession SSE. The reply only returns whether it was accepted. Subsequent execution events are still returned through the original PromptAgentSession SSE. Do not resubmit the same prompt round.
|
|
17975
|
+
*
|
|
17976
|
+
* @param tmpReq - ReplyAgentSessionRequest
|
|
17977
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
17978
|
+
* @returns ReplyAgentSessionResponse
|
|
17979
|
+
*/
|
|
17980
|
+
async replyAgentSessionWithOptions(tmpReq, runtime) {
|
|
17981
|
+
tmpReq.validate();
|
|
17982
|
+
let request = new $_model.ReplyAgentSessionShrinkRequest({});
|
|
17983
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
17984
|
+
if (!$dara.isNull(tmpReq.params)) {
|
|
17985
|
+
request.paramsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.params, "Params", "json");
|
|
17986
|
+
}
|
|
17987
|
+
let body = {};
|
|
17988
|
+
if (!$dara.isNull(request.id)) {
|
|
17989
|
+
body["Id"] = request.id;
|
|
17990
|
+
}
|
|
17991
|
+
if (!$dara.isNull(request.jsonrpc)) {
|
|
17992
|
+
body["Jsonrpc"] = request.jsonrpc;
|
|
17993
|
+
}
|
|
17994
|
+
if (!$dara.isNull(request.paramsShrink)) {
|
|
17995
|
+
body["Params"] = request.paramsShrink;
|
|
17996
|
+
}
|
|
17997
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
17998
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
17999
|
+
});
|
|
18000
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
18001
|
+
action: "ReplyAgentSession",
|
|
18002
|
+
version: "2024-05-18",
|
|
18003
|
+
protocol: "HTTPS",
|
|
18004
|
+
pathname: "/",
|
|
18005
|
+
method: "POST",
|
|
18006
|
+
authType: "AK",
|
|
18007
|
+
style: "RPC",
|
|
18008
|
+
reqBodyType: "formData",
|
|
18009
|
+
bodyType: "json",
|
|
18010
|
+
});
|
|
18011
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ReplyAgentSessionResponse({}));
|
|
18012
|
+
}
|
|
18013
|
+
/**
|
|
18014
|
+
* Replies to a pending user interaction in a DataAgent session.
|
|
18015
|
+
*
|
|
18016
|
+
* @remarks
|
|
18017
|
+
* Replies to a permission_request issued by the DataAgent daemon. You can submit an answer to an ask_user_question or cancel the current interaction. The PermissionRequestId must come from the params.data.requestId field in the _qwen/notify event (params.kind=permission_request) of the original PromptAgentSession SSE. The reply only returns whether it was accepted. Subsequent execution events are still returned through the original PromptAgentSession SSE. Do not resubmit the same prompt round.
|
|
18018
|
+
*
|
|
18019
|
+
* @param request - ReplyAgentSessionRequest
|
|
18020
|
+
* @returns ReplyAgentSessionResponse
|
|
18021
|
+
*/
|
|
18022
|
+
async replyAgentSession(request) {
|
|
18023
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
18024
|
+
return await this.replyAgentSessionWithOptions(request, runtime);
|
|
18025
|
+
}
|
|
17918
18026
|
/**
|
|
17919
18027
|
* Reruns multiple node instances in a batch.
|
|
17920
18028
|
*
|
|
@@ -19630,6 +19738,72 @@ class Client extends openapi_core_1.default {
|
|
|
19630
19738
|
let runtime = new $dara.RuntimeOptions({});
|
|
19631
19739
|
return await this.updateComputeResourceWithOptions(request, runtime);
|
|
19632
19740
|
}
|
|
19741
|
+
/**
|
|
19742
|
+
* Updates the account mapping of a compute resource. Currently supports EMR and Serverless Spark resource types.
|
|
19743
|
+
*
|
|
19744
|
+
* @remarks
|
|
19745
|
+
* 1. DataWorks Basic Edition or a higher edition is required.
|
|
19746
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
19747
|
+
* 3. Tenant owner, tenant administrator, storage management administrator, project owner, or O&M engineer.
|
|
19748
|
+
*
|
|
19749
|
+
* @param tmpReq - UpdateComputeResourceAuthUserMappingsRequest
|
|
19750
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
19751
|
+
* @returns UpdateComputeResourceAuthUserMappingsResponse
|
|
19752
|
+
*/
|
|
19753
|
+
async updateComputeResourceAuthUserMappingsWithOptions(tmpReq, runtime) {
|
|
19754
|
+
tmpReq.validate();
|
|
19755
|
+
let request = new $_model.UpdateComputeResourceAuthUserMappingsShrinkRequest({});
|
|
19756
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
19757
|
+
if (!$dara.isNull(tmpReq.removeUserIds)) {
|
|
19758
|
+
request.removeUserIdsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.removeUserIds, "RemoveUserIds", "json");
|
|
19759
|
+
}
|
|
19760
|
+
if (!$dara.isNull(tmpReq.upserts)) {
|
|
19761
|
+
request.upsertsShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.upserts, "Upserts", "json");
|
|
19762
|
+
}
|
|
19763
|
+
let body = {};
|
|
19764
|
+
if (!$dara.isNull(request.computeResourceId)) {
|
|
19765
|
+
body["ComputeResourceId"] = request.computeResourceId;
|
|
19766
|
+
}
|
|
19767
|
+
if (!$dara.isNull(request.projectId)) {
|
|
19768
|
+
body["ProjectId"] = request.projectId;
|
|
19769
|
+
}
|
|
19770
|
+
if (!$dara.isNull(request.removeUserIdsShrink)) {
|
|
19771
|
+
body["RemoveUserIds"] = request.removeUserIdsShrink;
|
|
19772
|
+
}
|
|
19773
|
+
if (!$dara.isNull(request.upsertsShrink)) {
|
|
19774
|
+
body["Upserts"] = request.upsertsShrink;
|
|
19775
|
+
}
|
|
19776
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
19777
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
19778
|
+
});
|
|
19779
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
19780
|
+
action: "UpdateComputeResourceAuthUserMappings",
|
|
19781
|
+
version: "2024-05-18",
|
|
19782
|
+
protocol: "HTTPS",
|
|
19783
|
+
pathname: "/",
|
|
19784
|
+
method: "POST",
|
|
19785
|
+
authType: "AK",
|
|
19786
|
+
style: "RPC",
|
|
19787
|
+
reqBodyType: "formData",
|
|
19788
|
+
bodyType: "json",
|
|
19789
|
+
});
|
|
19790
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateComputeResourceAuthUserMappingsResponse({}));
|
|
19791
|
+
}
|
|
19792
|
+
/**
|
|
19793
|
+
* Updates the account mapping of a compute resource. Currently supports EMR and Serverless Spark resource types.
|
|
19794
|
+
*
|
|
19795
|
+
* @remarks
|
|
19796
|
+
* 1. DataWorks Basic Edition or a higher edition is required.
|
|
19797
|
+
* 2. You must have at least one of the following roles in the DataWorks workspace:
|
|
19798
|
+
* 3. Tenant owner, tenant administrator, storage management administrator, project owner, or O&M engineer.
|
|
19799
|
+
*
|
|
19800
|
+
* @param request - UpdateComputeResourceAuthUserMappingsRequest
|
|
19801
|
+
* @returns UpdateComputeResourceAuthUserMappingsResponse
|
|
19802
|
+
*/
|
|
19803
|
+
async updateComputeResourceAuthUserMappings(request) {
|
|
19804
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
19805
|
+
return await this.updateComputeResourceAuthUserMappingsWithOptions(request, runtime);
|
|
19806
|
+
}
|
|
19633
19807
|
/**
|
|
19634
19808
|
* Updates the resource group, collection scope, scheduling, and extension configurations of a specified metadata crawler.
|
|
19635
19809
|
*
|