55 class HttpClientFactory;
60 template<
typename R,
typename E>
class Outcome;
76 class AWSCredentialsProvider;
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;
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;
298 KMSClient(
const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
1487 std::shared_ptr<Utils::Threading::Executor> m_executor;
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DeleteAliasOutcome
std::function< void(const KMSClient *, const Model::DecryptRequest &, const Model::DecryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DecryptResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > EnableKeyOutcome
std::future< CreateAliasOutcome > CreateAliasOutcomeCallable
std::function< void(const KMSClient *, const Model::ListKeyPoliciesRequest &, const Model::ListKeyPoliciesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListKeyPoliciesResponseReceivedHandler
std::function< void(const KMSClient *, const Model::CancelKeyDeletionRequest &, const Model::CancelKeyDeletionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CancelKeyDeletionResponseReceivedHandler
Aws::Utils::Outcome< ScheduleKeyDeletionResult, Aws::Client::AWSError< KMSErrors > > ScheduleKeyDeletionOutcome
std::function< void(const KMSClient *, const Model::GetKeyPolicyRequest &, const Model::GetKeyPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetKeyPolicyResponseReceivedHandler
std::function< void(const KMSClient *, const Model::UpdateAliasRequest &, const Model::UpdateAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateAliasResponseReceivedHandler
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > RevokeGrantOutcome
std::future< DisableKeyOutcome > DisableKeyOutcomeCallable
std::future< DeleteAliasOutcome > DeleteAliasOutcomeCallable
std::function< void(const KMSClient *, const Model::CreateAliasRequest &, const Model::CreateAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateAliasResponseReceivedHandler
std::function< void(const KMSClient *, const Model::CreateKeyRequest &, const Model::CreateKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateKeyResponseReceivedHandler
std::function< void(const KMSClient *, const Model::GenerateDataKeyWithoutPlaintextRequest &, const Model::GenerateDataKeyWithoutPlaintextOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateDataKeyWithoutPlaintextResponseReceivedHandler
std::function< void(const KMSClient *, const Model::ListAliasesRequest &, const Model::ListAliasesOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListAliasesResponseReceivedHandler
std::future< PutKeyPolicyOutcome > PutKeyPolicyOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DisableKeyOutcome
std::function< void(const KMSClient *, const Model::ListRetirableGrantsRequest &, const Model::ListRetirableGrantsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListRetirableGrantsResponseReceivedHandler
std::function< void(const KMSClient *, const Model::EnableKeyRequest &, const Model::EnableKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EnableKeyResponseReceivedHandler
std::future< GetParametersForImportOutcome > GetParametersForImportOutcomeCallable
std::function< void(const KMSClient *, const Model::DisableKeyRequest &, const Model::DisableKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisableKeyResponseReceivedHandler
std::future< GenerateDataKeyWithoutPlaintextOutcome > GenerateDataKeyWithoutPlaintextOutcomeCallable
std::function< void(const KMSClient *, const Model::ListKeysRequest &, const Model::ListKeysOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListKeysResponseReceivedHandler
std::future< CreateGrantOutcome > CreateGrantOutcomeCallable
std::function< void(const KMSClient *, const Model::UpdateKeyDescriptionRequest &, const Model::UpdateKeyDescriptionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > UpdateKeyDescriptionResponseReceivedHandler
std::function< void(const KMSClient *, const Model::CreateGrantRequest &, const Model::CreateGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > CreateGrantResponseReceivedHandler
std::future< UpdateKeyDescriptionOutcome > UpdateKeyDescriptionOutcomeCallable
std::future< DecryptOutcome > DecryptOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > UpdateKeyDescriptionOutcome
std::function< void(const KMSClient *, const Model::DeleteImportedKeyMaterialRequest &, const Model::DeleteImportedKeyMaterialOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteImportedKeyMaterialResponseReceivedHandler
std::future< ListKeysOutcome > ListKeysOutcomeCallable
std::future< DeleteImportedKeyMaterialOutcome > DeleteImportedKeyMaterialOutcomeCallable
std::future< ListKeyPoliciesOutcome > ListKeyPoliciesOutcomeCallable
Aws::Utils::Outcome< ImportKeyMaterialResult, Aws::Client::AWSError< KMSErrors > > ImportKeyMaterialOutcome
std::future< RevokeGrantOutcome > RevokeGrantOutcomeCallable
Aws::Utils::Outcome< ListRetirableGrantsResult, Aws::Client::AWSError< KMSErrors > > ListRetirableGrantsOutcome
std::function< void(const KMSClient *, const Model::ImportKeyMaterialRequest &, const Model::ImportKeyMaterialOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ImportKeyMaterialResponseReceivedHandler
std::future< ListGrantsOutcome > ListGrantsOutcomeCallable
std::future< EnableKeyOutcome > EnableKeyOutcomeCallable
std::function< void(const KMSClient *, const Model::ReEncryptRequest &, const Model::ReEncryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ReEncryptResponseReceivedHandler
std::future< CancelKeyDeletionOutcome > CancelKeyDeletionOutcomeCallable
std::future< ScheduleKeyDeletionOutcome > ScheduleKeyDeletionOutcomeCallable
std::function< void(const KMSClient *, const Model::PutKeyPolicyRequest &, const Model::PutKeyPolicyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > PutKeyPolicyResponseReceivedHandler
std::future< ListAliasesOutcome > ListAliasesOutcomeCallable
std::future< DisableKeyRotationOutcome > DisableKeyRotationOutcomeCallable
Aws::Client::AWSJsonClient BASECLASS
std::function< void(const KMSClient *, const Model::DescribeKeyRequest &, const Model::DescribeKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DescribeKeyResponseReceivedHandler
std::function< void(const KMSClient *, const Model::GetKeyRotationStatusRequest &, const Model::GetKeyRotationStatusOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetKeyRotationStatusResponseReceivedHandler
std::future< ListRetirableGrantsOutcome > ListRetirableGrantsOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DeleteImportedKeyMaterialOutcome
std::future< CreateKeyOutcome > CreateKeyOutcomeCallable
std::function< void(const KMSClient *, const Model::GenerateDataKeyRequest &, const Model::GenerateDataKeyOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateDataKeyResponseReceivedHandler
std::future< GenerateRandomOutcome > GenerateRandomOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > PutKeyPolicyOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > DisableKeyRotationOutcome
std::function< void(const KMSClient *, const Model::GenerateRandomRequest &, const Model::GenerateRandomOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GenerateRandomResponseReceivedHandler
Aws::Utils::Outcome< ListAliasesResult, Aws::Client::AWSError< KMSErrors > > ListAliasesOutcome
std::future< GetKeyPolicyOutcome > GetKeyPolicyOutcomeCallable
std::future< GenerateDataKeyOutcome > GenerateDataKeyOutcomeCallable
Aws::Utils::Outcome< DecryptResult, Aws::Client::AWSError< KMSErrors > > DecryptOutcome
Aws::Utils::Outcome< DescribeKeyResult, Aws::Client::AWSError< KMSErrors > > DescribeKeyOutcome
std::future< RetireGrantOutcome > RetireGrantOutcomeCallable
Aws::Utils::Outcome< ListGrantsResult, Aws::Client::AWSError< KMSErrors > > ListGrantsOutcome
Aws::Utils::Outcome< GenerateRandomResult, Aws::Client::AWSError< KMSErrors > > GenerateRandomOutcome
Aws::Utils::Outcome< ListKeyPoliciesResult, Aws::Client::AWSError< KMSErrors > > ListKeyPoliciesOutcome
std::function< void(const KMSClient *, const Model::DeleteAliasRequest &, const Model::DeleteAliasOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DeleteAliasResponseReceivedHandler
Aws::Utils::Outcome< GetParametersForImportResult, Aws::Client::AWSError< KMSErrors > > GetParametersForImportOutcome
Aws::Utils::Outcome< CreateGrantResult, Aws::Client::AWSError< KMSErrors > > CreateGrantOutcome
std::future< DescribeKeyOutcome > DescribeKeyOutcomeCallable
std::function< void(const KMSClient *, const Model::DisableKeyRotationRequest &, const Model::DisableKeyRotationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > DisableKeyRotationResponseReceivedHandler
Aws::Utils::Outcome< GetKeyPolicyResult, Aws::Client::AWSError< KMSErrors > > GetKeyPolicyOutcome
Aws::Utils::Outcome< ListKeysResult, Aws::Client::AWSError< KMSErrors > > ListKeysOutcome
Aws::Utils::Outcome< EncryptResult, Aws::Client::AWSError< KMSErrors > > EncryptOutcome
std::future< EnableKeyRotationOutcome > EnableKeyRotationOutcomeCallable
Aws::Utils::Outcome< GenerateDataKeyResult, Aws::Client::AWSError< KMSErrors > > GenerateDataKeyOutcome
std::basic_string< char, std::char_traits< char >, Aws::Allocator< char > > String
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > CreateAliasOutcome
std::function< void(const KMSClient *, const Model::EncryptRequest &, const Model::EncryptOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EncryptResponseReceivedHandler
Aws::Utils::Outcome< GenerateDataKeyWithoutPlaintextResult, Aws::Client::AWSError< KMSErrors > > GenerateDataKeyWithoutPlaintextOutcome
std::future< EncryptOutcome > EncryptOutcomeCallable
std::function< void(const KMSClient *, const Model::ListGrantsRequest &, const Model::ListGrantsOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ListGrantsResponseReceivedHandler
std::function< void(const KMSClient *, const Model::EnableKeyRotationRequest &, const Model::EnableKeyRotationOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > EnableKeyRotationResponseReceivedHandler
Aws::Utils::Outcome< CreateKeyResult, Aws::Client::AWSError< KMSErrors > > CreateKeyOutcome
std::future< ImportKeyMaterialOutcome > ImportKeyMaterialOutcomeCallable
Aws::Utils::Outcome< GetKeyRotationStatusResult, Aws::Client::AWSError< KMSErrors > > GetKeyRotationStatusOutcome
Aws::Utils::Outcome< CancelKeyDeletionResult, Aws::Client::AWSError< KMSErrors > > CancelKeyDeletionOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > EnableKeyRotationOutcome
std::function< void(const KMSClient *, const Model::RetireGrantRequest &, const Model::RetireGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RetireGrantResponseReceivedHandler
std::future< GetKeyRotationStatusOutcome > GetKeyRotationStatusOutcomeCallable
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > RetireGrantOutcome
Aws::Utils::Outcome< NoResult, Aws::Client::AWSError< KMSErrors > > UpdateAliasOutcome
std::future< UpdateAliasOutcome > UpdateAliasOutcomeCallable
std::function< void(const KMSClient *, const Model::ScheduleKeyDeletionRequest &, const Model::ScheduleKeyDeletionOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > ScheduleKeyDeletionResponseReceivedHandler
Aws::Utils::Outcome< ReEncryptResult, Aws::Client::AWSError< KMSErrors > > ReEncryptOutcome
JSON (JavaScript Object Notation).
std::function< void(const KMSClient *, const Model::GetParametersForImportRequest &, const Model::GetParametersForImportOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > GetParametersForImportResponseReceivedHandler
std::function< void(const KMSClient *, const Model::RevokeGrantRequest &, const Model::RevokeGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RevokeGrantResponseReceivedHandler
std::future< ReEncryptOutcome > ReEncryptOutcomeCallable