import boto3
from boto3.dynamodb.conditions import Key, Attr
dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table(table)
response = table.query(
KeyConditionExpression=Key('key').eq('value')
)
items = response['Items']
print(items)
Dynamodb - searching
Library: boto3
Shortcut: aws.dynamodb.query
0 Comments
Add Comment
Log in to add a comment