There are more AWS SDK examples available in the AWS Doc SDK Examples
Code examples for Amazon DocumentDB using AWS SDKs
The following code examples show you how to use Amazon DocumentDB (with MongoDB compatibility) with an AWS software development kit (SDK).
More resources
Amazon DocumentDB Developer Guide – More information about Amazon DocumentDB.
Amazon DocumentDB API Reference – Details about all available Amazon DocumentDB actions.
AWS Developer Center
– Code examples that you can filter by category or full-text search. AWS SDK Examples
– GitHub repo with complete code in preferred languages. Includes instructions for setting up and running the code.