Answer: No
Section 3.2 of the Hulu Terms of Use states:
Hulu is pleased to grant you a non-exclusive limited license to use the Services, including accessing and viewing the Content on a streaming-only basis through the Video Player, for personal, non-commercial purposes as set forth in these Terms.
Although classroom use would be non-commercial, it would not be considered personal use.
Answer: No
Section 4h of the Amazon Prime Video Terms of Use states:
Subject to payment of any charges to rent, purchase, or access Digital Content, and your compliance with all terms of this Agreement, Amazon grants you a [...] limited license, during the applicable Viewing Period, to access and view the Digital Content in accordance with the Usage Rules, for personal, non-commercial, private use.
Although classroom use would be non-commercial, it would not be considered personal or private use.