AWS SDK for C++

AWS SDK for C++ Version 1.11.440

Loading...
Searching...
No Matches
SecretsManagerServiceClientModel.h
1
6#pragma once
7
8/* Generic header includes */
9#include <aws/secretsmanager/SecretsManagerErrors.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/secretsmanager/SecretsManagerEndpointProvider.h>
16#include <future>
17#include <functional>
18/* End of generic header includes */
19
20/* Service model headers required in SecretsManagerClient header */
21#include <aws/secretsmanager/model/BatchGetSecretValueResult.h>
22#include <aws/secretsmanager/model/CancelRotateSecretResult.h>
23#include <aws/secretsmanager/model/CreateSecretResult.h>
24#include <aws/secretsmanager/model/DeleteResourcePolicyResult.h>
25#include <aws/secretsmanager/model/DeleteSecretResult.h>
26#include <aws/secretsmanager/model/DescribeSecretResult.h>
27#include <aws/secretsmanager/model/GetRandomPasswordResult.h>
28#include <aws/secretsmanager/model/GetResourcePolicyResult.h>
29#include <aws/secretsmanager/model/GetSecretValueResult.h>
30#include <aws/secretsmanager/model/ListSecretVersionIdsResult.h>
31#include <aws/secretsmanager/model/ListSecretsResult.h>
32#include <aws/secretsmanager/model/PutResourcePolicyResult.h>
33#include <aws/secretsmanager/model/PutSecretValueResult.h>
34#include <aws/secretsmanager/model/RemoveRegionsFromReplicationResult.h>
35#include <aws/secretsmanager/model/ReplicateSecretToRegionsResult.h>
36#include <aws/secretsmanager/model/RestoreSecretResult.h>
37#include <aws/secretsmanager/model/RotateSecretResult.h>
38#include <aws/secretsmanager/model/StopReplicationToReplicaResult.h>
39#include <aws/secretsmanager/model/UpdateSecretResult.h>
40#include <aws/secretsmanager/model/UpdateSecretVersionStageResult.h>
41#include <aws/secretsmanager/model/ValidateResourcePolicyResult.h>
42#include <aws/secretsmanager/model/ListSecretsRequest.h>
43#include <aws/secretsmanager/model/GetRandomPasswordRequest.h>
44#include <aws/secretsmanager/model/BatchGetSecretValueRequest.h>
45#include <aws/core/NoResult.h>
46/* End of service model headers required in SecretsManagerClient header */
47
48namespace Aws
49{
50 namespace Http
51 {
52 class HttpClient;
53 class HttpClientFactory;
54 } // namespace Http
55
56 namespace Utils
57 {
58 template< typename R, typename E> class Outcome;
59
60 namespace Threading
61 {
62 class Executor;
63 } // namespace Threading
64 } // namespace Utils
65
66 namespace Auth
67 {
68 class AWSCredentials;
69 class AWSCredentialsProvider;
70 } // namespace Auth
71
72 namespace Client
73 {
74 class RetryStrategy;
75 } // namespace Client
76
77 namespace SecretsManager
78 {
82
83 namespace Model
84 {
85 /* Service model forward declarations required in SecretsManagerClient header */
86 class BatchGetSecretValueRequest;
87 class CancelRotateSecretRequest;
88 class CreateSecretRequest;
89 class DeleteResourcePolicyRequest;
90 class DeleteSecretRequest;
91 class DescribeSecretRequest;
92 class GetRandomPasswordRequest;
93 class GetResourcePolicyRequest;
94 class GetSecretValueRequest;
95 class ListSecretVersionIdsRequest;
96 class ListSecretsRequest;
97 class PutResourcePolicyRequest;
98 class PutSecretValueRequest;
99 class RemoveRegionsFromReplicationRequest;
100 class ReplicateSecretToRegionsRequest;
101 class RestoreSecretRequest;
102 class RotateSecretRequest;
103 class StopReplicationToReplicaRequest;
104 class TagResourceRequest;
105 class UntagResourceRequest;
106 class UpdateSecretRequest;
107 class UpdateSecretVersionStageRequest;
108 class ValidateResourcePolicyRequest;
109 /* End of service model forward declarations required in SecretsManagerClient header */
110
111 /* Service model Outcome class definitions */
135 /* End of service model Outcome class definitions */
136
137 /* Service model Outcome callable definitions */
138 typedef std::future<BatchGetSecretValueOutcome> BatchGetSecretValueOutcomeCallable;
139 typedef std::future<CancelRotateSecretOutcome> CancelRotateSecretOutcomeCallable;
140 typedef std::future<CreateSecretOutcome> CreateSecretOutcomeCallable;
141 typedef std::future<DeleteResourcePolicyOutcome> DeleteResourcePolicyOutcomeCallable;
142 typedef std::future<DeleteSecretOutcome> DeleteSecretOutcomeCallable;
143 typedef std::future<DescribeSecretOutcome> DescribeSecretOutcomeCallable;
144 typedef std::future<GetRandomPasswordOutcome> GetRandomPasswordOutcomeCallable;
145 typedef std::future<GetResourcePolicyOutcome> GetResourcePolicyOutcomeCallable;
146 typedef std::future<GetSecretValueOutcome> GetSecretValueOutcomeCallable;
147 typedef std::future<ListSecretVersionIdsOutcome> ListSecretVersionIdsOutcomeCallable;
148 typedef std::future<ListSecretsOutcome> ListSecretsOutcomeCallable;
149 typedef std::future<PutResourcePolicyOutcome> PutResourcePolicyOutcomeCallable;
150 typedef std::future<PutSecretValueOutcome> PutSecretValueOutcomeCallable;
151 typedef std::future<RemoveRegionsFromReplicationOutcome> RemoveRegionsFromReplicationOutcomeCallable;
152 typedef std::future<ReplicateSecretToRegionsOutcome> ReplicateSecretToRegionsOutcomeCallable;
153 typedef std::future<RestoreSecretOutcome> RestoreSecretOutcomeCallable;
154 typedef std::future<RotateSecretOutcome> RotateSecretOutcomeCallable;
155 typedef std::future<StopReplicationToReplicaOutcome> StopReplicationToReplicaOutcomeCallable;
156 typedef std::future<TagResourceOutcome> TagResourceOutcomeCallable;
157 typedef std::future<UntagResourceOutcome> UntagResourceOutcomeCallable;
158 typedef std::future<UpdateSecretOutcome> UpdateSecretOutcomeCallable;
159 typedef std::future<UpdateSecretVersionStageOutcome> UpdateSecretVersionStageOutcomeCallable;
160 typedef std::future<ValidateResourcePolicyOutcome> ValidateResourcePolicyOutcomeCallable;
161 /* End of service model Outcome callable definitions */
162 } // namespace Model
163
165
166 /* Service model async handlers definitions */
167 typedef std::function<void(const SecretsManagerClient*, const Model::BatchGetSecretValueRequest&, const Model::BatchGetSecretValueOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > BatchGetSecretValueResponseReceivedHandler;
168 typedef std::function<void(const SecretsManagerClient*, const Model::CancelRotateSecretRequest&, const Model::CancelRotateSecretOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CancelRotateSecretResponseReceivedHandler;
169 typedef std::function<void(const SecretsManagerClient*, const Model::CreateSecretRequest&, const Model::CreateSecretOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateSecretResponseReceivedHandler;
170 typedef std::function<void(const SecretsManagerClient*, const Model::DeleteResourcePolicyRequest&, const Model::DeleteResourcePolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteResourcePolicyResponseReceivedHandler;
171 typedef std::function<void(const SecretsManagerClient*, const Model::DeleteSecretRequest&, const Model::DeleteSecretOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteSecretResponseReceivedHandler;
172 typedef std::function<void(const SecretsManagerClient*, const Model::DescribeSecretRequest&, const Model::DescribeSecretOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeSecretResponseReceivedHandler;
173 typedef std::function<void(const SecretsManagerClient*, const Model::GetRandomPasswordRequest&, const Model::GetRandomPasswordOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetRandomPasswordResponseReceivedHandler;
174 typedef std::function<void(const SecretsManagerClient*, const Model::GetResourcePolicyRequest&, const Model::GetResourcePolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetResourcePolicyResponseReceivedHandler;
175 typedef std::function<void(const SecretsManagerClient*, const Model::GetSecretValueRequest&, const Model::GetSecretValueOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetSecretValueResponseReceivedHandler;
176 typedef std::function<void(const SecretsManagerClient*, const Model::ListSecretVersionIdsRequest&, const Model::ListSecretVersionIdsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListSecretVersionIdsResponseReceivedHandler;
177 typedef std::function<void(const SecretsManagerClient*, const Model::ListSecretsRequest&, const Model::ListSecretsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListSecretsResponseReceivedHandler;
178 typedef std::function<void(const SecretsManagerClient*, const Model::PutResourcePolicyRequest&, const Model::PutResourcePolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutResourcePolicyResponseReceivedHandler;
179 typedef std::function<void(const SecretsManagerClient*, const Model::PutSecretValueRequest&, const Model::PutSecretValueOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutSecretValueResponseReceivedHandler;
180 typedef std::function<void(const SecretsManagerClient*, const Model::RemoveRegionsFromReplicationRequest&, const Model::RemoveRegionsFromReplicationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RemoveRegionsFromReplicationResponseReceivedHandler;
181 typedef std::function<void(const SecretsManagerClient*, const Model::ReplicateSecretToRegionsRequest&, const Model::ReplicateSecretToRegionsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ReplicateSecretToRegionsResponseReceivedHandler;
182 typedef std::function<void(const SecretsManagerClient*, const Model::RestoreSecretRequest&, const Model::RestoreSecretOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RestoreSecretResponseReceivedHandler;
183 typedef std::function<void(const SecretsManagerClient*, const Model::RotateSecretRequest&, const Model::RotateSecretOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RotateSecretResponseReceivedHandler;
184 typedef std::function<void(const SecretsManagerClient*, const Model::StopReplicationToReplicaRequest&, const Model::StopReplicationToReplicaOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > StopReplicationToReplicaResponseReceivedHandler;
185 typedef std::function<void(const SecretsManagerClient*, const Model::TagResourceRequest&, const Model::TagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > TagResourceResponseReceivedHandler;
186 typedef std::function<void(const SecretsManagerClient*, const Model::UntagResourceRequest&, const Model::UntagResourceOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UntagResourceResponseReceivedHandler;
187 typedef std::function<void(const SecretsManagerClient*, const Model::UpdateSecretRequest&, const Model::UpdateSecretOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateSecretResponseReceivedHandler;
188 typedef std::function<void(const SecretsManagerClient*, const Model::UpdateSecretVersionStageRequest&, const Model::UpdateSecretVersionStageOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateSecretVersionStageResponseReceivedHandler;
189 typedef std::function<void(const SecretsManagerClient*, const Model::ValidateResourcePolicyRequest&, const Model::ValidateResourcePolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ValidateResourcePolicyResponseReceivedHandler;
190 /* End of service model async handlers definitions */
191 } // namespace SecretsManager
192} // namespace Aws
EndpointProviderBase< SecretsManagerClientConfiguration, SecretsManagerBuiltInParameters, SecretsManagerClientContextParameters > SecretsManagerEndpointProviderBase
std::future< RestoreSecretOutcome > RestoreSecretOutcomeCallable
Aws::Utils::Outcome< GetSecretValueResult, SecretsManagerError > GetSecretValueOutcome
Aws::Utils::Outcome< CreateSecretResult, SecretsManagerError > CreateSecretOutcome
std::future< TagResourceOutcome > TagResourceOutcomeCallable
Aws::Utils::Outcome< UpdateSecretResult, SecretsManagerError > UpdateSecretOutcome
Aws::Utils::Outcome< PutSecretValueResult, SecretsManagerError > PutSecretValueOutcome
std::future< DeleteResourcePolicyOutcome > DeleteResourcePolicyOutcomeCallable
Aws::Utils::Outcome< ReplicateSecretToRegionsResult, SecretsManagerError > ReplicateSecretToRegionsOutcome
Aws::Utils::Outcome< ListSecretsResult, SecretsManagerError > ListSecretsOutcome
Aws::Utils::Outcome< Aws::NoResult, SecretsManagerError > TagResourceOutcome
std::future< GetResourcePolicyOutcome > GetResourcePolicyOutcomeCallable
Aws::Utils::Outcome< Aws::NoResult, SecretsManagerError > UntagResourceOutcome
Aws::Utils::Outcome< GetRandomPasswordResult, SecretsManagerError > GetRandomPasswordOutcome
std::future< ReplicateSecretToRegionsOutcome > ReplicateSecretToRegionsOutcomeCallable
std::future< DeleteSecretOutcome > DeleteSecretOutcomeCallable
Aws::Utils::Outcome< UpdateSecretVersionStageResult, SecretsManagerError > UpdateSecretVersionStageOutcome
Aws::Utils::Outcome< RemoveRegionsFromReplicationResult, SecretsManagerError > RemoveRegionsFromReplicationOutcome
std::future< GetSecretValueOutcome > GetSecretValueOutcomeCallable
std::future< DescribeSecretOutcome > DescribeSecretOutcomeCallable
std::future< PutResourcePolicyOutcome > PutResourcePolicyOutcomeCallable
std::future< ListSecretsOutcome > ListSecretsOutcomeCallable
Aws::Utils::Outcome< ListSecretVersionIdsResult, SecretsManagerError > ListSecretVersionIdsOutcome
std::future< GetRandomPasswordOutcome > GetRandomPasswordOutcomeCallable
std::future< PutSecretValueOutcome > PutSecretValueOutcomeCallable
Aws::Utils::Outcome< BatchGetSecretValueResult, SecretsManagerError > BatchGetSecretValueOutcome
Aws::Utils::Outcome< GetResourcePolicyResult, SecretsManagerError > GetResourcePolicyOutcome
std::future< RotateSecretOutcome > RotateSecretOutcomeCallable
std::future< StopReplicationToReplicaOutcome > StopReplicationToReplicaOutcomeCallable
std::future< UntagResourceOutcome > UntagResourceOutcomeCallable
std::future< ListSecretVersionIdsOutcome > ListSecretVersionIdsOutcomeCallable
std::future< ValidateResourcePolicyOutcome > ValidateResourcePolicyOutcomeCallable
Aws::Utils::Outcome< DeleteSecretResult, SecretsManagerError > DeleteSecretOutcome
Aws::Utils::Outcome< RotateSecretResult, SecretsManagerError > RotateSecretOutcome
Aws::Utils::Outcome< PutResourcePolicyResult, SecretsManagerError > PutResourcePolicyOutcome
Aws::Utils::Outcome< ValidateResourcePolicyResult, SecretsManagerError > ValidateResourcePolicyOutcome
std::future< UpdateSecretVersionStageOutcome > UpdateSecretVersionStageOutcomeCallable
Aws::Utils::Outcome< DeleteResourcePolicyResult, SecretsManagerError > DeleteResourcePolicyOutcome
Aws::Utils::Outcome< StopReplicationToReplicaResult, SecretsManagerError > StopReplicationToReplicaOutcome
std::future< BatchGetSecretValueOutcome > BatchGetSecretValueOutcomeCallable
Aws::Utils::Outcome< CancelRotateSecretResult, SecretsManagerError > CancelRotateSecretOutcome
std::future< RemoveRegionsFromReplicationOutcome > RemoveRegionsFromReplicationOutcomeCallable
std::future< UpdateSecretOutcome > UpdateSecretOutcomeCallable
std::future< CreateSecretOutcome > CreateSecretOutcomeCallable
std::future< CancelRotateSecretOutcome > CancelRotateSecretOutcomeCallable
Aws::Utils::Outcome< DescribeSecretResult, SecretsManagerError > DescribeSecretOutcome
Aws::Utils::Outcome< RestoreSecretResult, SecretsManagerError > RestoreSecretOutcome
std::function< void(const SecretsManagerClient *, const Model::DeleteSecretRequest &, const Model::DeleteSecretOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteSecretResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::ReplicateSecretToRegionsRequest &, const Model::ReplicateSecretToRegionsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ReplicateSecretToRegionsResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::ListSecretsRequest &, const Model::ListSecretsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSecretsResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::GetResourcePolicyRequest &, const Model::GetResourcePolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetResourcePolicyResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::RestoreSecretRequest &, const Model::RestoreSecretOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RestoreSecretResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::GetSecretValueRequest &, const Model::GetSecretValueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetSecretValueResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::UntagResourceRequest &, const Model::UntagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UntagResourceResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::ListSecretVersionIdsRequest &, const Model::ListSecretVersionIdsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListSecretVersionIdsResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::UpdateSecretRequest &, const Model::UpdateSecretOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateSecretResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::DescribeSecretRequest &, const Model::DescribeSecretOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeSecretResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::BatchGetSecretValueRequest &, const Model::BatchGetSecretValueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > BatchGetSecretValueResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::PutSecretValueRequest &, const Model::PutSecretValueOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutSecretValueResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::StopReplicationToReplicaRequest &, const Model::StopReplicationToReplicaOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > StopReplicationToReplicaResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::CancelRotateSecretRequest &, const Model::CancelRotateSecretOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelRotateSecretResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::TagResourceRequest &, const Model::TagResourceOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > TagResourceResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::ValidateResourcePolicyRequest &, const Model::ValidateResourcePolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ValidateResourcePolicyResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::PutResourcePolicyRequest &, const Model::PutResourcePolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutResourcePolicyResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::GetRandomPasswordRequest &, const Model::GetRandomPasswordOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetRandomPasswordResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::UpdateSecretVersionStageRequest &, const Model::UpdateSecretVersionStageOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateSecretVersionStageResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::DeleteResourcePolicyRequest &, const Model::DeleteResourcePolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteResourcePolicyResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::RotateSecretRequest &, const Model::RotateSecretOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RotateSecretResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::RemoveRegionsFromReplicationRequest &, const Model::RemoveRegionsFromReplicationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RemoveRegionsFromReplicationResponseReceivedHandler
std::function< void(const SecretsManagerClient *, const Model::CreateSecretRequest &, const Model::CreateSecretOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateSecretResponseReceivedHandler