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[];
34 Aws::BedrockAgentRuntime::SERVICE_NAME, Aws::BedrockAgentRuntime::BedrockAgentRuntimeClientConfiguration,
35 smithy::AuthSchemeResolverBase<>, Aws::Crt::Variant<smithy::SigV4AuthScheme>, BedrockAgentRuntimeEndpointProviderBase,
36 smithy::client::JsonOutcomeSerializer, smithy::client::JsonOutcome, Aws::Client::BedrockAgentRuntimeErrorMarshaller>,
53 std::shared_ptr<BedrockAgentRuntimeEndpointProviderBase> endpointProvider =
nullptr);
60 std::shared_ptr<BedrockAgentRuntimeEndpointProviderBase> endpointProvider =
nullptr,
69 std::shared_ptr<BedrockAgentRuntimeEndpointProviderBase> endpointProvider =
nullptr,
115 template <
typename AgenticRetrieveStreamRequestT = Model::AgenticRetrieveStreamRequest>
117 return SubmitCallable(&BedrockAgentRuntimeClient::AgenticRetrieveStream, request);
124 template <
typename AgenticRetrieveStreamRequestT = Model::AgenticRetrieveStreamRequest>
126 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
127 return SubmitAsync(&BedrockAgentRuntimeClient::AgenticRetrieveStream, request, handler, context);
146 template <
typename CheckIngestedDocumentAclRequestT = Model::CheckIngestedDocumentAclRequest>
148 return SubmitCallable(&BedrockAgentRuntimeClient::CheckIngestedDocumentAcl, request);
155 template <
typename CheckIngestedDocumentAclRequestT = Model::CheckIngestedDocumentAclRequest>
158 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
159 return SubmitAsync(&BedrockAgentRuntimeClient::CheckIngestedDocumentAcl, request, handler, context);
184 template <
typename CreateInvocationRequestT = Model::CreateInvocationRequest>
186 return SubmitCallable(&BedrockAgentRuntimeClient::CreateInvocation, request);
193 template <
typename CreateInvocationRequestT = Model::CreateInvocationRequest>
195 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
196 return SubmitAsync(&BedrockAgentRuntimeClient::CreateInvocation, request, handler, context);
234 template <
typename CreateSessionRequestT = Model::CreateSessionRequest>
236 return SubmitCallable(&BedrockAgentRuntimeClient::CreateSession, request);
243 template <
typename CreateSessionRequestT = Model::CreateSessionRequest>
245 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
246 const CreateSessionRequestT& request = {})
const {
247 return SubmitAsync(&BedrockAgentRuntimeClient::CreateSession, request, handler, context);
262 template <
typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
264 return SubmitCallable(&BedrockAgentRuntimeClient::DeleteAgentMemory, request);
271 template <
typename DeleteAgentMemoryRequestT = Model::DeleteAgentMemoryRequest>
273 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
274 return SubmitAsync(&BedrockAgentRuntimeClient::DeleteAgentMemory, request, handler, context);
294 template <
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
296 return SubmitCallable(&BedrockAgentRuntimeClient::DeleteSession, request);
303 template <
typename DeleteSessionRequestT = Model::DeleteSessionRequest>
305 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
306 return SubmitAsync(&BedrockAgentRuntimeClient::DeleteSession, request, handler, context);
324 template <
typename EndSessionRequestT = Model::EndSessionRequest>
326 return SubmitCallable(&BedrockAgentRuntimeClient::EndSession, request);
333 template <
typename EndSessionRequestT = Model::EndSessionRequest>
335 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
336 return SubmitAsync(&BedrockAgentRuntimeClient::EndSession, request, handler, context);
353 template <
typename GenerateQueryRequestT = Model::GenerateQueryRequest>
355 return SubmitCallable(&BedrockAgentRuntimeClient::GenerateQuery, request);
362 template <
typename GenerateQueryRequestT = Model::GenerateQueryRequest>
364 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
365 return SubmitAsync(&BedrockAgentRuntimeClient::GenerateQuery, request, handler, context);
379 template <
typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
381 return SubmitCallable(&BedrockAgentRuntimeClient::GetAgentMemory, request);
388 template <
typename GetAgentMemoryRequestT = Model::GetAgentMemoryRequest>
390 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
391 return SubmitAsync(&BedrockAgentRuntimeClient::GetAgentMemory, request, handler, context);
406 template <
typename GetDocumentContentRequestT = Model::GetDocumentContentRequest>
408 return SubmitCallable(&BedrockAgentRuntimeClient::GetDocumentContent, request);
415 template <
typename GetDocumentContentRequestT = Model::GetDocumentContentRequest>
417 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
418 return SubmitAsync(&BedrockAgentRuntimeClient::GetDocumentContent, request, handler, context);
437 template <
typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
439 return SubmitCallable(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request);
446 template <
typename GetExecutionFlowSnapshotRequestT = Model::GetExecutionFlowSnapshotRequest>
449 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
450 return SubmitAsync(&BedrockAgentRuntimeClient::GetExecutionFlowSnapshot, request, handler, context);
466 template <
typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
468 return SubmitCallable(&BedrockAgentRuntimeClient::GetFlowExecution, request);
475 template <
typename GetFlowExecutionRequestT = Model::GetFlowExecutionRequest>
477 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
478 return SubmitAsync(&BedrockAgentRuntimeClient::GetFlowExecution, request, handler, context);
496 template <
typename GetIngestedDocumentAclRequestT = Model::GetIngestedDocumentAclRequest>
498 return SubmitCallable(&BedrockAgentRuntimeClient::GetIngestedDocumentAcl, request);
505 template <
typename GetIngestedDocumentAclRequestT = Model::GetIngestedDocumentAclRequest>
508 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
509 return SubmitAsync(&BedrockAgentRuntimeClient::GetIngestedDocumentAcl, request, handler, context);
527 template <
typename GetInvocationStepRequestT = Model::GetInvocationStepRequest>
529 return SubmitCallable(&BedrockAgentRuntimeClient::GetInvocationStep, request);
536 template <
typename GetInvocationStepRequestT = Model::GetInvocationStepRequest>
538 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
539 return SubmitAsync(&BedrockAgentRuntimeClient::GetInvocationStep, request, handler, context);
556 template <
typename GetSessionRequestT = Model::GetSessionRequest>
558 return SubmitCallable(&BedrockAgentRuntimeClient::GetSession, request);
565 template <
typename GetSessionRequestT = Model::GetSessionRequest>
567 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
568 return SubmitAsync(&BedrockAgentRuntimeClient::GetSession, request, handler, context);
610 template <
typename InvokeAgentRequestT = Model::InvokeAgentRequest>
612 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeAgent, request);
619 template <
typename InvokeAgentRequestT = Model::InvokeAgentRequest>
621 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
622 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeAgent, request, handler, context);
643 template <
typename InvokeFlowRequestT = Model::InvokeFlowRequest>
645 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeFlow, request);
652 template <
typename InvokeFlowRequestT = Model::InvokeFlowRequest>
654 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
655 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeFlow, request, handler, context);
684 template <
typename InvokeInlineAgentRequestT = Model::InvokeInlineAgentRequest>
686 return SubmitCallable(&BedrockAgentRuntimeClient::InvokeInlineAgent, request);
693 template <
typename InvokeInlineAgentRequestT = Model::InvokeInlineAgentRequest>
695 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
696 return SubmitAsync(&BedrockAgentRuntimeClient::InvokeInlineAgent, request, handler, context);
714 template <
typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
716 return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request);
723 template <
typename ListFlowExecutionEventsRequestT = Model::ListFlowExecutionEventsRequest>
726 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
727 return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutionEvents, request, handler, context);
745 template <
typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
747 return SubmitCallable(&BedrockAgentRuntimeClient::ListFlowExecutions, request);
754 template <
typename ListFlowExecutionsRequestT = Model::ListFlowExecutionsRequest>
756 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
757 return SubmitAsync(&BedrockAgentRuntimeClient::ListFlowExecutions, request, handler, context);
775 template <
typename ListInvocationStepsRequestT = Model::ListInvocationStepsRequest>
777 return SubmitCallable(&BedrockAgentRuntimeClient::ListInvocationSteps, request);
784 template <
typename ListInvocationStepsRequestT = Model::ListInvocationStepsRequest>
786 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
787 return SubmitAsync(&BedrockAgentRuntimeClient::ListInvocationSteps, request, handler, context);
804 template <
typename ListInvocationsRequestT = Model::ListInvocationsRequest>
806 return SubmitCallable(&BedrockAgentRuntimeClient::ListInvocations, request);
813 template <
typename ListInvocationsRequestT = Model::ListInvocationsRequest>
815 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
816 return SubmitAsync(&BedrockAgentRuntimeClient::ListInvocations, request, handler, context);
833 template <
typename ListSessionsRequestT = Model::ListSessionsRequest>
835 return SubmitCallable(&BedrockAgentRuntimeClient::ListSessions, request);
842 template <
typename ListSessionsRequestT = Model::ListSessionsRequest>
844 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr,
845 const ListSessionsRequestT& request = {})
const {
846 return SubmitAsync(&BedrockAgentRuntimeClient::ListSessions, request, handler, context);
860 template <
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
862 return SubmitCallable(&BedrockAgentRuntimeClient::ListTagsForResource, request);
869 template <
typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
871 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
872 return SubmitAsync(&BedrockAgentRuntimeClient::ListTagsForResource, request, handler, context);
890 template <
typename OptimizePromptRequestT = Model::OptimizePromptRequest>
892 return SubmitCallable(&BedrockAgentRuntimeClient::OptimizePrompt, request);
899 template <
typename OptimizePromptRequestT = Model::OptimizePromptRequest>
901 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
902 return SubmitAsync(&BedrockAgentRuntimeClient::OptimizePrompt, request, handler, context);
929 template <
typename PutInvocationStepRequestT = Model::PutInvocationStepRequest>
931 return SubmitCallable(&BedrockAgentRuntimeClient::PutInvocationStep, request);
938 template <
typename PutInvocationStepRequestT = Model::PutInvocationStepRequest>
940 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
941 return SubmitAsync(&BedrockAgentRuntimeClient::PutInvocationStep, request, handler, context);
958 template <
typename RerankRequestT = Model::RerankRequest>
960 return SubmitCallable(&BedrockAgentRuntimeClient::Rerank, request);
967 template <
typename RerankRequestT = Model::RerankRequest>
969 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
970 return SubmitAsync(&BedrockAgentRuntimeClient::Rerank, request, handler, context);
984 template <
typename RetrieveRequestT = Model::RetrieveRequest>
986 return SubmitCallable(&BedrockAgentRuntimeClient::Retrieve, request);
993 template <
typename RetrieveRequestT = Model::RetrieveRequest>
995 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
996 return SubmitAsync(&BedrockAgentRuntimeClient::Retrieve, request, handler, context);
1018 template <
typename RetrieveAndGenerateRequestT = Model::RetrieveAndGenerateRequest>
1020 return SubmitCallable(&BedrockAgentRuntimeClient::RetrieveAndGenerate, request);
1027 template <
typename RetrieveAndGenerateRequestT = Model::RetrieveAndGenerateRequest>
1029 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1030 return SubmitAsync(&BedrockAgentRuntimeClient::RetrieveAndGenerate, request, handler, context);
1054 template <
typename RetrieveAndGenerateStreamRequestT = Model::RetrieveAndGenerateStreamRequest>
1056 return SubmitCallable(&BedrockAgentRuntimeClient::RetrieveAndGenerateStream, request);
1063 template <
typename RetrieveAndGenerateStreamRequestT = Model::RetrieveAndGenerateStreamRequest>
1066 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1067 return SubmitAsync(&BedrockAgentRuntimeClient::RetrieveAndGenerateStream, request, handler, context);
1087 template <
typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
1089 return SubmitCallable(&BedrockAgentRuntimeClient::StartFlowExecution, request);
1096 template <
typename StartFlowExecutionRequestT = Model::StartFlowExecutionRequest>
1098 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1099 return SubmitAsync(&BedrockAgentRuntimeClient::StartFlowExecution, request, handler, context);
1115 template <
typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
1117 return SubmitCallable(&BedrockAgentRuntimeClient::StopFlowExecution, request);
1124 template <
typename StopFlowExecutionRequestT = Model::StopFlowExecutionRequest>
1126 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1127 return SubmitAsync(&BedrockAgentRuntimeClient::StopFlowExecution, request, handler, context);
1142 template <
typename TagResourceRequestT = Model::TagResourceRequest>
1144 return SubmitCallable(&BedrockAgentRuntimeClient::TagResource, request);
1151 template <
typename TagResourceRequestT = Model::TagResourceRequest>
1153 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1154 return SubmitAsync(&BedrockAgentRuntimeClient::TagResource, request, handler, context);
1167 template <
typename UntagResourceRequestT = Model::UntagResourceRequest>
1169 return SubmitCallable(&BedrockAgentRuntimeClient::UntagResource, request);
1176 template <
typename UntagResourceRequestT = Model::UntagResourceRequest>
1178 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1179 return SubmitAsync(&BedrockAgentRuntimeClient::UntagResource, request, handler, context);
1196 template <
typename UpdateSessionRequestT = Model::UpdateSessionRequest>
1198 return SubmitCallable(&BedrockAgentRuntimeClient::UpdateSession, request);
1205 template <
typename UpdateSessionRequestT = Model::UpdateSessionRequest>
1207 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
1208 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::GetIngestedDocumentAclOutcome GetIngestedDocumentAcl(const Model::GetIngestedDocumentAclRequest &request) 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
Model::GetIngestedDocumentAclOutcomeCallable GetIngestedDocumentAclCallable(const GetIngestedDocumentAclRequestT &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::CheckIngestedDocumentAclOutcome CheckIngestedDocumentAcl(const Model::CheckIngestedDocumentAclRequest &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
void CheckIngestedDocumentAclAsync(const CheckIngestedDocumentAclRequestT &request, const CheckIngestedDocumentAclResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) 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
void GetIngestedDocumentAclAsync(const GetIngestedDocumentAclRequestT &request, const GetIngestedDocumentAclResponseReceivedHandler &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()
Model::CheckIngestedDocumentAclOutcomeCallable CheckIngestedDocumentAclCallable(const CheckIngestedDocumentAclRequestT &request) const
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< CheckIngestedDocumentAclOutcome > CheckIngestedDocumentAclOutcomeCallable
std::future< GetIngestedDocumentAclOutcome > GetIngestedDocumentAclOutcomeCallable
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::GetIngestedDocumentAclRequest &, const Model::GetIngestedDocumentAclOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> GetIngestedDocumentAclResponseReceivedHandler
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::CheckIngestedDocumentAclRequest &, const Model::CheckIngestedDocumentAclOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> CheckIngestedDocumentAclResponseReceivedHandler
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