AWS's SDK for JavaScript version 3 seems to have 2 different clients for Simple Email Service (SES).
I realized I have been using @aws-sdk/client-sesv2 but:
Are we supposed to use v1 or v2? What are the differences between both?
After poking around, the AWS SDK for JavaScript seems to have two versions:
@aws-sdk
: https://www.npmjs.com/package/aws-sdk@aws-sdk/client-*
: e.g., https://www.npmjs.com/package/@aws-sdk/client-sesVersion 2 of the SDK is meant to be entering maintenance mode in 2023.
Now that this first layer of confusion is cleared out, the AWS SES API also has 2 versions:
So based on this investigation, I presume that the packages points to the different API versions.