Sim

Amazon DynamoDB

Connect to Amazon DynamoDB

Amazon DynamoDB is a fully managed NoSQL database service offered by AWS that provides fast and predictable performance with seamless scalability. DynamoDB lets you store and retrieve any amount of data and serves any level of request traffic, without the need for you to manage hardware or infrastructure.

With DynamoDB, you can:

  • Get items: Look up items in your tables using primary keys
  • Put items: Add or replace items in your tables
  • Query items: Retrieve multiple items using queries across indexes
  • Scan tables: Read all or part of the data in a table
  • Update items: Modify specific attributes of existing items
  • Delete items: Remove records from your tables

In Sim, the DynamoDB integration enables your agents to securely access and manipulate DynamoDB tables using AWS credentials. Supported operations include:

  • Get: Retrieve an item by its key
  • Put: Insert or overwrite items
  • Query: Run queries using key conditions and filters
  • Scan: Read multiple items by scanning the table or index
  • Update: Change specific attributes of one or more items
  • Delete: Remove an item from a table

This integration empowers Sim agents to automate data management tasks within your DynamoDB tables programmatically, so you can build workflows that manage, modify, and retrieve scalable NoSQL data without manual effort or server management.

Usage Instructions

Integrate Amazon DynamoDB into workflows. Supports Get, Put, Query, Scan, Update, and Delete operations on DynamoDB tables.

Tools

dynamodb_get

Get an item from a DynamoDB table by primary key

Input

ParameterTypeRequiredDescription
regionstringYesAWS region (e.g., us-east-1)
accessKeyIdstringYesAWS access key ID
secretAccessKeystringYesAWS secret access key
tableNamestringYesDynamoDB table name
keyobjectYesPrimary key of the item to retrieve
consistentReadbooleanNoUse strongly consistent read

Output

ParameterTypeDescription
messagestringOperation status message
itemobjectRetrieved item

dynamodb_put

Put an item into a DynamoDB table

Input

ParameterTypeRequiredDescription
regionstringYesAWS region (e.g., us-east-1)
accessKeyIdstringYesAWS access key ID
secretAccessKeystringYesAWS secret access key
tableNamestringYesDynamoDB table name
itemobjectYesItem to put into the table

Output

ParameterTypeDescription
messagestringOperation status message
itemobjectCreated item

dynamodb_query

Query items from a DynamoDB table using key conditions

Input

ParameterTypeRequiredDescription
regionstringYesAWS region (e.g., us-east-1)
accessKeyIdstringYesAWS access key ID
secretAccessKeystringYesAWS secret access key
tableNamestringYesDynamoDB table name
keyConditionExpressionstringYesKey condition expression (e.g., "pk = :pk")
filterExpressionstringNoFilter expression for results
expressionAttributeNamesobjectNoAttribute name mappings for reserved words
expressionAttributeValuesobjectNoExpression attribute values
indexNamestringNoSecondary index name to query
limitnumberNoMaximum number of items to return

Output

ParameterTypeDescription
messagestringOperation status message
itemsarrayArray of items returned
countnumberNumber of items returned

dynamodb_scan

Scan all items in a DynamoDB table

Input

ParameterTypeRequiredDescription
regionstringYesAWS region (e.g., us-east-1)
accessKeyIdstringYesAWS access key ID
secretAccessKeystringYesAWS secret access key
tableNamestringYesDynamoDB table name
filterExpressionstringNoFilter expression for results
projectionExpressionstringNoAttributes to retrieve
expressionAttributeNamesobjectNoAttribute name mappings for reserved words
expressionAttributeValuesobjectNoExpression attribute values
limitnumberNoMaximum number of items to return

Output

ParameterTypeDescription
messagestringOperation status message
itemsarrayArray of items returned
countnumberNumber of items returned

dynamodb_update

Update an item in a DynamoDB table

Input

ParameterTypeRequiredDescription
regionstringYesAWS region (e.g., us-east-1)
accessKeyIdstringYesAWS access key ID
secretAccessKeystringYesAWS secret access key
tableNamestringYesDynamoDB table name
keyobjectYesPrimary key of the item to update
updateExpressionstringYesUpdate expression (e.g., "SET #name = :name")
expressionAttributeNamesobjectNoAttribute name mappings for reserved words
expressionAttributeValuesobjectNoExpression attribute values
conditionExpressionstringNoCondition that must be met for the update to succeed

Output

ParameterTypeDescription
messagestringOperation status message
itemobjectUpdated item

dynamodb_delete

Delete an item from a DynamoDB table

Input

ParameterTypeRequiredDescription
regionstringYesAWS region (e.g., us-east-1)
accessKeyIdstringYesAWS access key ID
secretAccessKeystringYesAWS secret access key
tableNamestringYesDynamoDB table name
keyobjectYesPrimary key of the item to delete
conditionExpressionstringNoCondition that must be met for the delete to succeed

Output

ParameterTypeDescription
messagestringOperation status message

Notes

  • Category: tools
  • Type: dynamodb
On this page

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started