Amazon DynamoDB stores items in tables identified by primary keys. Use Get to read an item, Put to insert or replace one, Update to change attributes, and Delete to remove it. Query a table or index by key conditions; use Scan when you need to inspect items across the table. The integration also reads table metadata and uses AWS access-key credentials.
Supports Get, Put, Query, Scan, Update, Delete, and Introspect operations on DynamoDB tables.
Get an item from a DynamoDB table by primary key
Inputs and outputsParameter Type Required Description regionstring Yes AWS region (e.g., us-east-1) accessKeyIdstring Yes AWS access key ID secretAccessKeystring Yes AWS secret access key tableNamestring Yes DynamoDB table name (e.g., "Users", "Orders") keyjson Yes Primary key of the item to retrieve (e.g., {"pk": "USER#123"} or {"pk": "ORDER#456", "sk": "ITEM#789"}) consistentReadboolean No Use strongly consistent read
Parameter Type Description messagestring Operation status message itemjson Retrieved item
Put an item into a DynamoDB table
Inputs and outputsParameter Type Required Description regionstring Yes AWS region (e.g., us-east-1) accessKeyIdstring Yes AWS access key ID secretAccessKeystring Yes AWS secret access key tableNamestring Yes DynamoDB table name (e.g., "Users", "Orders") itemjson Yes Item to put into the table (e.g., {"pk": "USER#123", "name": "John", "email": "john@example.com "}) conditionExpressionstring No Condition that must be met for the put to succeed (e.g., "attribute_not_exists(pk)" to prevent overwrites) expressionAttributeNamesjson No Attribute name mappings for reserved words used in conditionExpression (e.g., {"#name": "name"}) expressionAttributeValuesjson No Expression attribute values used in conditionExpression (e.g., {":expected": "value"})
Parameter Type Description messagestring Operation status message itemjson Created item
Query items from a DynamoDB table using key conditions
Inputs and outputsParameter Type Required Description regionstring Yes AWS region (e.g., us-east-1) accessKeyIdstring Yes AWS access key ID secretAccessKeystring Yes AWS secret access key tableNamestring Yes DynamoDB table name (e.g., "Users", "Orders") keyConditionExpressionstring Yes Key condition expression (e.g., "pk = :pk" or "pk = :pk AND sk BEGINS_WITH :prefix") filterExpressionstring No Filter expression for results (e.g., "age > :minAge AND #status = :status") expressionAttributeNamesjson No Attribute name mappings for reserved words (e.g., {"#status": "status"}) expressionAttributeValuesjson No Expression attribute values (e.g., {":pk": "USER#123", ":minAge": 18}) indexNamestring No Secondary index name to query (e.g., "GSI1", "email-index") limitnumber No Maximum number of items to return (e.g., 10, 50, 100) exclusiveStartKeyjson No Pagination token from a previous query's lastEvaluatedKey to continue fetching results scanIndexForwardboolean No Sort order for the sort key: true for ascending (default), false for descending
Parameter Type Description messagestring Operation status message itemsarray Array of items returned countnumber Number of items returned lastEvaluatedKeyjson Pagination token to pass as exclusiveStartKey to fetch the next page of results
Scan all items in a DynamoDB table
Inputs and outputsParameter Type Required Description regionstring Yes AWS region (e.g., us-east-1) accessKeyIdstring Yes AWS access key ID secretAccessKeystring Yes AWS secret access key tableNamestring Yes DynamoDB table name (e.g., "Users", "Orders") filterExpressionstring No Filter expression for results (e.g., "age > :minAge AND #status = :status") projectionExpressionstring No Attributes to retrieve (e.g., "pk, sk, #name, email") expressionAttributeNamesjson No Attribute name mappings for reserved words (e.g., {"#name": "name", "#status": "status"}) expressionAttributeValuesjson No Expression attribute values (e.g., {":minAge": 18, ":status": "active"}) limitnumber No Maximum number of items to return (e.g., 10, 50, 100) exclusiveStartKeyjson No Pagination token from a previous scan's lastEvaluatedKey to continue fetching results
Parameter Type Description messagestring Operation status message itemsarray Array of items returned countnumber Number of items returned lastEvaluatedKeyjson Pagination token to pass as exclusiveStartKey to fetch the next page of results
Update an item in a DynamoDB table
Inputs and outputsParameter Type Required Description regionstring Yes AWS region (e.g., us-east-1) accessKeyIdstring Yes AWS access key ID secretAccessKeystring Yes AWS secret access key tableNamestring Yes DynamoDB table name (e.g., "Users", "Orders") keyjson Yes Primary key of the item to update (e.g., {"pk": "USER#123"} or {"pk": "ORDER#456", "sk": "ITEM#789"}) updateExpressionstring Yes Update expression (e.g., "SET #name = :name, age = :age" or "SET #count = #count + :inc") expressionAttributeNamesjson No Attribute name mappings for reserved words (e.g., {"#name": "name", "#count": "count"}) expressionAttributeValuesjson No Expression attribute values (e.g., {":name": "John", ":age": 30, ":inc": 1}) conditionExpressionstring No Condition that must be met for the update to succeed (e.g., "attribute_exists(pk)" or "version = :expectedVersion")
Parameter Type Description messagestring Operation status message itemjson Updated item with all attributes
Delete an item from a DynamoDB table
Inputs and outputsParameter Type Required Description regionstring Yes AWS region (e.g., us-east-1) accessKeyIdstring Yes AWS access key ID secretAccessKeystring Yes AWS secret access key tableNamestring Yes DynamoDB table name (e.g., "Users", "Orders") keyjson Yes Primary key of the item to delete (e.g., {"pk": "USER#123"} or {"pk": "ORDER#456", "sk": "ITEM#789"}) conditionExpressionstring No Condition that must be met for the delete to succeed (e.g., "attribute_exists(pk)") expressionAttributeNamesjson No Attribute name mappings for reserved words used in conditionExpression (e.g., {"#status": "status"}) expressionAttributeValuesjson No Expression attribute values used in conditionExpression (e.g., {":status": "active"})
Parameter Type Description messagestring Operation status message
Introspect DynamoDB to list tables or get detailed schema information for a specific table
Inputs and outputsParameter Type Required Description regionstring Yes AWS region (e.g., us-east-1) accessKeyIdstring Yes AWS access key ID secretAccessKeystring Yes AWS secret access key tableNamestring No Optional table name to get detailed schema (e.g., "Users", "Orders"). If not provided, lists all tables.
Parameter Type Description messagestring Operation status message tablesarray List of table names in the region tableDetailsjson Detailed schema information for a specific table