import boto3
dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table('table')
response = table.get_item(
Key={
'key1': 'value1',
'key2': 'value2'
}
)
item = response['Item']
print(item)
Dynamodb - get item
Library: boto3
Shortcut: aws.dynamodb.get_item
0 Comments
Add Comment
Log in to add a comment