I wasn't able to find a straightforward answer for this.
Consider a DynamoDB Put Item request with a condition expression.
Say the condition fails and DynamoDB returns an error. In other words: the Put Item request does not succeed and nothing is effectively written.
Does this request still consume write throuput capacity (or is charged, if the table is in on-demand mode)?