53 class HttpClientFactory;
58 template<
typename R,
typename E>
class Outcome;
74 class AWSCredentialsProvider;
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;
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;
284 KMSClient(
const std::shared_ptr<Auth::AWSCredentialsProvider>& credentialsProvider,
1296 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::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::future< ListKeysOutcome > ListKeysOutcomeCallable
std::future< ListKeyPoliciesOutcome > ListKeyPoliciesOutcomeCallable
std::future< RevokeGrantOutcome > RevokeGrantOutcomeCallable
Aws::Utils::Outcome< ListRetirableGrantsResult, Aws::Client::AWSError< KMSErrors > > ListRetirableGrantsOutcome
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
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< 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
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::RevokeGrantRequest &, const Model::RevokeGrantOutcome &, const std::shared_ptr< const Aws::Client::AsyncCallerContext > &) > RevokeGrantResponseReceivedHandler
std::future< ReEncryptOutcome > ReEncryptOutcomeCallable