AWS SDK for C++  0.12.9
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>
41 #include <aws/core/NoResult.h>
44 #include <future>
45 #include <functional>
46 
47 namespace Aws
48 {
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 
65 namespace Json
66 {
67  class JsonValue;
68 } // namespace Json
69 } // namespace Utils
70 
71 namespace Auth
72 {
73  class AWSCredentials;
74  class AWSCredentialsProvider;
75 } // namespace Auth
76 
77 namespace Client
78 {
79  class RetryStrategy;
80 } // namespace Client
81 
82 namespace KMS
83 {
84 
85 namespace Model
86 {
88  class CreateAliasRequest;
89  class CreateGrantRequest;
90  class CreateKeyRequest;
91  class DecryptRequest;
92  class DeleteAliasRequest;
93  class DescribeKeyRequest;
94  class DisableKeyRequest;
96  class EnableKeyRequest;
98  class EncryptRequest;
101  class GenerateRandomRequest;
102  class GetKeyPolicyRequest;
104  class ListAliasesRequest;
105  class ListGrantsRequest;
107  class ListKeysRequest;
109  class PutKeyPolicyRequest;
110  class ReEncryptRequest;
111  class RetireGrantRequest;
112  class RevokeGrantRequest;
114  class UpdateAliasRequest;
116 
146 
147  typedef std::future<CancelKeyDeletionOutcome> CancelKeyDeletionOutcomeCallable;
148  typedef std::future<CreateAliasOutcome> CreateAliasOutcomeCallable;
149  typedef std::future<CreateGrantOutcome> CreateGrantOutcomeCallable;
150  typedef std::future<CreateKeyOutcome> CreateKeyOutcomeCallable;
151  typedef std::future<DecryptOutcome> DecryptOutcomeCallable;
152  typedef std::future<DeleteAliasOutcome> DeleteAliasOutcomeCallable;
153  typedef std::future<DescribeKeyOutcome> DescribeKeyOutcomeCallable;
154  typedef std::future<DisableKeyOutcome> DisableKeyOutcomeCallable;
155  typedef std::future<DisableKeyRotationOutcome> DisableKeyRotationOutcomeCallable;
156  typedef std::future<EnableKeyOutcome> EnableKeyOutcomeCallable;
157  typedef std::future<EnableKeyRotationOutcome> EnableKeyRotationOutcomeCallable;
158  typedef std::future<EncryptOutcome> EncryptOutcomeCallable;
159  typedef std::future<GenerateDataKeyOutcome> GenerateDataKeyOutcomeCallable;
160  typedef std::future<GenerateDataKeyWithoutPlaintextOutcome> GenerateDataKeyWithoutPlaintextOutcomeCallable;
161  typedef std::future<GenerateRandomOutcome> GenerateRandomOutcomeCallable;
162  typedef std::future<GetKeyPolicyOutcome> GetKeyPolicyOutcomeCallable;
163  typedef std::future<GetKeyRotationStatusOutcome> GetKeyRotationStatusOutcomeCallable;
164  typedef std::future<ListAliasesOutcome> ListAliasesOutcomeCallable;
165  typedef std::future<ListGrantsOutcome> ListGrantsOutcomeCallable;
166  typedef std::future<ListKeyPoliciesOutcome> ListKeyPoliciesOutcomeCallable;
167  typedef std::future<ListKeysOutcome> ListKeysOutcomeCallable;
168  typedef std::future<ListRetirableGrantsOutcome> ListRetirableGrantsOutcomeCallable;
169  typedef std::future<PutKeyPolicyOutcome> PutKeyPolicyOutcomeCallable;
170  typedef std::future<ReEncryptOutcome> ReEncryptOutcomeCallable;
171  typedef std::future<RetireGrantOutcome> RetireGrantOutcomeCallable;
172  typedef std::future<RevokeGrantOutcome> RevokeGrantOutcomeCallable;
173  typedef std::future<ScheduleKeyDeletionOutcome> ScheduleKeyDeletionOutcomeCallable;
174  typedef std::future<UpdateAliasOutcome> UpdateAliasOutcomeCallable;
175  typedef std::future<UpdateKeyDescriptionOutcome> UpdateKeyDescriptionOutcomeCallable;
176 } // namespace Model
177 
178  class KMSClient;
179 
180  typedef std::function<void(const KMSClient*, const Model::CancelKeyDeletionRequest&, const Model::CancelKeyDeletionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CancelKeyDeletionResponseReceivedHandler;
181  typedef std::function<void(const KMSClient*, const Model::CreateAliasRequest&, const Model::CreateAliasOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateAliasResponseReceivedHandler;
182  typedef std::function<void(const KMSClient*, const Model::CreateGrantRequest&, const Model::CreateGrantOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateGrantResponseReceivedHandler;
183  typedef std::function<void(const KMSClient*, const Model::CreateKeyRequest&, const Model::CreateKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > CreateKeyResponseReceivedHandler;
184  typedef std::function<void(const KMSClient*, const Model::DecryptRequest&, const Model::DecryptOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DecryptResponseReceivedHandler;
185  typedef std::function<void(const KMSClient*, const Model::DeleteAliasRequest&, const Model::DeleteAliasOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DeleteAliasResponseReceivedHandler;
186  typedef std::function<void(const KMSClient*, const Model::DescribeKeyRequest&, const Model::DescribeKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DescribeKeyResponseReceivedHandler;
187  typedef std::function<void(const KMSClient*, const Model::DisableKeyRequest&, const Model::DisableKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DisableKeyResponseReceivedHandler;
188  typedef std::function<void(const KMSClient*, const Model::DisableKeyRotationRequest&, const Model::DisableKeyRotationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > DisableKeyRotationResponseReceivedHandler;
189  typedef std::function<void(const KMSClient*, const Model::EnableKeyRequest&, const Model::EnableKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EnableKeyResponseReceivedHandler;
190  typedef std::function<void(const KMSClient*, const Model::EnableKeyRotationRequest&, const Model::EnableKeyRotationOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EnableKeyRotationResponseReceivedHandler;
191  typedef std::function<void(const KMSClient*, const Model::EncryptRequest&, const Model::EncryptOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > EncryptResponseReceivedHandler;
192  typedef std::function<void(const KMSClient*, const Model::GenerateDataKeyRequest&, const Model::GenerateDataKeyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GenerateDataKeyResponseReceivedHandler;
193  typedef std::function<void(const KMSClient*, const Model::GenerateDataKeyWithoutPlaintextRequest&, const Model::GenerateDataKeyWithoutPlaintextOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GenerateDataKeyWithoutPlaintextResponseReceivedHandler;
194  typedef std::function<void(const KMSClient*, const Model::GenerateRandomRequest&, const Model::GenerateRandomOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GenerateRandomResponseReceivedHandler;
195  typedef std::function<void(const KMSClient*, const Model::GetKeyPolicyRequest&, const Model::GetKeyPolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetKeyPolicyResponseReceivedHandler;
196  typedef std::function<void(const KMSClient*, const Model::GetKeyRotationStatusRequest&, const Model::GetKeyRotationStatusOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > GetKeyRotationStatusResponseReceivedHandler;
197  typedef std::function<void(const KMSClient*, const Model::ListAliasesRequest&, const Model::ListAliasesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListAliasesResponseReceivedHandler;
198  typedef std::function<void(const KMSClient*, const Model::ListGrantsRequest&, const Model::ListGrantsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListGrantsResponseReceivedHandler;
199  typedef std::function<void(const KMSClient*, const Model::ListKeyPoliciesRequest&, const Model::ListKeyPoliciesOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListKeyPoliciesResponseReceivedHandler;
200  typedef std::function<void(const KMSClient*, const Model::ListKeysRequest&, const Model::ListKeysOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListKeysResponseReceivedHandler;
201  typedef std::function<void(const KMSClient*, const Model::ListRetirableGrantsRequest&, const Model::ListRetirableGrantsOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ListRetirableGrantsResponseReceivedHandler;
202  typedef std::function<void(const KMSClient*, const Model::PutKeyPolicyRequest&, const Model::PutKeyPolicyOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > PutKeyPolicyResponseReceivedHandler;
203  typedef std::function<void(const KMSClient*, const Model::ReEncryptRequest&, const Model::ReEncryptOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ReEncryptResponseReceivedHandler;
204  typedef std::function<void(const KMSClient*, const Model::RetireGrantRequest&, const Model::RetireGrantOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RetireGrantResponseReceivedHandler;
205  typedef std::function<void(const KMSClient*, const Model::RevokeGrantRequest&, const Model::RevokeGrantOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > RevokeGrantResponseReceivedHandler;
206  typedef std::function<void(const KMSClient*, const Model::ScheduleKeyDeletionRequest&, const Model::ScheduleKeyDeletionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > ScheduleKeyDeletionResponseReceivedHandler;
207  typedef std::function<void(const KMSClient*, const Model::UpdateAliasRequest&, const Model::UpdateAliasOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateAliasResponseReceivedHandler;
208  typedef std::function<void(const KMSClient*, const Model::UpdateKeyDescriptionRequest&, const Model::UpdateKeyDescriptionOutcome&, const std::shared_ptr<const Aws::Client::AsyncCallerContext>&) > UpdateKeyDescriptionResponseReceivedHandler;
209 
264  {
265  public:
267 
272  KMSClient(const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
273 
278  KMSClient(const Auth::AWSCredentials& credentials, const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
279 
284  KMSClient(const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
285  const Client::ClientConfiguration& clientConfiguration = Client::ClientConfiguration());
286 
287  virtual ~KMSClient();
288 
298  virtual Model::CancelKeyDeletionOutcome CancelKeyDeletion(const Model::CancelKeyDeletionRequest& request) const;
299 
311  virtual Model::CancelKeyDeletionOutcomeCallable CancelKeyDeletionCallable(const Model::CancelKeyDeletionRequest& request) const;
312 
324  virtual void CancelKeyDeletionAsync(const Model::CancelKeyDeletionRequest& request, const CancelKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
325 
337  virtual Model::CreateAliasOutcome CreateAlias(const Model::CreateAliasRequest& request) const;
338 
352  virtual Model::CreateAliasOutcomeCallable CreateAliasCallable(const Model::CreateAliasRequest& request) const;
353 
367  virtual void CreateAliasAsync(const Model::CreateAliasRequest& request, const CreateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
368 
376  virtual Model::CreateGrantOutcome CreateGrant(const Model::CreateGrantRequest& request) const;
377 
387  virtual Model::CreateGrantOutcomeCallable CreateGrantCallable(const Model::CreateGrantRequest& request) const;
388 
398  virtual void CreateGrantAsync(const Model::CreateGrantRequest& request, const CreateGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
399 
411  virtual Model::CreateKeyOutcome CreateKey(const Model::CreateKeyRequest& request) const;
412 
426  virtual Model::CreateKeyOutcomeCallable CreateKeyCallable(const Model::CreateKeyRequest& request) const;
427 
441  virtual void CreateKeyAsync(const Model::CreateKeyRequest& request, const CreateKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
442 
457  virtual Model::DecryptOutcome Decrypt(const Model::DecryptRequest& request) const;
458 
475  virtual Model::DecryptOutcomeCallable DecryptCallable(const Model::DecryptRequest& request) const;
476 
493  virtual void DecryptAsync(const Model::DecryptRequest& request, const DecryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
494 
499  virtual Model::DeleteAliasOutcome DeleteAlias(const Model::DeleteAliasRequest& request) const;
500 
507  virtual Model::DeleteAliasOutcomeCallable DeleteAliasCallable(const Model::DeleteAliasRequest& request) const;
508 
515  virtual void DeleteAliasAsync(const Model::DeleteAliasRequest& request, const DeleteAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
516 
520  virtual Model::DescribeKeyOutcome DescribeKey(const Model::DescribeKeyRequest& request) const;
521 
527  virtual Model::DescribeKeyOutcomeCallable DescribeKeyCallable(const Model::DescribeKeyRequest& request) const;
528 
534  virtual void DescribeKeyAsync(const Model::DescribeKeyRequest& request, const DescribeKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
535 
544  virtual Model::DisableKeyOutcome DisableKey(const Model::DisableKeyRequest& request) const;
545 
556  virtual Model::DisableKeyOutcomeCallable DisableKeyCallable(const Model::DisableKeyRequest& request) const;
557 
568  virtual void DisableKeyAsync(const Model::DisableKeyRequest& request, const DisableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
569 
573  virtual Model::DisableKeyRotationOutcome DisableKeyRotation(const Model::DisableKeyRotationRequest& request) const;
574 
580  virtual Model::DisableKeyRotationOutcomeCallable DisableKeyRotationCallable(const Model::DisableKeyRotationRequest& request) const;
581 
587  virtual void DisableKeyRotationAsync(const Model::DisableKeyRotationRequest& request, const DisableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
588 
592  virtual Model::EnableKeyOutcome EnableKey(const Model::EnableKeyRequest& request) const;
593 
599  virtual Model::EnableKeyOutcomeCallable EnableKeyCallable(const Model::EnableKeyRequest& request) const;
600 
606  virtual void EnableKeyAsync(const Model::EnableKeyRequest& request, const EnableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
607 
611  virtual Model::EnableKeyRotationOutcome EnableKeyRotation(const Model::EnableKeyRotationRequest& request) const;
612 
618  virtual Model::EnableKeyRotationOutcomeCallable EnableKeyRotationCallable(const Model::EnableKeyRotationRequest& request) const;
619 
625  virtual void EnableKeyRotationAsync(const Model::EnableKeyRotationRequest& request, const EnableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
626 
646  virtual Model::EncryptOutcome Encrypt(const Model::EncryptRequest& request) const;
647 
669  virtual Model::EncryptOutcomeCallable EncryptCallable(const Model::EncryptRequest& request) const;
670 
692  virtual void EncryptAsync(const Model::EncryptRequest& request, const EncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
693 
725  virtual Model::GenerateDataKeyOutcome GenerateDataKey(const Model::GenerateDataKeyRequest& request) const;
726 
760  virtual Model::GenerateDataKeyOutcomeCallable GenerateDataKeyCallable(const Model::GenerateDataKeyRequest& request) const;
761 
795  virtual void GenerateDataKeyAsync(const Model::GenerateDataKeyRequest& request, const GenerateDataKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
796 
804  virtual Model::GenerateDataKeyWithoutPlaintextOutcome GenerateDataKeyWithoutPlaintext(const Model::GenerateDataKeyWithoutPlaintextRequest& request) const;
805 
815  virtual Model::GenerateDataKeyWithoutPlaintextOutcomeCallable GenerateDataKeyWithoutPlaintextCallable(const Model::GenerateDataKeyWithoutPlaintextRequest& request) const;
816 
826  virtual void GenerateDataKeyWithoutPlaintextAsync(const Model::GenerateDataKeyWithoutPlaintextRequest& request, const GenerateDataKeyWithoutPlaintextResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
827 
831  virtual Model::GenerateRandomOutcome GenerateRandom(const Model::GenerateRandomRequest& request) const;
832 
838  virtual Model::GenerateRandomOutcomeCallable GenerateRandomCallable(const Model::GenerateRandomRequest& request) const;
839 
845  virtual void GenerateRandomAsync(const Model::GenerateRandomRequest& request, const GenerateRandomResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
846 
850  virtual Model::GetKeyPolicyOutcome GetKeyPolicy(const Model::GetKeyPolicyRequest& request) const;
851 
857  virtual Model::GetKeyPolicyOutcomeCallable GetKeyPolicyCallable(const Model::GetKeyPolicyRequest& request) const;
858 
864  virtual void GetKeyPolicyAsync(const Model::GetKeyPolicyRequest& request, const GetKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
865 
870  virtual Model::GetKeyRotationStatusOutcome GetKeyRotationStatus(const Model::GetKeyRotationStatusRequest& request) const;
871 
878  virtual Model::GetKeyRotationStatusOutcomeCallable GetKeyRotationStatusCallable(const Model::GetKeyRotationStatusRequest& request) const;
879 
886  virtual void GetKeyRotationStatusAsync(const Model::GetKeyRotationStatusRequest& request, const GetKeyRotationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
887 
891  virtual Model::ListAliasesOutcome ListAliases(const Model::ListAliasesRequest& request) const;
892 
898  virtual Model::ListAliasesOutcomeCallable ListAliasesCallable(const Model::ListAliasesRequest& request) const;
899 
905  virtual void ListAliasesAsync(const Model::ListAliasesRequest& request, const ListAliasesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
906 
910  virtual Model::ListGrantsOutcome ListGrants(const Model::ListGrantsRequest& request) const;
911 
917  virtual Model::ListGrantsOutcomeCallable ListGrantsCallable(const Model::ListGrantsRequest& request) const;
918 
924  virtual void ListGrantsAsync(const Model::ListGrantsRequest& request, const ListGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
925 
929  virtual Model::ListKeyPoliciesOutcome ListKeyPolicies(const Model::ListKeyPoliciesRequest& request) const;
930 
936  virtual Model::ListKeyPoliciesOutcomeCallable ListKeyPoliciesCallable(const Model::ListKeyPoliciesRequest& request) const;
937 
943  virtual void ListKeyPoliciesAsync(const Model::ListKeyPoliciesRequest& request, const ListKeyPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
944 
948  virtual Model::ListKeysOutcome ListKeys(const Model::ListKeysRequest& request) const;
949 
955  virtual Model::ListKeysOutcomeCallable ListKeysCallable(const Model::ListKeysRequest& request) const;
956 
962  virtual void ListKeysAsync(const Model::ListKeysRequest& request, const ListKeysResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
963 
970  virtual Model::ListRetirableGrantsOutcome ListRetirableGrants(const Model::ListRetirableGrantsRequest& request) const;
971 
980  virtual Model::ListRetirableGrantsOutcomeCallable ListRetirableGrantsCallable(const Model::ListRetirableGrantsRequest& request) const;
981 
990  virtual void ListRetirableGrantsAsync(const Model::ListRetirableGrantsRequest& request, const ListRetirableGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
991 
998  virtual Model::PutKeyPolicyOutcome PutKeyPolicy(const Model::PutKeyPolicyRequest& request) const;
999 
1008  virtual Model::PutKeyPolicyOutcomeCallable PutKeyPolicyCallable(const Model::PutKeyPolicyRequest& request) const;
1009 
1018  virtual void PutKeyPolicyAsync(const Model::PutKeyPolicyRequest& request, const PutKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1019 
1033  virtual Model::ReEncryptOutcome ReEncrypt(const Model::ReEncryptRequest& request) const;
1034 
1050  virtual Model::ReEncryptOutcomeCallable ReEncryptCallable(const Model::ReEncryptRequest& request) const;
1051 
1067  virtual void ReEncryptAsync(const Model::ReEncryptRequest& request, const ReEncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1068 
1082  virtual Model::RetireGrantOutcome RetireGrant(const Model::RetireGrantRequest& request) const;
1083 
1099  virtual Model::RetireGrantOutcomeCallable RetireGrantCallable(const Model::RetireGrantRequest& request) const;
1100 
1116  virtual void RetireGrantAsync(const Model::RetireGrantRequest& request, const RetireGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1117 
1122  virtual Model::RevokeGrantOutcome RevokeGrant(const Model::RevokeGrantRequest& request) const;
1123 
1130  virtual Model::RevokeGrantOutcomeCallable RevokeGrantCallable(const Model::RevokeGrantRequest& request) const;
1131 
1138  virtual void RevokeGrantAsync(const Model::RevokeGrantRequest& request, const RevokeGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1139 
1157  virtual Model::ScheduleKeyDeletionOutcome ScheduleKeyDeletion(const Model::ScheduleKeyDeletionRequest& request) const;
1158 
1178  virtual Model::ScheduleKeyDeletionOutcomeCallable ScheduleKeyDeletionCallable(const Model::ScheduleKeyDeletionRequest& request) const;
1179 
1199  virtual void ScheduleKeyDeletionAsync(const Model::ScheduleKeyDeletionRequest& request, const ScheduleKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1200 
1211  virtual Model::UpdateAliasOutcome UpdateAlias(const Model::UpdateAliasRequest& request) const;
1212 
1225  virtual Model::UpdateAliasOutcomeCallable UpdateAliasCallable(const Model::UpdateAliasRequest& request) const;
1226 
1239  virtual void UpdateAliasAsync(const Model::UpdateAliasRequest& request, const UpdateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1240 
1244  virtual Model::UpdateKeyDescriptionOutcome UpdateKeyDescription(const Model::UpdateKeyDescriptionRequest& request) const;
1245 
1251  virtual Model::UpdateKeyDescriptionOutcomeCallable UpdateKeyDescriptionCallable(const Model::UpdateKeyDescriptionRequest& request) const;
1252 
1258  virtual void UpdateKeyDescriptionAsync(const Model::UpdateKeyDescriptionRequest& request, const UpdateKeyDescriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context = nullptr) const;
1259 
1260 
1261  private:
1262  void init(const Client::ClientConfiguration& clientConfiguration);
1263 
1265  void CancelKeyDeletionAsyncHelper(const Model::CancelKeyDeletionRequest& request, const CancelKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1266  void CreateAliasAsyncHelper(const Model::CreateAliasRequest& request, const CreateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1267  void CreateGrantAsyncHelper(const Model::CreateGrantRequest& request, const CreateGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1268  void CreateKeyAsyncHelper(const Model::CreateKeyRequest& request, const CreateKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1269  void DecryptAsyncHelper(const Model::DecryptRequest& request, const DecryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1270  void DeleteAliasAsyncHelper(const Model::DeleteAliasRequest& request, const DeleteAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1271  void DescribeKeyAsyncHelper(const Model::DescribeKeyRequest& request, const DescribeKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1272  void DisableKeyAsyncHelper(const Model::DisableKeyRequest& request, const DisableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1273  void DisableKeyRotationAsyncHelper(const Model::DisableKeyRotationRequest& request, const DisableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1274  void EnableKeyAsyncHelper(const Model::EnableKeyRequest& request, const EnableKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1275  void EnableKeyRotationAsyncHelper(const Model::EnableKeyRotationRequest& request, const EnableKeyRotationResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1276  void EncryptAsyncHelper(const Model::EncryptRequest& request, const EncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1277  void GenerateDataKeyAsyncHelper(const Model::GenerateDataKeyRequest& request, const GenerateDataKeyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1278  void GenerateDataKeyWithoutPlaintextAsyncHelper(const Model::GenerateDataKeyWithoutPlaintextRequest& request, const GenerateDataKeyWithoutPlaintextResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1279  void GenerateRandomAsyncHelper(const Model::GenerateRandomRequest& request, const GenerateRandomResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1280  void GetKeyPolicyAsyncHelper(const Model::GetKeyPolicyRequest& request, const GetKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1281  void GetKeyRotationStatusAsyncHelper(const Model::GetKeyRotationStatusRequest& request, const GetKeyRotationStatusResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1282  void ListAliasesAsyncHelper(const Model::ListAliasesRequest& request, const ListAliasesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1283  void ListGrantsAsyncHelper(const Model::ListGrantsRequest& request, const ListGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1284  void ListKeyPoliciesAsyncHelper(const Model::ListKeyPoliciesRequest& request, const ListKeyPoliciesResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1285  void ListKeysAsyncHelper(const Model::ListKeysRequest& request, const ListKeysResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1286  void ListRetirableGrantsAsyncHelper(const Model::ListRetirableGrantsRequest& request, const ListRetirableGrantsResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1287  void PutKeyPolicyAsyncHelper(const Model::PutKeyPolicyRequest& request, const PutKeyPolicyResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1288  void ReEncryptAsyncHelper(const Model::ReEncryptRequest& request, const ReEncryptResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1289  void RetireGrantAsyncHelper(const Model::RetireGrantRequest& request, const RetireGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1290  void RevokeGrantAsyncHelper(const Model::RevokeGrantRequest& request, const RevokeGrantResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1291  void ScheduleKeyDeletionAsyncHelper(const Model::ScheduleKeyDeletionRequest& request, const ScheduleKeyDeletionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1292  void UpdateAliasAsyncHelper(const Model::UpdateAliasRequest& request, const UpdateAliasResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1293  void UpdateKeyDescriptionAsyncHelper(const Model::UpdateKeyDescriptionRequest& request, const UpdateKeyDescriptionResponseReceivedHandler& handler, const std::shared_ptr<const Aws::Client::AsyncCallerContext>& context) const;
1294 
1295  Aws::String m_uri;
1296  std::shared_ptr<Utils::Threading::Executor> m_executor;
1297  };
1298 
1299 } // namespace KMS
1300 } // namespace Aws
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DeleteAliasOutcome
Definition: KMSClient.h:122
std::function< void(const KMSClient *, const Model::DecryptRequest &, const Model::DecryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DecryptResponseReceivedHandler
Definition: KMSClient.h:184
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > EnableKeyOutcome
Definition: KMSClient.h:126
std::future< CreateAliasOutcome > CreateAliasOutcomeCallable
Definition: KMSClient.h:148
std::function< void(const KMSClient *, const Model::ListKeyPoliciesRequest &, const Model::ListKeyPoliciesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListKeyPoliciesResponseReceivedHandler
Definition: KMSClient.h:199
std::function< void(const KMSClient *, const Model::CancelKeyDeletionRequest &, const Model::CancelKeyDeletionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelKeyDeletionResponseReceivedHandler
Definition: KMSClient.h:178
Aws::Utils::Outcome< ScheduleKeyDeletionResult, Aws::Client::AWSError< KMSErrors > > ScheduleKeyDeletionOutcome
Definition: KMSClient.h:143
std::function< void(const KMSClient *, const Model::GetKeyPolicyRequest &, const Model::GetKeyPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetKeyPolicyResponseReceivedHandler
Definition: KMSClient.h:195
std::function< void(const KMSClient *, const Model::UpdateAliasRequest &, const Model::UpdateAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateAliasResponseReceivedHandler
Definition: KMSClient.h:207
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > RevokeGrantOutcome
Definition: KMSClient.h:142
std::future< DisableKeyOutcome > DisableKeyOutcomeCallable
Definition: KMSClient.h:154
std::future< DeleteAliasOutcome > DeleteAliasOutcomeCallable
Definition: KMSClient.h:152
std::function< void(const KMSClient *, const Model::CreateAliasRequest &, const Model::CreateAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateAliasResponseReceivedHandler
Definition: KMSClient.h:181
std::function< void(const KMSClient *, const Model::CreateKeyRequest &, const Model::CreateKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateKeyResponseReceivedHandler
Definition: KMSClient.h:183
std::function< void(const KMSClient *, const Model::GenerateDataKeyWithoutPlaintextRequest &, const Model::GenerateDataKeyWithoutPlaintextOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateDataKeyWithoutPlaintextResponseReceivedHandler
Definition: KMSClient.h:193
std::function< void(const KMSClient *, const Model::ListAliasesRequest &, const Model::ListAliasesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAliasesResponseReceivedHandler
Definition: KMSClient.h:197
std::future< PutKeyPolicyOutcome > PutKeyPolicyOutcomeCallable
Definition: KMSClient.h:169
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DisableKeyOutcome
Definition: KMSClient.h:124
std::function< void(const KMSClient *, const Model::ListRetirableGrantsRequest &, const Model::ListRetirableGrantsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRetirableGrantsResponseReceivedHandler
Definition: KMSClient.h:201
std::function< void(const KMSClient *, const Model::EnableKeyRequest &, const Model::EnableKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EnableKeyResponseReceivedHandler
Definition: KMSClient.h:189
std::function< void(const KMSClient *, const Model::DisableKeyRequest &, const Model::DisableKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisableKeyResponseReceivedHandler
Definition: KMSClient.h:187
std::future< GenerateDataKeyWithoutPlaintextOutcome > GenerateDataKeyWithoutPlaintextOutcomeCallable
Definition: KMSClient.h:160
std::function< void(const KMSClient *, const Model::ListKeysRequest &, const Model::ListKeysOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListKeysResponseReceivedHandler
Definition: KMSClient.h:200
std::future< CreateGrantOutcome > CreateGrantOutcomeCallable
Definition: KMSClient.h:149
std::function< void(const KMSClient *, const Model::UpdateKeyDescriptionRequest &, const Model::UpdateKeyDescriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateKeyDescriptionResponseReceivedHandler
Definition: KMSClient.h:208
std::function< void(const KMSClient *, const Model::CreateGrantRequest &, const Model::CreateGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateGrantResponseReceivedHandler
Definition: KMSClient.h:182
std::future< UpdateKeyDescriptionOutcome > UpdateKeyDescriptionOutcomeCallable
Definition: KMSClient.h:175
std::future< DecryptOutcome > DecryptOutcomeCallable
Definition: KMSClient.h:151
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > UpdateKeyDescriptionOutcome
Definition: KMSClient.h:145
std::future< ListKeysOutcome > ListKeysOutcomeCallable
Definition: KMSClient.h:167
std::future< ListKeyPoliciesOutcome > ListKeyPoliciesOutcomeCallable
Definition: KMSClient.h:166
std::future< RevokeGrantOutcome > RevokeGrantOutcomeCallable
Definition: KMSClient.h:172
Aws::Utils::Outcome< ListRetirableGrantsResult, Aws::Client::AWSError< KMSErrors > > ListRetirableGrantsOutcome
Definition: KMSClient.h:138
std::future< ListGrantsOutcome > ListGrantsOutcomeCallable
Definition: KMSClient.h:165
std::future< EnableKeyOutcome > EnableKeyOutcomeCallable
Definition: KMSClient.h:156
std::function< void(const KMSClient *, const Model::ReEncryptRequest &, const Model::ReEncryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ReEncryptResponseReceivedHandler
Definition: KMSClient.h:203
std::future< CancelKeyDeletionOutcome > CancelKeyDeletionOutcomeCallable
Definition: KMSClient.h:147
std::future< ScheduleKeyDeletionOutcome > ScheduleKeyDeletionOutcomeCallable
Definition: KMSClient.h:173
std::function< void(const KMSClient *, const Model::PutKeyPolicyRequest &, const Model::PutKeyPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutKeyPolicyResponseReceivedHandler
Definition: KMSClient.h:202
std::future< ListAliasesOutcome > ListAliasesOutcomeCallable
Definition: KMSClient.h:164
std::future< DisableKeyRotationOutcome > DisableKeyRotationOutcomeCallable
Definition: KMSClient.h:155
Aws::Client::AWSJsonClient BASECLASS
Definition: KMSClient.h:266
std::function< void(const KMSClient *, const Model::DescribeKeyRequest &, const Model::DescribeKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeKeyResponseReceivedHandler
Definition: KMSClient.h:186
std::function< void(const KMSClient *, const Model::GetKeyRotationStatusRequest &, const Model::GetKeyRotationStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetKeyRotationStatusResponseReceivedHandler
Definition: KMSClient.h:196
std::future< ListRetirableGrantsOutcome > ListRetirableGrantsOutcomeCallable
Definition: KMSClient.h:168
std::future< CreateKeyOutcome > CreateKeyOutcomeCallable
Definition: KMSClient.h:150
std::function< void(const KMSClient *, const Model::GenerateDataKeyRequest &, const Model::GenerateDataKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateDataKeyResponseReceivedHandler
Definition: KMSClient.h:192
std::future< GenerateRandomOutcome > GenerateRandomOutcomeCallable
Definition: KMSClient.h:161
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > PutKeyPolicyOutcome
Definition: KMSClient.h:139
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DisableKeyRotationOutcome
Definition: KMSClient.h:125
std::function< void(const KMSClient *, const Model::GenerateRandomRequest &, const Model::GenerateRandomOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateRandomResponseReceivedHandler
Definition: KMSClient.h:194
Aws::Utils::Outcome< ListAliasesResult, Aws::Client::AWSError< KMSErrors > > ListAliasesOutcome
Definition: KMSClient.h:134
std::future< GetKeyPolicyOutcome > GetKeyPolicyOutcomeCallable
Definition: KMSClient.h:162
std::future< GenerateDataKeyOutcome > GenerateDataKeyOutcomeCallable
Definition: KMSClient.h:159
Aws::Utils::Outcome< DecryptResult, Aws::Client::AWSError< KMSErrors > > DecryptOutcome
Definition: KMSClient.h:121
Aws::Utils::Outcome< DescribeKeyResult, Aws::Client::AWSError< KMSErrors > > DescribeKeyOutcome
Definition: KMSClient.h:123
std::future< RetireGrantOutcome > RetireGrantOutcomeCallable
Definition: KMSClient.h:171
Aws::Utils::Outcome< ListGrantsResult, Aws::Client::AWSError< KMSErrors > > ListGrantsOutcome
Definition: KMSClient.h:135
Aws::Utils::Outcome< GenerateRandomResult, Aws::Client::AWSError< KMSErrors > > GenerateRandomOutcome
Definition: KMSClient.h:131
Aws::Utils::Outcome< ListKeyPoliciesResult, Aws::Client::AWSError< KMSErrors > > ListKeyPoliciesOutcome
Definition: KMSClient.h:136
std::function< void(const KMSClient *, const Model::DeleteAliasRequest &, const Model::DeleteAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAliasResponseReceivedHandler
Definition: KMSClient.h:185
Aws::Utils::Outcome< CreateGrantResult, Aws::Client::AWSError< KMSErrors > > CreateGrantOutcome
Definition: KMSClient.h:119
std::future< DescribeKeyOutcome > DescribeKeyOutcomeCallable
Definition: KMSClient.h:153
std::function< void(const KMSClient *, const Model::DisableKeyRotationRequest &, const Model::DisableKeyRotationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisableKeyRotationResponseReceivedHandler
Definition: KMSClient.h:188
Aws::Utils::Outcome< GetKeyPolicyResult, Aws::Client::AWSError< KMSErrors > > GetKeyPolicyOutcome
Definition: KMSClient.h:132
Aws::Utils::Outcome< ListKeysResult, Aws::Client::AWSError< KMSErrors > > ListKeysOutcome
Definition: KMSClient.h:137
Aws::Utils::Outcome< EncryptResult, Aws::Client::AWSError< KMSErrors > > EncryptOutcome
Definition: KMSClient.h:128
std::future< EnableKeyRotationOutcome > EnableKeyRotationOutcomeCallable
Definition: KMSClient.h:157
Aws::Utils::Outcome< GenerateDataKeyResult, Aws::Client::AWSError< KMSErrors > > GenerateDataKeyOutcome
Definition: KMSClient.h:129
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:118
std::function< void(const KMSClient *, const Model::EncryptRequest &, const Model::EncryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EncryptResponseReceivedHandler
Definition: KMSClient.h:191
Aws::Utils::Outcome< GenerateDataKeyWithoutPlaintextResult, Aws::Client::AWSError< KMSErrors > > GenerateDataKeyWithoutPlaintextOutcome
Definition: KMSClient.h:130
std::future< EncryptOutcome > EncryptOutcomeCallable
Definition: KMSClient.h:158
std::function< void(const KMSClient *, const Model::ListGrantsRequest &, const Model::ListGrantsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListGrantsResponseReceivedHandler
Definition: KMSClient.h:198
std::function< void(const KMSClient *, const Model::EnableKeyRotationRequest &, const Model::EnableKeyRotationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EnableKeyRotationResponseReceivedHandler
Definition: KMSClient.h:190
Aws::Utils::Outcome< CreateKeyResult, Aws::Client::AWSError< KMSErrors > > CreateKeyOutcome
Definition: KMSClient.h:120
Aws::Utils::Outcome< GetKeyRotationStatusResult, Aws::Client::AWSError< KMSErrors > > GetKeyRotationStatusOutcome
Definition: KMSClient.h:133
#define AWS_KMS_API
Definition: KMS_EXPORTS.h:34
Aws::Utils::Outcome< CancelKeyDeletionResult, Aws::Client::AWSError< KMSErrors > > CancelKeyDeletionOutcome
Definition: KMSClient.h:115
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > EnableKeyRotationOutcome
Definition: KMSClient.h:127
std::function< void(const KMSClient *, const Model::RetireGrantRequest &, const Model::RetireGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RetireGrantResponseReceivedHandler
Definition: KMSClient.h:204
std::future< GetKeyRotationStatusOutcome > GetKeyRotationStatusOutcomeCallable
Definition: KMSClient.h:163
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > RetireGrantOutcome
Definition: KMSClient.h:141
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > UpdateAliasOutcome
Definition: KMSClient.h:144
std::future< UpdateAliasOutcome > UpdateAliasOutcomeCallable
Definition: KMSClient.h:174
std::function< void(const KMSClient *, const Model::ScheduleKeyDeletionRequest &, const Model::ScheduleKeyDeletionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ScheduleKeyDeletionResponseReceivedHandler
Definition: KMSClient.h:206
Aws::Utils::Outcome< ReEncryptResult, Aws::Client::AWSError< KMSErrors > > ReEncryptOutcome
Definition: KMSClient.h:140
JSON (JavaScript Object Notation).
std::function< void(const KMSClient *, const Model::RevokeGrantRequest &, const Model::RevokeGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RevokeGrantResponseReceivedHandler
Definition: KMSClient.h:205
std::future< ReEncryptOutcome > ReEncryptOutcomeCallable
Definition: KMSClient.h:170