A new integration should not begin by copying an old PA-API 5 tutorial. Amazon's deprecation notice directs Product Advertising API users toward Creators API.
Use the Product Advertising directory entry as a starting point for an inventory of the product fields your application actually displays. Check the replacement's access requirements and contract, then test one permitted product lookup. Do not assume old credentials, response fields or usage permissions transfer unchanged.