-
Notifications
You must be signed in to change notification settings - Fork 7
Feature/ddb operations #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Everything done but the walk through of the sample
|
||
## Introduction | ||
|
||
The [AWS SDK for Rust](https://aws.amazon.com/sdk-for-rust/) has been developed to simplify operations with various AWS services including DynamoDB, S3, SQS and many others. More importantly, it comes with sensible and battle-tested defaults that builders can take advantage of such as built-in retries. It has also been developed to minimize resource allocation with wasted copies and clones giving you more resources for your applications. And finally, it's feature aware so you can include just the crates you need to minimize build time and final binary output size. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe add a hyperlink for the DynamoDB word to the page on the SDK?
Also, what do you think about replacing the word 'builders' with 'you'? Talk directly to the reader?
|
||
## Introduction | ||
|
||
The [AWS SDK for Rust](../../fundamentals/aws-sdk-rust) has been developed to simplify operations with various AWS services including DynamoDB. By leveraging the SDK, builders can take advantage of the data plane operations exposed over the API like GetItem, PutItem, Scan and the other core DynamoDB operations. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: Builders -> You
|
||
The [AWS SDK for Rust](../../fundamentals/aws-sdk-rust) has been developed to simplify operations with various AWS services including DynamoDB. By leveraging the SDK, builders can take advantage of the data plane operations exposed over the API like GetItem, PutItem, Scan and the other core DynamoDB operations. | ||
|
||
This article looks to explore the foundational operations that you will encounter when working with AWS, DynamoDB and Rust. They will be applicable whether you are building and shipping with [Lambda](../../fundamentals/how-lambda-works.md) or with Containers. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You use the 'you' pronoun here :)
|
||
Two things worth pointing out in the code below. First up, [the region](focus://2:3) needs to be specified. | ||
|
||
The second thing to point out is that this code will allow the client to be [configured locally](focus://5:9). What this enables is the running of DynamoDB locally or in an integration test in a continuious integration pipeline. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Love the inclusion of DDB local
|
||
The key things to note are that you can specify key as a single partition key or you can use a HashMap to use a compound partition key and range key if the table requires. | ||
|
||
What is really nice about working with item that are returned from DynamoDB, the very familiar serde concept that is used throughout Rust for working with JSON can be used for this data as well which is also JSON. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just this be 'serve crate' instead of serde concept?
Created new article and sample code wrapped around Basic DynamoDB Operations. #8
PR includes