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,
110 template <
typename AgenticRetrieveStreamRequestT = Model::AgenticRetrieveStreamRequest>
112 return SubmitCallable(&BedrockAgentRuntimeClient::AgenticRetrieveStream, request);
119 template <
typename AgenticRetrieveStreamRequestT = Model::AgenticRetrieveStreamRequest>
121 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
122 return SubmitAsync(&BedrockAgentRuntimeClient::AgenticRetrieveStream, request, handler, context);
147 template <
typename CreateInvocationRequestT = Model::CreateInvocationRequest>
149 return SubmitCallable(&BedrockAgentRuntimeClient::CreateInvocation, request);
156 template <
typename CreateInvocationRequestT = Model::CreateInvocationRequest>
158 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
159 return SubmitAsync(&BedrockAgentRuntimeClient::CreateInvocation, request, handler, context);
197 template <
typename CreateSessionRequestT = Model::CreateSessionRequest>
199 return SubmitCallable(&BedrockAgentRuntimeClient::CreateSession, request);
206 template <
typename CreateSessionRequestT = Model::CreateSessionRequest>
208 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
209 const CreateSessionRequestT& request = {})
const {
210 return SubmitAsync(&BedrockAgentRuntimeClient::CreateSession, request, handler, context);
225 template <
typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
227 return SubmitCallable(&BedrockAgentRuntimeClient::DeleteAgentMemory, request);
234 template <
typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
236 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
237 return SubmitAsync(&BedrockAgentRuntimeClient::DeleteAgentMemory, request, handler, context);
257 template <
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
259 return SubmitCallable(&BedrockAgentRuntimeClient::DeleteSession, request);
266 template <
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
268 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
269 return SubmitAsync(&BedrockAgentRuntimeClient::DeleteSession, request, handler, context);
287 template <
typename EndSessionRequestT = Model::EndSessionRequest>
289 return SubmitCallable(&BedrockAgentRuntimeClient::EndSession, request);
296 template <
typename EndSessionRequestT = Model::EndSessionRequest>
298 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
299 return SubmitAsync(&BedrockAgentRuntimeClient::EndSession, request, handler, context);
316 template <
typename GenerateQueryRequestT = Model::GenerateQueryRequest>
318 return SubmitCallable(&BedrockAgentRuntimeClient::GenerateQuery, request);
325 template <
typename GenerateQueryRequestT = Model::GenerateQueryRequest>
327 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
328 return SubmitAsync(&BedrockAgentRuntimeClient::GenerateQuery, request, handler, context);
342 template <
typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
344 return SubmitCallable(&BedrockAgentRuntimeClient::GetAgentMemory, request);
351 template <
typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
353 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
354 return SubmitAsync(&BedrockAgentRuntimeClient::GetAgentMemory, request, handler, context);
369 template <
typename GetDocumentContentRequestT = Model::GetDocumentContentRequest>
371 return SubmitCallable(&BedrockAgentRuntimeClient::GetDocumentContent, request);
378 template <
typename GetDocumentContentRequestT = Model::GetDocumentContentRequest>
380 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
381 return SubmitAsync(&BedrockAgentRuntimeClient::GetDocumentContent, request, handler, context);
400 template <
typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
402 return SubmitCallable(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request);
409 template <
typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
412 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
413 return SubmitAsync(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request, handler, context);
429 template <
typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
431 return SubmitCallable(&BedrockAgentRuntimeClient::GetFlowExecution, request);
438 template <
typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
440 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
441 return SubmitAsync(&BedrockAgentRuntimeClient::GetFlowExecution, request, handler, context);
459 template <
typename GetInvocationStepRequestT = Model::GetInvocationStepRequest>
461 return SubmitCallable(&BedrockAgentRuntimeClient::GetInvocationStep, request);
468 template <
typename GetInvocationStepRequestT = Model::GetInvocationStepRequest>
470 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
471 return SubmitAsync(&BedrockAgentRuntimeClient::GetInvocationStep, request, handler, context);
488 template <
typename GetSessionRequestT = Model::GetSessionRequest>
490 return SubmitCallable(&BedrockAgentRuntimeClient::GetSession, request);
497 template <
typename GetSessionRequestT = Model::GetSessionRequest>
499 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
500 return SubmitAsync(&BedrockAgentRuntimeClient::GetSession, request, handler, context);
536 template <
typename InvokeAgentRequestT = Model::InvokeAgentRequest>
538 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeAgent, request);
545 template <
typename InvokeAgentRequestT = Model::InvokeAgentRequest>
547 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
548 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeAgent, request, handler, context);
569 template <
typename InvokeFlowRequestT = Model::InvokeFlowRequest>
571 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeFlow, request);
578 template <
typename InvokeFlowRequestT = Model::InvokeFlowRequest>
580 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
581 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeFlow, request, handler, context);
610 template <
typename InvokeInlineAgentRequestT = Model::InvokeInlineAgentRequest>
612 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeInlineAgent, request);
619 template <
typename InvokeInlineAgentRequestT = Model::InvokeInlineAgentRequest>
621 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
622 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeInlineAgent, request, handler, context);
640 template <
typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
642 return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request);
649 template <
typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
652 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
653 return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request, handler, context);
671 template <
typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
673 return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutions, request);
680 template <
typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
682 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
683 return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutions, request, handler, context);
701 template <
typename ListInvocationStepsRequestT = Model::ListInvocationStepsRequest>
703 return SubmitCallable(&BedrockAgentRuntimeClient::ListInvocationSteps, request);
710 template <
typename ListInvocationStepsRequestT = Model::ListInvocationStepsRequest>
712 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
713 return SubmitAsync(&BedrockAgentRuntimeClient::ListInvocationSteps, request, handler, context);
730 template <
typename ListInvocationsRequestT = Model::ListInvocationsRequest>
732 return SubmitCallable(&BedrockAgentRuntimeClient::ListInvocations, request);
739 template <
typename ListInvocationsRequestT = Model::ListInvocationsRequest>
741 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
742 return SubmitAsync(&BedrockAgentRuntimeClient::ListInvocations, request, handler, context);
759 template <
typename ListSessionsRequestT = Model::ListSessionsRequest>
761 return SubmitCallable(&BedrockAgentRuntimeClient::ListSessions, request);
768 template <
typename ListSessionsRequestT = Model::ListSessionsRequest>
770 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
771 const ListSessionsRequestT& request = {})
const {
772 return SubmitAsync(&BedrockAgentRuntimeClient::ListSessions, request, handler, context);
786 template <
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
788 return SubmitCallable(&BedrockAgentRuntimeClient::ListTagsForResource, request);
795 template <
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
797 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
798 return SubmitAsync(&BedrockAgentRuntimeClient::ListTagsForResource, request, handler, context);
816 template <
typename OptimizePromptRequestT = Model::OptimizePromptRequest>
818 return SubmitCallable(&BedrockAgentRuntimeClient::OptimizePrompt, request);
825 template <
typename OptimizePromptRequestT = Model::OptimizePromptRequest>
827 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
828 return SubmitAsync(&BedrockAgentRuntimeClient::OptimizePrompt, request, handler, context);
855 template <
typename PutInvocationStepRequestT = Model::PutInvocationStepRequest>
857 return SubmitCallable(&BedrockAgentRuntimeClient::PutInvocationStep, request);
864 template <
typename PutInvocationStepRequestT = Model::PutInvocationStepRequest>
866 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
867 return SubmitAsync(&BedrockAgentRuntimeClient::PutInvocationStep, request, handler, context);
884 template <
typename RerankRequestT = Model::RerankRequest>
886 return SubmitCallable(&BedrockAgentRuntimeClient::Rerank, request);
893 template <
typename RerankRequestT = Model::RerankRequest>
895 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
896 return SubmitAsync(&BedrockAgentRuntimeClient::Rerank, request, handler, context);
910 template <
typename RetrieveRequestT = Model::RetrieveRequest>
912 return SubmitCallable(&BedrockAgentRuntimeClient::Retrieve, request);
919 template <
typename RetrieveRequestT = Model::RetrieveRequest>
921 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
922 return SubmitAsync(&BedrockAgentRuntimeClient::Retrieve, request, handler, context);
944 template <
typename RetrieveAndGenerateRequestT = Model::RetrieveAndGenerateRequest>
946 return SubmitCallable(&BedrockAgentRuntimeClient::RetrieveAndGenerate, request);
953 template <
typename RetrieveAndGenerateRequestT = Model::RetrieveAndGenerateRequest>
955 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
956 return SubmitAsync(&BedrockAgentRuntimeClient::RetrieveAndGenerate, request, handler, context);
980 template <
typename RetrieveAndGenerateStreamRequestT = Model::RetrieveAndGenerateStreamRequest>
982 return SubmitCallable(&BedrockAgentRuntimeClient::RetrieveAndGenerateStream, request);
989 template <
typename RetrieveAndGenerateStreamRequestT = Model::RetrieveAndGenerateStreamRequest>
992 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
993 return SubmitAsync(&BedrockAgentRuntimeClient::RetrieveAndGenerateStream, request, handler, context);
1013 template <
typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
1015 return SubmitCallable(&BedrockAgentRuntimeClient::StartFlowExecution, request);
1022 template <
typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
1024 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1025 return SubmitAsync(&BedrockAgentRuntimeClient::StartFlowExecution, request, handler, context);
1041 template <
typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
1043 return SubmitCallable(&BedrockAgentRuntimeClient::StopFlowExecution, request);
1050 template <
typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
1052 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1053 return SubmitAsync(&BedrockAgentRuntimeClient::StopFlowExecution, request, handler, context);
1068 template <
typename TagResourceRequestT = Model::TagResourceRequest>
1070 return SubmitCallable(&BedrockAgentRuntimeClient::TagResource, request);
1077 template <
typename TagResourceRequestT = Model::TagResourceRequest>
1079 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1080 return SubmitAsync(&BedrockAgentRuntimeClient::TagResource, request, handler, context);
1093 template <
typename UntagResourceRequestT = Model::UntagResourceRequest>
1095 return SubmitCallable(&BedrockAgentRuntimeClient::UntagResource, request);
1102 template <
typename UntagResourceRequestT = Model::UntagResourceRequest>
1104 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1105 return SubmitAsync(&BedrockAgentRuntimeClient::UntagResource, request, handler, context);
1122 template <
typename UpdateSessionRequestT = Model::UpdateSessionRequest>
1124 return SubmitCallable(&BedrockAgentRuntimeClient::UpdateSession, request);
1131 template <
typename UpdateSessionRequestT = Model::UpdateSessionRequest>
1133 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1134 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
Model::AgenticRetrieveStreamOutcomeCallable AgenticRetrieveStreamCallable(AgenticRetrieveStreamRequestT &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::GetDocumentContentOutcome GetDocumentContent(const Model::GetDocumentContentRequest &request) 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)
void AgenticRetrieveStreamAsync(AgenticRetrieveStreamRequestT &request, const AgenticRetrieveStreamResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
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
void GetDocumentContentAsync(const GetDocumentContentRequestT &request, const GetDocumentContentResponseReceivedHandler &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::AgenticRetrieveStreamOutcome AgenticRetrieveStream(Model::AgenticRetrieveStreamRequest &request) const
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
Model::GetDocumentContentOutcomeCallable GetDocumentContentCallable(const GetDocumentContentRequestT &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< AgenticRetrieveStreamOutcome > AgenticRetrieveStreamOutcomeCallable
std::future< ListInvocationStepsOutcome > ListInvocationStepsOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::future< GetDocumentContentOutcome > GetDocumentContentOutcomeCallable
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::AgenticRetrieveStreamRequest &, const Model::AgenticRetrieveStreamOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> AgenticRetrieveStreamResponseReceivedHandler
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::GetDocumentContentRequest &, const Model::GetDocumentContentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetDocumentContentResponseReceivedHandler
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