Project Name | Stars | Downloads | Repos Using This | Packages Using This | Most Recent Commit | Total Releases | Latest Release | Open Issues | License | Language |
---|---|---|---|---|---|---|---|---|---|---|
Awesome Aws | 11,283 | 13 days ago | 1 | December 21, 2015 | 63 | other | Python | |||
A curated list of awesome Amazon Web Services (AWS) libraries, open source repos, guides, blogs, and other resources. Featuring the Fiery Meter of AWSome. | ||||||||||
Aws Sdk Go | 8,224 | 5,100 | 8,512 | 13 hours ago | 1,641 | September 23, 2022 | 65 | apache-2.0 | Go | |
AWS SDK for the Go programming language. | ||||||||||
Boto3 | 7,964 | 11,545 | 4,680 | a day ago | 1,140 | July 06, 2022 | 149 | apache-2.0 | Python | |
AWS SDK for Python | ||||||||||
Aws Sdk Js | 7,330 | 35,306 | 13,702 | 2 days ago | 1,470 | September 23, 2022 | 173 | apache-2.0 | JavaScript | |
AWS SDK for JavaScript in the browser and Node.js | ||||||||||
Aws Doc Sdk Examples | 7,277 | 14 hours ago | 99 | April 23, 2021 | 255 | apache-2.0 | Java | |||
Welcome to the AWS Code Examples Repository. This repo contains code examples used in the AWS documentation, AWS SDK Developer Guides, and more. For more information, see the Readme.md file below. | ||||||||||
Aws Sdk Php | 5,787 | 6,735 | 1,470 | a day ago | 1,544 | September 23, 2022 | 49 | apache-2.0 | PHP | |
Official repository of the AWS SDK for PHP (@awsforphp) | ||||||||||
Aws Sdk Java | 3,916 | 26 | 22 | a day ago | 933 | May 04, 2022 | 139 | apache-2.0 | ||
The official AWS SDK for Java. | ||||||||||
Aws Sdk Ruby | 3,433 | 20,462 | 1,476 | 16 hours ago | 1,207 | September 01, 2021 | 23 | apache-2.0 | Ruby | |
The official AWS SDK for Ruby. | ||||||||||
Rusoto | 2,595 | 164 | 404 | 3 months ago | 26 | April 25, 2022 | 255 | mit | Rust | |
AWS SDK for Rust | ||||||||||
Aws Sdk Js V3 | 2,236 | 427 | 14 hours ago | 156 | September 27, 2022 | 327 | apache-2.0 | TypeScript | ||
Modularized AWS SDK for JavaScript. |
A repo demonstrating common patterns and use cases for DynamoDB using the AWS SDK v2 for java, including the Enhanced Client.
The various Java SDKs for DynamoDB are enumerated here: https://www.davidagood.com/dynamodb-java-basics/
See Connect to Local DynamoDB under Features.
If the environment variable DYNAMODB_LOCAL_URL
is not set, the default client expects
to get the credentials from the default credential provider chain,
same with the region.
You can run one of these:
src/main/java/com/davidagood/awssdkv2/dynamodb/App.java
src/main/java/com/davidagood/awssdkv2/dynamodb/AppBasic.java
See here: DynamoDB Repository Layer Isolation in Java
See all the tests ending in "IT", for example:
src/test/java/com/davidagood/awssdkv2/dynamodb/repository/DynamoDbIT.java
Some ideas are taken from the AWS SDK: here.
Build table schema manually, as opposed to using annotations. See here:
com.davidagood.awssdkv2.dynamodb.repository.StaticSchemaImmutableItem
This is described in the official docs here.
If the table does not exist, it is created at application startup time.
See com.davidagood.awssdkv2.dynamodb.repository.DynamoDbRepository.createTableIfNotExists
If you have Docker installed you can use DynamoDB Local or LocalStack to start a locally running DynamoDB.
To override the DynamoDB client to connect to the local instance, set the enviroment variable
DYNAMODB_LOCAL_URL
.
For example, here's the one-liner to run DynamoDB Local:
docker run -p 8000:8000 amazon/dynamodb-local
Once this is running you can run the example code with the environment variable
DYNAMODB_LOCAL_URL=http://localhost:8000
.
See com.davidagood.awssdkv2.dynamodb.App.buildDynamoDbClient
@DynamoDbImmutable
See com.davidagood.awssdkv2.dynamodb.repository.ImmutableBeanItem
.
It may be occasionally useful to use the AWS CLI for troubleshooting while using DynamoDB Local. Here's an example of how to do that:
AWS_ACCESS_KEY_ID=dummy AWS_SECRET_ACCESS_KEY=dummy aws dynamodb list-tables --endpoint-url http://localhost:8000