When deserializing a DynamodbEvent, the contained DynamodbEvent.DynamodbStreamRecord#dynamodb (type: StreamRecord) is completely loaded: keys and new and old images (when present, obviously).
But when attempted to deserialize directly a DynamodbEvent.DynamodbStreamRecord, the contained DynamodbEvent.DynamodbStreamRecord#dynamodb (type: StreamRecord) is NOT loaded correctly.
Created demonstration test available at Add test for DynamodbEvent.DynamodbStreamRecord load:
Why? What am I missing?