Registry / cloud / aws-sdk-cpp

aws-sdk-cpp

JSON →
library1.11.800vcpkgunverified

AWS SDK for C++.

vcpkg install aws-sdk-cpp
INSTALL
IMPORT
SIG · AWS-SDK-CPP
A
aws-sdk-cpp
cloudcppv1.11.800
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

aws/core/Aws.h
✓ #include <aws/core/Aws.h>

Minimal example listing S3 buckets using the AWS SDK for C++.

#include <aws/core/Aws.h> #include <aws/s3/S3Client.h> #include <aws/s3/model/ListBucketsResult.h> #include <iostream> int main() { Aws::SDKOptions options; Aws::InitAPI(options); { Aws::S3::S3Client s3_client; auto outcome = s3_client.ListBuckets(); if (outcome.IsSuccess()) { for (const auto& bucket : outcome.GetResult().GetBuckets()) { std::cout << bucket.GetName() << std::endl; } } } Aws::ShutdownAPI(options); return 0; }
Debug
Known issues
gotchaThe AWS SDK for C++ requires explicit initialization and shutdown of the SDK via Aws::InitAPI and Aws::ShutdownAPI.
fix
Always call Aws::InitAPI before using any SDK components and Aws::ShutdownAPI after, typically in main().
affects: *
Upgrade
Version history
1.11.800latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
34
Resources

No resource links recorded.

aws-sdk-cpp — pip install aws-sdk-cpp · libregistry