AWS Services · Service
DynamoDB
Boto3 provides table resources for creating tables and performing DynamoDB item operations. You can write, read, update, delete, batch write, query, and scan items with Python.
Last updated
Syntax
boto3.resource('dynamodb').Table('table_name')
table.put_item(Item={...})
table.get_item(Key={...})
table.update_item(Key={...}, UpdateExpression='...', ExpressionAttributeValues={...})
table.delete_item(Key={...})
table.query(KeyConditionExpression=...)
table.scan(FilterExpression=...)In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.
SubscribeRelated
DynamoDB.ServiceResourceDynamoDB.Tablecreate_table()put_item()get_item()update_item()delete_item()batch_writer()