@aws-sdk/client-bedrock-agentcore-control 3.847.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/LICENSE +201 -0
- package/README.md +616 -0
- package/dist-cjs/BedrockAgentCoreControl.js +113 -0
- package/dist-cjs/BedrockAgentCoreControlClient.js +52 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateAgentRuntimeCommand.js +27 -0
- package/dist-cjs/commands/CreateAgentRuntimeEndpointCommand.js +27 -0
- package/dist-cjs/commands/CreateApiKeyCredentialProviderCommand.js +27 -0
- package/dist-cjs/commands/CreateBrowserCommand.js +27 -0
- package/dist-cjs/commands/CreateCodeInterpreterCommand.js +27 -0
- package/dist-cjs/commands/CreateGatewayCommand.js +27 -0
- package/dist-cjs/commands/CreateGatewayTargetCommand.js +27 -0
- package/dist-cjs/commands/CreateMemoryCommand.js +27 -0
- package/dist-cjs/commands/CreateOauth2CredentialProviderCommand.js +27 -0
- package/dist-cjs/commands/CreateWorkloadIdentityCommand.js +26 -0
- package/dist-cjs/commands/DeleteAgentRuntimeCommand.js +26 -0
- package/dist-cjs/commands/DeleteAgentRuntimeEndpointCommand.js +27 -0
- package/dist-cjs/commands/DeleteApiKeyCredentialProviderCommand.js +26 -0
- package/dist-cjs/commands/DeleteBrowserCommand.js +26 -0
- package/dist-cjs/commands/DeleteCodeInterpreterCommand.js +26 -0
- package/dist-cjs/commands/DeleteGatewayCommand.js +26 -0
- package/dist-cjs/commands/DeleteGatewayTargetCommand.js +26 -0
- package/dist-cjs/commands/DeleteMemoryCommand.js +26 -0
- package/dist-cjs/commands/DeleteOauth2CredentialProviderCommand.js +26 -0
- package/dist-cjs/commands/DeleteWorkloadIdentityCommand.js +26 -0
- package/dist-cjs/commands/GetAgentRuntimeCommand.js +27 -0
- package/dist-cjs/commands/GetAgentRuntimeEndpointCommand.js +27 -0
- package/dist-cjs/commands/GetApiKeyCredentialProviderCommand.js +26 -0
- package/dist-cjs/commands/GetBrowserCommand.js +27 -0
- package/dist-cjs/commands/GetCodeInterpreterCommand.js +27 -0
- package/dist-cjs/commands/GetGatewayCommand.js +27 -0
- package/dist-cjs/commands/GetGatewayTargetCommand.js +27 -0
- package/dist-cjs/commands/GetMemoryCommand.js +27 -0
- package/dist-cjs/commands/GetOauth2CredentialProviderCommand.js +26 -0
- package/dist-cjs/commands/GetTokenVaultCommand.js +26 -0
- package/dist-cjs/commands/GetWorkloadIdentityCommand.js +26 -0
- package/dist-cjs/commands/ListAgentRuntimeEndpointsCommand.js +27 -0
- package/dist-cjs/commands/ListAgentRuntimeVersionsCommand.js +27 -0
- package/dist-cjs/commands/ListAgentRuntimesCommand.js +27 -0
- package/dist-cjs/commands/ListApiKeyCredentialProvidersCommand.js +26 -0
- package/dist-cjs/commands/ListBrowsersCommand.js +27 -0
- package/dist-cjs/commands/ListCodeInterpretersCommand.js +27 -0
- package/dist-cjs/commands/ListGatewayTargetsCommand.js +27 -0
- package/dist-cjs/commands/ListGatewaysCommand.js +27 -0
- package/dist-cjs/commands/ListMemoriesCommand.js +26 -0
- package/dist-cjs/commands/ListOauth2CredentialProvidersCommand.js +26 -0
- package/dist-cjs/commands/ListWorkloadIdentitiesCommand.js +26 -0
- package/dist-cjs/commands/SetTokenVaultCMKCommand.js +26 -0
- package/dist-cjs/commands/UpdateAgentRuntimeCommand.js +27 -0
- package/dist-cjs/commands/UpdateAgentRuntimeEndpointCommand.js +27 -0
- package/dist-cjs/commands/UpdateApiKeyCredentialProviderCommand.js +27 -0
- package/dist-cjs/commands/UpdateGatewayCommand.js +27 -0
- package/dist-cjs/commands/UpdateGatewayTargetCommand.js +27 -0
- package/dist-cjs/commands/UpdateMemoryCommand.js +27 -0
- package/dist-cjs/commands/UpdateOauth2CredentialProviderCommand.js +27 -0
- package/dist-cjs/commands/UpdateWorkloadIdentityCommand.js +26 -0
- package/dist-cjs/commands/index.js +54 -0
- package/dist-cjs/endpoint/EndpointParameters.js +17 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +12 -0
- package/dist-cjs/models/BedrockAgentCoreControlServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +1213 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListAgentRuntimeEndpointsPaginator.js +7 -0
- package/dist-cjs/pagination/ListAgentRuntimeVersionsPaginator.js +7 -0
- package/dist-cjs/pagination/ListAgentRuntimesPaginator.js +7 -0
- package/dist-cjs/pagination/ListApiKeyCredentialProvidersPaginator.js +7 -0
- package/dist-cjs/pagination/ListBrowsersPaginator.js +7 -0
- package/dist-cjs/pagination/ListCodeInterpretersPaginator.js +7 -0
- package/dist-cjs/pagination/ListGatewayTargetsPaginator.js +7 -0
- package/dist-cjs/pagination/ListGatewaysPaginator.js +7 -0
- package/dist-cjs/pagination/ListMemoriesPaginator.js +7 -0
- package/dist-cjs/pagination/ListOauth2CredentialProvidersPaginator.js +7 -0
- package/dist-cjs/pagination/ListWorkloadIdentitiesPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +15 -0
- package/dist-cjs/protocols/Aws_restJson1.js +2325 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +56 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +13 -0
- package/dist-cjs/waiters/index.js +4 -0
- package/dist-cjs/waiters/waitForMemoryCreated.js +54 -0
- package/dist-es/BedrockAgentCoreControl.js +109 -0
- package/dist-es/BedrockAgentCoreControlClient.js +48 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateAgentRuntimeCommand.js +23 -0
- package/dist-es/commands/CreateAgentRuntimeEndpointCommand.js +23 -0
- package/dist-es/commands/CreateApiKeyCredentialProviderCommand.js +23 -0
- package/dist-es/commands/CreateBrowserCommand.js +23 -0
- package/dist-es/commands/CreateCodeInterpreterCommand.js +23 -0
- package/dist-es/commands/CreateGatewayCommand.js +23 -0
- package/dist-es/commands/CreateGatewayTargetCommand.js +23 -0
- package/dist-es/commands/CreateMemoryCommand.js +23 -0
- package/dist-es/commands/CreateOauth2CredentialProviderCommand.js +23 -0
- package/dist-es/commands/CreateWorkloadIdentityCommand.js +22 -0
- package/dist-es/commands/DeleteAgentRuntimeCommand.js +22 -0
- package/dist-es/commands/DeleteAgentRuntimeEndpointCommand.js +23 -0
- package/dist-es/commands/DeleteApiKeyCredentialProviderCommand.js +22 -0
- package/dist-es/commands/DeleteBrowserCommand.js +22 -0
- package/dist-es/commands/DeleteCodeInterpreterCommand.js +22 -0
- package/dist-es/commands/DeleteGatewayCommand.js +22 -0
- package/dist-es/commands/DeleteGatewayTargetCommand.js +22 -0
- package/dist-es/commands/DeleteMemoryCommand.js +22 -0
- package/dist-es/commands/DeleteOauth2CredentialProviderCommand.js +22 -0
- package/dist-es/commands/DeleteWorkloadIdentityCommand.js +22 -0
- package/dist-es/commands/GetAgentRuntimeCommand.js +23 -0
- package/dist-es/commands/GetAgentRuntimeEndpointCommand.js +23 -0
- package/dist-es/commands/GetApiKeyCredentialProviderCommand.js +22 -0
- package/dist-es/commands/GetBrowserCommand.js +23 -0
- package/dist-es/commands/GetCodeInterpreterCommand.js +23 -0
- package/dist-es/commands/GetGatewayCommand.js +23 -0
- package/dist-es/commands/GetGatewayTargetCommand.js +23 -0
- package/dist-es/commands/GetMemoryCommand.js +23 -0
- package/dist-es/commands/GetOauth2CredentialProviderCommand.js +22 -0
- package/dist-es/commands/GetTokenVaultCommand.js +22 -0
- package/dist-es/commands/GetWorkloadIdentityCommand.js +22 -0
- package/dist-es/commands/ListAgentRuntimeEndpointsCommand.js +23 -0
- package/dist-es/commands/ListAgentRuntimeVersionsCommand.js +23 -0
- package/dist-es/commands/ListAgentRuntimesCommand.js +23 -0
- package/dist-es/commands/ListApiKeyCredentialProvidersCommand.js +22 -0
- package/dist-es/commands/ListBrowsersCommand.js +23 -0
- package/dist-es/commands/ListCodeInterpretersCommand.js +23 -0
- package/dist-es/commands/ListGatewayTargetsCommand.js +23 -0
- package/dist-es/commands/ListGatewaysCommand.js +23 -0
- package/dist-es/commands/ListMemoriesCommand.js +22 -0
- package/dist-es/commands/ListOauth2CredentialProvidersCommand.js +22 -0
- package/dist-es/commands/ListWorkloadIdentitiesCommand.js +22 -0
- package/dist-es/commands/SetTokenVaultCMKCommand.js +22 -0
- package/dist-es/commands/UpdateAgentRuntimeCommand.js +23 -0
- package/dist-es/commands/UpdateAgentRuntimeEndpointCommand.js +23 -0
- package/dist-es/commands/UpdateApiKeyCredentialProviderCommand.js +23 -0
- package/dist-es/commands/UpdateGatewayCommand.js +23 -0
- package/dist-es/commands/UpdateGatewayTargetCommand.js +23 -0
- package/dist-es/commands/UpdateMemoryCommand.js +23 -0
- package/dist-es/commands/UpdateOauth2CredentialProviderCommand.js +23 -0
- package/dist-es/commands/UpdateWorkloadIdentityCommand.js +22 -0
- package/dist-es/commands/index.js +51 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +7 -0
- package/dist-es/models/BedrockAgentCoreControlServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +1104 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListAgentRuntimeEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListAgentRuntimeVersionsPaginator.js +4 -0
- package/dist-es/pagination/ListAgentRuntimesPaginator.js +4 -0
- package/dist-es/pagination/ListApiKeyCredentialProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListBrowsersPaginator.js +4 -0
- package/dist-es/pagination/ListCodeInterpretersPaginator.js +4 -0
- package/dist-es/pagination/ListGatewayTargetsPaginator.js +4 -0
- package/dist-es/pagination/ListGatewaysPaginator.js +4 -0
- package/dist-es/pagination/ListMemoriesPaginator.js +4 -0
- package/dist-es/pagination/ListOauth2CredentialProvidersPaginator.js +4 -0
- package/dist-es/pagination/ListWorkloadIdentitiesPaginator.js +4 -0
- package/dist-es/pagination/index.js +12 -0
- package/dist-es/protocols/Aws_restJson1.js +2218 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +51 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/waiters/index.js +1 -0
- package/dist-es/waiters/waitForMemoryCreated.js +49 -0
- package/dist-types/BedrockAgentCoreControl.d.ts +376 -0
- package/dist-types/BedrockAgentCoreControlClient.d.ts +238 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/CreateAgentRuntimeCommand.d.ts +125 -0
- package/dist-types/commands/CreateAgentRuntimeEndpointCommand.d.ts +101 -0
- package/dist-types/commands/CreateApiKeyCredentialProviderCommand.d.ts +110 -0
- package/dist-types/commands/CreateBrowserCommand.d.ts +106 -0
- package/dist-types/commands/CreateCodeInterpreterCommand.d.ts +99 -0
- package/dist-types/commands/CreateGatewayCommand.d.ts +155 -0
- package/dist-types/commands/CreateGatewayTargetCommand.d.ts +259 -0
- package/dist-types/commands/CreateMemoryCommand.d.ts +215 -0
- package/dist-types/commands/CreateOauth2CredentialProviderCommand.d.ts +147 -0
- package/dist-types/commands/CreateWorkloadIdentityCommand.d.ts +97 -0
- package/dist-types/commands/DeleteAgentRuntimeCommand.d.ts +87 -0
- package/dist-types/commands/DeleteAgentRuntimeEndpointCommand.d.ts +89 -0
- package/dist-types/commands/DeleteApiKeyCredentialProviderCommand.d.ts +88 -0
- package/dist-types/commands/DeleteBrowserCommand.d.ts +96 -0
- package/dist-types/commands/DeleteCodeInterpreterCommand.d.ts +96 -0
- package/dist-types/commands/DeleteGatewayCommand.d.ts +94 -0
- package/dist-types/commands/DeleteGatewayTargetCommand.d.ts +96 -0
- package/dist-types/commands/DeleteMemoryCommand.d.ts +89 -0
- package/dist-types/commands/DeleteOauth2CredentialProviderCommand.d.ts +88 -0
- package/dist-types/commands/DeleteWorkloadIdentityCommand.d.ts +88 -0
- package/dist-types/commands/GetAgentRuntimeCommand.d.ts +124 -0
- package/dist-types/commands/GetAgentRuntimeEndpointCommand.d.ts +98 -0
- package/dist-types/commands/GetApiKeyCredentialProviderCommand.d.ts +99 -0
- package/dist-types/commands/GetBrowserCommand.d.ts +104 -0
- package/dist-types/commands/GetCodeInterpreterCommand.d.ts +97 -0
- package/dist-types/commands/GetGatewayCommand.d.ts +125 -0
- package/dist-types/commands/GetGatewayTargetCommand.d.ts +174 -0
- package/dist-types/commands/GetMemoryCommand.d.ts +144 -0
- package/dist-types/commands/GetOauth2CredentialProviderCommand.d.ts +170 -0
- package/dist-types/commands/GetTokenVaultCommand.d.ts +95 -0
- package/dist-types/commands/GetWorkloadIdentityCommand.d.ts +96 -0
- package/dist-types/commands/ListAgentRuntimeEndpointsCommand.d.ts +100 -0
- package/dist-types/commands/ListAgentRuntimeVersionsCommand.d.ts +100 -0
- package/dist-types/commands/ListAgentRuntimesCommand.d.ts +96 -0
- package/dist-types/commands/ListApiKeyCredentialProvidersCommand.d.ts +99 -0
- package/dist-types/commands/ListBrowsersCommand.d.ts +97 -0
- package/dist-types/commands/ListCodeInterpretersCommand.d.ts +97 -0
- package/dist-types/commands/ListGatewayTargetsCommand.d.ts +96 -0
- package/dist-types/commands/ListGatewaysCommand.d.ts +97 -0
- package/dist-types/commands/ListMemoriesCommand.d.ts +97 -0
- package/dist-types/commands/ListOauth2CredentialProvidersCommand.d.ts +100 -0
- package/dist-types/commands/ListWorkloadIdentitiesCommand.d.ts +97 -0
- package/dist-types/commands/SetTokenVaultCMKCommand.d.ts +102 -0
- package/dist-types/commands/UpdateAgentRuntimeCommand.d.ts +129 -0
- package/dist-types/commands/UpdateAgentRuntimeEndpointCommand.d.ts +103 -0
- package/dist-types/commands/UpdateApiKeyCredentialProviderCommand.d.ts +109 -0
- package/dist-types/commands/UpdateGatewayCommand.d.ts +158 -0
- package/dist-types/commands/UpdateGatewayTargetCommand.d.ts +259 -0
- package/dist-types/commands/UpdateMemoryCommand.d.ts +260 -0
- package/dist-types/commands/UpdateOauth2CredentialProviderCommand.d.ts +217 -0
- package/dist-types/commands/UpdateWorkloadIdentityCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +51 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +38 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +15 -0
- package/dist-types/models/BedrockAgentCoreControlServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +5821 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListAgentRuntimeEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentRuntimeVersionsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAgentRuntimesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListApiKeyCredentialProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListBrowsersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCodeInterpretersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewayTargetsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListGatewaysPaginator.d.ts +7 -0
- package/dist-types/pagination/ListMemoriesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListOauth2CredentialProvidersPaginator.d.ts +7 -0
- package/dist-types/pagination/ListWorkloadIdentitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +12 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +461 -0
- package/dist-types/runtimeConfig.browser.d.ts +50 -0
- package/dist-types/runtimeConfig.d.ts +50 -0
- package/dist-types/runtimeConfig.native.d.ts +49 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentCoreControl.d.ts +883 -0
- package/dist-types/ts3.4/BedrockAgentCoreControlClient.d.ts +428 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateAgentRuntimeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateAgentRuntimeEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateApiKeyCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateBrowserCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateCodeInterpreterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateGatewayCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateGatewayTargetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateMemoryCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/CreateOauth2CredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateWorkloadIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAgentRuntimeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteAgentRuntimeEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteApiKeyCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBrowserCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteCodeInterpreterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteGatewayCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteGatewayTargetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMemoryCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteOauth2CredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteWorkloadIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetAgentRuntimeCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetAgentRuntimeEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetApiKeyCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBrowserCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetCodeInterpreterCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetGatewayCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetGatewayTargetCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetMemoryCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetOauth2CredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetTokenVaultCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetWorkloadIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentRuntimeEndpointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentRuntimeVersionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListAgentRuntimesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListApiKeyCredentialProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBrowsersCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListCodeInterpretersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListGatewayTargetsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListGatewaysCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListMemoriesCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListOauth2CredentialProvidersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListWorkloadIdentitiesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/SetTokenVaultCMKCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateAgentRuntimeCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateAgentRuntimeEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateApiKeyCredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateGatewayCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateGatewayTargetCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMemoryCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateOauth2CredentialProviderCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateWorkloadIdentityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +10 -0
- package/dist-types/ts3.4/models/BedrockAgentCoreControlServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2222 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAgentRuntimeEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentRuntimeVersionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAgentRuntimesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListApiKeyCredentialProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListBrowsersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCodeInterpretersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewayTargetsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListGatewaysPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListMemoriesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListOauth2CredentialProvidersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListWorkloadIdentitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +12 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +617 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +94 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +91 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +98 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/dist-types/ts3.4/waiters/index.d.ts +1 -0
- package/dist-types/ts3.4/waiters/waitForMemoryCreated.d.ts +11 -0
- package/dist-types/waiters/index.d.ts +1 -0
- package/dist-types/waiters/waitForMemoryCreated.d.ts +14 -0
- package/package.json +102 -0
|
@@ -0,0 +1,259 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { CreateGatewayTargetRequest, CreateGatewayTargetResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateGatewayTargetCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateGatewayTargetCommandInput extends CreateGatewayTargetRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateGatewayTargetCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateGatewayTargetCommandOutput extends CreateGatewayTargetResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateGatewayTargetCommand_base: {
|
|
25
|
+
new (input: CreateGatewayTargetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGatewayTargetCommandInput, CreateGatewayTargetCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateGatewayTargetCommandInput): import("@smithy/smithy-client").CommandImpl<CreateGatewayTargetCommandInput, CreateGatewayTargetCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a target for a gateway. A target defines an endpoint that the gateway can connect to.</p> <p>To create a target, you must specify the gateway identifier and target configuration.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreateGatewayTargetCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreateGatewayTargetCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
|
+
* const input = { // CreateGatewayTargetRequest
|
|
38
|
+
* gatewayIdentifier: "STRING_VALUE", // required
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* description: "STRING_VALUE",
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* targetConfiguration: { // TargetConfiguration Union: only one key present
|
|
43
|
+
* mcp: { // McpTargetConfiguration Union: only one key present
|
|
44
|
+
* openApiSchema: { // ApiSchemaConfiguration Union: only one key present
|
|
45
|
+
* s3: { // S3Configuration
|
|
46
|
+
* uri: "STRING_VALUE",
|
|
47
|
+
* bucketOwnerAccountId: "STRING_VALUE",
|
|
48
|
+
* },
|
|
49
|
+
* inlinePayload: "STRING_VALUE",
|
|
50
|
+
* },
|
|
51
|
+
* smithyModel: {// Union: only one key present
|
|
52
|
+
* s3: {
|
|
53
|
+
* uri: "STRING_VALUE",
|
|
54
|
+
* bucketOwnerAccountId: "STRING_VALUE",
|
|
55
|
+
* },
|
|
56
|
+
* inlinePayload: "STRING_VALUE",
|
|
57
|
+
* },
|
|
58
|
+
* lambda: { // McpLambdaTargetConfiguration
|
|
59
|
+
* lambdaArn: "STRING_VALUE", // required
|
|
60
|
+
* toolSchema: { // ToolSchema Union: only one key present
|
|
61
|
+
* s3: {
|
|
62
|
+
* uri: "STRING_VALUE",
|
|
63
|
+
* bucketOwnerAccountId: "STRING_VALUE",
|
|
64
|
+
* },
|
|
65
|
+
* inlinePayload: [ // ToolDefinitions
|
|
66
|
+
* { // ToolDefinition
|
|
67
|
+
* name: "STRING_VALUE", // required
|
|
68
|
+
* description: "STRING_VALUE", // required
|
|
69
|
+
* inputSchema: { // SchemaDefinition
|
|
70
|
+
* type: "string" || "number" || "object" || "array" || "boolean" || "integer", // required
|
|
71
|
+
* properties: { // SchemaProperties
|
|
72
|
+
* "<keys>": {
|
|
73
|
+
* type: "string" || "number" || "object" || "array" || "boolean" || "integer", // required
|
|
74
|
+
* properties: {
|
|
75
|
+
* "<keys>": "<SchemaDefinition>",
|
|
76
|
+
* },
|
|
77
|
+
* required: [ // RequiredProperties
|
|
78
|
+
* "STRING_VALUE",
|
|
79
|
+
* ],
|
|
80
|
+
* items: "<SchemaDefinition>",
|
|
81
|
+
* description: "STRING_VALUE",
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* required: [
|
|
85
|
+
* "STRING_VALUE",
|
|
86
|
+
* ],
|
|
87
|
+
* items: "<SchemaDefinition>",
|
|
88
|
+
* description: "STRING_VALUE",
|
|
89
|
+
* },
|
|
90
|
+
* outputSchema: "<SchemaDefinition>",
|
|
91
|
+
* },
|
|
92
|
+
* ],
|
|
93
|
+
* },
|
|
94
|
+
* },
|
|
95
|
+
* },
|
|
96
|
+
* },
|
|
97
|
+
* credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
98
|
+
* { // CredentialProviderConfiguration
|
|
99
|
+
* credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
|
|
100
|
+
* credentialProvider: { // CredentialProvider Union: only one key present
|
|
101
|
+
* oauthCredentialProvider: { // OAuthCredentialProvider
|
|
102
|
+
* providerArn: "STRING_VALUE", // required
|
|
103
|
+
* scopes: [ // OAuthScopes // required
|
|
104
|
+
* "STRING_VALUE",
|
|
105
|
+
* ],
|
|
106
|
+
* customParameters: { // OAuthCustomParameters
|
|
107
|
+
* "<keys>": "STRING_VALUE",
|
|
108
|
+
* },
|
|
109
|
+
* },
|
|
110
|
+
* apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
111
|
+
* providerArn: "STRING_VALUE", // required
|
|
112
|
+
* credentialParameterName: "STRING_VALUE",
|
|
113
|
+
* credentialPrefix: "STRING_VALUE",
|
|
114
|
+
* credentialLocation: "HEADER" || "QUERY_PARAMETER",
|
|
115
|
+
* },
|
|
116
|
+
* },
|
|
117
|
+
* },
|
|
118
|
+
* ],
|
|
119
|
+
* };
|
|
120
|
+
* const command = new CreateGatewayTargetCommand(input);
|
|
121
|
+
* const response = await client.send(command);
|
|
122
|
+
* // { // CreateGatewayTargetResponse
|
|
123
|
+
* // gatewayArn: "STRING_VALUE", // required
|
|
124
|
+
* // targetId: "STRING_VALUE", // required
|
|
125
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
126
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
127
|
+
* // status: "CREATING" || "UPDATING" || "UPDATE_UNSUCCESSFUL" || "DELETING" || "READY" || "FAILED", // required
|
|
128
|
+
* // statusReasons: [ // StatusReasons
|
|
129
|
+
* // "STRING_VALUE",
|
|
130
|
+
* // ],
|
|
131
|
+
* // name: "STRING_VALUE", // required
|
|
132
|
+
* // description: "STRING_VALUE",
|
|
133
|
+
* // targetConfiguration: { // TargetConfiguration Union: only one key present
|
|
134
|
+
* // mcp: { // McpTargetConfiguration Union: only one key present
|
|
135
|
+
* // openApiSchema: { // ApiSchemaConfiguration Union: only one key present
|
|
136
|
+
* // s3: { // S3Configuration
|
|
137
|
+
* // uri: "STRING_VALUE",
|
|
138
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
139
|
+
* // },
|
|
140
|
+
* // inlinePayload: "STRING_VALUE",
|
|
141
|
+
* // },
|
|
142
|
+
* // smithyModel: {// Union: only one key present
|
|
143
|
+
* // s3: {
|
|
144
|
+
* // uri: "STRING_VALUE",
|
|
145
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
146
|
+
* // },
|
|
147
|
+
* // inlinePayload: "STRING_VALUE",
|
|
148
|
+
* // },
|
|
149
|
+
* // lambda: { // McpLambdaTargetConfiguration
|
|
150
|
+
* // lambdaArn: "STRING_VALUE", // required
|
|
151
|
+
* // toolSchema: { // ToolSchema Union: only one key present
|
|
152
|
+
* // s3: {
|
|
153
|
+
* // uri: "STRING_VALUE",
|
|
154
|
+
* // bucketOwnerAccountId: "STRING_VALUE",
|
|
155
|
+
* // },
|
|
156
|
+
* // inlinePayload: [ // ToolDefinitions
|
|
157
|
+
* // { // ToolDefinition
|
|
158
|
+
* // name: "STRING_VALUE", // required
|
|
159
|
+
* // description: "STRING_VALUE", // required
|
|
160
|
+
* // inputSchema: { // SchemaDefinition
|
|
161
|
+
* // type: "string" || "number" || "object" || "array" || "boolean" || "integer", // required
|
|
162
|
+
* // properties: { // SchemaProperties
|
|
163
|
+
* // "<keys>": {
|
|
164
|
+
* // type: "string" || "number" || "object" || "array" || "boolean" || "integer", // required
|
|
165
|
+
* // properties: {
|
|
166
|
+
* // "<keys>": "<SchemaDefinition>",
|
|
167
|
+
* // },
|
|
168
|
+
* // required: [ // RequiredProperties
|
|
169
|
+
* // "STRING_VALUE",
|
|
170
|
+
* // ],
|
|
171
|
+
* // items: "<SchemaDefinition>",
|
|
172
|
+
* // description: "STRING_VALUE",
|
|
173
|
+
* // },
|
|
174
|
+
* // },
|
|
175
|
+
* // required: [
|
|
176
|
+
* // "STRING_VALUE",
|
|
177
|
+
* // ],
|
|
178
|
+
* // items: "<SchemaDefinition>",
|
|
179
|
+
* // description: "STRING_VALUE",
|
|
180
|
+
* // },
|
|
181
|
+
* // outputSchema: "<SchemaDefinition>",
|
|
182
|
+
* // },
|
|
183
|
+
* // ],
|
|
184
|
+
* // },
|
|
185
|
+
* // },
|
|
186
|
+
* // },
|
|
187
|
+
* // },
|
|
188
|
+
* // credentialProviderConfigurations: [ // CredentialProviderConfigurations // required
|
|
189
|
+
* // { // CredentialProviderConfiguration
|
|
190
|
+
* // credentialProviderType: "GATEWAY_IAM_ROLE" || "OAUTH" || "API_KEY", // required
|
|
191
|
+
* // credentialProvider: { // CredentialProvider Union: only one key present
|
|
192
|
+
* // oauthCredentialProvider: { // OAuthCredentialProvider
|
|
193
|
+
* // providerArn: "STRING_VALUE", // required
|
|
194
|
+
* // scopes: [ // OAuthScopes // required
|
|
195
|
+
* // "STRING_VALUE",
|
|
196
|
+
* // ],
|
|
197
|
+
* // customParameters: { // OAuthCustomParameters
|
|
198
|
+
* // "<keys>": "STRING_VALUE",
|
|
199
|
+
* // },
|
|
200
|
+
* // },
|
|
201
|
+
* // apiKeyCredentialProvider: { // GatewayApiKeyCredentialProvider
|
|
202
|
+
* // providerArn: "STRING_VALUE", // required
|
|
203
|
+
* // credentialParameterName: "STRING_VALUE",
|
|
204
|
+
* // credentialPrefix: "STRING_VALUE",
|
|
205
|
+
* // credentialLocation: "HEADER" || "QUERY_PARAMETER",
|
|
206
|
+
* // },
|
|
207
|
+
* // },
|
|
208
|
+
* // },
|
|
209
|
+
* // ],
|
|
210
|
+
* // };
|
|
211
|
+
*
|
|
212
|
+
* ```
|
|
213
|
+
*
|
|
214
|
+
* @param CreateGatewayTargetCommandInput - {@link CreateGatewayTargetCommandInput}
|
|
215
|
+
* @returns {@link CreateGatewayTargetCommandOutput}
|
|
216
|
+
* @see {@link CreateGatewayTargetCommandInput} for command's `input` shape.
|
|
217
|
+
* @see {@link CreateGatewayTargetCommandOutput} for command's `response` shape.
|
|
218
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
219
|
+
*
|
|
220
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
221
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
222
|
+
*
|
|
223
|
+
* @throws {@link ConflictException} (client fault)
|
|
224
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
225
|
+
*
|
|
226
|
+
* @throws {@link InternalServerException} (server fault)
|
|
227
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
228
|
+
*
|
|
229
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
230
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
231
|
+
*
|
|
232
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
233
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
234
|
+
*
|
|
235
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
236
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
237
|
+
*
|
|
238
|
+
* @throws {@link ValidationException} (client fault)
|
|
239
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
240
|
+
*
|
|
241
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
242
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
243
|
+
*
|
|
244
|
+
*
|
|
245
|
+
* @public
|
|
246
|
+
*/
|
|
247
|
+
export declare class CreateGatewayTargetCommand extends CreateGatewayTargetCommand_base {
|
|
248
|
+
/** @internal type navigation helper, not in runtime. */
|
|
249
|
+
protected static __types: {
|
|
250
|
+
api: {
|
|
251
|
+
input: CreateGatewayTargetRequest;
|
|
252
|
+
output: CreateGatewayTargetResponse;
|
|
253
|
+
};
|
|
254
|
+
sdk: {
|
|
255
|
+
input: CreateGatewayTargetCommandInput;
|
|
256
|
+
output: CreateGatewayTargetCommandOutput;
|
|
257
|
+
};
|
|
258
|
+
};
|
|
259
|
+
}
|
|
@@ -0,0 +1,215 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { CreateMemoryInput, CreateMemoryOutput } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateMemoryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateMemoryCommandInput extends CreateMemoryInput {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateMemoryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateMemoryCommandOutput extends CreateMemoryOutput, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateMemoryCommand_base: {
|
|
25
|
+
new (input: CreateMemoryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMemoryCommandInput, CreateMemoryCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateMemoryCommandInput): import("@smithy/smithy-client").CommandImpl<CreateMemoryCommandInput, CreateMemoryCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new memory.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreateMemoryCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreateMemoryCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
|
+
* const input = { // CreateMemoryInput
|
|
38
|
+
* clientToken: "STRING_VALUE",
|
|
39
|
+
* name: "STRING_VALUE", // required
|
|
40
|
+
* description: "STRING_VALUE",
|
|
41
|
+
* encryptionKeyArn: "STRING_VALUE",
|
|
42
|
+
* memoryExecutionRoleArn: "STRING_VALUE",
|
|
43
|
+
* eventExpiryDuration: Number("int"), // required
|
|
44
|
+
* memoryStrategies: [ // MemoryStrategyInputList
|
|
45
|
+
* { // MemoryStrategyInput Union: only one key present
|
|
46
|
+
* semanticMemoryStrategy: { // SemanticMemoryStrategyInput
|
|
47
|
+
* name: "STRING_VALUE", // required
|
|
48
|
+
* description: "STRING_VALUE",
|
|
49
|
+
* namespaces: [ // NamespacesList
|
|
50
|
+
* "STRING_VALUE",
|
|
51
|
+
* ],
|
|
52
|
+
* },
|
|
53
|
+
* summaryMemoryStrategy: { // SummaryMemoryStrategyInput
|
|
54
|
+
* name: "STRING_VALUE", // required
|
|
55
|
+
* description: "STRING_VALUE",
|
|
56
|
+
* namespaces: [
|
|
57
|
+
* "STRING_VALUE",
|
|
58
|
+
* ],
|
|
59
|
+
* },
|
|
60
|
+
* userPreferenceMemoryStrategy: { // UserPreferenceMemoryStrategyInput
|
|
61
|
+
* name: "STRING_VALUE", // required
|
|
62
|
+
* description: "STRING_VALUE",
|
|
63
|
+
* namespaces: [
|
|
64
|
+
* "STRING_VALUE",
|
|
65
|
+
* ],
|
|
66
|
+
* },
|
|
67
|
+
* customMemoryStrategy: { // CustomMemoryStrategyInput
|
|
68
|
+
* name: "STRING_VALUE", // required
|
|
69
|
+
* description: "STRING_VALUE",
|
|
70
|
+
* namespaces: [
|
|
71
|
+
* "STRING_VALUE",
|
|
72
|
+
* ],
|
|
73
|
+
* configuration: { // CustomConfigurationInput Union: only one key present
|
|
74
|
+
* semanticOverride: { // SemanticOverrideConfigurationInput
|
|
75
|
+
* extraction: { // SemanticOverrideExtractionConfigurationInput
|
|
76
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
77
|
+
* modelId: "STRING_VALUE", // required
|
|
78
|
+
* },
|
|
79
|
+
* consolidation: { // SemanticOverrideConsolidationConfigurationInput
|
|
80
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
81
|
+
* modelId: "STRING_VALUE", // required
|
|
82
|
+
* },
|
|
83
|
+
* },
|
|
84
|
+
* summaryOverride: { // SummaryOverrideConfigurationInput
|
|
85
|
+
* consolidation: { // SummaryOverrideConsolidationConfigurationInput
|
|
86
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
87
|
+
* modelId: "STRING_VALUE", // required
|
|
88
|
+
* },
|
|
89
|
+
* },
|
|
90
|
+
* userPreferenceOverride: { // UserPreferenceOverrideConfigurationInput
|
|
91
|
+
* extraction: { // UserPreferenceOverrideExtractionConfigurationInput
|
|
92
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
93
|
+
* modelId: "STRING_VALUE", // required
|
|
94
|
+
* },
|
|
95
|
+
* consolidation: { // UserPreferenceOverrideConsolidationConfigurationInput
|
|
96
|
+
* appendToPrompt: "STRING_VALUE", // required
|
|
97
|
+
* modelId: "STRING_VALUE", // required
|
|
98
|
+
* },
|
|
99
|
+
* },
|
|
100
|
+
* },
|
|
101
|
+
* },
|
|
102
|
+
* },
|
|
103
|
+
* ],
|
|
104
|
+
* };
|
|
105
|
+
* const command = new CreateMemoryCommand(input);
|
|
106
|
+
* const response = await client.send(command);
|
|
107
|
+
* // { // CreateMemoryOutput
|
|
108
|
+
* // memory: { // Memory
|
|
109
|
+
* // arn: "STRING_VALUE", // required
|
|
110
|
+
* // id: "STRING_VALUE", // required
|
|
111
|
+
* // name: "STRING_VALUE", // required
|
|
112
|
+
* // description: "STRING_VALUE",
|
|
113
|
+
* // encryptionKeyArn: "STRING_VALUE",
|
|
114
|
+
* // memoryExecutionRoleArn: "STRING_VALUE",
|
|
115
|
+
* // eventExpiryDuration: Number("int"), // required
|
|
116
|
+
* // status: "CREATING" || "ACTIVE" || "FAILED" || "DELETING", // required
|
|
117
|
+
* // failureReason: "STRING_VALUE",
|
|
118
|
+
* // createdAt: new Date("TIMESTAMP"), // required
|
|
119
|
+
* // updatedAt: new Date("TIMESTAMP"), // required
|
|
120
|
+
* // strategies: [ // MemoryStrategyList
|
|
121
|
+
* // { // MemoryStrategy
|
|
122
|
+
* // strategyId: "STRING_VALUE", // required
|
|
123
|
+
* // name: "STRING_VALUE", // required
|
|
124
|
+
* // description: "STRING_VALUE",
|
|
125
|
+
* // configuration: { // StrategyConfiguration
|
|
126
|
+
* // type: "SEMANTIC_OVERRIDE" || "SUMMARY_OVERRIDE" || "USER_PREFERENCE_OVERRIDE",
|
|
127
|
+
* // extraction: { // ExtractionConfiguration Union: only one key present
|
|
128
|
+
* // customExtractionConfiguration: { // CustomExtractionConfiguration Union: only one key present
|
|
129
|
+
* // semanticExtractionOverride: { // SemanticExtractionOverride
|
|
130
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
131
|
+
* // modelId: "STRING_VALUE", // required
|
|
132
|
+
* // },
|
|
133
|
+
* // userPreferenceExtractionOverride: { // UserPreferenceExtractionOverride
|
|
134
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
135
|
+
* // modelId: "STRING_VALUE", // required
|
|
136
|
+
* // },
|
|
137
|
+
* // },
|
|
138
|
+
* // },
|
|
139
|
+
* // consolidation: { // ConsolidationConfiguration Union: only one key present
|
|
140
|
+
* // customConsolidationConfiguration: { // CustomConsolidationConfiguration Union: only one key present
|
|
141
|
+
* // semanticConsolidationOverride: { // SemanticConsolidationOverride
|
|
142
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
143
|
+
* // modelId: "STRING_VALUE", // required
|
|
144
|
+
* // },
|
|
145
|
+
* // summaryConsolidationOverride: { // SummaryConsolidationOverride
|
|
146
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
147
|
+
* // modelId: "STRING_VALUE", // required
|
|
148
|
+
* // },
|
|
149
|
+
* // userPreferenceConsolidationOverride: { // UserPreferenceConsolidationOverride
|
|
150
|
+
* // appendToPrompt: "STRING_VALUE", // required
|
|
151
|
+
* // modelId: "STRING_VALUE", // required
|
|
152
|
+
* // },
|
|
153
|
+
* // },
|
|
154
|
+
* // },
|
|
155
|
+
* // },
|
|
156
|
+
* // type: "SEMANTIC" || "SUMMARIZATION" || "USER_PREFERENCE" || "CUSTOM", // required
|
|
157
|
+
* // namespaces: [ // NamespacesList // required
|
|
158
|
+
* // "STRING_VALUE",
|
|
159
|
+
* // ],
|
|
160
|
+
* // createdAt: new Date("TIMESTAMP"),
|
|
161
|
+
* // updatedAt: new Date("TIMESTAMP"),
|
|
162
|
+
* // status: "CREATING" || "ACTIVE" || "DELETING" || "FAILED",
|
|
163
|
+
* // },
|
|
164
|
+
* // ],
|
|
165
|
+
* // },
|
|
166
|
+
* // };
|
|
167
|
+
*
|
|
168
|
+
* ```
|
|
169
|
+
*
|
|
170
|
+
* @param CreateMemoryCommandInput - {@link CreateMemoryCommandInput}
|
|
171
|
+
* @returns {@link CreateMemoryCommandOutput}
|
|
172
|
+
* @see {@link CreateMemoryCommandInput} for command's `input` shape.
|
|
173
|
+
* @see {@link CreateMemoryCommandOutput} for command's `response` shape.
|
|
174
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
175
|
+
*
|
|
176
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
177
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
178
|
+
*
|
|
179
|
+
* @throws {@link ConflictException} (client fault)
|
|
180
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
181
|
+
*
|
|
182
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
183
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
184
|
+
*
|
|
185
|
+
* @throws {@link ServiceException} (server fault)
|
|
186
|
+
* <p>An internal error occurred.</p>
|
|
187
|
+
*
|
|
188
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
189
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
190
|
+
*
|
|
191
|
+
* @throws {@link ThrottledException} (client fault)
|
|
192
|
+
* <p>API rate limit has been exceeded.</p>
|
|
193
|
+
*
|
|
194
|
+
* @throws {@link ValidationException} (client fault)
|
|
195
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
196
|
+
*
|
|
197
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
198
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
199
|
+
*
|
|
200
|
+
*
|
|
201
|
+
* @public
|
|
202
|
+
*/
|
|
203
|
+
export declare class CreateMemoryCommand extends CreateMemoryCommand_base {
|
|
204
|
+
/** @internal type navigation helper, not in runtime. */
|
|
205
|
+
protected static __types: {
|
|
206
|
+
api: {
|
|
207
|
+
input: CreateMemoryInput;
|
|
208
|
+
output: CreateMemoryOutput;
|
|
209
|
+
};
|
|
210
|
+
sdk: {
|
|
211
|
+
input: CreateMemoryCommandInput;
|
|
212
|
+
output: CreateMemoryCommandOutput;
|
|
213
|
+
};
|
|
214
|
+
};
|
|
215
|
+
}
|
|
@@ -0,0 +1,147 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentCoreControlClient";
|
|
4
|
+
import { CreateOauth2CredentialProviderRequest, CreateOauth2CredentialProviderResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateOauth2CredentialProviderCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateOauth2CredentialProviderCommandInput extends CreateOauth2CredentialProviderRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateOauth2CredentialProviderCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateOauth2CredentialProviderCommandOutput extends CreateOauth2CredentialProviderResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateOauth2CredentialProviderCommand_base: {
|
|
25
|
+
new (input: CreateOauth2CredentialProviderCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOauth2CredentialProviderCommandInput, CreateOauth2CredentialProviderCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: CreateOauth2CredentialProviderCommandInput): import("@smithy/smithy-client").CommandImpl<CreateOauth2CredentialProviderCommandInput, CreateOauth2CredentialProviderCommandOutput, BedrockAgentCoreControlClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* <p>Creates a new OAuth2 credential provider.</p>
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockAgentCoreControlClient, CreateOauth2CredentialProviderCommand } from "@aws-sdk/client-bedrock-agentcore-control"; // ES Modules import
|
|
35
|
+
* // const { BedrockAgentCoreControlClient, CreateOauth2CredentialProviderCommand } = require("@aws-sdk/client-bedrock-agentcore-control"); // CommonJS import
|
|
36
|
+
* const client = new BedrockAgentCoreControlClient(config);
|
|
37
|
+
* const input = { // CreateOauth2CredentialProviderRequest
|
|
38
|
+
* name: "STRING_VALUE", // required
|
|
39
|
+
* credentialProviderVendor: "GoogleOauth2" || "GithubOauth2" || "SlackOauth2" || "SalesforceOauth2" || "MicrosoftOauth2" || "CustomOauth2", // required
|
|
40
|
+
* oauth2ProviderConfigInput: { // Oauth2ProviderConfigInput Union: only one key present
|
|
41
|
+
* customOauth2ProviderConfig: { // CustomOauth2ProviderConfigInput
|
|
42
|
+
* oauthDiscovery: { // Oauth2Discovery Union: only one key present
|
|
43
|
+
* discoveryUrl: "STRING_VALUE",
|
|
44
|
+
* authorizationServerMetadata: { // Oauth2AuthorizationServerMetadata
|
|
45
|
+
* issuer: "STRING_VALUE", // required
|
|
46
|
+
* authorizationEndpoint: "STRING_VALUE", // required
|
|
47
|
+
* tokenEndpoint: "STRING_VALUE", // required
|
|
48
|
+
* responseTypes: [ // ResponseListType
|
|
49
|
+
* "STRING_VALUE",
|
|
50
|
+
* ],
|
|
51
|
+
* },
|
|
52
|
+
* },
|
|
53
|
+
* clientId: "STRING_VALUE", // required
|
|
54
|
+
* clientSecret: "STRING_VALUE", // required
|
|
55
|
+
* },
|
|
56
|
+
* googleOauth2ProviderConfig: { // GoogleOauth2ProviderConfigInput
|
|
57
|
+
* clientId: "STRING_VALUE", // required
|
|
58
|
+
* clientSecret: "STRING_VALUE", // required
|
|
59
|
+
* },
|
|
60
|
+
* githubOauth2ProviderConfig: { // GithubOauth2ProviderConfigInput
|
|
61
|
+
* clientId: "STRING_VALUE", // required
|
|
62
|
+
* clientSecret: "STRING_VALUE", // required
|
|
63
|
+
* },
|
|
64
|
+
* slackOauth2ProviderConfig: { // SlackOauth2ProviderConfigInput
|
|
65
|
+
* clientId: "STRING_VALUE", // required
|
|
66
|
+
* clientSecret: "STRING_VALUE", // required
|
|
67
|
+
* },
|
|
68
|
+
* salesforceOauth2ProviderConfig: { // SalesforceOauth2ProviderConfigInput
|
|
69
|
+
* clientId: "STRING_VALUE", // required
|
|
70
|
+
* clientSecret: "STRING_VALUE", // required
|
|
71
|
+
* },
|
|
72
|
+
* microsoftOauth2ProviderConfig: { // MicrosoftOauth2ProviderConfigInput
|
|
73
|
+
* clientId: "STRING_VALUE", // required
|
|
74
|
+
* clientSecret: "STRING_VALUE", // required
|
|
75
|
+
* },
|
|
76
|
+
* },
|
|
77
|
+
* };
|
|
78
|
+
* const command = new CreateOauth2CredentialProviderCommand(input);
|
|
79
|
+
* const response = await client.send(command);
|
|
80
|
+
* // { // CreateOauth2CredentialProviderResponse
|
|
81
|
+
* // clientSecretArn: { // Secret
|
|
82
|
+
* // secretArn: "STRING_VALUE", // required
|
|
83
|
+
* // },
|
|
84
|
+
* // name: "STRING_VALUE", // required
|
|
85
|
+
* // credentialProviderArn: "STRING_VALUE", // required
|
|
86
|
+
* // };
|
|
87
|
+
*
|
|
88
|
+
* ```
|
|
89
|
+
*
|
|
90
|
+
* @param CreateOauth2CredentialProviderCommandInput - {@link CreateOauth2CredentialProviderCommandInput}
|
|
91
|
+
* @returns {@link CreateOauth2CredentialProviderCommandOutput}
|
|
92
|
+
* @see {@link CreateOauth2CredentialProviderCommandInput} for command's `input` shape.
|
|
93
|
+
* @see {@link CreateOauth2CredentialProviderCommandOutput} for command's `response` shape.
|
|
94
|
+
* @see {@link BedrockAgentCoreControlClientResolvedConfig | config} for BedrockAgentCoreControlClient's `config` shape.
|
|
95
|
+
*
|
|
96
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
97
|
+
* <p>This exception is thrown when a request is denied per access permissions</p>
|
|
98
|
+
*
|
|
99
|
+
* @throws {@link ConflictException} (client fault)
|
|
100
|
+
* <p>This exception is thrown when there is a conflict performing an operation</p>
|
|
101
|
+
*
|
|
102
|
+
* @throws {@link DecryptionFailure} (client fault)
|
|
103
|
+
* <p>Exception thrown when decryption of a secret fails.</p>
|
|
104
|
+
*
|
|
105
|
+
* @throws {@link EncryptionFailure} (client fault)
|
|
106
|
+
* <p>Exception thrown when encryption of a secret fails.</p>
|
|
107
|
+
*
|
|
108
|
+
* @throws {@link InternalServerException} (server fault)
|
|
109
|
+
* <p>This exception is thrown if there was an unexpected error during processing of request</p>
|
|
110
|
+
*
|
|
111
|
+
* @throws {@link ResourceLimitExceededException} (client fault)
|
|
112
|
+
* <p>Exception thrown when a resource limit is exceeded.</p>
|
|
113
|
+
*
|
|
114
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
115
|
+
* <p>This exception is thrown when a resource referenced by the operation does not exist</p>
|
|
116
|
+
*
|
|
117
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
118
|
+
* <p>This exception is thrown when a request is made beyond the service quota</p>
|
|
119
|
+
*
|
|
120
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
121
|
+
* <p>This exception is thrown when the number of requests exceeds the limit</p>
|
|
122
|
+
*
|
|
123
|
+
* @throws {@link UnauthorizedException} (client fault)
|
|
124
|
+
* <p>This exception is thrown when the JWT bearer token is invalid or not found for OAuth bearer token based access</p>
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link ValidationException} (client fault)
|
|
127
|
+
* <p>The input fails to satisfy the constraints specified by the service.</p>
|
|
128
|
+
*
|
|
129
|
+
* @throws {@link BedrockAgentCoreControlServiceException}
|
|
130
|
+
* <p>Base exception class for all service exceptions from BedrockAgentCoreControl service.</p>
|
|
131
|
+
*
|
|
132
|
+
*
|
|
133
|
+
* @public
|
|
134
|
+
*/
|
|
135
|
+
export declare class CreateOauth2CredentialProviderCommand extends CreateOauth2CredentialProviderCommand_base {
|
|
136
|
+
/** @internal type navigation helper, not in runtime. */
|
|
137
|
+
protected static __types: {
|
|
138
|
+
api: {
|
|
139
|
+
input: CreateOauth2CredentialProviderRequest;
|
|
140
|
+
output: CreateOauth2CredentialProviderResponse;
|
|
141
|
+
};
|
|
142
|
+
sdk: {
|
|
143
|
+
input: CreateOauth2CredentialProviderCommandInput;
|
|
144
|
+
output: CreateOauth2CredentialProviderCommandOutput;
|
|
145
|
+
};
|
|
146
|
+
};
|
|
147
|
+
}
|