Open jsahil730 opened 3 years ago
The main issue is this: https://github.com/JuliaCloud/AWS.jl/blob/master/src/api_generation/low_level.jl#L56
We need to have our services differentiate between signing name and endpoint prefix.
This code needs to use signing name: https://github.com/JuliaCloud/AWS.jl/blob/master/src/utilities/sign.jl#L49
But I believe all other code should use endpoint prefix.
@mattBrzezinski's suggested workaround from the JuliaLang slack is to use SESv1 for now.
For now I'm hardcoding the endpoint to get SESv2 working. Its a hack.
you can take a look at here: https://github.com/krishvishal/AWS.jl/blob/master/src/AWS.jl#L178
Well, I looked into it and SESv1 has always used the same endpoint, so that's not a solution.
@krishvishal If you made that use a dict (const CUSTOM_ENDPOINTS = Dict("ses"=>"email")
) so it could be extended for more services I would accept the PR as a temporary fix!
SESv2 tries to access
ses.<region>.amazonaws.com
while instead the endpoints for this api are supposed to be underemail.<region>.amazonaws.com
; therefore a DNSError is observed with the request.Here is the link to the corresponding API details in botocore.
Can you suggest a good workaround for now as well? Thanks!