Skip to content

DynamoDBStorage.PutEntryAsync(string, Dictionary<string, AttributeValue>, CancellationToken, string, Dictionary<string, AttributeValue>)

PutEntryAsync(string, Dictionary<string, AttributeValue>, CancellationToken, string, Dictionary<string, AttributeValue>)

View source
public Task PutEntryAsync(string tableName, Dictionary<string, AttributeValue> fields, CancellationToken cancellationToken, string conditionExpression = "", Dictionary<string, AttributeValue>? conditionValues = null)
Creates or replaces an entry using the supplied cancellation token.

Parameters

tableNamestring
The table name.
fieldsDictionary<string, AttributeValue>
The fields to write.
cancellationTokenCancellationToken
The cancellation token.
conditionExpressionstring
The optional conditional expression.
conditionValuesDictionary<string, AttributeValue>
The conditional expression values.