Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/davidje13/botoc
C++ wrapper for the boto (aws) python library
https://github.com/davidje13/botoc
Last synced: about 1 month ago
JSON representation
C++ wrapper for the boto (aws) python library
- Host: GitHub
- URL: https://github.com/davidje13/botoc
- Owner: davidje13
- Created: 2013-01-16T17:27:40.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-03-15T15:19:10.000Z (almost 12 years ago)
- Last Synced: 2024-10-20T02:39:51.634Z (3 months ago)
- Language: C++
- Homepage:
- Size: 156 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
botoc
=====C++ wrapper for the boto (Amazon Web Services) Python library contained within
simple headers; nothing to link.Requirements
------------* Python libraries (python-dev)
* Boto 2.6+ (easy-install boto)
* AWS account with SQS or DDB set up, and an IAM user with appropriate
permissionsFunctionality
-------------Provides very limited (but very easy to use) functionality for AWS services:
### Common
* botoc::set_iam_user Change the IAM credentials (key and secret)
* botoc::set_region Change the working region (e.g. "eu-west-1")### SQS (botoc_sqs.h)
* botoc::sqs::prep Prepare a connection with the current region and credentials
(called automatically when needed). Connections will persist until disconnect
is called.
* botoc::sqs::put Adds a new item to the queue.
* botoc::sqs::get Gets an item from the queue.
* supports long-polling (see BOTO_SUPPORTS_WAIT_TIME_SECONDS comment).
* botoc::sqs::remove Removes an item from the queue using a handle from sqs_get.
* botoc::sqs::disconnect Breaks the current connection; only needed for
reconnecting as a different user or region.### DDB (botoc_ddb.h)
* botoc::ddb::prep Prepare a connection with the current region and credentials
(called automatically when needed). Connections will persist until disconnect
is called.
* botoc::ddb::update Adds or Updates an item in the database
* supported types: string (S), number (N), binary (B) and sets of each
* supports "expected"
* supports "PUT", "ADD", "DELETE"
* does *not* support range keys
* botoc::ddb::get Retrieves an item from the database
* supports full & partial get
* does *not* support metadata
* does *not* support range keysExamples
--------See main.cpp for example usage.
Credits
-------Based on https://github.com/9apps/dynamoDBc