AWS SDK for C++

AWS SDK for C++ Version 1.11.440

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/DecodeAuthorizationMessageResult.h>
25#include <aws/sts/model/GetAccessKeyInfoResult.h>
26#include <aws/sts/model/GetCallerIdentityResult.h>
27#include <aws/sts/model/GetFederationTokenResult.h>
28#include <aws/sts/model/GetSessionTokenResult.h>
29#include <aws/sts/model/GetCallerIdentityRequest.h>
30#include <aws/sts/model/GetSessionTokenRequest.h>
31/* End of service model headers required in STSClient header */
32
33namespace Aws
34{
35 namespace Http
36 {
37 class HttpClient;
38 class HttpClientFactory;
39 } // namespace Http
40
41 namespace Utils
42 {
43 template< typename R, typename E> class Outcome;
44
45 namespace Threading
46 {
47 class Executor;
48 } // namespace Threading
49 } // namespace Utils
50
51 namespace Auth
52 {
53 class AWSCredentials;
54 class AWSCredentialsProvider;
55 } // namespace Auth
56
57 namespace Client
58 {
59 class RetryStrategy;
60 } // namespace Client
61
62 namespace STS
63 {
67
68 namespace Model
69 {
70 /* Service model forward declarations required in STSClient header */
71 class AssumeRoleRequest;
72 class AssumeRoleWithSAMLRequest;
73 class AssumeRoleWithWebIdentityRequest;
74 class DecodeAuthorizationMessageRequest;
75 class GetAccessKeyInfoRequest;
76 class GetCallerIdentityRequest;
77 class GetFederationTokenRequest;
78 class GetSessionTokenRequest;
79 /* End of service model forward declarations required in STSClient header */
80
81 /* Service model Outcome class definitions */
90 /* End of service model Outcome class definitions */
91
92 /* Service model Outcome callable definitions */
93 typedef std::future<AssumeRoleOutcome> AssumeRoleOutcomeCallable;
94 typedef std::future<AssumeRoleWithSAMLOutcome> AssumeRoleWithSAMLOutcomeCallable;
95 typedef std::future<AssumeRoleWithWebIdentityOutcome> AssumeRoleWithWebIdentityOutcomeCallable;
96 typedef std::future<DecodeAuthorizationMessageOutcome> DecodeAuthorizationMessageOutcomeCallable;
97 typedef std::future<GetAccessKeyInfoOutcome> GetAccessKeyInfoOutcomeCallable;
98 typedef std::future<GetCallerIdentityOutcome> GetCallerIdentityOutcomeCallable;
99 typedef std::future<GetFederationTokenOutcome> GetFederationTokenOutcomeCallable;
100 typedef std::future<GetSessionTokenOutcome> GetSessionTokenOutcomeCallable;
101 /* End of service model Outcome callable definitions */
102 } // namespace Model
103
104 class STSClient;
105
106 /* Service model async handlers definitions */
107 typedef std::function<void(const STSClient*, const Model::AssumeRoleRequest&, const Model::AssumeRoleOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssumeRoleResponseReceivedHandler;
108 typedef std::function<void(const STSClient*, const Model::AssumeRoleWithSAMLRequest&, const Model::AssumeRoleWithSAMLOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssumeRoleWithSAMLResponseReceivedHandler;
109 typedef std::function<void(const STSClient*, const Model::AssumeRoleWithWebIdentityRequest&, const Model::AssumeRoleWithWebIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > AssumeRoleWithWebIdentityResponseReceivedHandler;
110 typedef std::function<void(const STSClient*, const Model::DecodeAuthorizationMessageRequest&, const Model::DecodeAuthorizationMessageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DecodeAuthorizationMessageResponseReceivedHandler;
111 typedef std::function<void(const STSClient*, const Model::GetAccessKeyInfoRequest&, const Model::GetAccessKeyInfoOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetAccessKeyInfoResponseReceivedHandler;
112 typedef std::function<void(const STSClient*, const Model::GetCallerIdentityRequest&, const Model::GetCallerIdentityOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetCallerIdentityResponseReceivedHandler;
113 typedef std::function<void(const STSClient*, const Model::GetFederationTokenRequest&, const Model::GetFederationTokenOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetFederationTokenResponseReceivedHandler;
114 typedef std::function<void(const STSClient*, const Model::GetSessionTokenRequest&, const Model::GetSessionTokenOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSessionTokenResponseReceivedHandler;
115 /* End of service model async handlers definitions */
116 } // namespace STS
117} // 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< AssumeRoleWithSAMLOutcome > AssumeRoleWithSAMLOutcomeCallable
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::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