AWS SDK for C++

AWS SDK for C++ Version 1.11.606

Loading...
Searching...
No Matches
STSServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/sts/STSErrors.h>
10#include <aws/core/client/GenericClientConfiguration.h>
11#include <aws/core/client/AWSError.h>
12#include <aws/core/utils/memory/stl/AWSString.h>
13#include <aws/core/client/AsyncCallerContext.h>
14#include <aws/core/http/HttpTypes.h>
15#include <aws/sts/STSEndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in STSClient header */
21#include <aws/sts/model/AssumeRoleResult.h>
22#include <aws/sts/model/AssumeRoleWithSAMLResult.h>
23#include <aws/sts/model/AssumeRoleWithWebIdentityResult.h>
24#include <aws/sts/model/AssumeRootResult.h>
25#include <aws/sts/model/DecodeAuthorizationMessageResult.h>
26#include <aws/sts/model/GetAccessKeyInfoResult.h>
27#include <aws/sts/model/GetCallerIdentityResult.h>
28#include <aws/sts/model/GetFederationTokenResult.h>
29#include <aws/sts/model/GetSessionTokenResult.h>
30#include <aws/sts/model/GetCallerIdentityRequest.h>
31#include <aws/sts/model/GetSessionTokenRequest.h>
32/* End of service model headers required in STSClient header */
33
34namespace Aws
35{
36 namespace Http
37 {
38 class HttpClient;
39 class HttpClientFactory;
40 } // namespace Http
41
42 namespace Utils
43 {
44 template< typename R, typename E> class Outcome;
45
46 namespace Threading
47 {
48 class Executor;
49 } // namespace Threading
50 } // namespace Utils
51
52 namespace Auth
53 {
54 class AWSCredentials;
55 class AWSCredentialsProvider;
56 } // namespace Auth
57
58 namespace Client
59 {
60 class RetryStrategy;
61 } // namespace Client
62
63 namespace STS
64 {
68
69 namespace Model
70 {
71 /* Service model forward declarations required in STSClient header */
72 class AssumeRoleRequest;
73 class AssumeRoleWithSAMLRequest;
74 class AssumeRoleWithWebIdentityRequest;
75 class AssumeRootRequest;
76 class DecodeAuthorizationMessageRequest;
77 class GetAccessKeyInfoRequest;
78 class GetCallerIdentityRequest;
79 class GetFederationTokenRequest;
80 class GetSessionTokenRequest;
81 /* End of service model forward declarations required in STSClient header */
82
83 /* Service model Outcome class definitions */
93 /* End of service model Outcome class definitions */
94
95 /* Service model Outcome callable definitions */
96 typedef std::future<AssumeRoleOutcome> AssumeRoleOutcomeCallable;
97 typedef std::future<AssumeRoleWithSAMLOutcome> AssumeRoleWithSAMLOutcomeCallable;
98 typedef std::future<AssumeRoleWithWebIdentityOutcome> AssumeRoleWithWebIdentityOutcomeCallable;
99 typedef std::future<AssumeRootOutcome> AssumeRootOutcomeCallable;
100 typedef std::future<DecodeAuthorizationMessageOutcome> DecodeAuthorizationMessageOutcomeCallable;
101 typedef std::future<GetAccessKeyInfoOutcome> GetAccessKeyInfoOutcomeCallable;
102 typedef std::future<GetCallerIdentityOutcome> GetCallerIdentityOutcomeCallable;
103 typedef std::future<GetFederationTokenOutcome> GetFederationTokenOutcomeCallable;
104 typedef std::future<GetSessionTokenOutcome> GetSessionTokenOutcomeCallable;
105 /* End of service model Outcome callable definitions */
106 } // namespace Model
107
108 class STSClient;
109
110 /* Service model async handlers definitions */
111 typedef std::function<void(const STSClient*, const Model::AssumeRoleRequest&, const Model::AssumeRoleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssumeRoleResponseReceivedHandler;
112 typedef std::function<void(const STSClient*, const Model::AssumeRoleWithSAMLRequest&, const Model::AssumeRoleWithSAMLOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssumeRoleWithSAMLResponseReceivedHandler;
113 typedef std::function<void(const STSClient*, const Model::AssumeRoleWithWebIdentityRequest&, const Model::AssumeRoleWithWebIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssumeRoleWithWebIdentityResponseReceivedHandler;
114 typedef std::function<void(const STSClient*, const Model::AssumeRootRequest&, const Model::AssumeRootOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssumeRootResponseReceivedHandler;
115 typedef std::function<void(const STSClient*, const Model::DecodeAuthorizationMessageRequest&, const Model::DecodeAuthorizationMessageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DecodeAuthorizationMessageResponseReceivedHandler;
116 typedef std::function<void(const STSClient*, const Model::GetAccessKeyInfoRequest&, const Model::GetAccessKeyInfoOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetAccessKeyInfoResponseReceivedHandler;
117 typedef std::function<void(const STSClient*, const Model::GetCallerIdentityRequest&, const Model::GetCallerIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCallerIdentityResponseReceivedHandler;
118 typedef std::function<void(const STSClient*, const Model::GetFederationTokenRequest&, const Model::GetFederationTokenOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetFederationTokenResponseReceivedHandler;
119 typedef std::function<void(const STSClient*, const Model::GetSessionTokenRequest&, const Model::GetSessionTokenOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSessionTokenResponseReceivedHandler;
120 /* End of service model async handlers definitions */
121 } // namespace STS
122} // namespace Aws
EndpointProviderBase< STSClientConfiguration, STSBuiltInParameters, STSClientContextParameters > STSEndpointProviderBase
std::future< GetCallerIdentityOutcome > GetCallerIdentityOutcomeCallable
std::future< AssumeRoleWithWebIdentityOutcome > AssumeRoleWithWebIdentityOutcomeCallable
std::future< GetAccessKeyInfoOutcome > GetAccessKeyInfoOutcomeCallable
Aws::Utils::Outcome< AssumeRoleResult, STSError > AssumeRoleOutcome
Aws::Utils::Outcome< GetSessionTokenResult, STSError > GetSessionTokenOutcome
std::future< AssumeRootOutcome > AssumeRootOutcomeCallable
std::future< AssumeRoleWithSAMLOutcome > AssumeRoleWithSAMLOutcomeCallable
Aws::Utils::Outcome< AssumeRootResult, STSError > AssumeRootOutcome
std::future< GetFederationTokenOutcome > GetFederationTokenOutcomeCallable
Aws::Utils::Outcome< GetCallerIdentityResult, STSError > GetCallerIdentityOutcome
std::future< DecodeAuthorizationMessageOutcome > DecodeAuthorizationMessageOutcomeCallable
Aws::Utils::Outcome< GetAccessKeyInfoResult, STSError > GetAccessKeyInfoOutcome
Aws::Utils::Outcome< AssumeRoleWithWebIdentityResult, STSError > AssumeRoleWithWebIdentityOutcome
Aws::Utils::Outcome< AssumeRoleWithSAMLResult, STSError > AssumeRoleWithSAMLOutcome
std::future< AssumeRoleOutcome > AssumeRoleOutcomeCallable
std::future< GetSessionTokenOutcome > GetSessionTokenOutcomeCallable
Aws::Utils::Outcome< DecodeAuthorizationMessageResult, STSError > DecodeAuthorizationMessageOutcome
Aws::Utils::Outcome< GetFederationTokenResult, STSError > GetFederationTokenOutcome
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::AssumeRootRequest &, const Model::AssumeRootOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > AssumeRootResponseReceivedHandler
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