AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
EKSAuthClient.h
1
6#pragma once
7#include <aws/eks-auth/EKSAuth_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/eks-auth/EKSAuthServiceClientModel.h>
13
14namespace Aws
15{
16namespace EKSAuth
17{
22 class AWS_EKSAUTH_API EKSAuthClient : public Aws::Client::AWSJsonClient, public Aws::Client::ClientWithAsyncTemplateMethods<EKSAuthClient>
23 {
24 public:
26 static const char* GetServiceName();
27 static const char* GetAllocationTag();
28
31
37 std::shared_ptr<EKSAuthEndpointProviderBase> endpointProvider = nullptr);
38
44 std::shared_ptr<EKSAuthEndpointProviderBase> endpointProvider = nullptr,
46
51 EKSAuthClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
52 std::shared_ptr<EKSAuthEndpointProviderBase> endpointProvider = nullptr,
54
55
56 /* Legacy constructors due deprecation */
62
68 const Aws::Client::ClientConfiguration& clientConfiguration);
69
74 EKSAuthClient(const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
75 const Aws::Client::ClientConfiguration& clientConfiguration);
76
77 /* End of legacy constructors due deprecation */
78 virtual ~EKSAuthClient();
79
91
95 template<typename AssumeRoleForPodIdentityRequestT = Model::AssumeRoleForPodIdentityRequest>
96 Model::AssumeRoleForPodIdentityOutcomeCallable AssumeRoleForPodIdentityCallable(const AssumeRoleForPodIdentityRequestT& request) const
97 {
98 return SubmitCallable(&EKSAuthClient::AssumeRoleForPodIdentity, request);
99 }
100
104 template<typename AssumeRoleForPodIdentityRequestT = Model::AssumeRoleForPodIdentityRequest>
105 void AssumeRoleForPodIdentityAsync(const AssumeRoleForPodIdentityRequestT& request, const AssumeRoleForPodIdentityResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const
106 {
107 return SubmitAsync(&EKSAuthClient::AssumeRoleForPodIdentity, request, handler, context);
108 }
109
110
111 void OverrideEndpoint(const Aws::String& endpoint);
112 std::shared_ptr<EKSAuthEndpointProviderBase>& accessEndpointProvider();
113 private:
115 void init(const EKSAuthClientConfiguration& clientConfiguration);
116
117 EKSAuthClientConfiguration m_clientConfiguration;
118 std::shared_ptr<EKSAuthEndpointProviderBase> m_endpointProvider;
119 };
120
121} // namespace EKSAuth
122} // namespace Aws
EKSAuthClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< EKSAuthEndpointProviderBase > endpointProvider=nullptr, const Aws::EKSAuth::EKSAuthClientConfiguration &clientConfiguration=Aws::EKSAuth::EKSAuthClientConfiguration())
void OverrideEndpoint(const Aws::String &endpoint)
EKSAuthClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
static const char * GetAllocationTag()
Aws::Client::AWSJsonClient BASECLASS
Model::AssumeRoleForPodIdentityOutcomeCallable AssumeRoleForPodIdentityCallable(const AssumeRoleForPodIdentityRequestT &request) const
virtual Model::AssumeRoleForPodIdentityOutcome AssumeRoleForPodIdentity(const Model::AssumeRoleForPodIdentityRequest &request) const
std::shared_ptr< EKSAuthEndpointProviderBase > & accessEndpointProvider()
EKSAuthClient(const Aws::EKSAuth::EKSAuthClientConfiguration &clientConfiguration=Aws::EKSAuth::EKSAuthClientConfiguration(), std::shared_ptr< EKSAuthEndpointProviderBase > endpointProvider=nullptr)
EKSAuthClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
EKSAuthClientConfiguration ClientConfigurationType
static const char * GetServiceName()
EKSAuthClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< EKSAuthEndpointProviderBase > endpointProvider=nullptr, const Aws::EKSAuth::EKSAuthClientConfiguration &clientConfiguration=Aws::EKSAuth::EKSAuthClientConfiguration())
void AssumeRoleForPodIdentityAsync(const AssumeRoleForPodIdentityRequestT &request, const AssumeRoleForPodIdentityResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
EKSAuthClient(const Aws::Client::ClientConfiguration &clientConfiguration)
EKSAuthEndpointProvider EndpointProviderType
std::future< AssumeRoleForPodIdentityOutcome > AssumeRoleForPodIdentityOutcomeCallable
std::function< void(const EKSAuthClient *, const Model::AssumeRoleForPodIdentityRequest &, const Model::AssumeRoleForPodIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssumeRoleForPodIdentityResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String