I have an item whose particular attribute I want to remove using SDK 2.x from DynamoDB. How do I do this? I am using enhanced DynamoDB for table management. Here's a code sample:
DynamoDbTable<T> mappedTable = AwsConfig.getTableSchema(schema, clazz);
T updatedRecord = mappedTable.updateItem(request -> {
request.ignoreNulls(true);
request.item(record);
});
I would appreciate a solution using enhanced DynamoDB client.