CounterInterceptor
Interceptor that handles counter fields defined on schema attributes by incrementing them on each mutating operation. This affects the following operations:
PutItemis intercepted in modifyBeforeInvocation to update the low-level request item with the incremented field valuesUpdateItemis intercepted in modifyBeforeSerialization to augment the high-level request's update expressionBatchWriteItemis intercepted in modifyBeforeInvocation to update the items of each low-level put requestTransactWriteItemsis intercepted in both modifyBeforeSerialization (to augment the update expression of eachUpdateaction) and modifyBeforeInvocation (to update the items of each low-levelPutaction)
Counter fields are read from the schema associated with each operation. For the single-item operations this is the operation's serialize schema; for the multi-table operations (BatchWriteItem and TransactWriteItems) the operation-level schema is a placeholder, so the per-table schemas carried by the request are used instead.
Functions
A modify hook that runs before the Low-level invocation step
A modify hook that runs before the Serialization step
Inherited functions
A modify hook that runs before the Completion step
A modify hook that runs before the Deserialization step
A read-only hook that runs after the Deserialization step
A read-only hook that runs after the Initialization step
A read-only hook that runs after the Low-level invocation step
A read-only hook that runs after the Serialization step
A read-only hook that runs before the Completion step
A read-only hook that runs before the Deserialization step
A read-only hook that runs before the Low-level invocation step
A read-only hook that runs before the Serialization step