Long loading time when initializing Aws::Auth::AWSCredentials
m_pcClientPtr = new std::shared_ptrAws::Lambda::LambdaClient; if (NULL == m_pcClientPtr) { ASSERT(FALSE); return FALSE; } TRACE(“CAWSManager::InitFunctions 2n”); Aws::Client::ClientConfiguration config; config.region = “us-east-1”; config.disableIMDS = true; // this credential only have access lamba function and s3 read/write to a certain bucket Aws::Auth::AWSCredentials credentials(“my accessKeyId”, “my secretKey”); TRACE(“CAWSManager::InitFunctions 3n”); *m_pcClientPtr = Aws::MakeSharedAws::Lambda::LambdaClient(ALLOCATION_TAG, credentials, config); if (NULL == *m_pcClientPtr) { […]
Proper downloading of files from S3 using pre-signed URLs
I am trying to refactor my current existing code base to download multiple files from S3. If I understand correctly the documentation, I am doing too many requests in a short period of time (1), (2) & (3).