@alicloud/agentloop20260520 2.7.0 → 2.8.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 +120 -12
- package/dist/client.js +183 -12
- package/dist/client.js.map +1 -1
- package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/AddAuditConversionSourceRequest.js +54 -0
- package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/AddAuditConversionSourceResponse.js +63 -0
- package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/CreateEvaluatorRequest.d.ts +42 -18
- package/dist/models/CreateEvaluatorRequest.js.map +1 -1
- package/dist/models/CreateEvaluatorResponseBody.d.ts +2 -2
- package/dist/models/CreateEvaluatorSkillRequest.d.ts +10 -7
- package/dist/models/CreateEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +41 -33
- package/dist/models/CreatePipelineRequest.js +2 -0
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DeleteEvaluatorSkillRequest.d.ts +4 -1
- package/dist/models/DeleteEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/ExperimentConfig.d.ts +3 -0
- package/dist/models/ExperimentConfig.js.map +1 -1
- package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/GetAuditConversionSourceRequest.js +54 -0
- package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
- package/dist/models/GetAuditConversionSourceResponse.js +69 -0
- package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
- package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
- package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
- package/dist/models/GetEvaluatorResponseBody.d.ts +45 -12
- package/dist/models/GetEvaluatorResponseBody.js.map +1 -1
- package/dist/models/GetEvaluatorSkillRequest.d.ts +5 -2
- package/dist/models/GetEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/GetEvaluatorSkillResponseBody.d.ts +8 -8
- package/dist/models/GetPipelineResponseBody.d.ts +66 -34
- package/dist/models/GetPipelineResponseBody.js +8 -0
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/GetPipelineRunResponseBody.d.ts +546 -6
- package/dist/models/GetPipelineRunResponseBody.js +244 -1
- package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
- package/dist/models/ListContextStoresRequest.d.ts +3 -3
- package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
- package/dist/models/ListEvaluatorSkillsRequest.d.ts +4 -1
- package/dist/models/ListEvaluatorSkillsRequest.js.map +1 -1
- package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +8 -8
- package/dist/models/ListEvaluatorsRequest.d.ts +1 -1
- package/dist/models/ListEvaluatorsResponseBody.d.ts +10 -4
- package/dist/models/ListEvaluatorsResponseBody.js.map +1 -1
- package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
- package/dist/models/ListPipelineRunsResponseBody.d.ts +25 -9
- package/dist/models/ListPipelineRunsResponseBody.js +4 -0
- package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesRequest.d.ts +25 -5
- package/dist/models/ListPipelinesRequest.js +2 -0
- package/dist/models/ListPipelinesRequest.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +153 -37
- package/dist/models/ListPipelinesResponseBody.js +68 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
- package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
- package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
- package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
- package/dist/models/UpdateEvaluatorRequest.d.ts +40 -10
- package/dist/models/UpdateEvaluatorRequest.js.map +1 -1
- package/dist/models/UpdateEvaluatorSkillRequest.d.ts +7 -4
- package/dist/models/UpdateEvaluatorSkillRequest.js.map +1 -1
- package/dist/models/UpdateEvaluatorVersionStatusRequest.d.ts +5 -3
- package/dist/models/UpdateEvaluatorVersionStatusRequest.js.map +1 -1
- package/dist/models/model.d.ts +15 -0
- package/dist/models/model.js +57 -27
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +191 -12
- package/src/models/AddAuditConversionSourceRequest.ts +24 -0
- package/src/models/AddAuditConversionSourceResponse.ts +33 -0
- package/src/models/CreateEvaluatorRequest.ts +42 -18
- package/src/models/CreateEvaluatorResponseBody.ts +2 -2
- package/src/models/CreateEvaluatorSkillRequest.ts +10 -7
- package/src/models/CreatePipelineRequest.ts +43 -33
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DeleteEvaluatorSkillRequest.ts +4 -1
- package/src/models/ExperimentConfig.ts +3 -0
- package/src/models/GetAuditConversionSourceRequest.ts +24 -0
- package/src/models/GetAuditConversionSourceResponse.ts +40 -0
- package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
- package/src/models/GetContextStoreResponseBody.ts +49 -49
- package/src/models/GetEvaluatorResponseBody.ts +45 -12
- package/src/models/GetEvaluatorSkillRequest.ts +5 -2
- package/src/models/GetEvaluatorSkillResponseBody.ts +8 -8
- package/src/models/GetPipelineResponseBody.ts +74 -34
- package/src/models/GetPipelineRunResponseBody.ts +733 -6
- package/src/models/ListContextStoresRequest.ts +3 -3
- package/src/models/ListContextStoresResponseBody.ts +8 -8
- package/src/models/ListEvaluatorSkillsRequest.ts +4 -1
- package/src/models/ListEvaluatorSkillsResponseBody.ts +8 -8
- package/src/models/ListEvaluatorsRequest.ts +1 -1
- package/src/models/ListEvaluatorsResponseBody.ts +10 -4
- package/src/models/ListPipelineRunsRequest.ts +5 -5
- package/src/models/ListPipelineRunsResponseBody.ts +29 -9
- package/src/models/ListPipelinesRequest.ts +27 -5
- package/src/models/ListPipelinesResponseBody.ts +200 -37
- package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
- package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
- package/src/models/UpdateEvaluatorRequest.ts +40 -10
- package/src/models/UpdateEvaluatorSkillRequest.ts +7 -4
- package/src/models/UpdateEvaluatorVersionStatusRequest.ts +5 -3
- package/src/models/model.ts +15 -0
package/dist/client.d.ts
CHANGED
|
@@ -8,6 +8,44 @@ export default class Client extends OpenApi {
|
|
|
8
8
|
getEndpoint(productId: string, regionId: string, endpointRule: string, network: string, suffix: string, endpointMap: {
|
|
9
9
|
[key: string]: string;
|
|
10
10
|
}, endpoint: string): string;
|
|
11
|
+
/**
|
|
12
|
+
* Adds an audit transformation object to the list.
|
|
13
|
+
*
|
|
14
|
+
* @remarks
|
|
15
|
+
* ## Request description
|
|
16
|
+
* - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
|
|
17
|
+
* - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
|
|
18
|
+
* - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
|
|
19
|
+
* - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
|
|
20
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
|
|
21
|
+
* - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
|
|
22
|
+
* - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
|
|
23
|
+
*
|
|
24
|
+
* @param request - AddAuditConversionSourceRequest
|
|
25
|
+
* @param headers - map
|
|
26
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
27
|
+
* @returns AddAuditConversionSourceResponse
|
|
28
|
+
*/
|
|
29
|
+
addAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest, headers: {
|
|
30
|
+
[key: string]: string;
|
|
31
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.AddAuditConversionSourceResponse>;
|
|
32
|
+
/**
|
|
33
|
+
* Adds an audit transformation object to the list.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* ## Request description
|
|
37
|
+
* - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
|
|
38
|
+
* - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
|
|
39
|
+
* - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
|
|
40
|
+
* - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
|
|
41
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
|
|
42
|
+
* - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
|
|
43
|
+
* - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
|
|
44
|
+
*
|
|
45
|
+
* @param request - AddAuditConversionSourceRequest
|
|
46
|
+
* @returns AddAuditConversionSourceResponse
|
|
47
|
+
*/
|
|
48
|
+
addAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest): Promise<$_model.AddAuditConversionSourceResponse>;
|
|
11
49
|
/**
|
|
12
50
|
* Appends structured data rows to a specified dataset without requiring the client to construct SQL statements.
|
|
13
51
|
*
|
|
@@ -624,6 +662,40 @@ export default class Client extends OpenApi {
|
|
|
624
662
|
* @returns GetAgentSpaceResponse
|
|
625
663
|
*/
|
|
626
664
|
getAgentSpace(agentSpace: string, request: $_model.GetAgentSpaceRequest): Promise<$_model.GetAgentSpaceResponse>;
|
|
665
|
+
/**
|
|
666
|
+
* Queries whether an audit transformation object is selected.
|
|
667
|
+
*
|
|
668
|
+
* @remarks
|
|
669
|
+
* ## Request description
|
|
670
|
+
* - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
|
|
671
|
+
* - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
|
|
672
|
+
* - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
|
|
673
|
+
* - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
|
|
674
|
+
* - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
675
|
+
*
|
|
676
|
+
* @param request - GetAuditConversionSourceRequest
|
|
677
|
+
* @param headers - map
|
|
678
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
679
|
+
* @returns GetAuditConversionSourceResponse
|
|
680
|
+
*/
|
|
681
|
+
getAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest, headers: {
|
|
682
|
+
[key: string]: string;
|
|
683
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetAuditConversionSourceResponse>;
|
|
684
|
+
/**
|
|
685
|
+
* Queries whether an audit transformation object is selected.
|
|
686
|
+
*
|
|
687
|
+
* @remarks
|
|
688
|
+
* ## Request description
|
|
689
|
+
* - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
|
|
690
|
+
* - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
|
|
691
|
+
* - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
|
|
692
|
+
* - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
|
|
693
|
+
* - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
694
|
+
*
|
|
695
|
+
* @param request - GetAuditConversionSourceRequest
|
|
696
|
+
* @returns GetAuditConversionSourceResponse
|
|
697
|
+
*/
|
|
698
|
+
getAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest): Promise<$_model.GetAuditConversionSourceResponse>;
|
|
627
699
|
/**
|
|
628
700
|
* Queries the context store.
|
|
629
701
|
*
|
|
@@ -853,10 +925,10 @@ export default class Client extends OpenApi {
|
|
|
853
925
|
*/
|
|
854
926
|
getPipeline(agentSpace: string, pipelineName: string, request: $_model.GetPipelineRequest): Promise<$_model.GetPipelineResponse>;
|
|
855
927
|
/**
|
|
856
|
-
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and
|
|
928
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
857
929
|
*
|
|
858
930
|
* @remarks
|
|
859
|
-
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and
|
|
931
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
860
932
|
*
|
|
861
933
|
* @param request - GetPipelineRunRequest
|
|
862
934
|
* @param headers - map
|
|
@@ -867,10 +939,10 @@ export default class Client extends OpenApi {
|
|
|
867
939
|
[key: string]: string;
|
|
868
940
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.GetPipelineRunResponse>;
|
|
869
941
|
/**
|
|
870
|
-
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and
|
|
942
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
871
943
|
*
|
|
872
944
|
* @remarks
|
|
873
|
-
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and
|
|
945
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
874
946
|
*
|
|
875
947
|
* @param request - GetPipelineRunRequest
|
|
876
948
|
* @returns GetPipelineRunResponse
|
|
@@ -937,7 +1009,7 @@ export default class Client extends OpenApi {
|
|
|
937
1009
|
*/
|
|
938
1010
|
listContextStoreAPIKeys(agentSpace: string, contextStoreName: string, request: $_model.ListContextStoreAPIKeysRequest): Promise<$_model.ListContextStoreAPIKeysResponse>;
|
|
939
1011
|
/**
|
|
940
|
-
* Queries
|
|
1012
|
+
* Queries a list of context stores.
|
|
941
1013
|
*
|
|
942
1014
|
* @param request - ListContextStoresRequest
|
|
943
1015
|
* @param headers - map
|
|
@@ -948,7 +1020,7 @@ export default class Client extends OpenApi {
|
|
|
948
1020
|
[key: string]: string;
|
|
949
1021
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListContextStoresResponse>;
|
|
950
1022
|
/**
|
|
951
|
-
* Queries
|
|
1023
|
+
* Queries a list of context stores.
|
|
952
1024
|
*
|
|
953
1025
|
* @param request - ListContextStoresRequest
|
|
954
1026
|
* @returns ListContextStoresResponse
|
|
@@ -1027,7 +1099,7 @@ export default class Client extends OpenApi {
|
|
|
1027
1099
|
*/
|
|
1028
1100
|
listEvaluationTasks(request: $_model.ListEvaluationTasksRequest): Promise<$_model.ListEvaluationTasksResponse>;
|
|
1029
1101
|
/**
|
|
1030
|
-
* Queries the list of skills
|
|
1102
|
+
* Queries the list of evaluator skills.
|
|
1031
1103
|
*
|
|
1032
1104
|
* @param request - ListEvaluatorSkillsRequest
|
|
1033
1105
|
* @param headers - map
|
|
@@ -1038,7 +1110,7 @@ export default class Client extends OpenApi {
|
|
|
1038
1110
|
[key: string]: string;
|
|
1039
1111
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListEvaluatorSkillsResponse>;
|
|
1040
1112
|
/**
|
|
1041
|
-
* Queries the list of skills
|
|
1113
|
+
* Queries the list of evaluator skills.
|
|
1042
1114
|
*
|
|
1043
1115
|
* @param request - ListEvaluatorSkillsRequest
|
|
1044
1116
|
* @returns ListEvaluatorSkillsResponse
|
|
@@ -1150,7 +1222,7 @@ export default class Client extends OpenApi {
|
|
|
1150
1222
|
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
1151
1223
|
*
|
|
1152
1224
|
* @remarks
|
|
1153
|
-
* Calls
|
|
1225
|
+
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
1154
1226
|
*
|
|
1155
1227
|
* @param request - ListPipelineRunsRequest
|
|
1156
1228
|
* @param headers - map
|
|
@@ -1164,14 +1236,14 @@ export default class Client extends OpenApi {
|
|
|
1164
1236
|
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
1165
1237
|
*
|
|
1166
1238
|
* @remarks
|
|
1167
|
-
* Calls
|
|
1239
|
+
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
1168
1240
|
*
|
|
1169
1241
|
* @param request - ListPipelineRunsRequest
|
|
1170
1242
|
* @returns ListPipelineRunsResponse
|
|
1171
1243
|
*/
|
|
1172
1244
|
listPipelineRuns(agentSpace: string, pipelineName: string, request: $_model.ListPipelineRunsRequest): Promise<$_model.ListPipelineRunsResponse>;
|
|
1173
1245
|
/**
|
|
1174
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
|
|
1246
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
|
|
1175
1247
|
*
|
|
1176
1248
|
* @param request - ListPipelinesRequest
|
|
1177
1249
|
* @param headers - map
|
|
@@ -1182,7 +1254,7 @@ export default class Client extends OpenApi {
|
|
|
1182
1254
|
[key: string]: string;
|
|
1183
1255
|
}, runtime: $dara.RuntimeOptions): Promise<$_model.ListPipelinesResponse>;
|
|
1184
1256
|
/**
|
|
1185
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
|
|
1257
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
|
|
1186
1258
|
*
|
|
1187
1259
|
* @param request - ListPipelinesRequest
|
|
1188
1260
|
* @returns ListPipelinesResponse
|
|
@@ -1258,6 +1330,42 @@ export default class Client extends OpenApi {
|
|
|
1258
1330
|
* @returns PreviewPipelineResponse
|
|
1259
1331
|
*/
|
|
1260
1332
|
previewPipeline(agentSpace: string, request: $_model.PreviewPipelineRequest): Promise<$_model.PreviewPipelineResponse>;
|
|
1333
|
+
/**
|
|
1334
|
+
* Removes an audit transformation object from the list.
|
|
1335
|
+
*
|
|
1336
|
+
* @remarks
|
|
1337
|
+
* ## Request description
|
|
1338
|
+
* - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
|
|
1339
|
+
* - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
|
|
1340
|
+
* - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
|
|
1341
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
|
|
1342
|
+
* - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
|
|
1343
|
+
* - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
1344
|
+
*
|
|
1345
|
+
* @param request - RemoveAuditConversionSourceRequest
|
|
1346
|
+
* @param headers - map
|
|
1347
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1348
|
+
* @returns RemoveAuditConversionSourceResponse
|
|
1349
|
+
*/
|
|
1350
|
+
removeAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest, headers: {
|
|
1351
|
+
[key: string]: string;
|
|
1352
|
+
}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveAuditConversionSourceResponse>;
|
|
1353
|
+
/**
|
|
1354
|
+
* Removes an audit transformation object from the list.
|
|
1355
|
+
*
|
|
1356
|
+
* @remarks
|
|
1357
|
+
* ## Request description
|
|
1358
|
+
* - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
|
|
1359
|
+
* - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
|
|
1360
|
+
* - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
|
|
1361
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
|
|
1362
|
+
* - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
|
|
1363
|
+
* - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
1364
|
+
*
|
|
1365
|
+
* @param request - RemoveAuditConversionSourceRequest
|
|
1366
|
+
* @returns RemoveAuditConversionSourceResponse
|
|
1367
|
+
*/
|
|
1368
|
+
removeAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest): Promise<$_model.RemoveAuditConversionSourceResponse>;
|
|
1261
1369
|
/**
|
|
1262
1370
|
* Resumes a pipeline.
|
|
1263
1371
|
*
|
package/dist/client.js
CHANGED
|
@@ -65,6 +65,63 @@ class Client extends openapi_core_1.default {
|
|
|
65
65
|
}
|
|
66
66
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
67
67
|
}
|
|
68
|
+
/**
|
|
69
|
+
* Adds an audit transformation object to the list.
|
|
70
|
+
*
|
|
71
|
+
* @remarks
|
|
72
|
+
* ## Request description
|
|
73
|
+
* - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
|
|
74
|
+
* - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
|
|
75
|
+
* - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
|
|
76
|
+
* - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
|
|
77
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
|
|
78
|
+
* - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
|
|
79
|
+
* - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
|
|
80
|
+
*
|
|
81
|
+
* @param request - AddAuditConversionSourceRequest
|
|
82
|
+
* @param headers - map
|
|
83
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
84
|
+
* @returns AddAuditConversionSourceResponse
|
|
85
|
+
*/
|
|
86
|
+
async addAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime) {
|
|
87
|
+
request.validate();
|
|
88
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
89
|
+
headers: headers,
|
|
90
|
+
});
|
|
91
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
92
|
+
action: "AddAuditConversionSource",
|
|
93
|
+
version: "2026-05-20",
|
|
94
|
+
protocol: "HTTPS",
|
|
95
|
+
pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
|
|
96
|
+
method: "PUT",
|
|
97
|
+
authType: "AK",
|
|
98
|
+
style: "ROA",
|
|
99
|
+
reqBodyType: "json",
|
|
100
|
+
bodyType: "none",
|
|
101
|
+
});
|
|
102
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.AddAuditConversionSourceResponse({}));
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Adds an audit transformation object to the list.
|
|
106
|
+
*
|
|
107
|
+
* @remarks
|
|
108
|
+
* ## Request description
|
|
109
|
+
* - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
|
|
110
|
+
* - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
|
|
111
|
+
* - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
|
|
112
|
+
* - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
|
|
113
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
|
|
114
|
+
* - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
|
|
115
|
+
* - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
|
|
116
|
+
*
|
|
117
|
+
* @param request - AddAuditConversionSourceRequest
|
|
118
|
+
* @returns AddAuditConversionSourceResponse
|
|
119
|
+
*/
|
|
120
|
+
async addAuditConversionSource(agentSpace, type, instanceID, request) {
|
|
121
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
122
|
+
let headers = {};
|
|
123
|
+
return await this.addAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
|
|
124
|
+
}
|
|
68
125
|
/**
|
|
69
126
|
* Appends structured data rows to a specified dataset without requiring the client to construct SQL statements.
|
|
70
127
|
*
|
|
@@ -986,6 +1043,9 @@ class Client extends openapi_core_1.default {
|
|
|
986
1043
|
if (!$dara.isNull(request.pipeline)) {
|
|
987
1044
|
body["pipeline"] = request.pipeline;
|
|
988
1045
|
}
|
|
1046
|
+
if (!$dara.isNull(request.pipelineKind)) {
|
|
1047
|
+
body["pipelineKind"] = request.pipelineKind;
|
|
1048
|
+
}
|
|
989
1049
|
if (!$dara.isNull(request.pipelineName)) {
|
|
990
1050
|
body["pipelineName"] = request.pipelineName;
|
|
991
1051
|
}
|
|
@@ -1710,6 +1770,59 @@ class Client extends openapi_core_1.default {
|
|
|
1710
1770
|
let headers = {};
|
|
1711
1771
|
return await this.getAgentSpaceWithOptions(agentSpace, request, headers, runtime);
|
|
1712
1772
|
}
|
|
1773
|
+
/**
|
|
1774
|
+
* Queries whether an audit transformation object is selected.
|
|
1775
|
+
*
|
|
1776
|
+
* @remarks
|
|
1777
|
+
* ## Request description
|
|
1778
|
+
* - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
|
|
1779
|
+
* - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
|
|
1780
|
+
* - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
|
|
1781
|
+
* - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
|
|
1782
|
+
* - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
1783
|
+
*
|
|
1784
|
+
* @param request - GetAuditConversionSourceRequest
|
|
1785
|
+
* @param headers - map
|
|
1786
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1787
|
+
* @returns GetAuditConversionSourceResponse
|
|
1788
|
+
*/
|
|
1789
|
+
async getAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime) {
|
|
1790
|
+
request.validate();
|
|
1791
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1792
|
+
headers: headers,
|
|
1793
|
+
});
|
|
1794
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1795
|
+
action: "GetAuditConversionSource",
|
|
1796
|
+
version: "2026-05-20",
|
|
1797
|
+
protocol: "HTTPS",
|
|
1798
|
+
pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
|
|
1799
|
+
method: "GET",
|
|
1800
|
+
authType: "AK",
|
|
1801
|
+
style: "ROA",
|
|
1802
|
+
reqBodyType: "json",
|
|
1803
|
+
bodyType: "json",
|
|
1804
|
+
});
|
|
1805
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAuditConversionSourceResponse({}));
|
|
1806
|
+
}
|
|
1807
|
+
/**
|
|
1808
|
+
* Queries whether an audit transformation object is selected.
|
|
1809
|
+
*
|
|
1810
|
+
* @remarks
|
|
1811
|
+
* ## Request description
|
|
1812
|
+
* - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
|
|
1813
|
+
* - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
|
|
1814
|
+
* - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
|
|
1815
|
+
* - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
|
|
1816
|
+
* - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
1817
|
+
*
|
|
1818
|
+
* @param request - GetAuditConversionSourceRequest
|
|
1819
|
+
* @returns GetAuditConversionSourceResponse
|
|
1820
|
+
*/
|
|
1821
|
+
async getAuditConversionSource(agentSpace, type, instanceID, request) {
|
|
1822
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1823
|
+
let headers = {};
|
|
1824
|
+
return await this.getAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
|
|
1825
|
+
}
|
|
1713
1826
|
/**
|
|
1714
1827
|
* Queries the context store.
|
|
1715
1828
|
*
|
|
@@ -2188,10 +2301,10 @@ class Client extends openapi_core_1.default {
|
|
|
2188
2301
|
return await this.getPipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
|
|
2189
2302
|
}
|
|
2190
2303
|
/**
|
|
2191
|
-
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and
|
|
2304
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2192
2305
|
*
|
|
2193
2306
|
* @remarks
|
|
2194
|
-
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and
|
|
2307
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2195
2308
|
*
|
|
2196
2309
|
* @param request - GetPipelineRunRequest
|
|
2197
2310
|
* @param headers - map
|
|
@@ -2217,10 +2330,10 @@ class Client extends openapi_core_1.default {
|
|
|
2217
2330
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetPipelineRunResponse({}));
|
|
2218
2331
|
}
|
|
2219
2332
|
/**
|
|
2220
|
-
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and
|
|
2333
|
+
* Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2221
2334
|
*
|
|
2222
2335
|
* @remarks
|
|
2223
|
-
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and
|
|
2336
|
+
* Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
|
|
2224
2337
|
*
|
|
2225
2338
|
* @param request - GetPipelineRunRequest
|
|
2226
2339
|
* @returns GetPipelineRunResponse
|
|
@@ -2389,7 +2502,7 @@ class Client extends openapi_core_1.default {
|
|
|
2389
2502
|
return await this.listContextStoreAPIKeysWithOptions(agentSpace, contextStoreName, request, headers, runtime);
|
|
2390
2503
|
}
|
|
2391
2504
|
/**
|
|
2392
|
-
* Queries
|
|
2505
|
+
* Queries a list of context stores.
|
|
2393
2506
|
*
|
|
2394
2507
|
* @param request - ListContextStoresRequest
|
|
2395
2508
|
* @param headers - map
|
|
@@ -2432,7 +2545,7 @@ class Client extends openapi_core_1.default {
|
|
|
2432
2545
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListContextStoresResponse({}));
|
|
2433
2546
|
}
|
|
2434
2547
|
/**
|
|
2435
|
-
* Queries
|
|
2548
|
+
* Queries a list of context stores.
|
|
2436
2549
|
*
|
|
2437
2550
|
* @param request - ListContextStoresRequest
|
|
2438
2551
|
* @returns ListContextStoresResponse
|
|
@@ -2658,7 +2771,7 @@ class Client extends openapi_core_1.default {
|
|
|
2658
2771
|
return await this.listEvaluationTasksWithOptions(request, headers, runtime);
|
|
2659
2772
|
}
|
|
2660
2773
|
/**
|
|
2661
|
-
* Queries the list of skills
|
|
2774
|
+
* Queries the list of evaluator skills.
|
|
2662
2775
|
*
|
|
2663
2776
|
* @param request - ListEvaluatorSkillsRequest
|
|
2664
2777
|
* @param headers - map
|
|
@@ -2698,7 +2811,7 @@ class Client extends openapi_core_1.default {
|
|
|
2698
2811
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListEvaluatorSkillsResponse({}));
|
|
2699
2812
|
}
|
|
2700
2813
|
/**
|
|
2701
|
-
* Queries the list of skills
|
|
2814
|
+
* Queries the list of evaluator skills.
|
|
2702
2815
|
*
|
|
2703
2816
|
* @param request - ListEvaluatorSkillsRequest
|
|
2704
2817
|
* @returns ListEvaluatorSkillsResponse
|
|
@@ -3006,7 +3119,7 @@ class Client extends openapi_core_1.default {
|
|
|
3006
3119
|
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3007
3120
|
*
|
|
3008
3121
|
* @remarks
|
|
3009
|
-
* Calls
|
|
3122
|
+
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3010
3123
|
*
|
|
3011
3124
|
* @param request - ListPipelineRunsRequest
|
|
3012
3125
|
* @param headers - map
|
|
@@ -3055,7 +3168,7 @@ class Client extends openapi_core_1.default {
|
|
|
3055
3168
|
* Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3056
3169
|
*
|
|
3057
3170
|
* @remarks
|
|
3058
|
-
* Calls
|
|
3171
|
+
* Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
|
|
3059
3172
|
*
|
|
3060
3173
|
* @param request - ListPipelineRunsRequest
|
|
3061
3174
|
* @returns ListPipelineRunsResponse
|
|
@@ -3066,7 +3179,7 @@ class Client extends openapi_core_1.default {
|
|
|
3066
3179
|
return await this.listPipelineRunsWithOptions(agentSpace, pipelineName, request, headers, runtime);
|
|
3067
3180
|
}
|
|
3068
3181
|
/**
|
|
3069
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
|
|
3182
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
|
|
3070
3183
|
*
|
|
3071
3184
|
* @param request - ListPipelinesRequest
|
|
3072
3185
|
* @param headers - map
|
|
@@ -3082,6 +3195,9 @@ class Client extends openapi_core_1.default {
|
|
|
3082
3195
|
if (!$dara.isNull(request.nextToken)) {
|
|
3083
3196
|
query["nextToken"] = request.nextToken;
|
|
3084
3197
|
}
|
|
3198
|
+
if (!$dara.isNull(request.pipelineKind)) {
|
|
3199
|
+
query["pipelineKind"] = request.pipelineKind;
|
|
3200
|
+
}
|
|
3085
3201
|
if (!$dara.isNull(request.pipelineName)) {
|
|
3086
3202
|
query["pipelineName"] = request.pipelineName;
|
|
3087
3203
|
}
|
|
@@ -3112,7 +3228,7 @@ class Client extends openapi_core_1.default {
|
|
|
3112
3228
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListPipelinesResponse({}));
|
|
3113
3229
|
}
|
|
3114
3230
|
/**
|
|
3115
|
-
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
|
|
3231
|
+
* Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
|
|
3116
3232
|
*
|
|
3117
3233
|
* @param request - ListPipelinesRequest
|
|
3118
3234
|
* @returns ListPipelinesResponse
|
|
@@ -3290,6 +3406,61 @@ class Client extends openapi_core_1.default {
|
|
|
3290
3406
|
let headers = {};
|
|
3291
3407
|
return await this.previewPipelineWithOptions(agentSpace, request, headers, runtime);
|
|
3292
3408
|
}
|
|
3409
|
+
/**
|
|
3410
|
+
* Removes an audit transformation object from the list.
|
|
3411
|
+
*
|
|
3412
|
+
* @remarks
|
|
3413
|
+
* ## Request description
|
|
3414
|
+
* - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
|
|
3415
|
+
* - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
|
|
3416
|
+
* - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
|
|
3417
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
|
|
3418
|
+
* - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
|
|
3419
|
+
* - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
3420
|
+
*
|
|
3421
|
+
* @param request - RemoveAuditConversionSourceRequest
|
|
3422
|
+
* @param headers - map
|
|
3423
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3424
|
+
* @returns RemoveAuditConversionSourceResponse
|
|
3425
|
+
*/
|
|
3426
|
+
async removeAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime) {
|
|
3427
|
+
request.validate();
|
|
3428
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3429
|
+
headers: headers,
|
|
3430
|
+
});
|
|
3431
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3432
|
+
action: "RemoveAuditConversionSource",
|
|
3433
|
+
version: "2026-05-20",
|
|
3434
|
+
protocol: "HTTPS",
|
|
3435
|
+
pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
|
|
3436
|
+
method: "DELETE",
|
|
3437
|
+
authType: "AK",
|
|
3438
|
+
style: "ROA",
|
|
3439
|
+
reqBodyType: "json",
|
|
3440
|
+
bodyType: "none",
|
|
3441
|
+
});
|
|
3442
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.RemoveAuditConversionSourceResponse({}));
|
|
3443
|
+
}
|
|
3444
|
+
/**
|
|
3445
|
+
* Removes an audit transformation object from the list.
|
|
3446
|
+
*
|
|
3447
|
+
* @remarks
|
|
3448
|
+
* ## Request description
|
|
3449
|
+
* - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
|
|
3450
|
+
* - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
|
|
3451
|
+
* - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
|
|
3452
|
+
* - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
|
|
3453
|
+
* - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
|
|
3454
|
+
* - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
|
|
3455
|
+
*
|
|
3456
|
+
* @param request - RemoveAuditConversionSourceRequest
|
|
3457
|
+
* @returns RemoveAuditConversionSourceResponse
|
|
3458
|
+
*/
|
|
3459
|
+
async removeAuditConversionSource(agentSpace, type, instanceID, request) {
|
|
3460
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3461
|
+
let headers = {};
|
|
3462
|
+
return await this.removeAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
|
|
3463
|
+
}
|
|
3293
3464
|
/**
|
|
3294
3465
|
* Resumes a pipeline.
|
|
3295
3466
|
*
|