Add basic support for the add operation in an update operation
Add basic delete functionality Improve testing coverage and make behave more like actual dynamo on errors Lint fix
This commit is contained in:
parent
ace54787c0
commit
6affc7a4ec
3 changed files with 188 additions and 1 deletions
|
|
@ -497,6 +497,9 @@ class DynamoHandler(BaseResponse):
|
|||
except ValueError:
|
||||
er = 'com.amazonaws.dynamodb.v20111205#ConditionalCheckFailedException'
|
||||
return self.error(er)
|
||||
except TypeError:
|
||||
er = 'com.amazonaws.dynamodb.v20111205#ValidationException'
|
||||
return self.error(er)
|
||||
|
||||
item_dict = item.to_json()
|
||||
item_dict['ConsumedCapacityUnits'] = 0.5
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue