AWS SDK for C++  0.14.3
AWS SDK for C++
KMSClient.h
Go to the documentation of this file.
1 /*
2 * Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License").
5 * You may not use this file except in compliance with the License.
6 * A copy of the License is located at
7 *
8 * http://aws.amazon.com/apache2.0
9 *
10 * or in the "license" file accompanying this file. This file is distributed
11 * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
12 * express or implied. See the License for the specific language governing
13 * permissions and limitations under the License.
14 */
15 #pragma once
16 #include <aws/kms/KMS_EXPORTS.h>
17 #include <aws/kms/KMSErrors.h>
43 #include <aws/core/NoResult.h>
46 #include <future>
47 #include <functional>
48 
49 namespace Aws
50 {
51 
52 namespace Http
53 {
54  class HttpClient;
55  class HttpClientFactory;
56 } // namespace Http
57 
58 namespace Utils
59 {
60  template< typename R, typename E> class Outcome;
61 
62 namespace Threading
63 {
64  class Executor;
65 } // namespace Threading
66 
67 namespace Json
68 {
69  class JsonValue;
70 } // namespace Json
71 } // namespace Utils
72 
73 namespace Auth
74 {
75  class AWSCredentials;
76  class AWSCredentialsProvider;
77 } // namespace Auth
78 
79 namespace Client
80 {
81  class RetryStrategy;
82 } // namespace Client
83 
84 namespace KMS
85 {
86 
87 namespace Model
88 {
90  class CreateAliasRequest;
91  class CreateGrantRequest;
92  class CreateKeyRequest;
93  class DecryptRequest;
94  class DeleteAliasRequest;
96  class DescribeKeyRequest;
97  class DisableKeyRequest;
99  class EnableKeyRequest;
101  class EncryptRequest;
104  class GenerateRandomRequest;
105  class GetKeyPolicyRequest;
109  class ListAliasesRequest;
110  class ListGrantsRequest;
112  class ListKeysRequest;
114  class PutKeyPolicyRequest;
115  class ReEncryptRequest;
116  class RetireGrantRequest;
117  class RevokeGrantRequest;
119  class UpdateAliasRequest;
121 
154 
155  typedef std::future<CancelKeyDeletionOutcome> CancelKeyDeletionOutcomeCallable;
156  typedef std::future<CreateAliasOutcome> CreateAliasOutcomeCallable;
157  typedef std::future<CreateGrantOutcome> CreateGrantOutcomeCallable;
158  typedef std::future<CreateKeyOutcome> CreateKeyOutcomeCallable;
159  typedef std::future<DecryptOutcome> DecryptOutcomeCallable;
160  typedef std::future<DeleteAliasOutcome> DeleteAliasOutcomeCallable;
161  typedef std::future<DeleteImportedKeyMaterialOutcome> DeleteImportedKeyMaterialOutcomeCallable;
162  typedef std::future<DescribeKeyOutcome> DescribeKeyOutcomeCallable;
163  typedef std::future<DisableKeyOutcome> DisableKeyOutcomeCallable;
164  typedef std::future<DisableKeyRotationOutcome> DisableKeyRotationOutcomeCallable;
165  typedef std::future<EnableKeyOutcome> EnableKeyOutcomeCallable;
166  typedef std::future<EnableKeyRotationOutcome> EnableKeyRotationOutcomeCallable;
167  typedef std::future<EncryptOutcome> EncryptOutcomeCallable;
168  typedef std::future<GenerateDataKeyOutcome> GenerateDataKeyOutcomeCallable;
169  typedef std::future<GenerateDataKeyWithoutPlaintextOutcome> GenerateDataKeyWithoutPlaintextOutcomeCallable;
170  typedef std::future<GenerateRandomOutcome> GenerateRandomOutcomeCallable;
171  typedef std::future<GetKeyPolicyOutcome> GetKeyPolicyOutcomeCallable;
172  typedef std::future<GetKeyRotationStatusOutcome> GetKeyRotationStatusOutcomeCallable;
173  typedef std::future<GetParametersForImportOutcome> GetParametersForImportOutcomeCallable;
174  typedef std::future<ImportKeyMaterialOutcome> ImportKeyMaterialOutcomeCallable;
175  typedef std::future<ListAliasesOutcome> ListAliasesOutcomeCallable;
176  typedef std::future<ListGrantsOutcome> ListGrantsOutcomeCallable;
177  typedef std::future<ListKeyPoliciesOutcome> ListKeyPoliciesOutcomeCallable;
178  typedef std::future<ListKeysOutcome> ListKeysOutcomeCallable;
179  typedef std::future<ListRetirableGrantsOutcome> ListRetirableGrantsOutcomeCallable;
180  typedef std::future<PutKeyPolicyOutcome> PutKeyPolicyOutcomeCallable;
181  typedef std::future<ReEncryptOutcome> ReEncryptOutcomeCallable;
182  typedef std::future<RetireGrantOutcome> RetireGrantOutcomeCallable;
183  typedef std::future<RevokeGrantOutcome> RevokeGrantOutcomeCallable;
184  typedef std::future<ScheduleKeyDeletionOutcome> ScheduleKeyDeletionOutcomeCallable;
185  typedef std::future<UpdateAliasOutcome> UpdateAliasOutcomeCallable;
186  typedef std::future<UpdateKeyDescriptionOutcome> UpdateKeyDescriptionOutcomeCallable;
187 } // namespace Model
188 
189  class KMSClient;
190 
191  typedef std::function<void(const KMSClient*, const Model::CancelKeyDeletionRequest&, const Model::CancelKeyDeletionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CancelKeyDeletionResponseReceivedHandler;
192  typedef std::function<void(const KMSClient*, const Model::CreateAliasRequest&, const Model::CreateAliasOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateAliasResponseReceivedHandler;
193  typedef std::function<void(const KMSClient*, const Model::CreateGrantRequest&, const Model::CreateGrantOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateGrantResponseReceivedHandler;
194  typedef std::function<void(const KMSClient*, const Model::CreateKeyRequest&, const Model::CreateKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateKeyResponseReceivedHandler;
195  typedef std::function<void(const KMSClient*, const Model::DecryptRequest&, const Model::DecryptOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DecryptResponseReceivedHandler;
196  typedef std::function<void(const KMSClient*, const Model::DeleteAliasRequest&, const Model::DeleteAliasOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAliasResponseReceivedHandler;
197  typedef std::function<void(const KMSClient*, const Model::DeleteImportedKeyMaterialRequest&, const Model::DeleteImportedKeyMaterialOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteImportedKeyMaterialResponseReceivedHandler;
198  typedef std::function<void(const KMSClient*, const Model::DescribeKeyRequest&, const Model::DescribeKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeKeyResponseReceivedHandler;
199  typedef std::function<void(const KMSClient*, const Model::DisableKeyRequest&, const Model::DisableKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DisableKeyResponseReceivedHandler;
200  typedef std::function<void(const KMSClient*, const Model::DisableKeyRotationRequest&, const Model::DisableKeyRotationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DisableKeyRotationResponseReceivedHandler;
201  typedef std::function<void(const KMSClient*, const Model::EnableKeyRequest&, const Model::EnableKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EnableKeyResponseReceivedHandler;
202  typedef std::function<void(const KMSClient*, const Model::EnableKeyRotationRequest&, const Model::EnableKeyRotationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EnableKeyRotationResponseReceivedHandler;
203  typedef std::function<void(const KMSClient*, const Model::EncryptRequest&, const Model::EncryptOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EncryptResponseReceivedHandler;
204  typedef std::function<void(const KMSClient*, const Model::GenerateDataKeyRequest&, const Model::GenerateDataKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GenerateDataKeyResponseReceivedHandler;
205  typedef std::function<void(const KMSClient*, const Model::GenerateDataKeyWithoutPlaintextRequest&, const Model::GenerateDataKeyWithoutPlaintextOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GenerateDataKeyWithoutPlaintextResponseReceivedHandler;
206  typedef std::function<void(const KMSClient*, const Model::GenerateRandomRequest&, const Model::GenerateRandomOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GenerateRandomResponseReceivedHandler;
207  typedef std::function<void(const KMSClient*, const Model::GetKeyPolicyRequest&, const Model::GetKeyPolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetKeyPolicyResponseReceivedHandler;
208  typedef std::function<void(const KMSClient*, const Model::GetKeyRotationStatusRequest&, const Model::GetKeyRotationStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetKeyRotationStatusResponseReceivedHandler;
209  typedef std::function<void(const KMSClient*, const Model::GetParametersForImportRequest&, const Model::GetParametersForImportOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetParametersForImportResponseReceivedHandler;
210  typedef std::function<void(const KMSClient*, const Model::ImportKeyMaterialRequest&, const Model::ImportKeyMaterialOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ImportKeyMaterialResponseReceivedHandler;
211  typedef std::function<void(const KMSClient*, const Model::ListAliasesRequest&, const Model::ListAliasesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListAliasesResponseReceivedHandler;
212  typedef std::function<void(const KMSClient*, const Model::ListGrantsRequest&, const Model::ListGrantsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListGrantsResponseReceivedHandler;
213  typedef std::function<void(const KMSClient*, const Model::ListKeyPoliciesRequest&, const Model::ListKeyPoliciesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListKeyPoliciesResponseReceivedHandler;
214  typedef std::function<void(const KMSClient*, const Model::ListKeysRequest&, const Model::ListKeysOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListKeysResponseReceivedHandler;
215  typedef std::function<void(const KMSClient*, const Model::ListRetirableGrantsRequest&, const Model::ListRetirableGrantsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListRetirableGrantsResponseReceivedHandler;
216  typedef std::function<void(const KMSClient*, const Model::PutKeyPolicyRequest&, const Model::PutKeyPolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutKeyPolicyResponseReceivedHandler;
217  typedef std::function<void(const KMSClient*, const Model::ReEncryptRequest&, const Model::ReEncryptOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ReEncryptResponseReceivedHandler;
218  typedef std::function<void(const KMSClient*, const Model::RetireGrantRequest&, const Model::RetireGrantOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetireGrantResponseReceivedHandler;
219  typedef std::function<void(const KMSClient*, const Model::RevokeGrantRequest&, const Model::RevokeGrantOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RevokeGrantResponseReceivedHandler;
220  typedef std::function<void(const KMSClient*, const Model::ScheduleKeyDeletionRequest&, const Model::ScheduleKeyDeletionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ScheduleKeyDeletionResponseReceivedHandler;
221  typedef std::function<void(const KMSClient*, const Model::UpdateAliasRequest&, const Model::UpdateAliasOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateAliasResponseReceivedHandler;
222  typedef std::function<void(const KMSClient*, const Model::UpdateKeyDescriptionRequest&, const Model::UpdateKeyDescriptionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateKeyDescriptionResponseReceivedHandler;
223 
278  {
279  public:
281 
286  KMSClient(const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
287 
292  KMSClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
293 
298  KMSClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
299  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
300 
301  virtual ~KMSClient();
302 
312  virtual Model::CancelKeyDeletionOutcome CancelKeyDeletion(const Model::CancelKeyDeletionRequest& request) const;
313 
325  virtual Model::CancelKeyDeletionOutcomeCallable CancelKeyDeletionCallable(const Model::CancelKeyDeletionRequest& request) const;
326 
338  virtual void CancelKeyDeletionAsync(const Model::CancelKeyDeletionRequest& request, const CancelKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
339 
351  virtual Model::CreateAliasOutcome CreateAlias(const Model::CreateAliasRequest& request) const;
352 
366  virtual Model::CreateAliasOutcomeCallable CreateAliasCallable(const Model::CreateAliasRequest& request) const;
367 
381  virtual void CreateAliasAsync(const Model::CreateAliasRequest& request, const CreateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
382 
390  virtual Model::CreateGrantOutcome CreateGrant(const Model::CreateGrantRequest& request) const;
391 
401  virtual Model::CreateGrantOutcomeCallable CreateGrantCallable(const Model::CreateGrantRequest& request) const;
402 
412  virtual void CreateGrantAsync(const Model::CreateGrantRequest& request, const CreateGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
413 
425  virtual Model::CreateKeyOutcome CreateKey(const Model::CreateKeyRequest& request) const;
426 
440  virtual Model::CreateKeyOutcomeCallable CreateKeyCallable(const Model::CreateKeyRequest& request) const;
441 
455  virtual void CreateKeyAsync(const Model::CreateKeyRequest& request, const CreateKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
456 
471  virtual Model::DecryptOutcome Decrypt(const Model::DecryptRequest& request) const;
472 
489  virtual Model::DecryptOutcomeCallable DecryptCallable(const Model::DecryptRequest& request) const;
490 
507  virtual void DecryptAsync(const Model::DecryptRequest& request, const DecryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
508 
513  virtual Model::DeleteAliasOutcome DeleteAlias(const Model::DeleteAliasRequest& request) const;
514 
521  virtual Model::DeleteAliasOutcomeCallable DeleteAliasCallable(const Model::DeleteAliasRequest& request) const;
522 
529  virtual void DeleteAliasAsync(const Model::DeleteAliasRequest& request, const DeleteAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
530 
542  virtual Model::DeleteImportedKeyMaterialOutcome DeleteImportedKeyMaterial(const Model::DeleteImportedKeyMaterialRequest& request) const;
543 
557  virtual Model::DeleteImportedKeyMaterialOutcomeCallable DeleteImportedKeyMaterialCallable(const Model::DeleteImportedKeyMaterialRequest& request) const;
558 
572  virtual void DeleteImportedKeyMaterialAsync(const Model::DeleteImportedKeyMaterialRequest& request, const DeleteImportedKeyMaterialResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
573 
577  virtual Model::DescribeKeyOutcome DescribeKey(const Model::DescribeKeyRequest& request) const;
578 
584  virtual Model::DescribeKeyOutcomeCallable DescribeKeyCallable(const Model::DescribeKeyRequest& request) const;
585 
591  virtual void DescribeKeyAsync(const Model::DescribeKeyRequest& request, const DescribeKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
592 
601  virtual Model::DisableKeyOutcome DisableKey(const Model::DisableKeyRequest& request) const;
602 
613  virtual Model::DisableKeyOutcomeCallable DisableKeyCallable(const Model::DisableKeyRequest& request) const;
614 
625  virtual void DisableKeyAsync(const Model::DisableKeyRequest& request, const DisableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
626 
630  virtual Model::DisableKeyRotationOutcome DisableKeyRotation(const Model::DisableKeyRotationRequest& request) const;
631 
637  virtual Model::DisableKeyRotationOutcomeCallable DisableKeyRotationCallable(const Model::DisableKeyRotationRequest& request) const;
638 
644  virtual void DisableKeyRotationAsync(const Model::DisableKeyRotationRequest& request, const DisableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
645 
649  virtual Model::EnableKeyOutcome EnableKey(const Model::EnableKeyRequest& request) const;
650 
656  virtual Model::EnableKeyOutcomeCallable EnableKeyCallable(const Model::EnableKeyRequest& request) const;
657 
663  virtual void EnableKeyAsync(const Model::EnableKeyRequest& request, const EnableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
664 
668  virtual Model::EnableKeyRotationOutcome EnableKeyRotation(const Model::EnableKeyRotationRequest& request) const;
669 
675  virtual Model::EnableKeyRotationOutcomeCallable EnableKeyRotationCallable(const Model::EnableKeyRotationRequest& request) const;
676 
682  virtual void EnableKeyRotationAsync(const Model::EnableKeyRotationRequest& request, const EnableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
683 
703  virtual Model::EncryptOutcome Encrypt(const Model::EncryptRequest& request) const;
704 
726  virtual Model::EncryptOutcomeCallable EncryptCallable(const Model::EncryptRequest& request) const;
727 
749  virtual void EncryptAsync(const Model::EncryptRequest& request, const EncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
750 
782  virtual Model::GenerateDataKeyOutcome GenerateDataKey(const Model::GenerateDataKeyRequest& request) const;
783 
817  virtual Model::GenerateDataKeyOutcomeCallable GenerateDataKeyCallable(const Model::GenerateDataKeyRequest& request) const;
818 
852  virtual void GenerateDataKeyAsync(const Model::GenerateDataKeyRequest& request, const GenerateDataKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
853 
861  virtual Model::GenerateDataKeyWithoutPlaintextOutcome GenerateDataKeyWithoutPlaintext(const Model::GenerateDataKeyWithoutPlaintextRequest& request) const;
862 
872  virtual Model::GenerateDataKeyWithoutPlaintextOutcomeCallable GenerateDataKeyWithoutPlaintextCallable(const Model::GenerateDataKeyWithoutPlaintextRequest& request) const;
873 
883  virtual void GenerateDataKeyWithoutPlaintextAsync(const Model::GenerateDataKeyWithoutPlaintextRequest& request, const GenerateDataKeyWithoutPlaintextResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
884 
888  virtual Model::GenerateRandomOutcome GenerateRandom(const Model::GenerateRandomRequest& request) const;
889 
895  virtual Model::GenerateRandomOutcomeCallable GenerateRandomCallable(const Model::GenerateRandomRequest& request) const;
896 
902  virtual void GenerateRandomAsync(const Model::GenerateRandomRequest& request, const GenerateRandomResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
903 
907  virtual Model::GetKeyPolicyOutcome GetKeyPolicy(const Model::GetKeyPolicyRequest& request) const;
908 
914  virtual Model::GetKeyPolicyOutcomeCallable GetKeyPolicyCallable(const Model::GetKeyPolicyRequest& request) const;
915 
921  virtual void GetKeyPolicyAsync(const Model::GetKeyPolicyRequest& request, const GetKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
922 
927  virtual Model::GetKeyRotationStatusOutcome GetKeyRotationStatus(const Model::GetKeyRotationStatusRequest& request) const;
928 
935  virtual Model::GetKeyRotationStatusOutcomeCallable GetKeyRotationStatusCallable(const Model::GetKeyRotationStatusRequest& request) const;
936 
943  virtual void GetKeyRotationStatusAsync(const Model::GetKeyRotationStatusRequest& request, const GetKeyRotationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
944 
962  virtual Model::GetParametersForImportOutcome GetParametersForImport(const Model::GetParametersForImportRequest& request) const;
963 
983  virtual Model::GetParametersForImportOutcomeCallable GetParametersForImportCallable(const Model::GetParametersForImportRequest& request) const;
984 
1004  virtual void GetParametersForImportAsync(const Model::GetParametersForImportRequest& request, const GetParametersForImportResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1005 
1026  virtual Model::ImportKeyMaterialOutcome ImportKeyMaterial(const Model::ImportKeyMaterialRequest& request) const;
1027 
1050  virtual Model::ImportKeyMaterialOutcomeCallable ImportKeyMaterialCallable(const Model::ImportKeyMaterialRequest& request) const;
1051 
1074  virtual void ImportKeyMaterialAsync(const Model::ImportKeyMaterialRequest& request, const ImportKeyMaterialResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1075 
1079  virtual Model::ListAliasesOutcome ListAliases(const Model::ListAliasesRequest& request) const;
1080 
1086  virtual Model::ListAliasesOutcomeCallable ListAliasesCallable(const Model::ListAliasesRequest& request) const;
1087 
1093  virtual void ListAliasesAsync(const Model::ListAliasesRequest& request, const ListAliasesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1094 
1098  virtual Model::ListGrantsOutcome ListGrants(const Model::ListGrantsRequest& request) const;
1099 
1105  virtual Model::ListGrantsOutcomeCallable ListGrantsCallable(const Model::ListGrantsRequest& request) const;
1106 
1112  virtual void ListGrantsAsync(const Model::ListGrantsRequest& request, const ListGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1113 
1117  virtual Model::ListKeyPoliciesOutcome ListKeyPolicies(const Model::ListKeyPoliciesRequest& request) const;
1118 
1124  virtual Model::ListKeyPoliciesOutcomeCallable ListKeyPoliciesCallable(const Model::ListKeyPoliciesRequest& request) const;
1125 
1131  virtual void ListKeyPoliciesAsync(const Model::ListKeyPoliciesRequest& request, const ListKeyPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1132 
1136  virtual Model::ListKeysOutcome ListKeys(const Model::ListKeysRequest& request) const;
1137 
1143  virtual Model::ListKeysOutcomeCallable ListKeysCallable(const Model::ListKeysRequest& request) const;
1144 
1150  virtual void ListKeysAsync(const Model::ListKeysRequest& request, const ListKeysResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1151 
1158  virtual Model::ListRetirableGrantsOutcome ListRetirableGrants(const Model::ListRetirableGrantsRequest& request) const;
1159 
1168  virtual Model::ListRetirableGrantsOutcomeCallable ListRetirableGrantsCallable(const Model::ListRetirableGrantsRequest& request) const;
1169 
1178  virtual void ListRetirableGrantsAsync(const Model::ListRetirableGrantsRequest& request, const ListRetirableGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1179 
1186  virtual Model::PutKeyPolicyOutcome PutKeyPolicy(const Model::PutKeyPolicyRequest& request) const;
1187 
1196  virtual Model::PutKeyPolicyOutcomeCallable PutKeyPolicyCallable(const Model::PutKeyPolicyRequest& request) const;
1197 
1206  virtual void PutKeyPolicyAsync(const Model::PutKeyPolicyRequest& request, const PutKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1207 
1221  virtual Model::ReEncryptOutcome ReEncrypt(const Model::ReEncryptRequest& request) const;
1222 
1238  virtual Model::ReEncryptOutcomeCallable ReEncryptCallable(const Model::ReEncryptRequest& request) const;
1239 
1255  virtual void ReEncryptAsync(const Model::ReEncryptRequest& request, const ReEncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1256 
1270  virtual Model::RetireGrantOutcome RetireGrant(const Model::RetireGrantRequest& request) const;
1271 
1287  virtual Model::RetireGrantOutcomeCallable RetireGrantCallable(const Model::RetireGrantRequest& request) const;
1288 
1304  virtual void RetireGrantAsync(const Model::RetireGrantRequest& request, const RetireGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1305 
1310  virtual Model::RevokeGrantOutcome RevokeGrant(const Model::RevokeGrantRequest& request) const;
1311 
1318  virtual Model::RevokeGrantOutcomeCallable RevokeGrantCallable(const Model::RevokeGrantRequest& request) const;
1319 
1326  virtual void RevokeGrantAsync(const Model::RevokeGrantRequest& request, const RevokeGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1327 
1345  virtual Model::ScheduleKeyDeletionOutcome ScheduleKeyDeletion(const Model::ScheduleKeyDeletionRequest& request) const;
1346 
1366  virtual Model::ScheduleKeyDeletionOutcomeCallable ScheduleKeyDeletionCallable(const Model::ScheduleKeyDeletionRequest& request) const;
1367 
1387  virtual void ScheduleKeyDeletionAsync(const Model::ScheduleKeyDeletionRequest& request, const ScheduleKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1388 
1399  virtual Model::UpdateAliasOutcome UpdateAlias(const Model::UpdateAliasRequest& request) const;
1400 
1413  virtual Model::UpdateAliasOutcomeCallable UpdateAliasCallable(const Model::UpdateAliasRequest& request) const;
1414 
1427  virtual void UpdateAliasAsync(const Model::UpdateAliasRequest& request, const UpdateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1428 
1432  virtual Model::UpdateKeyDescriptionOutcome UpdateKeyDescription(const Model::UpdateKeyDescriptionRequest& request) const;
1433 
1439  virtual Model::UpdateKeyDescriptionOutcomeCallable UpdateKeyDescriptionCallable(const Model::UpdateKeyDescriptionRequest& request) const;
1440 
1446  virtual void UpdateKeyDescriptionAsync(const Model::UpdateKeyDescriptionRequest& request, const UpdateKeyDescriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1447 
1448 
1449  private:
1450  void init(const Client::ClientConfiguration& clientConfiguration);
1451 
1453  void CancelKeyDeletionAsyncHelper(const Model::CancelKeyDeletionRequest& request, const CancelKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1454  void CreateAliasAsyncHelper(const Model::CreateAliasRequest& request, const CreateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1455  void CreateGrantAsyncHelper(const Model::CreateGrantRequest& request, const CreateGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1456  void CreateKeyAsyncHelper(const Model::CreateKeyRequest& request, const CreateKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1457  void DecryptAsyncHelper(const Model::DecryptRequest& request, const DecryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1458  void DeleteAliasAsyncHelper(const Model::DeleteAliasRequest& request, const DeleteAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1459  void DeleteImportedKeyMaterialAsyncHelper(const Model::DeleteImportedKeyMaterialRequest& request, const DeleteImportedKeyMaterialResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1460  void DescribeKeyAsyncHelper(const Model::DescribeKeyRequest& request, const DescribeKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1461  void DisableKeyAsyncHelper(const Model::DisableKeyRequest& request, const DisableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1462  void DisableKeyRotationAsyncHelper(const Model::DisableKeyRotationRequest& request, const DisableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1463  void EnableKeyAsyncHelper(const Model::EnableKeyRequest& request, const EnableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1464  void EnableKeyRotationAsyncHelper(const Model::EnableKeyRotationRequest& request, const EnableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1465  void EncryptAsyncHelper(const Model::EncryptRequest& request, const EncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1466  void GenerateDataKeyAsyncHelper(const Model::GenerateDataKeyRequest& request, const GenerateDataKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1467  void GenerateDataKeyWithoutPlaintextAsyncHelper(const Model::GenerateDataKeyWithoutPlaintextRequest& request, const GenerateDataKeyWithoutPlaintextResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1468  void GenerateRandomAsyncHelper(const Model::GenerateRandomRequest& request, const GenerateRandomResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1469  void GetKeyPolicyAsyncHelper(const Model::GetKeyPolicyRequest& request, const GetKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1470  void GetKeyRotationStatusAsyncHelper(const Model::GetKeyRotationStatusRequest& request, const GetKeyRotationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1471  void GetParametersForImportAsyncHelper(const Model::GetParametersForImportRequest& request, const GetParametersForImportResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1472  void ImportKeyMaterialAsyncHelper(const Model::ImportKeyMaterialRequest& request, const ImportKeyMaterialResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1473  void ListAliasesAsyncHelper(const Model::ListAliasesRequest& request, const ListAliasesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1474  void ListGrantsAsyncHelper(const Model::ListGrantsRequest& request, const ListGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1475  void ListKeyPoliciesAsyncHelper(const Model::ListKeyPoliciesRequest& request, const ListKeyPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1476  void ListKeysAsyncHelper(const Model::ListKeysRequest& request, const ListKeysResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1477  void ListRetirableGrantsAsyncHelper(const Model::ListRetirableGrantsRequest& request, const ListRetirableGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1478  void PutKeyPolicyAsyncHelper(const Model::PutKeyPolicyRequest& request, const PutKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1479  void ReEncryptAsyncHelper(const Model::ReEncryptRequest& request, const ReEncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1480  void RetireGrantAsyncHelper(const Model::RetireGrantRequest& request, const RetireGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1481  void RevokeGrantAsyncHelper(const Model::RevokeGrantRequest& request, const RevokeGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1482  void ScheduleKeyDeletionAsyncHelper(const Model::ScheduleKeyDeletionRequest& request, const ScheduleKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1483  void UpdateAliasAsyncHelper(const Model::UpdateAliasRequest& request, const UpdateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1484  void UpdateKeyDescriptionAsyncHelper(const Model::UpdateKeyDescriptionRequest& request, const UpdateKeyDescriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1485 
1486  Aws::String m_uri;
1487  std::shared_ptr<Utils::Threading::Executor> m_executor;
1488  };
1489 
1490 } // namespace KMS
1491 } // namespace Aws
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DeleteAliasOutcome
Definition: KMSClient.h:127
std::function< void(const KMSClient *, const Model::DecryptRequest &, const Model::DecryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DecryptResponseReceivedHandler
Definition: KMSClient.h:195
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > EnableKeyOutcome
Definition: KMSClient.h:132
std::future< CreateAliasOutcome > CreateAliasOutcomeCallable
Definition: KMSClient.h:156
std::function< void(const KMSClient *, const Model::ListKeyPoliciesRequest &, const Model::ListKeyPoliciesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListKeyPoliciesResponseReceivedHandler
Definition: KMSClient.h:213
std::function< void(const KMSClient *, const Model::CancelKeyDeletionRequest &, const Model::CancelKeyDeletionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelKeyDeletionResponseReceivedHandler
Definition: KMSClient.h:189
Aws::Utils::Outcome< ScheduleKeyDeletionResult, Aws::Client::AWSError< KMSErrors > > ScheduleKeyDeletionOutcome
Definition: KMSClient.h:151
std::function< void(const KMSClient *, const Model::GetKeyPolicyRequest &, const Model::GetKeyPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetKeyPolicyResponseReceivedHandler
Definition: KMSClient.h:207
std::function< void(const KMSClient *, const Model::UpdateAliasRequest &, const Model::UpdateAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateAliasResponseReceivedHandler
Definition: KMSClient.h:221
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > RevokeGrantOutcome
Definition: KMSClient.h:150
std::future< DisableKeyOutcome > DisableKeyOutcomeCallable
Definition: KMSClient.h:163
std::future< DeleteAliasOutcome > DeleteAliasOutcomeCallable
Definition: KMSClient.h:160
std::function< void(const KMSClient *, const Model::CreateAliasRequest &, const Model::CreateAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateAliasResponseReceivedHandler
Definition: KMSClient.h:192
std::function< void(const KMSClient *, const Model::CreateKeyRequest &, const Model::CreateKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateKeyResponseReceivedHandler
Definition: KMSClient.h:194
std::function< void(const KMSClient *, const Model::GenerateDataKeyWithoutPlaintextRequest &, const Model::GenerateDataKeyWithoutPlaintextOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateDataKeyWithoutPlaintextResponseReceivedHandler
Definition: KMSClient.h:205
std::function< void(const KMSClient *, const Model::ListAliasesRequest &, const Model::ListAliasesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAliasesResponseReceivedHandler
Definition: KMSClient.h:211
std::future< PutKeyPolicyOutcome > PutKeyPolicyOutcomeCallable
Definition: KMSClient.h:180
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DisableKeyOutcome
Definition: KMSClient.h:130
std::function< void(const KMSClient *, const Model::ListRetirableGrantsRequest &, const Model::ListRetirableGrantsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRetirableGrantsResponseReceivedHandler
Definition: KMSClient.h:215
std::function< void(const KMSClient *, const Model::EnableKeyRequest &, const Model::EnableKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EnableKeyResponseReceivedHandler
Definition: KMSClient.h:201
std::future< GetParametersForImportOutcome > GetParametersForImportOutcomeCallable
Definition: KMSClient.h:173
std::function< void(const KMSClient *, const Model::DisableKeyRequest &, const Model::DisableKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisableKeyResponseReceivedHandler
Definition: KMSClient.h:199
std::future< GenerateDataKeyWithoutPlaintextOutcome > GenerateDataKeyWithoutPlaintextOutcomeCallable
Definition: KMSClient.h:169
std::function< void(const KMSClient *, const Model::ListKeysRequest &, const Model::ListKeysOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListKeysResponseReceivedHandler
Definition: KMSClient.h:214
std::future< CreateGrantOutcome > CreateGrantOutcomeCallable
Definition: KMSClient.h:157
std::function< void(const KMSClient *, const Model::UpdateKeyDescriptionRequest &, const Model::UpdateKeyDescriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateKeyDescriptionResponseReceivedHandler
Definition: KMSClient.h:222
std::function< void(const KMSClient *, const Model::CreateGrantRequest &, const Model::CreateGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateGrantResponseReceivedHandler
Definition: KMSClient.h:193
std::future< UpdateKeyDescriptionOutcome > UpdateKeyDescriptionOutcomeCallable
Definition: KMSClient.h:186
std::future< DecryptOutcome > DecryptOutcomeCallable
Definition: KMSClient.h:159
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > UpdateKeyDescriptionOutcome
Definition: KMSClient.h:153
std::function< void(const KMSClient *, const Model::DeleteImportedKeyMaterialRequest &, const Model::DeleteImportedKeyMaterialOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteImportedKeyMaterialResponseReceivedHandler
Definition: KMSClient.h:197
std::future< ListKeysOutcome > ListKeysOutcomeCallable
Definition: KMSClient.h:178
std::future< DeleteImportedKeyMaterialOutcome > DeleteImportedKeyMaterialOutcomeCallable
Definition: KMSClient.h:161
std::future< ListKeyPoliciesOutcome > ListKeyPoliciesOutcomeCallable
Definition: KMSClient.h:177
Aws::Utils::Outcome< ImportKeyMaterialResult, Aws::Client::AWSError< KMSErrors > > ImportKeyMaterialOutcome
Definition: KMSClient.h:141
std::future< RevokeGrantOutcome > RevokeGrantOutcomeCallable
Definition: KMSClient.h:183
Aws::Utils::Outcome< ListRetirableGrantsResult, Aws::Client::AWSError< KMSErrors > > ListRetirableGrantsOutcome
Definition: KMSClient.h:146
std::function< void(const KMSClient *, const Model::ImportKeyMaterialRequest &, const Model::ImportKeyMaterialOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ImportKeyMaterialResponseReceivedHandler
Definition: KMSClient.h:210
std::future< ListGrantsOutcome > ListGrantsOutcomeCallable
Definition: KMSClient.h:176
std::future< EnableKeyOutcome > EnableKeyOutcomeCallable
Definition: KMSClient.h:165
std::function< void(const KMSClient *, const Model::ReEncryptRequest &, const Model::ReEncryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ReEncryptResponseReceivedHandler
Definition: KMSClient.h:217
std::future< CancelKeyDeletionOutcome > CancelKeyDeletionOutcomeCallable
Definition: KMSClient.h:155
std::future< ScheduleKeyDeletionOutcome > ScheduleKeyDeletionOutcomeCallable
Definition: KMSClient.h:184
std::function< void(const KMSClient *, const Model::PutKeyPolicyRequest &, const Model::PutKeyPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutKeyPolicyResponseReceivedHandler
Definition: KMSClient.h:216
std::future< ListAliasesOutcome > ListAliasesOutcomeCallable
Definition: KMSClient.h:175
std::future< DisableKeyRotationOutcome > DisableKeyRotationOutcomeCallable
Definition: KMSClient.h:164
Aws::Client::AWSJsonClient BASECLASS
Definition: KMSClient.h:280
std::function< void(const KMSClient *, const Model::DescribeKeyRequest &, const Model::DescribeKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeKeyResponseReceivedHandler
Definition: KMSClient.h:198
std::function< void(const KMSClient *, const Model::GetKeyRotationStatusRequest &, const Model::GetKeyRotationStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetKeyRotationStatusResponseReceivedHandler
Definition: KMSClient.h:208
std::future< ListRetirableGrantsOutcome > ListRetirableGrantsOutcomeCallable
Definition: KMSClient.h:179
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DeleteImportedKeyMaterialOutcome
Definition: KMSClient.h:128
std::future< CreateKeyOutcome > CreateKeyOutcomeCallable
Definition: KMSClient.h:158
std::function< void(const KMSClient *, const Model::GenerateDataKeyRequest &, const Model::GenerateDataKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateDataKeyResponseReceivedHandler
Definition: KMSClient.h:204
std::future< GenerateRandomOutcome > GenerateRandomOutcomeCallable
Definition: KMSClient.h:170
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > PutKeyPolicyOutcome
Definition: KMSClient.h:147
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DisableKeyRotationOutcome
Definition: KMSClient.h:131
std::function< void(const KMSClient *, const Model::GenerateRandomRequest &, const Model::GenerateRandomOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateRandomResponseReceivedHandler
Definition: KMSClient.h:206
Aws::Utils::Outcome< ListAliasesResult, Aws::Client::AWSError< KMSErrors > > ListAliasesOutcome
Definition: KMSClient.h:142
std::future< GetKeyPolicyOutcome > GetKeyPolicyOutcomeCallable
Definition: KMSClient.h:171
std::future< GenerateDataKeyOutcome > GenerateDataKeyOutcomeCallable
Definition: KMSClient.h:168
Aws::Utils::Outcome< DecryptResult, Aws::Client::AWSError< KMSErrors > > DecryptOutcome
Definition: KMSClient.h:126
Aws::Utils::Outcome< DescribeKeyResult, Aws::Client::AWSError< KMSErrors > > DescribeKeyOutcome
Definition: KMSClient.h:129
std::future< RetireGrantOutcome > RetireGrantOutcomeCallable
Definition: KMSClient.h:182
Aws::Utils::Outcome< ListGrantsResult, Aws::Client::AWSError< KMSErrors > > ListGrantsOutcome
Definition: KMSClient.h:143
Aws::Utils::Outcome< GenerateRandomResult, Aws::Client::AWSError< KMSErrors > > GenerateRandomOutcome
Definition: KMSClient.h:137
Aws::Utils::Outcome< ListKeyPoliciesResult, Aws::Client::AWSError< KMSErrors > > ListKeyPoliciesOutcome
Definition: KMSClient.h:144
std::function< void(const KMSClient *, const Model::DeleteAliasRequest &, const Model::DeleteAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAliasResponseReceivedHandler
Definition: KMSClient.h:196
Aws::Utils::Outcome< GetParametersForImportResult, Aws::Client::AWSError< KMSErrors > > GetParametersForImportOutcome
Definition: KMSClient.h:140
Aws::Utils::Outcome< CreateGrantResult, Aws::Client::AWSError< KMSErrors > > CreateGrantOutcome
Definition: KMSClient.h:124
std::future< DescribeKeyOutcome > DescribeKeyOutcomeCallable
Definition: KMSClient.h:162
std::function< void(const KMSClient *, const Model::DisableKeyRotationRequest &, const Model::DisableKeyRotationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisableKeyRotationResponseReceivedHandler
Definition: KMSClient.h:200
Aws::Utils::Outcome< GetKeyPolicyResult, Aws::Client::AWSError< KMSErrors > > GetKeyPolicyOutcome
Definition: KMSClient.h:138
Aws::Utils::Outcome< ListKeysResult, Aws::Client::AWSError< KMSErrors > > ListKeysOutcome
Definition: KMSClient.h:145
Aws::Utils::Outcome< EncryptResult, Aws::Client::AWSError< KMSErrors > > EncryptOutcome
Definition: KMSClient.h:134
std::future< EnableKeyRotationOutcome > EnableKeyRotationOutcomeCallable
Definition: KMSClient.h:166
Aws::Utils::Outcome< GenerateDataKeyResult, Aws::Client::AWSError< KMSErrors > > GenerateDataKeyOutcome
Definition: KMSClient.h:135
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Definition: AWSString.h:97
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > CreateAliasOutcome
Definition: KMSClient.h:123
std::function< void(const KMSClient *, const Model::EncryptRequest &, const Model::EncryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EncryptResponseReceivedHandler
Definition: KMSClient.h:203
Aws::Utils::Outcome< GenerateDataKeyWithoutPlaintextResult, Aws::Client::AWSError< KMSErrors > > GenerateDataKeyWithoutPlaintextOutcome
Definition: KMSClient.h:136
std::future< EncryptOutcome > EncryptOutcomeCallable
Definition: KMSClient.h:167
std::function< void(const KMSClient *, const Model::ListGrantsRequest &, const Model::ListGrantsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListGrantsResponseReceivedHandler
Definition: KMSClient.h:212
std::function< void(const KMSClient *, const Model::EnableKeyRotationRequest &, const Model::EnableKeyRotationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EnableKeyRotationResponseReceivedHandler
Definition: KMSClient.h:202
Aws::Utils::Outcome< CreateKeyResult, Aws::Client::AWSError< KMSErrors > > CreateKeyOutcome
Definition: KMSClient.h:125
std::future< ImportKeyMaterialOutcome > ImportKeyMaterialOutcomeCallable
Definition: KMSClient.h:174
Aws::Utils::Outcome< GetKeyRotationStatusResult, Aws::Client::AWSError< KMSErrors > > GetKeyRotationStatusOutcome
Definition: KMSClient.h:139
#define AWS_KMS_API
Definition: KMS_EXPORTS.h:37
Aws::Utils::Outcome< CancelKeyDeletionResult, Aws::Client::AWSError< KMSErrors > > CancelKeyDeletionOutcome
Definition: KMSClient.h:120
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > EnableKeyRotationOutcome
Definition: KMSClient.h:133
std::function< void(const KMSClient *, const Model::RetireGrantRequest &, const Model::RetireGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RetireGrantResponseReceivedHandler
Definition: KMSClient.h:218
std::future< GetKeyRotationStatusOutcome > GetKeyRotationStatusOutcomeCallable
Definition: KMSClient.h:172
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > RetireGrantOutcome
Definition: KMSClient.h:149
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > UpdateAliasOutcome
Definition: KMSClient.h:152
std::future< UpdateAliasOutcome > UpdateAliasOutcomeCallable
Definition: KMSClient.h:185
std::function< void(const KMSClient *, const Model::ScheduleKeyDeletionRequest &, const Model::ScheduleKeyDeletionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ScheduleKeyDeletionResponseReceivedHandler
Definition: KMSClient.h:220
Aws::Utils::Outcome< ReEncryptResult, Aws::Client::AWSError< KMSErrors > > ReEncryptOutcome
Definition: KMSClient.h:148
JSON (JavaScript Object Notation).
std::function< void(const KMSClient *, const Model::GetParametersForImportRequest &, const Model::GetParametersForImportOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetParametersForImportResponseReceivedHandler
Definition: KMSClient.h:209
std::function< void(const KMSClient *, const Model::RevokeGrantRequest &, const Model::RevokeGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RevokeGrantResponseReceivedHandler
Definition: KMSClient.h:219
std::future< ReEncryptOutcome > ReEncryptOutcomeCallable
Definition: KMSClient.h:181