CounterInterceptor

Interceptor that handles counter fields defined on schema attributes by incrementing them on each mutating operation. This affects the following operations:

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.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

A modify hook that runs before the Low-level invocation step

Link copied to clipboard

A modify hook that runs before the Serialization step

Inherited functions

Link copied to clipboard

A modify hook that runs before the Completion step

Link copied to clipboard

A modify hook that runs before the Deserialization step

Link copied to clipboard

A read-only hook that runs after the Deserialization step

Link copied to clipboard

A read-only hook that runs after the Initialization step

Link copied to clipboard

A read-only hook that runs after the Low-level invocation step

Link copied to clipboard

A read-only hook that runs after the Serialization step

Link copied to clipboard

A read-only hook that runs before the Completion step

Link copied to clipboard

A read-only hook that runs before the Deserialization step

Link copied to clipboard

A read-only hook that runs before the Low-level invocation step

Link copied to clipboard

A read-only hook that runs before the Serialization step