Dynamodb - searching

    0

    1

    AWS and boto3 recipes for Python

    Library: boto3

    Shortcut: aws.dynamodb.query

    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)
    
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    Legal
    • Security
    • Privacy Policy
    • Code Privacy
    • Terms of Service
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.