AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
BedrockRuntimeServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/bedrock-runtime/BedrockRuntimeErrors.h>
10#include <aws/core/client/GenericClientConfiguration.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/client/AsyncCallerContext.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/bedrock-runtime/BedrockRuntimeEndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in BedrockRuntimeClient header */
21#include <aws/bedrock-runtime/model/ApplyGuardrailResult.h>
22#include <aws/bedrock-runtime/model/ConverseResult.h>
23#include <aws/bedrock-runtime/model/InvokeModelResult.h>
24#include <aws/core/NoResult.h>
25/* End of service model headers required in BedrockRuntimeClient header */
26
27namespace Aws
28{
29 namespace Http
30 {
31 class HttpClient;
32 class HttpClientFactory;
33 } // namespace Http
34
35 namespace Utils
36 {
37 template< typename R, typename E> class Outcome;
38
39 namespace Threading
40 {
41 class Executor;
42 } // namespace Threading
43 } // namespace Utils
44
45 namespace Auth
46 {
47 class AWSCredentials;
48 class AWSCredentialsProvider;
49 } // namespace Auth
50
51 namespace Client
52 {
53 class RetryStrategy;
54 } // namespace Client
55
56 namespace BedrockRuntime
57 {
61
62 namespace Model
63 {
64 /* Service model forward declarations required in BedrockRuntimeClient header */
66 class ConverseRequest;
70 /* End of service model forward declarations required in BedrockRuntimeClient header */
71
72 /* Service model Outcome class definitions */
78 /* End of service model Outcome class definitions */
79
80 /* Service model Outcome callable definitions */
81 typedef std::future<ApplyGuardrailOutcome> ApplyGuardrailOutcomeCallable;
82 typedef std::future<ConverseOutcome> ConverseOutcomeCallable;
83 typedef std::future<ConverseStreamOutcome> ConverseStreamOutcomeCallable;
84 typedef std::future<InvokeModelOutcome> InvokeModelOutcomeCallable;
85 typedef std::future<InvokeModelWithResponseStreamOutcome> InvokeModelWithResponseStreamOutcomeCallable;
86 /* End of service model Outcome callable definitions */
87 } // namespace Model
88
90
91 /* Service model async handlers definitions */
92 typedef std::function<void(const BedrockRuntimeClient*, const Model::ApplyGuardrailRequest&, const Model::ApplyGuardrailOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ApplyGuardrailResponseReceivedHandler;
93 typedef std::function<void(const BedrockRuntimeClient*, const Model::ConverseRequest&, const Model::ConverseOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ConverseResponseReceivedHandler;
94 typedef std::function<void(const BedrockRuntimeClient*, const Model::ConverseStreamRequest&, const Model::ConverseStreamOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ConverseStreamResponseReceivedHandler;
95 typedef std::function<void(const BedrockRuntimeClient*, const Model::InvokeModelRequest&, Model::InvokeModelOutcome, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > InvokeModelResponseReceivedHandler;
96 typedef std::function<void(const BedrockRuntimeClient*, const Model::InvokeModelWithResponseStreamRequest&, const Model::InvokeModelWithResponseStreamOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > InvokeModelWithResponseStreamResponseReceivedHandler;
97 /* End of service model async handlers definitions */
98 } // namespace BedrockRuntime
99} // namespace Aws
EndpointProviderBase< BedrockRuntimeClientConfiguration, BedrockRuntimeBuiltInParameters, BedrockRuntimeClientContextParameters > BedrockRuntimeEndpointProviderBase
Aws::Utils::Outcome< ApplyGuardrailResult, BedrockRuntimeError > ApplyGuardrailOutcome
Aws::Utils::Outcome< Aws::NoResult, BedrockRuntimeError > InvokeModelWithResponseStreamOutcome
Aws::Utils::Outcome< ConverseResult, BedrockRuntimeError > ConverseOutcome
std::future< InvokeModelWithResponseStreamOutcome > InvokeModelWithResponseStreamOutcomeCallable
std::future< InvokeModelOutcome > InvokeModelOutcomeCallable
std::future< ConverseOutcome > ConverseOutcomeCallable
Aws::Utils::Outcome< Aws::NoResult, BedrockRuntimeError > ConverseStreamOutcome
std::future< ConverseStreamOutcome > ConverseStreamOutcomeCallable
Aws::Utils::Outcome< InvokeModelResult, BedrockRuntimeError > InvokeModelOutcome
std::future< ApplyGuardrailOutcome > ApplyGuardrailOutcomeCallable
std::function< void(const BedrockRuntimeClient *, const Model::InvokeModelRequest &, Model::InvokeModelOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeModelResponseReceivedHandler
std::function< void(const BedrockRuntimeClient *, const Model::ApplyGuardrailRequest &, const Model::ApplyGuardrailOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ApplyGuardrailResponseReceivedHandler
std::function< void(const BedrockRuntimeClient *, const Model::ConverseRequest &, const Model::ConverseOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ConverseResponseReceivedHandler
std::function< void(const BedrockRuntimeClient *, const Model::ConverseStreamRequest &, const Model::ConverseStreamOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ConverseStreamResponseReceivedHandler
std::function< void(const BedrockRuntimeClient *, const Model::InvokeModelWithResponseStreamRequest &, const Model::InvokeModelWithResponseStreamOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeModelWithResponseStreamResponseReceivedHandler