I have a key of type Number in a DynamoDB table. I set action as ADD to add a value to the existing value.
DynamoDBAttributeValue *attr =
[[[DynamoDBAttributeValue alloc] initWithN:@"1"] autorelease];
DynamoDBAttributeValueUpdate *attrUpdate =
[[DynamoDBAttributeValueUpdate alloc] initWithValue:attr andAction:@"ADD"];
Now, how do I subtract some value from the key?