AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
MWAAClient.h
1
6#pragma once
7#include <aws/mwaa/MWAA_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/mwaa/MWAAServiceClientModel.h>
13
14namespace Aws
15{
16namespace MWAA
17{
55 {
56 public:
58 static const char* GetServiceName();
59 static const char* GetAllocationTag();
60
63
69 std::shared_ptr<MWAAEndpointProviderBase> endpointProvider = nullptr);
70
76 std::shared_ptr<MWAAEndpointProviderBase> endpointProvider = nullptr,
78
83 MWAAClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
84 std::shared_ptr<MWAAEndpointProviderBase> endpointProvider = nullptr,
86
87
88 /* Legacy constructors due deprecation */
93 MWAAClient(const Aws::Client::ClientConfiguration& clientConfiguration);
94
100 const Aws::Client::ClientConfiguration& clientConfiguration);
101
106 MWAAClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
107 const Aws::Client::ClientConfiguration& clientConfiguration);
108
109 /* End of legacy constructors due deprecation */
110 virtual ~MWAAClient();
111
120
124 template<typename CreateCliTokenRequestT = Model::CreateCliTokenRequest>
125 Model::CreateCliTokenOutcomeCallable CreateCliTokenCallable(const CreateCliTokenRequestT& request) const
126 {
127 return SubmitCallable(&MWAAClient::CreateCliToken, request);
128 }
129
133 template<typename CreateCliTokenRequestT = Model::CreateCliTokenRequest>
134 void CreateCliTokenAsync(const CreateCliTokenRequestT& request, const CreateCliTokenResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
135 {
136 return SubmitAsync(&MWAAClient::CreateCliToken, request, handler, context);
137 }
138
146
150 template<typename CreateEnvironmentRequestT = Model::CreateEnvironmentRequest>
151 Model::CreateEnvironmentOutcomeCallable CreateEnvironmentCallable(const CreateEnvironmentRequestT& request) const
152 {
153 return SubmitCallable(&MWAAClient::CreateEnvironment, request);
154 }
155
159 template<typename CreateEnvironmentRequestT = Model::CreateEnvironmentRequest>
160 void CreateEnvironmentAsync(const CreateEnvironmentRequestT& request, const CreateEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
161 {
162 return SubmitAsync(&MWAAClient::CreateEnvironment, request, handler, context);
163 }
164
173
177 template<typename CreateWebLoginTokenRequestT = Model::CreateWebLoginTokenRequest>
178 Model::CreateWebLoginTokenOutcomeCallable CreateWebLoginTokenCallable(const CreateWebLoginTokenRequestT& request) const
179 {
180 return SubmitCallable(&MWAAClient::CreateWebLoginToken, request);
181 }
182
186 template<typename CreateWebLoginTokenRequestT = Model::CreateWebLoginTokenRequest>
187 void CreateWebLoginTokenAsync(const CreateWebLoginTokenRequestT& request, const CreateWebLoginTokenResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
188 {
189 return SubmitAsync(&MWAAClient::CreateWebLoginToken, request, handler, context);
190 }
191
199
203 template<typename DeleteEnvironmentRequestT = Model::DeleteEnvironmentRequest>
204 Model::DeleteEnvironmentOutcomeCallable DeleteEnvironmentCallable(const DeleteEnvironmentRequestT& request) const
205 {
206 return SubmitCallable(&MWAAClient::DeleteEnvironment, request);
207 }
208
212 template<typename DeleteEnvironmentRequestT = Model::DeleteEnvironmentRequest>
213 void DeleteEnvironmentAsync(const DeleteEnvironmentRequestT& request, const DeleteEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
214 {
215 return SubmitAsync(&MWAAClient::DeleteEnvironment, request, handler, context);
216 }
217
225
229 template<typename GetEnvironmentRequestT = Model::GetEnvironmentRequest>
230 Model::GetEnvironmentOutcomeCallable GetEnvironmentCallable(const GetEnvironmentRequestT& request) const
231 {
232 return SubmitCallable(&MWAAClient::GetEnvironment, request);
233 }
234
238 template<typename GetEnvironmentRequestT = Model::GetEnvironmentRequest>
239 void GetEnvironmentAsync(const GetEnvironmentRequestT& request, const GetEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
240 {
241 return SubmitAsync(&MWAAClient::GetEnvironment, request, handler, context);
242 }
243
253
257 template<typename InvokeRestApiRequestT = Model::InvokeRestApiRequest>
258 Model::InvokeRestApiOutcomeCallable InvokeRestApiCallable(const InvokeRestApiRequestT& request) const
259 {
260 return SubmitCallable(&MWAAClient::InvokeRestApi, request);
261 }
262
266 template<typename InvokeRestApiRequestT = Model::InvokeRestApiRequest>
267 void InvokeRestApiAsync(const InvokeRestApiRequestT& request, const InvokeRestApiResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
268 {
269 return SubmitAsync(&MWAAClient::InvokeRestApi, request, handler, context);
270 }
271
279
283 template<typename ListEnvironmentsRequestT = Model::ListEnvironmentsRequest>
284 Model::ListEnvironmentsOutcomeCallable ListEnvironmentsCallable(const ListEnvironmentsRequestT& request = {}) const
285 {
286 return SubmitCallable(&MWAAClient::ListEnvironments, request);
287 }
288
292 template<typename ListEnvironmentsRequestT = Model::ListEnvironmentsRequest>
293 void ListEnvironmentsAsync(const ListEnvironmentsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr, const ListEnvironmentsRequestT& request = {}) const
294 {
295 return SubmitAsync(&MWAAClient::ListEnvironments, request, handler, context);
296 }
297
306
310 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
311 Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT& request) const
312 {
313 return SubmitCallable(&MWAAClient::ListTagsForResource, request);
314 }
315
319 template<typename ListTagsForResourceRequestT = Model::ListTagsForResourceRequest>
320 void ListTagsForResourceAsync(const ListTagsForResourceRequestT& request, const ListTagsForResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
321 {
322 return SubmitAsync(&MWAAClient::ListTagsForResource, request, handler, context);
323 }
324
332
336 template<typename TagResourceRequestT = Model::TagResourceRequest>
337 Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT& request) const
338 {
339 return SubmitCallable(&MWAAClient::TagResource, request);
340 }
341
345 template<typename TagResourceRequestT = Model::TagResourceRequest>
346 void TagResourceAsync(const TagResourceRequestT& request, const TagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
347 {
348 return SubmitAsync(&MWAAClient::TagResource, request, handler, context);
349 }
350
359
363 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
364 Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT& request) const
365 {
366 return SubmitCallable(&MWAAClient::UntagResource, request);
367 }
368
372 template<typename UntagResourceRequestT = Model::UntagResourceRequest>
373 void UntagResourceAsync(const UntagResourceRequestT& request, const UntagResourceResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
374 {
375 return SubmitAsync(&MWAAClient::UntagResource, request, handler, context);
376 }
377
385
389 template<typename UpdateEnvironmentRequestT = Model::UpdateEnvironmentRequest>
390 Model::UpdateEnvironmentOutcomeCallable UpdateEnvironmentCallable(const UpdateEnvironmentRequestT& request) const
391 {
392 return SubmitCallable(&MWAAClient::UpdateEnvironment, request);
393 }
394
398 template<typename UpdateEnvironmentRequestT = Model::UpdateEnvironmentRequest>
399 void UpdateEnvironmentAsync(const UpdateEnvironmentRequestT& request, const UpdateEnvironmentResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
400 {
401 return SubmitAsync(&MWAAClient::UpdateEnvironment, request, handler, context);
402 }
403
404
405 void OverrideEndpoint(const Aws::String& endpoint);
406 std::shared_ptr<MWAAEndpointProviderBase>& accessEndpointProvider();
407 private:
409 void init(const MWAAClientConfiguration& clientConfiguration);
410
411 MWAAClientConfiguration m_clientConfiguration;
412 std::shared_ptr<MWAAEndpointProviderBase> m_endpointProvider;
413 };
414
415} // namespace MWAA
416} // namespace Aws
Model::DeleteEnvironmentOutcomeCallable DeleteEnvironmentCallable(const DeleteEnvironmentRequestT &request) const
Definition MWAAClient.h:204
void ListTagsForResourceAsync(const ListTagsForResourceRequestT &request, const ListTagsForResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:320
void GetEnvironmentAsync(const GetEnvironmentRequestT &request, const GetEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:239
void ListEnvironmentsAsync(const ListEnvironmentsResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const ListEnvironmentsRequestT &request={}) const
Definition MWAAClient.h:293
virtual Model::CreateEnvironmentOutcome CreateEnvironment(const Model::CreateEnvironmentRequest &request) const
virtual Model::InvokeRestApiOutcome InvokeRestApi(const Model::InvokeRestApiRequest &request) const
void CreateEnvironmentAsync(const CreateEnvironmentRequestT &request, const CreateEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:160
Model::GetEnvironmentOutcomeCallable GetEnvironmentCallable(const GetEnvironmentRequestT &request) const
Definition MWAAClient.h:230
MWAAClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::CreateEnvironmentOutcomeCallable CreateEnvironmentCallable(const CreateEnvironmentRequestT &request) const
Definition MWAAClient.h:151
MWAAClient(const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::ListEnvironmentsOutcome ListEnvironments(const Model::ListEnvironmentsRequest &request={}) const
virtual Model::UntagResourceOutcome UntagResource(const Model::UntagResourceRequest &request) const
Model::UpdateEnvironmentOutcomeCallable UpdateEnvironmentCallable(const UpdateEnvironmentRequestT &request) const
Definition MWAAClient.h:390
virtual Model::CreateWebLoginTokenOutcome CreateWebLoginToken(const Model::CreateWebLoginTokenRequest &request) const
void DeleteEnvironmentAsync(const DeleteEnvironmentRequestT &request, const DeleteEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:213
virtual Model::CreateCliTokenOutcome CreateCliToken(const Model::CreateCliTokenRequest &request) const
MWAAClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< MWAAEndpointProviderBase > endpointProvider=nullptr, const Aws::MWAA::MWAAClientConfiguration &clientConfiguration=Aws::MWAA::MWAAClientConfiguration())
void CreateCliTokenAsync(const CreateCliTokenRequestT &request, const CreateCliTokenResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:134
void OverrideEndpoint(const Aws::String &endpoint)
void UpdateEnvironmentAsync(const UpdateEnvironmentRequestT &request, const UpdateEnvironmentResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:399
Aws::Client::AWSJsonClient BASECLASS
Definition MWAAClient.h:57
void TagResourceAsync(const TagResourceRequestT &request, const TagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:346
void UntagResourceAsync(const UntagResourceRequestT &request, const UntagResourceResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:373
virtual Model::TagResourceOutcome TagResource(const Model::TagResourceRequest &request) const
virtual Model::DeleteEnvironmentOutcome DeleteEnvironment(const Model::DeleteEnvironmentRequest &request) const
void InvokeRestApiAsync(const InvokeRestApiRequestT &request, const InvokeRestApiResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:267
void CreateWebLoginTokenAsync(const CreateWebLoginTokenRequestT &request, const CreateWebLoginTokenResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
Definition MWAAClient.h:187
virtual Model::UpdateEnvironmentOutcome UpdateEnvironment(const Model::UpdateEnvironmentRequest &request) const
MWAAClientConfiguration ClientConfigurationType
Definition MWAAClient.h:61
Model::TagResourceOutcomeCallable TagResourceCallable(const TagResourceRequestT &request) const
Definition MWAAClient.h:337
Model::CreateCliTokenOutcomeCallable CreateCliTokenCallable(const CreateCliTokenRequestT &request) const
Definition MWAAClient.h:125
static const char * GetAllocationTag()
MWAAClient(const Aws::MWAA::MWAAClientConfiguration &clientConfiguration=Aws::MWAA::MWAAClientConfiguration(), std::shared_ptr< MWAAEndpointProviderBase > endpointProvider=nullptr)
Model::UntagResourceOutcomeCallable UntagResourceCallable(const UntagResourceRequestT &request) const
Definition MWAAClient.h:364
static const char * GetServiceName()
std::shared_ptr< MWAAEndpointProviderBase > & accessEndpointProvider()
virtual Model::ListTagsForResourceOutcome ListTagsForResource(const Model::ListTagsForResourceRequest &request) const
MWAAEndpointProvider EndpointProviderType
Definition MWAAClient.h:62
Model::ListEnvironmentsOutcomeCallable ListEnvironmentsCallable(const ListEnvironmentsRequestT &request={}) const
Definition MWAAClient.h:284
Model::InvokeRestApiOutcomeCallable InvokeRestApiCallable(const InvokeRestApiRequestT &request) const
Definition MWAAClient.h:258
Model::ListTagsForResourceOutcomeCallable ListTagsForResourceCallable(const ListTagsForResourceRequestT &request) const
Definition MWAAClient.h:311
MWAAClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::CreateWebLoginTokenOutcomeCallable CreateWebLoginTokenCallable(const CreateWebLoginTokenRequestT &request) const
Definition MWAAClient.h:178
MWAAClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< MWAAEndpointProviderBase > endpointProvider=nullptr, const Aws::MWAA::MWAAClientConfiguration &clientConfiguration=Aws::MWAA::MWAAClientConfiguration())
virtual Model::GetEnvironmentOutcome GetEnvironment(const Model::GetEnvironmentRequest &request) const
std::future< ListTagsForResourceOutcome > ListTagsForResourceOutcomeCallable
std::future< CreateEnvironmentOutcome > CreateEnvironmentOutcomeCallable
std::future< CreateCliTokenOutcome > CreateCliTokenOutcomeCallable
std::future< GetEnvironmentOutcome > GetEnvironmentOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< InvokeRestApiOutcome > InvokeRestApiOutcomeCallable
std::future< CreateWebLoginTokenOutcome > CreateWebLoginTokenOutcomeCallable
std::future< ListEnvironmentsOutcome > ListEnvironmentsOutcomeCallable
std::future< DeleteEnvironmentOutcome > DeleteEnvironmentOutcomeCallable
std::future< UpdateEnvironmentOutcome > UpdateEnvironmentOutcomeCallable
std::future< TagResourceOutcome > TagResourceOutcomeCallable
std::function< void(const MWAAClient *, const Model::CreateWebLoginTokenRequest &, const Model::CreateWebLoginTokenOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateWebLoginTokenResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::CreateEnvironmentRequest &, const Model::CreateEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateEnvironmentResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::CreateCliTokenRequest &, const Model::CreateCliTokenOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateCliTokenResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::GetEnvironmentRequest &, const Model::GetEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetEnvironmentResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::ListTagsForResourceRequest &, const Model::ListTagsForResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListTagsForResourceResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::ListEnvironmentsRequest &, const Model::ListEnvironmentsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListEnvironmentsResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::DeleteEnvironmentRequest &, const Model::DeleteEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteEnvironmentResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::InvokeRestApiRequest &, const Model::InvokeRestApiOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > InvokeRestApiResponseReceivedHandler
std::function< void(const MWAAClient *, const Model::UpdateEnvironmentRequest &, const Model::UpdateEnvironmentOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateEnvironmentResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String