Update S3Common.h

This commit is contained in:
alexey-milovidov 2020-05-03 01:25:02 +03:00 committed by GitHub
parent 342ed093de
commit 9011d18b80
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,11 +23,13 @@ public:
static ClientFactory & instance(); static ClientFactory & instance();
std::shared_ptr<Aws::S3::S3Client> create(const String & endpoint, static std::shared_ptr<Aws::S3::S3Client> create(
const String & endpoint,
const String & access_key_id, const String & access_key_id,
const String & secret_access_key); const String & secret_access_key);
std::shared_ptr<Aws::S3::S3Client> create(Aws::Client::ClientConfiguration & cfg, static std::shared_ptr<Aws::S3::S3Client> create(
Aws::Client::ClientConfiguration & cfg,
const String & access_key_id, const String & access_key_id,
const String & secret_access_key); const String & secret_access_key);
private: private: