Dynamodb - put item

    0

    13

    AWS and boto3 recipes for Python

    Library: boto3

    Shortcut: aws.dynamodb.put_item

    import boto3
    
    dynamodb = boto3.resource('dynamodb')
    table = dynamodb.Table('table')
    table.put_item(
      Item={
        'key1': 'value1',
        'table': 'value2'
      }
    )
    
    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.