You might find this post useful as others have faced similar questions when around Enrich, S3 Loader and DynamoDB: Does Stream Enrich need DynamoDB connection?
Also searching for DynamoDB on this forum might yield you some help.
Unfortunately I’m not really able to help you much further but I this does seem to be an issue with how you have configured things on AWS, perhaps permissions.