@alicloud/agentcore20260804 2.3.2 → 2.5.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 +684 -228
- package/dist/client.js +1332 -303
- package/dist/client.js.map +1 -1
- package/dist/models/AddMemoriesRequest.d.ts +140 -0
- package/dist/models/AddMemoriesRequest.js +145 -0
- package/dist/models/AddMemoriesRequest.js.map +1 -0
- package/dist/models/AddMemoriesResponse.d.ts +19 -0
- package/dist/models/AddMemoriesResponse.js +69 -0
- package/dist/models/AddMemoriesResponse.js.map +1 -0
- package/dist/models/AddMemoriesResponseBody.d.ts +100 -0
- package/dist/models/AddMemoriesResponseBody.js +114 -0
- package/dist/models/AddMemoriesResponseBody.js.map +1 -0
- package/dist/models/AddMemoriesShrinkRequest.d.ts +20 -0
- package/dist/models/AddMemoriesShrinkRequest.js +58 -0
- package/dist/models/AddMemoriesShrinkRequest.js.map +1 -0
- package/dist/models/BatchDeleteModelsRequest.d.ts +1 -3
- package/dist/models/BatchDeleteModelsRequest.js +0 -2
- package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
- package/dist/models/BatchDeleteModelsResponseBody.d.ts +3 -3
- package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +1 -1
- package/dist/models/BatchUploadSkillsViaOssRequest.d.ts +1 -1
- package/dist/models/BatchUploadSkillsViaOssResponseBody.d.ts +1 -1
- package/dist/models/ConvertMcpToFreeEditRequest.d.ts +1 -1
- package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +51 -51
- package/dist/models/CreateAgentImchannelRequest.d.ts +5 -8
- package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
- package/dist/models/CreateAgentImchannelResponseBody.d.ts +10 -13
- package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/CreateAgentSpecRequest.d.ts +1 -1
- package/dist/models/CreateAgentSpecVersionRequest.d.ts +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +8 -8
- package/dist/models/CreateCredentialResponseBody.d.ts +13 -13
- package/dist/models/CreateCustomAgentRequest.d.ts +66 -49
- package/dist/models/CreateCustomAgentRequest.js +27 -1
- package/dist/models/CreateCustomAgentRequest.js.map +1 -1
- package/dist/models/CreateCustomAgentResponseBody.d.ts +190 -57
- package/dist/models/CreateCustomAgentResponseBody.js +59 -1
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateExternalAgentBootstrapTokenRequest.d.ts +1 -3
- package/dist/models/CreateExternalAgentBootstrapTokenRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +9 -11
- package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.js.map +1 -1
- package/dist/models/CreateIdentityProviderRequest.d.ts +7 -9
- package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
- package/dist/models/CreateIdentityProviderResponseBody.d.ts +9 -11
- package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/CreateImageCacheRequest.d.ts +122 -0
- package/dist/models/CreateImageCacheRequest.js +96 -0
- package/dist/models/CreateImageCacheRequest.js.map +1 -0
- package/dist/models/CreateImageCacheResponse.d.ts +19 -0
- package/dist/models/CreateImageCacheResponse.js +69 -0
- package/dist/models/CreateImageCacheResponse.js.map +1 -0
- package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
- package/dist/models/CreateImageCacheResponseBody.js +140 -0
- package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
- package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
- package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
- package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/CreateMemoryStoreRequest.d.ts +66 -0
- package/dist/models/CreateMemoryStoreRequest.js +86 -0
- package/dist/models/CreateMemoryStoreRequest.js.map +1 -0
- package/dist/models/CreateMemoryStoreResponse.d.ts +19 -0
- package/dist/models/CreateMemoryStoreResponse.js +69 -0
- package/dist/models/CreateMemoryStoreResponse.js.map +1 -0
- package/dist/models/CreateMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/CreateMemoryStoreResponseBody.js +104 -0
- package/dist/models/CreateMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.d.ts +28 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.js +60 -0
- package/dist/models/CreateMemoryStoreShrinkRequest.js.map +1 -0
- package/dist/models/CreateModelConnectionRequest.d.ts +4 -4
- package/dist/models/CreateModelConnectionResponseBody.d.ts +13 -13
- package/dist/models/CreateModelConnectionShrinkRequest.d.ts +1 -1
- package/dist/models/CreateModelRequest.d.ts +6 -6
- package/dist/models/CreateModelResponseBody.d.ts +11 -11
- package/dist/models/CreateModelShrinkRequest.d.ts +1 -1
- package/dist/models/CreateTeamRequest.d.ts +4 -4
- package/dist/models/CreateTeamResponseBody.d.ts +7 -7
- package/dist/models/CreateUserRequest.d.ts +6 -6
- package/dist/models/CreateUserResponseBody.d.ts +11 -11
- package/dist/models/CreateWorkspaceRequest.d.ts +22 -10
- package/dist/models/CreateWorkspaceRequest.js +4 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceResponseBody.d.ts +29 -13
- package/dist/models/CreateWorkspaceResponseBody.js +4 -0
- package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/CreateWorkspaceShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteAgentSpecResponseBody.d.ts +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +2 -2
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +11 -4
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteExternalAgentResponseBody.d.ts +6 -12
- package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
- package/dist/models/DeleteImageCacheRequest.js +60 -0
- package/dist/models/DeleteImageCacheRequest.js.map +1 -0
- package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
- package/dist/models/DeleteImageCacheResponse.js +69 -0
- package/dist/models/DeleteImageCacheResponse.js.map +1 -0
- package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
- package/dist/models/DeleteImageCacheResponseBody.js +92 -0
- package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
- package/dist/models/DeleteManagedAgentResponseBody.d.ts +6 -6
- package/dist/models/DeleteMcpResponseBody.d.ts +3 -3
- package/dist/models/DeleteMemoryRequest.d.ts +13 -0
- package/dist/models/DeleteMemoryRequest.js +54 -0
- package/dist/models/DeleteMemoryRequest.js.map +1 -0
- package/dist/models/DeleteMemoryResponse.d.ts +19 -0
- package/dist/models/DeleteMemoryResponse.js +69 -0
- package/dist/models/DeleteMemoryResponse.js.map +1 -0
- package/dist/models/DeleteMemoryResponseBody.d.ts +50 -0
- package/dist/models/DeleteMemoryResponseBody.js +66 -0
- package/dist/models/DeleteMemoryResponseBody.js.map +1 -0
- package/dist/models/DeleteMemoryStoreRequest.d.ts +13 -0
- package/dist/models/DeleteMemoryStoreRequest.js +54 -0
- package/dist/models/DeleteMemoryStoreRequest.js.map +1 -0
- package/dist/models/DeleteMemoryStoreResponse.d.ts +19 -0
- package/dist/models/DeleteMemoryStoreResponse.js +69 -0
- package/dist/models/DeleteMemoryStoreResponse.js.map +1 -0
- package/dist/models/DeleteMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/DeleteMemoryStoreResponseBody.js +104 -0
- package/dist/models/DeleteMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/DeleteWorkspaceResponseBody.d.ts +1 -1
- package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
- package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -20
- package/dist/models/GetAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/GetAgentSpecImportFileUrlRequest.d.ts +1 -1
- package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +3 -3
- package/dist/models/GetAgentSpecResponseBody.d.ts +9 -9
- package/dist/models/GetAgentSpecVersionResponseBody.d.ts +3 -3
- package/dist/models/GetCredentialResponseBody.d.ts +11 -11
- package/dist/models/GetCustomAgentResponseBody.d.ts +341 -9
- package/dist/models/GetCustomAgentResponseBody.js +31 -1
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +8 -10
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +20 -20
- package/dist/models/GetImageCacheRequest.d.ts +33 -0
- package/dist/models/GetImageCacheRequest.js +60 -0
- package/dist/models/GetImageCacheRequest.js.map +1 -0
- package/dist/models/GetImageCacheResponse.d.ts +19 -0
- package/dist/models/GetImageCacheResponse.js +69 -0
- package/dist/models/GetImageCacheResponse.js.map +1 -0
- package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
- package/dist/models/GetImageCacheResponseBody.js +140 -0
- package/dist/models/GetImageCacheResponseBody.js.map +1 -0
- package/dist/models/GetMemoryRequest.d.ts +13 -0
- package/dist/models/GetMemoryRequest.js +54 -0
- package/dist/models/GetMemoryRequest.js.map +1 -0
- package/dist/models/GetMemoryResponse.d.ts +19 -0
- package/dist/models/GetMemoryResponse.js +69 -0
- package/dist/models/GetMemoryResponse.js.map +1 -0
- package/dist/models/GetMemoryResponseBody.d.ts +164 -0
- package/dist/models/GetMemoryResponseBody.js +151 -0
- package/dist/models/GetMemoryResponseBody.js.map +1 -0
- package/dist/models/GetMemoryStoreRequest.d.ts +13 -0
- package/dist/models/GetMemoryStoreRequest.js +54 -0
- package/dist/models/GetMemoryStoreRequest.js.map +1 -0
- package/dist/models/GetMemoryStoreResponse.d.ts +19 -0
- package/dist/models/GetMemoryStoreResponse.js +69 -0
- package/dist/models/GetMemoryStoreResponse.js.map +1 -0
- package/dist/models/GetMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/GetMemoryStoreResponseBody.js +104 -0
- package/dist/models/GetMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/GetMemoryTaskRequest.d.ts +13 -0
- package/dist/models/GetMemoryTaskRequest.js +54 -0
- package/dist/models/GetMemoryTaskRequest.js.map +1 -0
- package/dist/models/GetMemoryTaskResponse.d.ts +19 -0
- package/dist/models/GetMemoryTaskResponse.js +69 -0
- package/dist/models/GetMemoryTaskResponse.js.map +1 -0
- package/dist/models/GetMemoryTaskResponseBody.d.ts +145 -0
- package/dist/models/GetMemoryTaskResponseBody.js +142 -0
- package/dist/models/GetMemoryTaskResponseBody.js.map +1 -0
- package/dist/models/GetModelConnectionResponseBody.d.ts +13 -13
- package/dist/models/GetModelResponseBody.d.ts +10 -10
- package/dist/models/GetServiceEndpointApiKeyResponseBody.d.ts +13 -14
- package/dist/models/GetServiceEndpointApiKeyResponseBody.js.map +1 -1
- package/dist/models/GetSkillImportFileUrlRequest.d.ts +1 -1
- package/dist/models/GetSkillImportFileUrlResponseBody.d.ts +4 -4
- package/dist/models/GetUserResponseBody.d.ts +10 -16
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +3 -3
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +27 -5
- package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.d.ts +3 -3
- package/dist/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.d.ts +2 -2
- package/dist/models/GetWorkspaceResponseBody.d.ts +22 -6
- package/dist/models/GetWorkspaceResponseBody.js +4 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/InstallWorkspacePluginRequest.d.ts +5 -5
- package/dist/models/InstallWorkspacePluginResponseBody.d.ts +2 -2
- package/dist/models/ListAgentTeamsRequest.d.ts +1 -1
- package/dist/models/ListAgentTeamsResponseBody.d.ts +6 -6
- package/dist/models/ListAgentTeamsShrinkRequest.d.ts +1 -1
- package/dist/models/ListCredentialsRequest.d.ts +2 -2
- package/dist/models/ListCredentialsResponseBody.d.ts +15 -15
- package/dist/models/ListCustomAgentsRequest.d.ts +1 -1
- package/dist/models/ListCustomAgentsResponseBody.d.ts +22 -12
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
- package/dist/models/ListExternalAgentsRequest.d.ts +1 -1
- package/dist/models/ListExternalAgentsResponseBody.d.ts +10 -16
- package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
- package/dist/models/ListIdentityProvidersRequest.d.ts +2 -2
- package/dist/models/ListIdentityProvidersResponseBody.d.ts +24 -15
- package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
- package/dist/models/ListImageCachesRequest.d.ts +113 -0
- package/dist/models/ListImageCachesRequest.js +80 -0
- package/dist/models/ListImageCachesRequest.js.map +1 -0
- package/dist/models/ListImageCachesResponse.d.ts +19 -0
- package/dist/models/ListImageCachesResponse.js +69 -0
- package/dist/models/ListImageCachesResponse.js.map +1 -0
- package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
- package/dist/models/ListImageCachesResponseBody.js +146 -0
- package/dist/models/ListImageCachesResponseBody.js.map +1 -0
- package/dist/models/ListMemoriesRequest.d.ts +53 -0
- package/dist/models/ListMemoriesRequest.js +66 -0
- package/dist/models/ListMemoriesRequest.js.map +1 -0
- package/dist/models/ListMemoriesResponse.d.ts +19 -0
- package/dist/models/ListMemoriesResponse.js +69 -0
- package/dist/models/ListMemoriesResponse.js.map +1 -0
- package/dist/models/ListMemoriesResponseBody.d.ts +180 -0
- package/dist/models/ListMemoriesResponseBody.js +155 -0
- package/dist/models/ListMemoriesResponseBody.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesRequest.d.ts +55 -0
- package/dist/models/ListMemorySessionMessagesRequest.js +66 -0
- package/dist/models/ListMemorySessionMessagesRequest.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesResponse.d.ts +19 -0
- package/dist/models/ListMemorySessionMessagesResponse.js +69 -0
- package/dist/models/ListMemorySessionMessagesResponse.js.map +1 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.d.ts +99 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.js +96 -0
- package/dist/models/ListMemorySessionMessagesResponseBody.js.map +1 -0
- package/dist/models/ListMemorySessionsRequest.d.ts +45 -0
- package/dist/models/ListMemorySessionsRequest.js +64 -0
- package/dist/models/ListMemorySessionsRequest.js.map +1 -0
- package/dist/models/ListMemorySessionsResponse.d.ts +19 -0
- package/dist/models/ListMemorySessionsResponse.js +69 -0
- package/dist/models/ListMemorySessionsResponse.js.map +1 -0
- package/dist/models/ListMemorySessionsResponseBody.d.ts +107 -0
- package/dist/models/ListMemorySessionsResponseBody.js +98 -0
- package/dist/models/ListMemorySessionsResponseBody.js.map +1 -0
- package/dist/models/ListMemoryStoresRequest.d.ts +29 -0
- package/dist/models/ListMemoryStoresRequest.js +60 -0
- package/dist/models/ListMemoryStoresRequest.js.map +1 -0
- package/dist/models/ListMemoryStoresResponse.d.ts +19 -0
- package/dist/models/ListMemoryStoresResponse.js +69 -0
- package/dist/models/ListMemoryStoresResponse.js.map +1 -0
- package/dist/models/ListMemoryStoresResponseBody.d.ts +158 -0
- package/dist/models/ListMemoryStoresResponseBody.js +110 -0
- package/dist/models/ListMemoryStoresResponseBody.js.map +1 -0
- package/dist/models/ListPredefinedModelProvidersResponseBody.d.ts +64 -0
- package/dist/models/ListPredefinedModelProvidersResponseBody.js.map +1 -1
- package/dist/models/ListPredefinedModelsResponseBody.d.ts +9 -9
- package/dist/models/ListServiceEndpointsRequest.d.ts +8 -8
- package/dist/models/ListServiceEndpointsResponseBody.d.ts +19 -19
- package/dist/models/ListSkillReferencesRequest.d.ts +4 -4
- package/dist/models/ListSkillReferencesResponseBody.d.ts +6 -6
- package/dist/models/ListTeamsRequest.d.ts +3 -3
- package/dist/models/ListTeamsResponseBody.d.ts +12 -24
- package/dist/models/ListTeamsResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesRequest.d.ts +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +26 -14
- package/dist/models/ListWorkspacesResponseBody.js +4 -0
- package/dist/models/ListWorkspacesResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordRequest.d.ts +3 -3
- package/dist/models/ResetUserPasswordResponseBody.d.ts +3 -3
- package/dist/models/RetryImageCacheRequest.d.ts +60 -0
- package/dist/models/RetryImageCacheRequest.js +82 -0
- package/dist/models/RetryImageCacheRequest.js.map +1 -0
- package/dist/models/RetryImageCacheResponse.d.ts +19 -0
- package/dist/models/RetryImageCacheResponse.js +69 -0
- package/dist/models/RetryImageCacheResponse.js.map +1 -0
- package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
- package/dist/models/RetryImageCacheResponseBody.js +140 -0
- package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
- package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
- package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
- package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
- package/dist/models/SearchMemoriesRequest.d.ts +119 -0
- package/dist/models/SearchMemoriesRequest.js +121 -0
- package/dist/models/SearchMemoriesRequest.js.map +1 -0
- package/dist/models/SearchMemoriesResponse.d.ts +19 -0
- package/dist/models/SearchMemoriesResponse.js +69 -0
- package/dist/models/SearchMemoriesResponse.js.map +1 -0
- package/dist/models/SearchMemoriesResponseBody.d.ts +214 -0
- package/dist/models/SearchMemoriesResponseBody.js +199 -0
- package/dist/models/SearchMemoriesResponseBody.js.map +1 -0
- package/dist/models/SearchMemoriesShrinkRequest.d.ts +20 -0
- package/dist/models/SearchMemoriesShrinkRequest.js +58 -0
- package/dist/models/SearchMemoriesShrinkRequest.js.map +1 -0
- package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +2 -2
- package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +6 -6
- package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelResponseBody.d.ts +9 -18
- package/dist/models/UpdateAgentImchannelResponseBody.js.map +1 -1
- package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateCredentialRequest.d.ts +6 -6
- package/dist/models/UpdateCredentialResponseBody.d.ts +10 -10
- package/dist/models/UpdateCustomAgentRequest.d.ts +62 -32
- package/dist/models/UpdateCustomAgentRequest.js +27 -1
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +191 -43
- package/dist/models/UpdateCustomAgentResponseBody.js +59 -1
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateMemoryRequest.d.ts +47 -0
- package/dist/models/UpdateMemoryRequest.js +85 -0
- package/dist/models/UpdateMemoryRequest.js.map +1 -0
- package/dist/models/UpdateMemoryResponse.d.ts +19 -0
- package/dist/models/UpdateMemoryResponse.js +69 -0
- package/dist/models/UpdateMemoryResponse.js.map +1 -0
- package/dist/models/UpdateMemoryResponseBody.d.ts +164 -0
- package/dist/models/UpdateMemoryResponseBody.js +151 -0
- package/dist/models/UpdateMemoryResponseBody.js.map +1 -0
- package/dist/models/UpdateMemoryShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateMemoryShrinkRequest.js +58 -0
- package/dist/models/UpdateMemoryShrinkRequest.js.map +1 -0
- package/dist/models/UpdateMemoryStoreRequest.d.ts +56 -0
- package/dist/models/UpdateMemoryStoreRequest.js +84 -0
- package/dist/models/UpdateMemoryStoreRequest.js.map +1 -0
- package/dist/models/UpdateMemoryStoreResponse.d.ts +19 -0
- package/dist/models/UpdateMemoryStoreResponse.js +69 -0
- package/dist/models/UpdateMemoryStoreResponse.js.map +1 -0
- package/dist/models/UpdateMemoryStoreResponseBody.d.ts +131 -0
- package/dist/models/UpdateMemoryStoreResponseBody.js +104 -0
- package/dist/models/UpdateMemoryStoreResponseBody.js.map +1 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.d.ts +28 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.js +60 -0
- package/dist/models/UpdateMemoryStoreShrinkRequest.js.map +1 -0
- package/dist/models/UpdateModelConnectionRequest.d.ts +4 -4
- package/dist/models/UpdateModelConnectionResponseBody.d.ts +12 -12
- package/dist/models/UpdateModelConnectionShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateModelRequest.d.ts +31 -14
- package/dist/models/UpdateModelRequest.js.map +1 -1
- package/dist/models/UpdateModelResponseBody.d.ts +12 -12
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateSkillBizTagsRequest.d.ts +1 -1
- package/dist/models/UpdateSkillScopeRequest.d.ts +1 -1
- package/dist/models/UpdateTeamRequest.d.ts +7 -13
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +11 -25
- package/dist/models/UpdateTeamResponseBody.js.map +1 -1
- package/dist/models/UpdateTeamShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateUserRequest.d.ts +3 -3
- package/dist/models/UpdateUserResponseBody.d.ts +8 -8
- package/dist/models/UpdateWorkspaceRequest.d.ts +21 -7
- package/dist/models/UpdateWorkspaceRequest.js +4 -0
- package/dist/models/UpdateWorkspaceRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +26 -10
- package/dist/models/UpdateWorkspaceResponseBody.js +4 -0
- package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/UpdateWorkspaceShrinkRequest.d.ts +1 -1
- package/dist/models/UploadAgentSpecViaOssRequest.d.ts +3 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +3 -3
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +37 -7
- package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +116 -0
- package/dist/models/model.js +320 -85
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +1456 -335
- package/src/models/AddMemoriesRequest.ts +209 -0
- package/src/models/AddMemoriesResponse.ts +40 -0
- package/src/models/AddMemoriesResponseBody.ts +151 -0
- package/src/models/AddMemoriesShrinkRequest.ts +33 -0
- package/src/models/BatchDeleteModelsRequest.ts +1 -3
- package/src/models/BatchDeleteModelsResponseBody.ts +3 -3
- package/src/models/BatchDeleteModelsShrinkRequest.ts +1 -1
- package/src/models/BatchUploadSkillsViaOssRequest.ts +1 -1
- package/src/models/BatchUploadSkillsViaOssResponseBody.ts +1 -1
- package/src/models/ConvertMcpToFreeEditRequest.ts +1 -1
- package/src/models/ConvertMcpToFreeEditResponseBody.ts +51 -51
- package/src/models/CreateAgentImchannelRequest.ts +5 -8
- package/src/models/CreateAgentImchannelResponseBody.ts +10 -13
- package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/CreateAgentSpecRequest.ts +1 -1
- package/src/models/CreateAgentSpecVersionRequest.ts +1 -1
- package/src/models/CreateCredentialRequest.ts +8 -8
- package/src/models/CreateCredentialResponseBody.ts +13 -13
- package/src/models/CreateCustomAgentRequest.ts +83 -49
- package/src/models/CreateCustomAgentResponseBody.ts +230 -57
- package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
- package/src/models/CreateExternalAgentBootstrapTokenRequest.ts +1 -3
- package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +9 -11
- package/src/models/CreateIdentityProviderRequest.ts +7 -9
- package/src/models/CreateIdentityProviderResponseBody.ts +9 -11
- package/src/models/CreateImageCacheRequest.ts +164 -0
- package/src/models/CreateImageCacheResponse.ts +40 -0
- package/src/models/CreateImageCacheResponseBody.ts +337 -0
- package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
- package/src/models/CreateMemoryStoreRequest.ts +98 -0
- package/src/models/CreateMemoryStoreResponse.ts +40 -0
- package/src/models/CreateMemoryStoreResponseBody.ts +181 -0
- package/src/models/CreateMemoryStoreShrinkRequest.ts +43 -0
- package/src/models/CreateModelConnectionRequest.ts +4 -4
- package/src/models/CreateModelConnectionResponseBody.ts +13 -13
- package/src/models/CreateModelConnectionShrinkRequest.ts +1 -1
- package/src/models/CreateModelRequest.ts +6 -6
- package/src/models/CreateModelResponseBody.ts +11 -11
- package/src/models/CreateModelShrinkRequest.ts +1 -1
- package/src/models/CreateTeamRequest.ts +4 -4
- package/src/models/CreateTeamResponseBody.ts +7 -7
- package/src/models/CreateUserRequest.ts +6 -6
- package/src/models/CreateUserResponseBody.ts +11 -11
- package/src/models/CreateWorkspaceRequest.ts +26 -10
- package/src/models/CreateWorkspaceResponseBody.ts +33 -13
- package/src/models/CreateWorkspaceShrinkRequest.ts +1 -1
- package/src/models/DeleteAgentSpecResponseBody.ts +1 -1
- package/src/models/DeleteCredentialResponseBody.ts +2 -2
- package/src/models/DeleteCustomAgentResponseBody.ts +11 -4
- package/src/models/DeleteExternalAgentResponseBody.ts +6 -12
- package/src/models/DeleteImageCacheRequest.ts +48 -0
- package/src/models/DeleteImageCacheResponse.ts +40 -0
- package/src/models/DeleteImageCacheResponseBody.ts +140 -0
- package/src/models/DeleteManagedAgentResponseBody.ts +6 -6
- package/src/models/DeleteMcpResponseBody.ts +3 -3
- package/src/models/DeleteMemoryRequest.ts +24 -0
- package/src/models/DeleteMemoryResponse.ts +40 -0
- package/src/models/DeleteMemoryResponseBody.ts +71 -0
- package/src/models/DeleteMemoryStoreRequest.ts +24 -0
- package/src/models/DeleteMemoryStoreResponse.ts +40 -0
- package/src/models/DeleteMemoryStoreResponseBody.ts +181 -0
- package/src/models/DeleteWorkspaceResponseBody.ts +1 -1
- package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
- package/src/models/GetAgentImchannelResponseBody.ts +11 -20
- package/src/models/GetAgentSpecImportFileUrlRequest.ts +1 -1
- package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +3 -3
- package/src/models/GetAgentSpecResponseBody.ts +9 -9
- package/src/models/GetAgentSpecVersionResponseBody.ts +3 -3
- package/src/models/GetCredentialResponseBody.ts +11 -11
- package/src/models/GetCustomAgentResponseBody.ts +362 -9
- package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +8 -10
- package/src/models/GetIdentityProviderResponseBody.ts +20 -20
- package/src/models/GetImageCacheRequest.ts +48 -0
- package/src/models/GetImageCacheResponse.ts +40 -0
- package/src/models/GetImageCacheResponseBody.ts +341 -0
- package/src/models/GetMemoryRequest.ts +24 -0
- package/src/models/GetMemoryResponse.ts +40 -0
- package/src/models/GetMemoryResponseBody.ts +241 -0
- package/src/models/GetMemoryStoreRequest.ts +24 -0
- package/src/models/GetMemoryStoreResponse.ts +40 -0
- package/src/models/GetMemoryStoreResponseBody.ts +181 -0
- package/src/models/GetMemoryTaskRequest.ts +24 -0
- package/src/models/GetMemoryTaskResponse.ts +40 -0
- package/src/models/GetMemoryTaskResponseBody.ts +215 -0
- package/src/models/GetModelConnectionResponseBody.ts +13 -13
- package/src/models/GetModelResponseBody.ts +10 -10
- package/src/models/GetServiceEndpointApiKeyResponseBody.ts +13 -14
- package/src/models/GetSkillImportFileUrlRequest.ts +1 -1
- package/src/models/GetSkillImportFileUrlResponseBody.ts +4 -4
- package/src/models/GetUserResponseBody.ts +10 -16
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +3 -3
- package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +27 -5
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest.ts +3 -3
- package/src/models/GetWorkspaceAgenticFsMountRamAuthorizeUrlResponseBody.ts +2 -2
- package/src/models/GetWorkspaceResponseBody.ts +26 -6
- package/src/models/InstallWorkspacePluginRequest.ts +5 -5
- package/src/models/InstallWorkspacePluginResponseBody.ts +2 -2
- package/src/models/ListAgentTeamsRequest.ts +1 -1
- package/src/models/ListAgentTeamsResponseBody.ts +6 -6
- package/src/models/ListAgentTeamsShrinkRequest.ts +1 -1
- package/src/models/ListCredentialsRequest.ts +2 -2
- package/src/models/ListCredentialsResponseBody.ts +15 -15
- package/src/models/ListCustomAgentsRequest.ts +1 -1
- package/src/models/ListCustomAgentsResponseBody.ts +22 -12
- package/src/models/ListExternalAgentsRequest.ts +1 -1
- package/src/models/ListExternalAgentsResponseBody.ts +10 -16
- package/src/models/ListIdentityProvidersRequest.ts +2 -2
- package/src/models/ListIdentityProvidersResponseBody.ts +24 -15
- package/src/models/ListImageCachesRequest.ts +148 -0
- package/src/models/ListImageCachesResponse.ts +40 -0
- package/src/models/ListImageCachesResponseBody.ts +373 -0
- package/src/models/ListMemoriesRequest.ts +74 -0
- package/src/models/ListMemoriesResponse.ts +40 -0
- package/src/models/ListMemoriesResponseBody.ts +261 -0
- package/src/models/ListMemorySessionMessagesRequest.ts +76 -0
- package/src/models/ListMemorySessionMessagesResponse.ts +40 -0
- package/src/models/ListMemorySessionMessagesResponseBody.ts +141 -0
- package/src/models/ListMemorySessionsRequest.ts +64 -0
- package/src/models/ListMemorySessionsResponse.ts +40 -0
- package/src/models/ListMemorySessionsResponseBody.ts +151 -0
- package/src/models/ListMemoryStoresRequest.ts +44 -0
- package/src/models/ListMemoryStoresResponse.ts +40 -0
- package/src/models/ListMemoryStoresResponseBody.ts +214 -0
- package/src/models/ListPredefinedModelProvidersResponseBody.ts +64 -0
- package/src/models/ListPredefinedModelsResponseBody.ts +9 -9
- package/src/models/ListServiceEndpointsRequest.ts +8 -8
- package/src/models/ListServiceEndpointsResponseBody.ts +19 -19
- package/src/models/ListSkillReferencesRequest.ts +4 -4
- package/src/models/ListSkillReferencesResponseBody.ts +6 -6
- package/src/models/ListTeamsRequest.ts +3 -3
- package/src/models/ListTeamsResponseBody.ts +12 -24
- package/src/models/ListWorkspacesRequest.ts +1 -1
- package/src/models/ListWorkspacesResponseBody.ts +30 -14
- package/src/models/ResetUserPasswordRequest.ts +3 -3
- package/src/models/ResetUserPasswordResponseBody.ts +3 -3
- package/src/models/RetryImageCacheRequest.ts +90 -0
- package/src/models/RetryImageCacheResponse.ts +40 -0
- package/src/models/RetryImageCacheResponseBody.ts +341 -0
- package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
- package/src/models/SearchMemoriesRequest.ts +175 -0
- package/src/models/SearchMemoriesResponse.ts +40 -0
- package/src/models/SearchMemoriesResponseBody.ts +321 -0
- package/src/models/SearchMemoriesShrinkRequest.ts +33 -0
- package/src/models/UpdateAgentImchannelCredentialRequest.ts +2 -2
- package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +6 -6
- package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
- package/src/models/UpdateAgentImchannelRequest.ts +4 -4
- package/src/models/UpdateAgentImchannelResponseBody.ts +9 -18
- package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/UpdateCredentialRequest.ts +6 -6
- package/src/models/UpdateCredentialResponseBody.ts +10 -10
- package/src/models/UpdateCustomAgentRequest.ts +79 -32
- package/src/models/UpdateCustomAgentResponseBody.ts +231 -43
- package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
- package/src/models/UpdateMemoryRequest.ts +76 -0
- package/src/models/UpdateMemoryResponse.ts +40 -0
- package/src/models/UpdateMemoryResponseBody.ts +241 -0
- package/src/models/UpdateMemoryShrinkRequest.ts +33 -0
- package/src/models/UpdateMemoryStoreRequest.ts +86 -0
- package/src/models/UpdateMemoryStoreResponse.ts +40 -0
- package/src/models/UpdateMemoryStoreResponseBody.ts +181 -0
- package/src/models/UpdateMemoryStoreShrinkRequest.ts +43 -0
- package/src/models/UpdateModelConnectionRequest.ts +4 -4
- package/src/models/UpdateModelConnectionResponseBody.ts +12 -12
- package/src/models/UpdateModelConnectionShrinkRequest.ts +1 -1
- package/src/models/UpdateModelRequest.ts +31 -14
- package/src/models/UpdateModelResponseBody.ts +12 -12
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateSkillBizTagsRequest.ts +1 -1
- package/src/models/UpdateSkillScopeRequest.ts +1 -1
- package/src/models/UpdateTeamRequest.ts +7 -13
- package/src/models/UpdateTeamResponseBody.ts +11 -25
- package/src/models/UpdateTeamShrinkRequest.ts +1 -1
- package/src/models/UpdateUserRequest.ts +3 -3
- package/src/models/UpdateUserResponseBody.ts +8 -8
- package/src/models/UpdateWorkspaceRequest.ts +25 -7
- package/src/models/UpdateWorkspaceResponseBody.ts +30 -10
- package/src/models/UpdateWorkspaceShrinkRequest.ts +1 -1
- package/src/models/UploadAgentSpecViaOssRequest.ts +3 -3
- package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +3 -3
- package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +37 -7
- package/src/models/model.ts +116 -0
package/src/client.ts
CHANGED
|
@@ -30,7 +30,64 @@ export default class Client extends OpenApi {
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
/**
|
|
33
|
-
*
|
|
33
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
34
|
+
*
|
|
35
|
+
* @remarks
|
|
36
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
37
|
+
*
|
|
38
|
+
* @param tmpReq - AddMemoriesRequest
|
|
39
|
+
* @param headers - map
|
|
40
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
41
|
+
* @returns AddMemoriesResponse
|
|
42
|
+
*/
|
|
43
|
+
async addMemoriesWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.AddMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.AddMemoriesResponse> {
|
|
44
|
+
tmpReq.validate();
|
|
45
|
+
let request = new $_model.AddMemoriesShrinkRequest({ });
|
|
46
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
47
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
48
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
let body : {[key: string ]: any} = { };
|
|
52
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
53
|
+
body["body"] = request.bodyShrink;
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
57
|
+
headers: headers,
|
|
58
|
+
body: OpenApiUtil.parseToMap(body),
|
|
59
|
+
});
|
|
60
|
+
let params = new $OpenApiUtil.Params({
|
|
61
|
+
action: "AddMemories",
|
|
62
|
+
version: "2026-08-04",
|
|
63
|
+
protocol: "HTTPS",
|
|
64
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
|
|
65
|
+
method: "POST",
|
|
66
|
+
authType: "AK",
|
|
67
|
+
style: "ROA",
|
|
68
|
+
reqBodyType: "formData",
|
|
69
|
+
bodyType: "json",
|
|
70
|
+
});
|
|
71
|
+
return $dara.cast<$_model.AddMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.AddMemoriesResponse({}));
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
76
|
+
*
|
|
77
|
+
* @remarks
|
|
78
|
+
* Writes messages or text to a memory store. By default, sync is set to true, which synchronously waits for extraction and returns only memories (an empty array is allowed). If sync is set to false, the operation returns only a taskId that can be queried by using GetMemoryTask.
|
|
79
|
+
*
|
|
80
|
+
* @param request - AddMemoriesRequest
|
|
81
|
+
* @returns AddMemoriesResponse
|
|
82
|
+
*/
|
|
83
|
+
async addMemories(workspaceId: string, memoryStoreName: string, request: $_model.AddMemoriesRequest): Promise<$_model.AddMemoriesResponse> {
|
|
84
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
85
|
+
let headers : {[key: string ]: string} = { };
|
|
86
|
+
return await this.addMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
|
|
34
91
|
*
|
|
35
92
|
* @param tmpReq - BatchDeleteModelsRequest
|
|
36
93
|
* @param headers - map
|
|
@@ -75,7 +132,7 @@ export default class Client extends OpenApi {
|
|
|
75
132
|
}
|
|
76
133
|
|
|
77
134
|
/**
|
|
78
|
-
* Deletes models in a specified workspace
|
|
135
|
+
* Deletes multiple models in a specified workspace. If any model is in use, the entire batch request fails.
|
|
79
136
|
*
|
|
80
137
|
* @param request - BatchDeleteModelsRequest
|
|
81
138
|
* @returns BatchDeleteModelsResponse
|
|
@@ -87,11 +144,11 @@ export default class Client extends OpenApi {
|
|
|
87
144
|
}
|
|
88
145
|
|
|
89
146
|
/**
|
|
90
|
-
* Uploads
|
|
147
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
91
148
|
*
|
|
92
149
|
* @remarks
|
|
93
|
-
* ##
|
|
94
|
-
* Uploads
|
|
150
|
+
* ## Request description
|
|
151
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
95
152
|
*
|
|
96
153
|
* @param tmpReq - BatchUploadSkillsViaOssRequest
|
|
97
154
|
* @param headers - map
|
|
@@ -130,11 +187,11 @@ export default class Client extends OpenApi {
|
|
|
130
187
|
}
|
|
131
188
|
|
|
132
189
|
/**
|
|
133
|
-
* Uploads
|
|
190
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
134
191
|
*
|
|
135
192
|
* @remarks
|
|
136
|
-
* ##
|
|
137
|
-
* Uploads
|
|
193
|
+
* ## Request description
|
|
194
|
+
* Uploads skill ZIP packages in batches through OSS and returns the processing result for each skill.
|
|
138
195
|
*
|
|
139
196
|
* @param request - BatchUploadSkillsViaOssRequest
|
|
140
197
|
* @returns BatchUploadSkillsViaOssResponse
|
|
@@ -146,10 +203,10 @@ export default class Client extends OpenApi {
|
|
|
146
203
|
}
|
|
147
204
|
|
|
148
205
|
/**
|
|
149
|
-
* Converts an MCP to free
|
|
206
|
+
* Converts an MCP to free-edit mode.
|
|
150
207
|
*
|
|
151
208
|
* @remarks
|
|
152
|
-
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
209
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
|
|
153
210
|
*
|
|
154
211
|
* @param request - ConvertMcpToFreeEditRequest
|
|
155
212
|
* @param headers - map
|
|
@@ -182,10 +239,10 @@ export default class Client extends OpenApi {
|
|
|
182
239
|
}
|
|
183
240
|
|
|
184
241
|
/**
|
|
185
|
-
* Converts an MCP to free
|
|
242
|
+
* Converts an MCP to free-edit mode.
|
|
186
243
|
*
|
|
187
244
|
* @remarks
|
|
188
|
-
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
245
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags, but no longer appears on the usage page.
|
|
189
246
|
*
|
|
190
247
|
* @param request - ConvertMcpToFreeEditRequest
|
|
191
248
|
* @returns ConvertMcpToFreeEditResponse
|
|
@@ -197,10 +254,10 @@ export default class Client extends OpenApi {
|
|
|
197
254
|
}
|
|
198
255
|
|
|
199
256
|
/**
|
|
200
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
257
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
201
258
|
*
|
|
202
259
|
* @remarks
|
|
203
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
260
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
204
261
|
*
|
|
205
262
|
* @param tmpReq - CreateAgentIMChannelRequest
|
|
206
263
|
* @param headers - map
|
|
@@ -245,10 +302,10 @@ export default class Client extends OpenApi {
|
|
|
245
302
|
}
|
|
246
303
|
|
|
247
304
|
/**
|
|
248
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
305
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
249
306
|
*
|
|
250
307
|
* @remarks
|
|
251
|
-
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
308
|
+
* Creates an IM channel for a specified agent and binds it to a publicly accessible ServiceEndpoint.
|
|
252
309
|
*
|
|
253
310
|
* @param request - CreateAgentIMChannelRequest
|
|
254
311
|
* @returns CreateAgentIMChannelResponse
|
|
@@ -260,11 +317,11 @@ export default class Client extends OpenApi {
|
|
|
260
317
|
}
|
|
261
318
|
|
|
262
319
|
/**
|
|
263
|
-
* Creates an AgentSpec in
|
|
320
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
264
321
|
*
|
|
265
322
|
* @remarks
|
|
266
|
-
* ##
|
|
267
|
-
* Creates an AgentSpec in
|
|
323
|
+
* ## Request description
|
|
324
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
268
325
|
*
|
|
269
326
|
* @param tmpReq - CreateAgentSpecRequest
|
|
270
327
|
* @param headers - map
|
|
@@ -303,11 +360,11 @@ export default class Client extends OpenApi {
|
|
|
303
360
|
}
|
|
304
361
|
|
|
305
362
|
/**
|
|
306
|
-
* Creates an AgentSpec in
|
|
363
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
307
364
|
*
|
|
308
365
|
* @remarks
|
|
309
|
-
* ##
|
|
310
|
-
* Creates an AgentSpec in
|
|
366
|
+
* ## Request description
|
|
367
|
+
* Creates an AgentSpec in a specified workspace and generates the first draft version. Returns a resource conflict error if an AgentSpec with the same name already exists.
|
|
311
368
|
*
|
|
312
369
|
* @param request - CreateAgentSpecRequest
|
|
313
370
|
* @returns CreateAgentSpecResponse
|
|
@@ -319,11 +376,11 @@ export default class Client extends OpenApi {
|
|
|
319
376
|
}
|
|
320
377
|
|
|
321
378
|
/**
|
|
322
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
379
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
323
380
|
*
|
|
324
381
|
* @remarks
|
|
325
382
|
* ## Request description
|
|
326
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
383
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
327
384
|
*
|
|
328
385
|
* @param tmpReq - CreateAgentSpecVersionRequest
|
|
329
386
|
* @param headers - map
|
|
@@ -362,11 +419,11 @@ export default class Client extends OpenApi {
|
|
|
362
419
|
}
|
|
363
420
|
|
|
364
421
|
/**
|
|
365
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
422
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
366
423
|
*
|
|
367
424
|
* @remarks
|
|
368
425
|
* ## Request description
|
|
369
|
-
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist
|
|
426
|
+
* Creates a new draft version for an existing AgentSpec. The AgentSpec must exist and must not have a draft currently being edited.
|
|
370
427
|
*
|
|
371
428
|
* @param request - CreateAgentSpecVersionRequest
|
|
372
429
|
* @returns CreateAgentSpecVersionResponse
|
|
@@ -378,7 +435,7 @@ export default class Client extends OpenApi {
|
|
|
378
435
|
}
|
|
379
436
|
|
|
380
437
|
/**
|
|
381
|
-
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed
|
|
438
|
+
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
|
|
382
439
|
*
|
|
383
440
|
* @remarks
|
|
384
441
|
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
@@ -426,7 +483,7 @@ export default class Client extends OpenApi {
|
|
|
426
483
|
}
|
|
427
484
|
|
|
428
485
|
/**
|
|
429
|
-
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed
|
|
486
|
+
* Creates a credential in a specified workspace for authentication when an agent accesses external services. Currently, only the apiKey type is supported. The credential content is passed as a JSON string through credentialMetadata and can only be queried in a desensitized format after it is written.
|
|
430
487
|
*
|
|
431
488
|
* @remarks
|
|
432
489
|
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
@@ -441,13 +498,13 @@ export default class Client extends OpenApi {
|
|
|
441
498
|
}
|
|
442
499
|
|
|
443
500
|
/**
|
|
444
|
-
* Creates a custom agent in a specified workspace and submits
|
|
501
|
+
* Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
|
|
445
502
|
*
|
|
446
503
|
* @remarks
|
|
447
|
-
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and
|
|
504
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
448
505
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
449
|
-
* The creation
|
|
450
|
-
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
506
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
|
|
507
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
|
|
451
508
|
*
|
|
452
509
|
* @param tmpReq - CreateCustomAgentRequest
|
|
453
510
|
* @param headers - map
|
|
@@ -492,13 +549,13 @@ export default class Client extends OpenApi {
|
|
|
492
549
|
}
|
|
493
550
|
|
|
494
551
|
/**
|
|
495
|
-
* Creates a custom agent in a specified workspace and submits
|
|
552
|
+
* Creates a custom agent in a specified workspace and submits a container image deployment configuration. The creation is an asynchronous process. You can call GetCustomAgent to query the deployment result.
|
|
496
553
|
*
|
|
497
554
|
* @remarks
|
|
498
|
-
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and
|
|
555
|
+
* Before you call this operation, prepare a writable workspace, a RAM role ARN, an ACR container image, and a runtime configuration. You must specify name, artifact, roleArn, and runtime. The runtime parameter must include both compute and sessionPolicy.
|
|
499
556
|
* Currently, only ACR container image deployment is supported. Use artifact.container and specify the service listening port in artifact.port. Omit artifact.code. The image must have the required access permissions and be accessible over the network allowed by the workspace.
|
|
500
|
-
* The creation
|
|
501
|
-
* The clientToken parameter does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not take effect. Omit this parameter.
|
|
557
|
+
* The creation is an asynchronous process. A successful response indicates that the request is accepted. Use the returned agentId to call GetCustomAgent and check latestVersionStatus, latestExecutionError, and status for the corresponding latestSpecVersion to confirm the deployment result. After the deployment is ready, you can call CreateServiceEndpoint to configure an access endpoint.
|
|
558
|
+
* The clientToken parameter does not currently provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold parameter for health checks does not currently take effect. Omit this parameter.
|
|
502
559
|
*
|
|
503
560
|
* @param request - CreateCustomAgentRequest
|
|
504
561
|
* @returns CreateCustomAgentResponse
|
|
@@ -573,10 +630,10 @@ export default class Client extends OpenApi {
|
|
|
573
630
|
}
|
|
574
631
|
|
|
575
632
|
/**
|
|
576
|
-
* Creates
|
|
633
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
577
634
|
*
|
|
578
635
|
* @remarks
|
|
579
|
-
* Creates
|
|
636
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
580
637
|
*
|
|
581
638
|
* @param request - CreateExternalAgentBootstrapTokenRequest
|
|
582
639
|
* @param headers - map
|
|
@@ -609,10 +666,10 @@ export default class Client extends OpenApi {
|
|
|
609
666
|
}
|
|
610
667
|
|
|
611
668
|
/**
|
|
612
|
-
* Creates
|
|
669
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
613
670
|
*
|
|
614
671
|
* @remarks
|
|
615
|
-
* Creates
|
|
672
|
+
* Creates the Bootstrap token and CMS configuration required to onboard a specified external agent.
|
|
616
673
|
*
|
|
617
674
|
* @param request - CreateExternalAgentBootstrapTokenRequest
|
|
618
675
|
* @returns CreateExternalAgentBootstrapTokenResponse
|
|
@@ -624,7 +681,7 @@ export default class Client extends OpenApi {
|
|
|
624
681
|
}
|
|
625
682
|
|
|
626
683
|
/**
|
|
627
|
-
* Binds an external identity provider to a specified workspace
|
|
684
|
+
* Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
628
685
|
*
|
|
629
686
|
* @param tmpReq - CreateIdentityProviderRequest
|
|
630
687
|
* @param headers - map
|
|
@@ -663,7 +720,7 @@ export default class Client extends OpenApi {
|
|
|
663
720
|
}
|
|
664
721
|
|
|
665
722
|
/**
|
|
666
|
-
* Binds an external identity provider to a specified workspace
|
|
723
|
+
* Binds an external identity provider to a specified workspace to enable single sign-on and organization member synchronization for workspace users. Each workspace can be bound to a maximum of one external identity provider. This is an asynchronous operation. After the API call returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
667
724
|
*
|
|
668
725
|
* @param request - CreateIdentityProviderRequest
|
|
669
726
|
* @returns CreateIdentityProviderResponse
|
|
@@ -674,6 +731,77 @@ export default class Client extends OpenApi {
|
|
|
674
731
|
return await this.createIdentityProviderWithOptions(workspaceId, request, headers, runtime);
|
|
675
732
|
}
|
|
676
733
|
|
|
734
|
+
/**
|
|
735
|
+
* Creates an image cache.
|
|
736
|
+
*
|
|
737
|
+
* @remarks
|
|
738
|
+
* Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
|
|
739
|
+
*
|
|
740
|
+
* @param tmpReq - CreateImageCacheRequest
|
|
741
|
+
* @param headers - map
|
|
742
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
743
|
+
* @returns CreateImageCacheResponse
|
|
744
|
+
*/
|
|
745
|
+
async createImageCacheWithOptions(tmpReq: $_model.CreateImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateImageCacheResponse> {
|
|
746
|
+
tmpReq.validate();
|
|
747
|
+
let request = new $_model.CreateImageCacheShrinkRequest({ });
|
|
748
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
749
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
750
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
let query : {[key: string ]: any} = { };
|
|
754
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
755
|
+
query["clientToken"] = request.clientToken;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
if (!$dara.isNull(request.regionId)) {
|
|
759
|
+
query["regionId"] = request.regionId;
|
|
760
|
+
}
|
|
761
|
+
|
|
762
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
763
|
+
query["workspaceId"] = request.workspaceId;
|
|
764
|
+
}
|
|
765
|
+
|
|
766
|
+
let body : {[key: string ]: any} = { };
|
|
767
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
768
|
+
body["body"] = request.bodyShrink;
|
|
769
|
+
}
|
|
770
|
+
|
|
771
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
772
|
+
headers: headers,
|
|
773
|
+
query: OpenApiUtil.query(query),
|
|
774
|
+
body: OpenApiUtil.parseToMap(body),
|
|
775
|
+
});
|
|
776
|
+
let params = new $OpenApiUtil.Params({
|
|
777
|
+
action: "CreateImageCache",
|
|
778
|
+
version: "2026-08-04",
|
|
779
|
+
protocol: "HTTPS",
|
|
780
|
+
pathname: `/image-caches`,
|
|
781
|
+
method: "POST",
|
|
782
|
+
authType: "AK",
|
|
783
|
+
style: "ROA",
|
|
784
|
+
reqBodyType: "formData",
|
|
785
|
+
bodyType: "json",
|
|
786
|
+
});
|
|
787
|
+
return $dara.cast<$_model.CreateImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.CreateImageCacheResponse({}));
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
/**
|
|
791
|
+
* Creates an image cache.
|
|
792
|
+
*
|
|
793
|
+
* @remarks
|
|
794
|
+
* Creates or reuses an image cache in the current workspace based on the image source and tag. Both public and private images uniformly reuse the workspace\\"s source image pull authorization and resource roles. The resource manager parses the tag during the transfer node and performs image replication based on the parsed summary. The digest is empty before parsing is complete. For regular tags, the saved summary is reused after parsing. For the latest tag, it is parsed again when registered after reaching the desired state, and duplicate registrations in progress reuse the node. The logical imageId remains stable. accessInternet and accessVpc only determine the source reading and transfer for the current request and do not modify the agent network. An HTTP 200 response returns an acceptance snapshot of PENDING, READY, or FAILED, which does not indicate that the creation is complete. ClientToken does not guarantee to deduplicate requests or recover the original result. If the result is unconfirmed, query the query cache status first before deciding whether to recommit.
|
|
795
|
+
*
|
|
796
|
+
* @param request - CreateImageCacheRequest
|
|
797
|
+
* @returns CreateImageCacheResponse
|
|
798
|
+
*/
|
|
799
|
+
async createImageCache(request: $_model.CreateImageCacheRequest): Promise<$_model.CreateImageCacheResponse> {
|
|
800
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
801
|
+
let headers : {[key: string ]: string} = { };
|
|
802
|
+
return await this.createImageCacheWithOptions(request, headers, runtime);
|
|
803
|
+
}
|
|
804
|
+
|
|
677
805
|
/**
|
|
678
806
|
* Creates a managed agent in a specified workspace.
|
|
679
807
|
*
|
|
@@ -797,7 +925,70 @@ export default class Client extends OpenApi {
|
|
|
797
925
|
}
|
|
798
926
|
|
|
799
927
|
/**
|
|
800
|
-
* Creates a
|
|
928
|
+
* Creates a long-term memory store in a specified workspace.
|
|
929
|
+
*
|
|
930
|
+
* @remarks
|
|
931
|
+
* Creates a long-term memory store in a specified workspace.
|
|
932
|
+
*
|
|
933
|
+
* @param tmpReq - CreateMemoryStoreRequest
|
|
934
|
+
* @param headers - map
|
|
935
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
936
|
+
* @returns CreateMemoryStoreResponse
|
|
937
|
+
*/
|
|
938
|
+
async createMemoryStoreWithOptions(workspaceId: string, tmpReq: $_model.CreateMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.CreateMemoryStoreResponse> {
|
|
939
|
+
tmpReq.validate();
|
|
940
|
+
let request = new $_model.CreateMemoryStoreShrinkRequest({ });
|
|
941
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
942
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
943
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
944
|
+
}
|
|
945
|
+
|
|
946
|
+
let query : {[key: string ]: any} = { };
|
|
947
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
948
|
+
query["clientToken"] = request.clientToken;
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
let body : {[key: string ]: any} = { };
|
|
952
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
953
|
+
body["body"] = request.bodyShrink;
|
|
954
|
+
}
|
|
955
|
+
|
|
956
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
957
|
+
headers: headers,
|
|
958
|
+
query: OpenApiUtil.query(query),
|
|
959
|
+
body: OpenApiUtil.parseToMap(body),
|
|
960
|
+
});
|
|
961
|
+
let params = new $OpenApiUtil.Params({
|
|
962
|
+
action: "CreateMemoryStore",
|
|
963
|
+
version: "2026-08-04",
|
|
964
|
+
protocol: "HTTPS",
|
|
965
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
|
|
966
|
+
method: "POST",
|
|
967
|
+
authType: "AK",
|
|
968
|
+
style: "ROA",
|
|
969
|
+
reqBodyType: "formData",
|
|
970
|
+
bodyType: "json",
|
|
971
|
+
});
|
|
972
|
+
return $dara.cast<$_model.CreateMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.CreateMemoryStoreResponse({}));
|
|
973
|
+
}
|
|
974
|
+
|
|
975
|
+
/**
|
|
976
|
+
* Creates a long-term memory store in a specified workspace.
|
|
977
|
+
*
|
|
978
|
+
* @remarks
|
|
979
|
+
* Creates a long-term memory store in a specified workspace.
|
|
980
|
+
*
|
|
981
|
+
* @param request - CreateMemoryStoreRequest
|
|
982
|
+
* @returns CreateMemoryStoreResponse
|
|
983
|
+
*/
|
|
984
|
+
async createMemoryStore(workspaceId: string, request: $_model.CreateMemoryStoreRequest): Promise<$_model.CreateMemoryStoreResponse> {
|
|
985
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
986
|
+
let headers : {[key: string ]: string} = { };
|
|
987
|
+
return await this.createMemoryStoreWithOptions(workspaceId, request, headers, runtime);
|
|
988
|
+
}
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Creates a model configuration for model creation under a model connection in a specified workspace.
|
|
801
992
|
*
|
|
802
993
|
* @param tmpReq - CreateModelRequest
|
|
803
994
|
* @param headers - map
|
|
@@ -842,7 +1033,7 @@ export default class Client extends OpenApi {
|
|
|
842
1033
|
}
|
|
843
1034
|
|
|
844
1035
|
/**
|
|
845
|
-
* Creates a model configuration under a
|
|
1036
|
+
* Creates a model configuration for model creation under a model connection in a specified workspace.
|
|
846
1037
|
*
|
|
847
1038
|
* @param request - CreateModelRequest
|
|
848
1039
|
* @returns CreateModelResponse
|
|
@@ -854,7 +1045,7 @@ export default class Client extends OpenApi {
|
|
|
854
1045
|
}
|
|
855
1046
|
|
|
856
1047
|
/**
|
|
857
|
-
* Creates a model connection in a specified workspace and configures the upstream model service
|
|
1048
|
+
* Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
|
|
858
1049
|
*
|
|
859
1050
|
* @param tmpReq - CreateModelConnectionRequest
|
|
860
1051
|
* @param headers - map
|
|
@@ -899,7 +1090,7 @@ export default class Client extends OpenApi {
|
|
|
899
1090
|
}
|
|
900
1091
|
|
|
901
1092
|
/**
|
|
902
|
-
* Creates a model connection in a specified workspace and configures the upstream model service
|
|
1093
|
+
* Creates a model connection in a specified workspace and configures the upstream model service endpoint, invoke protocol, and access credentials to support model creation.
|
|
903
1094
|
*
|
|
904
1095
|
* @param request - CreateModelConnectionRequest
|
|
905
1096
|
* @returns CreateModelConnectionResponse
|
|
@@ -970,7 +1161,7 @@ export default class Client extends OpenApi {
|
|
|
970
1161
|
}
|
|
971
1162
|
|
|
972
1163
|
/**
|
|
973
|
-
* Creates a team in a specified workspace and
|
|
1164
|
+
* Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
|
|
974
1165
|
*
|
|
975
1166
|
* @param tmpReq - CreateTeamRequest
|
|
976
1167
|
* @param headers - map
|
|
@@ -1015,7 +1206,7 @@ export default class Client extends OpenApi {
|
|
|
1015
1206
|
}
|
|
1016
1207
|
|
|
1017
1208
|
/**
|
|
1018
|
-
* Creates a team in a specified workspace and
|
|
1209
|
+
* Creates a team in a specified workspace and configures user members and agent members at the same time. Exactly one user member must have the ADMIN role, and agent members can only have the LEADER or WORKER role.
|
|
1019
1210
|
*
|
|
1020
1211
|
* @param request - CreateTeamRequest
|
|
1021
1212
|
* @returns CreateTeamResponse
|
|
@@ -1027,7 +1218,7 @@ export default class Client extends OpenApi {
|
|
|
1027
1218
|
}
|
|
1028
1219
|
|
|
1029
1220
|
/**
|
|
1030
|
-
* Creates a user in a specified workspace. The username must be unique within the workspace
|
|
1221
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
1031
1222
|
*
|
|
1032
1223
|
* @param tmpReq - CreateUserRequest
|
|
1033
1224
|
* @param headers - map
|
|
@@ -1072,7 +1263,7 @@ export default class Client extends OpenApi {
|
|
|
1072
1263
|
}
|
|
1073
1264
|
|
|
1074
1265
|
/**
|
|
1075
|
-
* Creates a user in a specified workspace. The username must be unique within the workspace
|
|
1266
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace, can contain only lowercase letters, digits, and hyphens, and cannot use reserved names such as manager, admin, or names starting with worker-. If the password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
1076
1267
|
*
|
|
1077
1268
|
* @param request - CreateUserRequest
|
|
1078
1269
|
* @returns CreateUserResponse
|
|
@@ -1087,7 +1278,7 @@ export default class Client extends OpenApi {
|
|
|
1087
1278
|
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
1088
1279
|
*
|
|
1089
1280
|
* @remarks
|
|
1090
|
-
* ##
|
|
1281
|
+
* ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
1091
1282
|
*
|
|
1092
1283
|
* @param tmpReq - CreateWorkspaceRequest
|
|
1093
1284
|
* @param headers - map
|
|
@@ -1135,7 +1326,7 @@ export default class Client extends OpenApi {
|
|
|
1135
1326
|
* Creates an AgentCore workspace control plane record. The server completes the state transition from Initializing to Initialized within the same transaction.
|
|
1136
1327
|
*
|
|
1137
1328
|
* @remarks
|
|
1138
|
-
* ##
|
|
1329
|
+
* ## Request description\\nCreates an AgentCore workspace control plane record. The server completes the state transition from `Initializing` to `Initialized` within the same transaction. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
1139
1330
|
*
|
|
1140
1331
|
* @param request - CreateWorkspaceRequest
|
|
1141
1332
|
* @returns CreateWorkspaceResponse
|
|
@@ -1249,11 +1440,11 @@ export default class Client extends OpenApi {
|
|
|
1249
1440
|
}
|
|
1250
1441
|
|
|
1251
1442
|
/**
|
|
1252
|
-
* Deletes
|
|
1443
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1253
1444
|
*
|
|
1254
1445
|
* @remarks
|
|
1255
|
-
* ##
|
|
1256
|
-
* Deletes
|
|
1446
|
+
* ## Operation description
|
|
1447
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1257
1448
|
*
|
|
1258
1449
|
* @param request - DeleteAgentSpecRequest
|
|
1259
1450
|
* @param headers - map
|
|
@@ -1280,11 +1471,11 @@ export default class Client extends OpenApi {
|
|
|
1280
1471
|
}
|
|
1281
1472
|
|
|
1282
1473
|
/**
|
|
1283
|
-
* Deletes
|
|
1474
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1284
1475
|
*
|
|
1285
1476
|
* @remarks
|
|
1286
|
-
* ##
|
|
1287
|
-
* Deletes
|
|
1477
|
+
* ## Operation description
|
|
1478
|
+
* Deletes the specified AgentSpec and all its versions and metadata. The deletion is irreversible.
|
|
1288
1479
|
*
|
|
1289
1480
|
* @param request - DeleteAgentSpecRequest
|
|
1290
1481
|
* @returns DeleteAgentSpecResponse
|
|
@@ -1343,10 +1534,10 @@ export default class Client extends OpenApi {
|
|
|
1343
1534
|
}
|
|
1344
1535
|
|
|
1345
1536
|
/**
|
|
1346
|
-
* Deletes a credential
|
|
1537
|
+
* Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
|
|
1347
1538
|
*
|
|
1348
1539
|
* @remarks
|
|
1349
|
-
* Deletes an access credential
|
|
1540
|
+
* Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
|
|
1350
1541
|
*
|
|
1351
1542
|
* @param request - DeleteCredentialRequest
|
|
1352
1543
|
* @param headers - map
|
|
@@ -1379,10 +1570,10 @@ export default class Client extends OpenApi {
|
|
|
1379
1570
|
}
|
|
1380
1571
|
|
|
1381
1572
|
/**
|
|
1382
|
-
* Deletes a credential
|
|
1573
|
+
* Deletes a credential in a specified workspace and deletes the ciphertext hosted in the credential service. After deletion, agents bound to the credential can no longer obtain the credential content.
|
|
1383
1574
|
*
|
|
1384
1575
|
* @remarks
|
|
1385
|
-
* Deletes an access credential
|
|
1576
|
+
* Deletes an access credential in a specified workspace. A credential cannot be deleted if it is still bound to an MCP service.
|
|
1386
1577
|
*
|
|
1387
1578
|
* @param request - DeleteCredentialRequest
|
|
1388
1579
|
* @returns DeleteCredentialResponse
|
|
@@ -1394,11 +1585,11 @@ export default class Client extends OpenApi {
|
|
|
1394
1585
|
}
|
|
1395
1586
|
|
|
1396
1587
|
/**
|
|
1397
|
-
* Deletes a custom agent
|
|
1588
|
+
* Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
|
|
1398
1589
|
*
|
|
1399
1590
|
* @remarks
|
|
1400
|
-
* Before
|
|
1401
|
-
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already
|
|
1591
|
+
* Before calling this operation, ensure that the workspace is writable. If the agent is still associated with a team, you must dissociate it from the team first.
|
|
1592
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
|
|
1402
1593
|
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
1403
1594
|
*
|
|
1404
1595
|
* @param request - DeleteCustomAgentRequest
|
|
@@ -1426,11 +1617,11 @@ export default class Client extends OpenApi {
|
|
|
1426
1617
|
}
|
|
1427
1618
|
|
|
1428
1619
|
/**
|
|
1429
|
-
* Deletes a custom agent
|
|
1620
|
+
* Deletes a custom agent from a specified workspace. A successful request indicates that the deletion is accepted. The runtime resources are subsequently cleaned up in the background.
|
|
1430
1621
|
*
|
|
1431
1622
|
* @remarks
|
|
1432
|
-
* Before
|
|
1433
|
-
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already
|
|
1623
|
+
* Before calling this operation, ensure that the workspace is writable. If the agent is still associated with a team, you must dissociate it from the team first.
|
|
1624
|
+
* Deletion is an asynchronous process. After the request is accepted, the associated invocation endpoints become unavailable, and the runtime resources are subsequently cleaned up. The status in the response is typically Deleting. If the agent is already in the deletion process, a subsequent request returns the current summary.
|
|
1434
1625
|
* You can call GetCustomAgent to check the deletion progress. After the deletion is complete, a detail query returns a resource not found error.
|
|
1435
1626
|
*
|
|
1436
1627
|
* @param request - DeleteCustomAgentRequest
|
|
@@ -1532,6 +1723,61 @@ export default class Client extends OpenApi {
|
|
|
1532
1723
|
return await this.deleteIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
|
|
1533
1724
|
}
|
|
1534
1725
|
|
|
1726
|
+
/**
|
|
1727
|
+
* Deletes an image cache.
|
|
1728
|
+
*
|
|
1729
|
+
* @remarks
|
|
1730
|
+
* Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
|
|
1731
|
+
*
|
|
1732
|
+
* @param request - DeleteImageCacheRequest
|
|
1733
|
+
* @param headers - map
|
|
1734
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1735
|
+
* @returns DeleteImageCacheResponse
|
|
1736
|
+
*/
|
|
1737
|
+
async deleteImageCacheWithOptions(imageId: string, request: $_model.DeleteImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteImageCacheResponse> {
|
|
1738
|
+
request.validate();
|
|
1739
|
+
let query : {[key: string ]: any} = { };
|
|
1740
|
+
if (!$dara.isNull(request.regionId)) {
|
|
1741
|
+
query["regionId"] = request.regionId;
|
|
1742
|
+
}
|
|
1743
|
+
|
|
1744
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
1745
|
+
query["workspaceId"] = request.workspaceId;
|
|
1746
|
+
}
|
|
1747
|
+
|
|
1748
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1749
|
+
headers: headers,
|
|
1750
|
+
query: OpenApiUtil.query(query),
|
|
1751
|
+
});
|
|
1752
|
+
let params = new $OpenApiUtil.Params({
|
|
1753
|
+
action: "DeleteImageCache",
|
|
1754
|
+
version: "2026-08-04",
|
|
1755
|
+
protocol: "HTTPS",
|
|
1756
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
|
|
1757
|
+
method: "DELETE",
|
|
1758
|
+
authType: "AK",
|
|
1759
|
+
style: "ROA",
|
|
1760
|
+
reqBodyType: "json",
|
|
1761
|
+
bodyType: "json",
|
|
1762
|
+
});
|
|
1763
|
+
return $dara.cast<$_model.DeleteImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.DeleteImageCacheResponse({}));
|
|
1764
|
+
}
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* Deletes an image cache.
|
|
1768
|
+
*
|
|
1769
|
+
* @remarks
|
|
1770
|
+
* Deletes the logical image cache of the current workspace. The deletion requires that no enabled agent configurations reference the cache and no active instances are using it. Concurrency is rechecked upon submission. Caches in the PENDING or FAILED state can still be deleted, and the backend handles the cleanup. An HTTP 200 response returns an imageId that matches the request. If deletionPending is true, the current workspace is still undergoing deletion, and a Get request returns DELETING until ImageCacheNotFound is explicitly returned. If false, the deletion is complete or the current workspace no longer exists. Usage by other workspaces does not block the deletion for the current workspace. The physical content is reclaimed only after all workspaces in the same region have removed their associations and no active instances are using it.
|
|
1771
|
+
*
|
|
1772
|
+
* @param request - DeleteImageCacheRequest
|
|
1773
|
+
* @returns DeleteImageCacheResponse
|
|
1774
|
+
*/
|
|
1775
|
+
async deleteImageCache(imageId: string, request: $_model.DeleteImageCacheRequest): Promise<$_model.DeleteImageCacheResponse> {
|
|
1776
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1777
|
+
let headers : {[key: string ]: string} = { };
|
|
1778
|
+
return await this.deleteImageCacheWithOptions(imageId, request, headers, runtime);
|
|
1779
|
+
}
|
|
1780
|
+
|
|
1535
1781
|
/**
|
|
1536
1782
|
* Deletes a specified managed agent.
|
|
1537
1783
|
*
|
|
@@ -1572,11 +1818,11 @@ export default class Client extends OpenApi {
|
|
|
1572
1818
|
}
|
|
1573
1819
|
|
|
1574
1820
|
/**
|
|
1575
|
-
* Deletes a specified MCP
|
|
1821
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1576
1822
|
*
|
|
1577
1823
|
* @remarks
|
|
1578
|
-
* ##
|
|
1579
|
-
* Deletes a specified MCP
|
|
1824
|
+
* ## Request description
|
|
1825
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1580
1826
|
*
|
|
1581
1827
|
* @param request - DeleteMcpRequest
|
|
1582
1828
|
* @param headers - map
|
|
@@ -1603,11 +1849,11 @@ export default class Client extends OpenApi {
|
|
|
1603
1849
|
}
|
|
1604
1850
|
|
|
1605
1851
|
/**
|
|
1606
|
-
* Deletes a specified MCP
|
|
1852
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1607
1853
|
*
|
|
1608
1854
|
* @remarks
|
|
1609
|
-
* ##
|
|
1610
|
-
* Deletes a specified MCP
|
|
1855
|
+
* ## Request description
|
|
1856
|
+
* Deletes a specified MCP server. The deletion is an asynchronous process, and the MCP server is no longer returned after the process is complete.
|
|
1611
1857
|
*
|
|
1612
1858
|
* @param request - DeleteMcpRequest
|
|
1613
1859
|
* @returns DeleteMcpResponse
|
|
@@ -1619,108 +1865,198 @@ export default class Client extends OpenApi {
|
|
|
1619
1865
|
}
|
|
1620
1866
|
|
|
1621
1867
|
/**
|
|
1622
|
-
* Deletes a
|
|
1868
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1623
1869
|
*
|
|
1624
|
-
* @
|
|
1870
|
+
* @remarks
|
|
1871
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1872
|
+
*
|
|
1873
|
+
* @param request - DeleteMemoryRequest
|
|
1625
1874
|
* @param headers - map
|
|
1626
1875
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1627
|
-
* @returns
|
|
1876
|
+
* @returns DeleteMemoryResponse
|
|
1628
1877
|
*/
|
|
1629
|
-
async
|
|
1878
|
+
async deleteMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.DeleteMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMemoryResponse> {
|
|
1630
1879
|
request.validate();
|
|
1631
|
-
let query : {[key: string ]: any} = { };
|
|
1632
|
-
if (!$dara.isNull(request.clientToken)) {
|
|
1633
|
-
query["clientToken"] = request.clientToken;
|
|
1634
|
-
}
|
|
1635
|
-
|
|
1636
1880
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1637
1881
|
headers: headers,
|
|
1638
|
-
query: OpenApiUtil.query(query),
|
|
1639
1882
|
});
|
|
1640
1883
|
let params = new $OpenApiUtil.Params({
|
|
1641
|
-
action: "
|
|
1884
|
+
action: "DeleteMemory",
|
|
1642
1885
|
version: "2026-08-04",
|
|
1643
1886
|
protocol: "HTTPS",
|
|
1644
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
1887
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
1645
1888
|
method: "DELETE",
|
|
1646
1889
|
authType: "AK",
|
|
1647
1890
|
style: "ROA",
|
|
1648
1891
|
reqBodyType: "json",
|
|
1649
1892
|
bodyType: "json",
|
|
1650
1893
|
});
|
|
1651
|
-
return $dara.cast<$_model.
|
|
1894
|
+
return $dara.cast<$_model.DeleteMemoryResponse>(await this.callApi(params, req, runtime), new $_model.DeleteMemoryResponse({}));
|
|
1652
1895
|
}
|
|
1653
1896
|
|
|
1654
1897
|
/**
|
|
1655
|
-
* Deletes a
|
|
1898
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1656
1899
|
*
|
|
1657
|
-
* @
|
|
1658
|
-
*
|
|
1900
|
+
* @remarks
|
|
1901
|
+
* Deletes a long-term memory based on the memory ID.
|
|
1902
|
+
*
|
|
1903
|
+
* @param request - DeleteMemoryRequest
|
|
1904
|
+
* @returns DeleteMemoryResponse
|
|
1659
1905
|
*/
|
|
1660
|
-
async
|
|
1906
|
+
async deleteMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.DeleteMemoryRequest): Promise<$_model.DeleteMemoryResponse> {
|
|
1661
1907
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1662
1908
|
let headers : {[key: string ]: string} = { };
|
|
1663
|
-
return await this.
|
|
1909
|
+
return await this.deleteMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
1664
1910
|
}
|
|
1665
1911
|
|
|
1666
1912
|
/**
|
|
1667
|
-
*
|
|
1913
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1668
1914
|
*
|
|
1669
|
-
* @
|
|
1915
|
+
* @remarks
|
|
1916
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1917
|
+
*
|
|
1918
|
+
* @param request - DeleteMemoryStoreRequest
|
|
1670
1919
|
* @param headers - map
|
|
1671
1920
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1672
|
-
* @returns
|
|
1921
|
+
* @returns DeleteMemoryStoreResponse
|
|
1673
1922
|
*/
|
|
1674
|
-
async
|
|
1923
|
+
async deleteMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.DeleteMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteMemoryStoreResponse> {
|
|
1675
1924
|
request.validate();
|
|
1676
|
-
let query : {[key: string ]: any} = { };
|
|
1677
|
-
if (!$dara.isNull(request.clientToken)) {
|
|
1678
|
-
query["clientToken"] = request.clientToken;
|
|
1679
|
-
}
|
|
1680
|
-
|
|
1681
1925
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1682
1926
|
headers: headers,
|
|
1683
|
-
query: OpenApiUtil.query(query),
|
|
1684
1927
|
});
|
|
1685
1928
|
let params = new $OpenApiUtil.Params({
|
|
1686
|
-
action: "
|
|
1929
|
+
action: "DeleteMemoryStore",
|
|
1687
1930
|
version: "2026-08-04",
|
|
1688
1931
|
protocol: "HTTPS",
|
|
1689
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
1932
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
1690
1933
|
method: "DELETE",
|
|
1691
1934
|
authType: "AK",
|
|
1692
1935
|
style: "ROA",
|
|
1693
1936
|
reqBodyType: "json",
|
|
1694
1937
|
bodyType: "json",
|
|
1695
1938
|
});
|
|
1696
|
-
return $dara.cast<$_model.
|
|
1939
|
+
return $dara.cast<$_model.DeleteMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.DeleteMemoryStoreResponse({}));
|
|
1697
1940
|
}
|
|
1698
1941
|
|
|
1699
1942
|
/**
|
|
1700
|
-
*
|
|
1943
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1701
1944
|
*
|
|
1702
|
-
* @
|
|
1703
|
-
*
|
|
1945
|
+
* @remarks
|
|
1946
|
+
* Asynchronously deletes a MemoryStore and all its long-term memory.
|
|
1947
|
+
*
|
|
1948
|
+
* @param request - DeleteMemoryStoreRequest
|
|
1949
|
+
* @returns DeleteMemoryStoreResponse
|
|
1704
1950
|
*/
|
|
1705
|
-
async
|
|
1951
|
+
async deleteMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.DeleteMemoryStoreRequest): Promise<$_model.DeleteMemoryStoreResponse> {
|
|
1706
1952
|
let runtime = new $dara.RuntimeOptions({ });
|
|
1707
1953
|
let headers : {[key: string ]: string} = { };
|
|
1708
|
-
return await this.
|
|
1954
|
+
return await this.deleteMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
1709
1955
|
}
|
|
1710
1956
|
|
|
1711
1957
|
/**
|
|
1712
|
-
* Deletes a
|
|
1713
|
-
*
|
|
1714
|
-
* @remarks
|
|
1715
|
-
* ## Operation description
|
|
1716
|
-
* Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
|
|
1958
|
+
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1717
1959
|
*
|
|
1718
|
-
* @param request -
|
|
1960
|
+
* @param request - DeleteModelRequest
|
|
1719
1961
|
* @param headers - map
|
|
1720
1962
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
1721
|
-
* @returns
|
|
1963
|
+
* @returns DeleteModelResponse
|
|
1722
1964
|
*/
|
|
1723
|
-
async
|
|
1965
|
+
async deleteModelWithOptions(workspaceId: string, modelId: string, request: $_model.DeleteModelRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelResponse> {
|
|
1966
|
+
request.validate();
|
|
1967
|
+
let query : {[key: string ]: any} = { };
|
|
1968
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
1969
|
+
query["clientToken"] = request.clientToken;
|
|
1970
|
+
}
|
|
1971
|
+
|
|
1972
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1973
|
+
headers: headers,
|
|
1974
|
+
query: OpenApiUtil.query(query),
|
|
1975
|
+
});
|
|
1976
|
+
let params = new $OpenApiUtil.Params({
|
|
1977
|
+
action: "DeleteModel",
|
|
1978
|
+
version: "2026-08-04",
|
|
1979
|
+
protocol: "HTTPS",
|
|
1980
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/models/${$dara.URL.percentEncode(modelId)}`,
|
|
1981
|
+
method: "DELETE",
|
|
1982
|
+
authType: "AK",
|
|
1983
|
+
style: "ROA",
|
|
1984
|
+
reqBodyType: "json",
|
|
1985
|
+
bodyType: "json",
|
|
1986
|
+
});
|
|
1987
|
+
return $dara.cast<$_model.DeleteModelResponse>(await this.callApi(params, req, runtime), new $_model.DeleteModelResponse({}));
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
/**
|
|
1991
|
+
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1992
|
+
*
|
|
1993
|
+
* @param request - DeleteModelRequest
|
|
1994
|
+
* @returns DeleteModelResponse
|
|
1995
|
+
*/
|
|
1996
|
+
async deleteModel(workspaceId: string, modelId: string, request: $_model.DeleteModelRequest): Promise<$_model.DeleteModelResponse> {
|
|
1997
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
1998
|
+
let headers : {[key: string ]: string} = { };
|
|
1999
|
+
return await this.deleteModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
2000
|
+
}
|
|
2001
|
+
|
|
2002
|
+
/**
|
|
2003
|
+
* Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
|
|
2004
|
+
*
|
|
2005
|
+
* @param request - DeleteModelConnectionRequest
|
|
2006
|
+
* @param headers - map
|
|
2007
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2008
|
+
* @returns DeleteModelConnectionResponse
|
|
2009
|
+
*/
|
|
2010
|
+
async deleteModelConnectionWithOptions(workspaceId: string, connectionId: string, request: $_model.DeleteModelConnectionRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteModelConnectionResponse> {
|
|
2011
|
+
request.validate();
|
|
2012
|
+
let query : {[key: string ]: any} = { };
|
|
2013
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2014
|
+
query["clientToken"] = request.clientToken;
|
|
2015
|
+
}
|
|
2016
|
+
|
|
2017
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
2018
|
+
headers: headers,
|
|
2019
|
+
query: OpenApiUtil.query(query),
|
|
2020
|
+
});
|
|
2021
|
+
let params = new $OpenApiUtil.Params({
|
|
2022
|
+
action: "DeleteModelConnection",
|
|
2023
|
+
version: "2026-08-04",
|
|
2024
|
+
protocol: "HTTPS",
|
|
2025
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/model-connections/${$dara.URL.percentEncode(connectionId)}`,
|
|
2026
|
+
method: "DELETE",
|
|
2027
|
+
authType: "AK",
|
|
2028
|
+
style: "ROA",
|
|
2029
|
+
reqBodyType: "json",
|
|
2030
|
+
bodyType: "json",
|
|
2031
|
+
});
|
|
2032
|
+
return $dara.cast<$_model.DeleteModelConnectionResponse>(await this.callApi(params, req, runtime), new $_model.DeleteModelConnectionResponse({}));
|
|
2033
|
+
}
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
|
|
2037
|
+
*
|
|
2038
|
+
* @param request - DeleteModelConnectionRequest
|
|
2039
|
+
* @returns DeleteModelConnectionResponse
|
|
2040
|
+
*/
|
|
2041
|
+
async deleteModelConnection(workspaceId: string, connectionId: string, request: $_model.DeleteModelConnectionRequest): Promise<$_model.DeleteModelConnectionResponse> {
|
|
2042
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
2043
|
+
let headers : {[key: string ]: string} = { };
|
|
2044
|
+
return await this.deleteModelConnectionWithOptions(workspaceId, connectionId, request, headers, runtime);
|
|
2045
|
+
}
|
|
2046
|
+
|
|
2047
|
+
/**
|
|
2048
|
+
* Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
|
|
2049
|
+
*
|
|
2050
|
+
* @remarks
|
|
2051
|
+
* ## Operation description
|
|
2052
|
+
* Deletes a skill and its related version data from a specified workspace. This operation is irreversible.
|
|
2053
|
+
*
|
|
2054
|
+
* @param request - DeleteSkillRequest
|
|
2055
|
+
* @param headers - map
|
|
2056
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2057
|
+
* @returns DeleteSkillResponse
|
|
2058
|
+
*/
|
|
2059
|
+
async deleteSkillWithOptions(workspaceId: string, skillName: string, request: $_model.DeleteSkillRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.DeleteSkillResponse> {
|
|
1724
2060
|
request.validate();
|
|
1725
2061
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
1726
2062
|
headers: headers,
|
|
@@ -1893,10 +2229,10 @@ export default class Client extends OpenApi {
|
|
|
1893
2229
|
}
|
|
1894
2230
|
|
|
1895
2231
|
/**
|
|
1896
|
-
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction.
|
|
2232
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
|
|
1897
2233
|
*
|
|
1898
2234
|
* @remarks
|
|
1899
|
-
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction.
|
|
2235
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
|
|
1900
2236
|
*
|
|
1901
2237
|
* @param request - DeleteWorkspaceRequest
|
|
1902
2238
|
* @param headers - map
|
|
@@ -1923,10 +2259,10 @@ export default class Client extends OpenApi {
|
|
|
1923
2259
|
}
|
|
1924
2260
|
|
|
1925
2261
|
/**
|
|
1926
|
-
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction.
|
|
2262
|
+
* Deletes the control plane record of a specified workspace. The server completes the state transition from Deleting to Deleted within the same transaction. The server processes repeated deletion requests for workspaces in the Deleting or Deleted state idempotently.
|
|
1927
2263
|
*
|
|
1928
2264
|
* @remarks
|
|
1929
|
-
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction.
|
|
2265
|
+
* ## Request description\\nDeletes the control plane record of a specified workspace. The server completes the state transition from `Deleting` to `Deleted` within the same transaction. The server processes repeated deletion requests for workspaces in the `Deleting` or `Deleted` state idempotently.\\n.
|
|
1930
2266
|
*
|
|
1931
2267
|
* @param request - DeleteWorkspaceRequest
|
|
1932
2268
|
* @returns DeleteWorkspaceResponse
|
|
@@ -1983,11 +2319,11 @@ export default class Client extends OpenApi {
|
|
|
1983
2319
|
}
|
|
1984
2320
|
|
|
1985
2321
|
/**
|
|
1986
|
-
* Retrieves
|
|
2322
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1987
2323
|
*
|
|
1988
2324
|
* @remarks
|
|
1989
|
-
* ##
|
|
1990
|
-
* Retrieves
|
|
2325
|
+
* ## Request description
|
|
2326
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
1991
2327
|
*
|
|
1992
2328
|
* @param request - DownloadAgentSpecViaOssRequest
|
|
1993
2329
|
* @param headers - map
|
|
@@ -2020,11 +2356,11 @@ export default class Client extends OpenApi {
|
|
|
2020
2356
|
}
|
|
2021
2357
|
|
|
2022
2358
|
/**
|
|
2023
|
-
* Retrieves
|
|
2359
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
2024
2360
|
*
|
|
2025
2361
|
* @remarks
|
|
2026
|
-
* ##
|
|
2027
|
-
* Retrieves
|
|
2362
|
+
* ## Request description
|
|
2363
|
+
* Retrieves the presigned OSS download URL of a specified AgentSpec to download the AgentSpec ZIP package.
|
|
2028
2364
|
*
|
|
2029
2365
|
* @param request - DownloadAgentSpecViaOssRequest
|
|
2030
2366
|
* @returns DownloadAgentSpecViaOssResponse
|
|
@@ -2247,7 +2583,7 @@ export default class Client extends OpenApi {
|
|
|
2247
2583
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2248
2584
|
*
|
|
2249
2585
|
* @remarks
|
|
2250
|
-
* ##
|
|
2586
|
+
* ## Request description
|
|
2251
2587
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2252
2588
|
*
|
|
2253
2589
|
* @param request - GetAgentSpecRequest
|
|
@@ -2278,7 +2614,7 @@ export default class Client extends OpenApi {
|
|
|
2278
2614
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2279
2615
|
*
|
|
2280
2616
|
* @remarks
|
|
2281
|
-
* ##
|
|
2617
|
+
* ## Request description
|
|
2282
2618
|
* Queries the governance details of a specified AgentSpec, including basic information, governance pointers, and summaries of all versions.
|
|
2283
2619
|
*
|
|
2284
2620
|
* @param request - GetAgentSpecRequest
|
|
@@ -2291,11 +2627,11 @@ export default class Client extends OpenApi {
|
|
|
2291
2627
|
}
|
|
2292
2628
|
|
|
2293
2629
|
/**
|
|
2294
|
-
* Retrieves the OSS
|
|
2630
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2295
2631
|
*
|
|
2296
2632
|
* @remarks
|
|
2297
|
-
* ##
|
|
2298
|
-
* Retrieves the OSS
|
|
2633
|
+
* ## Request description
|
|
2634
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2299
2635
|
*
|
|
2300
2636
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
2301
2637
|
* @param headers - map
|
|
@@ -2328,11 +2664,11 @@ export default class Client extends OpenApi {
|
|
|
2328
2664
|
}
|
|
2329
2665
|
|
|
2330
2666
|
/**
|
|
2331
|
-
* Retrieves the OSS
|
|
2667
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2332
2668
|
*
|
|
2333
2669
|
* @remarks
|
|
2334
|
-
* ##
|
|
2335
|
-
* Retrieves the OSS
|
|
2670
|
+
* ## Request description
|
|
2671
|
+
* Retrieves the OSS presigned upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, you can call the AgentSpec OSS upload API to complete the import.
|
|
2336
2672
|
*
|
|
2337
2673
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
2338
2674
|
* @returns GetAgentSpecImportFileUrlResponse
|
|
@@ -2391,11 +2727,11 @@ export default class Client extends OpenApi {
|
|
|
2391
2727
|
}
|
|
2392
2728
|
|
|
2393
2729
|
/**
|
|
2394
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2730
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2395
2731
|
*
|
|
2396
2732
|
* @remarks
|
|
2397
|
-
* ##
|
|
2398
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2733
|
+
* ## Request description
|
|
2734
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2399
2735
|
*
|
|
2400
2736
|
* @param request - GetAgentSpecVersionRequest
|
|
2401
2737
|
* @param headers - map
|
|
@@ -2422,11 +2758,11 @@ export default class Client extends OpenApi {
|
|
|
2422
2758
|
}
|
|
2423
2759
|
|
|
2424
2760
|
/**
|
|
2425
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2761
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2426
2762
|
*
|
|
2427
2763
|
* @remarks
|
|
2428
|
-
* ##
|
|
2429
|
-
* Queries the complete content of a specified AgentSpec version, including manifest content, resource files, and metadata.
|
|
2764
|
+
* ## Request description
|
|
2765
|
+
* Queries the complete content of a specified AgentSpec version, including the manifest content, resource files, and metadata.
|
|
2430
2766
|
*
|
|
2431
2767
|
* @param request - GetAgentSpecVersionRequest
|
|
2432
2768
|
* @returns GetAgentSpecVersionResponse
|
|
@@ -2438,7 +2774,7 @@ export default class Client extends OpenApi {
|
|
|
2438
2774
|
}
|
|
2439
2775
|
|
|
2440
2776
|
/**
|
|
2441
|
-
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked
|
|
2777
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
|
|
2442
2778
|
*
|
|
2443
2779
|
* @remarks
|
|
2444
2780
|
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
@@ -2468,7 +2804,7 @@ export default class Client extends OpenApi {
|
|
|
2468
2804
|
}
|
|
2469
2805
|
|
|
2470
2806
|
/**
|
|
2471
|
-
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked
|
|
2807
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in a masked format.
|
|
2472
2808
|
*
|
|
2473
2809
|
* @remarks
|
|
2474
2810
|
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
@@ -2483,12 +2819,12 @@ export default class Client extends OpenApi {
|
|
|
2483
2819
|
}
|
|
2484
2820
|
|
|
2485
2821
|
/**
|
|
2486
|
-
*
|
|
2822
|
+
* Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
|
|
2487
2823
|
*
|
|
2488
2824
|
* @remarks
|
|
2489
|
-
*
|
|
2490
|
-
*
|
|
2491
|
-
*
|
|
2825
|
+
* After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
|
|
2826
|
+
* The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
|
|
2827
|
+
* If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
|
|
2492
2828
|
*
|
|
2493
2829
|
* @param request - GetCustomAgentRequest
|
|
2494
2830
|
* @param headers - map
|
|
@@ -2515,12 +2851,12 @@ export default class Client extends OpenApi {
|
|
|
2515
2851
|
}
|
|
2516
2852
|
|
|
2517
2853
|
/**
|
|
2518
|
-
*
|
|
2854
|
+
* Queries the details of a custom agent in a specified workspace, including deployment configurations, the execute status of the latest configuration version, and the running instance status statistics.
|
|
2519
2855
|
*
|
|
2520
2856
|
* @remarks
|
|
2521
|
-
*
|
|
2522
|
-
*
|
|
2523
|
-
*
|
|
2857
|
+
* After you create or update a custom agent, you can poll this operation to query the execution result of the latest configuration version. `latestVersionStatus` corresponds to `latestSpecVersion`. `latestExecutionError` indicates the cause of the pending or failed status for this version. If `retryable` is true, you can query again later.
|
|
2858
|
+
* The returned configuration is the most recently submitted configuration and may not have taken effect. Verify the deployment and running status by checking `latestVersionStatus`, the overall agent status `status`, and the running instance statistics `sandboxPhaseCounts`.
|
|
2859
|
+
* If the queried custom agent does not exist, has been deleted, or does not belong to the specified workspace, a resource not found error is returned.
|
|
2524
2860
|
*
|
|
2525
2861
|
* @param request - GetCustomAgentRequest
|
|
2526
2862
|
* @returns GetCustomAgentResponse
|
|
@@ -2577,10 +2913,10 @@ export default class Client extends OpenApi {
|
|
|
2577
2913
|
}
|
|
2578
2914
|
|
|
2579
2915
|
/**
|
|
2580
|
-
* Queries the available network types for a specified external agent.
|
|
2916
|
+
* Queries the available access network types for a specified external agent.
|
|
2581
2917
|
*
|
|
2582
2918
|
* @remarks
|
|
2583
|
-
* Queries the available network types for a specified external agent.
|
|
2919
|
+
* Queries the available access network types for a specified external agent.
|
|
2584
2920
|
*
|
|
2585
2921
|
* @param request - GetExternalAgentBootstrapOptionsRequest
|
|
2586
2922
|
* @param headers - map
|
|
@@ -2607,10 +2943,10 @@ export default class Client extends OpenApi {
|
|
|
2607
2943
|
}
|
|
2608
2944
|
|
|
2609
2945
|
/**
|
|
2610
|
-
* Queries the available network types for a specified external agent.
|
|
2946
|
+
* Queries the available access network types for a specified external agent.
|
|
2611
2947
|
*
|
|
2612
2948
|
* @remarks
|
|
2613
|
-
* Queries the available network types for a specified external agent.
|
|
2949
|
+
* Queries the available access network types for a specified external agent.
|
|
2614
2950
|
*
|
|
2615
2951
|
* @param request - GetExternalAgentBootstrapOptionsRequest
|
|
2616
2952
|
* @returns GetExternalAgentBootstrapOptionsResponse
|
|
@@ -2622,7 +2958,7 @@ export default class Client extends OpenApi {
|
|
|
2622
2958
|
}
|
|
2623
2959
|
|
|
2624
2960
|
/**
|
|
2625
|
-
* Queries the binding details of
|
|
2961
|
+
* Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
|
|
2626
2962
|
*
|
|
2627
2963
|
* @param request - GetIdentityProviderRequest
|
|
2628
2964
|
* @param headers - map
|
|
@@ -2649,7 +2985,7 @@ export default class Client extends OpenApi {
|
|
|
2649
2985
|
}
|
|
2650
2986
|
|
|
2651
2987
|
/**
|
|
2652
|
-
* Queries the binding details of
|
|
2988
|
+
* Queries the binding details of the external identity provider for a specified workspace, including the binding status, application configurations, and callback URLs to be configured on the identity provider side. Application secret configurations are not returned.
|
|
2653
2989
|
*
|
|
2654
2990
|
* @param request - GetIdentityProviderRequest
|
|
2655
2991
|
* @returns GetIdentityProviderResponse
|
|
@@ -2660,6 +2996,61 @@ export default class Client extends OpenApi {
|
|
|
2660
2996
|
return await this.getIdentityProviderWithOptions(workspaceId, identityProviderType, request, headers, runtime);
|
|
2661
2997
|
}
|
|
2662
2998
|
|
|
2999
|
+
/**
|
|
3000
|
+
* Queries the details of an image cache.
|
|
3001
|
+
*
|
|
3002
|
+
* @remarks
|
|
3003
|
+
* Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
|
|
3004
|
+
*
|
|
3005
|
+
* @param request - GetImageCacheRequest
|
|
3006
|
+
* @param headers - map
|
|
3007
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3008
|
+
* @returns GetImageCacheResponse
|
|
3009
|
+
*/
|
|
3010
|
+
async getImageCacheWithOptions(imageId: string, request: $_model.GetImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetImageCacheResponse> {
|
|
3011
|
+
request.validate();
|
|
3012
|
+
let query : {[key: string ]: any} = { };
|
|
3013
|
+
if (!$dara.isNull(request.regionId)) {
|
|
3014
|
+
query["regionId"] = request.regionId;
|
|
3015
|
+
}
|
|
3016
|
+
|
|
3017
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
3018
|
+
query["workspaceId"] = request.workspaceId;
|
|
3019
|
+
}
|
|
3020
|
+
|
|
3021
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3022
|
+
headers: headers,
|
|
3023
|
+
query: OpenApiUtil.query(query),
|
|
3024
|
+
});
|
|
3025
|
+
let params = new $OpenApiUtil.Params({
|
|
3026
|
+
action: "GetImageCache",
|
|
3027
|
+
version: "2026-08-04",
|
|
3028
|
+
protocol: "HTTPS",
|
|
3029
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}`,
|
|
3030
|
+
method: "GET",
|
|
3031
|
+
authType: "AK",
|
|
3032
|
+
style: "ROA",
|
|
3033
|
+
reqBodyType: "json",
|
|
3034
|
+
bodyType: "json",
|
|
3035
|
+
});
|
|
3036
|
+
return $dara.cast<$_model.GetImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.GetImageCacheResponse({}));
|
|
3037
|
+
}
|
|
3038
|
+
|
|
3039
|
+
/**
|
|
3040
|
+
* Queries the details of an image cache.
|
|
3041
|
+
*
|
|
3042
|
+
* @remarks
|
|
3043
|
+
* Queries the details of the logical image cache in the current workspace. Returns the complete source, current digest, actual size, creation time, status, and secure error messages. AgentCount counts configuration references with the switch enabled. CanDelete verifies both configuration references and instance usage. If the switch is disabled, the count is 0, but deletion is still prohibited if old instances are not released. If the resource does not belong to the current workspace, resources with the same content from other workspaces are not returned.
|
|
3044
|
+
*
|
|
3045
|
+
* @param request - GetImageCacheRequest
|
|
3046
|
+
* @returns GetImageCacheResponse
|
|
3047
|
+
*/
|
|
3048
|
+
async getImageCache(imageId: string, request: $_model.GetImageCacheRequest): Promise<$_model.GetImageCacheResponse> {
|
|
3049
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3050
|
+
let headers : {[key: string ]: string} = { };
|
|
3051
|
+
return await this.getImageCacheWithOptions(imageId, request, headers, runtime);
|
|
3052
|
+
}
|
|
3053
|
+
|
|
2663
3054
|
/**
|
|
2664
3055
|
* Queries the details of a specified managed agent.
|
|
2665
3056
|
*
|
|
@@ -2791,6 +3182,141 @@ export default class Client extends OpenApi {
|
|
|
2791
3182
|
return await this.getMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
|
|
2792
3183
|
}
|
|
2793
3184
|
|
|
3185
|
+
/**
|
|
3186
|
+
* Queries a long-term memory by memory ID.
|
|
3187
|
+
*
|
|
3188
|
+
* @remarks
|
|
3189
|
+
* Queries a long-term memory by memory ID.
|
|
3190
|
+
*
|
|
3191
|
+
* @param request - GetMemoryRequest
|
|
3192
|
+
* @param headers - map
|
|
3193
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3194
|
+
* @returns GetMemoryResponse
|
|
3195
|
+
*/
|
|
3196
|
+
async getMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.GetMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryResponse> {
|
|
3197
|
+
request.validate();
|
|
3198
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3199
|
+
headers: headers,
|
|
3200
|
+
});
|
|
3201
|
+
let params = new $OpenApiUtil.Params({
|
|
3202
|
+
action: "GetMemory",
|
|
3203
|
+
version: "2026-08-04",
|
|
3204
|
+
protocol: "HTTPS",
|
|
3205
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
3206
|
+
method: "GET",
|
|
3207
|
+
authType: "AK",
|
|
3208
|
+
style: "ROA",
|
|
3209
|
+
reqBodyType: "json",
|
|
3210
|
+
bodyType: "json",
|
|
3211
|
+
});
|
|
3212
|
+
return $dara.cast<$_model.GetMemoryResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryResponse({}));
|
|
3213
|
+
}
|
|
3214
|
+
|
|
3215
|
+
/**
|
|
3216
|
+
* Queries a long-term memory by memory ID.
|
|
3217
|
+
*
|
|
3218
|
+
* @remarks
|
|
3219
|
+
* Queries a long-term memory by memory ID.
|
|
3220
|
+
*
|
|
3221
|
+
* @param request - GetMemoryRequest
|
|
3222
|
+
* @returns GetMemoryResponse
|
|
3223
|
+
*/
|
|
3224
|
+
async getMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.GetMemoryRequest): Promise<$_model.GetMemoryResponse> {
|
|
3225
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3226
|
+
let headers : {[key: string ]: string} = { };
|
|
3227
|
+
return await this.getMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
3228
|
+
}
|
|
3229
|
+
|
|
3230
|
+
/**
|
|
3231
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3232
|
+
*
|
|
3233
|
+
* @remarks
|
|
3234
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3235
|
+
*
|
|
3236
|
+
* @param request - GetMemoryStoreRequest
|
|
3237
|
+
* @param headers - map
|
|
3238
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3239
|
+
* @returns GetMemoryStoreResponse
|
|
3240
|
+
*/
|
|
3241
|
+
async getMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.GetMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryStoreResponse> {
|
|
3242
|
+
request.validate();
|
|
3243
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3244
|
+
headers: headers,
|
|
3245
|
+
});
|
|
3246
|
+
let params = new $OpenApiUtil.Params({
|
|
3247
|
+
action: "GetMemoryStore",
|
|
3248
|
+
version: "2026-08-04",
|
|
3249
|
+
protocol: "HTTPS",
|
|
3250
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
3251
|
+
method: "GET",
|
|
3252
|
+
authType: "AK",
|
|
3253
|
+
style: "ROA",
|
|
3254
|
+
reqBodyType: "json",
|
|
3255
|
+
bodyType: "json",
|
|
3256
|
+
});
|
|
3257
|
+
return $dara.cast<$_model.GetMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryStoreResponse({}));
|
|
3258
|
+
}
|
|
3259
|
+
|
|
3260
|
+
/**
|
|
3261
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3262
|
+
*
|
|
3263
|
+
* @remarks
|
|
3264
|
+
* Queries the public information and current status of a MemoryStore in a specified workspace.
|
|
3265
|
+
*
|
|
3266
|
+
* @param request - GetMemoryStoreRequest
|
|
3267
|
+
* @returns GetMemoryStoreResponse
|
|
3268
|
+
*/
|
|
3269
|
+
async getMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.GetMemoryStoreRequest): Promise<$_model.GetMemoryStoreResponse> {
|
|
3270
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3271
|
+
let headers : {[key: string ]: string} = { };
|
|
3272
|
+
return await this.getMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
3273
|
+
}
|
|
3274
|
+
|
|
3275
|
+
/**
|
|
3276
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3277
|
+
*
|
|
3278
|
+
* @remarks
|
|
3279
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3280
|
+
*
|
|
3281
|
+
* @param request - GetMemoryTaskRequest
|
|
3282
|
+
* @param headers - map
|
|
3283
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3284
|
+
* @returns GetMemoryTaskResponse
|
|
3285
|
+
*/
|
|
3286
|
+
async getMemoryTaskWithOptions(workspaceId: string, memoryStoreName: string, taskId: string, request: $_model.GetMemoryTaskRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetMemoryTaskResponse> {
|
|
3287
|
+
request.validate();
|
|
3288
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
3289
|
+
headers: headers,
|
|
3290
|
+
});
|
|
3291
|
+
let params = new $OpenApiUtil.Params({
|
|
3292
|
+
action: "GetMemoryTask",
|
|
3293
|
+
version: "2026-08-04",
|
|
3294
|
+
protocol: "HTTPS",
|
|
3295
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memory-tasks/${$dara.URL.percentEncode(taskId)}`,
|
|
3296
|
+
method: "GET",
|
|
3297
|
+
authType: "AK",
|
|
3298
|
+
style: "ROA",
|
|
3299
|
+
reqBodyType: "json",
|
|
3300
|
+
bodyType: "json",
|
|
3301
|
+
});
|
|
3302
|
+
return $dara.cast<$_model.GetMemoryTaskResponse>(await this.callApi(params, req, runtime), new $_model.GetMemoryTaskResponse({}));
|
|
3303
|
+
}
|
|
3304
|
+
|
|
3305
|
+
/**
|
|
3306
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3307
|
+
*
|
|
3308
|
+
* @remarks
|
|
3309
|
+
* Queries the task ID returned by the asynchronous AddMemories operation.
|
|
3310
|
+
*
|
|
3311
|
+
* @param request - GetMemoryTaskRequest
|
|
3312
|
+
* @returns GetMemoryTaskResponse
|
|
3313
|
+
*/
|
|
3314
|
+
async getMemoryTask(workspaceId: string, memoryStoreName: string, taskId: string, request: $_model.GetMemoryTaskRequest): Promise<$_model.GetMemoryTaskResponse> {
|
|
3315
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
3316
|
+
let headers : {[key: string ]: string} = { };
|
|
3317
|
+
return await this.getMemoryTaskWithOptions(workspaceId, memoryStoreName, taskId, request, headers, runtime);
|
|
3318
|
+
}
|
|
3319
|
+
|
|
2794
3320
|
/**
|
|
2795
3321
|
* Queries the detailed configuration and region of a model in a specified workspace.
|
|
2796
3322
|
*
|
|
@@ -2915,10 +3441,10 @@ export default class Client extends OpenApi {
|
|
|
2915
3441
|
}
|
|
2916
3442
|
|
|
2917
3443
|
/**
|
|
2918
|
-
* Queries the currently active API
|
|
3444
|
+
* Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
|
|
2919
3445
|
*
|
|
2920
3446
|
* @remarks
|
|
2921
|
-
* Queries the currently active API
|
|
3447
|
+
* Queries the currently active API key for a specified service endpoint. The call succeeds only when API key authentication is enabled for the service endpoint and the gateway consumer and credentials are ready. The service reads the API key from the gateway in real time, and AgentCore does not persist the plaintext. Keep the returned API key secure and avoid logging it or exposing it in public configurations.
|
|
2922
3448
|
*
|
|
2923
3449
|
* @param request - GetServiceEndpointApiKeyRequest
|
|
2924
3450
|
* @param headers - map
|
|
@@ -2945,10 +3471,10 @@ export default class Client extends OpenApi {
|
|
|
2945
3471
|
}
|
|
2946
3472
|
|
|
2947
3473
|
/**
|
|
2948
|
-
* Queries the currently active API
|
|
3474
|
+
* Queries the currently active API key and its invocation method for a service endpoint in a specified workspace.
|
|
2949
3475
|
*
|
|
2950
3476
|
* @remarks
|
|
2951
|
-
* Queries the currently active API
|
|
3477
|
+
* Queries the currently active API key for a specified service endpoint. The call succeeds only when API key authentication is enabled for the service endpoint and the gateway consumer and credentials are ready. The service reads the API key from the gateway in real time, and AgentCore does not persist the plaintext. Keep the returned API key secure and avoid logging it or exposing it in public configurations.
|
|
2952
3478
|
*
|
|
2953
3479
|
* @param request - GetServiceEndpointApiKeyRequest
|
|
2954
3480
|
* @returns GetServiceEndpointApiKeyResponse
|
|
@@ -3007,11 +3533,11 @@ export default class Client extends OpenApi {
|
|
|
3007
3533
|
}
|
|
3008
3534
|
|
|
3009
3535
|
/**
|
|
3010
|
-
* Retrieves the OSS
|
|
3536
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
3011
3537
|
*
|
|
3012
3538
|
* @remarks
|
|
3013
3539
|
* ## Request description
|
|
3014
|
-
* Retrieves the OSS
|
|
3540
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
3015
3541
|
*
|
|
3016
3542
|
* @param request - GetSkillImportFileUrlRequest
|
|
3017
3543
|
* @param headers - map
|
|
@@ -3044,11 +3570,11 @@ export default class Client extends OpenApi {
|
|
|
3044
3570
|
}
|
|
3045
3571
|
|
|
3046
3572
|
/**
|
|
3047
|
-
* Retrieves the OSS
|
|
3573
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
3048
3574
|
*
|
|
3049
3575
|
* @remarks
|
|
3050
3576
|
* ## Request description
|
|
3051
|
-
* Retrieves the OSS
|
|
3577
|
+
* Retrieves the OSS presigned upload URL and object name required to import a Skill ZIP package. After the upload is complete, you can call the Skill OSS upload API to complete the import.
|
|
3052
3578
|
*
|
|
3053
3579
|
* @param request - GetSkillImportFileUrlRequest
|
|
3054
3580
|
* @returns GetSkillImportFileUrlResponse
|
|
@@ -3146,7 +3672,7 @@ export default class Client extends OpenApi {
|
|
|
3146
3672
|
}
|
|
3147
3673
|
|
|
3148
3674
|
/**
|
|
3149
|
-
* Queries the details of a
|
|
3675
|
+
* Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
|
|
3150
3676
|
*
|
|
3151
3677
|
* @param request - GetUserRequest
|
|
3152
3678
|
* @param headers - map
|
|
@@ -3173,7 +3699,7 @@ export default class Client extends OpenApi {
|
|
|
3173
3699
|
}
|
|
3174
3700
|
|
|
3175
3701
|
/**
|
|
3176
|
-
* Queries the details of a
|
|
3702
|
+
* Queries the details of a specific user in a specified workspace. Returns an error if the user does not exist.
|
|
3177
3703
|
*
|
|
3178
3704
|
* @param request - GetUserRequest
|
|
3179
3705
|
* @returns GetUserResponse
|
|
@@ -3185,10 +3711,10 @@ export default class Client extends OpenApi {
|
|
|
3185
3711
|
}
|
|
3186
3712
|
|
|
3187
3713
|
/**
|
|
3188
|
-
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network
|
|
3714
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
|
|
3189
3715
|
*
|
|
3190
3716
|
* @remarks
|
|
3191
|
-
* ##
|
|
3717
|
+
* ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
|
|
3192
3718
|
*
|
|
3193
3719
|
* @param request - GetWorkspaceRequest
|
|
3194
3720
|
* @param headers - map
|
|
@@ -3215,10 +3741,10 @@ export default class Client extends OpenApi {
|
|
|
3215
3741
|
}
|
|
3216
3742
|
|
|
3217
3743
|
/**
|
|
3218
|
-
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network
|
|
3744
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.
|
|
3219
3745
|
*
|
|
3220
3746
|
* @remarks
|
|
3221
|
-
* ##
|
|
3747
|
+
* ## Request description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policies.\\n.
|
|
3222
3748
|
*
|
|
3223
3749
|
* @param request - GetWorkspaceRequest
|
|
3224
3750
|
* @returns GetWorkspaceResponse
|
|
@@ -3230,10 +3756,10 @@ export default class Client extends OpenApi {
|
|
|
3230
3756
|
}
|
|
3231
3757
|
|
|
3232
3758
|
/**
|
|
3233
|
-
* Queries the ACR RAM authorization URL
|
|
3759
|
+
* Queries the ACR RAM authorization URL of a workspace.
|
|
3234
3760
|
*
|
|
3235
3761
|
* @remarks
|
|
3236
|
-
* ACR and user OSS mounts share the
|
|
3762
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
|
|
3237
3763
|
*
|
|
3238
3764
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3239
3765
|
* @param headers - map
|
|
@@ -3274,10 +3800,10 @@ export default class Client extends OpenApi {
|
|
|
3274
3800
|
}
|
|
3275
3801
|
|
|
3276
3802
|
/**
|
|
3277
|
-
* Queries the ACR RAM authorization URL
|
|
3803
|
+
* Queries the ACR RAM authorization URL of a workspace.
|
|
3278
3804
|
*
|
|
3279
3805
|
* @remarks
|
|
3280
|
-
* ACR and user OSS mounts share the
|
|
3806
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is reused and permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. The acrInstanceId, namespace, and repository parameters are required. The region and account are derived from the workspace context. Returns the role resolved by the backend and the authorization URL for the target repository. This operation does not create ACR or agent execution versions, nor does it deliver runtime configurations. After authorization is complete, you can call Verify before creating or updating an agent, without the need to call an independent Ensure operation.
|
|
3281
3807
|
*
|
|
3282
3808
|
* @param request - GetWorkspaceAcrRamAuthorizeUrlRequest
|
|
3283
3809
|
* @returns GetWorkspaceAcrRamAuthorizeUrlResponse
|
|
@@ -3292,7 +3818,7 @@ export default class Client extends OpenApi {
|
|
|
3292
3818
|
* Queries the RAM authorization URL for mounting AgenticFS in a workspace.
|
|
3293
3819
|
*
|
|
3294
3820
|
* @remarks
|
|
3295
|
-
*
|
|
3821
|
+
* Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
|
|
3296
3822
|
*
|
|
3297
3823
|
* @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
|
|
3298
3824
|
* @param headers - map
|
|
@@ -3336,7 +3862,7 @@ export default class Client extends OpenApi {
|
|
|
3336
3862
|
* Queries the RAM authorization URL for mounting AgenticFS in a workspace.
|
|
3337
3863
|
*
|
|
3338
3864
|
* @remarks
|
|
3339
|
-
*
|
|
3865
|
+
* Determines the account, region, and shared role based on the workspace, and concatenates the resource ARN based on the provided fileSystemId and accessPointId. The server parameter is used to generate the policy name. This operation does not query NAS or check the resource status, and returns an authorization URL that contains only the target NAS policy. After completing RAM authorization, you must call the verification API.
|
|
3340
3866
|
*
|
|
3341
3867
|
* @param request - GetWorkspaceAgenticFsMountRamAuthorizeUrlRequest
|
|
3342
3868
|
* @returns GetWorkspaceAgenticFsMountRamAuthorizeUrlResponse
|
|
@@ -3460,10 +3986,10 @@ export default class Client extends OpenApi {
|
|
|
3460
3986
|
}
|
|
3461
3987
|
|
|
3462
3988
|
/**
|
|
3463
|
-
* Installs a plugin for a specified AgentCore workspace. Currently
|
|
3989
|
+
* Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
|
|
3464
3990
|
*
|
|
3465
3991
|
* @remarks
|
|
3466
|
-
* ##
|
|
3992
|
+
* ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
|
|
3467
3993
|
*
|
|
3468
3994
|
* @param tmpReq - InstallWorkspacePluginRequest
|
|
3469
3995
|
* @param headers - map
|
|
@@ -3508,10 +4034,10 @@ export default class Client extends OpenApi {
|
|
|
3508
4034
|
}
|
|
3509
4035
|
|
|
3510
4036
|
/**
|
|
3511
|
-
* Installs a plugin for a specified AgentCore workspace. Currently
|
|
4037
|
+
* Installs a plugin for a specified AgentCore workspace. Currently, only the collaboration plugin is supported. The installation process runs asynchronously.
|
|
3512
4038
|
*
|
|
3513
4039
|
* @remarks
|
|
3514
|
-
* ##
|
|
4040
|
+
* ## Request description\\nInstalls a plugin for a specified AgentCore workspace. Currently, only the `collaboration` plugin is supported. Plugin configurations are passed through the `Config` parameter, and different plugins can define their own configuration structures. The `collaboration` plugin uses `Config.NetworkConfiguration` to specify the VPC and public network access policy. The installation procedure executes asynchronously. If you repeatedly invoke this operation for a plugin with the same name that is being installed or already installed, the operation returns the current status based on idempotent semantics if the configurations are identical. If the configurations are different, the operation returns an operation conflict.\\n
|
|
3515
4041
|
*
|
|
3516
4042
|
* @param request - InstallWorkspacePluginRequest
|
|
3517
4043
|
* @returns InstallWorkspacePluginResponse
|
|
@@ -3671,7 +4197,7 @@ export default class Client extends OpenApi {
|
|
|
3671
4197
|
}
|
|
3672
4198
|
|
|
3673
4199
|
/**
|
|
3674
|
-
* Queries the
|
|
4200
|
+
* Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
|
|
3675
4201
|
*
|
|
3676
4202
|
* @param tmpReq - ListAgentTeamsRequest
|
|
3677
4203
|
* @param headers - map
|
|
@@ -3710,7 +4236,7 @@ export default class Client extends OpenApi {
|
|
|
3710
4236
|
}
|
|
3711
4237
|
|
|
3712
4238
|
/**
|
|
3713
|
-
* Queries the
|
|
4239
|
+
* Queries the teams to which specified agents belong. Specify the agent IDs by using agentIds to retrieve the membership information of each agent in the teams, including the team ID, team name, and the role of the agent in the team.
|
|
3714
4240
|
*
|
|
3715
4241
|
* @param request - ListAgentTeamsRequest
|
|
3716
4242
|
* @returns ListAgentTeamsResponse
|
|
@@ -3836,10 +4362,10 @@ export default class Client extends OpenApi {
|
|
|
3836
4362
|
}
|
|
3837
4363
|
|
|
3838
4364
|
/**
|
|
3839
|
-
*
|
|
4365
|
+
* Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3840
4366
|
*
|
|
3841
4367
|
* @remarks
|
|
3842
|
-
*
|
|
4368
|
+
* Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
|
|
3843
4369
|
*
|
|
3844
4370
|
* @param request - ListCredentialsRequest
|
|
3845
4371
|
* @param headers - map
|
|
@@ -3888,10 +4414,10 @@ export default class Client extends OpenApi {
|
|
|
3888
4414
|
}
|
|
3889
4415
|
|
|
3890
4416
|
/**
|
|
3891
|
-
*
|
|
4417
|
+
* Performs a paged query for credentials in a specified workspace. Filters by type using credentialType, performs fuzzy filtering by credential name using nameLike, configures paging by specifying the maximum number of records per page using maxResults, and retrieves the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3892
4418
|
*
|
|
3893
4419
|
* @remarks
|
|
3894
|
-
*
|
|
4420
|
+
* Performs a paged query for the credential list in a workspace, and supports filtering by type and name during paging.
|
|
3895
4421
|
*
|
|
3896
4422
|
* @param request - ListCredentialsRequest
|
|
3897
4423
|
* @returns ListCredentialsResponse
|
|
@@ -3903,11 +4429,11 @@ export default class Client extends OpenApi {
|
|
|
3903
4429
|
}
|
|
3904
4430
|
|
|
3905
4431
|
/**
|
|
3906
|
-
*
|
|
4432
|
+
* Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
|
|
3907
4433
|
*
|
|
3908
4434
|
* @remarks
|
|
3909
4435
|
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
3910
|
-
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it
|
|
4436
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
|
|
3911
4437
|
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
3912
4438
|
*
|
|
3913
4439
|
* @param request - ListCustomAgentsRequest
|
|
@@ -3945,11 +4471,11 @@ export default class Client extends OpenApi {
|
|
|
3945
4471
|
}
|
|
3946
4472
|
|
|
3947
4473
|
/**
|
|
3948
|
-
*
|
|
4474
|
+
* Queries the summaries of custom agents in a specified workspace by using paging. For the complete configuration and the execution results of the latest version, call GetCustomAgent.
|
|
3949
4475
|
*
|
|
3950
4476
|
* @remarks
|
|
3951
4477
|
* The default value of maxResults is 20, and the maximum value is 100. If this parameter is omitted or set to 0, the default value is used.
|
|
3952
|
-
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it
|
|
4478
|
+
* Omit nextToken in the first request. In subsequent requests, pass the nextToken value returned in the previous response as is, and keep the same workspace. The nextToken is an opaque token. Do not parse or construct it. If the token in the response is empty, it indicates that no more pages are available.
|
|
3953
4479
|
* This operation returns the summaries of the current page and does not return the complete deployment configuration or the execution errors of the latest version. To obtain this information, call GetCustomAgent by using the agentId in items.
|
|
3954
4480
|
*
|
|
3955
4481
|
* @param request - ListCustomAgentsRequest
|
|
@@ -4017,7 +4543,7 @@ export default class Client extends OpenApi {
|
|
|
4017
4543
|
}
|
|
4018
4544
|
|
|
4019
4545
|
/**
|
|
4020
|
-
* Queries the external identity
|
|
4546
|
+
* Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
|
|
4021
4547
|
*
|
|
4022
4548
|
* @param request - ListIdentityProvidersRequest
|
|
4023
4549
|
* @param headers - map
|
|
@@ -4054,7 +4580,7 @@ export default class Client extends OpenApi {
|
|
|
4054
4580
|
}
|
|
4055
4581
|
|
|
4056
4582
|
/**
|
|
4057
|
-
* Queries the external identity
|
|
4583
|
+
* Queries the external identity providers bound to a specified workspace. Each workspace can be bound to at most one external identity provider, so the response returns at most one record. Application secret configurations are not returned.
|
|
4058
4584
|
*
|
|
4059
4585
|
* @param request - ListIdentityProvidersRequest
|
|
4060
4586
|
* @returns ListIdentityProvidersResponse
|
|
@@ -4066,31 +4592,126 @@ export default class Client extends OpenApi {
|
|
|
4066
4592
|
}
|
|
4067
4593
|
|
|
4068
4594
|
/**
|
|
4069
|
-
* Queries
|
|
4595
|
+
* Queries image caches.
|
|
4070
4596
|
*
|
|
4071
4597
|
* @remarks
|
|
4072
|
-
* Queries the
|
|
4598
|
+
* Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
|
|
4073
4599
|
*
|
|
4074
|
-
* @param request -
|
|
4600
|
+
* @param request - ListImageCachesRequest
|
|
4075
4601
|
* @param headers - map
|
|
4076
4602
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4077
|
-
* @returns
|
|
4603
|
+
* @returns ListImageCachesResponse
|
|
4078
4604
|
*/
|
|
4079
|
-
async
|
|
4605
|
+
async listImageCachesWithOptions(request: $_model.ListImageCachesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListImageCachesResponse> {
|
|
4080
4606
|
request.validate();
|
|
4081
4607
|
let query : {[key: string ]: any} = { };
|
|
4608
|
+
if (!$dara.isNull(request.acrInstanceId)) {
|
|
4609
|
+
query["acrInstanceId"] = request.acrInstanceId;
|
|
4610
|
+
}
|
|
4611
|
+
|
|
4612
|
+
if (!$dara.isNull(request.digest)) {
|
|
4613
|
+
query["digest"] = request.digest;
|
|
4614
|
+
}
|
|
4615
|
+
|
|
4616
|
+
if (!$dara.isNull(request.imageRefContains)) {
|
|
4617
|
+
query["imageRefContains"] = request.imageRefContains;
|
|
4618
|
+
}
|
|
4619
|
+
|
|
4082
4620
|
if (!$dara.isNull(request.maxResults)) {
|
|
4083
4621
|
query["maxResults"] = request.maxResults;
|
|
4084
4622
|
}
|
|
4085
4623
|
|
|
4624
|
+
if (!$dara.isNull(request.namespace)) {
|
|
4625
|
+
query["namespace"] = request.namespace;
|
|
4626
|
+
}
|
|
4627
|
+
|
|
4086
4628
|
if (!$dara.isNull(request.nextToken)) {
|
|
4087
4629
|
query["nextToken"] = request.nextToken;
|
|
4088
4630
|
}
|
|
4089
4631
|
|
|
4090
|
-
|
|
4091
|
-
|
|
4092
|
-
|
|
4093
|
-
|
|
4632
|
+
if (!$dara.isNull(request.regionId)) {
|
|
4633
|
+
query["regionId"] = request.regionId;
|
|
4634
|
+
}
|
|
4635
|
+
|
|
4636
|
+
if (!$dara.isNull(request.registry)) {
|
|
4637
|
+
query["registry"] = request.registry;
|
|
4638
|
+
}
|
|
4639
|
+
|
|
4640
|
+
if (!$dara.isNull(request.repository)) {
|
|
4641
|
+
query["repository"] = request.repository;
|
|
4642
|
+
}
|
|
4643
|
+
|
|
4644
|
+
if (!$dara.isNull(request.status)) {
|
|
4645
|
+
query["status"] = request.status;
|
|
4646
|
+
}
|
|
4647
|
+
|
|
4648
|
+
if (!$dara.isNull(request.tag)) {
|
|
4649
|
+
query["tag"] = request.tag;
|
|
4650
|
+
}
|
|
4651
|
+
|
|
4652
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
4653
|
+
query["workspaceId"] = request.workspaceId;
|
|
4654
|
+
}
|
|
4655
|
+
|
|
4656
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4657
|
+
headers: headers,
|
|
4658
|
+
query: OpenApiUtil.query(query),
|
|
4659
|
+
});
|
|
4660
|
+
let params = new $OpenApiUtil.Params({
|
|
4661
|
+
action: "ListImageCaches",
|
|
4662
|
+
version: "2026-08-04",
|
|
4663
|
+
protocol: "HTTPS",
|
|
4664
|
+
pathname: `/image-caches`,
|
|
4665
|
+
method: "GET",
|
|
4666
|
+
authType: "AK",
|
|
4667
|
+
style: "ROA",
|
|
4668
|
+
reqBodyType: "json",
|
|
4669
|
+
bodyType: "json",
|
|
4670
|
+
});
|
|
4671
|
+
return $dara.cast<$_model.ListImageCachesResponse>(await this.callApi(params, req, runtime), new $_model.ListImageCachesResponse({}));
|
|
4672
|
+
}
|
|
4673
|
+
|
|
4674
|
+
/**
|
|
4675
|
+
* Queries image caches.
|
|
4676
|
+
*
|
|
4677
|
+
* @remarks
|
|
4678
|
+
* Queries the logical image caches within the current account, region, and workspace. WorkspaceId is required, and caches are not visible across workspaces. All conditions filter the full set using the AND operator before pagination is calculated. Results are sorted in descending order of logical resource creation time and ascending order of ImageId. The cursor is bound to the account, region, workspace, all filters, and the sort order. Returns the complete cache objects, the AgentCount based on the configuration switch, and the actual deletion eligibility. Query failures do not return a disguised empty list, and the nextToken on the last page is an empty string.
|
|
4679
|
+
*
|
|
4680
|
+
* @param request - ListImageCachesRequest
|
|
4681
|
+
* @returns ListImageCachesResponse
|
|
4682
|
+
*/
|
|
4683
|
+
async listImageCaches(request: $_model.ListImageCachesRequest): Promise<$_model.ListImageCachesResponse> {
|
|
4684
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4685
|
+
let headers : {[key: string ]: string} = { };
|
|
4686
|
+
return await this.listImageCachesWithOptions(request, headers, runtime);
|
|
4687
|
+
}
|
|
4688
|
+
|
|
4689
|
+
/**
|
|
4690
|
+
* Queries the list of managed agents in a specified workspace.
|
|
4691
|
+
*
|
|
4692
|
+
* @remarks
|
|
4693
|
+
* Queries the list of managed agents in a specified workspace by using paging. Returns summary information for each agent, including the identity, name, status, template, and specifications.
|
|
4694
|
+
*
|
|
4695
|
+
* @param request - ListManagedAgentsRequest
|
|
4696
|
+
* @param headers - map
|
|
4697
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4698
|
+
* @returns ListManagedAgentsResponse
|
|
4699
|
+
*/
|
|
4700
|
+
async listManagedAgentsWithOptions(workspaceId: string, request: $_model.ListManagedAgentsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListManagedAgentsResponse> {
|
|
4701
|
+
request.validate();
|
|
4702
|
+
let query : {[key: string ]: any} = { };
|
|
4703
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4704
|
+
query["maxResults"] = request.maxResults;
|
|
4705
|
+
}
|
|
4706
|
+
|
|
4707
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4708
|
+
query["nextToken"] = request.nextToken;
|
|
4709
|
+
}
|
|
4710
|
+
|
|
4711
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4712
|
+
headers: headers,
|
|
4713
|
+
query: OpenApiUtil.query(query),
|
|
4714
|
+
});
|
|
4094
4715
|
let params = new $OpenApiUtil.Params({
|
|
4095
4716
|
action: "ListManagedAgents",
|
|
4096
4717
|
version: "2026-08-04",
|
|
@@ -4181,27 +4802,298 @@ export default class Client extends OpenApi {
|
|
|
4181
4802
|
* @param request - ListMcpMarketItemsRequest
|
|
4182
4803
|
* @returns ListMcpMarketItemsResponse
|
|
4183
4804
|
*/
|
|
4184
|
-
async listMcpMarketItems(workspaceId: string, request: $_model.ListMcpMarketItemsRequest): Promise<$_model.ListMcpMarketItemsResponse> {
|
|
4805
|
+
async listMcpMarketItems(workspaceId: string, request: $_model.ListMcpMarketItemsRequest): Promise<$_model.ListMcpMarketItemsResponse> {
|
|
4806
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4807
|
+
let headers : {[key: string ]: string} = { };
|
|
4808
|
+
return await this.listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime);
|
|
4809
|
+
}
|
|
4810
|
+
|
|
4811
|
+
/**
|
|
4812
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4813
|
+
*
|
|
4814
|
+
* @remarks
|
|
4815
|
+
* ## Operation description
|
|
4816
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4817
|
+
*
|
|
4818
|
+
* @param request - ListMcpToolsRequest
|
|
4819
|
+
* @param headers - map
|
|
4820
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4821
|
+
* @returns ListMcpToolsResponse
|
|
4822
|
+
*/
|
|
4823
|
+
async listMcpToolsWithOptions(workspaceId: string, mcpServerId: string, request: $_model.ListMcpToolsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpToolsResponse> {
|
|
4824
|
+
request.validate();
|
|
4825
|
+
let query : {[key: string ]: any} = { };
|
|
4826
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4827
|
+
query["maxResults"] = request.maxResults;
|
|
4828
|
+
}
|
|
4829
|
+
|
|
4830
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4831
|
+
query["nextToken"] = request.nextToken;
|
|
4832
|
+
}
|
|
4833
|
+
|
|
4834
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4835
|
+
headers: headers,
|
|
4836
|
+
query: OpenApiUtil.query(query),
|
|
4837
|
+
});
|
|
4838
|
+
let params = new $OpenApiUtil.Params({
|
|
4839
|
+
action: "ListMcpTools",
|
|
4840
|
+
version: "2026-08-04",
|
|
4841
|
+
protocol: "HTTPS",
|
|
4842
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/tools`,
|
|
4843
|
+
method: "GET",
|
|
4844
|
+
authType: "AK",
|
|
4845
|
+
style: "ROA",
|
|
4846
|
+
reqBodyType: "json",
|
|
4847
|
+
bodyType: "json",
|
|
4848
|
+
});
|
|
4849
|
+
return $dara.cast<$_model.ListMcpToolsResponse>(await this.callApi(params, req, runtime), new $_model.ListMcpToolsResponse({}));
|
|
4850
|
+
}
|
|
4851
|
+
|
|
4852
|
+
/**
|
|
4853
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4854
|
+
*
|
|
4855
|
+
* @remarks
|
|
4856
|
+
* ## Operation description
|
|
4857
|
+
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
4858
|
+
*
|
|
4859
|
+
* @param request - ListMcpToolsRequest
|
|
4860
|
+
* @returns ListMcpToolsResponse
|
|
4861
|
+
*/
|
|
4862
|
+
async listMcpTools(workspaceId: string, mcpServerId: string, request: $_model.ListMcpToolsRequest): Promise<$_model.ListMcpToolsResponse> {
|
|
4863
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4864
|
+
let headers : {[key: string ]: string} = { };
|
|
4865
|
+
return await this.listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
4866
|
+
}
|
|
4867
|
+
|
|
4868
|
+
/**
|
|
4869
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4870
|
+
*
|
|
4871
|
+
* @remarks
|
|
4872
|
+
* ## Operation description
|
|
4873
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4874
|
+
*
|
|
4875
|
+
* @param request - ListMcpsRequest
|
|
4876
|
+
* @param headers - map
|
|
4877
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4878
|
+
* @returns ListMcpsResponse
|
|
4879
|
+
*/
|
|
4880
|
+
async listMcpsWithOptions(workspaceId: string, request: $_model.ListMcpsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMcpsResponse> {
|
|
4881
|
+
request.validate();
|
|
4882
|
+
let query : {[key: string ]: any} = { };
|
|
4883
|
+
if (!$dara.isNull(request.customTag)) {
|
|
4884
|
+
query["customTag"] = request.customTag;
|
|
4885
|
+
}
|
|
4886
|
+
|
|
4887
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4888
|
+
query["maxResults"] = request.maxResults;
|
|
4889
|
+
}
|
|
4890
|
+
|
|
4891
|
+
if (!$dara.isNull(request.name)) {
|
|
4892
|
+
query["name"] = request.name;
|
|
4893
|
+
}
|
|
4894
|
+
|
|
4895
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4896
|
+
query["nextToken"] = request.nextToken;
|
|
4897
|
+
}
|
|
4898
|
+
|
|
4899
|
+
if (!$dara.isNull(request.officialTag)) {
|
|
4900
|
+
query["officialTag"] = request.officialTag;
|
|
4901
|
+
}
|
|
4902
|
+
|
|
4903
|
+
if (!$dara.isNull(request.searchType)) {
|
|
4904
|
+
query["searchType"] = request.searchType;
|
|
4905
|
+
}
|
|
4906
|
+
|
|
4907
|
+
if (!$dara.isNull(request.usageActive)) {
|
|
4908
|
+
query["usageActive"] = request.usageActive;
|
|
4909
|
+
}
|
|
4910
|
+
|
|
4911
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4912
|
+
headers: headers,
|
|
4913
|
+
query: OpenApiUtil.query(query),
|
|
4914
|
+
});
|
|
4915
|
+
let params = new $OpenApiUtil.Params({
|
|
4916
|
+
action: "ListMcps",
|
|
4917
|
+
version: "2026-08-04",
|
|
4918
|
+
protocol: "HTTPS",
|
|
4919
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers`,
|
|
4920
|
+
method: "GET",
|
|
4921
|
+
authType: "AK",
|
|
4922
|
+
style: "ROA",
|
|
4923
|
+
reqBodyType: "json",
|
|
4924
|
+
bodyType: "json",
|
|
4925
|
+
});
|
|
4926
|
+
return $dara.cast<$_model.ListMcpsResponse>(await this.callApi(params, req, runtime), new $_model.ListMcpsResponse({}));
|
|
4927
|
+
}
|
|
4928
|
+
|
|
4929
|
+
/**
|
|
4930
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4931
|
+
*
|
|
4932
|
+
* @remarks
|
|
4933
|
+
* ## Operation description
|
|
4934
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
4935
|
+
*
|
|
4936
|
+
* @param request - ListMcpsRequest
|
|
4937
|
+
* @returns ListMcpsResponse
|
|
4938
|
+
*/
|
|
4939
|
+
async listMcps(workspaceId: string, request: $_model.ListMcpsRequest): Promise<$_model.ListMcpsResponse> {
|
|
4940
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
4941
|
+
let headers : {[key: string ]: string} = { };
|
|
4942
|
+
return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
|
|
4943
|
+
}
|
|
4944
|
+
|
|
4945
|
+
/**
|
|
4946
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
4947
|
+
*
|
|
4948
|
+
* @remarks
|
|
4949
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
4950
|
+
*
|
|
4951
|
+
* @param request - ListMemoriesRequest
|
|
4952
|
+
* @param headers - map
|
|
4953
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4954
|
+
* @returns ListMemoriesResponse
|
|
4955
|
+
*/
|
|
4956
|
+
async listMemoriesWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemoriesResponse> {
|
|
4957
|
+
request.validate();
|
|
4958
|
+
let query : {[key: string ]: any} = { };
|
|
4959
|
+
if (!$dara.isNull(request.agentId)) {
|
|
4960
|
+
query["agentId"] = request.agentId;
|
|
4961
|
+
}
|
|
4962
|
+
|
|
4963
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4964
|
+
query["maxResults"] = request.maxResults;
|
|
4965
|
+
}
|
|
4966
|
+
|
|
4967
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4968
|
+
query["nextToken"] = request.nextToken;
|
|
4969
|
+
}
|
|
4970
|
+
|
|
4971
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4972
|
+
query["sessionId"] = request.sessionId;
|
|
4973
|
+
}
|
|
4974
|
+
|
|
4975
|
+
if (!$dara.isNull(request.userId)) {
|
|
4976
|
+
query["userId"] = request.userId;
|
|
4977
|
+
}
|
|
4978
|
+
|
|
4979
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4980
|
+
headers: headers,
|
|
4981
|
+
query: OpenApiUtil.query(query),
|
|
4982
|
+
});
|
|
4983
|
+
let params = new $OpenApiUtil.Params({
|
|
4984
|
+
action: "ListMemories",
|
|
4985
|
+
version: "2026-08-04",
|
|
4986
|
+
protocol: "HTTPS",
|
|
4987
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories`,
|
|
4988
|
+
method: "GET",
|
|
4989
|
+
authType: "AK",
|
|
4990
|
+
style: "ROA",
|
|
4991
|
+
reqBodyType: "json",
|
|
4992
|
+
bodyType: "json",
|
|
4993
|
+
});
|
|
4994
|
+
return $dara.cast<$_model.ListMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.ListMemoriesResponse({}));
|
|
4995
|
+
}
|
|
4996
|
+
|
|
4997
|
+
/**
|
|
4998
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
4999
|
+
*
|
|
5000
|
+
* @remarks
|
|
5001
|
+
* Performs a paged query on long-term memory. Paging is supported, and you can filter the results independently by user ID, agent ID, and session ID.
|
|
5002
|
+
*
|
|
5003
|
+
* @param request - ListMemoriesRequest
|
|
5004
|
+
* @returns ListMemoriesResponse
|
|
5005
|
+
*/
|
|
5006
|
+
async listMemories(workspaceId: string, memoryStoreName: string, request: $_model.ListMemoriesRequest): Promise<$_model.ListMemoriesResponse> {
|
|
5007
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
5008
|
+
let headers : {[key: string ]: string} = { };
|
|
5009
|
+
return await this.listMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
5010
|
+
}
|
|
5011
|
+
|
|
5012
|
+
/**
|
|
5013
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
5014
|
+
*
|
|
5015
|
+
* @remarks
|
|
5016
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
5017
|
+
*
|
|
5018
|
+
* @param request - ListMemorySessionMessagesRequest
|
|
5019
|
+
* @param headers - map
|
|
5020
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5021
|
+
* @returns ListMemorySessionMessagesResponse
|
|
5022
|
+
*/
|
|
5023
|
+
async listMemorySessionMessagesWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionMessagesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemorySessionMessagesResponse> {
|
|
5024
|
+
request.validate();
|
|
5025
|
+
let query : {[key: string ]: any} = { };
|
|
5026
|
+
if (!$dara.isNull(request.agentId)) {
|
|
5027
|
+
query["agentId"] = request.agentId;
|
|
5028
|
+
}
|
|
5029
|
+
|
|
5030
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
5031
|
+
query["maxResults"] = request.maxResults;
|
|
5032
|
+
}
|
|
5033
|
+
|
|
5034
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
5035
|
+
query["nextToken"] = request.nextToken;
|
|
5036
|
+
}
|
|
5037
|
+
|
|
5038
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
5039
|
+
query["sessionId"] = request.sessionId;
|
|
5040
|
+
}
|
|
5041
|
+
|
|
5042
|
+
if (!$dara.isNull(request.userId)) {
|
|
5043
|
+
query["userId"] = request.userId;
|
|
5044
|
+
}
|
|
5045
|
+
|
|
5046
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
5047
|
+
headers: headers,
|
|
5048
|
+
query: OpenApiUtil.query(query),
|
|
5049
|
+
});
|
|
5050
|
+
let params = new $OpenApiUtil.Params({
|
|
5051
|
+
action: "ListMemorySessionMessages",
|
|
5052
|
+
version: "2026-08-04",
|
|
5053
|
+
protocol: "HTTPS",
|
|
5054
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/messages`,
|
|
5055
|
+
method: "GET",
|
|
5056
|
+
authType: "AK",
|
|
5057
|
+
style: "ROA",
|
|
5058
|
+
reqBodyType: "json",
|
|
5059
|
+
bodyType: "json",
|
|
5060
|
+
});
|
|
5061
|
+
return $dara.cast<$_model.ListMemorySessionMessagesResponse>(await this.callApi(params, req, runtime), new $_model.ListMemorySessionMessagesResponse({}));
|
|
5062
|
+
}
|
|
5063
|
+
|
|
5064
|
+
/**
|
|
5065
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
5066
|
+
*
|
|
5067
|
+
* @remarks
|
|
5068
|
+
* Performs a paged query for raw messages by exact scope with paging. SessionId is required, and at least one of UserId and AgentId must be provided.
|
|
5069
|
+
*
|
|
5070
|
+
* @param request - ListMemorySessionMessagesRequest
|
|
5071
|
+
* @returns ListMemorySessionMessagesResponse
|
|
5072
|
+
*/
|
|
5073
|
+
async listMemorySessionMessages(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionMessagesRequest): Promise<$_model.ListMemorySessionMessagesResponse> {
|
|
4185
5074
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4186
5075
|
let headers : {[key: string ]: string} = { };
|
|
4187
|
-
return await this.
|
|
5076
|
+
return await this.listMemorySessionMessagesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
4188
5077
|
}
|
|
4189
5078
|
|
|
4190
5079
|
/**
|
|
4191
|
-
*
|
|
5080
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4192
5081
|
*
|
|
4193
5082
|
* @remarks
|
|
4194
|
-
*
|
|
4195
|
-
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
5083
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4196
5084
|
*
|
|
4197
|
-
* @param request -
|
|
5085
|
+
* @param request - ListMemorySessionsRequest
|
|
4198
5086
|
* @param headers - map
|
|
4199
5087
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4200
|
-
* @returns
|
|
5088
|
+
* @returns ListMemorySessionsResponse
|
|
4201
5089
|
*/
|
|
4202
|
-
async
|
|
5090
|
+
async listMemorySessionsWithOptions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionsRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemorySessionsResponse> {
|
|
4203
5091
|
request.validate();
|
|
4204
5092
|
let query : {[key: string ]: any} = { };
|
|
5093
|
+
if (!$dara.isNull(request.agentId)) {
|
|
5094
|
+
query["agentId"] = request.agentId;
|
|
5095
|
+
}
|
|
5096
|
+
|
|
4205
5097
|
if (!$dara.isNull(request.maxResults)) {
|
|
4206
5098
|
query["maxResults"] = request.maxResults;
|
|
4207
5099
|
}
|
|
@@ -4210,115 +5102,96 @@ export default class Client extends OpenApi {
|
|
|
4210
5102
|
query["nextToken"] = request.nextToken;
|
|
4211
5103
|
}
|
|
4212
5104
|
|
|
5105
|
+
if (!$dara.isNull(request.userId)) {
|
|
5106
|
+
query["userId"] = request.userId;
|
|
5107
|
+
}
|
|
5108
|
+
|
|
4213
5109
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4214
5110
|
headers: headers,
|
|
4215
5111
|
query: OpenApiUtil.query(query),
|
|
4216
5112
|
});
|
|
4217
5113
|
let params = new $OpenApiUtil.Params({
|
|
4218
|
-
action: "
|
|
5114
|
+
action: "ListMemorySessions",
|
|
4219
5115
|
version: "2026-08-04",
|
|
4220
5116
|
protocol: "HTTPS",
|
|
4221
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
5117
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/sessions`,
|
|
4222
5118
|
method: "GET",
|
|
4223
5119
|
authType: "AK",
|
|
4224
5120
|
style: "ROA",
|
|
4225
5121
|
reqBodyType: "json",
|
|
4226
5122
|
bodyType: "json",
|
|
4227
5123
|
});
|
|
4228
|
-
return $dara.cast<$_model.
|
|
5124
|
+
return $dara.cast<$_model.ListMemorySessionsResponse>(await this.callApi(params, req, runtime), new $_model.ListMemorySessionsResponse({}));
|
|
4229
5125
|
}
|
|
4230
5126
|
|
|
4231
5127
|
/**
|
|
4232
|
-
*
|
|
5128
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4233
5129
|
*
|
|
4234
5130
|
* @remarks
|
|
4235
|
-
*
|
|
4236
|
-
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
5131
|
+
* Performs a paging query for sessions in a MemoryStore, and allows independent filtering by user ID and agent ID.
|
|
4237
5132
|
*
|
|
4238
|
-
* @param request -
|
|
4239
|
-
* @returns
|
|
5133
|
+
* @param request - ListMemorySessionsRequest
|
|
5134
|
+
* @returns ListMemorySessionsResponse
|
|
4240
5135
|
*/
|
|
4241
|
-
async
|
|
5136
|
+
async listMemorySessions(workspaceId: string, memoryStoreName: string, request: $_model.ListMemorySessionsRequest): Promise<$_model.ListMemorySessionsResponse> {
|
|
4242
5137
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4243
5138
|
let headers : {[key: string ]: string} = { };
|
|
4244
|
-
return await this.
|
|
5139
|
+
return await this.listMemorySessionsWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
4245
5140
|
}
|
|
4246
5141
|
|
|
4247
5142
|
/**
|
|
4248
|
-
* Queries
|
|
5143
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4249
5144
|
*
|
|
4250
5145
|
* @remarks
|
|
4251
|
-
*
|
|
4252
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
5146
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4253
5147
|
*
|
|
4254
|
-
* @param request -
|
|
5148
|
+
* @param request - ListMemoryStoresRequest
|
|
4255
5149
|
* @param headers - map
|
|
4256
5150
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
4257
|
-
* @returns
|
|
5151
|
+
* @returns ListMemoryStoresResponse
|
|
4258
5152
|
*/
|
|
4259
|
-
async
|
|
5153
|
+
async listMemoryStoresWithOptions(workspaceId: string, request: $_model.ListMemoryStoresRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.ListMemoryStoresResponse> {
|
|
4260
5154
|
request.validate();
|
|
4261
5155
|
let query : {[key: string ]: any} = { };
|
|
4262
|
-
if (!$dara.isNull(request.customTag)) {
|
|
4263
|
-
query["customTag"] = request.customTag;
|
|
4264
|
-
}
|
|
4265
|
-
|
|
4266
5156
|
if (!$dara.isNull(request.maxResults)) {
|
|
4267
5157
|
query["maxResults"] = request.maxResults;
|
|
4268
5158
|
}
|
|
4269
5159
|
|
|
4270
|
-
if (!$dara.isNull(request.name)) {
|
|
4271
|
-
query["name"] = request.name;
|
|
4272
|
-
}
|
|
4273
|
-
|
|
4274
5160
|
if (!$dara.isNull(request.nextToken)) {
|
|
4275
5161
|
query["nextToken"] = request.nextToken;
|
|
4276
5162
|
}
|
|
4277
5163
|
|
|
4278
|
-
if (!$dara.isNull(request.officialTag)) {
|
|
4279
|
-
query["officialTag"] = request.officialTag;
|
|
4280
|
-
}
|
|
4281
|
-
|
|
4282
|
-
if (!$dara.isNull(request.searchType)) {
|
|
4283
|
-
query["searchType"] = request.searchType;
|
|
4284
|
-
}
|
|
4285
|
-
|
|
4286
|
-
if (!$dara.isNull(request.usageActive)) {
|
|
4287
|
-
query["usageActive"] = request.usageActive;
|
|
4288
|
-
}
|
|
4289
|
-
|
|
4290
5164
|
let req = new $OpenApiUtil.OpenApiRequest({
|
|
4291
5165
|
headers: headers,
|
|
4292
5166
|
query: OpenApiUtil.query(query),
|
|
4293
5167
|
});
|
|
4294
5168
|
let params = new $OpenApiUtil.Params({
|
|
4295
|
-
action: "
|
|
5169
|
+
action: "ListMemoryStores",
|
|
4296
5170
|
version: "2026-08-04",
|
|
4297
5171
|
protocol: "HTTPS",
|
|
4298
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
5172
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores`,
|
|
4299
5173
|
method: "GET",
|
|
4300
5174
|
authType: "AK",
|
|
4301
5175
|
style: "ROA",
|
|
4302
5176
|
reqBodyType: "json",
|
|
4303
5177
|
bodyType: "json",
|
|
4304
5178
|
});
|
|
4305
|
-
return $dara.cast<$_model.
|
|
5179
|
+
return $dara.cast<$_model.ListMemoryStoresResponse>(await this.callApi(params, req, runtime), new $_model.ListMemoryStoresResponse({}));
|
|
4306
5180
|
}
|
|
4307
5181
|
|
|
4308
5182
|
/**
|
|
4309
|
-
* Queries
|
|
5183
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4310
5184
|
*
|
|
4311
5185
|
* @remarks
|
|
4312
|
-
*
|
|
4313
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
5186
|
+
* Queries MemoryStores in a specified workspace by using paging.
|
|
4314
5187
|
*
|
|
4315
|
-
* @param request -
|
|
4316
|
-
* @returns
|
|
5188
|
+
* @param request - ListMemoryStoresRequest
|
|
5189
|
+
* @returns ListMemoryStoresResponse
|
|
4317
5190
|
*/
|
|
4318
|
-
async
|
|
5191
|
+
async listMemoryStores(workspaceId: string, request: $_model.ListMemoryStoresRequest): Promise<$_model.ListMemoryStoresResponse> {
|
|
4319
5192
|
let runtime = new $dara.RuntimeOptions({ });
|
|
4320
5193
|
let headers : {[key: string ]: string} = { };
|
|
4321
|
-
return await this.
|
|
5194
|
+
return await this.listMemoryStoresWithOptions(workspaceId, request, headers, runtime);
|
|
4322
5195
|
}
|
|
4323
5196
|
|
|
4324
5197
|
/**
|
|
@@ -4454,7 +5327,7 @@ export default class Client extends OpenApi {
|
|
|
4454
5327
|
}
|
|
4455
5328
|
|
|
4456
5329
|
/**
|
|
4457
|
-
*
|
|
5330
|
+
* Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
|
|
4458
5331
|
*
|
|
4459
5332
|
* @param request - ListPredefinedModelProvidersRequest
|
|
4460
5333
|
* @param headers - map
|
|
@@ -4481,7 +5354,7 @@ export default class Client extends OpenApi {
|
|
|
4481
5354
|
}
|
|
4482
5355
|
|
|
4483
5356
|
/**
|
|
4484
|
-
*
|
|
5357
|
+
* Queries the providers supported by the built-in model catalog of AgentCore and their default service configurations.
|
|
4485
5358
|
*
|
|
4486
5359
|
* @param request - ListPredefinedModelProvidersRequest
|
|
4487
5360
|
* @returns ListPredefinedModelProvidersResponse
|
|
@@ -4493,7 +5366,7 @@ export default class Client extends OpenApi {
|
|
|
4493
5366
|
}
|
|
4494
5367
|
|
|
4495
5368
|
/**
|
|
4496
|
-
* Queries the models and their
|
|
5369
|
+
* Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
|
|
4497
5370
|
*
|
|
4498
5371
|
* @param request - ListPredefinedModelsRequest
|
|
4499
5372
|
* @param headers - map
|
|
@@ -4520,7 +5393,7 @@ export default class Client extends OpenApi {
|
|
|
4520
5393
|
}
|
|
4521
5394
|
|
|
4522
5395
|
/**
|
|
4523
|
-
* Queries the models and their
|
|
5396
|
+
* Queries the models and their capabilities in the built-in model catalog of AgentCore for a specified provider.
|
|
4524
5397
|
*
|
|
4525
5398
|
* @param request - ListPredefinedModelsRequest
|
|
4526
5399
|
* @returns ListPredefinedModelsResponse
|
|
@@ -4650,10 +5523,10 @@ export default class Client extends OpenApi {
|
|
|
4650
5523
|
}
|
|
4651
5524
|
|
|
4652
5525
|
/**
|
|
4653
|
-
* Queries service endpoints in a specified workspace
|
|
5526
|
+
* Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
|
|
4654
5527
|
*
|
|
4655
5528
|
* @remarks
|
|
4656
|
-
* ##
|
|
5529
|
+
* ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
|
|
4657
5530
|
*
|
|
4658
5531
|
* @param request - ListServiceEndpointsRequest
|
|
4659
5532
|
* @param headers - map
|
|
@@ -4714,10 +5587,10 @@ export default class Client extends OpenApi {
|
|
|
4714
5587
|
}
|
|
4715
5588
|
|
|
4716
5589
|
/**
|
|
4717
|
-
* Queries service endpoints in a specified workspace
|
|
5590
|
+
* Queries service endpoints in a specified workspace with paging and supports filtering by target type, agent, collaboration component, and status.
|
|
4718
5591
|
*
|
|
4719
5592
|
* @remarks
|
|
4720
|
-
* ##
|
|
5593
|
+
* ## Request description\\nQueries service endpoints in a specified workspace with paging. You can filter the results by targetType, agentId, agentVersion, resourceBindingId, collaborationComponent, and status. Use maxResults to specify the maximum number of records per page, and use nextToken to retrieve the next page. If maxResults is not specified, the server returns 20 records by default.\\n
|
|
4721
5594
|
*
|
|
4722
5595
|
* @param request - ListServiceEndpointsRequest
|
|
4723
5596
|
* @returns ListServiceEndpointsResponse
|
|
@@ -4729,7 +5602,7 @@ export default class Client extends OpenApi {
|
|
|
4729
5602
|
}
|
|
4730
5603
|
|
|
4731
5604
|
/**
|
|
4732
|
-
* Queries
|
|
5605
|
+
* Queries skill reference relationships.
|
|
4733
5606
|
*
|
|
4734
5607
|
* @param request - ListSkillReferencesRequest
|
|
4735
5608
|
* @param headers - map
|
|
@@ -4774,7 +5647,7 @@ export default class Client extends OpenApi {
|
|
|
4774
5647
|
}
|
|
4775
5648
|
|
|
4776
5649
|
/**
|
|
4777
|
-
* Queries
|
|
5650
|
+
* Queries skill reference relationships.
|
|
4778
5651
|
*
|
|
4779
5652
|
* @param request - ListSkillReferencesRequest
|
|
4780
5653
|
* @returns ListSkillReferencesResponse
|
|
@@ -4871,7 +5744,7 @@ export default class Client extends OpenApi {
|
|
|
4871
5744
|
}
|
|
4872
5745
|
|
|
4873
5746
|
/**
|
|
4874
|
-
*
|
|
5747
|
+
* Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, 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. The member information in the list includes only the member identifier, name, and team role.
|
|
4875
5748
|
*
|
|
4876
5749
|
* @param request - ListTeamsRequest
|
|
4877
5750
|
* @param headers - map
|
|
@@ -4912,7 +5785,7 @@ export default class Client extends OpenApi {
|
|
|
4912
5785
|
}
|
|
4913
5786
|
|
|
4914
5787
|
/**
|
|
4915
|
-
*
|
|
5788
|
+
* Queries teams in a specified workspace by using paging. You can use nameLike to filter teams by fuzzy matching the team name, 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. The member information in the list includes only the member identifier, name, and team role.
|
|
4916
5789
|
*
|
|
4917
5790
|
* @param request - ListTeamsRequest
|
|
4918
5791
|
* @returns ListTeamsResponse
|
|
@@ -4985,10 +5858,10 @@ export default class Client extends OpenApi {
|
|
|
4985
5858
|
}
|
|
4986
5859
|
|
|
4987
5860
|
/**
|
|
4988
|
-
*
|
|
5861
|
+
* Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
|
|
4989
5862
|
*
|
|
4990
5863
|
* @remarks
|
|
4991
|
-
* ##
|
|
5864
|
+
* ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
4992
5865
|
*
|
|
4993
5866
|
* @param request - ListWorkspacesRequest
|
|
4994
5867
|
* @param headers - map
|
|
@@ -5029,10 +5902,10 @@ export default class Client extends OpenApi {
|
|
|
5029
5902
|
}
|
|
5030
5903
|
|
|
5031
5904
|
/**
|
|
5032
|
-
*
|
|
5905
|
+
* Performs a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging.
|
|
5033
5906
|
*
|
|
5034
5907
|
* @remarks
|
|
5035
|
-
* ##
|
|
5908
|
+
* ## Request description\\nPerforms a paged query on the workspaces under the current tenant. By default, the list does not return soft-deleted records with the Deleted status. The server performs stable sorting on the results by creation order to facilitate paging. You can use nextToken to obtain the next page, skip to skip a specified number of workspaces, maxResults to specify the maximum number of records per page, and nameLike to perform fuzzy filtering by workspace name. If maxResults is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
5036
5909
|
*
|
|
5037
5910
|
* @param request - ListWorkspacesRequest
|
|
5038
5911
|
* @returns ListWorkspacesResponse
|
|
@@ -5339,7 +6212,7 @@ export default class Client extends OpenApi {
|
|
|
5339
6212
|
}
|
|
5340
6213
|
|
|
5341
6214
|
/**
|
|
5342
|
-
* Resets the logon password of a specified user.
|
|
6215
|
+
* Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
|
|
5343
6216
|
*
|
|
5344
6217
|
* @param tmpReq - ResetUserPasswordRequest
|
|
5345
6218
|
* @param headers - map
|
|
@@ -5378,7 +6251,7 @@ export default class Client extends OpenApi {
|
|
|
5378
6251
|
}
|
|
5379
6252
|
|
|
5380
6253
|
/**
|
|
5381
|
-
* Resets the logon password of a specified user.
|
|
6254
|
+
* Resets the logon password of a specified user. You can specify the user by using agentCoreUserId or username, and you must specify at least one of them. This operation only supports resetting passwords for users who use local password authentication in the workspace. If you do not specify the password parameter, the server generates a random password and returns it in the response.
|
|
5382
6255
|
*
|
|
5383
6256
|
* @param request - ResetUserPasswordRequest
|
|
5384
6257
|
* @returns ResetUserPasswordResponse
|
|
@@ -5390,11 +6263,139 @@ export default class Client extends OpenApi {
|
|
|
5390
6263
|
}
|
|
5391
6264
|
|
|
5392
6265
|
/**
|
|
5393
|
-
*
|
|
6266
|
+
* Retries the image cache.
|
|
5394
6267
|
*
|
|
5395
6268
|
* @remarks
|
|
5396
|
-
*
|
|
5397
|
-
*
|
|
6269
|
+
* Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
|
|
6270
|
+
*
|
|
6271
|
+
* @param tmpReq - RetryImageCacheRequest
|
|
6272
|
+
* @param headers - map
|
|
6273
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6274
|
+
* @returns RetryImageCacheResponse
|
|
6275
|
+
*/
|
|
6276
|
+
async retryImageCacheWithOptions(imageId: string, tmpReq: $_model.RetryImageCacheRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.RetryImageCacheResponse> {
|
|
6277
|
+
tmpReq.validate();
|
|
6278
|
+
let request = new $_model.RetryImageCacheShrinkRequest({ });
|
|
6279
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
6280
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
6281
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
6282
|
+
}
|
|
6283
|
+
|
|
6284
|
+
let query : {[key: string ]: any} = { };
|
|
6285
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
6286
|
+
query["clientToken"] = request.clientToken;
|
|
6287
|
+
}
|
|
6288
|
+
|
|
6289
|
+
if (!$dara.isNull(request.regionId)) {
|
|
6290
|
+
query["regionId"] = request.regionId;
|
|
6291
|
+
}
|
|
6292
|
+
|
|
6293
|
+
if (!$dara.isNull(request.workspaceId)) {
|
|
6294
|
+
query["workspaceId"] = request.workspaceId;
|
|
6295
|
+
}
|
|
6296
|
+
|
|
6297
|
+
let body : {[key: string ]: any} = { };
|
|
6298
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
6299
|
+
body["body"] = request.bodyShrink;
|
|
6300
|
+
}
|
|
6301
|
+
|
|
6302
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6303
|
+
headers: headers,
|
|
6304
|
+
query: OpenApiUtil.query(query),
|
|
6305
|
+
body: OpenApiUtil.parseToMap(body),
|
|
6306
|
+
});
|
|
6307
|
+
let params = new $OpenApiUtil.Params({
|
|
6308
|
+
action: "RetryImageCache",
|
|
6309
|
+
version: "2026-08-04",
|
|
6310
|
+
protocol: "HTTPS",
|
|
6311
|
+
pathname: `/image-caches/${$dara.URL.percentEncode(imageId)}/retry`,
|
|
6312
|
+
method: "POST",
|
|
6313
|
+
authType: "AK",
|
|
6314
|
+
style: "ROA",
|
|
6315
|
+
reqBodyType: "formData",
|
|
6316
|
+
bodyType: "json",
|
|
6317
|
+
});
|
|
6318
|
+
return $dara.cast<$_model.RetryImageCacheResponse>(await this.callApi(params, req, runtime), new $_model.RetryImageCacheResponse({}));
|
|
6319
|
+
}
|
|
6320
|
+
|
|
6321
|
+
/**
|
|
6322
|
+
* Retries the image cache.
|
|
6323
|
+
*
|
|
6324
|
+
* @remarks
|
|
6325
|
+
* Retries the image cache for the original ImageId in the current workspace. WorkspaceId is required. The business request body is not required and can be omitted or provided as an empty object. The source authorization and transfer network reuse the trusted context of the original registration. If a digest exists, the retry uses the original digest. If no digest exists, the original tag is resolved again. A new request for a FAILED status can start a new production round. PENDING and READY statuses are reused. DELETING status is rejected, and deleted resources are not recreated. PUBLIC and PRIVATE statuses reuse the pull authorization of the original workspace. Returns a complete acceptance snapshot and retains the original ImageId and CreatedAt. ClientToken does not guarantee request deduplication. If the result is not confirmed, query the real-time status first before deciding whether to resubmit.
|
|
6326
|
+
*
|
|
6327
|
+
* @param request - RetryImageCacheRequest
|
|
6328
|
+
* @returns RetryImageCacheResponse
|
|
6329
|
+
*/
|
|
6330
|
+
async retryImageCache(imageId: string, request: $_model.RetryImageCacheRequest): Promise<$_model.RetryImageCacheResponse> {
|
|
6331
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6332
|
+
let headers : {[key: string ]: string} = { };
|
|
6333
|
+
return await this.retryImageCacheWithOptions(imageId, request, headers, runtime);
|
|
6334
|
+
}
|
|
6335
|
+
|
|
6336
|
+
/**
|
|
6337
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
6338
|
+
*
|
|
6339
|
+
* @remarks
|
|
6340
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
6341
|
+
*
|
|
6342
|
+
* @param tmpReq - SearchMemoriesRequest
|
|
6343
|
+
* @param headers - map
|
|
6344
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
6345
|
+
* @returns SearchMemoriesResponse
|
|
6346
|
+
*/
|
|
6347
|
+
async searchMemoriesWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.SearchMemoriesRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.SearchMemoriesResponse> {
|
|
6348
|
+
tmpReq.validate();
|
|
6349
|
+
let request = new $_model.SearchMemoriesShrinkRequest({ });
|
|
6350
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
6351
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
6352
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
6353
|
+
}
|
|
6354
|
+
|
|
6355
|
+
let body : {[key: string ]: any} = { };
|
|
6356
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
6357
|
+
body["body"] = request.bodyShrink;
|
|
6358
|
+
}
|
|
6359
|
+
|
|
6360
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
6361
|
+
headers: headers,
|
|
6362
|
+
body: OpenApiUtil.parseToMap(body),
|
|
6363
|
+
});
|
|
6364
|
+
let params = new $OpenApiUtil.Params({
|
|
6365
|
+
action: "SearchMemories",
|
|
6366
|
+
version: "2026-08-04",
|
|
6367
|
+
protocol: "HTTPS",
|
|
6368
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/search`,
|
|
6369
|
+
method: "POST",
|
|
6370
|
+
authType: "AK",
|
|
6371
|
+
style: "ROA",
|
|
6372
|
+
reqBodyType: "formData",
|
|
6373
|
+
bodyType: "json",
|
|
6374
|
+
});
|
|
6375
|
+
return $dara.cast<$_model.SearchMemoriesResponse>(await this.callApi(params, req, runtime), new $_model.SearchMemoriesResponse({}));
|
|
6376
|
+
}
|
|
6377
|
+
|
|
6378
|
+
/**
|
|
6379
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
6380
|
+
*
|
|
6381
|
+
* @remarks
|
|
6382
|
+
* Retrieves long-term memory from a MemoryStore based on semantics queries.
|
|
6383
|
+
*
|
|
6384
|
+
* @param request - SearchMemoriesRequest
|
|
6385
|
+
* @returns SearchMemoriesResponse
|
|
6386
|
+
*/
|
|
6387
|
+
async searchMemories(workspaceId: string, memoryStoreName: string, request: $_model.SearchMemoriesRequest): Promise<$_model.SearchMemoriesResponse> {
|
|
6388
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
6389
|
+
let headers : {[key: string ]: string} = { };
|
|
6390
|
+
return await this.searchMemoriesWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
6391
|
+
}
|
|
6392
|
+
|
|
6393
|
+
/**
|
|
6394
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
6395
|
+
*
|
|
6396
|
+
* @remarks
|
|
6397
|
+
* ## Request description
|
|
6398
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5398
6399
|
*
|
|
5399
6400
|
* @param tmpReq - SubmitAgentSpecVersionRequest
|
|
5400
6401
|
* @param headers - map
|
|
@@ -5433,11 +6434,11 @@ export default class Client extends OpenApi {
|
|
|
5433
6434
|
}
|
|
5434
6435
|
|
|
5435
6436
|
/**
|
|
5436
|
-
* Submits a specified
|
|
6437
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5437
6438
|
*
|
|
5438
6439
|
* @remarks
|
|
5439
|
-
* ##
|
|
5440
|
-
* Submits a specified
|
|
6440
|
+
* ## Request description
|
|
6441
|
+
* Submits a specified draft version of an AgentSpec for review. If no release pipeline is configured, the version is directly published online.
|
|
5441
6442
|
*
|
|
5442
6443
|
* @param request - SubmitAgentSpecVersionRequest
|
|
5443
6444
|
* @returns SubmitAgentSpecVersionResponse
|
|
@@ -5508,10 +6509,10 @@ export default class Client extends OpenApi {
|
|
|
5508
6509
|
}
|
|
5509
6510
|
|
|
5510
6511
|
/**
|
|
5511
|
-
* Updates the ServiceEndpoint
|
|
6512
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5512
6513
|
*
|
|
5513
6514
|
* @remarks
|
|
5514
|
-
* Updates the ServiceEndpoint
|
|
6515
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5515
6516
|
*
|
|
5516
6517
|
* @param tmpReq - UpdateAgentIMChannelRequest
|
|
5517
6518
|
* @param headers - map
|
|
@@ -5556,10 +6557,10 @@ export default class Client extends OpenApi {
|
|
|
5556
6557
|
}
|
|
5557
6558
|
|
|
5558
6559
|
/**
|
|
5559
|
-
* Updates the ServiceEndpoint
|
|
6560
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5560
6561
|
*
|
|
5561
6562
|
* @remarks
|
|
5562
|
-
* Updates the ServiceEndpoint
|
|
6563
|
+
* Updates the ServiceEndpoint, enablement status, or channel behavior configuration bound to an IM channel. At least one updatable field must be provided.
|
|
5563
6564
|
*
|
|
5564
6565
|
* @param request - UpdateAgentIMChannelRequest
|
|
5565
6566
|
* @returns UpdateAgentIMChannelResponse
|
|
@@ -5571,10 +6572,10 @@ export default class Client extends OpenApi {
|
|
|
5571
6572
|
}
|
|
5572
6573
|
|
|
5573
6574
|
/**
|
|
5574
|
-
*
|
|
6575
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5575
6576
|
*
|
|
5576
6577
|
* @remarks
|
|
5577
|
-
*
|
|
6578
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5578
6579
|
*
|
|
5579
6580
|
* @param tmpReq - UpdateAgentIMChannelCredentialRequest
|
|
5580
6581
|
* @param headers - map
|
|
@@ -5619,10 +6620,10 @@ export default class Client extends OpenApi {
|
|
|
5619
6620
|
}
|
|
5620
6621
|
|
|
5621
6622
|
/**
|
|
5622
|
-
*
|
|
6623
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5623
6624
|
*
|
|
5624
6625
|
* @remarks
|
|
5625
|
-
*
|
|
6626
|
+
* Fully updates the channel credentials of a specified IM channel. Secrets are not returned in the response.
|
|
5626
6627
|
*
|
|
5627
6628
|
* @param request - UpdateAgentIMChannelCredentialRequest
|
|
5628
6629
|
* @returns UpdateAgentIMChannelCredentialResponse
|
|
@@ -5750,10 +6751,10 @@ export default class Client extends OpenApi {
|
|
|
5750
6751
|
}
|
|
5751
6752
|
|
|
5752
6753
|
/**
|
|
5753
|
-
* Updates the content or description of a specified credential.
|
|
6754
|
+
* Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
5754
6755
|
*
|
|
5755
6756
|
* @remarks
|
|
5756
|
-
* Updates the metadata or
|
|
6757
|
+
* Updates the metadata or application scope of a specified credential.
|
|
5757
6758
|
*
|
|
5758
6759
|
* @param tmpReq - UpdateCredentialRequest
|
|
5759
6760
|
* @param headers - map
|
|
@@ -5798,10 +6799,10 @@ export default class Client extends OpenApi {
|
|
|
5798
6799
|
}
|
|
5799
6800
|
|
|
5800
6801
|
/**
|
|
5801
|
-
* Updates the content or description of a specified credential.
|
|
6802
|
+
* Updates the content or description of a specified credential. You must specify at least one of credentialMetadata and description. Unspecified attributes remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
5802
6803
|
*
|
|
5803
6804
|
* @remarks
|
|
5804
|
-
* Updates the metadata or
|
|
6805
|
+
* Updates the metadata or application scope of a specified credential.
|
|
5805
6806
|
*
|
|
5806
6807
|
* @param request - UpdateCredentialRequest
|
|
5807
6808
|
* @returns UpdateCredentialResponse
|
|
@@ -5816,10 +6817,10 @@ export default class Client extends OpenApi {
|
|
|
5816
6817
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
5817
6818
|
*
|
|
5818
6819
|
* @remarks
|
|
5819
|
-
*
|
|
5820
|
-
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only
|
|
5821
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them
|
|
5822
|
-
* The update is an asynchronous process. A successful response indicates that the request is accepted.
|
|
6820
|
+
* Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
6821
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
|
|
6822
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
6823
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
5823
6824
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
5824
6825
|
*
|
|
5825
6826
|
* @param tmpReq - UpdateCustomAgentRequest
|
|
@@ -5868,10 +6869,10 @@ export default class Client extends OpenApi {
|
|
|
5868
6869
|
* Updates the configuration of a specified custom agent in a workspace and executes the update asynchronously. Omitted top-level fields retain their original configurations. You can call the GetCustomAgent operation to query the update result.
|
|
5869
6870
|
*
|
|
5870
6871
|
* @remarks
|
|
5871
|
-
*
|
|
5872
|
-
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only
|
|
5873
|
-
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them
|
|
5874
|
-
* The update is an asynchronous process. A successful response indicates that the request is accepted.
|
|
6872
|
+
* Specify at least one top-level field to update. Omitted top-level fields retain their original configurations. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole. Pass an empty array [] to clear a list. The agenticFsMounts field does not accept null. Pass null for the description field to clear the description, and pass null for the healthCheck field to remove the health check.
|
|
6873
|
+
* When updating an image, you must specify artifact.port and the type, instanceId, namespace, repo, and tag fields of artifact.container. To retain a custom startup command, also provide the entrypoint field. Currently, only ACR container image deployment is supported. Omit the artifact.code field.
|
|
6874
|
+
* When providing the runtime field, both compute and sessionPolicy must be present. If you omit hpa or any of its fields, unspecified elastic configurations use default values. To retain the original elastic configurations, provide them all. When providing the network field, omitted access items are treated as allowed, but actual access is still subject to the workspace network restrictions. To retain the original restrictions, provide both accessInternet and accessVpc. When providing healthCheck, you must specify the port field, and other unspecified items use default values. When providing logging.sls, you must specify both project and logstore.
|
|
6875
|
+
* The update is an asynchronous process. A successful response indicates that the request is accepted. You can call the GetCustomAgent operation to query latestSpecVersion, latestVersionStatus, and latestExecutionError, and check the status field to confirm the update result.
|
|
5875
6876
|
* The clientToken field currently does not provide idempotency guarantees. Do not rely on this parameter to prevent duplicate requests. The healthyThreshold field for health checks currently does not take effect. Omit this field.
|
|
5876
6877
|
*
|
|
5877
6878
|
* @param request - UpdateCustomAgentRequest
|
|
@@ -6187,12 +7188,132 @@ export default class Client extends OpenApi {
|
|
|
6187
7188
|
}
|
|
6188
7189
|
|
|
6189
7190
|
/**
|
|
6190
|
-
* Updates the
|
|
7191
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
7192
|
+
*
|
|
7193
|
+
* @remarks
|
|
7194
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
7195
|
+
*
|
|
7196
|
+
* @param tmpReq - UpdateMemoryRequest
|
|
7197
|
+
* @param headers - map
|
|
7198
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7199
|
+
* @returns UpdateMemoryResponse
|
|
7200
|
+
*/
|
|
7201
|
+
async updateMemoryWithOptions(workspaceId: string, memoryStoreName: string, memoryId: string, tmpReq: $_model.UpdateMemoryRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryResponse> {
|
|
7202
|
+
tmpReq.validate();
|
|
7203
|
+
let request = new $_model.UpdateMemoryShrinkRequest({ });
|
|
7204
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7205
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
7206
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
7207
|
+
}
|
|
7208
|
+
|
|
7209
|
+
let body : {[key: string ]: any} = { };
|
|
7210
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
7211
|
+
body["body"] = request.bodyShrink;
|
|
7212
|
+
}
|
|
7213
|
+
|
|
7214
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7215
|
+
headers: headers,
|
|
7216
|
+
body: OpenApiUtil.parseToMap(body),
|
|
7217
|
+
});
|
|
7218
|
+
let params = new $OpenApiUtil.Params({
|
|
7219
|
+
action: "UpdateMemory",
|
|
7220
|
+
version: "2026-08-04",
|
|
7221
|
+
protocol: "HTTPS",
|
|
7222
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}/memories/${$dara.URL.percentEncode(memoryId)}`,
|
|
7223
|
+
method: "PUT",
|
|
7224
|
+
authType: "AK",
|
|
7225
|
+
style: "ROA",
|
|
7226
|
+
reqBodyType: "formData",
|
|
7227
|
+
bodyType: "json",
|
|
7228
|
+
});
|
|
7229
|
+
return $dara.cast<$_model.UpdateMemoryResponse>(await this.callApi(params, req, runtime), new $_model.UpdateMemoryResponse({}));
|
|
7230
|
+
}
|
|
7231
|
+
|
|
7232
|
+
/**
|
|
7233
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
7234
|
+
*
|
|
7235
|
+
* @remarks
|
|
7236
|
+
* Updates the long-term memory text or metadata based on the memory ID.
|
|
7237
|
+
*
|
|
7238
|
+
* @param request - UpdateMemoryRequest
|
|
7239
|
+
* @returns UpdateMemoryResponse
|
|
7240
|
+
*/
|
|
7241
|
+
async updateMemory(workspaceId: string, memoryStoreName: string, memoryId: string, request: $_model.UpdateMemoryRequest): Promise<$_model.UpdateMemoryResponse> {
|
|
7242
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7243
|
+
let headers : {[key: string ]: string} = { };
|
|
7244
|
+
return await this.updateMemoryWithOptions(workspaceId, memoryStoreName, memoryId, request, headers, runtime);
|
|
7245
|
+
}
|
|
7246
|
+
|
|
7247
|
+
/**
|
|
7248
|
+
* Updates a memory store.
|
|
7249
|
+
*
|
|
7250
|
+
* @remarks
|
|
7251
|
+
* Updates a memory store.
|
|
7252
|
+
*
|
|
7253
|
+
* @param tmpReq - UpdateMemoryStoreRequest
|
|
7254
|
+
* @param headers - map
|
|
7255
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
7256
|
+
* @returns UpdateMemoryStoreResponse
|
|
7257
|
+
*/
|
|
7258
|
+
async updateMemoryStoreWithOptions(workspaceId: string, memoryStoreName: string, tmpReq: $_model.UpdateMemoryStoreRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateMemoryStoreResponse> {
|
|
7259
|
+
tmpReq.validate();
|
|
7260
|
+
let request = new $_model.UpdateMemoryStoreShrinkRequest({ });
|
|
7261
|
+
OpenApiUtil.convert(tmpReq, request);
|
|
7262
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
7263
|
+
request.bodyShrink = OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
7264
|
+
}
|
|
7265
|
+
|
|
7266
|
+
let query : {[key: string ]: any} = { };
|
|
7267
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
7268
|
+
query["clientToken"] = request.clientToken;
|
|
7269
|
+
}
|
|
7270
|
+
|
|
7271
|
+
let body : {[key: string ]: any} = { };
|
|
7272
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
7273
|
+
body["body"] = request.bodyShrink;
|
|
7274
|
+
}
|
|
7275
|
+
|
|
7276
|
+
let req = new $OpenApiUtil.OpenApiRequest({
|
|
7277
|
+
headers: headers,
|
|
7278
|
+
query: OpenApiUtil.query(query),
|
|
7279
|
+
body: OpenApiUtil.parseToMap(body),
|
|
7280
|
+
});
|
|
7281
|
+
let params = new $OpenApiUtil.Params({
|
|
7282
|
+
action: "UpdateMemoryStore",
|
|
7283
|
+
version: "2026-08-04",
|
|
7284
|
+
protocol: "HTTPS",
|
|
7285
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/memorystores/${$dara.URL.percentEncode(memoryStoreName)}`,
|
|
7286
|
+
method: "PUT",
|
|
7287
|
+
authType: "AK",
|
|
7288
|
+
style: "ROA",
|
|
7289
|
+
reqBodyType: "formData",
|
|
7290
|
+
bodyType: "json",
|
|
7291
|
+
});
|
|
7292
|
+
return $dara.cast<$_model.UpdateMemoryStoreResponse>(await this.callApi(params, req, runtime), new $_model.UpdateMemoryStoreResponse({}));
|
|
7293
|
+
}
|
|
7294
|
+
|
|
7295
|
+
/**
|
|
7296
|
+
* Updates a memory store.
|
|
7297
|
+
*
|
|
7298
|
+
* @remarks
|
|
7299
|
+
* Updates a memory store.
|
|
7300
|
+
*
|
|
7301
|
+
* @param request - UpdateMemoryStoreRequest
|
|
7302
|
+
* @returns UpdateMemoryStoreResponse
|
|
7303
|
+
*/
|
|
7304
|
+
async updateMemoryStore(workspaceId: string, memoryStoreName: string, request: $_model.UpdateMemoryStoreRequest): Promise<$_model.UpdateMemoryStoreResponse> {
|
|
7305
|
+
let runtime = new $dara.RuntimeOptions({ });
|
|
7306
|
+
let headers : {[key: string ]: string} = { };
|
|
7307
|
+
return await this.updateMemoryStoreWithOptions(workspaceId, memoryStoreName, request, headers, runtime);
|
|
7308
|
+
}
|
|
7309
|
+
|
|
7310
|
+
/**
|
|
7311
|
+
* Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
|
|
6191
7312
|
*
|
|
6192
7313
|
* @remarks
|
|
6193
|
-
* This operation supports updating description, contextSize, maxTokens, and capabilities.
|
|
6194
|
-
* Modifying only description does not refresh the model
|
|
6195
|
-
* A successful response indicates that the model configuration has been saved
|
|
7314
|
+
* This operation supports updating description, contextSize, maxTokens, and capabilities. You must specify at least one non-null parameter. Parameters that are not specified or are set to null retain their original values. The capabilities parameter is replaced as a whole object. Capability fields that are not specified in the object are treated as false.
|
|
7315
|
+
* Modifying only the description does not refresh the model configurations 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. Repeatedly submitting the same configuration does not trigger a new model configuration refresh.
|
|
7316
|
+
* A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
|
|
6196
7317
|
*
|
|
6197
7318
|
* @param tmpReq - UpdateModelRequest
|
|
6198
7319
|
* @param headers - map
|
|
@@ -6237,12 +7358,12 @@ export default class Client extends OpenApi {
|
|
|
6237
7358
|
}
|
|
6238
7359
|
|
|
6239
7360
|
/**
|
|
6240
|
-
* Updates the description, context token limit, maximum output token count, or capability
|
|
7361
|
+
* Updates the description, context token limit, maximum output token count, or capability configurations of a specified model.
|
|
6241
7362
|
*
|
|
6242
7363
|
* @remarks
|
|
6243
|
-
* This operation supports updating description, contextSize, maxTokens, and capabilities.
|
|
6244
|
-
* Modifying only description does not refresh the model
|
|
6245
|
-
* A successful response indicates that the model configuration has been saved
|
|
7364
|
+
* This operation supports updating description, contextSize, maxTokens, and capabilities. You must specify at least one non-null parameter. Parameters that are not specified or are set to null retain their original values. The capabilities parameter is replaced as a whole object. Capability fields that are not specified in the object are treated as false.
|
|
7365
|
+
* Modifying only the description does not refresh the model configurations 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. Repeatedly submitting the same configuration does not trigger a new model configuration refresh.
|
|
7366
|
+
* A successful response indicates that the model configuration has been saved, but does not indicate that associated agents have completed the configuration refresh or that the runtime has loaded the new configuration. You can call GetModel to query the saved model configuration.
|
|
6246
7367
|
*
|
|
6247
7368
|
* @param request - UpdateModelRequest
|
|
6248
7369
|
* @returns UpdateModelResponse
|
|
@@ -6254,7 +7375,7 @@ export default class Client extends OpenApi {
|
|
|
6254
7375
|
}
|
|
6255
7376
|
|
|
6256
7377
|
/**
|
|
6257
|
-
* Updates the mutable
|
|
7378
|
+
* Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
|
|
6258
7379
|
*
|
|
6259
7380
|
* @param tmpReq - UpdateModelConnectionRequest
|
|
6260
7381
|
* @param headers - map
|
|
@@ -6299,7 +7420,7 @@ export default class Client extends OpenApi {
|
|
|
6299
7420
|
}
|
|
6300
7421
|
|
|
6301
7422
|
/**
|
|
6302
|
-
* Updates the mutable
|
|
7423
|
+
* Updates the mutable configurations of a specified model connection and resubmits the publish task. The invocation protocol cannot be modified after creation.
|
|
6303
7424
|
*
|
|
6304
7425
|
* @param request - UpdateModelConnectionRequest
|
|
6305
7426
|
* @returns UpdateModelConnectionResponse
|
|
@@ -6311,11 +7432,11 @@ export default class Client extends OpenApi {
|
|
|
6311
7432
|
}
|
|
6312
7433
|
|
|
6313
7434
|
/**
|
|
6314
|
-
* Updates the business tags of a specified
|
|
7435
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
6315
7436
|
*
|
|
6316
7437
|
* @remarks
|
|
6317
|
-
* ##
|
|
6318
|
-
* Updates the business tags of a specified
|
|
7438
|
+
* ## Request description
|
|
7439
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
6319
7440
|
*
|
|
6320
7441
|
* @param tmpReq - UpdateSkillBizTagsRequest
|
|
6321
7442
|
* @param headers - map
|
|
@@ -6354,11 +7475,11 @@ export default class Client extends OpenApi {
|
|
|
6354
7475
|
}
|
|
6355
7476
|
|
|
6356
7477
|
/**
|
|
6357
|
-
* Updates the business tags of a specified
|
|
7478
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
6358
7479
|
*
|
|
6359
7480
|
* @remarks
|
|
6360
|
-
* ##
|
|
6361
|
-
* Updates the business tags of a specified
|
|
7481
|
+
* ## Request description
|
|
7482
|
+
* Updates the business tags of a specified skill. Other attributes not provided in the request remain unchanged.
|
|
6362
7483
|
*
|
|
6363
7484
|
* @param request - UpdateSkillBizTagsRequest
|
|
6364
7485
|
* @returns UpdateSkillBizTagsResponse
|
|
@@ -6488,7 +7609,7 @@ export default class Client extends OpenApi {
|
|
|
6488
7609
|
}
|
|
6489
7610
|
|
|
6490
7611
|
/**
|
|
6491
|
-
* Updates the description and members of a specified team. When users or agents are passed
|
|
7612
|
+
* Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
|
|
6492
7613
|
*
|
|
6493
7614
|
* @param tmpReq - UpdateTeamRequest
|
|
6494
7615
|
* @param headers - map
|
|
@@ -6533,7 +7654,7 @@ export default class Client extends OpenApi {
|
|
|
6533
7654
|
}
|
|
6534
7655
|
|
|
6535
7656
|
/**
|
|
6536
|
-
* Updates the description and members of a specified team. When users or agents are passed
|
|
7657
|
+
* Updates the description and members of a specified team. When users or agents are passed, the corresponding member list is replaced based on full overwrite semantics. Member lists that are not passed remain unchanged. The team name cannot be modified after creation.
|
|
6537
7658
|
*
|
|
6538
7659
|
* @param request - UpdateTeamRequest
|
|
6539
7660
|
* @returns UpdateTeamResponse
|
|
@@ -6545,7 +7666,7 @@ export default class Client extends OpenApi {
|
|
|
6545
7666
|
}
|
|
6546
7667
|
|
|
6547
7668
|
/**
|
|
6548
|
-
* Updates the display name, email address, or note of a specified user.
|
|
7669
|
+
* Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
|
|
6549
7670
|
*
|
|
6550
7671
|
* @param tmpReq - UpdateUserRequest
|
|
6551
7672
|
* @param headers - map
|
|
@@ -6590,7 +7711,7 @@ export default class Client extends OpenApi {
|
|
|
6590
7711
|
}
|
|
6591
7712
|
|
|
6592
7713
|
/**
|
|
6593
|
-
* Updates the display name, email address, or note of a specified user.
|
|
7714
|
+
* Updates the display name, email address, or note of a specified user. You must specify at least one of the displayName, email, and note parameters. Unspecified attributes remain unchanged. The username cannot be modified after creation.
|
|
6594
7715
|
*
|
|
6595
7716
|
* @param request - UpdateUserRequest
|
|
6596
7717
|
* @returns UpdateUserResponse
|
|
@@ -6602,10 +7723,10 @@ export default class Client extends OpenApi {
|
|
|
6602
7723
|
}
|
|
6603
7724
|
|
|
6604
7725
|
/**
|
|
6605
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
7726
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
|
|
6606
7727
|
*
|
|
6607
7728
|
* @remarks
|
|
6608
|
-
* ##
|
|
7729
|
+
* ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
6609
7730
|
*
|
|
6610
7731
|
* @param tmpReq - UpdateWorkspaceRequest
|
|
6611
7732
|
* @param headers - map
|
|
@@ -6650,10 +7771,10 @@ export default class Client extends OpenApi {
|
|
|
6650
7771
|
}
|
|
6651
7772
|
|
|
6652
7773
|
/**
|
|
6653
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
7774
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. Status, TenantId, and RegionId are maintained by the server and cannot be modified through this API operation.
|
|
6654
7775
|
*
|
|
6655
7776
|
* @remarks
|
|
6656
|
-
* ##
|
|
7777
|
+
* ## Request description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized` state can be updated. `Status`, `TenantId`, and `RegionId` are maintained by the server and cannot be modified through this API operation. The network configuration uses `Enabled` to specify whether to enable the VPC network. If enabled, you must provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
6657
7778
|
*
|
|
6658
7779
|
* @param request - UpdateWorkspaceRequest
|
|
6659
7780
|
* @returns UpdateWorkspaceResponse
|
|
@@ -6665,11 +7786,11 @@ export default class Client extends OpenApi {
|
|
|
6665
7786
|
}
|
|
6666
7787
|
|
|
6667
7788
|
/**
|
|
6668
|
-
*
|
|
7789
|
+
* Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
|
|
6669
7790
|
*
|
|
6670
7791
|
* @remarks
|
|
6671
|
-
* ##
|
|
6672
|
-
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses
|
|
7792
|
+
* ## Request description
|
|
7793
|
+
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
|
|
6673
7794
|
*
|
|
6674
7795
|
* @param tmpReq - UploadAgentSpecViaOssRequest
|
|
6675
7796
|
* @param headers - map
|
|
@@ -6708,11 +7829,11 @@ export default class Client extends OpenApi {
|
|
|
6708
7829
|
}
|
|
6709
7830
|
|
|
6710
7831
|
/**
|
|
6711
|
-
*
|
|
7832
|
+
* Imports an AgentSpec into the current workspace by retrieving and parsing an uploaded AgentSpec ZIP package from OSS.
|
|
6712
7833
|
*
|
|
6713
7834
|
* @remarks
|
|
6714
|
-
* ##
|
|
6715
|
-
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses
|
|
7835
|
+
* ## Request description
|
|
7836
|
+
* Retrieves an uploaded AgentSpec ZIP package from OSS, parses the package, and imports the AgentSpec into the current workspace.
|
|
6716
7837
|
*
|
|
6717
7838
|
* @param request - UploadAgentSpecViaOssRequest
|
|
6718
7839
|
* @returns UploadAgentSpecViaOssResponse
|
|
@@ -6840,10 +7961,10 @@ export default class Client extends OpenApi {
|
|
|
6840
7961
|
}
|
|
6841
7962
|
|
|
6842
7963
|
/**
|
|
6843
|
-
* Verifies the ACR RAM authorization
|
|
7964
|
+
* Verifies the ACR RAM authorization for a workspace.
|
|
6844
7965
|
*
|
|
6845
7966
|
* @remarks
|
|
6846
|
-
* ACR and user OSS mounts share the
|
|
7967
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be delivered. Creating or updating an agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through agent details.
|
|
6847
7968
|
*
|
|
6848
7969
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
6849
7970
|
* @param headers - map
|
|
@@ -6884,10 +8005,10 @@ export default class Client extends OpenApi {
|
|
|
6884
8005
|
}
|
|
6885
8006
|
|
|
6886
8007
|
/**
|
|
6887
|
-
* Verifies the ACR RAM authorization
|
|
8008
|
+
* Verifies the ACR RAM authorization for a workspace.
|
|
6888
8009
|
*
|
|
6889
8010
|
* @remarks
|
|
6890
|
-
* ACR and user OSS mounts share the
|
|
8011
|
+
* ACR and user OSS mounts share the workspace role. If no existing role is found, AliyunAgentCoreWorkspace-{workspaceId} is used. If a valid legacy OSS mount role exists, it is retained and only new permissions are appended without overwriting existing OSS policies. Fixed historical shared roles continue to be reused and are not recreated or renamed due to new naming templates. This operation performs a read-only check to verify whether the custom policies corresponding to the target instance, namespace, and repository are attached to the shared role, and checks the workspace prerequisites. It does not create execution versions or trigger configuration delivery. AUTHORIZED only indicates that the custom policy for the target name is attached, without parsing the policy content or simulating the final permissions. ELIGIBLE does not mean that RuntimeManager capacity or template admission is complete, nor does it require ACR configuration to be delivered. Creating or updating an agent re-verifies permissions and processes ACR dependencies on the backend. Configuration waiting, failures, and retries are reported through agent details.
|
|
6891
8012
|
*
|
|
6892
8013
|
* @param request - VerifyWorkspaceAcrRamAuthorizationRequest
|
|
6893
8014
|
* @returns VerifyWorkspaceAcrRamAuthorizationResponse
|