{"id":61306,"library":"aws-sdk-cpp","title":"AWS SDK for C++","description":"AWS SDK for C++.","status":"active","version":"1.11.800","language":"cpp","source_language":null,"source_url":null,"tags":["aws","cloud","sdk","s3","networking"],"install":[{"cmd":"vcpkg install aws-sdk-cpp","lang":"bash","label":"vcpkg"},{"cmd":"# CMakeLists.txt\nfind_package(aws_sdk_cpp CONFIG REQUIRED)\ntarget_link_libraries(main PRIVATE AWS::Core)","lang":"cmake","label":"CMake"}],"dependencies":[],"imports":[{"symbol":"aws/core/Aws.h","correct":"#include <aws/core/Aws.h>"}],"quickstart":{"code":"#include <aws/core/Aws.h>\n#include <aws/s3/S3Client.h>\n#include <aws/s3/model/ListBucketsResult.h>\n#include <iostream>\n\nint main() {\n    Aws::SDKOptions options;\n    Aws::InitAPI(options);\n    {\n        Aws::S3::S3Client s3_client;\n        auto outcome = s3_client.ListBuckets();\n        if (outcome.IsSuccess()) {\n            for (const auto& bucket : outcome.GetResult().GetBuckets()) {\n                std::cout << bucket.GetName() << std::endl;\n            }\n        }\n    }\n    Aws::ShutdownAPI(options);\n    return 0;\n}","lang":"cpp","description":"Minimal example listing S3 buckets using the AWS SDK for C++."},"warnings":[{"fix":"Always call Aws::InitAPI before using any SDK components and Aws::ShutdownAPI after, typically in main().","message":"The AWS SDK for C++ requires explicit initialization and shutdown of the SDK via Aws::InitAPI and Aws::ShutdownAPI.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"search_vec":"'aw':1,5,9 'c':4,8 'cloud':10 'network':13 's3':12 'sdk':2,6,11","created_at":"2026-06-17T04:45:34.162748+00:00","updated_at":"2026-06-17T04:45:34.162748+00:00","problems":[],"ecosystem":"vcpkg","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":null,"github":null,"docs":null,"changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["cloud","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}