7#include <aws/sagemaker-runtime/SageMakerRuntime_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/client/AWSClient.h>
10#include <aws/core/client/AWSClientAsyncCRTP.h>
11#include <aws/core/utils/json/JsonSerializer.h>
12#include <aws/sagemaker-runtime/SageMakerRuntimeServiceClientModel.h>
16namespace SageMakerRuntime
36 std::shared_ptr<SageMakerRuntimeEndpointProviderBase> endpointProvider =
nullptr);
43 std::shared_ptr<SageMakerRuntimeEndpointProviderBase> endpointProvider =
nullptr,
51 std::shared_ptr<SageMakerRuntimeEndpointProviderBase> endpointProvider =
nullptr,
108 template<
typename InvokeEndpo
intRequestT = Model::InvokeEndpo
intRequest>
111 return SubmitCallable(&SageMakerRuntimeClient::InvokeEndpoint, request);
117 template<
typename InvokeEndpo
intRequestT = Model::InvokeEndpo
intRequest>
120 return SubmitAsync(&SageMakerRuntimeClient::InvokeEndpoint, request, handler, context);
147 template<
typename InvokeEndpo
intAsyncRequestT = Model::InvokeEndpo
intAsyncRequest>
150 return SubmitCallable(&SageMakerRuntimeClient::InvokeEndpointAsync, request);
156 template<
typename InvokeEndpo
intAsyncRequestT = Model::InvokeEndpo
intAsyncRequest>
159 return SubmitAsync(&SageMakerRuntimeClient::InvokeEndpointAsync, request, handler, context);
198 template<
typename InvokeEndpo
intWithResponseStreamRequestT = Model::InvokeEndpo
intWithResponseStreamRequest>
201 return SubmitCallable(&SageMakerRuntimeClient::InvokeEndpointWithResponseStream, request);
207 template<
typename InvokeEndpo
intWithResponseStreamRequestT = Model::InvokeEndpo
intWithResponseStreamRequest>
210 return SubmitAsync(&SageMakerRuntimeClient::InvokeEndpointWithResponseStream, request, handler, context);
221 std::shared_ptr<SageMakerRuntimeEndpointProviderBase> m_endpointProvider;
SageMakerRuntimeClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SageMakerRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::SageMakerRuntime::SageMakerRuntimeClientConfiguration &clientConfiguration=Aws::SageMakerRuntime::SageMakerRuntimeClientConfiguration())
Model::InvokeEndpointAsyncOutcomeCallable InvokeEndpointAsyncCallable(const InvokeEndpointAsyncRequestT &request) const
SageMakerRuntimeClientConfiguration ClientConfigurationType
static const char * GetAllocationTag()
virtual Model::InvokeEndpointWithResponseStreamOutcome InvokeEndpointWithResponseStream(Model::InvokeEndpointWithResponseStreamRequest &request) const
SageMakerRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
SageMakerRuntimeClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SageMakerRuntimeEndpointProviderBase > endpointProvider=nullptr, const Aws::SageMakerRuntime::SageMakerRuntimeClientConfiguration &clientConfiguration=Aws::SageMakerRuntime::SageMakerRuntimeClientConfiguration())
SageMakerRuntimeClient(const Aws::Client::ClientConfiguration &clientConfiguration)
Model::InvokeEndpointWithResponseStreamOutcomeCallable InvokeEndpointWithResponseStreamCallable(InvokeEndpointWithResponseStreamRequestT &request) const
void InvokeEndpointAsync(const InvokeEndpointRequestT &request, const InvokeEndpointResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void InvokeEndpointAsyncAsync(const InvokeEndpointAsyncRequestT &request, const InvokeEndpointAsyncResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void OverrideEndpoint(const Aws::String &endpoint)
SageMakerRuntimeClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
void InvokeEndpointWithResponseStreamAsync(InvokeEndpointWithResponseStreamRequestT &request, const InvokeEndpointWithResponseStreamResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::InvokeEndpointOutcome InvokeEndpoint(const Model::InvokeEndpointRequest &request) const
Model::InvokeEndpointOutcomeCallable InvokeEndpointCallable(const InvokeEndpointRequestT &request) const
virtual Model::InvokeEndpointAsyncOutcome InvokeEndpointAsync(const Model::InvokeEndpointAsyncRequest &request) const
std::shared_ptr< SageMakerRuntimeEndpointProviderBase > & accessEndpointProvider()
SageMakerRuntimeClient(const Aws::SageMakerRuntime::SageMakerRuntimeClientConfiguration &clientConfiguration=Aws::SageMakerRuntime::SageMakerRuntimeClientConfiguration(), std::shared_ptr< SageMakerRuntimeEndpointProviderBase > endpointProvider=nullptr)
static const char * GetServiceName()
virtual ~SageMakerRuntimeClient()
SageMakerRuntimeEndpointProvider EndpointProviderType
Aws::Client::AWSJsonClient BASECLASS
std::future< InvokeEndpointWithResponseStreamOutcome > InvokeEndpointWithResponseStreamOutcomeCallable
std::future< InvokeEndpointOutcome > InvokeEndpointOutcomeCallable
std::future< InvokeEndpointAsyncOutcome > InvokeEndpointAsyncOutcomeCallable
std::function< void(const SageMakerRuntimeClient *, const Model::InvokeEndpointAsyncRequest &, const Model::InvokeEndpointAsyncOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeEndpointAsyncResponseReceivedHandler
std::function< void(const SageMakerRuntimeClient *, const Model::InvokeEndpointWithResponseStreamRequest &, const Model::InvokeEndpointWithResponseStreamOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeEndpointWithResponseStreamResponseReceivedHandler
std::function< void(const SageMakerRuntimeClient *, const Model::InvokeEndpointRequest &, Model::InvokeEndpointOutcome, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeEndpointResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String