7#include <aws/core/client/AWSClient.h>
8#include <aws/core/client/AWSClientAsyncCRTP.h>
9#include <aws/core/client/ClientConfiguration.h>
10#include <aws/core/utils/json/JsonSerializer.h>
11#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntimePaginationBase.h>
12#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntimeServiceClientModel.h>
13#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntimeWaiter.h>
14#include <aws/sagemaker-gateway-runtime/SageMakerGatewayRuntime_EXPORTS.h>
17namespace SageMakerGatewayRuntime {
50 Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration(),
51 std::shared_ptr<SageMakerGatewayRuntimeEndpointProviderBase> endpointProvider =
nullptr);
58 std::shared_ptr<SageMakerGatewayRuntimeEndpointProviderBase> endpointProvider =
nullptr,
59 const Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration& clientConfiguration =
60 Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration());
67 std::shared_ptr<SageMakerGatewayRuntimeEndpointProviderBase> endpointProvider =
nullptr,
68 const Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration& clientConfiguration =
69 Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration());
142 template <
typename InvokeGlobalInferenceGatewayRequestT = Model::InvokeGlobalInferenceGatewayRequest>
144 const InvokeGlobalInferenceGatewayRequestT& request)
const {
145 return SubmitCallable(&SageMakerGatewayRuntimeClient::InvokeGlobalInferenceGateway, request);
152 template <
typename InvokeGlobalInferenceGatewayRequestT = Model::InvokeGlobalInferenceGatewayRequest>
155 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
156 return SubmitAsync(&SageMakerGatewayRuntimeClient::InvokeGlobalInferenceGateway, request, handler, context);
218 template <
typename InvokeGlobalInferenceGatewayWithResponseStreamRequestT = Model::InvokeGlobalInferenceGatewayWithResponseStreamRequest>
220 InvokeGlobalInferenceGatewayWithResponseStreamRequestT& request)
const {
221 return SubmitCallable(&SageMakerGatewayRuntimeClient::InvokeGlobalInferenceGatewayWithResponseStream, request);
228 template <
typename InvokeGlobalInferenceGatewayWithResponseStreamRequestT = Model::InvokeGlobalInferenceGatewayWithResponseStreamRequest>
230 InvokeGlobalInferenceGatewayWithResponseStreamRequestT& request,
232 const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context =
nullptr)
const {
233 return SubmitAsync(&SageMakerGatewayRuntimeClient::InvokeGlobalInferenceGatewayWithResponseStream, request, handler, context);
241 void init(
const SageMakerGatewayRuntimeClientConfiguration& clientConfiguration);
249 SageMakerGatewayRuntimeClientConfiguration m_clientConfiguration;
250 std::shared_ptr<SageMakerGatewayRuntimeEndpointProviderBase> m_endpointProvider;
virtual std::shared_ptr< SageMakerGatewayRuntimeEndpointProviderBase > & accessEndpointProvider()
SageMakerGatewayRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SageMakerGatewayRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration &clientConfiguration=Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration())
SageMakerGatewayRuntimeClient(const Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration &clientConfiguration=Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration(), std::shared_ptr< SageMakerGatewayRuntimeEndpointProviderBase > endpointProvider=nullptr)
virtual Model::InvokeGlobalInferenceGatewayWithResponseStreamOutcome InvokeGlobalInferenceGatewayWithResponseStream(Model::InvokeGlobalInferenceGatewayWithResponseStreamRequest &request) const
SageMakerGatewayRuntimeClientConfiguration ClientConfigurationType
virtual ~SageMakerGatewayRuntimeClient()
virtual Model::InvokeGlobalInferenceGatewayOutcome InvokeGlobalInferenceGateway(const Model::InvokeGlobalInferenceGatewayRequest &request) const
SageMakerGatewayRuntimeClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::InvokeGlobalInferenceGatewayWithResponseStreamOutcomeCallable InvokeGlobalInferenceGatewayWithResponseStreamCallable(InvokeGlobalInferenceGatewayWithResponseStreamRequestT &request) const
SageMakerGatewayRuntimeEndpointProvider EndpointProviderType
Aws::Client::AWSJsonClient BASECLASS
static const char * GetServiceName()
void InvokeGlobalInferenceGatewayWithResponseStreamAsync(InvokeGlobalInferenceGatewayWithResponseStreamRequestT &request, const InvokeGlobalInferenceGatewayWithResponseStreamResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual void OverrideEndpoint(const Aws::String &endpoint)
Model::InvokeGlobalInferenceGatewayOutcomeCallable InvokeGlobalInferenceGatewayCallable(const InvokeGlobalInferenceGatewayRequestT &request) const
SageMakerGatewayRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
static const char * GetAllocationTag()
void InvokeGlobalInferenceGatewayAsync(const InvokeGlobalInferenceGatewayRequestT &request, const InvokeGlobalInferenceGatewayResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SageMakerGatewayRuntimeClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SageMakerGatewayRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration &clientConfiguration=Aws::SageMakerGatewayRuntime::SageMakerGatewayRuntimeClientConfiguration())
SageMakerGatewayRuntimeClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
std::future< InvokeGlobalInferenceGatewayWithResponseStreamOutcome > InvokeGlobalInferenceGatewayWithResponseStreamOutcomeCallable
std::future< InvokeGlobalInferenceGatewayOutcome > InvokeGlobalInferenceGatewayOutcomeCallable
std::function< void(const SageMakerGatewayRuntimeClient *, const Model::InvokeGlobalInferenceGatewayWithResponseStreamRequest &, const Model::InvokeGlobalInferenceGatewayWithResponseStreamOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> InvokeGlobalInferenceGatewayWithResponseStreamResponseReceivedHandler
std::function< void(const SageMakerGatewayRuntimeClient *, const Model::InvokeGlobalInferenceGatewayRequest &, Model::InvokeGlobalInferenceGatewayOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &)> InvokeGlobalInferenceGatewayResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String