|
18 | 18 | /* End of generic header includes */
|
19 | 19 |
|
20 | 20 | /* Service model headers required in BedrockAgentRuntimeClient header */
|
| 21 | +#include <aws/bedrock-agent-runtime/model/CreateInvocationResult.h> |
| 22 | +#include <aws/bedrock-agent-runtime/model/CreateSessionResult.h> |
21 | 23 | #include <aws/bedrock-agent-runtime/model/DeleteAgentMemoryResult.h>
|
| 24 | +#include <aws/bedrock-agent-runtime/model/DeleteSessionResult.h> |
| 25 | +#include <aws/bedrock-agent-runtime/model/EndSessionResult.h> |
22 | 26 | #include <aws/bedrock-agent-runtime/model/GenerateQueryResult.h>
|
23 | 27 | #include <aws/bedrock-agent-runtime/model/GetAgentMemoryResult.h>
|
| 28 | +#include <aws/bedrock-agent-runtime/model/GetInvocationStepResult.h> |
| 29 | +#include <aws/bedrock-agent-runtime/model/GetSessionResult.h> |
| 30 | +#include <aws/bedrock-agent-runtime/model/ListInvocationStepsResult.h> |
| 31 | +#include <aws/bedrock-agent-runtime/model/ListInvocationsResult.h> |
| 32 | +#include <aws/bedrock-agent-runtime/model/ListSessionsResult.h> |
| 33 | +#include <aws/bedrock-agent-runtime/model/ListTagsForResourceResult.h> |
| 34 | +#include <aws/bedrock-agent-runtime/model/PutInvocationStepResult.h> |
24 | 35 | #include <aws/bedrock-agent-runtime/model/RerankSdkResult.h>
|
25 | 36 | #include <aws/bedrock-agent-runtime/model/RetrieveResult.h>
|
26 | 37 | #include <aws/bedrock-agent-runtime/model/RetrieveAndGenerateResult.h>
|
| 38 | +#include <aws/bedrock-agent-runtime/model/TagResourceResult.h> |
| 39 | +#include <aws/bedrock-agent-runtime/model/UntagResourceResult.h> |
| 40 | +#include <aws/bedrock-agent-runtime/model/UpdateSessionResult.h> |
| 41 | +#include <aws/bedrock-agent-runtime/model/CreateSessionRequest.h> |
| 42 | +#include <aws/bedrock-agent-runtime/model/ListSessionsRequest.h> |
27 | 43 | #include <aws/core/NoResult.h>
|
28 | 44 | /* End of service model headers required in BedrockAgentRuntimeClient header */
|
29 | 45 |
|
@@ -65,62 +81,118 @@ namespace Aws
|
65 | 81 | namespace Model
|
66 | 82 | {
|
67 | 83 | /* Service model forward declarations required in BedrockAgentRuntimeClient header */
|
| 84 | + class CreateInvocationRequest; |
| 85 | + class CreateSessionRequest; |
68 | 86 | class DeleteAgentMemoryRequest;
|
| 87 | + class DeleteSessionRequest; |
| 88 | + class EndSessionRequest; |
69 | 89 | class GenerateQueryRequest;
|
70 | 90 | class GetAgentMemoryRequest;
|
| 91 | + class GetInvocationStepRequest; |
| 92 | + class GetSessionRequest; |
71 | 93 | class InvokeAgentRequest;
|
72 | 94 | class InvokeFlowRequest;
|
73 | 95 | class InvokeInlineAgentRequest;
|
| 96 | + class ListInvocationStepsRequest; |
| 97 | + class ListInvocationsRequest; |
| 98 | + class ListSessionsRequest; |
| 99 | + class ListTagsForResourceRequest; |
74 | 100 | class OptimizePromptRequest;
|
| 101 | + class PutInvocationStepRequest; |
75 | 102 | class RerankRequest;
|
76 | 103 | class RetrieveRequest;
|
77 | 104 | class RetrieveAndGenerateRequest;
|
78 | 105 | class RetrieveAndGenerateStreamRequest;
|
| 106 | + class TagResourceRequest; |
| 107 | + class UntagResourceRequest; |
| 108 | + class UpdateSessionRequest; |
79 | 109 | /* End of service model forward declarations required in BedrockAgentRuntimeClient header */
|
80 | 110 |
|
81 | 111 | /* Service model Outcome class definitions */
|
| 112 | + typedef Aws::Utils::Outcome<CreateInvocationResult, BedrockAgentRuntimeError> CreateInvocationOutcome; |
| 113 | + typedef Aws::Utils::Outcome<CreateSessionResult, BedrockAgentRuntimeError> CreateSessionOutcome; |
82 | 114 | typedef Aws::Utils::Outcome<DeleteAgentMemoryResult, BedrockAgentRuntimeError> DeleteAgentMemoryOutcome;
|
| 115 | + typedef Aws::Utils::Outcome<DeleteSessionResult, BedrockAgentRuntimeError> DeleteSessionOutcome; |
| 116 | + typedef Aws::Utils::Outcome<EndSessionResult, BedrockAgentRuntimeError> EndSessionOutcome; |
83 | 117 | typedef Aws::Utils::Outcome<GenerateQueryResult, BedrockAgentRuntimeError> GenerateQueryOutcome;
|
84 | 118 | typedef Aws::Utils::Outcome<GetAgentMemoryResult, BedrockAgentRuntimeError> GetAgentMemoryOutcome;
|
| 119 | + typedef Aws::Utils::Outcome<GetInvocationStepResult, BedrockAgentRuntimeError> GetInvocationStepOutcome; |
| 120 | + typedef Aws::Utils::Outcome<GetSessionResult, BedrockAgentRuntimeError> GetSessionOutcome; |
85 | 121 | typedef Aws::Utils::Outcome<Aws::NoResult, BedrockAgentRuntimeError> InvokeAgentOutcome;
|
86 | 122 | typedef Aws::Utils::Outcome<Aws::NoResult, BedrockAgentRuntimeError> InvokeFlowOutcome;
|
87 | 123 | typedef Aws::Utils::Outcome<Aws::NoResult, BedrockAgentRuntimeError> InvokeInlineAgentOutcome;
|
| 124 | + typedef Aws::Utils::Outcome<ListInvocationStepsResult, BedrockAgentRuntimeError> ListInvocationStepsOutcome; |
| 125 | + typedef Aws::Utils::Outcome<ListInvocationsResult, BedrockAgentRuntimeError> ListInvocationsOutcome; |
| 126 | + typedef Aws::Utils::Outcome<ListSessionsResult, BedrockAgentRuntimeError> ListSessionsOutcome; |
| 127 | + typedef Aws::Utils::Outcome<ListTagsForResourceResult, BedrockAgentRuntimeError> ListTagsForResourceOutcome; |
88 | 128 | typedef Aws::Utils::Outcome<Aws::NoResult, BedrockAgentRuntimeError> OptimizePromptOutcome;
|
| 129 | + typedef Aws::Utils::Outcome<PutInvocationStepResult, BedrockAgentRuntimeError> PutInvocationStepOutcome; |
89 | 130 | typedef Aws::Utils::Outcome<RerankSdkResult, BedrockAgentRuntimeError> RerankOutcome;
|
90 | 131 | typedef Aws::Utils::Outcome<RetrieveResult, BedrockAgentRuntimeError> RetrieveOutcome;
|
91 | 132 | typedef Aws::Utils::Outcome<RetrieveAndGenerateResult, BedrockAgentRuntimeError> RetrieveAndGenerateOutcome;
|
92 | 133 | typedef Aws::Utils::Outcome<Aws::NoResult, BedrockAgentRuntimeError> RetrieveAndGenerateStreamOutcome;
|
| 134 | + typedef Aws::Utils::Outcome<TagResourceResult, BedrockAgentRuntimeError> TagResourceOutcome; |
| 135 | + typedef Aws::Utils::Outcome<UntagResourceResult, BedrockAgentRuntimeError> UntagResourceOutcome; |
| 136 | + typedef Aws::Utils::Outcome<UpdateSessionResult, BedrockAgentRuntimeError> UpdateSessionOutcome; |
93 | 137 | /* End of service model Outcome class definitions */
|
94 | 138 |
|
95 | 139 | /* Service model Outcome callable definitions */
|
| 140 | + typedef std::future<CreateInvocationOutcome> CreateInvocationOutcomeCallable; |
| 141 | + typedef std::future<CreateSessionOutcome> CreateSessionOutcomeCallable; |
96 | 142 | typedef std::future<DeleteAgentMemoryOutcome> DeleteAgentMemoryOutcomeCallable;
|
| 143 | + typedef std::future<DeleteSessionOutcome> DeleteSessionOutcomeCallable; |
| 144 | + typedef std::future<EndSessionOutcome> EndSessionOutcomeCallable; |
97 | 145 | typedef std::future<GenerateQueryOutcome> GenerateQueryOutcomeCallable;
|
98 | 146 | typedef std::future<GetAgentMemoryOutcome> GetAgentMemoryOutcomeCallable;
|
| 147 | + typedef std::future<GetInvocationStepOutcome> GetInvocationStepOutcomeCallable; |
| 148 | + typedef std::future<GetSessionOutcome> GetSessionOutcomeCallable; |
99 | 149 | typedef std::future<InvokeAgentOutcome> InvokeAgentOutcomeCallable;
|
100 | 150 | typedef std::future<InvokeFlowOutcome> InvokeFlowOutcomeCallable;
|
101 | 151 | typedef std::future<InvokeInlineAgentOutcome> InvokeInlineAgentOutcomeCallable;
|
| 152 | + typedef std::future<ListInvocationStepsOutcome> ListInvocationStepsOutcomeCallable; |
| 153 | + typedef std::future<ListInvocationsOutcome> ListInvocationsOutcomeCallable; |
| 154 | + typedef std::future<ListSessionsOutcome> ListSessionsOutcomeCallable; |
| 155 | + typedef std::future<ListTagsForResourceOutcome> ListTagsForResourceOutcomeCallable; |
102 | 156 | typedef std::future<OptimizePromptOutcome> OptimizePromptOutcomeCallable;
|
| 157 | + typedef std::future<PutInvocationStepOutcome> PutInvocationStepOutcomeCallable; |
103 | 158 | typedef std::future<RerankOutcome> RerankOutcomeCallable;
|
104 | 159 | typedef std::future<RetrieveOutcome> RetrieveOutcomeCallable;
|
105 | 160 | typedef std::future<RetrieveAndGenerateOutcome> RetrieveAndGenerateOutcomeCallable;
|
106 | 161 | typedef std::future<RetrieveAndGenerateStreamOutcome> RetrieveAndGenerateStreamOutcomeCallable;
|
| 162 | + typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable; |
| 163 | + typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable; |
| 164 | + typedef std::future<UpdateSessionOutcome> UpdateSessionOutcomeCallable; |
107 | 165 | /* End of service model Outcome callable definitions */
|
108 | 166 | } // namespace Model
|
109 | 167 |
|
110 | 168 | class BedrockAgentRuntimeClient;
|
111 | 169 |
|
112 | 170 | /* Service model async handlers definitions */
|
| 171 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::CreateInvocationRequest&, const Model::CreateInvocationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateInvocationResponseReceivedHandler; |
| 172 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::CreateSessionRequest&, const Model::CreateSessionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateSessionResponseReceivedHandler; |
113 | 173 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::DeleteAgentMemoryRequest&, const Model::DeleteAgentMemoryOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAgentMemoryResponseReceivedHandler;
|
| 174 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::DeleteSessionRequest&, const Model::DeleteSessionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteSessionResponseReceivedHandler; |
| 175 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::EndSessionRequest&, const Model::EndSessionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EndSessionResponseReceivedHandler; |
114 | 176 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::GenerateQueryRequest&, const Model::GenerateQueryOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GenerateQueryResponseReceivedHandler;
|
115 | 177 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::GetAgentMemoryRequest&, const Model::GetAgentMemoryOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetAgentMemoryResponseReceivedHandler;
|
| 178 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::GetInvocationStepRequest&, const Model::GetInvocationStepOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetInvocationStepResponseReceivedHandler; |
| 179 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::GetSessionRequest&, const Model::GetSessionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSessionResponseReceivedHandler; |
116 | 180 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::InvokeAgentRequest&, const Model::InvokeAgentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > InvokeAgentResponseReceivedHandler;
|
117 | 181 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::InvokeFlowRequest&, const Model::InvokeFlowOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > InvokeFlowResponseReceivedHandler;
|
118 | 182 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::InvokeInlineAgentRequest&, const Model::InvokeInlineAgentOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > InvokeInlineAgentResponseReceivedHandler;
|
| 183 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::ListInvocationStepsRequest&, const Model::ListInvocationStepsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListInvocationStepsResponseReceivedHandler; |
| 184 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::ListInvocationsRequest&, const Model::ListInvocationsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListInvocationsResponseReceivedHandler; |
| 185 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::ListSessionsRequest&, const Model::ListSessionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListSessionsResponseReceivedHandler; |
| 186 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::ListTagsForResourceRequest&, const Model::ListTagsForResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListTagsForResourceResponseReceivedHandler; |
119 | 187 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::OptimizePromptRequest&, const Model::OptimizePromptOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > OptimizePromptResponseReceivedHandler;
|
| 188 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::PutInvocationStepRequest&, const Model::PutInvocationStepOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutInvocationStepResponseReceivedHandler; |
120 | 189 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::RerankRequest&, const Model::RerankOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RerankResponseReceivedHandler;
|
121 | 190 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::RetrieveRequest&, const Model::RetrieveOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetrieveResponseReceivedHandler;
|
122 | 191 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::RetrieveAndGenerateRequest&, const Model::RetrieveAndGenerateOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetrieveAndGenerateResponseReceivedHandler;
|
123 | 192 | typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::RetrieveAndGenerateStreamRequest&, const Model::RetrieveAndGenerateStreamOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetrieveAndGenerateStreamResponseReceivedHandler;
|
| 193 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler; |
| 194 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler; |
| 195 | + typedef std::function<void(const BedrockAgentRuntimeClient*, const Model::UpdateSessionRequest&, const Model::UpdateSessionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateSessionResponseReceivedHandler; |
124 | 196 | /* End of service model async handlers definitions */
|
125 | 197 | } // namespace BedrockAgentRuntime
|
126 | 198 | } // namespace Aws
|
0 commit comments