Amazon.DNXCore.IntegrationTests.IntegrationTests.DynamoDBTruncateError.InsertData C# (CSharp) Method

InsertData() private static method

private static InsertData ( Table table, string id, string body ) : System.Threading.Tasks.Task
table Amazon.DynamoDBv2.DocumentModel.Table
id string
body string
return System.Threading.Tasks.Task
        private static async Task InsertData(Table table, string id, string body)
        {
            await table.PutItemAsync(new Document(new Dictionary<string, DynamoDBEntry>
            {
                ["Id"] = new Primitive(id),
                ["Body"] = new Primitive(body)
            }));
        }