06_UpdatingItem.cs
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. // SPDX - License - Identifier: Apache - 2.0 using System; using System.Threading.Tasks; using Amazon.DynamoDBv2.Model; namespace DynamoDB_intro { public static partial class DdbIntro { public static async Task<bool> UpdatingMovie_async(UpdateItemRequest updateRequest) { var result = false; try { await Client.UpdateItemAsync(updateRequest); result = true; } catch (Exception) { result = false; } return result; } } }
Sample Details
Service: dynamodb
Last tested:
Author: AWS
Type: full-example