Boto3

Variables

  • DYNAMO_TABLE: "editors"

  • schema:

    • name: primary key, string

    • description: string

    • author: string

Methods

Properties

scan

dynamodb = boto3.resource('dynamodb')
table = dynamodb.Table(DYNAMO_TABLE)
author = "Bram Moolenaar"
response = table.scan(
    FilterExpression=Attr('author').eq(author)
)
items = response['Items']

Mutations

update_item

Last updated

Was this helpful?