7#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeErrorMarshaller.h>
8#include <aws/bedrock-agent-runtime/BedrockAgentRuntimePaginationBase.h>
9#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeServiceClientModel.h>
10#include <aws/bedrock-agent-runtime/BedrockAgentRuntimeWaiter.h>
11#include <aws/bedrock-agent-runtime/BedrockAgentRuntime_EXPORTS.h>
12#include <aws/core/client/AWSClientAsyncCRTP.h>
13#include <aws/core/client/ClientConfiguration.h>
14#include <smithy/client/AwsSmithyClient.h>
15#include <smithy/client/serializer/JsonOutcomeSerializer.h>
16#include <smithy/identity/auth/built-in/GenericAuthSchemeResolver.h>
17#include <smithy/identity/auth/built-in/SigV4AuthScheme.h>
20namespace BedrockAgentRuntime {
21AWS_BEDROCKAGENTRUNTIME_API
extern const char SERVICE_NAME[];
29 Aws::BedrockAgentRuntime::SERVICE_NAME, Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration,
30 smithy::AuthSchemeResolverBase<>, Aws::Crt::Variant<smithy::SigV4AuthScheme>, BedrockAgentRuntimeEndpointProviderBase,
31 smithy::client::JsonOutcomeSerializer, smithy::client::JsonOutcome, Aws::Client::BedrockAgentRuntimeErrorMarshaller>,
48 std::shared_ptr<BedrockAgentRuntimeEndpointProviderBase> endpointProvider =
nullptr);
55 std::shared_ptr<BedrockAgentRuntimeEndpointProviderBase> endpointProvider =
nullptr,
64 std::shared_ptr<BedrockAgentRuntimeEndpointProviderBase> endpointProvider =
nullptr,
113 template <
typename CreateInvocationRequestT = Model::CreateInvocationRequest>
115 return SubmitCallable(&BedrockAgentRuntimeClient::CreateInvocation, request);
122 template <
typename CreateInvocationRequestT = Model::CreateInvocationRequest>
124 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
125 return SubmitAsync(&BedrockAgentRuntimeClient::CreateInvocation, request, handler, context);
163 template <
typename CreateSessionRequestT = Model::CreateSessionRequest>
165 return SubmitCallable(&BedrockAgentRuntimeClient::CreateSession, request);
172 template <
typename CreateSessionRequestT = Model::CreateSessionRequest>
174 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
175 const CreateSessionRequestT& request = {})
const {
176 return SubmitAsync(&BedrockAgentRuntimeClient::CreateSession, request, handler, context);
191 template <
typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
193 return SubmitCallable(&BedrockAgentRuntimeClient::DeleteAgentMemory, request);
200 template <
typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
202 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
203 return SubmitAsync(&BedrockAgentRuntimeClient::DeleteAgentMemory, request, handler, context);
223 template <
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
225 return SubmitCallable(&BedrockAgentRuntimeClient::DeleteSession, request);
232 template <
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
234 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
235 return SubmitAsync(&BedrockAgentRuntimeClient::DeleteSession, request, handler, context);
253 template <
typename EndSessionRequestT = Model::EndSessionRequest>
255 return SubmitCallable(&BedrockAgentRuntimeClient::EndSession, request);
262 template <
typename EndSessionRequestT = Model::EndSessionRequest>
264 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
265 return SubmitAsync(&BedrockAgentRuntimeClient::EndSession, request, handler, context);
282 template <
typename GenerateQueryRequestT = Model::GenerateQueryRequest>
284 return SubmitCallable(&BedrockAgentRuntimeClient::GenerateQuery, request);
291 template <
typename GenerateQueryRequestT = Model::GenerateQueryRequest>
293 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
294 return SubmitAsync(&BedrockAgentRuntimeClient::GenerateQuery, request, handler, context);
308 template <
typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
310 return SubmitCallable(&BedrockAgentRuntimeClient::GetAgentMemory, request);
317 template <
typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
319 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
320 return SubmitAsync(&BedrockAgentRuntimeClient::GetAgentMemory, request, handler, context);
339 template <
typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
341 return SubmitCallable(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request);
348 template <
typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
351 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
352 return SubmitAsync(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request, handler, context);
368 template <
typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
370 return SubmitCallable(&BedrockAgentRuntimeClient::GetFlowExecution, request);
377 template <
typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
379 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
380 return SubmitAsync(&BedrockAgentRuntimeClient::GetFlowExecution, request, handler, context);
398 template <
typename GetInvocationStepRequestT = Model::GetInvocationStepRequest>
400 return SubmitCallable(&BedrockAgentRuntimeClient::GetInvocationStep, request);
407 template <
typename GetInvocationStepRequestT = Model::GetInvocationStepRequest>
409 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
410 return SubmitAsync(&BedrockAgentRuntimeClient::GetInvocationStep, request, handler, context);
427 template <
typename GetSessionRequestT = Model::GetSessionRequest>
429 return SubmitCallable(&BedrockAgentRuntimeClient::GetSession, request);
436 template <
typename GetSessionRequestT = Model::GetSessionRequest>
438 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
439 return SubmitAsync(&BedrockAgentRuntimeClient::GetSession, request, handler, context);
475 template <
typename InvokeAgentRequestT = Model::InvokeAgentRequest>
477 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeAgent, request);
484 template <
typename InvokeAgentRequestT = Model::InvokeAgentRequest>
486 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
487 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeAgent, request, handler, context);
508 template <
typename InvokeFlowRequestT = Model::InvokeFlowRequest>
510 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeFlow, request);
517 template <
typename InvokeFlowRequestT = Model::InvokeFlowRequest>
519 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
520 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeFlow, request, handler, context);
549 template <
typename InvokeInlineAgentRequestT = Model::InvokeInlineAgentRequest>
551 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeInlineAgent, request);
558 template <
typename InvokeInlineAgentRequestT = Model::InvokeInlineAgentRequest>
560 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
561 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeInlineAgent, request, handler, context);
579 template <
typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
581 return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request);
588 template <
typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
591 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
592 return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request, handler, context);
610 template <
typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
612 return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutions, request);
619 template <
typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
621 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
622 return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutions, request, handler, context);
640 template <
typename ListInvocationStepsRequestT = Model::ListInvocationStepsRequest>
642 return SubmitCallable(&BedrockAgentRuntimeClient::ListInvocationSteps, request);
649 template <
typename ListInvocationStepsRequestT = Model::ListInvocationStepsRequest>
651 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
652 return SubmitAsync(&BedrockAgentRuntimeClient::ListInvocationSteps, request, handler, context);
669 template <
typename ListInvocationsRequestT = Model::ListInvocationsRequest>
671 return SubmitCallable(&BedrockAgentRuntimeClient::ListInvocations, request);
678 template <
typename ListInvocationsRequestT = Model::ListInvocationsRequest>
680 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
681 return SubmitAsync(&BedrockAgentRuntimeClient::ListInvocations, request, handler, context);
698 template <
typename ListSessionsRequestT = Model::ListSessionsRequest>
700 return SubmitCallable(&BedrockAgentRuntimeClient::ListSessions, request);
707 template <
typename ListSessionsRequestT = Model::ListSessionsRequest>
709 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
710 const ListSessionsRequestT& request = {})
const {
711 return SubmitAsync(&BedrockAgentRuntimeClient::ListSessions, request, handler, context);
725 template <
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
727 return SubmitCallable(&BedrockAgentRuntimeClient::ListTagsForResource, request);
734 template <
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
736 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
737 return SubmitAsync(&BedrockAgentRuntimeClient::ListTagsForResource, request, handler, context);
755 template <
typename OptimizePromptRequestT = Model::OptimizePromptRequest>
757 return SubmitCallable(&BedrockAgentRuntimeClient::OptimizePrompt, request);
764 template <
typename OptimizePromptRequestT = Model::OptimizePromptRequest>
766 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
767 return SubmitAsync(&BedrockAgentRuntimeClient::OptimizePrompt, request, handler, context);
794 template <
typename PutInvocationStepRequestT = Model::PutInvocationStepRequest>
796 return SubmitCallable(&BedrockAgentRuntimeClient::PutInvocationStep, request);
803 template <
typename PutInvocationStepRequestT = Model::PutInvocationStepRequest>
805 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
806 return SubmitAsync(&BedrockAgentRuntimeClient::PutInvocationStep, request, handler, context);
823 template <
typename RerankRequestT = Model::RerankRequest>
825 return SubmitCallable(&BedrockAgentRuntimeClient::Rerank, request);
832 template <
typename RerankRequestT = Model::RerankRequest>
834 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
835 return SubmitAsync(&BedrockAgentRuntimeClient::Rerank, request, handler, context);
849 template <
typename RetrieveRequestT = Model::RetrieveRequest>
851 return SubmitCallable(&BedrockAgentRuntimeClient::Retrieve, request);
858 template <
typename RetrieveRequestT = Model::RetrieveRequest>
860 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
861 return SubmitAsync(&BedrockAgentRuntimeClient::Retrieve, request, handler, context);
879 template <
typename RetrieveAndGenerateRequestT = Model::RetrieveAndGenerateRequest>
881 return SubmitCallable(&BedrockAgentRuntimeClient::RetrieveAndGenerate, request);
888 template <
typename RetrieveAndGenerateRequestT = Model::RetrieveAndGenerateRequest>
890 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
891 return SubmitAsync(&BedrockAgentRuntimeClient::RetrieveAndGenerate, request, handler, context);
910 template <
typename RetrieveAndGenerateStreamRequestT = Model::RetrieveAndGenerateStreamRequest>
912 return SubmitCallable(&BedrockAgentRuntimeClient::RetrieveAndGenerateStream, request);
919 template <
typename RetrieveAndGenerateStreamRequestT = Model::RetrieveAndGenerateStreamRequest>
922 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
923 return SubmitAsync(&BedrockAgentRuntimeClient::RetrieveAndGenerateStream, request, handler, context);
943 template <
typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
945 return SubmitCallable(&BedrockAgentRuntimeClient::StartFlowExecution, request);
952 template <
typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
954 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
955 return SubmitAsync(&BedrockAgentRuntimeClient::StartFlowExecution, request, handler, context);
971 template <
typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
973 return SubmitCallable(&BedrockAgentRuntimeClient::StopFlowExecution, request);
980 template <
typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
982 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
983 return SubmitAsync(&BedrockAgentRuntimeClient::StopFlowExecution, request, handler, context);
998 template <
typename TagResourceRequestT = Model::TagResourceRequest>
1000 return SubmitCallable(&BedrockAgentRuntimeClient::TagResource, request);
1007 template <
typename TagResourceRequestT = Model::TagResourceRequest>
1009 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1010 return SubmitAsync(&BedrockAgentRuntimeClient::TagResource, request, handler, context);
1023 template <
typename UntagResourceRequestT = Model::UntagResourceRequest>
1025 return SubmitCallable(&BedrockAgentRuntimeClient::UntagResource, request);
1032 template <
typename UntagResourceRequestT = Model::UntagResourceRequest>
1034 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1035 return SubmitAsync(&BedrockAgentRuntimeClient::UntagResource, request, handler, context);
1052 template <
typename UpdateSessionRequestT = Model::UpdateSessionRequest>
1054 return SubmitCallable(&BedrockAgentRuntimeClient::UpdateSession, request);
1061 template <
typename UpdateSessionRequestT = Model::UpdateSessionRequest>
1063 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1064 return SubmitAsync(&BedrockAgentRuntimeClient::UpdateSession, request, handler, context);
void OptimizePromptAsync(OptimizePromptRequestT &request, const OptimizePromptResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetInvocationStepOutcome GetInvocationStep(const Model::GetInvocationStepRequest &request) const
virtual Model::StartFlowExecutionOutcome StartFlowExecution(const Model::StartFlowExecutionRequest &request) const
Model::InvokeInlineAgentOutcomeCallable InvokeInlineAgentCallable(InvokeInlineAgentRequestT &request) const
void UpdateSessionAsync(const UpdateSessionRequestT &request, const UpdateSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetAllocationTag()
virtual ~BedrockAgentRuntimeClient()
void DeleteSessionAsync(const DeleteSessionRequestT &request, const DeleteSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::EndSessionOutcomeCallable EndSessionCallable(const EndSessionRequestT &request) const
virtual Model::ListFlowExecutionEventsOutcome ListFlowExecutionEvents(const Model::ListFlowExecutionEventsRequest &request) const
Model::GetSessionOutcomeCallable GetSessionCallable(const GetSessionRequestT &request) const
void ListFlowExecutionsAsync(const ListFlowExecutionsRequestT &request, const ListFlowExecutionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::UpdateSessionOutcome UpdateSession(const Model::UpdateSessionRequest &request) const
BedrockAgentRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListSessionsAsync(const ListSessionsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListSessionsRequestT &request={}) const
virtual Model::DeleteSessionOutcome DeleteSession(const Model::DeleteSessionRequest &request) const
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void StartFlowExecutionAsync(const StartFlowExecutionRequestT &request, const StartFlowExecutionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void RetrieveAsync(const RetrieveRequestT &request, const RetrieveResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void EndSessionAsync(const EndSessionRequestT &request, const EndSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void InvokeInlineAgentAsync(InvokeInlineAgentRequestT &request, const InvokeInlineAgentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListSessionsOutcome ListSessions(const Model::ListSessionsRequest &request={}) const
void GenerateQueryAsync(const GenerateQueryRequestT &request, const GenerateQueryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
Model::GetFlowExecutionOutcomeCallable GetFlowExecutionCallable(const GetFlowExecutionRequestT &request) const
void RetrieveAndGenerateStreamAsync(RetrieveAndGenerateStreamRequestT &request, const RetrieveAndGenerateStreamResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::RetrieveOutcomeCallable RetrieveCallable(const RetrieveRequestT &request) const
BedrockAgentRuntimeClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::RetrieveAndGenerateStreamOutcomeCallable RetrieveAndGenerateStreamCallable(RetrieveAndGenerateStreamRequestT &request) const
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
virtual Model::EndSessionOutcome EndSession(const Model::EndSessionRequest &request) const
virtual Model::GenerateQueryOutcome GenerateQuery(const Model::GenerateQueryRequest &request) const
Model::ListFlowExecutionsOutcomeCallable ListFlowExecutionsCallable(const ListFlowExecutionsRequestT &request) const
Model::GetAgentMemoryOutcomeCallable GetAgentMemoryCallable(const GetAgentMemoryRequestT &request) const
Model::InvokeFlowOutcomeCallable InvokeFlowCallable(InvokeFlowRequestT &request) const
void ListInvocationStepsAsync(const ListInvocationStepsRequestT &request, const ListInvocationStepsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::PutInvocationStepOutcomeCallable PutInvocationStepCallable(const PutInvocationStepRequestT &request) const
Model::StopFlowExecutionOutcomeCallable StopFlowExecutionCallable(const StopFlowExecutionRequestT &request) const
Model::ListInvocationStepsOutcomeCallable ListInvocationStepsCallable(const ListInvocationStepsRequestT &request) const
void StopFlowExecutionAsync(const StopFlowExecutionRequestT &request, const StopFlowExecutionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
static const char * GetServiceName()
Model::CreateInvocationOutcomeCallable CreateInvocationCallable(const CreateInvocationRequestT &request) const
void RerankAsync(const RerankRequestT &request, const RerankResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::InvokeInlineAgentOutcome InvokeInlineAgent(Model::InvokeInlineAgentRequest &request) const
void GetInvocationStepAsync(const GetInvocationStepRequestT &request, const GetInvocationStepResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::ListInvocationStepsOutcome ListInvocationSteps(const Model::ListInvocationStepsRequest &request) const
void GetExecutionFlowSnapshotAsync(const GetExecutionFlowSnapshotRequestT &request, const GetExecutionFlowSnapshotResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateSessionAsync(const CreateSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const CreateSessionRequestT &request={}) const
virtual Model::StopFlowExecutionOutcome StopFlowExecution(const Model::StopFlowExecutionRequest &request) const
BedrockAgentRuntimeClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< BedrockAgentRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration &clientConfiguration=Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration())
virtual Model::InvokeFlowOutcome InvokeFlow(Model::InvokeFlowRequest &request) const
void PutInvocationStepAsync(const PutInvocationStepRequestT &request, const PutInvocationStepResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::CreateSessionOutcome CreateSession(const Model::CreateSessionRequest &request={}) const
virtual Model::ListFlowExecutionsOutcome ListFlowExecutions(const Model::ListFlowExecutionsRequest &request) const
void GetSessionAsync(const GetSessionRequestT &request, const GetSessionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::RetrieveOutcome Retrieve(const Model::RetrieveRequest &request) const
Model::GenerateQueryOutcomeCallable GenerateQueryCallable(const GenerateQueryRequestT &request) const
Model::CreateSessionOutcomeCallable CreateSessionCallable(const CreateSessionRequestT &request={}) const
BedrockAgentRuntimeEndpointProvider EndpointProviderType
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
void RetrieveAndGenerateAsync(const RetrieveAndGenerateRequestT &request, const RetrieveAndGenerateResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Model::OptimizePromptOutcomeCallable OptimizePromptCallable(OptimizePromptRequestT &request) const
virtual Model::CreateInvocationOutcome CreateInvocation(const Model::CreateInvocationRequest &request) const
virtual Model::GetExecutionFlowSnapshotOutcome GetExecutionFlowSnapshot(const Model::GetExecutionFlowSnapshotRequest &request) const
BedrockAgentRuntimeClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::ListInvocationsOutcomeCallable ListInvocationsCallable(const ListInvocationsRequestT &request) const
Model::UpdateSessionOutcomeCallable UpdateSessionCallable(const UpdateSessionRequestT &request) const
Model::RetrieveAndGenerateOutcomeCallable RetrieveAndGenerateCallable(const RetrieveAndGenerateRequestT &request) const
void GetFlowExecutionAsync(const GetFlowExecutionRequestT &request, const GetFlowExecutionResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
const char * GetServiceClientName() const override
Model::ListFlowExecutionEventsOutcomeCallable ListFlowExecutionEventsCallable(const ListFlowExecutionEventsRequestT &request) const
virtual Model::ListInvocationsOutcome ListInvocations(const Model::ListInvocationsRequest &request) const
Model::GetInvocationStepOutcomeCallable GetInvocationStepCallable(const GetInvocationStepRequestT &request) const
void InvokeAgentAsync(InvokeAgentRequestT &request, const InvokeAgentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DeleteAgentMemoryAsync(const DeleteAgentMemoryRequestT &request, const DeleteAgentMemoryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetSessionOutcome GetSession(const Model::GetSessionRequest &request) const
virtual Model::PutInvocationStepOutcome PutInvocationStep(const Model::PutInvocationStepRequest &request) const
virtual Model::OptimizePromptOutcome OptimizePrompt(Model::OptimizePromptRequest &request) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
void InvokeFlowAsync(InvokeFlowRequestT &request, const InvokeFlowResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void ListInvocationsAsync(const ListInvocationsRequestT &request, const ListInvocationsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::RetrieveAndGenerateOutcome RetrieveAndGenerate(const Model::RetrieveAndGenerateRequest &request) const
Model::GetExecutionFlowSnapshotOutcomeCallable GetExecutionFlowSnapshotCallable(const GetExecutionFlowSnapshotRequestT &request) const
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
virtual Model::DeleteAgentMemoryOutcome DeleteAgentMemory(const Model::DeleteAgentMemoryRequest &request) const
virtual Model::GetFlowExecutionOutcome GetFlowExecution(const Model::GetFlowExecutionRequest &request) const
Model::InvokeAgentOutcomeCallable InvokeAgentCallable(InvokeAgentRequestT &request) const
Model::RerankOutcomeCallable RerankCallable(const RerankRequestT &request) const
Model::ListSessionsOutcomeCallable ListSessionsCallable(const ListSessionsRequestT &request={}) const
Model::DeleteAgentMemoryOutcomeCallable DeleteAgentMemoryCallable(const DeleteAgentMemoryRequestT &request) const
Model::StartFlowExecutionOutcomeCallable StartFlowExecutionCallable(const StartFlowExecutionRequestT &request) const
BedrockAgentRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< BedrockAgentRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration &clientConfiguration=Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration())
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
BedrockAgentRuntimeClient(const Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration &clientConfiguration=Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration(), std::shared_ptr< BedrockAgentRuntimeEndpointProviderBase > endpointProvider=nullptr)
Model::DeleteSessionOutcomeCallable DeleteSessionCallable(const DeleteSessionRequestT &request) const
virtual Model::RerankOutcome Rerank(const Model::RerankRequest &request) const
void ListFlowExecutionEventsAsync(const ListFlowExecutionEventsRequestT &request, const ListFlowExecutionEventsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetAgentMemoryAsync(const GetAgentMemoryRequestT &request, const GetAgentMemoryResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void CreateInvocationAsync(const CreateInvocationRequestT &request, const CreateInvocationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
BedrockAgentRuntimeClientConfiguration ClientConfigurationType
virtual Model::InvokeAgentOutcome InvokeAgent(Model::InvokeAgentRequest &request) const
virtual Model::RetrieveAndGenerateStreamOutcome RetrieveAndGenerateStream(Model::RetrieveAndGenerateStreamRequest &request) const
virtual Model::GetAgentMemoryOutcome GetAgentMemory(const Model::GetAgentMemoryRequest &request) const
virtual std::shared_ptr< BedrockAgentRuntimeEndpointProviderBase > & accessEndpointProvider()
std::future< UpdateSessionOutcome > UpdateSessionOutcomeCallable
std::future< GetAgentMemoryOutcome > GetAgentMemoryOutcomeCallable
std::future< PutInvocationStepOutcome > PutInvocationStepOutcomeCallable
std::future< EndSessionOutcome > EndSessionOutcomeCallable
std::future< GetInvocationStepOutcome > GetInvocationStepOutcomeCallable
std::future< RerankOutcome > RerankOutcomeCallable
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< StopFlowExecutionOutcome > StopFlowExecutionOutcomeCallable
std::future< InvokeFlowOutcome > InvokeFlowOutcomeCallable
std::future< RetrieveOutcome > RetrieveOutcomeCallable
std::future< GetSessionOutcome > GetSessionOutcomeCallable
std::future< ListInvocationsOutcome > ListInvocationsOutcomeCallable
std::future< ListFlowExecutionsOutcome > ListFlowExecutionsOutcomeCallable
std::future< DeleteSessionOutcome > DeleteSessionOutcomeCallable
std::future< StartFlowExecutionOutcome > StartFlowExecutionOutcomeCallable
std::future< ListFlowExecutionEventsOutcome > ListFlowExecutionEventsOutcomeCallable
std::future< GetFlowExecutionOutcome > GetFlowExecutionOutcomeCallable
std::future< RetrieveAndGenerateStreamOutcome > RetrieveAndGenerateStreamOutcomeCallable
std::future< InvokeAgentOutcome > InvokeAgentOutcomeCallable
std::future< GenerateQueryOutcome > GenerateQueryOutcomeCallable
std::future< RetrieveAndGenerateOutcome > RetrieveAndGenerateOutcomeCallable
std::future< InvokeInlineAgentOutcome > InvokeInlineAgentOutcomeCallable
std::future< ListInvocationStepsOutcome > ListInvocationStepsOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< CreateSessionOutcome > CreateSessionOutcomeCallable
std::future< DeleteAgentMemoryOutcome > DeleteAgentMemoryOutcomeCallable
std::future< CreateInvocationOutcome > CreateInvocationOutcomeCallable
std::future< OptimizePromptOutcome > OptimizePromptOutcomeCallable
std::future< GetExecutionFlowSnapshotOutcome > GetExecutionFlowSnapshotOutcomeCallable
std::future< ListSessionsOutcome > ListSessionsOutcomeCallable
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::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> UntagResourceResponseReceivedHandler
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::DeleteSessionRequest &, const Model::DeleteSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> DeleteSessionResponseReceivedHandler
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::EndSessionRequest &, const Model::EndSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> EndSessionResponseReceivedHandler
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::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> TagResourceResponseReceivedHandler
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::GetSessionRequest &, const Model::GetSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetSessionResponseReceivedHandler
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::InvokeAgentRequest &, const Model::InvokeAgentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> InvokeAgentResponseReceivedHandler
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::ListSessionsRequest &, const Model::ListSessionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListSessionsResponseReceivedHandler
AWS_BEDROCKAGENTRUNTIME_API const char SERVICE_NAME[]
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::RetrieveRequest &, const Model::RetrieveOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> RetrieveResponseReceivedHandler
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::CreateSessionRequest &, const Model::CreateSessionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CreateSessionResponseReceivedHandler
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::InvokeFlowRequest &, const Model::InvokeFlowOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> InvokeFlowResponseReceivedHandler
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::GetFlowExecutionRequest &, const Model::GetFlowExecutionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetFlowExecutionResponseReceivedHandler
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::GetAgentMemoryRequest &, const Model::GetAgentMemoryOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetAgentMemoryResponseReceivedHandler
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::PutInvocationStepRequest &, const Model::PutInvocationStepOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> PutInvocationStepResponseReceivedHandler
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::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::CreateInvocationRequest &, const Model::CreateInvocationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CreateInvocationResponseReceivedHandler
std::function< void(const BedrockAgentRuntimeClient *, const Model::ListInvocationStepsRequest &, const Model::ListInvocationStepsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> ListInvocationStepsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String