Request Collections
A request collection is a local directory that contains saved Dynomate requests. A request can contain one or more DynamoDB operations.
Use collections to keep related requests together. For example, one collection can contain requests for order support, release checks, or test data.
Supported operations
A request supports Query, Put Item, Update Item, and Delete Item. Request collections do not currently support Scan, GetItem, BatchGetItem, or BatchWriteItem.
Access
Request tabs are available during a trial and with Professional or Enterprise access. Community and Indie access can show saved requests in the sidebar, but the request tab is locked.
Create a Collection
- Open Request Collections in the sidebar.
- Select the + button.
- Enter a collection name.
- Select Browse.
- Select the parent directory for the collection.
- Select Create.
Dynomate creates a directory with the collection name. It also creates a collection.toml marker in that directory. Dynomate uses this marker to identify the directory as a collection.
A collection name cannot contain /, \, :, *, ?, ", <, >, or |.
Create and Save a Request
- Expand a collection in the sidebar.
- Select New Request.
- Select the generated request name in the editor header.
- Enter a new name.
- Select Add Operation.
- Configure the operation.
- Select Save.
The editor Save button saves the complete request. It saves all operations and request variables together. Dynomate does not save each operation separately.
You can rename a saved request from the editor header. Dynomate renames the request file and updates its internal name. The request name collection is reserved.
To build a request with more than one operation, continue with Multi-Operation Requests.
Local Files
Dynomate stores each saved request as <request-name>.toml in the collection directory. Collection environments are stored as JSON files under environments/. The collection itself is not exported as one JSON file.
Select the collection menu and then select Reveal to open its directory. Dynomate watches tracked collection directories. A valid request file that appears in a tracked collection is loaded into the sidebar.
External edits
Dynomate can reload a request after its file changes. If the same request has unsaved editor changes, Dynomate keeps the editor state instead of replacing it automatically.