Email DSN configuring Amazon SES-API error

Your software
My Mautic version is: 5.0.4
My PHP version is: 8.1.27
My Database type and version is: mysql Ver 15.1 Distrib 10.5.23-MariaDB, for Linux (x86_64) using EditLine wrapper

Your problem
My problem is: Is that after installing Mautic in AWS EC2 with AWS Linux I got error in configuring the email settings with AWS SES

These errors are showing in the log:

Here are the errors I got:


after installing the amazon-mailer:

Steps I have tried to fix the problem:

work on which is the next thing to proceed in this error I have installed everything and I need some steps further I even created another policy on Amazon SES.

error when I installit

Got this error: