aws-doc-sdk-examples icon indicating copy to clipboard operation
aws-doc-sdk-examples copied to clipboard

EPIC: DynamoDB PartiQL scenario

Open Laren-AWS opened this issue 2 years ago • 0 comments

There are two scenarios for PartiQL: one that shows single-item calls and one that shows batch calls. Implement the scenarios for each SDK.

Scenarios

A scenario runs at a command prompt and prints output to the user on the result of each service action. A scenario can run in one of two ways: straight through, printing out progress as it goes, or as an interactive question/answer script.

Destination page

Original PartiQL music example. This is included for reference, but is NOT the scenario we are implementing.

For this example, use the Movie db from https://github.com/awsdocs/aws-doc-sdk-examples/issues/2764 .

Using DynamoDB with PartiQL (single items)

Use ExecuteStatement with PartiQL to:

  1. Get an item (Select)
  2. Update an item (Update)
  3. Delete an item (Delete)
  4. Put an item (Insert)

Using DynamoDB with PartiQL (batched items)

Use BatchExecuteStatement with PartiQL to:

  1. Get items (Select)
  2. Update items (Update)
  3. Delete items (Delete)
  4. Put items (Insert)

SDKs

PartiQL

  • [x] #2809
  • [x] #3036
  • [x] #2811
  • [x] #3035
  • [ ] #2813
  • [ ] #2814
  • [ ] C++ DynamoDB PartiQL MVP
  • [x] #2815
  • [x] #2816
  • [x] #2817

Exit criteria:

  • [ ] Runnable scenario code.
  • [ ] Service action code (may be same as scenario code).
  • [ ] Integration or unit tests.
  • [ ] Scenario and API examples tagged for SOS.
  • [ ] README

Laren-AWS avatar Mar 03 '22 18:03 Laren-AWS