@alicloud/agentcore20260804 1.2.1 → 2.0.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 +452 -76
- package/dist/client.js +901 -116
- package/dist/client.js.map +1 -1
- package/dist/models/BatchDeleteModelsRequest.d.ts +9 -0
- package/dist/models/BatchDeleteModelsRequest.js.map +1 -1
- package/dist/models/BatchDeleteModelsResponseBody.d.ts +27 -0
- package/dist/models/BatchDeleteModelsResponseBody.js.map +1 -1
- package/dist/models/BatchDeleteModelsShrinkRequest.d.ts +7 -0
- package/dist/models/BatchDeleteModelsShrinkRequest.js.map +1 -1
- package/dist/models/ConvertMcpToFreeEditRequest.d.ts +21 -0
- package/dist/models/ConvertMcpToFreeEditRequest.js +58 -0
- package/dist/models/ConvertMcpToFreeEditRequest.js.map +1 -0
- package/dist/models/ConvertMcpToFreeEditResponse.d.ts +19 -0
- package/dist/models/ConvertMcpToFreeEditResponse.js +69 -0
- package/dist/models/ConvertMcpToFreeEditResponse.js.map +1 -0
- package/dist/models/ConvertMcpToFreeEditResponseBody.d.ts +966 -0
- package/dist/models/ConvertMcpToFreeEditResponseBody.js +688 -0
- package/dist/models/ConvertMcpToFreeEditResponseBody.js.map +1 -0
- package/dist/models/CreateAgentSpecResponseBody.d.ts +1 -1
- package/dist/models/CreateCredentialRequest.d.ts +67 -2
- package/dist/models/CreateCredentialRequest.js +31 -1
- package/dist/models/CreateCredentialRequest.js.map +1 -1
- package/dist/models/CreateCredentialResponseBody.d.ts +97 -1
- package/dist/models/CreateCredentialResponseBody.js +31 -1
- package/dist/models/CreateCredentialResponseBody.js.map +1 -1
- package/dist/models/CreateCredentialShrinkRequest.d.ts +8 -1
- package/dist/models/CreateCredentialShrinkRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentRequest.d.ts +6 -4
- package/dist/models/CreateExternalAgentRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentResponseBody.d.ts +20 -91
- package/dist/models/CreateExternalAgentResponseBody.js +1 -37
- package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/CreateManagedAgentRequest.d.ts +145 -12
- package/dist/models/CreateManagedAgentRequest.js +113 -1
- package/dist/models/CreateManagedAgentRequest.js.map +1 -1
- package/dist/models/CreateManagedAgentResponseBody.d.ts +158 -18
- package/dist/models/CreateManagedAgentResponseBody.js +118 -1
- package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/CreateMcpRequest.d.ts +782 -9
- package/dist/models/CreateMcpRequest.js +546 -1
- package/dist/models/CreateMcpRequest.js.map +1 -1
- package/dist/models/CreateMcpResponseBody.d.ts +906 -31
- package/dist/models/CreateMcpResponseBody.js +608 -1
- package/dist/models/CreateMcpResponseBody.js.map +1 -1
- package/dist/models/CreateMcpShrinkRequest.d.ts +1 -1
- package/dist/models/CreateModelConnectionRequest.d.ts +21 -0
- package/dist/models/CreateModelConnectionRequest.js.map +1 -1
- package/dist/models/CreateModelConnectionResponseBody.d.ts +60 -0
- package/dist/models/CreateModelConnectionResponseBody.js.map +1 -1
- package/dist/models/CreateModelConnectionShrinkRequest.d.ts +7 -0
- package/dist/models/CreateModelConnectionShrinkRequest.js.map +1 -1
- package/dist/models/CreateTeamRequest.d.ts +34 -2
- package/dist/models/CreateTeamRequest.js.map +1 -1
- package/dist/models/CreateTeamResponseBody.d.ts +62 -1
- package/dist/models/CreateTeamResponseBody.js.map +1 -1
- package/dist/models/CreateTeamShrinkRequest.d.ts +8 -1
- package/dist/models/CreateTeamShrinkRequest.js.map +1 -1
- package/dist/models/CreateUserRequest.d.ts +23 -3
- package/dist/models/CreateUserRequest.js.map +1 -1
- package/dist/models/CreateUserResponseBody.d.ts +58 -2
- package/dist/models/CreateUserResponseBody.js.map +1 -1
- package/dist/models/CreateUserShrinkRequest.d.ts +8 -1
- package/dist/models/CreateUserShrinkRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceRequest.d.ts +2 -1
- package/dist/models/CreateWorkspaceRequest.js +2 -0
- package/dist/models/CreateWorkspaceRequest.js.map +1 -1
- package/dist/models/CreateWorkspaceResponseBody.d.ts +110 -2
- package/dist/models/CreateWorkspaceResponseBody.js +43 -1
- package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/DebugModelRequest.d.ts +6 -0
- package/dist/models/DebugModelRequest.js.map +1 -1
- package/dist/models/DebugModelResponseBody.d.ts +45 -3
- package/dist/models/DebugModelResponseBody.js.map +1 -1
- package/dist/models/DebugModelShrinkRequest.d.ts +4 -0
- package/dist/models/DebugModelShrinkRequest.js.map +1 -1
- package/dist/models/DeleteAgentSpecVersionResponseBody.d.ts +1 -1
- package/dist/models/DeleteCredentialRequest.d.ts +4 -1
- package/dist/models/DeleteCredentialRequest.js.map +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +29 -0
- package/dist/models/DeleteCredentialResponseBody.js.map +1 -1
- package/dist/models/DeleteExternalAgentResponseBody.d.ts +4 -12
- package/dist/models/DeleteExternalAgentResponseBody.js +0 -2
- package/dist/models/DeleteExternalAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteIdentityProviderResponseBody.d.ts +9 -5
- package/dist/models/DeleteIdentityProviderResponseBody.js.map +1 -1
- package/dist/models/DeleteManagedAgentResponseBody.d.ts +4 -12
- package/dist/models/DeleteManagedAgentResponseBody.js +0 -2
- package/dist/models/DeleteManagedAgentResponseBody.js.map +1 -1
- package/dist/models/DeleteModelConnectionRequest.d.ts +3 -0
- package/dist/models/DeleteModelConnectionRequest.js.map +1 -1
- package/dist/models/DeleteModelConnectionResponseBody.d.ts +26 -0
- package/dist/models/DeleteModelConnectionResponseBody.js.map +1 -1
- package/dist/models/DeleteModelRequest.d.ts +3 -0
- package/dist/models/DeleteModelRequest.js.map +1 -1
- package/dist/models/DeleteModelResponseBody.d.ts +26 -0
- package/dist/models/DeleteModelResponseBody.js.map +1 -1
- package/dist/models/DeleteTeamRequest.d.ts +4 -1
- package/dist/models/DeleteTeamRequest.js.map +1 -1
- package/dist/models/DeleteTeamResponseBody.d.ts +38 -0
- package/dist/models/DeleteTeamResponseBody.js.map +1 -1
- package/dist/models/DeleteUserRequest.d.ts +4 -1
- package/dist/models/DeleteUserRequest.js.map +1 -1
- package/dist/models/DeleteUserResponseBody.d.ts +29 -0
- package/dist/models/DeleteUserResponseBody.js.map +1 -1
- package/dist/models/DisableConnectorRequest.d.ts +13 -0
- package/dist/models/DisableConnectorRequest.js +54 -0
- package/dist/models/DisableConnectorRequest.js.map +1 -0
- package/dist/models/DisableConnectorResponse.d.ts +19 -0
- package/dist/models/DisableConnectorResponse.js +69 -0
- package/dist/models/DisableConnectorResponse.js.map +1 -0
- package/dist/models/DisableConnectorResponseBody.d.ts +110 -0
- package/dist/models/DisableConnectorResponseBody.js +98 -0
- package/dist/models/DisableConnectorResponseBody.js.map +1 -0
- package/dist/models/EnableConnectorRequest.d.ts +42 -0
- package/dist/models/EnableConnectorRequest.js +80 -0
- package/dist/models/EnableConnectorRequest.js.map +1 -0
- package/dist/models/EnableConnectorResponse.d.ts +19 -0
- package/dist/models/EnableConnectorResponse.js +69 -0
- package/dist/models/EnableConnectorResponse.js.map +1 -0
- package/dist/models/EnableConnectorResponseBody.d.ts +110 -0
- package/dist/models/EnableConnectorResponseBody.js +98 -0
- package/dist/models/EnableConnectorResponseBody.js.map +1 -0
- package/dist/models/EnableConnectorShrinkRequest.d.ts +20 -0
- package/dist/models/EnableConnectorShrinkRequest.js +58 -0
- package/dist/models/EnableConnectorShrinkRequest.js.map +1 -0
- package/dist/models/GetAgentImchannelResponseBody.d.ts +11 -11
- package/dist/models/GetAgentSpecImportFileUrlResponseBody.d.ts +1 -1
- package/dist/models/GetAgentSpecVersionResponseBody.d.ts +2 -2
- package/dist/models/GetCredentialResponseBody.d.ts +107 -1
- package/dist/models/GetCredentialResponseBody.js +31 -1
- package/dist/models/GetCredentialResponseBody.js.map +1 -1
- package/dist/models/GetExternalAgentBootstrapOptionsResponseBody.d.ts +3 -3
- package/dist/models/GetExternalAgentResponseBody.d.ts +27 -98
- package/dist/models/GetExternalAgentResponseBody.js +1 -37
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/GetIdentityProviderResponseBody.d.ts +4 -4
- package/dist/models/GetManagedAgentResponseBody.d.ts +152 -12
- package/dist/models/GetManagedAgentResponseBody.js +118 -1
- package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
- package/dist/models/GetMcpMarketItemRequest.d.ts +13 -0
- package/dist/models/GetMcpMarketItemRequest.js +54 -0
- package/dist/models/GetMcpMarketItemRequest.js.map +1 -0
- package/dist/models/GetMcpMarketItemResponse.d.ts +19 -0
- package/dist/models/GetMcpMarketItemResponse.js +69 -0
- package/dist/models/GetMcpMarketItemResponse.js.map +1 -0
- package/dist/models/GetMcpMarketItemResponseBody.d.ts +178 -0
- package/dist/models/GetMcpMarketItemResponseBody.js +119 -0
- package/dist/models/GetMcpMarketItemResponseBody.js.map +1 -0
- package/dist/models/GetMcpResponseBody.d.ts +922 -35
- package/dist/models/GetMcpResponseBody.js +612 -1
- package/dist/models/GetMcpResponseBody.js.map +1 -1
- package/dist/models/GetModelConnectionResponseBody.d.ts +67 -0
- package/dist/models/GetModelConnectionResponseBody.js.map +1 -1
- package/dist/models/GetTeamResponseBody.d.ts +128 -9
- package/dist/models/GetTeamResponseBody.js +0 -2
- package/dist/models/GetTeamResponseBody.js.map +1 -1
- package/dist/models/GetUserResponseBody.d.ts +55 -2
- package/dist/models/GetUserResponseBody.js.map +1 -1
- package/dist/models/GetWorkspaceResponseBody.d.ts +33 -5
- package/dist/models/GetWorkspaceResponseBody.js +8 -0
- package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
- package/dist/models/InstallMcpMarketItemRequest.d.ts +941 -0
- package/dist/models/InstallMcpMarketItemRequest.js +693 -0
- package/dist/models/InstallMcpMarketItemRequest.js.map +1 -0
- package/dist/models/InstallMcpMarketItemResponse.d.ts +19 -0
- package/dist/models/InstallMcpMarketItemResponse.js +69 -0
- package/dist/models/InstallMcpMarketItemResponse.js.map +1 -0
- package/dist/models/InstallMcpMarketItemResponseBody.d.ts +969 -0
- package/dist/models/InstallMcpMarketItemResponseBody.js +688 -0
- package/dist/models/InstallMcpMarketItemResponseBody.js.map +1 -0
- package/dist/models/InstallMcpMarketItemShrinkRequest.d.ts +36 -0
- package/dist/models/InstallMcpMarketItemShrinkRequest.js +62 -0
- package/dist/models/InstallMcpMarketItemShrinkRequest.js.map +1 -0
- package/dist/models/ListConnectorModelsRequest.d.ts +37 -0
- package/dist/models/ListConnectorModelsRequest.js +62 -0
- package/dist/models/ListConnectorModelsRequest.js.map +1 -0
- package/dist/models/ListConnectorModelsResponse.d.ts +19 -0
- package/dist/models/ListConnectorModelsResponse.js +69 -0
- package/dist/models/ListConnectorModelsResponse.js.map +1 -0
- package/dist/models/ListConnectorModelsResponseBody.d.ts +144 -0
- package/dist/models/ListConnectorModelsResponseBody.js +106 -0
- package/dist/models/ListConnectorModelsResponseBody.js.map +1 -0
- package/dist/models/ListConnectorsRequest.d.ts +29 -0
- package/dist/models/ListConnectorsRequest.js +60 -0
- package/dist/models/ListConnectorsRequest.js.map +1 -0
- package/dist/models/ListConnectorsResponse.d.ts +19 -0
- package/dist/models/ListConnectorsResponse.js +69 -0
- package/dist/models/ListConnectorsResponse.js.map +1 -0
- package/dist/models/ListConnectorsResponseBody.d.ts +134 -0
- package/dist/models/ListConnectorsResponseBody.js +104 -0
- package/dist/models/ListConnectorsResponseBody.js.map +1 -0
- package/dist/models/ListCredentialsRequest.d.ts +20 -0
- package/dist/models/ListCredentialsRequest.js +2 -0
- package/dist/models/ListCredentialsRequest.js.map +1 -1
- package/dist/models/ListCredentialsResponseBody.d.ts +109 -1
- package/dist/models/ListCredentialsResponseBody.js +31 -1
- package/dist/models/ListCredentialsResponseBody.js.map +1 -1
- package/dist/models/ListExternalAgentsResponseBody.d.ts +7 -15
- package/dist/models/ListExternalAgentsResponseBody.js +0 -2
- package/dist/models/ListExternalAgentsResponseBody.js.map +1 -1
- package/dist/models/ListManagedAgentsResponseBody.d.ts +65 -9
- package/dist/models/ListManagedAgentsResponseBody.js +51 -3
- package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
- package/dist/models/ListMcpMarketItemsRequest.d.ts +53 -0
- package/dist/models/ListMcpMarketItemsRequest.js +66 -0
- package/dist/models/ListMcpMarketItemsRequest.js.map +1 -0
- package/dist/models/ListMcpMarketItemsResponse.d.ts +19 -0
- package/dist/models/ListMcpMarketItemsResponse.js +69 -0
- package/dist/models/ListMcpMarketItemsResponse.js.map +1 -0
- package/dist/models/ListMcpMarketItemsResponseBody.d.ts +202 -0
- package/dist/models/ListMcpMarketItemsResponseBody.js +125 -0
- package/dist/models/ListMcpMarketItemsResponseBody.js.map +1 -0
- package/dist/models/ListMcpsRequest.d.ts +24 -1
- package/dist/models/ListMcpsRequest.js +4 -0
- package/dist/models/ListMcpsRequest.js.map +1 -1
- package/dist/models/ListMcpsResponseBody.d.ts +864 -31
- package/dist/models/ListMcpsResponseBody.js +580 -1
- package/dist/models/ListMcpsResponseBody.js.map +1 -1
- package/dist/models/ListModelConnectionsRequest.d.ts +21 -0
- package/dist/models/ListModelConnectionsRequest.js.map +1 -1
- package/dist/models/ListModelConnectionsResponseBody.d.ts +79 -0
- package/dist/models/ListModelConnectionsResponseBody.js.map +1 -1
- package/dist/models/ListSandboxSessionsRequest.d.ts +26 -0
- package/dist/models/ListSandboxSessionsRequest.js +60 -0
- package/dist/models/ListSandboxSessionsRequest.js.map +1 -0
- package/dist/models/ListSandboxSessionsResponse.d.ts +19 -0
- package/dist/models/ListSandboxSessionsResponse.js +69 -0
- package/dist/models/ListSandboxSessionsResponse.js.map +1 -0
- package/dist/models/ListSandboxSessionsResponseBody.d.ts +41 -0
- package/dist/models/ListSandboxSessionsResponseBody.js +100 -0
- package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -0
- package/dist/models/ListSandboxesRequest.d.ts +42 -0
- package/dist/models/ListSandboxesRequest.js +64 -0
- package/dist/models/ListSandboxesRequest.js.map +1 -0
- package/dist/models/ListSandboxesResponse.d.ts +19 -0
- package/dist/models/ListSandboxesResponse.js +69 -0
- package/dist/models/ListSandboxesResponse.js.map +1 -0
- package/dist/models/ListSandboxesResponseBody.d.ts +41 -0
- package/dist/models/ListSandboxesResponseBody.js +108 -0
- package/dist/models/ListSandboxesResponseBody.js.map +1 -0
- package/dist/models/ListTeamsRequest.d.ts +9 -0
- package/dist/models/ListTeamsRequest.js.map +1 -1
- package/dist/models/ListTeamsResponseBody.d.ts +89 -1
- package/dist/models/ListTeamsResponseBody.js.map +1 -1
- package/dist/models/ListWorkspacesResponseBody.d.ts +4 -4
- package/dist/models/ResetUserPasswordRequest.d.ts +13 -0
- package/dist/models/ResetUserPasswordRequest.js.map +1 -1
- package/dist/models/ResetUserPasswordResponseBody.d.ts +29 -0
- package/dist/models/ResetUserPasswordResponseBody.js.map +1 -1
- package/dist/models/ResetUserPasswordShrinkRequest.d.ts +4 -0
- package/dist/models/ResetUserPasswordShrinkRequest.js.map +1 -1
- package/dist/models/UpdateAgentImchannelCredentialRequest.d.ts +1 -1
- package/dist/models/UpdateAgentImchannelCredentialResponseBody.d.ts +2 -2
- package/dist/models/UpdateAgentImchannelCredentialShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateAgentImchannelRequest.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelResponseBody.d.ts +4 -4
- package/dist/models/UpdateAgentImchannelShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateConnectorRequest.d.ts +42 -0
- package/dist/models/UpdateConnectorRequest.js +80 -0
- package/dist/models/UpdateConnectorRequest.js.map +1 -0
- package/dist/models/UpdateConnectorResponse.d.ts +19 -0
- package/dist/models/UpdateConnectorResponse.js +69 -0
- package/dist/models/UpdateConnectorResponse.js.map +1 -0
- package/dist/models/UpdateConnectorResponseBody.d.ts +110 -0
- package/dist/models/UpdateConnectorResponseBody.js +98 -0
- package/dist/models/UpdateConnectorResponseBody.js.map +1 -0
- package/dist/models/UpdateConnectorShrinkRequest.d.ts +20 -0
- package/dist/models/UpdateConnectorShrinkRequest.js +58 -0
- package/dist/models/UpdateConnectorShrinkRequest.js.map +1 -0
- package/dist/models/UpdateCredentialRequest.d.ts +64 -2
- package/dist/models/UpdateCredentialRequest.js +31 -1
- package/dist/models/UpdateCredentialRequest.js.map +1 -1
- package/dist/models/UpdateCredentialResponseBody.d.ts +97 -1
- package/dist/models/UpdateCredentialResponseBody.js +31 -1
- package/dist/models/UpdateCredentialResponseBody.js.map +1 -1
- package/dist/models/UpdateCredentialShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateCredentialShrinkRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentRequest.d.ts +6 -6
- package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentResponseBody.d.ts +18 -91
- package/dist/models/UpdateExternalAgentResponseBody.js +1 -37
- package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateIdentityProviderRequest.d.ts +3 -3
- package/dist/models/UpdateIdentityProviderResponseBody.d.ts +2 -2
- package/dist/models/UpdateManagedAgentRequest.d.ts +146 -13
- package/dist/models/UpdateManagedAgentRequest.js +113 -1
- package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
- package/dist/models/UpdateManagedAgentResponseBody.d.ts +160 -20
- package/dist/models/UpdateManagedAgentResponseBody.js +118 -1
- package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
- package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMcpRequest.d.ts +775 -8
- package/dist/models/UpdateMcpRequest.js +544 -1
- package/dist/models/UpdateMcpRequest.js.map +1 -1
- package/dist/models/UpdateMcpResponseBody.d.ts +1 -1
- package/dist/models/UpdateMcpShrinkRequest.d.ts +1 -1
- package/dist/models/UpdateMcpTemplateConfigRequest.d.ts +908 -0
- package/dist/models/UpdateMcpTemplateConfigRequest.js +685 -0
- package/dist/models/UpdateMcpTemplateConfigRequest.js.map +1 -0
- package/dist/models/UpdateMcpTemplateConfigResponse.d.ts +19 -0
- package/dist/models/UpdateMcpTemplateConfigResponse.js +69 -0
- package/dist/models/UpdateMcpTemplateConfigResponse.js.map +1 -0
- package/dist/models/UpdateMcpTemplateConfigResponseBody.d.ts +971 -0
- package/dist/models/UpdateMcpTemplateConfigResponseBody.js +688 -0
- package/dist/models/UpdateMcpTemplateConfigResponseBody.js.map +1 -0
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.d.ts +36 -0
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.js +62 -0
- package/dist/models/UpdateMcpTemplateConfigShrinkRequest.js.map +1 -0
- package/dist/models/UpdateModelRequest.d.ts +75 -4
- package/dist/models/UpdateModelRequest.js +43 -1
- package/dist/models/UpdateModelRequest.js.map +1 -1
- package/dist/models/UpdateModelResponseBody.d.ts +11 -11
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateTeamRequest.d.ts +38 -2
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +76 -1
- package/dist/models/UpdateTeamResponseBody.js.map +1 -1
- package/dist/models/UpdateTeamShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateTeamShrinkRequest.js.map +1 -1
- package/dist/models/UpdateUserRequest.d.ts +19 -3
- package/dist/models/UpdateUserRequest.js.map +1 -1
- package/dist/models/UpdateUserResponseBody.d.ts +55 -2
- package/dist/models/UpdateUserResponseBody.js.map +1 -1
- package/dist/models/UpdateUserShrinkRequest.d.ts +8 -1
- package/dist/models/UpdateUserShrinkRequest.js.map +1 -1
- package/dist/models/UpdateWorkspaceRequest.d.ts +4 -4
- package/dist/models/UpdateWorkspaceResponseBody.d.ts +18 -3
- package/dist/models/UpdateWorkspaceResponseBody.js +6 -0
- package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
- package/dist/models/UploadAgentSpecViaOssRequest.d.ts +2 -2
- package/dist/models/UploadAgentSpecViaOssResponseBody.d.ts +1 -1
- package/dist/models/VerifyConnectorRequest.d.ts +42 -0
- package/dist/models/VerifyConnectorRequest.js +80 -0
- package/dist/models/VerifyConnectorRequest.js.map +1 -0
- package/dist/models/VerifyConnectorResponse.d.ts +19 -0
- package/dist/models/VerifyConnectorResponse.js +69 -0
- package/dist/models/VerifyConnectorResponse.js.map +1 -0
- package/dist/models/VerifyConnectorResponseBody.d.ts +86 -0
- package/dist/models/VerifyConnectorResponseBody.js +95 -0
- package/dist/models/VerifyConnectorResponseBody.js.map +1 -0
- package/dist/models/VerifyConnectorShrinkRequest.d.ts +20 -0
- package/dist/models/VerifyConnectorShrinkRequest.js +58 -0
- package/dist/models/VerifyConnectorShrinkRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +18 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js +58 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.d.ts +19 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.js +69 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponse.js.map +1 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +60 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js +90 -0
- package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -0
- package/dist/models/model.d.ts +288 -3
- package/dist/models/model.js +755 -179
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +960 -112
- package/src/models/BatchDeleteModelsRequest.ts +9 -0
- package/src/models/BatchDeleteModelsResponseBody.ts +27 -0
- package/src/models/BatchDeleteModelsShrinkRequest.ts +7 -0
- package/src/models/ConvertMcpToFreeEditRequest.ts +34 -0
- package/src/models/ConvertMcpToFreeEditResponse.ts +40 -0
- package/src/models/ConvertMcpToFreeEditResponseBody.ts +1425 -0
- package/src/models/CreateAgentSpecResponseBody.ts +1 -1
- package/src/models/CreateCredentialRequest.ts +88 -2
- package/src/models/CreateCredentialResponseBody.ts +118 -1
- package/src/models/CreateCredentialShrinkRequest.ts +8 -1
- package/src/models/CreateExternalAgentRequest.ts +6 -4
- package/src/models/CreateExternalAgentResponseBody.ts +20 -118
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/CreateManagedAgentRequest.ts +221 -12
- package/src/models/CreateManagedAgentResponseBody.ts +237 -18
- package/src/models/CreateMcpRequest.ts +1193 -41
- package/src/models/CreateMcpResponseBody.ts +1353 -55
- package/src/models/CreateMcpShrinkRequest.ts +1 -1
- package/src/models/CreateModelConnectionRequest.ts +21 -0
- package/src/models/CreateModelConnectionResponseBody.ts +60 -0
- package/src/models/CreateModelConnectionShrinkRequest.ts +7 -0
- package/src/models/CreateTeamRequest.ts +34 -2
- package/src/models/CreateTeamResponseBody.ts +62 -1
- package/src/models/CreateTeamShrinkRequest.ts +8 -1
- package/src/models/CreateUserRequest.ts +23 -3
- package/src/models/CreateUserResponseBody.ts +58 -2
- package/src/models/CreateUserShrinkRequest.ts +8 -1
- package/src/models/CreateWorkspaceRequest.ts +4 -1
- package/src/models/CreateWorkspaceResponseBody.ts +143 -2
- package/src/models/DebugModelRequest.ts +6 -0
- package/src/models/DebugModelResponseBody.ts +45 -3
- package/src/models/DebugModelShrinkRequest.ts +4 -0
- package/src/models/DeleteAgentSpecVersionResponseBody.ts +1 -1
- package/src/models/DeleteCredentialRequest.ts +4 -1
- package/src/models/DeleteCredentialResponseBody.ts +29 -0
- package/src/models/DeleteExternalAgentResponseBody.ts +4 -14
- package/src/models/DeleteIdentityProviderResponseBody.ts +9 -5
- package/src/models/DeleteManagedAgentResponseBody.ts +4 -14
- package/src/models/DeleteModelConnectionRequest.ts +3 -0
- package/src/models/DeleteModelConnectionResponseBody.ts +26 -0
- package/src/models/DeleteModelRequest.ts +3 -0
- package/src/models/DeleteModelResponseBody.ts +26 -0
- package/src/models/DeleteTeamRequest.ts +4 -1
- package/src/models/DeleteTeamResponseBody.ts +38 -0
- package/src/models/DeleteUserRequest.ts +4 -1
- package/src/models/DeleteUserResponseBody.ts +29 -0
- package/src/models/DisableConnectorRequest.ts +24 -0
- package/src/models/DisableConnectorResponse.ts +40 -0
- package/src/models/DisableConnectorResponseBody.ts +154 -0
- package/src/models/EnableConnectorRequest.ts +68 -0
- package/src/models/EnableConnectorResponse.ts +40 -0
- package/src/models/EnableConnectorResponseBody.ts +154 -0
- package/src/models/EnableConnectorShrinkRequest.ts +33 -0
- package/src/models/GetAgentImchannelResponseBody.ts +11 -11
- package/src/models/GetAgentSpecImportFileUrlResponseBody.ts +1 -1
- package/src/models/GetAgentSpecVersionResponseBody.ts +2 -2
- package/src/models/GetCredentialResponseBody.ts +128 -1
- package/src/models/GetExternalAgentBootstrapOptionsResponseBody.ts +3 -3
- package/src/models/GetExternalAgentResponseBody.ts +27 -125
- package/src/models/GetIdentityProviderResponseBody.ts +4 -4
- package/src/models/GetManagedAgentResponseBody.ts +231 -12
- package/src/models/GetMcpMarketItemRequest.ts +24 -0
- package/src/models/GetMcpMarketItemResponse.ts +40 -0
- package/src/models/GetMcpMarketItemResponseBody.ts +241 -0
- package/src/models/GetMcpResponseBody.ts +1373 -59
- package/src/models/GetModelConnectionResponseBody.ts +67 -0
- package/src/models/GetTeamResponseBody.ts +128 -11
- package/src/models/GetUserResponseBody.ts +55 -2
- package/src/models/GetWorkspaceResponseBody.ts +41 -5
- package/src/models/InstallMcpMarketItemRequest.ts +1396 -0
- package/src/models/InstallMcpMarketItemResponse.ts +40 -0
- package/src/models/InstallMcpMarketItemResponseBody.ts +1428 -0
- package/src/models/InstallMcpMarketItemShrinkRequest.ts +53 -0
- package/src/models/ListConnectorModelsRequest.ts +54 -0
- package/src/models/ListConnectorModelsResponse.ts +40 -0
- package/src/models/ListConnectorModelsResponseBody.ts +196 -0
- package/src/models/ListConnectorsRequest.ts +44 -0
- package/src/models/ListConnectorsResponse.ts +40 -0
- package/src/models/ListConnectorsResponseBody.ts +184 -0
- package/src/models/ListCredentialsRequest.ts +22 -0
- package/src/models/ListCredentialsResponseBody.ts +130 -1
- package/src/models/ListExternalAgentsResponseBody.ts +7 -17
- package/src/models/ListManagedAgentsResponseBody.ts +97 -11
- package/src/models/ListMcpMarketItemsRequest.ts +74 -0
- package/src/models/ListMcpMarketItemsResponse.ts +40 -0
- package/src/models/ListMcpMarketItemsResponseBody.ts +271 -0
- package/src/models/ListMcpsRequest.ts +28 -1
- package/src/models/ListMcpsResponseBody.ts +1292 -55
- package/src/models/ListModelConnectionsRequest.ts +21 -0
- package/src/models/ListModelConnectionsResponseBody.ts +79 -0
- package/src/models/ListSandboxSessionsRequest.ts +41 -0
- package/src/models/ListSandboxSessionsResponse.ts +40 -0
- package/src/models/ListSandboxSessionsResponseBody.ts +87 -0
- package/src/models/ListSandboxesRequest.ts +61 -0
- package/src/models/ListSandboxesResponse.ts +40 -0
- package/src/models/ListSandboxesResponseBody.ts +95 -0
- package/src/models/ListTeamsRequest.ts +9 -0
- package/src/models/ListTeamsResponseBody.ts +89 -1
- package/src/models/ListWorkspacesResponseBody.ts +4 -4
- package/src/models/ResetUserPasswordRequest.ts +13 -0
- package/src/models/ResetUserPasswordResponseBody.ts +29 -0
- package/src/models/ResetUserPasswordShrinkRequest.ts +4 -0
- package/src/models/UpdateAgentImchannelCredentialRequest.ts +1 -1
- package/src/models/UpdateAgentImchannelCredentialResponseBody.ts +2 -2
- package/src/models/UpdateAgentImchannelCredentialShrinkRequest.ts +1 -1
- package/src/models/UpdateAgentImchannelRequest.ts +4 -4
- package/src/models/UpdateAgentImchannelResponseBody.ts +4 -4
- package/src/models/UpdateAgentImchannelShrinkRequest.ts +1 -1
- package/src/models/UpdateConnectorRequest.ts +68 -0
- package/src/models/UpdateConnectorResponse.ts +40 -0
- package/src/models/UpdateConnectorResponseBody.ts +154 -0
- package/src/models/UpdateConnectorShrinkRequest.ts +33 -0
- package/src/models/UpdateCredentialRequest.ts +85 -2
- package/src/models/UpdateCredentialResponseBody.ts +118 -1
- package/src/models/UpdateCredentialShrinkRequest.ts +8 -1
- package/src/models/UpdateExternalAgentRequest.ts +6 -6
- package/src/models/UpdateExternalAgentResponseBody.ts +18 -118
- package/src/models/UpdateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateIdentityProviderRequest.ts +3 -3
- package/src/models/UpdateIdentityProviderResponseBody.ts +2 -2
- package/src/models/UpdateManagedAgentRequest.ts +222 -13
- package/src/models/UpdateManagedAgentResponseBody.ts +239 -20
- package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
- package/src/models/UpdateMcpRequest.ts +1166 -22
- package/src/models/UpdateMcpResponseBody.ts +1 -1
- package/src/models/UpdateMcpShrinkRequest.ts +1 -1
- package/src/models/UpdateMcpTemplateConfigRequest.ts +1355 -0
- package/src/models/UpdateMcpTemplateConfigResponse.ts +40 -0
- package/src/models/UpdateMcpTemplateConfigResponseBody.ts +1430 -0
- package/src/models/UpdateMcpTemplateConfigShrinkRequest.ts +53 -0
- package/src/models/UpdateModelRequest.ts +108 -4
- package/src/models/UpdateModelResponseBody.ts +11 -11
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateTeamRequest.ts +38 -2
- package/src/models/UpdateTeamResponseBody.ts +76 -1
- package/src/models/UpdateTeamShrinkRequest.ts +8 -1
- package/src/models/UpdateUserRequest.ts +19 -3
- package/src/models/UpdateUserResponseBody.ts +55 -2
- package/src/models/UpdateUserShrinkRequest.ts +8 -1
- package/src/models/UpdateWorkspaceRequest.ts +4 -4
- package/src/models/UpdateWorkspaceResponseBody.ts +24 -3
- package/src/models/UploadAgentSpecViaOssRequest.ts +2 -2
- package/src/models/UploadAgentSpecViaOssResponseBody.ts +1 -1
- package/src/models/VerifyConnectorRequest.ts +68 -0
- package/src/models/VerifyConnectorResponse.ts +40 -0
- package/src/models/VerifyConnectorResponseBody.ts +127 -0
- package/src/models/VerifyConnectorShrinkRequest.ts +33 -0
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +31 -0
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponse.ts +40 -0
- package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +96 -0
- package/src/models/model.ts +288 -3
package/dist/client.js
CHANGED
|
@@ -62,7 +62,7 @@ class Client extends openapi_core_1.default {
|
|
|
62
62
|
return openapi_core_2.OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
|
|
63
63
|
}
|
|
64
64
|
/**
|
|
65
|
-
*
|
|
65
|
+
* Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
|
|
66
66
|
*
|
|
67
67
|
* @param tmpReq - BatchDeleteModelsRequest
|
|
68
68
|
* @param headers - map
|
|
@@ -103,7 +103,7 @@ class Client extends openapi_core_1.default {
|
|
|
103
103
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.BatchDeleteModelsResponse({}));
|
|
104
104
|
}
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
106
|
+
* Deletes models in a specified workspace in batches. If any model is in use, the entire batch request fails.
|
|
107
107
|
*
|
|
108
108
|
* @param request - BatchDeleteModelsRequest
|
|
109
109
|
* @returns BatchDeleteModelsResponse
|
|
@@ -168,6 +168,54 @@ class Client extends openapi_core_1.default {
|
|
|
168
168
|
let headers = {};
|
|
169
169
|
return await this.batchUploadSkillsViaOssWithOptions(workspaceId, request, headers, runtime);
|
|
170
170
|
}
|
|
171
|
+
/**
|
|
172
|
+
* Converts an MCP to free editing.
|
|
173
|
+
*
|
|
174
|
+
* @remarks
|
|
175
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
176
|
+
*
|
|
177
|
+
* @param request - ConvertMcpToFreeEditRequest
|
|
178
|
+
* @param headers - map
|
|
179
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
180
|
+
* @returns ConvertMcpToFreeEditResponse
|
|
181
|
+
*/
|
|
182
|
+
async convertMcpToFreeEditWithOptions(workspaceId, mcpServerId, request, headers, runtime) {
|
|
183
|
+
request.validate();
|
|
184
|
+
let query = {};
|
|
185
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
186
|
+
query["clientToken"] = request.clientToken;
|
|
187
|
+
}
|
|
188
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
189
|
+
headers: headers,
|
|
190
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
191
|
+
});
|
|
192
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
193
|
+
action: "ConvertMcpToFreeEdit",
|
|
194
|
+
version: "2026-08-04",
|
|
195
|
+
protocol: "HTTPS",
|
|
196
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/convert-to-free-edit`,
|
|
197
|
+
method: "POST",
|
|
198
|
+
authType: "AK",
|
|
199
|
+
style: "ROA",
|
|
200
|
+
reqBodyType: "json",
|
|
201
|
+
bodyType: "json",
|
|
202
|
+
});
|
|
203
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ConvertMcpToFreeEditResponse({}));
|
|
204
|
+
}
|
|
205
|
+
/**
|
|
206
|
+
* Converts an MCP to free editing.
|
|
207
|
+
*
|
|
208
|
+
* @remarks
|
|
209
|
+
* Disables template usage constraints. After the conversion, the MCP retains its source and tags but no longer appears on the usage page.
|
|
210
|
+
*
|
|
211
|
+
* @param request - ConvertMcpToFreeEditRequest
|
|
212
|
+
* @returns ConvertMcpToFreeEditResponse
|
|
213
|
+
*/
|
|
214
|
+
async convertMcpToFreeEdit(workspaceId, mcpServerId, request) {
|
|
215
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
216
|
+
let headers = {};
|
|
217
|
+
return await this.convertMcpToFreeEditWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
218
|
+
}
|
|
171
219
|
/**
|
|
172
220
|
* Creates an IM channel for a specified agent and binds a publicly accessible ServiceEndpoint.
|
|
173
221
|
*
|
|
@@ -337,7 +385,10 @@ class Client extends openapi_core_1.default {
|
|
|
337
385
|
return await this.createAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
338
386
|
}
|
|
339
387
|
/**
|
|
340
|
-
*
|
|
388
|
+
* 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 in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
|
|
389
|
+
*
|
|
390
|
+
* @remarks
|
|
391
|
+
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
341
392
|
*
|
|
342
393
|
* @param tmpReq - CreateCredentialRequest
|
|
343
394
|
* @param headers - map
|
|
@@ -378,7 +429,10 @@ class Client extends openapi_core_1.default {
|
|
|
378
429
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateCredentialResponse({}));
|
|
379
430
|
}
|
|
380
431
|
/**
|
|
381
|
-
*
|
|
432
|
+
* 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 in as a JSON string through credentialMetadata and can only be queried in masked form after being written.
|
|
433
|
+
*
|
|
434
|
+
* @remarks
|
|
435
|
+
* Creates a credential in a workspace for authentication of services such as Connector.
|
|
382
436
|
*
|
|
383
437
|
* @param request - CreateCredentialRequest
|
|
384
438
|
* @returns CreateCredentialResponse
|
|
@@ -706,7 +760,7 @@ class Client extends openapi_core_1.default {
|
|
|
706
760
|
return await this.createModelWithOptions(workspaceId, request, headers, runtime);
|
|
707
761
|
}
|
|
708
762
|
/**
|
|
709
|
-
*
|
|
763
|
+
* Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
|
|
710
764
|
*
|
|
711
765
|
* @param tmpReq - CreateModelConnectionRequest
|
|
712
766
|
* @param headers - map
|
|
@@ -747,7 +801,7 @@ class Client extends openapi_core_1.default {
|
|
|
747
801
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateModelConnectionResponse({}));
|
|
748
802
|
}
|
|
749
803
|
/**
|
|
750
|
-
*
|
|
804
|
+
* Creates a model connection in a specified workspace and configures the upstream model service address, invoke protocol, and access credentials.
|
|
751
805
|
*
|
|
752
806
|
* @param request - CreateModelConnectionRequest
|
|
753
807
|
* @returns CreateModelConnectionResponse
|
|
@@ -813,7 +867,7 @@ class Client extends openapi_core_1.default {
|
|
|
813
867
|
return await this.createSkillDraftWithOptions(workspaceId, request, headers, runtime);
|
|
814
868
|
}
|
|
815
869
|
/**
|
|
816
|
-
*
|
|
870
|
+
* Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
|
|
817
871
|
*
|
|
818
872
|
* @param tmpReq - CreateTeamRequest
|
|
819
873
|
* @param headers - map
|
|
@@ -854,7 +908,7 @@ class Client extends openapi_core_1.default {
|
|
|
854
908
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateTeamResponse({}));
|
|
855
909
|
}
|
|
856
910
|
/**
|
|
857
|
-
*
|
|
911
|
+
* Creates a team in a specified workspace and sets user members and agent members at the same time. The user members must include exactly one member with the ADMIN role. Agent members can only have the LEADER or WORKER role.
|
|
858
912
|
*
|
|
859
913
|
* @param request - CreateTeamRequest
|
|
860
914
|
* @returns CreateTeamResponse
|
|
@@ -865,7 +919,7 @@ class Client extends openapi_core_1.default {
|
|
|
865
919
|
return await this.createTeamWithOptions(workspaceId, request, headers, runtime);
|
|
866
920
|
}
|
|
867
921
|
/**
|
|
868
|
-
*
|
|
922
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
869
923
|
*
|
|
870
924
|
* @param tmpReq - CreateUserRequest
|
|
871
925
|
* @param headers - map
|
|
@@ -906,7 +960,7 @@ class Client extends openapi_core_1.default {
|
|
|
906
960
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.CreateUserResponse({}));
|
|
907
961
|
}
|
|
908
962
|
/**
|
|
909
|
-
*
|
|
963
|
+
* Creates a user in a specified workspace. The username must be unique within the workspace and can contain only lowercase letters, digits, and hyphens. Reserved names such as manager, admin, or names starting with worker- cannot be used. If password is not specified, the server generates an initial password and returns it in the initialPassword field of the response.
|
|
910
964
|
*
|
|
911
965
|
* @param request - CreateUserRequest
|
|
912
966
|
* @returns CreateUserResponse
|
|
@@ -975,7 +1029,7 @@ class Client extends openapi_core_1.default {
|
|
|
975
1029
|
return await this.createWorkspaceWithOptions(request, headers, runtime);
|
|
976
1030
|
}
|
|
977
1031
|
/**
|
|
978
|
-
*
|
|
1032
|
+
* Calls a specified model through a published model connection to verify whether the model call chain is available.
|
|
979
1033
|
*
|
|
980
1034
|
* @param tmpReq - DebugModelRequest
|
|
981
1035
|
* @param headers - map
|
|
@@ -1011,7 +1065,7 @@ class Client extends openapi_core_1.default {
|
|
|
1011
1065
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DebugModelResponse({}));
|
|
1012
1066
|
}
|
|
1013
1067
|
/**
|
|
1014
|
-
*
|
|
1068
|
+
* Calls a specified model through a published model connection to verify whether the model call chain is available.
|
|
1015
1069
|
*
|
|
1016
1070
|
* @param request - DebugModelRequest
|
|
1017
1071
|
* @returns DebugModelResponse
|
|
@@ -1160,7 +1214,10 @@ class Client extends openapi_core_1.default {
|
|
|
1160
1214
|
return await this.deleteAgentSpecVersionWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
1161
1215
|
}
|
|
1162
1216
|
/**
|
|
1163
|
-
*
|
|
1217
|
+
* Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
|
|
1218
|
+
*
|
|
1219
|
+
* @remarks
|
|
1220
|
+
* Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
|
|
1164
1221
|
*
|
|
1165
1222
|
* @param request - DeleteCredentialRequest
|
|
1166
1223
|
* @param headers - map
|
|
@@ -1191,7 +1248,10 @@ class Client extends openapi_core_1.default {
|
|
|
1191
1248
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteCredentialResponse({}));
|
|
1192
1249
|
}
|
|
1193
1250
|
/**
|
|
1194
|
-
*
|
|
1251
|
+
* Deletes a credential from a specified workspace and removes the ciphertext hosted in the credential service. After deletion, agents that are bound to this credential can no longer retrieve the credential content.
|
|
1252
|
+
*
|
|
1253
|
+
* @remarks
|
|
1254
|
+
* Deletes an access credential from a specified workspace. A credential cannot be deleted while it is still bound to an MCP service.
|
|
1195
1255
|
*
|
|
1196
1256
|
* @param request - DeleteCredentialRequest
|
|
1197
1257
|
* @returns DeleteCredentialResponse
|
|
@@ -1245,7 +1305,7 @@ class Client extends openapi_core_1.default {
|
|
|
1245
1305
|
return await this.deleteExternalAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
1246
1306
|
}
|
|
1247
1307
|
/**
|
|
1248
|
-
* Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can
|
|
1308
|
+
* Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
1249
1309
|
*
|
|
1250
1310
|
* @param request - DeleteIdentityProviderRequest
|
|
1251
1311
|
* @param headers - map
|
|
@@ -1276,7 +1336,7 @@ class Client extends openapi_core_1.default {
|
|
|
1276
1336
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteIdentityProviderResponse({}));
|
|
1277
1337
|
}
|
|
1278
1338
|
/**
|
|
1279
|
-
* Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can
|
|
1339
|
+
* Unbinds the external identity provider from a specified workspace and cleans up users synchronized by that identity provider. The unbinding is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track the progress.
|
|
1280
1340
|
*
|
|
1281
1341
|
* @param request - DeleteIdentityProviderRequest
|
|
1282
1342
|
* @returns DeleteIdentityProviderResponse
|
|
@@ -1327,7 +1387,7 @@ class Client extends openapi_core_1.default {
|
|
|
1327
1387
|
* Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
|
|
1328
1388
|
*
|
|
1329
1389
|
* @remarks
|
|
1330
|
-
* ##
|
|
1390
|
+
* ## Operation description
|
|
1331
1391
|
* Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
|
|
1332
1392
|
*
|
|
1333
1393
|
* @param request - DeleteMcpRequest
|
|
@@ -1357,7 +1417,7 @@ class Client extends openapi_core_1.default {
|
|
|
1357
1417
|
* Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
|
|
1358
1418
|
*
|
|
1359
1419
|
* @remarks
|
|
1360
|
-
* ##
|
|
1420
|
+
* ## Operation description
|
|
1361
1421
|
* Deletes a specified MCP service. The deletion is an asynchronous process. After the deletion is complete, the MCP service is no longer returned.
|
|
1362
1422
|
*
|
|
1363
1423
|
* @param request - DeleteMcpRequest
|
|
@@ -1369,7 +1429,7 @@ class Client extends openapi_core_1.default {
|
|
|
1369
1429
|
return await this.deleteMcpWithOptions(mcpServerId, workspaceId, request, headers, runtime);
|
|
1370
1430
|
}
|
|
1371
1431
|
/**
|
|
1372
|
-
*
|
|
1432
|
+
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1373
1433
|
*
|
|
1374
1434
|
* @param request - DeleteModelRequest
|
|
1375
1435
|
* @param headers - map
|
|
@@ -1400,7 +1460,7 @@ class Client extends openapi_core_1.default {
|
|
|
1400
1460
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteModelResponse({}));
|
|
1401
1461
|
}
|
|
1402
1462
|
/**
|
|
1403
|
-
*
|
|
1463
|
+
* Deletes a model from a specified workspace. Models that are currently in use cannot be deleted.
|
|
1404
1464
|
*
|
|
1405
1465
|
* @param request - DeleteModelRequest
|
|
1406
1466
|
* @returns DeleteModelResponse
|
|
@@ -1411,7 +1471,7 @@ class Client extends openapi_core_1.default {
|
|
|
1411
1471
|
return await this.deleteModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
1412
1472
|
}
|
|
1413
1473
|
/**
|
|
1414
|
-
*
|
|
1474
|
+
* Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
|
|
1415
1475
|
*
|
|
1416
1476
|
* @param request - DeleteModelConnectionRequest
|
|
1417
1477
|
* @param headers - map
|
|
@@ -1442,7 +1502,7 @@ class Client extends openapi_core_1.default {
|
|
|
1442
1502
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteModelConnectionResponse({}));
|
|
1443
1503
|
}
|
|
1444
1504
|
/**
|
|
1445
|
-
*
|
|
1505
|
+
* Submits an asynchronous deletion task for a specified model connection. The connection cannot be deleted if it has associated models or runtime references.
|
|
1446
1506
|
*
|
|
1447
1507
|
* @param request - DeleteModelConnectionRequest
|
|
1448
1508
|
* @returns DeleteModelConnectionResponse
|
|
@@ -1543,7 +1603,7 @@ class Client extends openapi_core_1.default {
|
|
|
1543
1603
|
return await this.deleteSkillDraftWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
1544
1604
|
}
|
|
1545
1605
|
/**
|
|
1546
|
-
*
|
|
1606
|
+
* Deletes a team from a specified workspace. Deleting a team does not delete the users or agents within it. Only the membership associations are removed.
|
|
1547
1607
|
*
|
|
1548
1608
|
* @param request - DeleteTeamRequest
|
|
1549
1609
|
* @param headers - map
|
|
@@ -1574,7 +1634,7 @@ class Client extends openapi_core_1.default {
|
|
|
1574
1634
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteTeamResponse({}));
|
|
1575
1635
|
}
|
|
1576
1636
|
/**
|
|
1577
|
-
*
|
|
1637
|
+
* Deletes a team from a specified workspace. Deleting a team does not delete the users or agents within it. Only the membership associations are removed.
|
|
1578
1638
|
*
|
|
1579
1639
|
* @param request - DeleteTeamRequest
|
|
1580
1640
|
* @returns DeleteTeamResponse
|
|
@@ -1585,7 +1645,7 @@ class Client extends openapi_core_1.default {
|
|
|
1585
1645
|
return await this.deleteTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
1586
1646
|
}
|
|
1587
1647
|
/**
|
|
1588
|
-
*
|
|
1648
|
+
* Deletes a user from a specified workspace. A user cannot be deleted while the user is still a member of any team. Remove the user from all teams before deleting the user.
|
|
1589
1649
|
*
|
|
1590
1650
|
* @param request - DeleteUserRequest
|
|
1591
1651
|
* @param headers - map
|
|
@@ -1616,7 +1676,7 @@ class Client extends openapi_core_1.default {
|
|
|
1616
1676
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DeleteUserResponse({}));
|
|
1617
1677
|
}
|
|
1618
1678
|
/**
|
|
1619
|
-
*
|
|
1679
|
+
* Deletes a user from a specified workspace. A user cannot be deleted while the user is still a member of any team. Remove the user from all teams before deleting the user.
|
|
1620
1680
|
*
|
|
1621
1681
|
* @param request - DeleteUserRequest
|
|
1622
1682
|
* @returns DeleteUserResponse
|
|
@@ -1669,6 +1729,49 @@ class Client extends openapi_core_1.default {
|
|
|
1669
1729
|
let headers = {};
|
|
1670
1730
|
return await this.deleteWorkspaceWithOptions(workspaceId, request, headers, runtime);
|
|
1671
1731
|
}
|
|
1732
|
+
/**
|
|
1733
|
+
* Disables a Connector.
|
|
1734
|
+
*
|
|
1735
|
+
* @remarks
|
|
1736
|
+
* Disables a specified Connector in a workspace.
|
|
1737
|
+
*
|
|
1738
|
+
* @param request - DisableConnectorRequest
|
|
1739
|
+
* @param headers - map
|
|
1740
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1741
|
+
* @returns DisableConnectorResponse
|
|
1742
|
+
*/
|
|
1743
|
+
async disableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime) {
|
|
1744
|
+
request.validate();
|
|
1745
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1746
|
+
headers: headers,
|
|
1747
|
+
});
|
|
1748
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1749
|
+
action: "DisableConnector",
|
|
1750
|
+
version: "2026-08-04",
|
|
1751
|
+
protocol: "HTTPS",
|
|
1752
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/disable`,
|
|
1753
|
+
method: "POST",
|
|
1754
|
+
authType: "AK",
|
|
1755
|
+
style: "ROA",
|
|
1756
|
+
reqBodyType: "json",
|
|
1757
|
+
bodyType: "json",
|
|
1758
|
+
});
|
|
1759
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.DisableConnectorResponse({}));
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
* Disables a Connector.
|
|
1763
|
+
*
|
|
1764
|
+
* @remarks
|
|
1765
|
+
* Disables a specified Connector in a workspace.
|
|
1766
|
+
*
|
|
1767
|
+
* @param request - DisableConnectorRequest
|
|
1768
|
+
* @returns DisableConnectorResponse
|
|
1769
|
+
*/
|
|
1770
|
+
async disableConnector(workspaceId, connectorName, request) {
|
|
1771
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1772
|
+
let headers = {};
|
|
1773
|
+
return await this.disableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
1774
|
+
}
|
|
1672
1775
|
/**
|
|
1673
1776
|
* Retrieves a pre-signed OSS download URL for a specified AgentSpec ZIP package.
|
|
1674
1777
|
*
|
|
@@ -1764,6 +1867,59 @@ class Client extends openapi_core_1.default {
|
|
|
1764
1867
|
let headers = {};
|
|
1765
1868
|
return await this.downloadSkillVersionViaOssWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
1766
1869
|
}
|
|
1870
|
+
/**
|
|
1871
|
+
* Enables a Connector.
|
|
1872
|
+
*
|
|
1873
|
+
* @remarks
|
|
1874
|
+
* Enables a Connector in a specified workspace. Credential verification is required before enabling.
|
|
1875
|
+
*
|
|
1876
|
+
* @param tmpReq - EnableConnectorRequest
|
|
1877
|
+
* @param headers - map
|
|
1878
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
1879
|
+
* @returns EnableConnectorResponse
|
|
1880
|
+
*/
|
|
1881
|
+
async enableConnectorWithOptions(workspaceId, connectorName, tmpReq, headers, runtime) {
|
|
1882
|
+
tmpReq.validate();
|
|
1883
|
+
let request = new $_model.EnableConnectorShrinkRequest({});
|
|
1884
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
1885
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
1886
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
1887
|
+
}
|
|
1888
|
+
let body = {};
|
|
1889
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
1890
|
+
body["body"] = request.bodyShrink;
|
|
1891
|
+
}
|
|
1892
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
1893
|
+
headers: headers,
|
|
1894
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
1895
|
+
});
|
|
1896
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
1897
|
+
action: "EnableConnector",
|
|
1898
|
+
version: "2026-08-04",
|
|
1899
|
+
protocol: "HTTPS",
|
|
1900
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/enable`,
|
|
1901
|
+
method: "POST",
|
|
1902
|
+
authType: "AK",
|
|
1903
|
+
style: "ROA",
|
|
1904
|
+
reqBodyType: "formData",
|
|
1905
|
+
bodyType: "json",
|
|
1906
|
+
});
|
|
1907
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.EnableConnectorResponse({}));
|
|
1908
|
+
}
|
|
1909
|
+
/**
|
|
1910
|
+
* Enables a Connector.
|
|
1911
|
+
*
|
|
1912
|
+
* @remarks
|
|
1913
|
+
* Enables a Connector in a specified workspace. Credential verification is required before enabling.
|
|
1914
|
+
*
|
|
1915
|
+
* @param request - EnableConnectorRequest
|
|
1916
|
+
* @returns EnableConnectorResponse
|
|
1917
|
+
*/
|
|
1918
|
+
async enableConnector(workspaceId, connectorName, request) {
|
|
1919
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
1920
|
+
let headers = {};
|
|
1921
|
+
return await this.enableConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
1922
|
+
}
|
|
1767
1923
|
/**
|
|
1768
1924
|
* Skips the regular review process and forcibly publishes the specified Skill version.
|
|
1769
1925
|
*
|
|
@@ -1908,11 +2064,11 @@ class Client extends openapi_core_1.default {
|
|
|
1908
2064
|
return await this.getAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
1909
2065
|
}
|
|
1910
2066
|
/**
|
|
1911
|
-
* Retrieves the OSS pre-signed upload URL and object name required
|
|
2067
|
+
* Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
|
|
1912
2068
|
*
|
|
1913
2069
|
* @remarks
|
|
1914
2070
|
* ## Operation description
|
|
1915
|
-
* Retrieves the OSS pre-signed upload URL and object name required
|
|
2071
|
+
* Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
|
|
1916
2072
|
*
|
|
1917
2073
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
1918
2074
|
* @param headers - map
|
|
@@ -1943,11 +2099,11 @@ class Client extends openapi_core_1.default {
|
|
|
1943
2099
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetAgentSpecImportFileUrlResponse({}));
|
|
1944
2100
|
}
|
|
1945
2101
|
/**
|
|
1946
|
-
* Retrieves the OSS pre-signed upload URL and object name required
|
|
2102
|
+
* Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
|
|
1947
2103
|
*
|
|
1948
2104
|
* @remarks
|
|
1949
2105
|
* ## Operation description
|
|
1950
|
-
* Retrieves the OSS pre-signed upload URL and object name required
|
|
2106
|
+
* Retrieves the OSS pre-signed upload URL and object name required to import an AgentSpec ZIP package. After the upload is complete, call the AgentSpec OSS upload operation to complete the import.
|
|
1951
2107
|
*
|
|
1952
2108
|
* @param request - GetAgentSpecImportFileUrlRequest
|
|
1953
2109
|
* @returns GetAgentSpecImportFileUrlResponse
|
|
@@ -2048,7 +2204,10 @@ class Client extends openapi_core_1.default {
|
|
|
2048
2204
|
return await this.getAgentSpecVersionWithOptions(workspaceId, agentSpecName, agentSpecVersion, request, headers, runtime);
|
|
2049
2205
|
}
|
|
2050
2206
|
/**
|
|
2051
|
-
*
|
|
2207
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
|
|
2208
|
+
*
|
|
2209
|
+
* @remarks
|
|
2210
|
+
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
2052
2211
|
*
|
|
2053
2212
|
* @param request - GetCredentialRequest
|
|
2054
2213
|
* @param headers - map
|
|
@@ -2074,7 +2233,10 @@ class Client extends openapi_core_1.default {
|
|
|
2074
2233
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetCredentialResponse({}));
|
|
2075
2234
|
}
|
|
2076
2235
|
/**
|
|
2077
|
-
*
|
|
2236
|
+
* Queries the details of a specified credential and returns the list of agents bound to the credential. The credential content is returned in masked form.
|
|
2237
|
+
*
|
|
2238
|
+
* @remarks
|
|
2239
|
+
* Queries the details of a single credential. Sensitive fields are not returned.
|
|
2078
2240
|
*
|
|
2079
2241
|
* @param request - GetCredentialRequest
|
|
2080
2242
|
* @returns GetCredentialResponse
|
|
@@ -2245,11 +2407,11 @@ class Client extends openapi_core_1.default {
|
|
|
2245
2407
|
return await this.getManagedAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
2246
2408
|
}
|
|
2247
2409
|
/**
|
|
2248
|
-
* Queries the details of a specified MCP service, including
|
|
2410
|
+
* Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
|
|
2249
2411
|
*
|
|
2250
2412
|
* @remarks
|
|
2251
2413
|
* ## Operation description
|
|
2252
|
-
* Queries the details of a specified MCP service, including
|
|
2414
|
+
* Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
|
|
2253
2415
|
*
|
|
2254
2416
|
* @param request - GetMcpRequest
|
|
2255
2417
|
* @param headers - map
|
|
@@ -2275,11 +2437,11 @@ class Client extends openapi_core_1.default {
|
|
|
2275
2437
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMcpResponse({}));
|
|
2276
2438
|
}
|
|
2277
2439
|
/**
|
|
2278
|
-
* Queries the details of a specified MCP service, including
|
|
2440
|
+
* Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
|
|
2279
2441
|
*
|
|
2280
2442
|
* @remarks
|
|
2281
2443
|
* ## Operation description
|
|
2282
|
-
* Queries the details of a specified MCP service, including
|
|
2444
|
+
* Queries the details of a specified MCP service, including the address, type, status, authentication configuration, and protocol.
|
|
2283
2445
|
*
|
|
2284
2446
|
* @param request - GetMcpRequest
|
|
2285
2447
|
* @returns GetMcpResponse
|
|
@@ -2289,6 +2451,49 @@ class Client extends openapi_core_1.default {
|
|
|
2289
2451
|
let headers = {};
|
|
2290
2452
|
return await this.getMcpWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
2291
2453
|
}
|
|
2454
|
+
/**
|
|
2455
|
+
* Queries the details of an MCP marketplace template.
|
|
2456
|
+
*
|
|
2457
|
+
* @remarks
|
|
2458
|
+
* Returns the current template version and installation form schema.
|
|
2459
|
+
*
|
|
2460
|
+
* @param request - GetMcpMarketItemRequest
|
|
2461
|
+
* @param headers - map
|
|
2462
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2463
|
+
* @returns GetMcpMarketItemResponse
|
|
2464
|
+
*/
|
|
2465
|
+
async getMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime) {
|
|
2466
|
+
request.validate();
|
|
2467
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2468
|
+
headers: headers,
|
|
2469
|
+
});
|
|
2470
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2471
|
+
action: "GetMcpMarketItem",
|
|
2472
|
+
version: "2026-08-04",
|
|
2473
|
+
protocol: "HTTPS",
|
|
2474
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-market/items/${$dara.URL.percentEncode(marketItemId)}`,
|
|
2475
|
+
method: "GET",
|
|
2476
|
+
authType: "AK",
|
|
2477
|
+
style: "ROA",
|
|
2478
|
+
reqBodyType: "json",
|
|
2479
|
+
bodyType: "json",
|
|
2480
|
+
});
|
|
2481
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetMcpMarketItemResponse({}));
|
|
2482
|
+
}
|
|
2483
|
+
/**
|
|
2484
|
+
* Queries the details of an MCP marketplace template.
|
|
2485
|
+
*
|
|
2486
|
+
* @remarks
|
|
2487
|
+
* Returns the current template version and installation form schema.
|
|
2488
|
+
*
|
|
2489
|
+
* @param request - GetMcpMarketItemRequest
|
|
2490
|
+
* @returns GetMcpMarketItemResponse
|
|
2491
|
+
*/
|
|
2492
|
+
async getMcpMarketItem(workspaceId, marketItemId, request) {
|
|
2493
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
2494
|
+
let headers = {};
|
|
2495
|
+
return await this.getMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
|
|
2496
|
+
}
|
|
2292
2497
|
/**
|
|
2293
2498
|
* Queries the detailed configuration and region of a model in a specified workspace.
|
|
2294
2499
|
*
|
|
@@ -2327,7 +2532,7 @@ class Client extends openapi_core_1.default {
|
|
|
2327
2532
|
return await this.getModelWithOptions(workspaceId, modelId, request, headers, runtime);
|
|
2328
2533
|
}
|
|
2329
2534
|
/**
|
|
2330
|
-
*
|
|
2535
|
+
* Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
|
|
2331
2536
|
*
|
|
2332
2537
|
* @param request - GetModelConnectionRequest
|
|
2333
2538
|
* @param headers - map
|
|
@@ -2353,7 +2558,7 @@ class Client extends openapi_core_1.default {
|
|
|
2353
2558
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetModelConnectionResponse({}));
|
|
2354
2559
|
}
|
|
2355
2560
|
/**
|
|
2356
|
-
*
|
|
2561
|
+
* Queries the detailed configuration, credential configuration status, publish status, and region of a specified model connection.
|
|
2357
2562
|
*
|
|
2358
2563
|
* @param request - GetModelConnectionRequest
|
|
2359
2564
|
* @returns GetModelConnectionResponse
|
|
@@ -2590,7 +2795,7 @@ class Client extends openapi_core_1.default {
|
|
|
2590
2795
|
return await this.getSkillVersionDetailWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
2591
2796
|
}
|
|
2592
2797
|
/**
|
|
2593
|
-
*
|
|
2798
|
+
* Queries the details of a specified team. The response includes the complete attributes and team roles of each user member and agent member in the team.
|
|
2594
2799
|
*
|
|
2595
2800
|
* @param request - GetTeamRequest
|
|
2596
2801
|
* @param headers - map
|
|
@@ -2616,7 +2821,7 @@ class Client extends openapi_core_1.default {
|
|
|
2616
2821
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetTeamResponse({}));
|
|
2617
2822
|
}
|
|
2618
2823
|
/**
|
|
2619
|
-
*
|
|
2824
|
+
* Queries the details of a specified team. The response includes the complete attributes and team roles of each user member and agent member in the team.
|
|
2620
2825
|
*
|
|
2621
2826
|
* @param request - GetTeamRequest
|
|
2622
2827
|
* @returns GetTeamResponse
|
|
@@ -2627,7 +2832,7 @@ class Client extends openapi_core_1.default {
|
|
|
2627
2832
|
return await this.getTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
2628
2833
|
}
|
|
2629
2834
|
/**
|
|
2630
|
-
*
|
|
2835
|
+
* Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
|
|
2631
2836
|
*
|
|
2632
2837
|
* @param request - GetUserRequest
|
|
2633
2838
|
* @param headers - map
|
|
@@ -2653,7 +2858,7 @@ class Client extends openapi_core_1.default {
|
|
|
2653
2858
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetUserResponse({}));
|
|
2654
2859
|
}
|
|
2655
2860
|
/**
|
|
2656
|
-
*
|
|
2861
|
+
* Queries the details of a specified user in a workspace. Returns an error if the user does not exist.
|
|
2657
2862
|
*
|
|
2658
2863
|
* @param request - GetUserRequest
|
|
2659
2864
|
* @returns GetUserResponse
|
|
@@ -2664,10 +2869,10 @@ class Client extends openapi_core_1.default {
|
|
|
2664
2869
|
return await this.getUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
2665
2870
|
}
|
|
2666
2871
|
/**
|
|
2667
|
-
* Queries
|
|
2872
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
|
|
2668
2873
|
*
|
|
2669
2874
|
* @remarks
|
|
2670
|
-
* ## Operation description\\nQueries
|
|
2875
|
+
* ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
|
|
2671
2876
|
*
|
|
2672
2877
|
* @param request - GetWorkspaceRequest
|
|
2673
2878
|
* @param headers - map
|
|
@@ -2693,10 +2898,10 @@ class Client extends openapi_core_1.default {
|
|
|
2693
2898
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.GetWorkspaceResponse({}));
|
|
2694
2899
|
}
|
|
2695
2900
|
/**
|
|
2696
|
-
* Queries
|
|
2901
|
+
* Queries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.
|
|
2697
2902
|
*
|
|
2698
2903
|
* @remarks
|
|
2699
|
-
* ## Operation description\\nQueries
|
|
2904
|
+
* ## Operation description\\nQueries the details of a workspace by workspace ID, including the lifecycle status, CMS Workspace, AIRegistry Namespace, and current network policy.\\n.
|
|
2700
2905
|
*
|
|
2701
2906
|
* @param request - GetWorkspaceRequest
|
|
2702
2907
|
* @returns GetWorkspaceResponse
|
|
@@ -2749,6 +2954,67 @@ class Client extends openapi_core_1.default {
|
|
|
2749
2954
|
let headers = {};
|
|
2750
2955
|
return await this.getWorkspacePluginWithOptions(workspaceId, pluginName, request, headers, runtime);
|
|
2751
2956
|
}
|
|
2957
|
+
/**
|
|
2958
|
+
* Installs an MCP marketplace template.
|
|
2959
|
+
*
|
|
2960
|
+
* @remarks
|
|
2961
|
+
* Validates input based on the specified template version and creates an MCP in the workspace.
|
|
2962
|
+
*
|
|
2963
|
+
* @param tmpReq - InstallMcpMarketItemRequest
|
|
2964
|
+
* @param headers - map
|
|
2965
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
2966
|
+
* @returns InstallMcpMarketItemResponse
|
|
2967
|
+
*/
|
|
2968
|
+
async installMcpMarketItemWithOptions(workspaceId, marketItemId, tmpReq, headers, runtime) {
|
|
2969
|
+
tmpReq.validate();
|
|
2970
|
+
let request = new $_model.InstallMcpMarketItemShrinkRequest({});
|
|
2971
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
2972
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
2973
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
2974
|
+
}
|
|
2975
|
+
let query = {};
|
|
2976
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
2977
|
+
query["clientToken"] = request.clientToken;
|
|
2978
|
+
}
|
|
2979
|
+
if (!$dara.isNull(request.templateVersion)) {
|
|
2980
|
+
query["templateVersion"] = request.templateVersion;
|
|
2981
|
+
}
|
|
2982
|
+
let body = {};
|
|
2983
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
2984
|
+
body["body"] = request.bodyShrink;
|
|
2985
|
+
}
|
|
2986
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
2987
|
+
headers: headers,
|
|
2988
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
2989
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
2990
|
+
});
|
|
2991
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
2992
|
+
action: "InstallMcpMarketItem",
|
|
2993
|
+
version: "2026-08-04",
|
|
2994
|
+
protocol: "HTTPS",
|
|
2995
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-market/items/${$dara.URL.percentEncode(marketItemId)}/install`,
|
|
2996
|
+
method: "POST",
|
|
2997
|
+
authType: "AK",
|
|
2998
|
+
style: "ROA",
|
|
2999
|
+
reqBodyType: "formData",
|
|
3000
|
+
bodyType: "json",
|
|
3001
|
+
});
|
|
3002
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.InstallMcpMarketItemResponse({}));
|
|
3003
|
+
}
|
|
3004
|
+
/**
|
|
3005
|
+
* Installs an MCP marketplace template.
|
|
3006
|
+
*
|
|
3007
|
+
* @remarks
|
|
3008
|
+
* Validates input based on the specified template version and creates an MCP in the workspace.
|
|
3009
|
+
*
|
|
3010
|
+
* @param request - InstallMcpMarketItemRequest
|
|
3011
|
+
* @returns InstallMcpMarketItemResponse
|
|
3012
|
+
*/
|
|
3013
|
+
async installMcpMarketItem(workspaceId, marketItemId, request) {
|
|
3014
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3015
|
+
let headers = {};
|
|
3016
|
+
return await this.installMcpMarketItemWithOptions(workspaceId, marketItemId, request, headers, runtime);
|
|
3017
|
+
}
|
|
2752
3018
|
/**
|
|
2753
3019
|
* Installs a plugin for a specified AgentCore workspace. Currently supports the collaboration plugin. The installation process is executed asynchronously.
|
|
2754
3020
|
*
|
|
@@ -2986,25 +3252,25 @@ class Client extends openapi_core_1.default {
|
|
|
2986
3252
|
return await this.listAgentTeamsWithOptions(workspaceId, request, headers, runtime);
|
|
2987
3253
|
}
|
|
2988
3254
|
/**
|
|
2989
|
-
*
|
|
3255
|
+
* Queries the list of models for a connector.
|
|
2990
3256
|
*
|
|
2991
|
-
* @
|
|
3257
|
+
* @remarks
|
|
3258
|
+
* Queries the list of available models for a specified connector. Pagination is supported.
|
|
3259
|
+
*
|
|
3260
|
+
* @param request - ListConnectorModelsRequest
|
|
2992
3261
|
* @param headers - map
|
|
2993
3262
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
2994
|
-
* @returns
|
|
3263
|
+
* @returns ListConnectorModelsResponse
|
|
2995
3264
|
*/
|
|
2996
|
-
async
|
|
3265
|
+
async listConnectorModelsWithOptions(workspaceId, connectorName, request, headers, runtime) {
|
|
2997
3266
|
request.validate();
|
|
2998
3267
|
let query = {};
|
|
2999
|
-
if (!$dara.isNull(request.
|
|
3000
|
-
query["
|
|
3268
|
+
if (!$dara.isNull(request.connectorKeyId)) {
|
|
3269
|
+
query["connectorKeyId"] = request.connectorKeyId;
|
|
3001
3270
|
}
|
|
3002
3271
|
if (!$dara.isNull(request.maxResults)) {
|
|
3003
3272
|
query["maxResults"] = request.maxResults;
|
|
3004
3273
|
}
|
|
3005
|
-
if (!$dara.isNull(request.nameLike)) {
|
|
3006
|
-
query["nameLike"] = request.nameLike;
|
|
3007
|
-
}
|
|
3008
3274
|
if (!$dara.isNull(request.nextToken)) {
|
|
3009
3275
|
query["nextToken"] = request.nextToken;
|
|
3010
3276
|
}
|
|
@@ -3013,41 +3279,44 @@ class Client extends openapi_core_1.default {
|
|
|
3013
3279
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3014
3280
|
});
|
|
3015
3281
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3016
|
-
action: "
|
|
3282
|
+
action: "ListConnectorModels",
|
|
3017
3283
|
version: "2026-08-04",
|
|
3018
3284
|
protocol: "HTTPS",
|
|
3019
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
3285
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/models`,
|
|
3020
3286
|
method: "GET",
|
|
3021
3287
|
authType: "AK",
|
|
3022
3288
|
style: "ROA",
|
|
3023
3289
|
reqBodyType: "json",
|
|
3024
3290
|
bodyType: "json",
|
|
3025
3291
|
});
|
|
3026
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3292
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectorModelsResponse({}));
|
|
3027
3293
|
}
|
|
3028
3294
|
/**
|
|
3029
|
-
*
|
|
3295
|
+
* Queries the list of models for a connector.
|
|
3030
3296
|
*
|
|
3031
|
-
* @
|
|
3032
|
-
*
|
|
3297
|
+
* @remarks
|
|
3298
|
+
* Queries the list of available models for a specified connector. Pagination is supported.
|
|
3299
|
+
*
|
|
3300
|
+
* @param request - ListConnectorModelsRequest
|
|
3301
|
+
* @returns ListConnectorModelsResponse
|
|
3033
3302
|
*/
|
|
3034
|
-
async
|
|
3303
|
+
async listConnectorModels(workspaceId, connectorName, request) {
|
|
3035
3304
|
let runtime = new $dara.RuntimeOptions({});
|
|
3036
3305
|
let headers = {};
|
|
3037
|
-
return await this.
|
|
3306
|
+
return await this.listConnectorModelsWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
3038
3307
|
}
|
|
3039
3308
|
/**
|
|
3040
|
-
* Queries the list of
|
|
3309
|
+
* Queries the list of connectors.
|
|
3041
3310
|
*
|
|
3042
3311
|
* @remarks
|
|
3043
|
-
* Queries the list of
|
|
3312
|
+
* Queries the list of connectors in a specified workspace.
|
|
3044
3313
|
*
|
|
3045
|
-
* @param request -
|
|
3314
|
+
* @param request - ListConnectorsRequest
|
|
3046
3315
|
* @param headers - map
|
|
3047
3316
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3048
|
-
* @returns
|
|
3317
|
+
* @returns ListConnectorsResponse
|
|
3049
3318
|
*/
|
|
3050
|
-
async
|
|
3319
|
+
async listConnectorsWithOptions(workspaceId, request, headers, runtime) {
|
|
3051
3320
|
request.validate();
|
|
3052
3321
|
let query = {};
|
|
3053
3322
|
if (!$dara.isNull(request.maxResults)) {
|
|
@@ -3061,46 +3330,58 @@ class Client extends openapi_core_1.default {
|
|
|
3061
3330
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3062
3331
|
});
|
|
3063
3332
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3064
|
-
action: "
|
|
3333
|
+
action: "ListConnectors",
|
|
3065
3334
|
version: "2026-08-04",
|
|
3066
3335
|
protocol: "HTTPS",
|
|
3067
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
3336
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors`,
|
|
3068
3337
|
method: "GET",
|
|
3069
3338
|
authType: "AK",
|
|
3070
3339
|
style: "ROA",
|
|
3071
3340
|
reqBodyType: "json",
|
|
3072
3341
|
bodyType: "json",
|
|
3073
3342
|
});
|
|
3074
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3343
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectorsResponse({}));
|
|
3075
3344
|
}
|
|
3076
3345
|
/**
|
|
3077
|
-
* Queries the list of
|
|
3346
|
+
* Queries the list of connectors.
|
|
3078
3347
|
*
|
|
3079
3348
|
* @remarks
|
|
3080
|
-
* Queries the list of
|
|
3349
|
+
* Queries the list of connectors in a specified workspace.
|
|
3081
3350
|
*
|
|
3082
|
-
* @param request -
|
|
3083
|
-
* @returns
|
|
3351
|
+
* @param request - ListConnectorsRequest
|
|
3352
|
+
* @returns ListConnectorsResponse
|
|
3084
3353
|
*/
|
|
3085
|
-
async
|
|
3354
|
+
async listConnectors(workspaceId, request) {
|
|
3086
3355
|
let runtime = new $dara.RuntimeOptions({});
|
|
3087
3356
|
let headers = {};
|
|
3088
|
-
return await this.
|
|
3357
|
+
return await this.listConnectorsWithOptions(workspaceId, request, headers, runtime);
|
|
3089
3358
|
}
|
|
3090
3359
|
/**
|
|
3091
|
-
* Queries
|
|
3360
|
+
* Queries credentials in a specified workspace with paging. Filter by type using credentialType, perform a fuzzy match on credential names using nameLike, specify the maximum number of records per page using maxResults, and retrieve the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3092
3361
|
*
|
|
3093
|
-
* @
|
|
3362
|
+
* @remarks
|
|
3363
|
+
* Queries the list of credentials in a workspace with paging. Supports filtering by type and name.
|
|
3364
|
+
*
|
|
3365
|
+
* @param request - ListCredentialsRequest
|
|
3094
3366
|
* @param headers - map
|
|
3095
3367
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3096
|
-
* @returns
|
|
3368
|
+
* @returns ListCredentialsResponse
|
|
3097
3369
|
*/
|
|
3098
|
-
async
|
|
3370
|
+
async listCredentialsWithOptions(workspaceId, request, headers, runtime) {
|
|
3099
3371
|
request.validate();
|
|
3100
3372
|
let query = {};
|
|
3373
|
+
if (!$dara.isNull(request.credentialType)) {
|
|
3374
|
+
query["credentialType"] = request.credentialType;
|
|
3375
|
+
}
|
|
3101
3376
|
if (!$dara.isNull(request.maxResults)) {
|
|
3102
3377
|
query["maxResults"] = request.maxResults;
|
|
3103
3378
|
}
|
|
3379
|
+
if (!$dara.isNull(request.name)) {
|
|
3380
|
+
query["name"] = request.name;
|
|
3381
|
+
}
|
|
3382
|
+
if (!$dara.isNull(request.nameLike)) {
|
|
3383
|
+
query["nameLike"] = request.nameLike;
|
|
3384
|
+
}
|
|
3104
3385
|
if (!$dara.isNull(request.nextToken)) {
|
|
3105
3386
|
query["nextToken"] = request.nextToken;
|
|
3106
3387
|
}
|
|
@@ -3109,25 +3390,124 @@ class Client extends openapi_core_1.default {
|
|
|
3109
3390
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3110
3391
|
});
|
|
3111
3392
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3112
|
-
action: "
|
|
3393
|
+
action: "ListCredentials",
|
|
3113
3394
|
version: "2026-08-04",
|
|
3114
3395
|
protocol: "HTTPS",
|
|
3115
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
3396
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/credentials`,
|
|
3116
3397
|
method: "GET",
|
|
3117
3398
|
authType: "AK",
|
|
3118
3399
|
style: "ROA",
|
|
3119
3400
|
reqBodyType: "json",
|
|
3120
3401
|
bodyType: "json",
|
|
3121
3402
|
});
|
|
3122
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3403
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
|
|
3123
3404
|
}
|
|
3124
3405
|
/**
|
|
3125
|
-
* Queries
|
|
3406
|
+
* Queries credentials in a specified workspace with paging. Filter by type using credentialType, perform a fuzzy match on credential names using nameLike, specify the maximum number of records per page using maxResults, and retrieve the next page using nextToken. If maxResults is not specified, the server returns 10 records by default.
|
|
3126
3407
|
*
|
|
3127
|
-
* @
|
|
3128
|
-
*
|
|
3408
|
+
* @remarks
|
|
3409
|
+
* Queries the list of credentials in a workspace with paging. Supports filtering by type and name.
|
|
3410
|
+
*
|
|
3411
|
+
* @param request - ListCredentialsRequest
|
|
3412
|
+
* @returns ListCredentialsResponse
|
|
3129
3413
|
*/
|
|
3130
|
-
async
|
|
3414
|
+
async listCredentials(workspaceId, request) {
|
|
3415
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3416
|
+
let headers = {};
|
|
3417
|
+
return await this.listCredentialsWithOptions(workspaceId, request, headers, runtime);
|
|
3418
|
+
}
|
|
3419
|
+
/**
|
|
3420
|
+
* Queries the list of external agents in a specified workspace.
|
|
3421
|
+
*
|
|
3422
|
+
* @remarks
|
|
3423
|
+
* Queries the list of external agents in a specified workspace.
|
|
3424
|
+
*
|
|
3425
|
+
* @param request - ListExternalAgentsRequest
|
|
3426
|
+
* @param headers - map
|
|
3427
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3428
|
+
* @returns ListExternalAgentsResponse
|
|
3429
|
+
*/
|
|
3430
|
+
async listExternalAgentsWithOptions(workspaceId, request, headers, runtime) {
|
|
3431
|
+
request.validate();
|
|
3432
|
+
let query = {};
|
|
3433
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3434
|
+
query["maxResults"] = request.maxResults;
|
|
3435
|
+
}
|
|
3436
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3437
|
+
query["nextToken"] = request.nextToken;
|
|
3438
|
+
}
|
|
3439
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3440
|
+
headers: headers,
|
|
3441
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3442
|
+
});
|
|
3443
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3444
|
+
action: "ListExternalAgents",
|
|
3445
|
+
version: "2026-08-04",
|
|
3446
|
+
protocol: "HTTPS",
|
|
3447
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/external-agents`,
|
|
3448
|
+
method: "GET",
|
|
3449
|
+
authType: "AK",
|
|
3450
|
+
style: "ROA",
|
|
3451
|
+
reqBodyType: "json",
|
|
3452
|
+
bodyType: "json",
|
|
3453
|
+
});
|
|
3454
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListExternalAgentsResponse({}));
|
|
3455
|
+
}
|
|
3456
|
+
/**
|
|
3457
|
+
* Queries the list of external agents in a specified workspace.
|
|
3458
|
+
*
|
|
3459
|
+
* @remarks
|
|
3460
|
+
* Queries the list of external agents in a specified workspace.
|
|
3461
|
+
*
|
|
3462
|
+
* @param request - ListExternalAgentsRequest
|
|
3463
|
+
* @returns ListExternalAgentsResponse
|
|
3464
|
+
*/
|
|
3465
|
+
async listExternalAgents(workspaceId, request) {
|
|
3466
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3467
|
+
let headers = {};
|
|
3468
|
+
return await this.listExternalAgentsWithOptions(workspaceId, request, headers, runtime);
|
|
3469
|
+
}
|
|
3470
|
+
/**
|
|
3471
|
+
* Queries the external identity provider 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.
|
|
3472
|
+
*
|
|
3473
|
+
* @param request - ListIdentityProvidersRequest
|
|
3474
|
+
* @param headers - map
|
|
3475
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3476
|
+
* @returns ListIdentityProvidersResponse
|
|
3477
|
+
*/
|
|
3478
|
+
async listIdentityProvidersWithOptions(workspaceId, request, headers, runtime) {
|
|
3479
|
+
request.validate();
|
|
3480
|
+
let query = {};
|
|
3481
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3482
|
+
query["maxResults"] = request.maxResults;
|
|
3483
|
+
}
|
|
3484
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3485
|
+
query["nextToken"] = request.nextToken;
|
|
3486
|
+
}
|
|
3487
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3488
|
+
headers: headers,
|
|
3489
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3490
|
+
});
|
|
3491
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3492
|
+
action: "ListIdentityProviders",
|
|
3493
|
+
version: "2026-08-04",
|
|
3494
|
+
protocol: "HTTPS",
|
|
3495
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/identity-providers`,
|
|
3496
|
+
method: "GET",
|
|
3497
|
+
authType: "AK",
|
|
3498
|
+
style: "ROA",
|
|
3499
|
+
reqBodyType: "json",
|
|
3500
|
+
bodyType: "json",
|
|
3501
|
+
});
|
|
3502
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListIdentityProvidersResponse({}));
|
|
3503
|
+
}
|
|
3504
|
+
/**
|
|
3505
|
+
* Queries the external identity provider 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.
|
|
3506
|
+
*
|
|
3507
|
+
* @param request - ListIdentityProvidersRequest
|
|
3508
|
+
* @returns ListIdentityProvidersResponse
|
|
3509
|
+
*/
|
|
3510
|
+
async listIdentityProviders(workspaceId, request) {
|
|
3131
3511
|
let runtime = new $dara.RuntimeOptions({});
|
|
3132
3512
|
let headers = {};
|
|
3133
3513
|
return await this.listIdentityProvidersWithOptions(workspaceId, request, headers, runtime);
|
|
@@ -3136,7 +3516,7 @@ class Client extends openapi_core_1.default {
|
|
|
3136
3516
|
* Queries the list of managed agents in a specified workspace.
|
|
3137
3517
|
*
|
|
3138
3518
|
* @remarks
|
|
3139
|
-
*
|
|
3519
|
+
* Performs a paged query for the list of managed agents in a specified workspace. Returns summary information for each agent, including the identity, name, status, template, and specifications. Use paging parameters to navigate through results.
|
|
3140
3520
|
*
|
|
3141
3521
|
* @param request - ListManagedAgentsRequest
|
|
3142
3522
|
* @param headers - map
|
|
@@ -3173,7 +3553,7 @@ class Client extends openapi_core_1.default {
|
|
|
3173
3553
|
* Queries the list of managed agents in a specified workspace.
|
|
3174
3554
|
*
|
|
3175
3555
|
* @remarks
|
|
3176
|
-
*
|
|
3556
|
+
* Performs a paged query for the list of managed agents in a specified workspace. Returns summary information for each agent, including the identity, name, status, template, and specifications. Use paging parameters to navigate through results.
|
|
3177
3557
|
*
|
|
3178
3558
|
* @param request - ListManagedAgentsRequest
|
|
3179
3559
|
* @returns ListManagedAgentsResponse
|
|
@@ -3183,6 +3563,66 @@ class Client extends openapi_core_1.default {
|
|
|
3183
3563
|
let headers = {};
|
|
3184
3564
|
return await this.listManagedAgentsWithOptions(workspaceId, request, headers, runtime);
|
|
3185
3565
|
}
|
|
3566
|
+
/**
|
|
3567
|
+
* Queries MCP marketplace templates.
|
|
3568
|
+
*
|
|
3569
|
+
* @remarks
|
|
3570
|
+
* Queries all online official MCP templates. You can filter results by keyword, usage tag, and MCP type.
|
|
3571
|
+
*
|
|
3572
|
+
* @param request - ListMcpMarketItemsRequest
|
|
3573
|
+
* @param headers - map
|
|
3574
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3575
|
+
* @returns ListMcpMarketItemsResponse
|
|
3576
|
+
*/
|
|
3577
|
+
async listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime) {
|
|
3578
|
+
request.validate();
|
|
3579
|
+
let query = {};
|
|
3580
|
+
if (!$dara.isNull(request.keyword)) {
|
|
3581
|
+
query["keyword"] = request.keyword;
|
|
3582
|
+
}
|
|
3583
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3584
|
+
query["maxResults"] = request.maxResults;
|
|
3585
|
+
}
|
|
3586
|
+
if (!$dara.isNull(request.mcpType)) {
|
|
3587
|
+
query["mcpType"] = request.mcpType;
|
|
3588
|
+
}
|
|
3589
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3590
|
+
query["nextToken"] = request.nextToken;
|
|
3591
|
+
}
|
|
3592
|
+
if (!$dara.isNull(request.officialTag)) {
|
|
3593
|
+
query["officialTag"] = request.officialTag;
|
|
3594
|
+
}
|
|
3595
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3596
|
+
headers: headers,
|
|
3597
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3598
|
+
});
|
|
3599
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3600
|
+
action: "ListMcpMarketItems",
|
|
3601
|
+
version: "2026-08-04",
|
|
3602
|
+
protocol: "HTTPS",
|
|
3603
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-market/items`,
|
|
3604
|
+
method: "GET",
|
|
3605
|
+
authType: "AK",
|
|
3606
|
+
style: "ROA",
|
|
3607
|
+
reqBodyType: "json",
|
|
3608
|
+
bodyType: "json",
|
|
3609
|
+
});
|
|
3610
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpMarketItemsResponse({}));
|
|
3611
|
+
}
|
|
3612
|
+
/**
|
|
3613
|
+
* Queries MCP marketplace templates.
|
|
3614
|
+
*
|
|
3615
|
+
* @remarks
|
|
3616
|
+
* Queries all online official MCP templates. You can filter results by keyword, usage tag, and MCP type.
|
|
3617
|
+
*
|
|
3618
|
+
* @param request - ListMcpMarketItemsRequest
|
|
3619
|
+
* @returns ListMcpMarketItemsResponse
|
|
3620
|
+
*/
|
|
3621
|
+
async listMcpMarketItems(workspaceId, request) {
|
|
3622
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3623
|
+
let headers = {};
|
|
3624
|
+
return await this.listMcpMarketItemsWithOptions(workspaceId, request, headers, runtime);
|
|
3625
|
+
}
|
|
3186
3626
|
/**
|
|
3187
3627
|
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
3188
3628
|
*
|
|
@@ -3260,9 +3700,15 @@ class Client extends openapi_core_1.default {
|
|
|
3260
3700
|
if (!$dara.isNull(request.nextToken)) {
|
|
3261
3701
|
query["nextToken"] = request.nextToken;
|
|
3262
3702
|
}
|
|
3703
|
+
if (!$dara.isNull(request.officialTag)) {
|
|
3704
|
+
query["officialTag"] = request.officialTag;
|
|
3705
|
+
}
|
|
3263
3706
|
if (!$dara.isNull(request.searchType)) {
|
|
3264
3707
|
query["searchType"] = request.searchType;
|
|
3265
3708
|
}
|
|
3709
|
+
if (!$dara.isNull(request.usageActive)) {
|
|
3710
|
+
query["usageActive"] = request.usageActive;
|
|
3711
|
+
}
|
|
3266
3712
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3267
3713
|
headers: headers,
|
|
3268
3714
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
@@ -3296,10 +3742,10 @@ class Client extends openapi_core_1.default {
|
|
|
3296
3742
|
return await this.listMcpsWithOptions(workspaceId, request, headers, runtime);
|
|
3297
3743
|
}
|
|
3298
3744
|
/**
|
|
3299
|
-
*
|
|
3745
|
+
* Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
|
|
3300
3746
|
*
|
|
3301
3747
|
* @remarks
|
|
3302
|
-
*
|
|
3748
|
+
* Queries model connections in a specified AgentCore workspace. Supports filtering by name through `Name` and selecting exact match or fuzzy match through `SearchType`. Also supports filtering by model provider type and invoke protocol, and supports paging.
|
|
3303
3749
|
*
|
|
3304
3750
|
* @param request - ListModelConnectionsRequest
|
|
3305
3751
|
* @param headers - map
|
|
@@ -3348,10 +3794,10 @@ class Client extends openapi_core_1.default {
|
|
|
3348
3794
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListModelConnectionsResponse({}));
|
|
3349
3795
|
}
|
|
3350
3796
|
/**
|
|
3351
|
-
*
|
|
3797
|
+
* Queries model connections in a specified workspace with paging. Supports filtering by name, provider type, and invoke protocol.
|
|
3352
3798
|
*
|
|
3353
3799
|
* @remarks
|
|
3354
|
-
*
|
|
3800
|
+
* Queries model connections in a specified AgentCore workspace. Supports filtering by name through `Name` and selecting exact match or fuzzy match through `SearchType`. Also supports filtering by model provider type and invoke protocol, and supports paging.
|
|
3355
3801
|
*
|
|
3356
3802
|
* @param request - ListModelConnectionsRequest
|
|
3357
3803
|
* @returns ListModelConnectionsResponse
|
|
@@ -3486,6 +3932,114 @@ class Client extends openapi_core_1.default {
|
|
|
3486
3932
|
let headers = {};
|
|
3487
3933
|
return await this.listPredefinedModelsWithOptions(providerType, request, headers, runtime);
|
|
3488
3934
|
}
|
|
3935
|
+
/**
|
|
3936
|
+
* Queries the list of Sandbox sessions.
|
|
3937
|
+
*
|
|
3938
|
+
* @remarks
|
|
3939
|
+
* Queries the list of active sessions in the Sandbox of a specified managed agent.
|
|
3940
|
+
*
|
|
3941
|
+
* @param request - ListSandboxSessionsRequest
|
|
3942
|
+
* @param headers - map
|
|
3943
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3944
|
+
* @returns ListSandboxSessionsResponse
|
|
3945
|
+
*/
|
|
3946
|
+
async listSandboxSessionsWithOptions(workspaceId, agentId, sandboxId, request, headers, runtime) {
|
|
3947
|
+
request.validate();
|
|
3948
|
+
let query = {};
|
|
3949
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
3950
|
+
query["maxResults"] = request.maxResults;
|
|
3951
|
+
}
|
|
3952
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
3953
|
+
query["nextToken"] = request.nextToken;
|
|
3954
|
+
}
|
|
3955
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3956
|
+
headers: headers,
|
|
3957
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3958
|
+
});
|
|
3959
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3960
|
+
action: "ListSandboxSessions",
|
|
3961
|
+
version: "2026-08-04",
|
|
3962
|
+
protocol: "HTTPS",
|
|
3963
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/managed-agents/${$dara.URL.percentEncode(agentId)}/sandboxes/${$dara.URL.percentEncode(sandboxId)}/sessions`,
|
|
3964
|
+
method: "GET",
|
|
3965
|
+
authType: "AK",
|
|
3966
|
+
style: "ROA",
|
|
3967
|
+
reqBodyType: "json",
|
|
3968
|
+
bodyType: "json",
|
|
3969
|
+
});
|
|
3970
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSandboxSessionsResponse({}));
|
|
3971
|
+
}
|
|
3972
|
+
/**
|
|
3973
|
+
* Queries the list of Sandbox sessions.
|
|
3974
|
+
*
|
|
3975
|
+
* @remarks
|
|
3976
|
+
* Queries the list of active sessions in the Sandbox of a specified managed agent.
|
|
3977
|
+
*
|
|
3978
|
+
* @param request - ListSandboxSessionsRequest
|
|
3979
|
+
* @returns ListSandboxSessionsResponse
|
|
3980
|
+
*/
|
|
3981
|
+
async listSandboxSessions(workspaceId, agentId, sandboxId, request) {
|
|
3982
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3983
|
+
let headers = {};
|
|
3984
|
+
return await this.listSandboxSessionsWithOptions(workspaceId, agentId, sandboxId, request, headers, runtime);
|
|
3985
|
+
}
|
|
3986
|
+
/**
|
|
3987
|
+
* Queries a list of sandboxes.
|
|
3988
|
+
*
|
|
3989
|
+
* @remarks
|
|
3990
|
+
* Queries the sandbox list of a specified managed agent. The searchText parameter performs a fuzzy match on Sandbox ID fragments, and the sessionId parameter performs a fuzzy match on currently active Session ID fragments. Both parameters can be specified simultaneously and are combined with AND logic.
|
|
3991
|
+
*
|
|
3992
|
+
* @param request - ListSandboxesRequest
|
|
3993
|
+
* @param headers - map
|
|
3994
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
3995
|
+
* @returns ListSandboxesResponse
|
|
3996
|
+
*/
|
|
3997
|
+
async listSandboxesWithOptions(workspaceId, agentId, request, headers, runtime) {
|
|
3998
|
+
request.validate();
|
|
3999
|
+
let query = {};
|
|
4000
|
+
if (!$dara.isNull(request.maxResults)) {
|
|
4001
|
+
query["maxResults"] = request.maxResults;
|
|
4002
|
+
}
|
|
4003
|
+
if (!$dara.isNull(request.nextToken)) {
|
|
4004
|
+
query["nextToken"] = request.nextToken;
|
|
4005
|
+
}
|
|
4006
|
+
if (!$dara.isNull(request.searchText)) {
|
|
4007
|
+
query["searchText"] = request.searchText;
|
|
4008
|
+
}
|
|
4009
|
+
if (!$dara.isNull(request.sessionId)) {
|
|
4010
|
+
query["sessionId"] = request.sessionId;
|
|
4011
|
+
}
|
|
4012
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4013
|
+
headers: headers,
|
|
4014
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
4015
|
+
});
|
|
4016
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4017
|
+
action: "ListSandboxes",
|
|
4018
|
+
version: "2026-08-04",
|
|
4019
|
+
protocol: "HTTPS",
|
|
4020
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/managed-agents/${$dara.URL.percentEncode(agentId)}/sandboxes`,
|
|
4021
|
+
method: "GET",
|
|
4022
|
+
authType: "AK",
|
|
4023
|
+
style: "ROA",
|
|
4024
|
+
reqBodyType: "json",
|
|
4025
|
+
bodyType: "json",
|
|
4026
|
+
});
|
|
4027
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListSandboxesResponse({}));
|
|
4028
|
+
}
|
|
4029
|
+
/**
|
|
4030
|
+
* Queries a list of sandboxes.
|
|
4031
|
+
*
|
|
4032
|
+
* @remarks
|
|
4033
|
+
* Queries the sandbox list of a specified managed agent. The searchText parameter performs a fuzzy match on Sandbox ID fragments, and the sessionId parameter performs a fuzzy match on currently active Session ID fragments. Both parameters can be specified simultaneously and are combined with AND logic.
|
|
4034
|
+
*
|
|
4035
|
+
* @param request - ListSandboxesRequest
|
|
4036
|
+
* @returns ListSandboxesResponse
|
|
4037
|
+
*/
|
|
4038
|
+
async listSandboxes(workspaceId, agentId, request) {
|
|
4039
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4040
|
+
let headers = {};
|
|
4041
|
+
return await this.listSandboxesWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
4042
|
+
}
|
|
3489
4043
|
/**
|
|
3490
4044
|
* Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
|
|
3491
4045
|
*
|
|
@@ -3630,7 +4184,7 @@ class Client extends openapi_core_1.default {
|
|
|
3630
4184
|
return await this.listSkillsWithOptions(workspaceId, request, headers, runtime);
|
|
3631
4185
|
}
|
|
3632
4186
|
/**
|
|
3633
|
-
*
|
|
4187
|
+
* Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
|
|
3634
4188
|
*
|
|
3635
4189
|
* @param request - ListTeamsRequest
|
|
3636
4190
|
* @param headers - map
|
|
@@ -3667,7 +4221,7 @@ class Client extends openapi_core_1.default {
|
|
|
3667
4221
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListTeamsResponse({}));
|
|
3668
4222
|
}
|
|
3669
4223
|
/**
|
|
3670
|
-
*
|
|
4224
|
+
* Queries teams in a specified workspace by paging. Use nameLike to filter by team name with fuzzy match, maxResults to specify the maximum number of records per page, and nextToken to retrieve the next page. If maxResults is not specified, the server returns 10 records by default. Member information in the list includes only the member identity, name, and team role.
|
|
3671
4225
|
*
|
|
3672
4226
|
* @param request - ListTeamsRequest
|
|
3673
4227
|
* @returns ListTeamsResponse
|
|
@@ -3729,10 +4283,10 @@ class Client extends openapi_core_1.default {
|
|
|
3729
4283
|
return await this.listUsersWithOptions(workspaceId, request, headers, runtime);
|
|
3730
4284
|
}
|
|
3731
4285
|
/**
|
|
3732
|
-
* Queries workspaces under the current tenant
|
|
4286
|
+
* Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
|
|
3733
4287
|
*
|
|
3734
4288
|
* @remarks
|
|
3735
|
-
* ##
|
|
4289
|
+
* ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
3736
4290
|
*
|
|
3737
4291
|
* @param request - ListWorkspacesRequest
|
|
3738
4292
|
* @param headers - map
|
|
@@ -3769,10 +4323,10 @@ class Client extends openapi_core_1.default {
|
|
|
3769
4323
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWorkspacesResponse({}));
|
|
3770
4324
|
}
|
|
3771
4325
|
/**
|
|
3772
|
-
* Queries workspaces under the current tenant
|
|
4326
|
+
* Queries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of Deleted by default. Results are stably sorted by creation order on the server side.
|
|
3773
4327
|
*
|
|
3774
4328
|
* @remarks
|
|
3775
|
-
* ##
|
|
4329
|
+
* ## Operation description\\nQueries workspaces under the current tenant by paging. The list does not return soft-deleted records with a status of `Deleted` by default. Results are stably sorted by creation order on the server side. Use `nextToken` to retrieve the next page, `skip` to skip a specified number of workspaces, `maxResults` to specify the maximum number of records per paging request, and `nameLike` to filter workspaces by name using fuzzy match. If `maxResults` is not specified or is set to 0, the server returns 20 records by default.\\n
|
|
3776
4330
|
*
|
|
3777
4331
|
* @param request - ListWorkspacesRequest
|
|
3778
4332
|
* @returns ListWorkspacesResponse
|
|
@@ -4058,7 +4612,7 @@ class Client extends openapi_core_1.default {
|
|
|
4058
4612
|
return await this.redraftSkillVersionWithOptions(workspaceId, skillName, skillVersion, request, headers, runtime);
|
|
4059
4613
|
}
|
|
4060
4614
|
/**
|
|
4061
|
-
*
|
|
4615
|
+
* Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
|
|
4062
4616
|
*
|
|
4063
4617
|
* @param tmpReq - ResetUserPasswordRequest
|
|
4064
4618
|
* @param headers - map
|
|
@@ -4094,7 +4648,7 @@ class Client extends openapi_core_1.default {
|
|
|
4094
4648
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ResetUserPasswordResponse({}));
|
|
4095
4649
|
}
|
|
4096
4650
|
/**
|
|
4097
|
-
*
|
|
4651
|
+
* Resets the logon password of a specified user. Specify the user by agentCoreUserId or username. At least one of the two parameters must be specified. Only users who use workspace local password authentication can be reset. If password is not specified, the server generates a random password and returns it in the response.
|
|
4098
4652
|
*
|
|
4099
4653
|
* @param request - ResetUserPasswordRequest
|
|
4100
4654
|
* @returns ResetUserPasswordResponse
|
|
@@ -4386,7 +4940,63 @@ class Client extends openapi_core_1.default {
|
|
|
4386
4940
|
return await this.updateAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
4387
4941
|
}
|
|
4388
4942
|
/**
|
|
4389
|
-
*
|
|
4943
|
+
* Updates the credentials of a Connector.
|
|
4944
|
+
*
|
|
4945
|
+
* @remarks
|
|
4946
|
+
* Updates the sensitive configuration of a specified Connector and aligns the Service Account Key by ID.
|
|
4947
|
+
*
|
|
4948
|
+
* @param tmpReq - UpdateConnectorRequest
|
|
4949
|
+
* @param headers - map
|
|
4950
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
4951
|
+
* @returns UpdateConnectorResponse
|
|
4952
|
+
*/
|
|
4953
|
+
async updateConnectorWithOptions(workspaceId, connectorName, tmpReq, headers, runtime) {
|
|
4954
|
+
tmpReq.validate();
|
|
4955
|
+
let request = new $_model.UpdateConnectorShrinkRequest({});
|
|
4956
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
4957
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
4958
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
4959
|
+
}
|
|
4960
|
+
let body = {};
|
|
4961
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
4962
|
+
body["body"] = request.bodyShrink;
|
|
4963
|
+
}
|
|
4964
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
4965
|
+
headers: headers,
|
|
4966
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
4967
|
+
});
|
|
4968
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
4969
|
+
action: "UpdateConnector",
|
|
4970
|
+
version: "2026-08-04",
|
|
4971
|
+
protocol: "HTTPS",
|
|
4972
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/update`,
|
|
4973
|
+
method: "POST",
|
|
4974
|
+
authType: "AK",
|
|
4975
|
+
style: "ROA",
|
|
4976
|
+
reqBodyType: "formData",
|
|
4977
|
+
bodyType: "json",
|
|
4978
|
+
});
|
|
4979
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateConnectorResponse({}));
|
|
4980
|
+
}
|
|
4981
|
+
/**
|
|
4982
|
+
* Updates the credentials of a Connector.
|
|
4983
|
+
*
|
|
4984
|
+
* @remarks
|
|
4985
|
+
* Updates the sensitive configuration of a specified Connector and aligns the Service Account Key by ID.
|
|
4986
|
+
*
|
|
4987
|
+
* @param request - UpdateConnectorRequest
|
|
4988
|
+
* @returns UpdateConnectorResponse
|
|
4989
|
+
*/
|
|
4990
|
+
async updateConnector(workspaceId, connectorName, request) {
|
|
4991
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
4992
|
+
let headers = {};
|
|
4993
|
+
return await this.updateConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
4994
|
+
}
|
|
4995
|
+
/**
|
|
4996
|
+
* Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
4997
|
+
*
|
|
4998
|
+
* @remarks
|
|
4999
|
+
* Updates the metadata or resource scope of a specified credential.
|
|
4390
5000
|
*
|
|
4391
5001
|
* @param tmpReq - UpdateCredentialRequest
|
|
4392
5002
|
* @param headers - map
|
|
@@ -4427,7 +5037,10 @@ class Client extends openapi_core_1.default {
|
|
|
4427
5037
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateCredentialResponse({}));
|
|
4428
5038
|
}
|
|
4429
5039
|
/**
|
|
4430
|
-
*
|
|
5040
|
+
* Updates the content or description of a specified credential. At least one of credentialMetadata and description must be specified. Unspecified properties remain unchanged. The credential name and credential type cannot be modified after creation.
|
|
5041
|
+
*
|
|
5042
|
+
* @remarks
|
|
5043
|
+
* Updates the metadata or resource scope of a specified credential.
|
|
4431
5044
|
*
|
|
4432
5045
|
* @param request - UpdateCredentialRequest
|
|
4433
5046
|
* @returns UpdateCredentialResponse
|
|
@@ -4496,7 +5109,7 @@ class Client extends openapi_core_1.default {
|
|
|
4496
5109
|
return await this.updateExternalAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
4497
5110
|
}
|
|
4498
5111
|
/**
|
|
4499
|
-
* Updates the login
|
|
5112
|
+
* Updates the login toggle, member synchronization toggle, or application configuration of a specified external identity provider in a workspace. Unspecified properties remain unchanged. The update is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track progress.
|
|
4500
5113
|
*
|
|
4501
5114
|
* @param tmpReq - UpdateIdentityProviderRequest
|
|
4502
5115
|
* @param headers - map
|
|
@@ -4532,7 +5145,7 @@ class Client extends openapi_core_1.default {
|
|
|
4532
5145
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateIdentityProviderResponse({}));
|
|
4533
5146
|
}
|
|
4534
5147
|
/**
|
|
4535
|
-
* Updates the login
|
|
5148
|
+
* Updates the login toggle, member synchronization toggle, or application configuration of a specified external identity provider in a workspace. Unspecified properties remain unchanged. The update is an asynchronous operation. After the API returns, you can call GetIdentityProvider to query the status and track progress.
|
|
4536
5149
|
*
|
|
4537
5150
|
* @param request - UpdateIdentityProviderRequest
|
|
4538
5151
|
* @returns UpdateIdentityProviderResponse
|
|
@@ -4655,7 +5268,73 @@ class Client extends openapi_core_1.default {
|
|
|
4655
5268
|
return await this.updateMcpWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
4656
5269
|
}
|
|
4657
5270
|
/**
|
|
4658
|
-
* Updates
|
|
5271
|
+
* Updates MCP parameters by template.
|
|
5272
|
+
*
|
|
5273
|
+
* @remarks
|
|
5274
|
+
* Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
|
|
5275
|
+
*
|
|
5276
|
+
* @param tmpReq - UpdateMcpTemplateConfigRequest
|
|
5277
|
+
* @param headers - map
|
|
5278
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5279
|
+
* @returns UpdateMcpTemplateConfigResponse
|
|
5280
|
+
*/
|
|
5281
|
+
async updateMcpTemplateConfigWithOptions(workspaceId, mcpServerId, tmpReq, headers, runtime) {
|
|
5282
|
+
tmpReq.validate();
|
|
5283
|
+
let request = new $_model.UpdateMcpTemplateConfigShrinkRequest({});
|
|
5284
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5285
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
5286
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
5287
|
+
}
|
|
5288
|
+
let query = {};
|
|
5289
|
+
if (!$dara.isNull(request.clientToken)) {
|
|
5290
|
+
query["clientToken"] = request.clientToken;
|
|
5291
|
+
}
|
|
5292
|
+
if (!$dara.isNull(request.templateVersion)) {
|
|
5293
|
+
query["templateVersion"] = request.templateVersion;
|
|
5294
|
+
}
|
|
5295
|
+
let body = {};
|
|
5296
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
5297
|
+
body["body"] = request.bodyShrink;
|
|
5298
|
+
}
|
|
5299
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5300
|
+
headers: headers,
|
|
5301
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5302
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5303
|
+
});
|
|
5304
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5305
|
+
action: "UpdateMcpTemplateConfig",
|
|
5306
|
+
version: "2026-08-04",
|
|
5307
|
+
protocol: "HTTPS",
|
|
5308
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/mcp-servers/${$dara.URL.percentEncode(mcpServerId)}/template-config`,
|
|
5309
|
+
method: "PUT",
|
|
5310
|
+
authType: "AK",
|
|
5311
|
+
style: "ROA",
|
|
5312
|
+
reqBodyType: "formData",
|
|
5313
|
+
bodyType: "json",
|
|
5314
|
+
});
|
|
5315
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateMcpTemplateConfigResponse({}));
|
|
5316
|
+
}
|
|
5317
|
+
/**
|
|
5318
|
+
* Updates MCP parameters by template.
|
|
5319
|
+
*
|
|
5320
|
+
* @remarks
|
|
5321
|
+
* Updates the schema-exposed parameters by using the same template version that was bound when the MCP was created. This operation does not upgrade the template version.
|
|
5322
|
+
*
|
|
5323
|
+
* @param request - UpdateMcpTemplateConfigRequest
|
|
5324
|
+
* @returns UpdateMcpTemplateConfigResponse
|
|
5325
|
+
*/
|
|
5326
|
+
async updateMcpTemplateConfig(workspaceId, mcpServerId, request) {
|
|
5327
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5328
|
+
let headers = {};
|
|
5329
|
+
return await this.updateMcpTemplateConfigWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
5330
|
+
}
|
|
5331
|
+
/**
|
|
5332
|
+
* Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
|
|
5333
|
+
*
|
|
5334
|
+
* @remarks
|
|
5335
|
+
* This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
|
|
5336
|
+
* Modifying only description does not refresh the model configuration of associated Agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed Agents that reference the model within the same workspace, as well as external Agents whose model source is PLATFORM. External Agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
|
|
5337
|
+
* A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
|
|
4659
5338
|
*
|
|
4660
5339
|
* @param tmpReq - UpdateModelRequest
|
|
4661
5340
|
* @param headers - map
|
|
@@ -4696,7 +5375,12 @@ class Client extends openapi_core_1.default {
|
|
|
4696
5375
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateModelResponse({}));
|
|
4697
5376
|
}
|
|
4698
5377
|
/**
|
|
4699
|
-
* Updates the description
|
|
5378
|
+
* Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
|
|
5379
|
+
*
|
|
5380
|
+
* @remarks
|
|
5381
|
+
* This operation supports updating description, contextSize, maxTokens, and capabilities. At least one non-null parameter must be provided. Parameters that are not provided or set to null retain their original values. The capabilities object is replaced as a whole. Capability fields not included in the object are treated as false.
|
|
5382
|
+
* Modifying only description does not refresh the model configuration of associated Agents. When contextSize, maxTokens, or capabilities actually change, the system asynchronously refreshes managed Agents that reference the model within the same workspace, as well as external Agents whose model source is PLATFORM. External Agents whose model source is RUNTIME are not affected. Submitting the same configuration repeatedly does not trigger a new model configuration refresh.
|
|
5383
|
+
* A successful response indicates that the model configuration has been saved. It does not indicate that associated Agents have completed the configuration refresh or that the runtime has loaded the new configuration. Call GetModel to query the saved model configuration.
|
|
4700
5384
|
*
|
|
4701
5385
|
* @param request - UpdateModelRequest
|
|
4702
5386
|
* @returns UpdateModelResponse
|
|
@@ -4924,7 +5608,7 @@ class Client extends openapi_core_1.default {
|
|
|
4924
5608
|
return await this.updateSkillScopeWithOptions(workspaceId, skillName, request, headers, runtime);
|
|
4925
5609
|
}
|
|
4926
5610
|
/**
|
|
4927
|
-
*
|
|
5611
|
+
* Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
|
|
4928
5612
|
*
|
|
4929
5613
|
* @param tmpReq - UpdateTeamRequest
|
|
4930
5614
|
* @param headers - map
|
|
@@ -4965,7 +5649,7 @@ class Client extends openapi_core_1.default {
|
|
|
4965
5649
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateTeamResponse({}));
|
|
4966
5650
|
}
|
|
4967
5651
|
/**
|
|
4968
|
-
*
|
|
5652
|
+
* Updates the description and members of a specified team. When users or agents are passed in, the corresponding member list is replaced using full overwrite semantics. Member lists that are not passed in remain unchanged. The team name cannot be modified after creation.
|
|
4969
5653
|
*
|
|
4970
5654
|
* @param request - UpdateTeamRequest
|
|
4971
5655
|
* @returns UpdateTeamResponse
|
|
@@ -4976,7 +5660,7 @@ class Client extends openapi_core_1.default {
|
|
|
4976
5660
|
return await this.updateTeamWithOptions(workspaceId, teamId, request, headers, runtime);
|
|
4977
5661
|
}
|
|
4978
5662
|
/**
|
|
4979
|
-
*
|
|
5663
|
+
* Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
|
|
4980
5664
|
*
|
|
4981
5665
|
* @param tmpReq - UpdateUserRequest
|
|
4982
5666
|
* @param headers - map
|
|
@@ -5017,7 +5701,7 @@ class Client extends openapi_core_1.default {
|
|
|
5017
5701
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateUserResponse({}));
|
|
5018
5702
|
}
|
|
5019
5703
|
/**
|
|
5020
|
-
*
|
|
5704
|
+
* Updates the display name, email address, or note of a specified user. At least one of displayName, email, and note must be specified. Unspecified properties remain unchanged. The username cannot be modified after creation.
|
|
5021
5705
|
*
|
|
5022
5706
|
* @param request - UpdateUserRequest
|
|
5023
5707
|
* @returns UpdateUserResponse
|
|
@@ -5028,10 +5712,10 @@ class Client extends openapi_core_1.default {
|
|
|
5028
5712
|
return await this.updateUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
5029
5713
|
}
|
|
5030
5714
|
/**
|
|
5031
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
5715
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
|
|
5032
5716
|
*
|
|
5033
5717
|
* @remarks
|
|
5034
|
-
* ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized`
|
|
5718
|
+
* ## Operation 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 operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
5035
5719
|
*
|
|
5036
5720
|
* @param tmpReq - UpdateWorkspaceRequest
|
|
5037
5721
|
* @param headers - map
|
|
@@ -5072,10 +5756,10 @@ class Client extends openapi_core_1.default {
|
|
|
5072
5756
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWorkspaceResponse({}));
|
|
5073
5757
|
}
|
|
5074
5758
|
/**
|
|
5075
|
-
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized
|
|
5759
|
+
* Updates the name or network configuration of a workspace. Only workspaces in the Initialized state can be updated. The Status, TenantId, and RegionId fields are maintained by the server and cannot be modified through this operation.
|
|
5076
5760
|
*
|
|
5077
5761
|
* @remarks
|
|
5078
|
-
* ## Operation description\\nUpdates the name or network configuration of a workspace. Only workspaces in the `Initialized`
|
|
5762
|
+
* ## Operation 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 operation. The network configuration uses `Enabled` to specify whether to enable VPC networking. When enabled, you must also provide `VpcId` and at least one `VSwitchIds`.\\n.
|
|
5079
5763
|
*
|
|
5080
5764
|
* @param request - UpdateWorkspaceRequest
|
|
5081
5765
|
* @returns UpdateWorkspaceResponse
|
|
@@ -5195,6 +5879,107 @@ class Client extends openapi_core_1.default {
|
|
|
5195
5879
|
let headers = {};
|
|
5196
5880
|
return await this.uploadSkillViaOssWithOptions(workspaceId, request, headers, runtime);
|
|
5197
5881
|
}
|
|
5882
|
+
/**
|
|
5883
|
+
* Validates the credentials of a Connector.
|
|
5884
|
+
*
|
|
5885
|
+
* @remarks
|
|
5886
|
+
* Validates whether the credentials of a specified Connector are valid and returns a list of invalid Service Account Keys.
|
|
5887
|
+
*
|
|
5888
|
+
* @param tmpReq - VerifyConnectorRequest
|
|
5889
|
+
* @param headers - map
|
|
5890
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5891
|
+
* @returns VerifyConnectorResponse
|
|
5892
|
+
*/
|
|
5893
|
+
async verifyConnectorWithOptions(workspaceId, connectorName, tmpReq, headers, runtime) {
|
|
5894
|
+
tmpReq.validate();
|
|
5895
|
+
let request = new $_model.VerifyConnectorShrinkRequest({});
|
|
5896
|
+
openapi_core_2.OpenApiUtil.convert(tmpReq, request);
|
|
5897
|
+
if (!$dara.isNull(tmpReq.body)) {
|
|
5898
|
+
request.bodyShrink = openapi_core_2.OpenApiUtil.arrayToStringWithSpecifiedStyle(tmpReq.body, "body", "json");
|
|
5899
|
+
}
|
|
5900
|
+
let body = {};
|
|
5901
|
+
if (!$dara.isNull(request.bodyShrink)) {
|
|
5902
|
+
body["body"] = request.bodyShrink;
|
|
5903
|
+
}
|
|
5904
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5905
|
+
headers: headers,
|
|
5906
|
+
body: openapi_core_2.OpenApiUtil.parseToMap(body),
|
|
5907
|
+
});
|
|
5908
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5909
|
+
action: "VerifyConnector",
|
|
5910
|
+
version: "2026-08-04",
|
|
5911
|
+
protocol: "HTTPS",
|
|
5912
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/actions/verify`,
|
|
5913
|
+
method: "POST",
|
|
5914
|
+
authType: "AK",
|
|
5915
|
+
style: "ROA",
|
|
5916
|
+
reqBodyType: "formData",
|
|
5917
|
+
bodyType: "json",
|
|
5918
|
+
});
|
|
5919
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyConnectorResponse({}));
|
|
5920
|
+
}
|
|
5921
|
+
/**
|
|
5922
|
+
* Validates the credentials of a Connector.
|
|
5923
|
+
*
|
|
5924
|
+
* @remarks
|
|
5925
|
+
* Validates whether the credentials of a specified Connector are valid and returns a list of invalid Service Account Keys.
|
|
5926
|
+
*
|
|
5927
|
+
* @param request - VerifyConnectorRequest
|
|
5928
|
+
* @returns VerifyConnectorResponse
|
|
5929
|
+
*/
|
|
5930
|
+
async verifyConnector(workspaceId, connectorName, request) {
|
|
5931
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5932
|
+
let headers = {};
|
|
5933
|
+
return await this.verifyConnectorWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
5934
|
+
}
|
|
5935
|
+
/**
|
|
5936
|
+
* Verifies the RAM authorization for an OSS mount in a workspace.
|
|
5937
|
+
*
|
|
5938
|
+
* @remarks
|
|
5939
|
+
* Queries whether the OSS mount role of a workspace is bound to the custom RAM policy for the target bucket. Returns AUTHORIZED or UNAUTHORIZED. If bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. If bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks.
|
|
5940
|
+
*
|
|
5941
|
+
* @param request - VerifyWorkspaceOssMountRamAuthorizationRequest
|
|
5942
|
+
* @param headers - map
|
|
5943
|
+
* @param runtime - runtime options for this request RuntimeOptions
|
|
5944
|
+
* @returns VerifyWorkspaceOssMountRamAuthorizationResponse
|
|
5945
|
+
*/
|
|
5946
|
+
async verifyWorkspaceOssMountRamAuthorizationWithOptions(workspaceId, request, headers, runtime) {
|
|
5947
|
+
request.validate();
|
|
5948
|
+
let query = {};
|
|
5949
|
+
if (!$dara.isNull(request.bucketName)) {
|
|
5950
|
+
query["bucketName"] = request.bucketName;
|
|
5951
|
+
}
|
|
5952
|
+
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
5953
|
+
headers: headers,
|
|
5954
|
+
query: openapi_core_2.OpenApiUtil.query(query),
|
|
5955
|
+
});
|
|
5956
|
+
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
5957
|
+
action: "VerifyWorkspaceOssMountRamAuthorization",
|
|
5958
|
+
version: "2026-08-04",
|
|
5959
|
+
protocol: "HTTPS",
|
|
5960
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/oss-mount/authorize/verify`,
|
|
5961
|
+
method: "POST",
|
|
5962
|
+
authType: "AK",
|
|
5963
|
+
style: "ROA",
|
|
5964
|
+
reqBodyType: "json",
|
|
5965
|
+
bodyType: "json",
|
|
5966
|
+
});
|
|
5967
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.VerifyWorkspaceOssMountRamAuthorizationResponse({}));
|
|
5968
|
+
}
|
|
5969
|
+
/**
|
|
5970
|
+
* Verifies the RAM authorization for an OSS mount in a workspace.
|
|
5971
|
+
*
|
|
5972
|
+
* @remarks
|
|
5973
|
+
* Queries whether the OSS mount role of a workspace is bound to the custom RAM policy for the target bucket. Returns AUTHORIZED or UNAUTHORIZED. If bucketName is not specified, the existing user-managed OSS binding of the workspace is used and the authorization status is saved. If bucketName is specified, only the authorization status of the specified bucket is queried without modifying the workspace OSS binding. This operation does not verify OSS data plane access permissions or resume workspace initialization tasks.
|
|
5974
|
+
*
|
|
5975
|
+
* @param request - VerifyWorkspaceOssMountRamAuthorizationRequest
|
|
5976
|
+
* @returns VerifyWorkspaceOssMountRamAuthorizationResponse
|
|
5977
|
+
*/
|
|
5978
|
+
async verifyWorkspaceOssMountRamAuthorization(workspaceId, request) {
|
|
5979
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
5980
|
+
let headers = {};
|
|
5981
|
+
return await this.verifyWorkspaceOssMountRamAuthorizationWithOptions(workspaceId, request, headers, runtime);
|
|
5982
|
+
}
|
|
5198
5983
|
}
|
|
5199
5984
|
exports.default = Client;
|
|
5200
5985
|
//# sourceMappingURL=client.js.map
|