@alicloud/agentcore20260804 1.2.1 → 1.2.2
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 +62 -52
- package/dist/client.js +65 -52
- package/dist/client.js.map +1 -1
- package/dist/models/BatchDeleteModelsRequest.d.ts +9 -0
- package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
- package/dist/models/BatchDeleteModelsResponseBody.d.ts +27 -0
- package/dist/models/BatchDeleteModelsResponseBody.js.map +1 -1
- package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +7 -0
- package/dist/models/BatchDeleteModelsShrinkRequest.js.map +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +18 -2
- package/dist/models/CreateCredentialRequest.js.map +1 -1
- package/dist/models/CreateCredentialResponseBody.d.ts +48 -1
- package/dist/models/CreateCredentialResponseBody.js.map +1 -1
- package/dist/models/CreateCredentialShrinkRequest.d.ts +8 -1
- package/dist/models/CreateCredentialShrinkRequest.js.map +1 -1
- package/dist/models/CreateModelConnectionRequest.d.ts +21 -0
- package/dist/models/CreateModelConnectionRequest.js.map +1 -1
- package/dist/models/CreateModelConnectionResponseBody.d.ts +60 -0
- package/dist/models/CreateModelConnectionResponseBody.js.map +1 -1
- package/dist/models/CreateModelConnectionShrinkRequest.d.ts +7 -0
- package/dist/models/CreateModelConnectionShrinkRequest.js.map +1 -1
- package/dist/models/CreateTeamRequest.d.ts +40 -2
- package/dist/models/CreateTeamRequest.js.map +1 -1
- package/dist/models/CreateTeamResponseBody.d.ts +76 -1
- package/dist/models/CreateTeamResponseBody.js.map +1 -1
- package/dist/models/CreateTeamShrinkRequest.d.ts +8 -1
- package/dist/models/CreateTeamShrinkRequest.js.map +1 -1
- package/dist/models/CreateUserRequest.d.ts +23 -3
- package/dist/models/CreateUserRequest.js.map +1 -1
- package/dist/models/CreateUserResponseBody.d.ts +58 -2
- package/dist/models/CreateUserResponseBody.js.map +1 -1
- package/dist/models/CreateUserShrinkRequest.d.ts +8 -1
- package/dist/models/CreateUserShrinkRequest.js.map +1 -1
- package/dist/models/DebugModelRequest.d.ts +6 -0
- package/dist/models/DebugModelRequest.js.map +1 -1
- package/dist/models/DebugModelResponseBody.d.ts +45 -3
- package/dist/models/DebugModelResponseBody.js.map +1 -1
- package/dist/models/DebugModelShrinkRequest.d.ts +4 -0
- package/dist/models/DebugModelShrinkRequest.js.map +1 -1
- package/dist/models/DeleteCredentialRequest.d.ts +4 -1
- package/dist/models/DeleteCredentialRequest.js.map +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +29 -0
- package/dist/models/DeleteCredentialResponseBody.js.map +1 -1
- package/dist/models/DeleteModelConnectionRequest.d.ts +3 -0
- package/dist/models/DeleteModelConnectionRequest.js.map +1 -1
- package/dist/models/DeleteModelConnectionResponseBody.d.ts +26 -0
- package/dist/models/DeleteModelConnectionResponseBody.js.map +1 -1
- package/dist/models/DeleteModelRequest.d.ts +3 -0
- package/dist/models/DeleteModelRequest.js.map +1 -1
- package/dist/models/DeleteModelResponseBody.d.ts +26 -0
- package/dist/models/DeleteModelResponseBody.js.map +1 -1
- package/dist/models/DeleteTeamRequest.d.ts +4 -1
- package/dist/models/DeleteTeamRequest.js.map +1 -1
- package/dist/models/DeleteTeamResponseBody.d.ts +38 -0
- package/dist/models/DeleteTeamResponseBody.js.map +1 -1
- package/dist/models/DeleteUserRequest.d.ts +4 -1
- package/dist/models/DeleteUserRequest.js.map +1 -1
- package/dist/models/DeleteUserResponseBody.d.ts +29 -0
- package/dist/models/DeleteUserResponseBody.js.map +1 -1
- package/dist/models/GetCredentialResponseBody.d.ts +58 -1
- package/dist/models/GetCredentialResponseBody.js.map +1 -1
- package/dist/models/GetModelConnectionResponseBody.d.ts +67 -0
- package/dist/models/GetModelConnectionResponseBody.js.map +1 -1
- package/dist/models/GetTeamResponseBody.d.ts +131 -4
- package/dist/models/GetTeamResponseBody.js.map +1 -1
- package/dist/models/GetUserResponseBody.d.ts +55 -2
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/ListCredentialsRequest.d.ts +20 -0
- package/dist/models/ListCredentialsRequest.js +2 -0
- package/dist/models/ListCredentialsRequest.js.map +1 -1
- package/dist/models/ListCredentialsResponseBody.d.ts +60 -1
- package/dist/models/ListCredentialsResponseBody.js.map +1 -1
- package/dist/models/ListMcpsRequest.d.ts +11 -1
- package/dist/models/ListMcpsRequest.js.map +1 -1
- package/dist/models/ListMcpsResponseBody.d.ts +1 -1
- package/dist/models/ListModelConnectionsRequest.d.ts +21 -0
- package/dist/models/ListModelConnectionsRequest.js.map +1 -1
- package/dist/models/ListModelConnectionsResponseBody.d.ts +79 -0
- package/dist/models/ListModelConnectionsResponseBody.js.map +1 -1
- package/dist/models/ListTeamsRequest.d.ts +9 -0
- package/dist/models/ListTeamsRequest.js.map +1 -1
- package/dist/models/ListTeamsResponseBody.d.ts +89 -1
- package/dist/models/ListTeamsResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordRequest.d.ts +13 -0
- package/dist/models/ResetUserPasswordRequest.js.map +1 -1
- package/dist/models/ResetUserPasswordResponseBody.d.ts +29 -0
- package/dist/models/ResetUserPasswordResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordShrinkRequest.d.ts +4 -0
- package/dist/models/ResetUserPasswordShrinkRequest.js.map +1 -1
- package/dist/models/UpdateCredentialRequest.d.ts +15 -2
- package/dist/models/UpdateCredentialRequest.js.map +1 -1
- package/dist/models/UpdateCredentialResponseBody.d.ts +48 -1
- package/dist/models/UpdateCredentialResponseBody.js.map +1 -1
- package/dist/models/UpdateCredentialShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateCredentialShrinkRequest.js.map +1 -1
- package/dist/models/UpdateModelRequest.d.ts +3 -3
- package/dist/models/UpdateModelResponseBody.d.ts +7 -7
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateTeamRequest.d.ts +32 -2
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +62 -1
- package/dist/models/UpdateTeamResponseBody.js.map +1 -1
- package/dist/models/UpdateTeamShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateTeamShrinkRequest.js.map +1 -1
- package/dist/models/UpdateUserRequest.d.ts +19 -3
- package/dist/models/UpdateUserRequest.js.map +1 -1
- package/dist/models/UpdateUserResponseBody.d.ts +55 -2
- package/dist/models/UpdateUserResponseBody.js.map +1 -1
- package/dist/models/UpdateUserShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateUserShrinkRequest.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +66 -52
- package/src/models/BatchDeleteModelsRequest.ts +9 -0
- package/src/models/BatchDeleteModelsResponseBody.ts +27 -0
- package/src/models/BatchDeleteModelsShrinkRequest.ts +7 -0
- package/src/models/CreateCredentialRequest.ts +18 -2
- package/src/models/CreateCredentialResponseBody.ts +48 -1
- package/src/models/CreateCredentialShrinkRequest.ts +8 -1
- package/src/models/CreateModelConnectionRequest.ts +21 -0
- package/src/models/CreateModelConnectionResponseBody.ts +60 -0
- package/src/models/CreateModelConnectionShrinkRequest.ts +7 -0
- package/src/models/CreateTeamRequest.ts +40 -2
- package/src/models/CreateTeamResponseBody.ts +76 -1
- package/src/models/CreateTeamShrinkRequest.ts +8 -1
- package/src/models/CreateUserRequest.ts +23 -3
- package/src/models/CreateUserResponseBody.ts +58 -2
- package/src/models/CreateUserShrinkRequest.ts +8 -1
- package/src/models/DebugModelRequest.ts +6 -0
- package/src/models/DebugModelResponseBody.ts +45 -3
- package/src/models/DebugModelShrinkRequest.ts +4 -0
- package/src/models/DeleteCredentialRequest.ts +4 -1
- package/src/models/DeleteCredentialResponseBody.ts +29 -0
- package/src/models/DeleteModelConnectionRequest.ts +3 -0
- package/src/models/DeleteModelConnectionResponseBody.ts +26 -0
- package/src/models/DeleteModelRequest.ts +3 -0
- package/src/models/DeleteModelResponseBody.ts +26 -0
- package/src/models/DeleteTeamRequest.ts +4 -1
- package/src/models/DeleteTeamResponseBody.ts +38 -0
- package/src/models/DeleteUserRequest.ts +4 -1
- package/src/models/DeleteUserResponseBody.ts +29 -0
- package/src/models/GetCredentialResponseBody.ts +58 -1
- package/src/models/GetModelConnectionResponseBody.ts +67 -0
- package/src/models/GetTeamResponseBody.ts +131 -4
- package/src/models/GetUserResponseBody.ts +55 -2
- package/src/models/ListCredentialsRequest.ts +22 -0
- package/src/models/ListCredentialsResponseBody.ts +60 -1
- package/src/models/ListMcpsRequest.ts +11 -1
- package/src/models/ListMcpsResponseBody.ts +1 -1
- package/src/models/ListModelConnectionsRequest.ts +21 -0
- package/src/models/ListModelConnectionsResponseBody.ts +79 -0
- package/src/models/ListTeamsRequest.ts +9 -0
- package/src/models/ListTeamsResponseBody.ts +89 -1
- package/src/models/ResetUserPasswordRequest.ts +13 -0
- package/src/models/ResetUserPasswordResponseBody.ts +29 -0
- package/src/models/ResetUserPasswordShrinkRequest.ts +4 -0
- package/src/models/UpdateCredentialRequest.ts +15 -2
- package/src/models/UpdateCredentialResponseBody.ts +48 -1
- package/src/models/UpdateCredentialShrinkRequest.ts +8 -1
- package/src/models/UpdateModelRequest.ts +3 -3
- package/src/models/UpdateModelResponseBody.ts +7 -7
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateTeamRequest.ts +32 -2
- package/src/models/UpdateTeamResponseBody.ts +62 -1
- package/src/models/UpdateTeamShrinkRequest.ts +8 -1
- package/src/models/UpdateUserRequest.ts +19 -3
- package/src/models/UpdateUserResponseBody.ts +55 -2
- package/src/models/UpdateUserShrinkRequest.ts +8 -1
package/dist/client.js
CHANGED
|
@@ -62,7 +62,7 @@ class Client extends openapi_core_1.default {
|
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
|
|
66
66
|
*
|
|
67
67
|
* @param tmpReq - BatchDeleteModelsRequest
|
|
68
68
|
* @param headers - map
|
|
@@ -103,7 +103,7 @@ class Client extends openapi_core_1.default {
|
|
|
103
103
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteModelsResponse({}));
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
|
|
107
107
|
*
|
|
108
108
|
* @param request - BatchDeleteModelsRequest
|
|
109
109
|
* @returns BatchDeleteModelsResponse
|
|
@@ -337,7 +337,7 @@ class Client extends openapi_core_1.default {
|
|
|
337
337
|
return await this.createAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
338
338
|
}
|
|
339
339
|
/**
|
|
340
|
-
*
|
|
340
|
+
* Creates a credential in a specified workspace for agent authentication when accessing external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
|
|
341
341
|
*
|
|
342
342
|
* @param tmpReq - CreateCredentialRequest
|
|
343
343
|
* @param headers - map
|
|
@@ -378,7 +378,7 @@ class Client extends openapi_core_1.default {
|
|
|
378
378
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCredentialResponse({}));
|
|
379
379
|
}
|
|
380
380
|
/**
|
|
381
|
-
*
|
|
381
|
+
* Creates a credential in a specified workspace for agent authentication when accessing external services. Currently, only the apiKey type is supported. The credential content is passed in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
|
|
382
382
|
*
|
|
383
383
|
* @param request - CreateCredentialRequest
|
|
384
384
|
* @returns CreateCredentialResponse
|
|
@@ -706,7 +706,7 @@ class Client extends openapi_core_1.default {
|
|
|
706
706
|
return await this.createModelWithOptions(workspaceId, request, headers, runtime);
|
|
707
707
|
}
|
|
708
708
|
/**
|
|
709
|
-
*
|
|
709
|
+
* Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
|
|
710
710
|
*
|
|
711
711
|
* @param tmpReq - CreateModelConnectionRequest
|
|
712
712
|
* @param headers - map
|
|
@@ -747,7 +747,7 @@ class Client extends openapi_core_1.default {
|
|
|
747
747
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelConnectionResponse({}));
|
|
748
748
|
}
|
|
749
749
|
/**
|
|
750
|
-
*
|
|
750
|
+
* Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
|
|
751
751
|
*
|
|
752
752
|
* @param request - CreateModelConnectionRequest
|
|
753
753
|
* @returns CreateModelConnectionResponse
|
|
@@ -813,7 +813,7 @@ class Client extends openapi_core_1.default {
|
|
|
813
813
|
return await this.createSkillDraftWithOptions(workspaceId, request, headers, runtime);
|
|
814
814
|
}
|
|
815
815
|
/**
|
|
816
|
-
*
|
|
816
|
+
* Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
|
|
817
817
|
*
|
|
818
818
|
* @param tmpReq - CreateTeamRequest
|
|
819
819
|
* @param headers - map
|
|
@@ -854,7 +854,7 @@ class Client extends openapi_core_1.default {
|
|
|
854
854
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTeamResponse({}));
|
|
855
855
|
}
|
|
856
856
|
/**
|
|
857
|
-
*
|
|
857
|
+
* Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
|
|
858
858
|
*
|
|
859
859
|
* @param request - CreateTeamRequest
|
|
860
860
|
* @returns CreateTeamResponse
|
|
@@ -865,7 +865,7 @@ class Client extends openapi_core_1.default {
|
|
|
865
865
|
return await this.createTeamWithOptions(workspaceId, request, headers, runtime);
|
|
866
866
|
}
|
|
867
867
|
/**
|
|
868
|
-
*
|
|
868
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
869
869
|
*
|
|
870
870
|
* @param tmpReq - CreateUserRequest
|
|
871
871
|
* @param headers - map
|
|
@@ -906,7 +906,7 @@ class Client extends openapi_core_1.default {
|
|
|
906
906
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserResponse({}));
|
|
907
907
|
}
|
|
908
908
|
/**
|
|
909
|
-
*
|
|
909
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
910
910
|
*
|
|
911
911
|
* @param request - CreateUserRequest
|
|
912
912
|
* @returns CreateUserResponse
|
|
@@ -975,7 +975,7 @@ class Client extends openapi_core_1.default {
|
|
|
975
975
|
return await this.createWorkspaceWithOptions(request, headers, runtime);
|
|
976
976
|
}
|
|
977
977
|
/**
|
|
978
|
-
*
|
|
978
|
+
* Calls a specified model through a published model connection to verify whether the model call chain is available.
|
|
979
979
|
*
|
|
980
980
|
* @param tmpReq - DebugModelRequest
|
|
981
981
|
* @param headers - map
|
|
@@ -1011,7 +1011,7 @@ class Client extends openapi_core_1.default {
|
|
|
1011
1011
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DebugModelResponse({}));
|
|
1012
1012
|
}
|
|
1013
1013
|
/**
|
|
1014
|
-
*
|
|
1014
|
+
* Calls a specified model through a published model connection to verify whether the model call chain is available.
|
|
1015
1015
|
*
|
|
1016
1016
|
* @param request - DebugModelRequest
|
|
1017
1017
|
* @returns DebugModelResponse
|
|
@@ -1160,7 +1160,7 @@ class Client extends openapi_core_1.default {
|
|
|
1160
1160
|
return await this.deleteAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
1161
1161
|
}
|
|
1162
1162
|
/**
|
|
1163
|
-
*
|
|
1163
|
+
* Deletes a credential from the specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
|
|
1164
1164
|
*
|
|
1165
1165
|
* @param request - DeleteCredentialRequest
|
|
1166
1166
|
* @param headers - map
|
|
@@ -1191,7 +1191,7 @@ class Client extends openapi_core_1.default {
|
|
|
1191
1191
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCredentialResponse({}));
|
|
1192
1192
|
}
|
|
1193
1193
|
/**
|
|
1194
|
-
*
|
|
1194
|
+
* Deletes a credential from the specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
|
|
1195
1195
|
*
|
|
1196
1196
|
* @param request - DeleteCredentialRequest
|
|
1197
1197
|
* @returns DeleteCredentialResponse
|
|
@@ -1369,7 +1369,7 @@ class Client extends openapi_core_1.default {
|
|
|
1369
1369
|
return await this.deleteMcpWithOptions(mcpServerId, workspaceId, request, headers, runtime);
|
|
1370
1370
|
}
|
|
1371
1371
|
/**
|
|
1372
|
-
*
|
|
1372
|
+
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1373
1373
|
*
|
|
1374
1374
|
* @param request - DeleteModelRequest
|
|
1375
1375
|
* @param headers - map
|
|
@@ -1400,7 +1400,7 @@ class Client extends openapi_core_1.default {
|
|
|
1400
1400
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteModelResponse({}));
|
|
1401
1401
|
}
|
|
1402
1402
|
/**
|
|
1403
|
-
*
|
|
1403
|
+
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1404
1404
|
*
|
|
1405
1405
|
* @param request - DeleteModelRequest
|
|
1406
1406
|
* @returns DeleteModelResponse
|
|
@@ -1411,7 +1411,7 @@ class Client extends openapi_core_1.default {
|
|
|
1411
1411
|
return await this.deleteModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
1412
1412
|
}
|
|
1413
1413
|
/**
|
|
1414
|
-
*
|
|
1414
|
+
* Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
|
|
1415
1415
|
*
|
|
1416
1416
|
* @param request - DeleteModelConnectionRequest
|
|
1417
1417
|
* @param headers - map
|
|
@@ -1442,7 +1442,7 @@ class Client extends openapi_core_1.default {
|
|
|
1442
1442
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteModelConnectionResponse({}));
|
|
1443
1443
|
}
|
|
1444
1444
|
/**
|
|
1445
|
-
*
|
|
1445
|
+
* Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
|
|
1446
1446
|
*
|
|
1447
1447
|
* @param request - DeleteModelConnectionRequest
|
|
1448
1448
|
* @returns DeleteModelConnectionResponse
|
|
@@ -1543,7 +1543,7 @@ class Client extends openapi_core_1.default {
|
|
|
1543
1543
|
return await this.deleteSkillDraftWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
1544
1544
|
}
|
|
1545
1545
|
/**
|
|
1546
|
-
*
|
|
1546
|
+
* Deletes a team in the specified workspace. Deleting a team does not delete the users or agents in the team. It only dissociates the member relationships.
|
|
1547
1547
|
*
|
|
1548
1548
|
* @param request - DeleteTeamRequest
|
|
1549
1549
|
* @param headers - map
|
|
@@ -1574,7 +1574,7 @@ class Client extends openapi_core_1.default {
|
|
|
1574
1574
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTeamResponse({}));
|
|
1575
1575
|
}
|
|
1576
1576
|
/**
|
|
1577
|
-
*
|
|
1577
|
+
* Deletes a team in the specified workspace. Deleting a team does not delete the users or agents in the team. It only dissociates the member relationships.
|
|
1578
1578
|
*
|
|
1579
1579
|
* @param request - DeleteTeamRequest
|
|
1580
1580
|
* @returns DeleteTeamResponse
|
|
@@ -1585,7 +1585,7 @@ class Client extends openapi_core_1.default {
|
|
|
1585
1585
|
return await this.deleteTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
1586
1586
|
}
|
|
1587
1587
|
/**
|
|
1588
|
-
*
|
|
1588
|
+
* Deletes a user from a specified workspace. A user cannot be deleted while the user is still a member of any team. Remove the user from all teams before deleting the user.
|
|
1589
1589
|
*
|
|
1590
1590
|
* @param request - DeleteUserRequest
|
|
1591
1591
|
* @param headers - map
|
|
@@ -1616,7 +1616,7 @@ class Client extends openapi_core_1.default {
|
|
|
1616
1616
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserResponse({}));
|
|
1617
1617
|
}
|
|
1618
1618
|
/**
|
|
1619
|
-
*
|
|
1619
|
+
* Deletes a user from a specified workspace. A user cannot be deleted while the user is still a member of any team. Remove the user from all teams before deleting the user.
|
|
1620
1620
|
*
|
|
1621
1621
|
* @param request - DeleteUserRequest
|
|
1622
1622
|
* @returns DeleteUserResponse
|
|
@@ -2048,7 +2048,7 @@ class Client extends openapi_core_1.default {
|
|
|
2048
2048
|
return await this.getAgentSpecVersionWithOptions(workspaceId, agentSpecName, agentSpecVersion, request, headers, runtime);
|
|
2049
2049
|
}
|
|
2050
2050
|
/**
|
|
2051
|
-
*
|
|
2051
|
+
* Queries the details of a specified credential and returns the list of agents that are bound to the credential. The credential content is returned in masked form.
|
|
2052
2052
|
*
|
|
2053
2053
|
* @param request - GetCredentialRequest
|
|
2054
2054
|
* @param headers - map
|
|
@@ -2074,7 +2074,7 @@ class Client extends openapi_core_1.default {
|
|
|
2074
2074
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCredentialResponse({}));
|
|
2075
2075
|
}
|
|
2076
2076
|
/**
|
|
2077
|
-
*
|
|
2077
|
+
* Queries the details of a specified credential and returns the list of agents that are bound to the credential. The credential content is returned in masked form.
|
|
2078
2078
|
*
|
|
2079
2079
|
* @param request - GetCredentialRequest
|
|
2080
2080
|
* @returns GetCredentialResponse
|
|
@@ -2327,7 +2327,7 @@ class Client extends openapi_core_1.default {
|
|
|
2327
2327
|
return await this.getModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
2328
2328
|
}
|
|
2329
2329
|
/**
|
|
2330
|
-
*
|
|
2330
|
+
* Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
|
|
2331
2331
|
*
|
|
2332
2332
|
* @param request - GetModelConnectionRequest
|
|
2333
2333
|
* @param headers - map
|
|
@@ -2353,7 +2353,7 @@ class Client extends openapi_core_1.default {
|
|
|
2353
2353
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelConnectionResponse({}));
|
|
2354
2354
|
}
|
|
2355
2355
|
/**
|
|
2356
|
-
*
|
|
2356
|
+
* Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
|
|
2357
2357
|
*
|
|
2358
2358
|
* @param request - GetModelConnectionRequest
|
|
2359
2359
|
* @returns GetModelConnectionResponse
|
|
@@ -2590,7 +2590,7 @@ class Client extends openapi_core_1.default {
|
|
|
2590
2590
|
return await this.getSkillVersionDetailWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
2591
2591
|
}
|
|
2592
2592
|
/**
|
|
2593
|
-
*
|
|
2593
|
+
* Queries the details of a specified team. The response includes the complete properties and team roles of each user member and agent member in the team.
|
|
2594
2594
|
*
|
|
2595
2595
|
* @param request - GetTeamRequest
|
|
2596
2596
|
* @param headers - map
|
|
@@ -2616,7 +2616,7 @@ class Client extends openapi_core_1.default {
|
|
|
2616
2616
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTeamResponse({}));
|
|
2617
2617
|
}
|
|
2618
2618
|
/**
|
|
2619
|
-
*
|
|
2619
|
+
* Queries the details of a specified team. The response includes the complete properties and team roles of each user member and agent member in the team.
|
|
2620
2620
|
*
|
|
2621
2621
|
* @param request - GetTeamRequest
|
|
2622
2622
|
* @returns GetTeamResponse
|
|
@@ -2627,7 +2627,7 @@ class Client extends openapi_core_1.default {
|
|
|
2627
2627
|
return await this.getTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
2628
2628
|
}
|
|
2629
2629
|
/**
|
|
2630
|
-
*
|
|
2630
|
+
* Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
|
|
2631
2631
|
*
|
|
2632
2632
|
* @param request - GetUserRequest
|
|
2633
2633
|
* @param headers - map
|
|
@@ -2653,7 +2653,7 @@ class Client extends openapi_core_1.default {
|
|
|
2653
2653
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserResponse({}));
|
|
2654
2654
|
}
|
|
2655
2655
|
/**
|
|
2656
|
-
*
|
|
2656
|
+
* Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
|
|
2657
2657
|
*
|
|
2658
2658
|
* @param request - GetUserRequest
|
|
2659
2659
|
* @returns GetUserResponse
|
|
@@ -2986,7 +2986,7 @@ class Client extends openapi_core_1.default {
|
|
|
2986
2986
|
return await this.listAgentTeamsWithOptions(workspaceId, request, headers, runtime);
|
|
2987
2987
|
}
|
|
2988
2988
|
/**
|
|
2989
|
-
*
|
|
2989
|
+
* Queries credentials in a specified workspace by using paging. You can use credentialType to filter by type, nameLike to filter by credential name using fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
|
|
2990
2990
|
*
|
|
2991
2991
|
* @param request - ListCredentialsRequest
|
|
2992
2992
|
* @param headers - map
|
|
@@ -3002,6 +3002,9 @@ class Client extends openapi_core_1.default {
|
|
|
3002
3002
|
if (!$dara.isNull(request.maxResults)) {
|
|
3003
3003
|
query["maxResults"] = request.maxResults;
|
|
3004
3004
|
}
|
|
3005
|
+
if (!$dara.isNull(request.name)) {
|
|
3006
|
+
query["name"] = request.name;
|
|
3007
|
+
}
|
|
3005
3008
|
if (!$dara.isNull(request.nameLike)) {
|
|
3006
3009
|
query["nameLike"] = request.nameLike;
|
|
3007
3010
|
}
|
|
@@ -3026,7 +3029,7 @@ class Client extends openapi_core_1.default {
|
|
|
3026
3029
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
|
|
3027
3030
|
}
|
|
3028
3031
|
/**
|
|
3029
|
-
*
|
|
3032
|
+
* Queries credentials in a specified workspace by using paging. You can use credentialType to filter by type, nameLike to filter by credential name using fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default.
|
|
3030
3033
|
*
|
|
3031
3034
|
* @param request - ListCredentialsRequest
|
|
3032
3035
|
* @returns ListCredentialsResponse
|
|
@@ -3237,11 +3240,11 @@ class Client extends openapi_core_1.default {
|
|
|
3237
3240
|
return await this.listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
3238
3241
|
}
|
|
3239
3242
|
/**
|
|
3240
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3243
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by page.
|
|
3241
3244
|
*
|
|
3242
3245
|
* @remarks
|
|
3243
3246
|
* ## Operation description
|
|
3244
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3247
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by page.
|
|
3245
3248
|
*
|
|
3246
3249
|
* @param request - ListMcpsRequest
|
|
3247
3250
|
* @param headers - map
|
|
@@ -3281,11 +3284,11 @@ class Client extends openapi_core_1.default {
|
|
|
3281
3284
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpsResponse({}));
|
|
3282
3285
|
}
|
|
3283
3286
|
/**
|
|
3284
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3287
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by page.
|
|
3285
3288
|
*
|
|
3286
3289
|
* @remarks
|
|
3287
3290
|
* ## Operation description
|
|
3288
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3291
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by page.
|
|
3289
3292
|
*
|
|
3290
3293
|
* @param request - ListMcpsRequest
|
|
3291
3294
|
* @returns ListMcpsResponse
|
|
@@ -3296,10 +3299,10 @@ class Client extends openapi_core_1.default {
|
|
|
3296
3299
|
return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
|
|
3297
3300
|
}
|
|
3298
3301
|
/**
|
|
3299
|
-
*
|
|
3302
|
+
* Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
|
|
3300
3303
|
*
|
|
3301
3304
|
* @remarks
|
|
3302
|
-
*
|
|
3305
|
+
* Queries model connections in a specified AgentCore workspace. Supports filtering by name through `Name` and selecting exact match or fuzzy match through `SearchType`. Also supports filtering by model provider type and invoke protocol, and supports paging.
|
|
3303
3306
|
*
|
|
3304
3307
|
* @param request - ListModelConnectionsRequest
|
|
3305
3308
|
* @param headers - map
|
|
@@ -3348,10 +3351,10 @@ class Client extends openapi_core_1.default {
|
|
|
3348
3351
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelConnectionsResponse({}));
|
|
3349
3352
|
}
|
|
3350
3353
|
/**
|
|
3351
|
-
*
|
|
3354
|
+
* Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
|
|
3352
3355
|
*
|
|
3353
3356
|
* @remarks
|
|
3354
|
-
*
|
|
3357
|
+
* Queries model connections in a specified AgentCore workspace. Supports filtering by name through `Name` and selecting exact match or fuzzy match through `SearchType`. Also supports filtering by model provider type and invoke protocol, and supports paging.
|
|
3355
3358
|
*
|
|
3356
3359
|
* @param request - ListModelConnectionsRequest
|
|
3357
3360
|
* @returns ListModelConnectionsResponse
|
|
@@ -3630,7 +3633,7 @@ class Client extends openapi_core_1.default {
|
|
|
3630
3633
|
return await this.listSkillsWithOptions(workspaceId, request, headers, runtime);
|
|
3631
3634
|
}
|
|
3632
3635
|
/**
|
|
3633
|
-
*
|
|
3636
|
+
* Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
|
|
3634
3637
|
*
|
|
3635
3638
|
* @param request - ListTeamsRequest
|
|
3636
3639
|
* @param headers - map
|
|
@@ -3667,7 +3670,7 @@ class Client extends openapi_core_1.default {
|
|
|
3667
3670
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTeamsResponse({}));
|
|
3668
3671
|
}
|
|
3669
3672
|
/**
|
|
3670
|
-
*
|
|
3673
|
+
* Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
|
|
3671
3674
|
*
|
|
3672
3675
|
* @param request - ListTeamsRequest
|
|
3673
3676
|
* @returns ListTeamsResponse
|
|
@@ -4058,7 +4061,7 @@ class Client extends openapi_core_1.default {
|
|
|
4058
4061
|
return await this.redraftSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
4059
4062
|
}
|
|
4060
4063
|
/**
|
|
4061
|
-
*
|
|
4064
|
+
* Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
|
|
4062
4065
|
*
|
|
4063
4066
|
* @param tmpReq - ResetUserPasswordRequest
|
|
4064
4067
|
* @param headers - map
|
|
@@ -4094,7 +4097,7 @@ class Client extends openapi_core_1.default {
|
|
|
4094
4097
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetUserPasswordResponse({}));
|
|
4095
4098
|
}
|
|
4096
4099
|
/**
|
|
4097
|
-
*
|
|
4100
|
+
* Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
|
|
4098
4101
|
*
|
|
4099
4102
|
* @param request - ResetUserPasswordRequest
|
|
4100
4103
|
* @returns ResetUserPasswordResponse
|
|
@@ -4386,7 +4389,7 @@ class Client extends openapi_core_1.default {
|
|
|
4386
4389
|
return await this.updateAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
4387
4390
|
}
|
|
4388
4391
|
/**
|
|
4389
|
-
*
|
|
4392
|
+
* Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
4390
4393
|
*
|
|
4391
4394
|
* @param tmpReq - UpdateCredentialRequest
|
|
4392
4395
|
* @param headers - map
|
|
@@ -4427,7 +4430,7 @@ class Client extends openapi_core_1.default {
|
|
|
4427
4430
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCredentialResponse({}));
|
|
4428
4431
|
}
|
|
4429
4432
|
/**
|
|
4430
|
-
*
|
|
4433
|
+
* Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
4431
4434
|
*
|
|
4432
4435
|
* @param request - UpdateCredentialRequest
|
|
4433
4436
|
* @returns UpdateCredentialResponse
|
|
@@ -4655,7 +4658,12 @@ class Client extends openapi_core_1.default {
|
|
|
4655
4658
|
return await this.updateMcpWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
4656
4659
|
}
|
|
4657
4660
|
/**
|
|
4658
|
-
* Updates the description
|
|
4661
|
+
* Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
|
|
4662
|
+
*
|
|
4663
|
+
* @remarks
|
|
4664
|
+
* This operation updates description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
|
|
4665
|
+
* Modifying only description does not refresh the model configuration of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
|
|
4666
|
+
* A successful response indicates that the model configuration has been saved. It does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
|
|
4659
4667
|
*
|
|
4660
4668
|
* @param tmpReq - UpdateModelRequest
|
|
4661
4669
|
* @param headers - map
|
|
@@ -4696,7 +4704,12 @@ class Client extends openapi_core_1.default {
|
|
|
4696
4704
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateModelResponse({}));
|
|
4697
4705
|
}
|
|
4698
4706
|
/**
|
|
4699
|
-
* Updates the description
|
|
4707
|
+
* Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
|
|
4708
|
+
*
|
|
4709
|
+
* @remarks
|
|
4710
|
+
* This operation updates description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
|
|
4711
|
+
* Modifying only description does not refresh the model configuration of associated agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed agents that reference the model within the same workspace, as well as external agents whose model source is PLATFORM. External agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
|
|
4712
|
+
* A successful response indicates that the model configuration has been saved. It does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
|
|
4700
4713
|
*
|
|
4701
4714
|
* @param request - UpdateModelRequest
|
|
4702
4715
|
* @returns UpdateModelResponse
|
|
@@ -4924,7 +4937,7 @@ class Client extends openapi_core_1.default {
|
|
|
4924
4937
|
return await this.updateSkillScopeWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
4925
4938
|
}
|
|
4926
4939
|
/**
|
|
4927
|
-
*
|
|
4940
|
+
* Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
|
|
4928
4941
|
*
|
|
4929
4942
|
* @param tmpReq - UpdateTeamRequest
|
|
4930
4943
|
* @param headers - map
|
|
@@ -4965,7 +4978,7 @@ class Client extends openapi_core_1.default {
|
|
|
4965
4978
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTeamResponse({}));
|
|
4966
4979
|
}
|
|
4967
4980
|
/**
|
|
4968
|
-
*
|
|
4981
|
+
* Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
|
|
4969
4982
|
*
|
|
4970
4983
|
* @param request - UpdateTeamRequest
|
|
4971
4984
|
* @returns UpdateTeamResponse
|
|
@@ -4976,7 +4989,7 @@ class Client extends openapi_core_1.default {
|
|
|
4976
4989
|
return await this.updateTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
4977
4990
|
}
|
|
4978
4991
|
/**
|
|
4979
|
-
*
|
|
4992
|
+
* Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
|
|
4980
4993
|
*
|
|
4981
4994
|
* @param tmpReq - UpdateUserRequest
|
|
4982
4995
|
* @param headers - map
|
|
@@ -5017,7 +5030,7 @@ class Client extends openapi_core_1.default {
|
|
|
5017
5030
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserResponse({}));
|
|
5018
5031
|
}
|
|
5019
5032
|
/**
|
|
5020
|
-
*
|
|
5033
|
+
* Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
|
|
5021
5034
|
*
|
|
5022
5035
|
* @param request - UpdateUserRequest
|
|
5023
5036
|
* @returns UpdateUserResponse
|