@alicloud/agentcore20260804 1.2.2 → 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 +416 -50
- package/dist/client.js +867 -95
- package/dist/client.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 +51 -2
- package/dist/models/CreateCredentialRequest.js +31 -1
- package/dist/models/CreateCredentialRequest.js.map +1 -1
- package/dist/models/CreateCredentialResponseBody.d.ts +52 -3
- package/dist/models/CreateCredentialResponseBody.js +31 -1
- package/dist/models/CreateCredentialResponseBody.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/CreateTeamRequest.d.ts +4 -10
- package/dist/models/CreateTeamRequest.js.map +1 -1
- package/dist/models/CreateTeamResponseBody.d.ts +7 -21
- package/dist/models/CreateTeamResponseBody.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/DeleteAgentSpecVersionResponseBody.d.ts +1 -1
- package/dist/models/DeleteCredentialResponseBody.d.ts +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/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 +56 -7
- 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/GetTeamResponseBody.d.ts +12 -20
- package/dist/models/GetTeamResponseBody.js +0 -2
- package/dist/models/GetTeamResponseBody.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 +2 -2
- package/dist/models/ListCredentialsResponseBody.d.ts +53 -4
- 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 +15 -2
- 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/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/ListWorkspacesResponseBody.d.ts +4 -4
- 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 +50 -1
- package/dist/models/UpdateCredentialRequest.js +31 -1
- package/dist/models/UpdateCredentialRequest.js.map +1 -1
- package/dist/models/UpdateCredentialResponseBody.d.ts +53 -4
- package/dist/models/UpdateCredentialResponseBody.js +31 -1
- package/dist/models/UpdateCredentialResponseBody.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 +8 -8
- package/dist/models/UpdateModelShrinkRequest.d.ts +2 -2
- package/dist/models/UpdateTeamRequest.d.ts +12 -6
- package/dist/models/UpdateTeamRequest.js.map +1 -1
- package/dist/models/UpdateTeamResponseBody.d.ts +23 -9
- package/dist/models/UpdateTeamResponseBody.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 +924 -90
- 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 +72 -2
- package/src/models/CreateCredentialResponseBody.ts +73 -3
- 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/CreateTeamRequest.ts +4 -10
- package/src/models/CreateTeamResponseBody.ts +7 -21
- package/src/models/CreateWorkspaceRequest.ts +4 -1
- package/src/models/CreateWorkspaceResponseBody.ts +143 -2
- package/src/models/DeleteAgentSpecVersionResponseBody.ts +1 -1
- package/src/models/DeleteCredentialResponseBody.ts +1 -1
- package/src/models/DeleteExternalAgentResponseBody.ts +4 -14
- package/src/models/DeleteIdentityProviderResponseBody.ts +9 -5
- package/src/models/DeleteManagedAgentResponseBody.ts +4 -14
- 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 +77 -7
- 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/GetTeamResponseBody.ts +12 -22
- 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 +2 -2
- package/src/models/ListCredentialsResponseBody.ts +74 -4
- 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 +19 -2
- package/src/models/ListMcpsResponseBody.ts +1292 -55
- 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/ListWorkspacesResponseBody.ts +4 -4
- 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 +71 -1
- package/src/models/UpdateCredentialResponseBody.ts +74 -4
- 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 +8 -8
- package/src/models/UpdateModelShrinkRequest.ts +2 -2
- package/src/models/UpdateTeamRequest.ts +12 -6
- package/src/models/UpdateTeamResponseBody.ts +23 -9
- 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
|
@@ -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
|
-
* Creates a credential in a specified workspace for
|
|
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
|
-
* Creates a credential in a specified workspace for
|
|
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
|
|
@@ -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
|
-
* Deletes a credential from
|
|
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
|
-
* Deletes a credential from
|
|
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
|
|
@@ -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
|
-
* Deletes a team
|
|
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
|
-
* Deletes a team
|
|
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
|
|
@@ -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
|
-
* Queries the details of a specified credential and returns the list of agents
|
|
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
|
-
* Queries the details of a specified credential and returns the list of agents
|
|
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
|
*
|
|
@@ -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
|
-
* Queries the details of a specified team. The response includes the complete
|
|
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
|
-
* Queries the details of a specified team. The response includes the complete
|
|
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
|
|
@@ -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,28 +3252,25 @@ class Client extends openapi_core_1.default {
|
|
|
2986
3252
|
return await this.listAgentTeamsWithOptions(workspaceId, request, headers, runtime);
|
|
2987
3253
|
}
|
|
2988
3254
|
/**
|
|
2989
|
-
* Queries
|
|
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.name)) {
|
|
3006
|
-
query["name"] = request.name;
|
|
3007
|
-
}
|
|
3008
|
-
if (!$dara.isNull(request.nameLike)) {
|
|
3009
|
-
query["nameLike"] = request.nameLike;
|
|
3010
|
-
}
|
|
3011
3274
|
if (!$dara.isNull(request.nextToken)) {
|
|
3012
3275
|
query["nextToken"] = request.nextToken;
|
|
3013
3276
|
}
|
|
@@ -3016,41 +3279,44 @@ class Client extends openapi_core_1.default {
|
|
|
3016
3279
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3017
3280
|
});
|
|
3018
3281
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3019
|
-
action: "
|
|
3282
|
+
action: "ListConnectorModels",
|
|
3020
3283
|
version: "2026-08-04",
|
|
3021
3284
|
protocol: "HTTPS",
|
|
3022
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
3285
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors/${$dara.URL.percentEncode(connectorName)}/models`,
|
|
3023
3286
|
method: "GET",
|
|
3024
3287
|
authType: "AK",
|
|
3025
3288
|
style: "ROA",
|
|
3026
3289
|
reqBodyType: "json",
|
|
3027
3290
|
bodyType: "json",
|
|
3028
3291
|
});
|
|
3029
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3292
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectorModelsResponse({}));
|
|
3030
3293
|
}
|
|
3031
3294
|
/**
|
|
3032
|
-
* Queries
|
|
3295
|
+
* Queries the list of models for a connector.
|
|
3033
3296
|
*
|
|
3034
|
-
* @
|
|
3035
|
-
*
|
|
3297
|
+
* @remarks
|
|
3298
|
+
* Queries the list of available models for a specified connector. Pagination is supported.
|
|
3299
|
+
*
|
|
3300
|
+
* @param request - ListConnectorModelsRequest
|
|
3301
|
+
* @returns ListConnectorModelsResponse
|
|
3036
3302
|
*/
|
|
3037
|
-
async
|
|
3303
|
+
async listConnectorModels(workspaceId, connectorName, request) {
|
|
3038
3304
|
let runtime = new $dara.RuntimeOptions({});
|
|
3039
3305
|
let headers = {};
|
|
3040
|
-
return await this.
|
|
3306
|
+
return await this.listConnectorModelsWithOptions(workspaceId, connectorName, request, headers, runtime);
|
|
3041
3307
|
}
|
|
3042
3308
|
/**
|
|
3043
|
-
* Queries the list of
|
|
3309
|
+
* Queries the list of connectors.
|
|
3044
3310
|
*
|
|
3045
3311
|
* @remarks
|
|
3046
|
-
* Queries the list of
|
|
3312
|
+
* Queries the list of connectors in a specified workspace.
|
|
3047
3313
|
*
|
|
3048
|
-
* @param request -
|
|
3314
|
+
* @param request - ListConnectorsRequest
|
|
3049
3315
|
* @param headers - map
|
|
3050
3316
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3051
|
-
* @returns
|
|
3317
|
+
* @returns ListConnectorsResponse
|
|
3052
3318
|
*/
|
|
3053
|
-
async
|
|
3319
|
+
async listConnectorsWithOptions(workspaceId, request, headers, runtime) {
|
|
3054
3320
|
request.validate();
|
|
3055
3321
|
let query = {};
|
|
3056
3322
|
if (!$dara.isNull(request.maxResults)) {
|
|
@@ -3064,46 +3330,58 @@ class Client extends openapi_core_1.default {
|
|
|
3064
3330
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3065
3331
|
});
|
|
3066
3332
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3067
|
-
action: "
|
|
3333
|
+
action: "ListConnectors",
|
|
3068
3334
|
version: "2026-08-04",
|
|
3069
3335
|
protocol: "HTTPS",
|
|
3070
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
3336
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/connectors`,
|
|
3071
3337
|
method: "GET",
|
|
3072
3338
|
authType: "AK",
|
|
3073
3339
|
style: "ROA",
|
|
3074
3340
|
reqBodyType: "json",
|
|
3075
3341
|
bodyType: "json",
|
|
3076
3342
|
});
|
|
3077
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3343
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListConnectorsResponse({}));
|
|
3078
3344
|
}
|
|
3079
3345
|
/**
|
|
3080
|
-
* Queries the list of
|
|
3346
|
+
* Queries the list of connectors.
|
|
3081
3347
|
*
|
|
3082
3348
|
* @remarks
|
|
3083
|
-
* Queries the list of
|
|
3349
|
+
* Queries the list of connectors in a specified workspace.
|
|
3084
3350
|
*
|
|
3085
|
-
* @param request -
|
|
3086
|
-
* @returns
|
|
3351
|
+
* @param request - ListConnectorsRequest
|
|
3352
|
+
* @returns ListConnectorsResponse
|
|
3087
3353
|
*/
|
|
3088
|
-
async
|
|
3354
|
+
async listConnectors(workspaceId, request) {
|
|
3089
3355
|
let runtime = new $dara.RuntimeOptions({});
|
|
3090
3356
|
let headers = {};
|
|
3091
|
-
return await this.
|
|
3357
|
+
return await this.listConnectorsWithOptions(workspaceId, request, headers, runtime);
|
|
3092
3358
|
}
|
|
3093
3359
|
/**
|
|
3094
|
-
* 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.
|
|
3095
3361
|
*
|
|
3096
|
-
* @
|
|
3362
|
+
* @remarks
|
|
3363
|
+
* Queries the list of credentials in a workspace with paging. Supports filtering by type and name.
|
|
3364
|
+
*
|
|
3365
|
+
* @param request - ListCredentialsRequest
|
|
3097
3366
|
* @param headers - map
|
|
3098
3367
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
3099
|
-
* @returns
|
|
3368
|
+
* @returns ListCredentialsResponse
|
|
3100
3369
|
*/
|
|
3101
|
-
async
|
|
3370
|
+
async listCredentialsWithOptions(workspaceId, request, headers, runtime) {
|
|
3102
3371
|
request.validate();
|
|
3103
3372
|
let query = {};
|
|
3373
|
+
if (!$dara.isNull(request.credentialType)) {
|
|
3374
|
+
query["credentialType"] = request.credentialType;
|
|
3375
|
+
}
|
|
3104
3376
|
if (!$dara.isNull(request.maxResults)) {
|
|
3105
3377
|
query["maxResults"] = request.maxResults;
|
|
3106
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
|
+
}
|
|
3107
3385
|
if (!$dara.isNull(request.nextToken)) {
|
|
3108
3386
|
query["nextToken"] = request.nextToken;
|
|
3109
3387
|
}
|
|
@@ -3112,26 +3390,125 @@ class Client extends openapi_core_1.default {
|
|
|
3112
3390
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
3113
3391
|
});
|
|
3114
3392
|
let params = new openapi_core_2.$OpenApiUtil.Params({
|
|
3115
|
-
action: "
|
|
3393
|
+
action: "ListCredentials",
|
|
3116
3394
|
version: "2026-08-04",
|
|
3117
3395
|
protocol: "HTTPS",
|
|
3118
|
-
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/
|
|
3396
|
+
pathname: `/workspaces/${$dara.URL.percentEncode(workspaceId)}/credentials`,
|
|
3119
3397
|
method: "GET",
|
|
3120
3398
|
authType: "AK",
|
|
3121
3399
|
style: "ROA",
|
|
3122
3400
|
reqBodyType: "json",
|
|
3123
3401
|
bodyType: "json",
|
|
3124
3402
|
});
|
|
3125
|
-
return $dara.cast(await this.callApi(params, req, runtime), new $_model.
|
|
3403
|
+
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListCredentialsResponse({}));
|
|
3126
3404
|
}
|
|
3127
3405
|
/**
|
|
3128
|
-
* 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.
|
|
3129
3407
|
*
|
|
3130
|
-
* @
|
|
3131
|
-
*
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
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
|
|
3413
|
+
*/
|
|
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) {
|
|
3511
|
+
let runtime = new $dara.RuntimeOptions({});
|
|
3135
3512
|
let headers = {};
|
|
3136
3513
|
return await this.listIdentityProvidersWithOptions(workspaceId, request, headers, runtime);
|
|
3137
3514
|
}
|
|
@@ -3139,7 +3516,7 @@ class Client extends openapi_core_1.default {
|
|
|
3139
3516
|
* Queries the list of managed agents in a specified workspace.
|
|
3140
3517
|
*
|
|
3141
3518
|
* @remarks
|
|
3142
|
-
*
|
|
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.
|
|
3143
3520
|
*
|
|
3144
3521
|
* @param request - ListManagedAgentsRequest
|
|
3145
3522
|
* @param headers - map
|
|
@@ -3176,7 +3553,7 @@ class Client extends openapi_core_1.default {
|
|
|
3176
3553
|
* Queries the list of managed agents in a specified workspace.
|
|
3177
3554
|
*
|
|
3178
3555
|
* @remarks
|
|
3179
|
-
*
|
|
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.
|
|
3180
3557
|
*
|
|
3181
3558
|
* @param request - ListManagedAgentsRequest
|
|
3182
3559
|
* @returns ListManagedAgentsResponse
|
|
@@ -3186,6 +3563,66 @@ class Client extends openapi_core_1.default {
|
|
|
3186
3563
|
let headers = {};
|
|
3187
3564
|
return await this.listManagedAgentsWithOptions(workspaceId, request, headers, runtime);
|
|
3188
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
|
+
}
|
|
3189
3626
|
/**
|
|
3190
3627
|
* Queries the list of tools exposed by a specified MCP service and their input/output schemas.
|
|
3191
3628
|
*
|
|
@@ -3240,11 +3677,11 @@ class Client extends openapi_core_1.default {
|
|
|
3240
3677
|
return await this.listMcpToolsWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
3241
3678
|
}
|
|
3242
3679
|
/**
|
|
3243
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3680
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
3244
3681
|
*
|
|
3245
3682
|
* @remarks
|
|
3246
3683
|
* ## Operation description
|
|
3247
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3684
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
3248
3685
|
*
|
|
3249
3686
|
* @param request - ListMcpsRequest
|
|
3250
3687
|
* @param headers - map
|
|
@@ -3263,9 +3700,15 @@ class Client extends openapi_core_1.default {
|
|
|
3263
3700
|
if (!$dara.isNull(request.nextToken)) {
|
|
3264
3701
|
query["nextToken"] = request.nextToken;
|
|
3265
3702
|
}
|
|
3703
|
+
if (!$dara.isNull(request.officialTag)) {
|
|
3704
|
+
query["officialTag"] = request.officialTag;
|
|
3705
|
+
}
|
|
3266
3706
|
if (!$dara.isNull(request.searchType)) {
|
|
3267
3707
|
query["searchType"] = request.searchType;
|
|
3268
3708
|
}
|
|
3709
|
+
if (!$dara.isNull(request.usageActive)) {
|
|
3710
|
+
query["usageActive"] = request.usageActive;
|
|
3711
|
+
}
|
|
3269
3712
|
let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
|
|
3270
3713
|
headers: headers,
|
|
3271
3714
|
query: openapi_core_2.OpenApiUtil.query(query),
|
|
@@ -3284,11 +3727,11 @@ class Client extends openapi_core_1.default {
|
|
|
3284
3727
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListMcpsResponse({}));
|
|
3285
3728
|
}
|
|
3286
3729
|
/**
|
|
3287
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3730
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
3288
3731
|
*
|
|
3289
3732
|
* @remarks
|
|
3290
3733
|
* ## Operation description
|
|
3291
|
-
* Queries MCP services and their configurations and statuses in a specified workspace by
|
|
3734
|
+
* Queries MCP services and their configurations and statuses in a specified workspace by using paging.
|
|
3292
3735
|
*
|
|
3293
3736
|
* @param request - ListMcpsRequest
|
|
3294
3737
|
* @returns ListMcpsResponse
|
|
@@ -3489,6 +3932,114 @@ class Client extends openapi_core_1.default {
|
|
|
3489
3932
|
let headers = {};
|
|
3490
3933
|
return await this.listPredefinedModelsWithOptions(providerType, request, headers, runtime);
|
|
3491
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
|
+
}
|
|
3492
4043
|
/**
|
|
3493
4044
|
* Queries service endpoints in a specified workspace by using paging. Supports filtering by target type, agent, collaboration component, and status.
|
|
3494
4045
|
*
|
|
@@ -3732,10 +4283,10 @@ class Client extends openapi_core_1.default {
|
|
|
3732
4283
|
return await this.listUsersWithOptions(workspaceId, request, headers, runtime);
|
|
3733
4284
|
}
|
|
3734
4285
|
/**
|
|
3735
|
-
* 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.
|
|
3736
4287
|
*
|
|
3737
4288
|
* @remarks
|
|
3738
|
-
* ##
|
|
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
|
|
3739
4290
|
*
|
|
3740
4291
|
* @param request - ListWorkspacesRequest
|
|
3741
4292
|
* @param headers - map
|
|
@@ -3772,10 +4323,10 @@ class Client extends openapi_core_1.default {
|
|
|
3772
4323
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.ListWorkspacesResponse({}));
|
|
3773
4324
|
}
|
|
3774
4325
|
/**
|
|
3775
|
-
* 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.
|
|
3776
4327
|
*
|
|
3777
4328
|
* @remarks
|
|
3778
|
-
* ##
|
|
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
|
|
3779
4330
|
*
|
|
3780
4331
|
* @param request - ListWorkspacesRequest
|
|
3781
4332
|
* @returns ListWorkspacesResponse
|
|
@@ -4388,9 +4939,65 @@ class Client extends openapi_core_1.default {
|
|
|
4388
4939
|
let headers = {};
|
|
4389
4940
|
return await this.updateAgentSpecWithOptions(workspaceId, agentSpecName, request, headers, runtime);
|
|
4390
4941
|
}
|
|
4942
|
+
/**
|
|
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
|
+
}
|
|
4391
4995
|
/**
|
|
4392
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.
|
|
4393
4997
|
*
|
|
4998
|
+
* @remarks
|
|
4999
|
+
* Updates the metadata or resource scope of a specified credential.
|
|
5000
|
+
*
|
|
4394
5001
|
* @param tmpReq - UpdateCredentialRequest
|
|
4395
5002
|
* @param headers - map
|
|
4396
5003
|
* @param runtime - runtime options for this request RuntimeOptions
|
|
@@ -4432,6 +5039,9 @@ class Client extends openapi_core_1.default {
|
|
|
4432
5039
|
/**
|
|
4433
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.
|
|
4434
5041
|
*
|
|
5042
|
+
* @remarks
|
|
5043
|
+
* Updates the metadata or resource scope of a specified credential.
|
|
5044
|
+
*
|
|
4435
5045
|
* @param request - UpdateCredentialRequest
|
|
4436
5046
|
* @returns UpdateCredentialResponse
|
|
4437
5047
|
*/
|
|
@@ -4499,7 +5109,7 @@ class Client extends openapi_core_1.default {
|
|
|
4499
5109
|
return await this.updateExternalAgentWithOptions(workspaceId, agentId, request, headers, runtime);
|
|
4500
5110
|
}
|
|
4501
5111
|
/**
|
|
4502
|
-
* 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.
|
|
4503
5113
|
*
|
|
4504
5114
|
* @param tmpReq - UpdateIdentityProviderRequest
|
|
4505
5115
|
* @param headers - map
|
|
@@ -4535,7 +5145,7 @@ class Client extends openapi_core_1.default {
|
|
|
4535
5145
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateIdentityProviderResponse({}));
|
|
4536
5146
|
}
|
|
4537
5147
|
/**
|
|
4538
|
-
* 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.
|
|
4539
5149
|
*
|
|
4540
5150
|
* @param request - UpdateIdentityProviderRequest
|
|
4541
5151
|
* @returns UpdateIdentityProviderResponse
|
|
@@ -4657,13 +5267,74 @@ class Client extends openapi_core_1.default {
|
|
|
4657
5267
|
let headers = {};
|
|
4658
5268
|
return await this.updateMcpWithOptions(workspaceId, mcpServerId, request, headers, runtime);
|
|
4659
5269
|
}
|
|
5270
|
+
/**
|
|
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
|
+
}
|
|
4660
5331
|
/**
|
|
4661
5332
|
* Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
|
|
4662
5333
|
*
|
|
4663
5334
|
* @remarks
|
|
4664
|
-
* This operation
|
|
4665
|
-
* Modifying only description does not refresh the model configuration of associated
|
|
4666
|
-
* A successful response indicates that the model configuration has been saved. It does not indicate that associated
|
|
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.
|
|
4667
5338
|
*
|
|
4668
5339
|
* @param tmpReq - UpdateModelRequest
|
|
4669
5340
|
* @param headers - map
|
|
@@ -4707,9 +5378,9 @@ class Client extends openapi_core_1.default {
|
|
|
4707
5378
|
* Updates the description, context token limit, maximum output token count, or capability configuration of a specified model.
|
|
4708
5379
|
*
|
|
4709
5380
|
* @remarks
|
|
4710
|
-
* This operation
|
|
4711
|
-
* Modifying only description does not refresh the model configuration of associated
|
|
4712
|
-
* A successful response indicates that the model configuration has been saved. It does not indicate that associated
|
|
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.
|
|
4713
5384
|
*
|
|
4714
5385
|
* @param request - UpdateModelRequest
|
|
4715
5386
|
* @returns UpdateModelResponse
|
|
@@ -5041,10 +5712,10 @@ class Client extends openapi_core_1.default {
|
|
|
5041
5712
|
return await this.updateUserWithOptions(workspaceId, agentCoreUserId, request, headers, runtime);
|
|
5042
5713
|
}
|
|
5043
5714
|
/**
|
|
5044
|
-
* 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.
|
|
5045
5716
|
*
|
|
5046
5717
|
* @remarks
|
|
5047
|
-
* ## 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.
|
|
5048
5719
|
*
|
|
5049
5720
|
* @param tmpReq - UpdateWorkspaceRequest
|
|
5050
5721
|
* @param headers - map
|
|
@@ -5085,10 +5756,10 @@ class Client extends openapi_core_1.default {
|
|
|
5085
5756
|
return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateWorkspaceResponse({}));
|
|
5086
5757
|
}
|
|
5087
5758
|
/**
|
|
5088
|
-
* 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.
|
|
5089
5760
|
*
|
|
5090
5761
|
* @remarks
|
|
5091
|
-
* ## 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.
|
|
5092
5763
|
*
|
|
5093
5764
|
* @param request - UpdateWorkspaceRequest
|
|
5094
5765
|
* @returns UpdateWorkspaceResponse
|
|
@@ -5208,6 +5879,107 @@ class Client extends openapi_core_1.default {
|
|
|
5208
5879
|
let headers = {};
|
|
5209
5880
|
return await this.uploadSkillViaOssWithOptions(workspaceId, request, headers, runtime);
|
|
5210
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
|
+
}
|
|
5211
5983
|
}
|
|
5212
5984
|
exports.default = Client;
|
|
5213
5985
|
//# sourceMappingURL=client.js.map
|