@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
|
@@ -0,0 +1,1430 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigAccessControl extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The AgentCore Credential referenced when mode is set to CREDENTIAL.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* credential-id
|
|
12
|
+
*/
|
|
13
|
+
credentialId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* Specifies whether to enable ingress access control.
|
|
17
|
+
*/
|
|
18
|
+
enabled?: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* @remarks
|
|
21
|
+
* The access control mode. Valid values:
|
|
22
|
+
* - ANONYMOUS: anonymous access.
|
|
23
|
+
* - CREDENTIAL: uses AgentCore access credentials.
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* CREDENTIAL
|
|
27
|
+
*/
|
|
28
|
+
mode?: string;
|
|
29
|
+
static names(): { [key: string]: string } {
|
|
30
|
+
return {
|
|
31
|
+
credentialId: 'credentialId',
|
|
32
|
+
enabled: 'enabled',
|
|
33
|
+
mode: 'mode',
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
static types(): { [key: string]: any } {
|
|
38
|
+
return {
|
|
39
|
+
credentialId: 'string',
|
|
40
|
+
enabled: 'boolean',
|
|
41
|
+
mode: 'string',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
validate() {
|
|
46
|
+
super.validate();
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
constructor(map?: { [key: string]: any }) {
|
|
50
|
+
super(map);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigAgentIdentityConfiguration extends $dara.Model {
|
|
55
|
+
/**
|
|
56
|
+
* @remarks
|
|
57
|
+
* Specifies whether to enable authorization.
|
|
58
|
+
*/
|
|
59
|
+
authorizationEnabled?: boolean;
|
|
60
|
+
/**
|
|
61
|
+
* @remarks
|
|
62
|
+
* The Alibaba Cloud Resource Name (ARN) of the credential provider.
|
|
63
|
+
*
|
|
64
|
+
* @example
|
|
65
|
+
* acs:agentidentity:cn-hangzhou:1234567890123456:provider/example
|
|
66
|
+
*/
|
|
67
|
+
credentialProviderArn?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @remarks
|
|
70
|
+
* The credential provider type.
|
|
71
|
+
*
|
|
72
|
+
* @example
|
|
73
|
+
* oauth2
|
|
74
|
+
*/
|
|
75
|
+
credentialProviderType?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* Specifies whether to enable Agent Identity.
|
|
79
|
+
*/
|
|
80
|
+
enabled?: boolean;
|
|
81
|
+
static names(): { [key: string]: string } {
|
|
82
|
+
return {
|
|
83
|
+
authorizationEnabled: 'authorizationEnabled',
|
|
84
|
+
credentialProviderArn: 'credentialProviderArn',
|
|
85
|
+
credentialProviderType: 'credentialProviderType',
|
|
86
|
+
enabled: 'enabled',
|
|
87
|
+
};
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
static types(): { [key: string]: any } {
|
|
91
|
+
return {
|
|
92
|
+
authorizationEnabled: 'boolean',
|
|
93
|
+
credentialProviderArn: 'string',
|
|
94
|
+
credentialProviderType: 'string',
|
|
95
|
+
enabled: 'boolean',
|
|
96
|
+
};
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
validate() {
|
|
100
|
+
super.validate();
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
constructor(map?: { [key: string]: any }) {
|
|
104
|
+
super(map);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigCodeConfiguration extends $dara.Model {
|
|
109
|
+
/**
|
|
110
|
+
* @remarks
|
|
111
|
+
* The temporary code package token returned by GetMcpCodePackageUploadUrl. Use this token to create or update a code deployment after completing the pre-signed upload.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* upload-token
|
|
115
|
+
*/
|
|
116
|
+
codePackageToken?: string;
|
|
117
|
+
/**
|
|
118
|
+
* @remarks
|
|
119
|
+
* The full startup command, with each argument passed in order by parameter boundary. For example, when using supergateway to start a stdio MCP, pass supergateway, --stdio, the full subcommand, and remaining arguments.
|
|
120
|
+
*/
|
|
121
|
+
command?: string[];
|
|
122
|
+
/**
|
|
123
|
+
* @remarks
|
|
124
|
+
* The code package runtime. Valid values: python3.13, nodejs22, and java17.
|
|
125
|
+
*
|
|
126
|
+
* @example
|
|
127
|
+
* python3.13
|
|
128
|
+
*/
|
|
129
|
+
language?: string;
|
|
130
|
+
static names(): { [key: string]: string } {
|
|
131
|
+
return {
|
|
132
|
+
codePackageToken: 'codePackageToken',
|
|
133
|
+
command: 'command',
|
|
134
|
+
language: 'language',
|
|
135
|
+
};
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
static types(): { [key: string]: any } {
|
|
139
|
+
return {
|
|
140
|
+
codePackageToken: 'string',
|
|
141
|
+
command: { 'type': 'array', 'itemType': 'string' },
|
|
142
|
+
language: 'string',
|
|
143
|
+
};
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
validate() {
|
|
147
|
+
if(Array.isArray(this.command)) {
|
|
148
|
+
$dara.Model.validateArray(this.command);
|
|
149
|
+
}
|
|
150
|
+
super.validate();
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
constructor(map?: { [key: string]: any }) {
|
|
154
|
+
super(map);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigContainerConfiguration extends $dara.Model {
|
|
159
|
+
/**
|
|
160
|
+
* @remarks
|
|
161
|
+
* The ACR instance ID.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
* cri-example
|
|
165
|
+
*/
|
|
166
|
+
acrInstanceId?: string;
|
|
167
|
+
/**
|
|
168
|
+
* @remarks
|
|
169
|
+
* The startup command.
|
|
170
|
+
*/
|
|
171
|
+
command?: string[];
|
|
172
|
+
/**
|
|
173
|
+
* @remarks
|
|
174
|
+
* The container entrypoint arguments.
|
|
175
|
+
*/
|
|
176
|
+
entrypoint?: string[];
|
|
177
|
+
/**
|
|
178
|
+
* @remarks
|
|
179
|
+
* The container image address.
|
|
180
|
+
*
|
|
181
|
+
* @example
|
|
182
|
+
* registry.cn-hangzhou.aliyuncs.com/example/mcp:1.0.0
|
|
183
|
+
*/
|
|
184
|
+
image?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @remarks
|
|
187
|
+
* The image registry type.
|
|
188
|
+
*
|
|
189
|
+
* @example
|
|
190
|
+
* ACR
|
|
191
|
+
*/
|
|
192
|
+
imageRegistryType?: string;
|
|
193
|
+
/**
|
|
194
|
+
* @remarks
|
|
195
|
+
* Custom containers must expose a standard MCP endpoint on their own. Set this parameter to SELF_HOSTED.
|
|
196
|
+
*
|
|
197
|
+
* @example
|
|
198
|
+
* SELF_HOSTED
|
|
199
|
+
*/
|
|
200
|
+
mcpRuntimeMode?: string;
|
|
201
|
+
/**
|
|
202
|
+
* @remarks
|
|
203
|
+
* Currently fixed to CONTAINER_IMAGE.
|
|
204
|
+
*
|
|
205
|
+
* @example
|
|
206
|
+
* CONTAINER_IMAGE
|
|
207
|
+
*/
|
|
208
|
+
sourceType?: string;
|
|
209
|
+
static names(): { [key: string]: string } {
|
|
210
|
+
return {
|
|
211
|
+
acrInstanceId: 'acrInstanceId',
|
|
212
|
+
command: 'command',
|
|
213
|
+
entrypoint: 'entrypoint',
|
|
214
|
+
image: 'image',
|
|
215
|
+
imageRegistryType: 'imageRegistryType',
|
|
216
|
+
mcpRuntimeMode: 'mcpRuntimeMode',
|
|
217
|
+
sourceType: 'sourceType',
|
|
218
|
+
};
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
static types(): { [key: string]: any } {
|
|
222
|
+
return {
|
|
223
|
+
acrInstanceId: 'string',
|
|
224
|
+
command: { 'type': 'array', 'itemType': 'string' },
|
|
225
|
+
entrypoint: { 'type': 'array', 'itemType': 'string' },
|
|
226
|
+
image: 'string',
|
|
227
|
+
imageRegistryType: 'string',
|
|
228
|
+
mcpRuntimeMode: 'string',
|
|
229
|
+
sourceType: 'string',
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
validate() {
|
|
234
|
+
if(Array.isArray(this.command)) {
|
|
235
|
+
$dara.Model.validateArray(this.command);
|
|
236
|
+
}
|
|
237
|
+
if(Array.isArray(this.entrypoint)) {
|
|
238
|
+
$dara.Model.validateArray(this.entrypoint);
|
|
239
|
+
}
|
|
240
|
+
super.validate();
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
constructor(map?: { [key: string]: any }) {
|
|
244
|
+
super(map);
|
|
245
|
+
}
|
|
246
|
+
}
|
|
247
|
+
|
|
248
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigHookConfigurationHooks extends $dara.Model {
|
|
249
|
+
/**
|
|
250
|
+
* @remarks
|
|
251
|
+
* The hook API version.
|
|
252
|
+
*
|
|
253
|
+
* @example
|
|
254
|
+
* 1.0
|
|
255
|
+
*/
|
|
256
|
+
apiVersion?: string;
|
|
257
|
+
/**
|
|
258
|
+
* @remarks
|
|
259
|
+
* The hook description.
|
|
260
|
+
*
|
|
261
|
+
* @example
|
|
262
|
+
* Log MCP tool invocations
|
|
263
|
+
*/
|
|
264
|
+
description?: string;
|
|
265
|
+
/**
|
|
266
|
+
* @remarks
|
|
267
|
+
* Specifies whether to enable the hook.
|
|
268
|
+
*/
|
|
269
|
+
enabled?: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* @remarks
|
|
272
|
+
* The hook event.
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* PRE_CALL_TOOL
|
|
276
|
+
*/
|
|
277
|
+
event?: string;
|
|
278
|
+
/**
|
|
279
|
+
* @remarks
|
|
280
|
+
* The hook request headers.
|
|
281
|
+
*/
|
|
282
|
+
headers?: { [key: string]: string };
|
|
283
|
+
/**
|
|
284
|
+
* @remarks
|
|
285
|
+
* The timeout period, in milliseconds.
|
|
286
|
+
*
|
|
287
|
+
* @example
|
|
288
|
+
* 3000
|
|
289
|
+
*/
|
|
290
|
+
timeout?: number;
|
|
291
|
+
/**
|
|
292
|
+
* @remarks
|
|
293
|
+
* The hook callback URL.
|
|
294
|
+
*
|
|
295
|
+
* @example
|
|
296
|
+
* https://example.com/mcp-hook
|
|
297
|
+
*/
|
|
298
|
+
url?: string;
|
|
299
|
+
static names(): { [key: string]: string } {
|
|
300
|
+
return {
|
|
301
|
+
apiVersion: 'apiVersion',
|
|
302
|
+
description: 'description',
|
|
303
|
+
enabled: 'enabled',
|
|
304
|
+
event: 'event',
|
|
305
|
+
headers: 'headers',
|
|
306
|
+
timeout: 'timeout',
|
|
307
|
+
url: 'url',
|
|
308
|
+
};
|
|
309
|
+
}
|
|
310
|
+
|
|
311
|
+
static types(): { [key: string]: any } {
|
|
312
|
+
return {
|
|
313
|
+
apiVersion: 'string',
|
|
314
|
+
description: 'string',
|
|
315
|
+
enabled: 'boolean',
|
|
316
|
+
event: 'string',
|
|
317
|
+
headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
318
|
+
timeout: 'number',
|
|
319
|
+
url: 'string',
|
|
320
|
+
};
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
validate() {
|
|
324
|
+
if(this.headers) {
|
|
325
|
+
$dara.Model.validateMap(this.headers);
|
|
326
|
+
}
|
|
327
|
+
super.validate();
|
|
328
|
+
}
|
|
329
|
+
|
|
330
|
+
constructor(map?: { [key: string]: any }) {
|
|
331
|
+
super(map);
|
|
332
|
+
}
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigHookConfiguration extends $dara.Model {
|
|
336
|
+
/**
|
|
337
|
+
* @remarks
|
|
338
|
+
* The PRE_LIST_TOOLS, PRE_CALL_TOOL, POST_LIST_TOOLS, and POST_CALL_TOOL hooks are executed in array order.
|
|
339
|
+
*/
|
|
340
|
+
hooks?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigHookConfigurationHooks[];
|
|
341
|
+
static names(): { [key: string]: string } {
|
|
342
|
+
return {
|
|
343
|
+
hooks: 'hooks',
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
|
|
347
|
+
static types(): { [key: string]: any } {
|
|
348
|
+
return {
|
|
349
|
+
hooks: { 'type': 'array', 'itemType': UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigHookConfigurationHooks },
|
|
350
|
+
};
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
validate() {
|
|
354
|
+
if(Array.isArray(this.hooks)) {
|
|
355
|
+
$dara.Model.validateArray(this.hooks);
|
|
356
|
+
}
|
|
357
|
+
super.validate();
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
constructor(map?: { [key: string]: any }) {
|
|
361
|
+
super(map);
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigLogConfiguration extends $dara.Model {
|
|
366
|
+
/**
|
|
367
|
+
* @remarks
|
|
368
|
+
* Specifies whether to collect instance metrics.
|
|
369
|
+
*/
|
|
370
|
+
enableInstanceMetrics?: boolean;
|
|
371
|
+
/**
|
|
372
|
+
* @remarks
|
|
373
|
+
* Specifies whether to collect request metrics.
|
|
374
|
+
*/
|
|
375
|
+
enableRequestMetrics?: boolean;
|
|
376
|
+
/**
|
|
377
|
+
* @remarks
|
|
378
|
+
* The log splitting begin rule for Function Compute (FC).
|
|
379
|
+
*
|
|
380
|
+
* @example
|
|
381
|
+
* DefaultRegex
|
|
382
|
+
*/
|
|
383
|
+
logBeginRule?: string;
|
|
384
|
+
/**
|
|
385
|
+
* @remarks
|
|
386
|
+
* The Logstore name.
|
|
387
|
+
*
|
|
388
|
+
* @example
|
|
389
|
+
* mcp-logs
|
|
390
|
+
*/
|
|
391
|
+
logstore?: string;
|
|
392
|
+
/**
|
|
393
|
+
* @remarks
|
|
394
|
+
* The Simple Log Service project name.
|
|
395
|
+
*
|
|
396
|
+
* @example
|
|
397
|
+
* agentcore-mcp-logs
|
|
398
|
+
*/
|
|
399
|
+
project?: string;
|
|
400
|
+
static names(): { [key: string]: string } {
|
|
401
|
+
return {
|
|
402
|
+
enableInstanceMetrics: 'enableInstanceMetrics',
|
|
403
|
+
enableRequestMetrics: 'enableRequestMetrics',
|
|
404
|
+
logBeginRule: 'logBeginRule',
|
|
405
|
+
logstore: 'logstore',
|
|
406
|
+
project: 'project',
|
|
407
|
+
};
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
static types(): { [key: string]: any } {
|
|
411
|
+
return {
|
|
412
|
+
enableInstanceMetrics: 'boolean',
|
|
413
|
+
enableRequestMetrics: 'boolean',
|
|
414
|
+
logBeginRule: 'string',
|
|
415
|
+
logstore: 'string',
|
|
416
|
+
project: 'string',
|
|
417
|
+
};
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
validate() {
|
|
421
|
+
super.validate();
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
constructor(map?: { [key: string]: any }) {
|
|
425
|
+
super(map);
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigMcpConfiguration extends $dara.Model {
|
|
430
|
+
/**
|
|
431
|
+
* @remarks
|
|
432
|
+
* The MCP endpoint path, such as /mcp or /sse.
|
|
433
|
+
*
|
|
434
|
+
* @example
|
|
435
|
+
* /mcp
|
|
436
|
+
*/
|
|
437
|
+
endpointPath?: string;
|
|
438
|
+
/**
|
|
439
|
+
* @remarks
|
|
440
|
+
* The number of concurrent sessions per instance. Currently fixed to 1.
|
|
441
|
+
*
|
|
442
|
+
* @example
|
|
443
|
+
* 1
|
|
444
|
+
*/
|
|
445
|
+
sessionConcurrencyPerInstance?: number;
|
|
446
|
+
/**
|
|
447
|
+
* @remarks
|
|
448
|
+
* The session idle timeout period. Unit: seconds. Default value: 1800.
|
|
449
|
+
*
|
|
450
|
+
* @example
|
|
451
|
+
* 1800
|
|
452
|
+
*/
|
|
453
|
+
sessionIdleTimeoutSeconds?: number;
|
|
454
|
+
/**
|
|
455
|
+
* @remarks
|
|
456
|
+
* The maximum session lifetime. Unit: seconds. Default value: 21600.
|
|
457
|
+
*
|
|
458
|
+
* @example
|
|
459
|
+
* 21600
|
|
460
|
+
*/
|
|
461
|
+
sessionMaxLifetimeSeconds?: number;
|
|
462
|
+
static names(): { [key: string]: string } {
|
|
463
|
+
return {
|
|
464
|
+
endpointPath: 'endpointPath',
|
|
465
|
+
sessionConcurrencyPerInstance: 'sessionConcurrencyPerInstance',
|
|
466
|
+
sessionIdleTimeoutSeconds: 'sessionIdleTimeoutSeconds',
|
|
467
|
+
sessionMaxLifetimeSeconds: 'sessionMaxLifetimeSeconds',
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
static types(): { [key: string]: any } {
|
|
472
|
+
return {
|
|
473
|
+
endpointPath: 'string',
|
|
474
|
+
sessionConcurrencyPerInstance: 'number',
|
|
475
|
+
sessionIdleTimeoutSeconds: 'number',
|
|
476
|
+
sessionMaxLifetimeSeconds: 'number',
|
|
477
|
+
};
|
|
478
|
+
}
|
|
479
|
+
|
|
480
|
+
validate() {
|
|
481
|
+
super.validate();
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
constructor(map?: { [key: string]: any }) {
|
|
485
|
+
super(map);
|
|
486
|
+
}
|
|
487
|
+
}
|
|
488
|
+
|
|
489
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNasConfigurationMountPoints extends $dara.Model {
|
|
490
|
+
/**
|
|
491
|
+
* @remarks
|
|
492
|
+
* Specifies whether to enable TLS.
|
|
493
|
+
*/
|
|
494
|
+
enableTls?: boolean;
|
|
495
|
+
/**
|
|
496
|
+
* @remarks
|
|
497
|
+
* The local mount directory.
|
|
498
|
+
*
|
|
499
|
+
* @example
|
|
500
|
+
* /mnt/data
|
|
501
|
+
*/
|
|
502
|
+
mountDir?: string;
|
|
503
|
+
/**
|
|
504
|
+
* @remarks
|
|
505
|
+
* The NAS server address.
|
|
506
|
+
*
|
|
507
|
+
* @example
|
|
508
|
+
* example.cn-hangzhou.nas.aliyuncs.com
|
|
509
|
+
*/
|
|
510
|
+
serverAddr?: string;
|
|
511
|
+
static names(): { [key: string]: string } {
|
|
512
|
+
return {
|
|
513
|
+
enableTls: 'enableTls',
|
|
514
|
+
mountDir: 'mountDir',
|
|
515
|
+
serverAddr: 'serverAddr',
|
|
516
|
+
};
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
static types(): { [key: string]: any } {
|
|
520
|
+
return {
|
|
521
|
+
enableTls: 'boolean',
|
|
522
|
+
mountDir: 'string',
|
|
523
|
+
serverAddr: 'string',
|
|
524
|
+
};
|
|
525
|
+
}
|
|
526
|
+
|
|
527
|
+
validate() {
|
|
528
|
+
super.validate();
|
|
529
|
+
}
|
|
530
|
+
|
|
531
|
+
constructor(map?: { [key: string]: any }) {
|
|
532
|
+
super(map);
|
|
533
|
+
}
|
|
534
|
+
}
|
|
535
|
+
|
|
536
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNasConfiguration extends $dara.Model {
|
|
537
|
+
/**
|
|
538
|
+
* @remarks
|
|
539
|
+
* The runtime user group ID.
|
|
540
|
+
*
|
|
541
|
+
* @example
|
|
542
|
+
* 1000
|
|
543
|
+
*/
|
|
544
|
+
groupId?: number;
|
|
545
|
+
/**
|
|
546
|
+
* @remarks
|
|
547
|
+
* The list of NAS mount points.
|
|
548
|
+
*/
|
|
549
|
+
mountPoints?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNasConfigurationMountPoints[];
|
|
550
|
+
/**
|
|
551
|
+
* @remarks
|
|
552
|
+
* The runtime user ID.
|
|
553
|
+
*
|
|
554
|
+
* @example
|
|
555
|
+
* 1000
|
|
556
|
+
*/
|
|
557
|
+
userId?: number;
|
|
558
|
+
static names(): { [key: string]: string } {
|
|
559
|
+
return {
|
|
560
|
+
groupId: 'groupId',
|
|
561
|
+
mountPoints: 'mountPoints',
|
|
562
|
+
userId: 'userId',
|
|
563
|
+
};
|
|
564
|
+
}
|
|
565
|
+
|
|
566
|
+
static types(): { [key: string]: any } {
|
|
567
|
+
return {
|
|
568
|
+
groupId: 'number',
|
|
569
|
+
mountPoints: { 'type': 'array', 'itemType': UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNasConfigurationMountPoints },
|
|
570
|
+
userId: 'number',
|
|
571
|
+
};
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
validate() {
|
|
575
|
+
if(Array.isArray(this.mountPoints)) {
|
|
576
|
+
$dara.Model.validateArray(this.mountPoints);
|
|
577
|
+
}
|
|
578
|
+
super.validate();
|
|
579
|
+
}
|
|
580
|
+
|
|
581
|
+
constructor(map?: { [key: string]: any }) {
|
|
582
|
+
super(map);
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNetworkConfiguration extends $dara.Model {
|
|
587
|
+
/**
|
|
588
|
+
* @remarks
|
|
589
|
+
* The network mode.
|
|
590
|
+
*
|
|
591
|
+
* @example
|
|
592
|
+
* PUBLIC
|
|
593
|
+
*/
|
|
594
|
+
networkMode?: string;
|
|
595
|
+
/**
|
|
596
|
+
* @remarks
|
|
597
|
+
* The security group ID.
|
|
598
|
+
*
|
|
599
|
+
* @example
|
|
600
|
+
* sg-example
|
|
601
|
+
*/
|
|
602
|
+
securityGroupId?: string;
|
|
603
|
+
/**
|
|
604
|
+
* @remarks
|
|
605
|
+
* The list of vSwitch IDs.
|
|
606
|
+
*/
|
|
607
|
+
vSwitchIds?: string[];
|
|
608
|
+
/**
|
|
609
|
+
* @remarks
|
|
610
|
+
* The VPC ID.
|
|
611
|
+
*
|
|
612
|
+
* @example
|
|
613
|
+
* vpc-example
|
|
614
|
+
*/
|
|
615
|
+
vpcId?: string;
|
|
616
|
+
static names(): { [key: string]: string } {
|
|
617
|
+
return {
|
|
618
|
+
networkMode: 'networkMode',
|
|
619
|
+
securityGroupId: 'securityGroupId',
|
|
620
|
+
vSwitchIds: 'vSwitchIds',
|
|
621
|
+
vpcId: 'vpcId',
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
static types(): { [key: string]: any } {
|
|
626
|
+
return {
|
|
627
|
+
networkMode: 'string',
|
|
628
|
+
securityGroupId: 'string',
|
|
629
|
+
vSwitchIds: { 'type': 'array', 'itemType': 'string' },
|
|
630
|
+
vpcId: 'string',
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
validate() {
|
|
635
|
+
if(Array.isArray(this.vSwitchIds)) {
|
|
636
|
+
$dara.Model.validateArray(this.vSwitchIds);
|
|
637
|
+
}
|
|
638
|
+
super.validate();
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
constructor(map?: { [key: string]: any }) {
|
|
642
|
+
super(map);
|
|
643
|
+
}
|
|
644
|
+
}
|
|
645
|
+
|
|
646
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigOssMountConfigurationMountPoints extends $dara.Model {
|
|
647
|
+
/**
|
|
648
|
+
* @remarks
|
|
649
|
+
* The OSS bucket name.
|
|
650
|
+
*
|
|
651
|
+
* @example
|
|
652
|
+
* example-bucket
|
|
653
|
+
*/
|
|
654
|
+
bucketName?: string;
|
|
655
|
+
/**
|
|
656
|
+
* @remarks
|
|
657
|
+
* The OSS bucket path.
|
|
658
|
+
*
|
|
659
|
+
* @example
|
|
660
|
+
* /data
|
|
661
|
+
*/
|
|
662
|
+
bucketPath?: string;
|
|
663
|
+
/**
|
|
664
|
+
* @remarks
|
|
665
|
+
* The OSS service endpoint.
|
|
666
|
+
*
|
|
667
|
+
* @example
|
|
668
|
+
* https://oss-cn-hangzhou.aliyuncs.com
|
|
669
|
+
*/
|
|
670
|
+
endpoint?: string;
|
|
671
|
+
/**
|
|
672
|
+
* @remarks
|
|
673
|
+
* The local mount directory.
|
|
674
|
+
*
|
|
675
|
+
* @example
|
|
676
|
+
* /mnt/data
|
|
677
|
+
*/
|
|
678
|
+
mountDir?: string;
|
|
679
|
+
/**
|
|
680
|
+
* @remarks
|
|
681
|
+
* Specifies whether the mount point is read-only.
|
|
682
|
+
*/
|
|
683
|
+
readOnly?: boolean;
|
|
684
|
+
static names(): { [key: string]: string } {
|
|
685
|
+
return {
|
|
686
|
+
bucketName: 'bucketName',
|
|
687
|
+
bucketPath: 'bucketPath',
|
|
688
|
+
endpoint: 'endpoint',
|
|
689
|
+
mountDir: 'mountDir',
|
|
690
|
+
readOnly: 'readOnly',
|
|
691
|
+
};
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
static types(): { [key: string]: any } {
|
|
695
|
+
return {
|
|
696
|
+
bucketName: 'string',
|
|
697
|
+
bucketPath: 'string',
|
|
698
|
+
endpoint: 'string',
|
|
699
|
+
mountDir: 'string',
|
|
700
|
+
readOnly: 'boolean',
|
|
701
|
+
};
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
validate() {
|
|
705
|
+
super.validate();
|
|
706
|
+
}
|
|
707
|
+
|
|
708
|
+
constructor(map?: { [key: string]: any }) {
|
|
709
|
+
super(map);
|
|
710
|
+
}
|
|
711
|
+
}
|
|
712
|
+
|
|
713
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigOssMountConfiguration extends $dara.Model {
|
|
714
|
+
/**
|
|
715
|
+
* @remarks
|
|
716
|
+
* The list of OSS mount points.
|
|
717
|
+
*/
|
|
718
|
+
mountPoints?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigOssMountConfigurationMountPoints[];
|
|
719
|
+
static names(): { [key: string]: string } {
|
|
720
|
+
return {
|
|
721
|
+
mountPoints: 'mountPoints',
|
|
722
|
+
};
|
|
723
|
+
}
|
|
724
|
+
|
|
725
|
+
static types(): { [key: string]: any } {
|
|
726
|
+
return {
|
|
727
|
+
mountPoints: { 'type': 'array', 'itemType': UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigOssMountConfigurationMountPoints },
|
|
728
|
+
};
|
|
729
|
+
}
|
|
730
|
+
|
|
731
|
+
validate() {
|
|
732
|
+
if(Array.isArray(this.mountPoints)) {
|
|
733
|
+
$dara.Model.validateArray(this.mountPoints);
|
|
734
|
+
}
|
|
735
|
+
super.validate();
|
|
736
|
+
}
|
|
737
|
+
|
|
738
|
+
constructor(map?: { [key: string]: any }) {
|
|
739
|
+
super(map);
|
|
740
|
+
}
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigParameterTransformConfiguration extends $dara.Model {
|
|
744
|
+
/**
|
|
745
|
+
* @remarks
|
|
746
|
+
* Specifies whether to enable parameter transform and result enhancement.
|
|
747
|
+
*/
|
|
748
|
+
enabled?: boolean;
|
|
749
|
+
/**
|
|
750
|
+
* @remarks
|
|
751
|
+
* The reserved reference to the parameter transform and result enhancement rule set.
|
|
752
|
+
*
|
|
753
|
+
* @example
|
|
754
|
+
* rules-1
|
|
755
|
+
*/
|
|
756
|
+
ruleSetId?: string;
|
|
757
|
+
/**
|
|
758
|
+
* @remarks
|
|
759
|
+
* The transform rule version.
|
|
760
|
+
*
|
|
761
|
+
* @example
|
|
762
|
+
* 1.0
|
|
763
|
+
*/
|
|
764
|
+
version?: string;
|
|
765
|
+
static names(): { [key: string]: string } {
|
|
766
|
+
return {
|
|
767
|
+
enabled: 'enabled',
|
|
768
|
+
ruleSetId: 'ruleSetId',
|
|
769
|
+
version: 'version',
|
|
770
|
+
};
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
static types(): { [key: string]: any } {
|
|
774
|
+
return {
|
|
775
|
+
enabled: 'boolean',
|
|
776
|
+
ruleSetId: 'string',
|
|
777
|
+
version: 'string',
|
|
778
|
+
};
|
|
779
|
+
}
|
|
780
|
+
|
|
781
|
+
validate() {
|
|
782
|
+
super.validate();
|
|
783
|
+
}
|
|
784
|
+
|
|
785
|
+
constructor(map?: { [key: string]: any }) {
|
|
786
|
+
super(map);
|
|
787
|
+
}
|
|
788
|
+
}
|
|
789
|
+
|
|
790
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigProxyConfiguration extends $dara.Model {
|
|
791
|
+
/**
|
|
792
|
+
* @remarks
|
|
793
|
+
* Specifies whether to enable the MCP proxy.
|
|
794
|
+
*/
|
|
795
|
+
enabled?: boolean;
|
|
796
|
+
static names(): { [key: string]: string } {
|
|
797
|
+
return {
|
|
798
|
+
enabled: 'enabled',
|
|
799
|
+
};
|
|
800
|
+
}
|
|
801
|
+
|
|
802
|
+
static types(): { [key: string]: any } {
|
|
803
|
+
return {
|
|
804
|
+
enabled: 'boolean',
|
|
805
|
+
};
|
|
806
|
+
}
|
|
807
|
+
|
|
808
|
+
validate() {
|
|
809
|
+
super.validate();
|
|
810
|
+
}
|
|
811
|
+
|
|
812
|
+
constructor(map?: { [key: string]: any }) {
|
|
813
|
+
super(map);
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigRuntimeConfiguration extends $dara.Model {
|
|
818
|
+
/**
|
|
819
|
+
* @remarks
|
|
820
|
+
* The number of vCPUs. Default value: 0.25.
|
|
821
|
+
*
|
|
822
|
+
* @example
|
|
823
|
+
* 0.25
|
|
824
|
+
*/
|
|
825
|
+
cpu?: number;
|
|
826
|
+
/**
|
|
827
|
+
* @remarks
|
|
828
|
+
* The ephemeral disk size. Unit: MB. Valid values: 512 and 10240.
|
|
829
|
+
*
|
|
830
|
+
* @example
|
|
831
|
+
* 512
|
|
832
|
+
*/
|
|
833
|
+
diskSize?: number;
|
|
834
|
+
/**
|
|
835
|
+
* @remarks
|
|
836
|
+
* The environment variables.
|
|
837
|
+
*/
|
|
838
|
+
environmentVariables?: { [key: string]: string };
|
|
839
|
+
/**
|
|
840
|
+
* @remarks
|
|
841
|
+
* The ARN of the RAM role used by user code to access downstream Alibaba Cloud resources.
|
|
842
|
+
*
|
|
843
|
+
* @example
|
|
844
|
+
* acs:ram::1234567890123456:role/agentcore-mcp-execution
|
|
845
|
+
*/
|
|
846
|
+
executionRoleArn?: string;
|
|
847
|
+
/**
|
|
848
|
+
* @remarks
|
|
849
|
+
* The maximum number of concurrent requests per instance. Default value: 200.
|
|
850
|
+
*
|
|
851
|
+
* @example
|
|
852
|
+
* 200
|
|
853
|
+
*/
|
|
854
|
+
instanceConcurrency?: number;
|
|
855
|
+
/**
|
|
856
|
+
* @remarks
|
|
857
|
+
* The memory size. Unit: MB. Default value: 512.
|
|
858
|
+
*
|
|
859
|
+
* @example
|
|
860
|
+
* 512
|
|
861
|
+
*/
|
|
862
|
+
memory?: number;
|
|
863
|
+
/**
|
|
864
|
+
* @remarks
|
|
865
|
+
* The service port. Default value: 9000.
|
|
866
|
+
*
|
|
867
|
+
* @example
|
|
868
|
+
* 9000
|
|
869
|
+
*/
|
|
870
|
+
port?: number;
|
|
871
|
+
/**
|
|
872
|
+
* @remarks
|
|
873
|
+
* The function timeout period. Unit: seconds. Default value: 300.
|
|
874
|
+
*
|
|
875
|
+
* @example
|
|
876
|
+
* 300
|
|
877
|
+
*/
|
|
878
|
+
timeout?: number;
|
|
879
|
+
static names(): { [key: string]: string } {
|
|
880
|
+
return {
|
|
881
|
+
cpu: 'cpu',
|
|
882
|
+
diskSize: 'diskSize',
|
|
883
|
+
environmentVariables: 'environmentVariables',
|
|
884
|
+
executionRoleArn: 'executionRoleArn',
|
|
885
|
+
instanceConcurrency: 'instanceConcurrency',
|
|
886
|
+
memory: 'memory',
|
|
887
|
+
port: 'port',
|
|
888
|
+
timeout: 'timeout',
|
|
889
|
+
};
|
|
890
|
+
}
|
|
891
|
+
|
|
892
|
+
static types(): { [key: string]: any } {
|
|
893
|
+
return {
|
|
894
|
+
cpu: 'number',
|
|
895
|
+
diskSize: 'number',
|
|
896
|
+
environmentVariables: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
|
|
897
|
+
executionRoleArn: 'string',
|
|
898
|
+
instanceConcurrency: 'number',
|
|
899
|
+
memory: 'number',
|
|
900
|
+
port: 'number',
|
|
901
|
+
timeout: 'number',
|
|
902
|
+
};
|
|
903
|
+
}
|
|
904
|
+
|
|
905
|
+
validate() {
|
|
906
|
+
if(this.environmentVariables) {
|
|
907
|
+
$dara.Model.validateMap(this.environmentVariables);
|
|
908
|
+
}
|
|
909
|
+
super.validate();
|
|
910
|
+
}
|
|
911
|
+
|
|
912
|
+
constructor(map?: { [key: string]: any }) {
|
|
913
|
+
super(map);
|
|
914
|
+
}
|
|
915
|
+
}
|
|
916
|
+
|
|
917
|
+
export class UpdateMcpTemplateConfigResponseBodyDataDeploymentConfig extends $dara.Model {
|
|
918
|
+
/**
|
|
919
|
+
* @remarks
|
|
920
|
+
* The MCP ingress access control configuration.
|
|
921
|
+
*/
|
|
922
|
+
accessControl?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigAccessControl;
|
|
923
|
+
/**
|
|
924
|
+
* @remarks
|
|
925
|
+
* The Agent Identity configuration.
|
|
926
|
+
*/
|
|
927
|
+
agentIdentityConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigAgentIdentityConfiguration;
|
|
928
|
+
/**
|
|
929
|
+
* @remarks
|
|
930
|
+
* Valid values: Code (ZIP code package) and Container (custom container).
|
|
931
|
+
*
|
|
932
|
+
* @example
|
|
933
|
+
* Code
|
|
934
|
+
*/
|
|
935
|
+
artifactType?: string;
|
|
936
|
+
/**
|
|
937
|
+
* @remarks
|
|
938
|
+
* The code package configuration.
|
|
939
|
+
*/
|
|
940
|
+
codeConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigCodeConfiguration;
|
|
941
|
+
/**
|
|
942
|
+
* @remarks
|
|
943
|
+
* The custom container configuration.
|
|
944
|
+
*/
|
|
945
|
+
containerConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigContainerConfiguration;
|
|
946
|
+
/**
|
|
947
|
+
* @remarks
|
|
948
|
+
* The hook configuration.
|
|
949
|
+
*/
|
|
950
|
+
hookConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigHookConfiguration;
|
|
951
|
+
/**
|
|
952
|
+
* @remarks
|
|
953
|
+
* The log configuration.
|
|
954
|
+
*/
|
|
955
|
+
logConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigLogConfiguration;
|
|
956
|
+
/**
|
|
957
|
+
* @remarks
|
|
958
|
+
* The MCP session configuration.
|
|
959
|
+
*/
|
|
960
|
+
mcpConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigMcpConfiguration;
|
|
961
|
+
/**
|
|
962
|
+
* @remarks
|
|
963
|
+
* The NAS storage configuration.
|
|
964
|
+
*/
|
|
965
|
+
nasConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNasConfiguration;
|
|
966
|
+
/**
|
|
967
|
+
* @remarks
|
|
968
|
+
* The network configuration.
|
|
969
|
+
*/
|
|
970
|
+
networkConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNetworkConfiguration;
|
|
971
|
+
/**
|
|
972
|
+
* @remarks
|
|
973
|
+
* The OSS mount configuration.
|
|
974
|
+
*/
|
|
975
|
+
ossMountConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigOssMountConfiguration;
|
|
976
|
+
/**
|
|
977
|
+
* @remarks
|
|
978
|
+
* The parameter transform and result enhancement configuration.
|
|
979
|
+
*/
|
|
980
|
+
parameterTransformConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigParameterTransformConfiguration;
|
|
981
|
+
/**
|
|
982
|
+
* @remarks
|
|
983
|
+
* The MCP proxy configuration.
|
|
984
|
+
*/
|
|
985
|
+
proxyConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigProxyConfiguration;
|
|
986
|
+
/**
|
|
987
|
+
* @remarks
|
|
988
|
+
* The runtime and resource configuration.
|
|
989
|
+
*/
|
|
990
|
+
runtimeConfiguration?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigRuntimeConfiguration;
|
|
991
|
+
static names(): { [key: string]: string } {
|
|
992
|
+
return {
|
|
993
|
+
accessControl: 'accessControl',
|
|
994
|
+
agentIdentityConfiguration: 'agentIdentityConfiguration',
|
|
995
|
+
artifactType: 'artifactType',
|
|
996
|
+
codeConfiguration: 'codeConfiguration',
|
|
997
|
+
containerConfiguration: 'containerConfiguration',
|
|
998
|
+
hookConfiguration: 'hookConfiguration',
|
|
999
|
+
logConfiguration: 'logConfiguration',
|
|
1000
|
+
mcpConfiguration: 'mcpConfiguration',
|
|
1001
|
+
nasConfiguration: 'nasConfiguration',
|
|
1002
|
+
networkConfiguration: 'networkConfiguration',
|
|
1003
|
+
ossMountConfiguration: 'ossMountConfiguration',
|
|
1004
|
+
parameterTransformConfiguration: 'parameterTransformConfiguration',
|
|
1005
|
+
proxyConfiguration: 'proxyConfiguration',
|
|
1006
|
+
runtimeConfiguration: 'runtimeConfiguration',
|
|
1007
|
+
};
|
|
1008
|
+
}
|
|
1009
|
+
|
|
1010
|
+
static types(): { [key: string]: any } {
|
|
1011
|
+
return {
|
|
1012
|
+
accessControl: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigAccessControl,
|
|
1013
|
+
agentIdentityConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigAgentIdentityConfiguration,
|
|
1014
|
+
artifactType: 'string',
|
|
1015
|
+
codeConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigCodeConfiguration,
|
|
1016
|
+
containerConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigContainerConfiguration,
|
|
1017
|
+
hookConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigHookConfiguration,
|
|
1018
|
+
logConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigLogConfiguration,
|
|
1019
|
+
mcpConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigMcpConfiguration,
|
|
1020
|
+
nasConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNasConfiguration,
|
|
1021
|
+
networkConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigNetworkConfiguration,
|
|
1022
|
+
ossMountConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigOssMountConfiguration,
|
|
1023
|
+
parameterTransformConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigParameterTransformConfiguration,
|
|
1024
|
+
proxyConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigProxyConfiguration,
|
|
1025
|
+
runtimeConfiguration: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfigRuntimeConfiguration,
|
|
1026
|
+
};
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
validate() {
|
|
1030
|
+
if(this.accessControl && typeof (this.accessControl as any).validate === 'function') {
|
|
1031
|
+
(this.accessControl as any).validate();
|
|
1032
|
+
}
|
|
1033
|
+
if(this.agentIdentityConfiguration && typeof (this.agentIdentityConfiguration as any).validate === 'function') {
|
|
1034
|
+
(this.agentIdentityConfiguration as any).validate();
|
|
1035
|
+
}
|
|
1036
|
+
if(this.codeConfiguration && typeof (this.codeConfiguration as any).validate === 'function') {
|
|
1037
|
+
(this.codeConfiguration as any).validate();
|
|
1038
|
+
}
|
|
1039
|
+
if(this.containerConfiguration && typeof (this.containerConfiguration as any).validate === 'function') {
|
|
1040
|
+
(this.containerConfiguration as any).validate();
|
|
1041
|
+
}
|
|
1042
|
+
if(this.hookConfiguration && typeof (this.hookConfiguration as any).validate === 'function') {
|
|
1043
|
+
(this.hookConfiguration as any).validate();
|
|
1044
|
+
}
|
|
1045
|
+
if(this.logConfiguration && typeof (this.logConfiguration as any).validate === 'function') {
|
|
1046
|
+
(this.logConfiguration as any).validate();
|
|
1047
|
+
}
|
|
1048
|
+
if(this.mcpConfiguration && typeof (this.mcpConfiguration as any).validate === 'function') {
|
|
1049
|
+
(this.mcpConfiguration as any).validate();
|
|
1050
|
+
}
|
|
1051
|
+
if(this.nasConfiguration && typeof (this.nasConfiguration as any).validate === 'function') {
|
|
1052
|
+
(this.nasConfiguration as any).validate();
|
|
1053
|
+
}
|
|
1054
|
+
if(this.networkConfiguration && typeof (this.networkConfiguration as any).validate === 'function') {
|
|
1055
|
+
(this.networkConfiguration as any).validate();
|
|
1056
|
+
}
|
|
1057
|
+
if(this.ossMountConfiguration && typeof (this.ossMountConfiguration as any).validate === 'function') {
|
|
1058
|
+
(this.ossMountConfiguration as any).validate();
|
|
1059
|
+
}
|
|
1060
|
+
if(this.parameterTransformConfiguration && typeof (this.parameterTransformConfiguration as any).validate === 'function') {
|
|
1061
|
+
(this.parameterTransformConfiguration as any).validate();
|
|
1062
|
+
}
|
|
1063
|
+
if(this.proxyConfiguration && typeof (this.proxyConfiguration as any).validate === 'function') {
|
|
1064
|
+
(this.proxyConfiguration as any).validate();
|
|
1065
|
+
}
|
|
1066
|
+
if(this.runtimeConfiguration && typeof (this.runtimeConfiguration as any).validate === 'function') {
|
|
1067
|
+
(this.runtimeConfiguration as any).validate();
|
|
1068
|
+
}
|
|
1069
|
+
super.validate();
|
|
1070
|
+
}
|
|
1071
|
+
|
|
1072
|
+
constructor(map?: { [key: string]: any }) {
|
|
1073
|
+
super(map);
|
|
1074
|
+
}
|
|
1075
|
+
}
|
|
1076
|
+
|
|
1077
|
+
export class UpdateMcpTemplateConfigResponseBodyDataMarketSource extends $dara.Model {
|
|
1078
|
+
/**
|
|
1079
|
+
* @remarks
|
|
1080
|
+
* The MCP marketplace template ID.
|
|
1081
|
+
*
|
|
1082
|
+
* @example
|
|
1083
|
+
* market-1
|
|
1084
|
+
*/
|
|
1085
|
+
marketItemId?: string;
|
|
1086
|
+
static names(): { [key: string]: string } {
|
|
1087
|
+
return {
|
|
1088
|
+
marketItemId: 'marketItemId',
|
|
1089
|
+
};
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
static types(): { [key: string]: any } {
|
|
1093
|
+
return {
|
|
1094
|
+
marketItemId: 'string',
|
|
1095
|
+
};
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
validate() {
|
|
1099
|
+
super.validate();
|
|
1100
|
+
}
|
|
1101
|
+
|
|
1102
|
+
constructor(map?: { [key: string]: any }) {
|
|
1103
|
+
super(map);
|
|
1104
|
+
}
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
export class UpdateMcpTemplateConfigResponseBodyDataTemplate extends $dara.Model {
|
|
1108
|
+
/**
|
|
1109
|
+
* @remarks
|
|
1110
|
+
* The template version that is currently applied to the MCP service.
|
|
1111
|
+
*
|
|
1112
|
+
* @example
|
|
1113
|
+
* 1.0.0
|
|
1114
|
+
*/
|
|
1115
|
+
appliedTemplateVersion?: string;
|
|
1116
|
+
/**
|
|
1117
|
+
* @remarks
|
|
1118
|
+
* The latest template version.
|
|
1119
|
+
*
|
|
1120
|
+
* @example
|
|
1121
|
+
* 1.1.0
|
|
1122
|
+
*/
|
|
1123
|
+
latestTemplateVersion?: string;
|
|
1124
|
+
/**
|
|
1125
|
+
* @remarks
|
|
1126
|
+
* The template schema version.
|
|
1127
|
+
*
|
|
1128
|
+
* @example
|
|
1129
|
+
* 1.0
|
|
1130
|
+
*/
|
|
1131
|
+
schemaVersion?: string;
|
|
1132
|
+
/**
|
|
1133
|
+
* @remarks
|
|
1134
|
+
* The template input schema, represented as a JSON Schema string.
|
|
1135
|
+
*
|
|
1136
|
+
* @example
|
|
1137
|
+
* {"type":"object","properties":{"addresses":{"type":"array","items":{"type":"string"}}}}
|
|
1138
|
+
*/
|
|
1139
|
+
templateInputSchema?: string;
|
|
1140
|
+
/**
|
|
1141
|
+
* @remarks
|
|
1142
|
+
* Indicates whether a template version update is available.
|
|
1143
|
+
*/
|
|
1144
|
+
updateAvailable?: boolean;
|
|
1145
|
+
static names(): { [key: string]: string } {
|
|
1146
|
+
return {
|
|
1147
|
+
appliedTemplateVersion: 'appliedTemplateVersion',
|
|
1148
|
+
latestTemplateVersion: 'latestTemplateVersion',
|
|
1149
|
+
schemaVersion: 'schemaVersion',
|
|
1150
|
+
templateInputSchema: 'templateInputSchema',
|
|
1151
|
+
updateAvailable: 'updateAvailable',
|
|
1152
|
+
};
|
|
1153
|
+
}
|
|
1154
|
+
|
|
1155
|
+
static types(): { [key: string]: any } {
|
|
1156
|
+
return {
|
|
1157
|
+
appliedTemplateVersion: 'string',
|
|
1158
|
+
latestTemplateVersion: 'string',
|
|
1159
|
+
schemaVersion: 'string',
|
|
1160
|
+
templateInputSchema: 'string',
|
|
1161
|
+
updateAvailable: 'boolean',
|
|
1162
|
+
};
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
validate() {
|
|
1166
|
+
super.validate();
|
|
1167
|
+
}
|
|
1168
|
+
|
|
1169
|
+
constructor(map?: { [key: string]: any }) {
|
|
1170
|
+
super(map);
|
|
1171
|
+
}
|
|
1172
|
+
}
|
|
1173
|
+
|
|
1174
|
+
export class UpdateMcpTemplateConfigResponseBodyData extends $dara.Model {
|
|
1175
|
+
/**
|
|
1176
|
+
* @remarks
|
|
1177
|
+
* The list of remote MCP service addresses.
|
|
1178
|
+
*/
|
|
1179
|
+
addresses?: string[];
|
|
1180
|
+
/**
|
|
1181
|
+
* @remarks
|
|
1182
|
+
* The custom tags. Multiple tags are supported.
|
|
1183
|
+
*/
|
|
1184
|
+
customTags?: string[];
|
|
1185
|
+
/**
|
|
1186
|
+
* @remarks
|
|
1187
|
+
* The deployment configuration for code-deployed MCP.
|
|
1188
|
+
*/
|
|
1189
|
+
deploymentConfig?: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfig;
|
|
1190
|
+
/**
|
|
1191
|
+
* @remarks
|
|
1192
|
+
* The description of the MCP service.
|
|
1193
|
+
*
|
|
1194
|
+
* @example
|
|
1195
|
+
* An MCP service for querying the knowledge base
|
|
1196
|
+
*/
|
|
1197
|
+
description?: string;
|
|
1198
|
+
/**
|
|
1199
|
+
* @remarks
|
|
1200
|
+
* The MCP service endpoint.
|
|
1201
|
+
*
|
|
1202
|
+
* @example
|
|
1203
|
+
* https://example.com/mcp
|
|
1204
|
+
*/
|
|
1205
|
+
endpoint?: string;
|
|
1206
|
+
/**
|
|
1207
|
+
* @remarks
|
|
1208
|
+
* The Function Compute function name that corresponds to the code deployment MCP.
|
|
1209
|
+
*
|
|
1210
|
+
* @example
|
|
1211
|
+
* agentcore-mcp-example
|
|
1212
|
+
*/
|
|
1213
|
+
functionName?: string;
|
|
1214
|
+
/**
|
|
1215
|
+
* @remarks
|
|
1216
|
+
* The marketplace template from which the MCP service originates.
|
|
1217
|
+
*/
|
|
1218
|
+
marketSource?: UpdateMcpTemplateConfigResponseBodyDataMarketSource;
|
|
1219
|
+
/**
|
|
1220
|
+
* @remarks
|
|
1221
|
+
* The MCP server ID.
|
|
1222
|
+
*
|
|
1223
|
+
* @example
|
|
1224
|
+
* mcp-server-id
|
|
1225
|
+
*/
|
|
1226
|
+
mcpServerId?: string;
|
|
1227
|
+
/**
|
|
1228
|
+
* @remarks
|
|
1229
|
+
* The MCP service name.
|
|
1230
|
+
*
|
|
1231
|
+
* @example
|
|
1232
|
+
* my-mcp-server
|
|
1233
|
+
*/
|
|
1234
|
+
name?: string;
|
|
1235
|
+
/**
|
|
1236
|
+
* @remarks
|
|
1237
|
+
* The official usage tag, managed by the server.
|
|
1238
|
+
*
|
|
1239
|
+
* @example
|
|
1240
|
+
* KNOWLEDGE_BASE
|
|
1241
|
+
*/
|
|
1242
|
+
officialTag?: string;
|
|
1243
|
+
/**
|
|
1244
|
+
* @remarks
|
|
1245
|
+
* The MCP protocol.
|
|
1246
|
+
*
|
|
1247
|
+
* @example
|
|
1248
|
+
* StreamableHTTP
|
|
1249
|
+
*/
|
|
1250
|
+
protocol?: string;
|
|
1251
|
+
/**
|
|
1252
|
+
* @remarks
|
|
1253
|
+
* The MCP service status.
|
|
1254
|
+
*
|
|
1255
|
+
* @example
|
|
1256
|
+
* READY
|
|
1257
|
+
*/
|
|
1258
|
+
status?: string;
|
|
1259
|
+
/**
|
|
1260
|
+
* @remarks
|
|
1261
|
+
* The reason why the MCP service is in the current status.
|
|
1262
|
+
*
|
|
1263
|
+
* @example
|
|
1264
|
+
* Code package deployment failed
|
|
1265
|
+
*/
|
|
1266
|
+
statusReason?: string;
|
|
1267
|
+
/**
|
|
1268
|
+
* @remarks
|
|
1269
|
+
* The template version and input schema bound to the MCP service.
|
|
1270
|
+
*/
|
|
1271
|
+
template?: UpdateMcpTemplateConfigResponseBodyDataTemplate;
|
|
1272
|
+
/**
|
|
1273
|
+
* @remarks
|
|
1274
|
+
* The MCP type. Valid values:
|
|
1275
|
+
* - DIRECT_PROXY: direct proxy.
|
|
1276
|
+
* - HTTP_TO_MCP: HTTP-to-MCP conversion.
|
|
1277
|
+
* - CODE_PACKAGE: code deployment.
|
|
1278
|
+
*
|
|
1279
|
+
* @example
|
|
1280
|
+
* CODE_PACKAGE
|
|
1281
|
+
*/
|
|
1282
|
+
type?: string;
|
|
1283
|
+
/**
|
|
1284
|
+
* @remarks
|
|
1285
|
+
* Indicates whether the MCP service is still bound by the usage constraints of the official template.
|
|
1286
|
+
*/
|
|
1287
|
+
usageActive?: boolean;
|
|
1288
|
+
static names(): { [key: string]: string } {
|
|
1289
|
+
return {
|
|
1290
|
+
addresses: 'addresses',
|
|
1291
|
+
customTags: 'customTags',
|
|
1292
|
+
deploymentConfig: 'deploymentConfig',
|
|
1293
|
+
description: 'description',
|
|
1294
|
+
endpoint: 'endpoint',
|
|
1295
|
+
functionName: 'functionName',
|
|
1296
|
+
marketSource: 'marketSource',
|
|
1297
|
+
mcpServerId: 'mcpServerId',
|
|
1298
|
+
name: 'name',
|
|
1299
|
+
officialTag: 'officialTag',
|
|
1300
|
+
protocol: 'protocol',
|
|
1301
|
+
status: 'status',
|
|
1302
|
+
statusReason: 'statusReason',
|
|
1303
|
+
template: 'template',
|
|
1304
|
+
type: 'type',
|
|
1305
|
+
usageActive: 'usageActive',
|
|
1306
|
+
};
|
|
1307
|
+
}
|
|
1308
|
+
|
|
1309
|
+
static types(): { [key: string]: any } {
|
|
1310
|
+
return {
|
|
1311
|
+
addresses: { 'type': 'array', 'itemType': 'string' },
|
|
1312
|
+
customTags: { 'type': 'array', 'itemType': 'string' },
|
|
1313
|
+
deploymentConfig: UpdateMcpTemplateConfigResponseBodyDataDeploymentConfig,
|
|
1314
|
+
description: 'string',
|
|
1315
|
+
endpoint: 'string',
|
|
1316
|
+
functionName: 'string',
|
|
1317
|
+
marketSource: UpdateMcpTemplateConfigResponseBodyDataMarketSource,
|
|
1318
|
+
mcpServerId: 'string',
|
|
1319
|
+
name: 'string',
|
|
1320
|
+
officialTag: 'string',
|
|
1321
|
+
protocol: 'string',
|
|
1322
|
+
status: 'string',
|
|
1323
|
+
statusReason: 'string',
|
|
1324
|
+
template: UpdateMcpTemplateConfigResponseBodyDataTemplate,
|
|
1325
|
+
type: 'string',
|
|
1326
|
+
usageActive: 'boolean',
|
|
1327
|
+
};
|
|
1328
|
+
}
|
|
1329
|
+
|
|
1330
|
+
validate() {
|
|
1331
|
+
if(Array.isArray(this.addresses)) {
|
|
1332
|
+
$dara.Model.validateArray(this.addresses);
|
|
1333
|
+
}
|
|
1334
|
+
if(Array.isArray(this.customTags)) {
|
|
1335
|
+
$dara.Model.validateArray(this.customTags);
|
|
1336
|
+
}
|
|
1337
|
+
if(this.deploymentConfig && typeof (this.deploymentConfig as any).validate === 'function') {
|
|
1338
|
+
(this.deploymentConfig as any).validate();
|
|
1339
|
+
}
|
|
1340
|
+
if(this.marketSource && typeof (this.marketSource as any).validate === 'function') {
|
|
1341
|
+
(this.marketSource as any).validate();
|
|
1342
|
+
}
|
|
1343
|
+
if(this.template && typeof (this.template as any).validate === 'function') {
|
|
1344
|
+
(this.template as any).validate();
|
|
1345
|
+
}
|
|
1346
|
+
super.validate();
|
|
1347
|
+
}
|
|
1348
|
+
|
|
1349
|
+
constructor(map?: { [key: string]: any }) {
|
|
1350
|
+
super(map);
|
|
1351
|
+
}
|
|
1352
|
+
}
|
|
1353
|
+
|
|
1354
|
+
export class UpdateMcpTemplateConfigResponseBody extends $dara.Model {
|
|
1355
|
+
/**
|
|
1356
|
+
* @remarks
|
|
1357
|
+
* The business status code.
|
|
1358
|
+
*
|
|
1359
|
+
* @example
|
|
1360
|
+
* SUCCESS
|
|
1361
|
+
*/
|
|
1362
|
+
code?: string;
|
|
1363
|
+
/**
|
|
1364
|
+
* @remarks
|
|
1365
|
+
* The response data.
|
|
1366
|
+
*/
|
|
1367
|
+
data?: UpdateMcpTemplateConfigResponseBodyData;
|
|
1368
|
+
/**
|
|
1369
|
+
* @remarks
|
|
1370
|
+
* The HTTP status code.
|
|
1371
|
+
*
|
|
1372
|
+
* @example
|
|
1373
|
+
* 200
|
|
1374
|
+
*/
|
|
1375
|
+
httpStatusCode?: number;
|
|
1376
|
+
/**
|
|
1377
|
+
* @remarks
|
|
1378
|
+
* The response message.
|
|
1379
|
+
*
|
|
1380
|
+
* @example
|
|
1381
|
+
* success
|
|
1382
|
+
*/
|
|
1383
|
+
message?: string;
|
|
1384
|
+
/**
|
|
1385
|
+
* @remarks
|
|
1386
|
+
* The request ID, which is used to locate and troubleshoot requests.
|
|
1387
|
+
*
|
|
1388
|
+
* @example
|
|
1389
|
+
* request-123456
|
|
1390
|
+
*/
|
|
1391
|
+
requestId?: string;
|
|
1392
|
+
/**
|
|
1393
|
+
* @remarks
|
|
1394
|
+
* Indicates whether the request was successful.
|
|
1395
|
+
*/
|
|
1396
|
+
success?: boolean;
|
|
1397
|
+
static names(): { [key: string]: string } {
|
|
1398
|
+
return {
|
|
1399
|
+
code: 'code',
|
|
1400
|
+
data: 'data',
|
|
1401
|
+
httpStatusCode: 'httpStatusCode',
|
|
1402
|
+
message: 'message',
|
|
1403
|
+
requestId: 'requestId',
|
|
1404
|
+
success: 'success',
|
|
1405
|
+
};
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1408
|
+
static types(): { [key: string]: any } {
|
|
1409
|
+
return {
|
|
1410
|
+
code: 'string',
|
|
1411
|
+
data: UpdateMcpTemplateConfigResponseBodyData,
|
|
1412
|
+
httpStatusCode: 'number',
|
|
1413
|
+
message: 'string',
|
|
1414
|
+
requestId: 'string',
|
|
1415
|
+
success: 'boolean',
|
|
1416
|
+
};
|
|
1417
|
+
}
|
|
1418
|
+
|
|
1419
|
+
validate() {
|
|
1420
|
+
if(this.data && typeof (this.data as any).validate === 'function') {
|
|
1421
|
+
(this.data as any).validate();
|
|
1422
|
+
}
|
|
1423
|
+
super.validate();
|
|
1424
|
+
}
|
|
1425
|
+
|
|
1426
|
+
constructor(map?: { [key: string]: any }) {
|
|
1427
|
+
super(map);
|
|
1428
|
+
}
|
|
1429
|
+
}
|
|
1430
|
+
|