Whenever dynamoDB throws the ProvisionedThroughputExceededException, does DynamoDB still charge us for the request sent to it.
Update :
- we use both the schemes, provisioned + auto scaling and OnDemand for our DDB tables.
- I am trying to understand if DDB will still consider WCU/RCU consumed for throttled requests which resulted in ProvisionedThroughputExceededException
- DynamoDB in their definition of WCU and RCU states that every API call to DDB is considered as write/read request. (https://aws.amazon.com/dynamodb/pricing/on-demand/) Does it mean that even failed API calls ( Internal Error 500, ProvisionedThroughputExceededException) will be charged ?