The math is not perfect, but to a good approximation (certainly a far better approximation than the administration's insane computation of international "tariffs") that will indicate the cost to the consumer of Trump's tariff policies.
So yes, if the importer eats a significant chunk of the tariff cost and doesn't pass it on to Amazon/the consumer, the computation will reflect that (as it should). And if they don't, it will reflect that too (as it should).