not requiring the provisioned throughput key (#2278)
This commit is contained in:
parent
75d9707e8e
commit
f6dd3ab959
@ -166,7 +166,7 @@ class DynamoHandler(BaseResponse):
|
|||||||
when BillingMode is PAY_PER_REQUEST')
|
when BillingMode is PAY_PER_REQUEST')
|
||||||
throughput = None
|
throughput = None
|
||||||
else: # Provisioned (default billing mode)
|
else: # Provisioned (default billing mode)
|
||||||
throughput = body["ProvisionedThroughput"]
|
throughput = body.get("ProvisionedThroughput")
|
||||||
# getting the schema
|
# getting the schema
|
||||||
key_schema = body['KeySchema']
|
key_schema = body['KeySchema']
|
||||||
# getting attribute definition
|
# getting attribute definition
|
||||||
|
Loading…
Reference in New Issue
Block a user