9#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeErrors.h>
10#include <aws/core/client/GenericClientConfiguration.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/client/AsyncCallerContext.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeEndpointProvider.h>
21#include <aws/bedrock-agent-runtime/model/CreateInvocationResult.h>
22#include <aws/bedrock-agent-runtime/model/CreateSessionResult.h>
23#include <aws/bedrock-agent-runtime/model/DeleteAgentMemoryResult.h>
24#include <aws/bedrock-agent-runtime/model/DeleteSessionResult.h>
25#include <aws/bedrock-agent-runtime/model/EndSessionResult.h>
26#include <aws/bedrock-agent-runtime/model/GenerateQueryResult.h>
27#include <aws/bedrock-agent-runtime/model/GetAgentMemoryResult.h>
28#include <aws/bedrock-agent-runtime/model/GetExecutionFlowSnapshotResult.h>
29#include <aws/bedrock-agent-runtime/model/GetFlowExecutionResult.h>
30#include <aws/bedrock-agent-runtime/model/GetInvocationStepResult.h>
31#include <aws/bedrock-agent-runtime/model/GetSessionResult.h>
32#include <aws/bedrock-agent-runtime/model/ListFlowExecutionEventsResult.h>
33#include <aws/bedrock-agent-runtime/model/ListFlowExecutionsResult.h>
34#include <aws/bedrock-agent-runtime/model/ListInvocationStepsResult.h>
35#include <aws/bedrock-agent-runtime/model/ListInvocationsResult.h>
36#include <aws/bedrock-agent-runtime/model/ListSessionsResult.h>
37#include <aws/bedrock-agent-runtime/model/ListTagsForResourceResult.h>
38#include <aws/bedrock-agent-runtime/model/PutInvocationStepResult.h>
39#include <aws/bedrock-agent-runtime/model/RerankSdkResult.h>
40#include <aws/bedrock-agent-runtime/model/RetrieveResult.h>
41#include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateResult.h>
42#include <aws/bedrock-agent-runtime/model/StartFlowExecutionResult.h>
43#include <aws/bedrock-agent-runtime/model/StopFlowExecutionResult.h>
44#include <aws/bedrock-agent-runtime/model/TagResourceResult.h>
45#include <aws/bedrock-agent-runtime/model/UntagResourceResult.h>
46#include <aws/bedrock-agent-runtime/model/UpdateSessionResult.h>
47#include <aws/bedrock-agent-runtime/model/CreateSessionRequest.h>
48#include <aws/bedrock-agent-runtime/model/ListSessionsRequest.h>
49#include <aws/core/NoResult.h>
57 class HttpClientFactory;
62 template<
typename R,
typename E>
class Outcome;
73 class AWSCredentialsProvider;
81 namespace BedrockAgentRuntime
EndpointProviderBase< BedrockAgentRuntimeClientConfiguration, BedrockAgentRuntimeBuiltInParameters, BedrockAgentRuntimeClientContextParameters > BedrockAgentRuntimeEndpointProviderBase
std::future< UpdateSessionOutcome > UpdateSessionOutcomeCallable
std::future< GetAgentMemoryOutcome > GetAgentMemoryOutcomeCallable
std::future< PutInvocationStepOutcome > PutInvocationStepOutcomeCallable
Aws::Utils::Outcome< UntagResourceResult, BedrockAgentRuntimeError > UntagResourceOutcome
Aws::Utils::Outcome< Aws::NoResult, BedrockAgentRuntimeError > OptimizePromptOutcome
Aws::Utils::Outcome< GenerateQueryResult, BedrockAgentRuntimeError > GenerateQueryOutcome
std::future< EndSessionOutcome > EndSessionOutcomeCallable
std::future< GetInvocationStepOutcome > GetInvocationStepOutcomeCallable
std::future< RerankOutcome > RerankOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
Aws::Utils::Outcome< ListFlowExecutionsResult, BedrockAgentRuntimeError > ListFlowExecutionsOutcome
Aws::Utils::Outcome< StartFlowExecutionResult, BedrockAgentRuntimeError > StartFlowExecutionOutcome
Aws::Utils::Outcome< DeleteAgentMemoryResult, BedrockAgentRuntimeError > DeleteAgentMemoryOutcome
Aws::Utils::Outcome< Aws::NoResult, BedrockAgentRuntimeError > RetrieveAndGenerateStreamOutcome
Aws::Utils::Outcome< ListInvocationStepsResult, BedrockAgentRuntimeError > ListInvocationStepsOutcome
Aws::Utils::Outcome< ListInvocationsResult, BedrockAgentRuntimeError > ListInvocationsOutcome
Aws::Utils::Outcome< UpdateSessionResult, BedrockAgentRuntimeError > UpdateSessionOutcome
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< StopFlowExecutionOutcome > StopFlowExecutionOutcomeCallable
std::future< InvokeFlowOutcome > InvokeFlowOutcomeCallable
Aws::Utils::Outcome< ListFlowExecutionEventsResult, BedrockAgentRuntimeError > ListFlowExecutionEventsOutcome
std::future< RetrieveOutcome > RetrieveOutcomeCallable
Aws::Utils::Outcome< Aws::NoResult, BedrockAgentRuntimeError > InvokeAgentOutcome
Aws::Utils::Outcome< Aws::NoResult, BedrockAgentRuntimeError > InvokeInlineAgentOutcome
std::future< GetSessionOutcome > GetSessionOutcomeCallable
Aws::Utils::Outcome< StopFlowExecutionResult, BedrockAgentRuntimeError > StopFlowExecutionOutcome
Aws::Utils::Outcome< DeleteSessionResult, BedrockAgentRuntimeError > DeleteSessionOutcome
std::future< ListInvocationsOutcome > ListInvocationsOutcomeCallable
Aws::Utils::Outcome< GetSessionResult, BedrockAgentRuntimeError > GetSessionOutcome
std::future< ListFlowExecutionsOutcome > ListFlowExecutionsOutcomeCallable
std::future< DeleteSessionOutcome > DeleteSessionOutcomeCallable
Aws::Utils::Outcome< RerankSdkResult, BedrockAgentRuntimeError > RerankOutcome
std::future< StartFlowExecutionOutcome > StartFlowExecutionOutcomeCallable
std::future< ListFlowExecutionEventsOutcome > ListFlowExecutionEventsOutcomeCallable
std::future< GetFlowExecutionOutcome > GetFlowExecutionOutcomeCallable
Aws::Utils::Outcome< ListSessionsResult, BedrockAgentRuntimeError > ListSessionsOutcome
std::future< RetrieveAndGenerateStreamOutcome > RetrieveAndGenerateStreamOutcomeCallable
std::future< InvokeAgentOutcome > InvokeAgentOutcomeCallable
std::future< GenerateQueryOutcome > GenerateQueryOutcomeCallable
std::future< RetrieveAndGenerateOutcome > RetrieveAndGenerateOutcomeCallable
std::future< InvokeInlineAgentOutcome > InvokeInlineAgentOutcomeCallable
Aws::Utils::Outcome< RetrieveResult, BedrockAgentRuntimeError > RetrieveOutcome
Aws::Utils::Outcome< EndSessionResult, BedrockAgentRuntimeError > EndSessionOutcome
Aws::Utils::Outcome< PutInvocationStepResult, BedrockAgentRuntimeError > PutInvocationStepOutcome
std::future< ListInvocationStepsOutcome > ListInvocationStepsOutcomeCallable
Aws::Utils::Outcome< GetFlowExecutionResult, BedrockAgentRuntimeError > GetFlowExecutionOutcome
std::future< TagResourceOutcome > TagResourceOutcomeCallable
Aws::Utils::Outcome< GetExecutionFlowSnapshotResult, BedrockAgentRuntimeError > GetExecutionFlowSnapshotOutcome
Aws::Utils::Outcome< TagResourceResult, BedrockAgentRuntimeError > TagResourceOutcome
Aws::Utils::Outcome< Aws::NoResult, BedrockAgentRuntimeError > InvokeFlowOutcome
Aws::Utils::Outcome< RetrieveAndGenerateResult, BedrockAgentRuntimeError > RetrieveAndGenerateOutcome
std::future< CreateSessionOutcome > CreateSessionOutcomeCallable
Aws::Utils::Outcome< ListTagsForResourceResult, BedrockAgentRuntimeError > ListTagsForResourceOutcome
std::future< DeleteAgentMemoryOutcome > DeleteAgentMemoryOutcomeCallable
Aws::Utils::Outcome< CreateInvocationResult, BedrockAgentRuntimeError > CreateInvocationOutcome
Aws::Utils::Outcome< GetInvocationStepResult, BedrockAgentRuntimeError > GetInvocationStepOutcome
std::future< CreateInvocationOutcome > CreateInvocationOutcomeCallable
std::future< OptimizePromptOutcome > OptimizePromptOutcomeCallable
std::future< GetExecutionFlowSnapshotOutcome > GetExecutionFlowSnapshotOutcomeCallable
Aws::Utils::Outcome< CreateSessionResult, BedrockAgentRuntimeError > CreateSessionOutcome
std::future< ListSessionsOutcome > ListSessionsOutcomeCallable
Aws::Utils::Outcome< GetAgentMemoryResult, BedrockAgentRuntimeError > GetAgentMemoryOutcome
std::function< void(const BedrockAgentRuntimeClient *, const Model::InvokeInlineAgentRequest &, const Model::InvokeInlineAgentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeInlineAgentResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::OptimizePromptRequest &, const Model::OptimizePromptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > OptimizePromptResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::UpdateSessionRequest &, const Model::UpdateSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateSessionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::RetrieveAndGenerateRequest &, const Model::RetrieveAndGenerateOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RetrieveAndGenerateResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::StartFlowExecutionRequest &, const Model::StartFlowExecutionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StartFlowExecutionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::RetrieveRequest &, const Model::RetrieveOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RetrieveResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::StopFlowExecutionRequest &, const Model::StopFlowExecutionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopFlowExecutionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::ListFlowExecutionsRequest &, const Model::ListFlowExecutionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListFlowExecutionsResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::RerankRequest &, const Model::RerankOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RerankResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::GetExecutionFlowSnapshotRequest &, const Model::GetExecutionFlowSnapshotOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetExecutionFlowSnapshotResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::ListInvocationStepsRequest &, const Model::ListInvocationStepsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListInvocationStepsResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::GetInvocationStepRequest &, const Model::GetInvocationStepOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetInvocationStepResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::InvokeAgentRequest &, const Model::InvokeAgentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeAgentResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::GetAgentMemoryRequest &, const Model::GetAgentMemoryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAgentMemoryResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::GetFlowExecutionRequest &, const Model::GetFlowExecutionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetFlowExecutionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::CreateSessionRequest &, const Model::CreateSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateSessionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::ListFlowExecutionEventsRequest &, const Model::ListFlowExecutionEventsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListFlowExecutionEventsResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::RetrieveAndGenerateStreamRequest &, const Model::RetrieveAndGenerateStreamOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RetrieveAndGenerateStreamResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::PutInvocationStepRequest &, const Model::PutInvocationStepOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutInvocationStepResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::CreateInvocationRequest &, const Model::CreateInvocationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateInvocationResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::ListSessionsRequest &, const Model::ListSessionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSessionsResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::GetSessionRequest &, const Model::GetSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSessionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::DeleteAgentMemoryRequest &, const Model::DeleteAgentMemoryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAgentMemoryResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::DeleteSessionRequest &, const Model::DeleteSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSessionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::GenerateQueryRequest &, const Model::GenerateQueryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateQueryResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::InvokeFlowRequest &, const Model::InvokeFlowOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeFlowResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::EndSessionRequest &, const Model::EndSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EndSessionResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::ListInvocationsRequest &, const Model::ListInvocationsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListInvocationsResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler