AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SagemakerEdgeManagerClient.h
1
6#pragma once
7#include <aws/sagemaker-edge/SagemakerEdgeManager_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-edge/SagemakerEdgeManagerServiceClientModel.h>
13
14namespace Aws
15{
16namespace SagemakerEdgeManager
17{
22 class AWS_SAGEMAKEREDGEMANAGER_API SagemakerEdgeManagerClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<SagemakerEdgeManagerClient>
23 {
24 public:
26 static const char* GetServiceName();
27 static const char* GetAllocationTag();
28
31
37 std::shared_ptr<SagemakerEdgeManagerEndpointProviderBase> endpointProvider = nullptr);
38
44 std::shared_ptr<SagemakerEdgeManagerEndpointProviderBase> endpointProvider = nullptr,
46
51 SagemakerEdgeManagerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<SagemakerEdgeManagerEndpointProviderBase> endpointProvider = nullptr,
54
55
56 /* Legacy constructors due deprecation */
62
68 const Aws::Client::ClientConfiguration& clientConfiguration);
69
74 SagemakerEdgeManagerClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
77 /* End of legacy constructors due deprecation */
79
87
91 template<typename GetDeploymentsRequestT = Model::GetDeploymentsRequest>
92 Model::GetDeploymentsOutcomeCallable GetDeploymentsCallable(const GetDeploymentsRequestT& request) const
93 {
94 return SubmitCallable(&SagemakerEdgeManagerClient::GetDeployments, request);
95 }
96
100 template<typename GetDeploymentsRequestT = Model::GetDeploymentsRequest>
101 void GetDeploymentsAsync(const GetDeploymentsRequestT& request, const GetDeploymentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
102 {
103 return SubmitAsync(&SagemakerEdgeManagerClient::GetDeployments, request, handler, context);
104 }
105
113
117 template<typename GetDeviceRegistrationRequestT = Model::GetDeviceRegistrationRequest>
118 Model::GetDeviceRegistrationOutcomeCallable GetDeviceRegistrationCallable(const GetDeviceRegistrationRequestT& request) const
119 {
120 return SubmitCallable(&SagemakerEdgeManagerClient::GetDeviceRegistration, request);
121 }
122
126 template<typename GetDeviceRegistrationRequestT = Model::GetDeviceRegistrationRequest>
127 void GetDeviceRegistrationAsync(const GetDeviceRegistrationRequestT& request, const GetDeviceRegistrationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
128 {
129 return SubmitAsync(&SagemakerEdgeManagerClient::GetDeviceRegistration, request, handler, context);
130 }
131
139
143 template<typename SendHeartbeatRequestT = Model::SendHeartbeatRequest>
144 Model::SendHeartbeatOutcomeCallable SendHeartbeatCallable(const SendHeartbeatRequestT& request) const
145 {
146 return SubmitCallable(&SagemakerEdgeManagerClient::SendHeartbeat, request);
147 }
148
152 template<typename SendHeartbeatRequestT = Model::SendHeartbeatRequest>
153 void SendHeartbeatAsync(const SendHeartbeatRequestT& request, const SendHeartbeatResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
154 {
155 return SubmitAsync(&SagemakerEdgeManagerClient::SendHeartbeat, request, handler, context);
156 }
157
158
159 void OverrideEndpoint(const Aws::String& endpoint);
160 std::shared_ptr<SagemakerEdgeManagerEndpointProviderBase>& accessEndpointProvider();
161 private:
163 void init(const SagemakerEdgeManagerClientConfiguration& clientConfiguration);
164
165 SagemakerEdgeManagerClientConfiguration m_clientConfiguration;
166 std::shared_ptr<SagemakerEdgeManagerEndpointProviderBase> m_endpointProvider;
167 };
168
169} // namespace SagemakerEdgeManager
170} // namespace Aws
SagemakerEdgeManagerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
void SendHeartbeatAsync(const SendHeartbeatRequestT &request, const SendHeartbeatResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SagemakerEdgeManagerClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< SagemakerEdgeManagerEndpointProviderBase > endpointProvider=nullptr, const Aws::SagemakerEdgeManager::SagemakerEdgeManagerClientConfiguration &clientConfiguration=Aws::SagemakerEdgeManager::SagemakerEdgeManagerClientConfiguration())
Model::GetDeploymentsOutcomeCallable GetDeploymentsCallable(const GetDeploymentsRequestT &request) const
SagemakerEdgeManagerClientConfiguration ClientConfigurationType
Model::GetDeviceRegistrationOutcomeCallable GetDeviceRegistrationCallable(const GetDeviceRegistrationRequestT &request) const
Model::SendHeartbeatOutcomeCallable SendHeartbeatCallable(const SendHeartbeatRequestT &request) const
SagemakerEdgeManagerClient(const Aws::SagemakerEdgeManager::SagemakerEdgeManagerClientConfiguration &clientConfiguration=Aws::SagemakerEdgeManager::SagemakerEdgeManagerClientConfiguration(), std::shared_ptr< SagemakerEdgeManagerEndpointProviderBase > endpointProvider=nullptr)
std::shared_ptr< SagemakerEdgeManagerEndpointProviderBase > & accessEndpointProvider()
void GetDeploymentsAsync(const GetDeploymentsRequestT &request, const GetDeploymentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void OverrideEndpoint(const Aws::String &endpoint)
void GetDeviceRegistrationAsync(const GetDeviceRegistrationRequestT &request, const GetDeviceRegistrationResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
SagemakerEdgeManagerClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetDeploymentsOutcome GetDeployments(const Model::GetDeploymentsRequest &request) const
SagemakerEdgeManagerClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::GetDeviceRegistrationOutcome GetDeviceRegistration(const Model::GetDeviceRegistrationRequest &request) const
virtual Model::SendHeartbeatOutcome SendHeartbeat(const Model::SendHeartbeatRequest &request) const
SagemakerEdgeManagerClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< SagemakerEdgeManagerEndpointProviderBase > endpointProvider=nullptr, const Aws::SagemakerEdgeManager::SagemakerEdgeManagerClientConfiguration &clientConfiguration=Aws::SagemakerEdgeManager::SagemakerEdgeManagerClientConfiguration())
std::future< SendHeartbeatOutcome > SendHeartbeatOutcomeCallable
std::future< GetDeploymentsOutcome > GetDeploymentsOutcomeCallable
std::future< GetDeviceRegistrationOutcome > GetDeviceRegistrationOutcomeCallable
std::function< void(const SagemakerEdgeManagerClient *, const Model::GetDeviceRegistrationRequest &, const Model::GetDeviceRegistrationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDeviceRegistrationResponseReceivedHandler
std::function< void(const SagemakerEdgeManagerClient *, const Model::SendHeartbeatRequest &, const Model::SendHeartbeatOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > SendHeartbeatResponseReceivedHandler
std::function< void(const SagemakerEdgeManagerClient *, const Model::GetDeploymentsRequest &, const Model::GetDeploymentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetDeploymentsResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String