7#include <aws/sts/STS_EXPORTS.h>
8#include <aws/core/client/ClientConfiguration.h>
9#include <aws/core/AmazonSerializableWebServiceRequest.h>
10#include <aws/core/client/AWSClient.h>
11#include <aws/core/client/AWSClientAsyncCRTP.h>
12#include <aws/core/utils/xml/XmlSerializer.h>
13#include <aws/sts/STSServiceClientModel.h>
42 std::shared_ptr<STSEndpointProviderBase> endpointProvider =
nullptr);
49 std::shared_ptr<STSEndpointProviderBase> endpointProvider =
nullptr,
56 STSClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
57 std::shared_ptr<STSEndpointProviderBase> endpointProvider =
nullptr,
79 STSClient(
const std::shared_ptr<Aws::Auth::AWSCredentialsProvider>& credentialsProvider,
182 template<
typename AssumeRoleRequestT = Model::AssumeRoleRequest>
185 return SubmitCallable(&STSClient::AssumeRole, request);
191 template<
typename AssumeRoleRequestT = Model::AssumeRoleRequest>
194 return SubmitAsync(&STSClient::AssumeRole, request, handler, context);
321 template<
typename AssumeRoleWithSAMLRequestT = Model::AssumeRoleWithSAMLRequest>
324 return SubmitCallable(&STSClient::AssumeRoleWithSAML, request);
330 template<
typename AssumeRoleWithSAMLRequestT = Model::AssumeRoleWithSAMLRequest>
333 return SubmitAsync(&STSClient::AssumeRoleWithSAML, request, handler, context);
474 template<
typename AssumeRoleWithWebIdentityRequestT = Model::AssumeRoleWithWebIdentityRequest>
477 return SubmitCallable(&STSClient::AssumeRoleWithWebIdentity, request);
483 template<
typename AssumeRoleWithWebIdentityRequestT = Model::AssumeRoleWithWebIdentityRequest>
486 return SubmitAsync(&STSClient::AssumeRoleWithWebIdentity, request, handler, context);
524 template<
typename DecodeAuthorizationMessageRequestT = Model::DecodeAuthorizationMessageRequest>
527 return SubmitCallable(&STSClient::DecodeAuthorizationMessage, request);
533 template<
typename DecodeAuthorizationMessageRequestT = Model::DecodeAuthorizationMessageRequest>
536 return SubmitAsync(&STSClient::DecodeAuthorizationMessage, request, handler, context);
572 template<
typename GetAccessKeyInfoRequestT = Model::GetAccessKeyInfoRequest>
575 return SubmitCallable(&STSClient::GetAccessKeyInfo, request);
581 template<
typename GetAccessKeyInfoRequestT = Model::GetAccessKeyInfoRequest>
584 return SubmitAsync(&STSClient::GetAccessKeyInfo, request, handler, context);
606 template<
typename GetCallerIdentityRequestT = Model::GetCallerIdentityRequest>
609 return SubmitCallable(&STSClient::GetCallerIdentity, request);
615 template<
typename GetCallerIdentityRequestT = Model::GetCallerIdentityRequest>
618 return SubmitAsync(&STSClient::GetCallerIdentity, request, handler, context);
716 template<
typename GetFederationTokenRequestT = Model::GetFederationTokenRequest>
719 return SubmitCallable(&STSClient::GetFederationToken, request);
725 template<
typename GetFederationTokenRequestT = Model::GetFederationTokenRequest>
728 return SubmitAsync(&STSClient::GetFederationToken, request, handler, context);
789 template<
typename GetSessionTokenRequestT = Model::GetSessionTokenRequest>
792 return SubmitCallable(&STSClient::GetSessionToken, request);
798 template<
typename GetSessionTokenRequestT = Model::GetSessionTokenRequest>
801 return SubmitAsync(&STSClient::GetSessionToken, request, handler, context);
812 std::shared_ptr<STSEndpointProviderBase> m_endpointProvider;
Model::GetAccessKeyInfoOutcomeCallable GetAccessKeyInfoCallable(const GetAccessKeyInfoRequestT &request) const
STSClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, std::shared_ptr< STSEndpointProviderBase > endpointProvider=nullptr, const Aws::STS::STSClientConfiguration &clientConfiguration=Aws::STS::STSClientConfiguration())
void GetAccessKeyInfoAsync(const GetAccessKeyInfoRequestT &request, const GetAccessKeyInfoResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
virtual Model::GetAccessKeyInfoOutcome GetAccessKeyInfo(const Model::GetAccessKeyInfoRequest &request) const
Model::GetFederationTokenOutcomeCallable GetFederationTokenCallable(const GetFederationTokenRequestT &request) const
Model::AssumeRoleWithWebIdentityOutcomeCallable AssumeRoleWithWebIdentityCallable(const AssumeRoleWithWebIdentityRequestT &request) const
std::shared_ptr< STSEndpointProviderBase > & accessEndpointProvider()
virtual Model::GetCallerIdentityOutcome GetCallerIdentity(const Model::GetCallerIdentityRequest &request={}) const
STSClient(const Aws::STS::STSClientConfiguration &clientConfiguration=Aws::STS::STSClientConfiguration(), std::shared_ptr< STSEndpointProviderBase > endpointProvider=nullptr)
void AssumeRoleWithWebIdentityAsync(const AssumeRoleWithWebIdentityRequestT &request, const AssumeRoleWithWebIdentityResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void AssumeRoleAsync(const AssumeRoleRequestT &request, const AssumeRoleResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void DecodeAuthorizationMessageAsync(const DecodeAuthorizationMessageRequestT &request, const DecodeAuthorizationMessageResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
void GetCallerIdentityAsync(const GetCallerIdentityResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetCallerIdentityRequestT &request={}) const
virtual Model::AssumeRoleWithSAMLOutcome AssumeRoleWithSAML(const Model::AssumeRoleWithSAMLRequest &request) const
Model::AssumeRoleWithSAMLOutcomeCallable AssumeRoleWithSAMLCallable(const AssumeRoleWithSAMLRequestT &request) const
void GetFederationTokenAsync(const GetFederationTokenRequestT &request, const GetFederationTokenResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
STSClientConfiguration ClientConfigurationType
virtual Model::AssumeRoleWithWebIdentityOutcome AssumeRoleWithWebIdentity(const Model::AssumeRoleWithWebIdentityRequest &request) const
STSClient(const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration)
virtual Model::AssumeRoleOutcome AssumeRole(const Model::AssumeRoleRequest &request) const
virtual Model::DecodeAuthorizationMessageOutcome DecodeAuthorizationMessage(const Model::DecodeAuthorizationMessageRequest &request) const
static const char * GetServiceName()
virtual Model::GetSessionTokenOutcome GetSessionToken(const Model::GetSessionTokenRequest &request={}) const
STSClient(const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration)
Model::DecodeAuthorizationMessageOutcomeCallable DecodeAuthorizationMessageCallable(const DecodeAuthorizationMessageRequestT &request) const
void GetSessionTokenAsync(const GetSessionTokenResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr, const GetSessionTokenRequestT &request={}) const
Model::AssumeRoleOutcomeCallable AssumeRoleCallable(const AssumeRoleRequestT &request) const
Model::GetCallerIdentityOutcomeCallable GetCallerIdentityCallable(const GetCallerIdentityRequestT &request={}) const
void OverrideEndpoint(const Aws::String &endpoint)
virtual Model::GetFederationTokenOutcome GetFederationToken(const Model::GetFederationTokenRequest &request) const
static const char * GetAllocationTag()
Aws::Client::AWSXMLClient BASECLASS
STSClient(const Aws::Auth::AWSCredentials &credentials, std::shared_ptr< STSEndpointProviderBase > endpointProvider=nullptr, const Aws::STS::STSClientConfiguration &clientConfiguration=Aws::STS::STSClientConfiguration())
Model::GetSessionTokenOutcomeCallable GetSessionTokenCallable(const GetSessionTokenRequestT &request={}) const
Aws::String ConvertRequestToPresignedUrl(const Aws::AmazonSerializableWebServiceRequest &requestToConvert, const char *region) const
void AssumeRoleWithSAMLAsync(const AssumeRoleWithSAMLRequestT &request, const AssumeRoleWithSAMLResponseReceivedHandler &handler, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &context=nullptr) const
STSClient(const Aws::Client::ClientConfiguration &clientConfiguration)
STSEndpointProvider EndpointProviderType
std::future< GetCallerIdentityOutcome > GetCallerIdentityOutcomeCallable
std::future< AssumeRoleWithWebIdentityOutcome > AssumeRoleWithWebIdentityOutcomeCallable
std::future< GetAccessKeyInfoOutcome > GetAccessKeyInfoOutcomeCallable
std::future< AssumeRoleWithSAMLOutcome > AssumeRoleWithSAMLOutcomeCallable
std::future< GetFederationTokenOutcome > GetFederationTokenOutcomeCallable
std::future< DecodeAuthorizationMessageOutcome > DecodeAuthorizationMessageOutcomeCallable
std::future< AssumeRoleOutcome > AssumeRoleOutcomeCallable
std::future< GetSessionTokenOutcome > GetSessionTokenOutcomeCallable
std::function< void(const STSClient *, const Model::GetCallerIdentityRequest &, const Model::GetCallerIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetCallerIdentityResponseReceivedHandler
std::function< void(const STSClient *, const Model::GetSessionTokenRequest &, const Model::GetSessionTokenOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSessionTokenResponseReceivedHandler
std::function< void(const STSClient *, const Model::AssumeRoleRequest &, const Model::AssumeRoleOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssumeRoleResponseReceivedHandler
std::function< void(const STSClient *, const Model::AssumeRoleWithSAMLRequest &, const Model::AssumeRoleWithSAMLOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssumeRoleWithSAMLResponseReceivedHandler
std::function< void(const STSClient *, const Model::DecodeAuthorizationMessageRequest &, const Model::DecodeAuthorizationMessageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DecodeAuthorizationMessageResponseReceivedHandler
std::function< void(const STSClient *, const Model::GetAccessKeyInfoRequest &, const Model::GetAccessKeyInfoOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetAccessKeyInfoResponseReceivedHandler
std::function< void(const STSClient *, const Model::GetFederationTokenRequest &, const Model::GetFederationTokenOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetFederationTokenResponseReceivedHandler
std::function< void(const STSClient *, const Model::AssumeRoleWithWebIdentityRequest &, const Model::AssumeRoleWithWebIdentityOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssumeRoleWithWebIdentityResponseReceivedHandler
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String