Questions tagged [aws-sdk-cpp]
123 questions
1
vote
0 answers
How to set endpoint for storage service compatible with s3 by using AWSSDKCPP?
I am writing an APP talking with 3rd (no aws) storage compatible with s3 (bucket and object service) by using AWS SDK CPP.
I tried to use below code to override endpoint, e.g., http://192.168.10.10:8800, but it doesn't work and return…

Kai Cui
- 11
- 1
1
vote
1 answer
AWS sign-in InvalidParameterException Missing required parameter SRP_A
I want to apply that statement for cpp:
I tried to adopt it cpp. I could sign-up operation. When I tried to sign-in, I encountered that exception:
"InvalidParameterException : Missing required parameter SRP_A"
This is part of my code:
…

gkhanacer
- 575
- 7
- 25
1
vote
1 answer
Metric data goes to wrong region in AWS SDK for C++ CloudWatch example
The "AWS SDK for C++ Documentation Examples" README says:
To build and run these examples, you'll need: ... AWS credentials, either configured in a local AWS credentials file or by setting the AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment…

Attila Csabai
- 53
- 5
0
votes
0 answers
no matching function for call to ‘Aws::S3::S3Client::S3Client(Aws::Auth::AWSCredentials, Aws::Client::ClientConfiguration&)’
main.cpp: In function ‘void downloadFile(const string&, const string&, std::ostream&)’:
main.cpp:23:95: error: no matching function for call to ‘Aws::S3::S3Client::S3Client(Aws::Auth::AWSCredentials,…

user20208419
- 121
- 1
- 11
0
votes
0 answers
AWS: How to assume role and set credentials to all consecutive client calls
The case: Multitenant C++ application using AWS C++ SDK, it processes jobs that may belong to multiple tennats account and each time I should assume another role and make somehow our infra to work with new credentials, the problem that I cant start…

kreuzerkrieg
- 3,009
- 3
- 28
- 59
0
votes
0 answers
How does Aws S3Client's GetObject API function work behind the scene?
I am interested to know how the Aws's S3Client's GetObject function work behind the scene. From the API doc, we can see it's using some streaming to write the output to a file or to a memory buffer:…

Dachuan Huang
- 115
- 1
- 8
0
votes
2 answers
Creating AWS VPC Gateway Endpoint for DynamoDB Breaks ECS Task
When I create a DynamoDB VPC Gateway Endpoint it breaks an ECS task that connects to DynamoDB. The ECS task/service/cluster is in the same VPC in the same region as the gateway endpoint on a private subnet and its security group allows outbound…

Bailey Miller
- 9
- 3
0
votes
1 answer
aws-sdk-cpp + Localstack basic S3 queries don't working
I'm trying to make some S3 queries to Localstack by using the AWS C++ SDK. I've followed the examples provided by AWS in C++ in order to, for instance, list my buckets, but without any luck.
I share the C++ class I've made to achieve this:
class…

tsarquis88
- 453
- 1
- 6
- 14
0
votes
0 answers
how to add nodes to existing Aws::Utils::Json::JsonValue
I am using aws C++ sdk.
I have successfully created Aws::Utils::Json::JsonValue object from a string (parsing was OK).
How can I navigate to a particular sub-node and add some additional fields and values (it has complex structure, it's a event json…

PavelS
- 1
- 1
0
votes
0 answers
How to use the SDK access AWS govcloud S3 bucket?
Using aws-sdk-cpp, I created AWS client to access S3 bucket. It works with Standard AWS Regions, but not AWS GovCloud (US).
Note that we only pass bucket name and region (us-gov-west-1) to SDK, without specifying any endpoint. How can we make SDK…

bzhou
- 1
0
votes
0 answers
not able to generate Rds Iam Auth Token using aws cpp sdk
We need to generate an aws rds iam auth token using the c++ sdk.
Java sdk equivalent is here: https://docs.aws.amazon.com/AmazonRDS/latest/UserGuide/UsingWithRDS.IAMDBAuth.Connecting.Java.html#UsingWithRDS.IAMDBAuth.Connecting.Java.AuthToken
Is…

Will
- 482
- 1
- 8
- 21
0
votes
0 answers
C++ code is not compiling with g++ -o object test.cpp for AWS SDK
I have followed the steps to install the AWS SDK for C++ on a linux machiine. Now I am struggling to figure out how to compile and run my code. I have a file called test.cpp and I am compiling it by running g++ -o something test.cpp
I tried to…
0
votes
1 answer
Seeking an example of using AWS C++ SDK to implement get-credentials-for-identity and it's required get-id input for temporary AWS credentials
I am currently building a C++ client which is successfully authenticating to AWS Cognito User Pools. I wish to obtain temporary AWS credentials via exchanging the received ID token from Cognito.
Using the Advanced Flow with AWS CLI it seems to be…

Jim Hankins
- 1,055
- 1
- 11
- 27
0
votes
1 answer
compile error on building full aws-sdk-cpp for linux
I use CMake 3.21.2 and got this error:
$ cmake ../aws-sdk-cpp-1.9.89 -DCMAKE_BUILD_TYPE=Release
...
-- The C compiler identification is GNU 7.3.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C…

Mrprimus
- 59
- 1
- 5
0
votes
1 answer
Using AWS Lex v2 streaming with C++: Signature does not match
I am trying to make the C++ application on my PC talk to AWS Lex v2 using streaming APIs. But there is absolutely no sample code anywhere, forcing me to guess the flow all the way. I managed to stitch something together, but is not working. I get…

Sharath
- 1,627
- 2
- 18
- 34