7#include <aws/s3-encryption/s3Encryption_EXPORTS.h>
8#include <aws/s3/S3Client.h>
9#include <aws/s3-encryption/modules/CryptoModuleFactory.h>
10#include <aws/core/client/AWSError.h>
14 namespace S3Encryption
22 inline bool IsS3Error()
const {
return m_isS3Error; }
33 template<
typename ERROR_TYPE>
39 return s3EncryptionError;
105 AWS_DEPRECATED(
"This class is in the maintenance mode, no new updates will be released, use S3EncryptionClientV2. Please see https://docs.aws.amazon.com/general/latest/gr/aws_sdk_cryptography.html for more information.")
const Aws::Http::HeaderValueCollection & GetResponseHeaders() const
const Aws::String & GetMessage() const
void SetResponseHeaders(const Aws::Http::HeaderValueCollection &headers)
const Aws::String & GetExceptionName() const
void SetResponseCode(Aws::Http::HttpResponseCode responseCode)
Aws::Http::HttpResponseCode GetResponseCode() const
const ERROR_TYPE GetErrorType() const
std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > m_encryptionMaterials
Aws::S3Encryption::Modules::CryptoModuleFactory m_cryptoModuleFactory
S3EncryptionClientBase(const S3EncryptionClientBase &)=delete
S3EncryptionPutObjectOutcome PutObject(const Aws::S3::Model::PutObjectRequest &request, const Aws::Map< Aws::String, Aws::String > &contextMap) const
S3EncryptionClientBase(const std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > &encryptionMaterials, const Aws::S3Encryption::CryptoConfiguration &cryptoConfig, const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
Aws::S3::Model::GetObjectOutcome GetInstructionFileObject(const Aws::S3::Model::GetObjectRequest &originalGetRequest) const
S3EncryptionGetObjectOutcome GetObject(const Aws::S3::Model::GetObjectRequest &request) const
Aws::UniquePtr< Aws::S3::S3Client > m_s3Client
Aws::S3Encryption::CryptoConfiguration m_cryptoConfig
S3EncryptionClientBase(const std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > &encryptionMaterials, const Aws::S3Encryption::CryptoConfiguration &cryptoConfig, const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
S3EncryptionClientBase & operator=(const S3EncryptionClientBase &)=delete
S3EncryptionClientBase(const std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > &encryptionMaterials, const Aws::S3Encryption::CryptoConfiguration &cryptoConfig, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
bool MultipartUploadSupported() const
S3EncryptionPutObjectOutcome PutObject(const Aws::S3::Model::PutObjectRequest &request) const
S3EncryptionClient(const std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > &encryptionMaterials, const Aws::S3Encryption::CryptoConfiguration &cryptoConfig, const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
S3EncryptionClient(const std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > &encryptionMaterials, const Aws::S3Encryption::CryptoConfiguration &cryptoConfig, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
S3EncryptionClient(const std::shared_ptr< Aws::Utils::Crypto::EncryptionMaterials > &encryptionMaterials, const Aws::S3Encryption::CryptoConfiguration &cryptoConfig, const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfiguration=Aws::Client::ClientConfiguration())
S3EncryptionClientV2(const Aws::S3Encryption::CryptoConfigurationV2 &cryptoConfig, const Aws::Client::ClientConfiguration &clientConfig=Aws::Client::ClientConfiguration())
S3EncryptionClientV2(const S3EncryptionClientV2 &)=delete
S3EncryptionClientV2 & operator=(const S3EncryptionClientV2 &)=delete
S3EncryptionClientV2(const Aws::S3Encryption::CryptoConfigurationV2 &cryptoConfig, const std::shared_ptr< Aws::Auth::AWSCredentialsProvider > &credentialsProvider, const Aws::Client::ClientConfiguration &clientConfig=Aws::Client::ClientConfiguration())
S3EncryptionClientV2(const Aws::S3Encryption::CryptoConfigurationV2 &cryptoConfig, const Aws::Auth::AWSCredentials &credentials, const Aws::Client::ClientConfiguration &clientConfig=Aws::Client::ClientConfiguration())
Aws::Client::AWSError< S3EncryptionErrors > BuildS3EncryptionError(const Aws::Client::AWSError< ERROR_TYPE > &error)
Aws::Utils::Outcome< Aws::S3::Model::PutObjectResult, Aws::Client::AWSError< S3EncryptionErrors > > S3EncryptionPutObjectOutcome
Aws::Utils::Outcome< Aws::S3::Model::GetObjectResult, Aws::Client::AWSError< S3EncryptionErrors > > S3EncryptionGetObjectOutcome
std::map< K, V, std::less< K >, Aws::Allocator< std::pair< const K, V > > > Map
std::unique_ptr< T, D > UniquePtr
S3EncryptionErrors(const Aws::S3::S3Errors &error)
S3EncryptionErrors()=default
bool IsCryptoError() const
S3EncryptionErrors(const Aws::Utils::Crypto::CryptoErrors &error)
Aws::S3::S3Errors s3Error
Aws::Utils::Crypto::CryptoErrors cryptoError