The return-consumed-capacity option returns the capacity used by an operation. It can have three values: TOTAL returns the aggregate capacity units consumed, ALL_OLD returns the values of all items before updating (changed or not), and ALL_NEW returns the values of all items after updating (changed or not). These values apply to all operations, except ALL_NEW, which is not applicable for delete-item.