Category : amazon-s3

I want to send message to AWS SQS from AWS Lambda with a c++ application using the aws-sdk-cpp 1.8.154. The related code: Aws::Client::ClientConfiguration clientConfig("default"); Aws::SQS::SQSClient sqs(clientConfig); Aws::SQS::Model::SendMessageOutcome ret = sqs.SendMessage(sqsRequest); BOOST_LOG_TRIVIAL(info) << "Send result with: " << ret.GetError().GetMessage(); and I get the following output: curlCode: 77, Problem with the SSL CA cert (path? access rights?) ..

Read more

I’m using AWS CLI tool to download hundreds of thousands of files. I have almost a million of these one-liners generated from SQL query with different file path that I need to go through: aws s3 cp s3://[myS3FilePath]/17802c9-6d3b-4eef-855a-a6ae0039c7ff/ C:[MyLocalFilePath]802c9-6d3b-4eef-855a-a6ae0039c7ff –recursive I’ve been taking ~1000 lines at a time, pasting them to command prompt, and waiting ..

Read more

I am installing the aws-cpp-sdk in Ubuntu 20.04 by following the installation instructions on: https://github.com/aws/aws-sdk-cpp I built/installed the SDK from source as per the instructions which worked. Installation locations: /usr/local/lib /usr/local/include/aws I built/installed the aws-c-common as per the instructions (although I didn’t use a DCMAKE_INSTALL_PREFIX). I attempt to build aws-checksums but can’t get past the ..

Read more

For my C++ programs that handle large amounts of data in S3 I copy the data down to a local hard drive and then process them in C++ using fopen, fread, etc. Is there a fast way to read an S3 file (object) directly into RAM? Where you can stream right into application memory? I’ve ..

Read more

I’m trying to attach a function to upload a file directly to my bucket in s3 on my UWP’s Application, but I’m getting this error: Unable to parse ExceptionName: BadRequest Message: An error occurred when parsing the HTTP request Here’s my S3 upload function code: { Aws::Client::ClientConfiguration config; config.region = Aws::Region::SA_EAST_1; Aws::S3::S3Client s3_client(credentials, config); Aws::S3::Model::PutObjectRequest ..

Read more