import boto3
      
      dynamodb = boto3.resource('dynamodb')
      table = dynamodb.Table('table')
      table.update_item(
          Key={
              'key1': 'value1',
              'key2': 'value2'
          },
          UpdateExpression='SET key3 = :val1',
          ExpressionAttributeValues={
              ':val1': newvalue
          }
      )
      
      Python language logo
      your recipe card header background

      Dynamodb - update item

      AWS and boto3 recipes for Python

      Library: boto3

      Shortcut: aws.dynamodb.update_item

      0 Comments

        Add Comment

        Log in to add a comment

        Codiga - All rights reserved 2022.