Skip to content

Commit

Permalink
docs(bootstrap): change link to Movie sample data
Browse files Browse the repository at this point in the history
  • Loading branch information
wafuwafu13 authored and StoneDot committed Nov 4, 2023
1 parent 878b1d4 commit 5021295
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ using_table: ~

## Working with DynamoDB items

As an example let's assume you have [official "Movie" sample data](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.Python.02.html). To prepare the table with data loaded, simply you can execute `dy bootstrap --sample movie`.
As an example let's assume you have [official "Movie" sample data](https://raw.githubusercontent.com/awsdocs/aws-doc-sdk-examples/c2edcff1365d4b454b51075d632a1be844dd3e47/resources/sample_files/movies.json). To prepare the table with data loaded, simply you can execute `dy bootstrap --sample movie`.

```
$ dy bootstrap --sample movie
Expand Down
8 changes: 4 additions & 4 deletions src/bootstrap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,13 +138,13 @@ Private functions
async fn launch_movie_sample(cx: app::Context) -> Result<(), DyneinBootstrapError> {
println!(
"\
Bootstrapping - dynein will creates 'Movie' table used in public tutorials:
e.g. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.NodeJs.02.html
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingStarted.Ruby.02.html
Bootstrapping - dynein will create 'Movie' table with official 'Movie' sample data:
'Movie' - composite primary key table
year (N)
title (S)
see https://github.com/awslabs/dynein#working-with-dynamodb-items for detail
"
);

Expand Down Expand Up @@ -221,7 +221,7 @@ e.g. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/GettingSta
async fn launch_default_sample(cx: app::Context) -> Result<(), DyneinBootstrapError> {
println!(
"\
Bootstrapping - dynein will creates 4 sample tables defined here:
Bootstrapping - dynein will create 4 sample tables defined here:
https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/AppendixSampleTables.html
'ProductCatalog' - simple primary key table
Expand Down

0 comments on commit 5021295

Please sign in to comment.