How to get the Identity ARN of a verified SES email? I have an SES email which is verified and I want to get the Identity ARN to assign it to Cognito programmatically. Looking into the Boto3 config I can not find any method giving me this information. The closest I get is list_verified_email_addresses, which just gives me the email if it is verified... no way how to get the ARN from that.
In the Amazon SES console, under Identity Management, choose Email Addresses. In the list of email addresses, locate the email address you're verifying. If the email address was verified, the value in the Status column is "verified".
On the All metrics tab, choose SES. Choose the dimension name that you entered when you created the configuration set. For example, choose ses:caller-identity. Under the ses:caller-identity column, you'll see the IAM user who sent the test email.
If the request to SES succeeds, SES returns a success response to the sender. This message includes the message ID, a string of characters that uniquely identifies the request.
From Boto3 docs, there is no support to get the identity ARN. But you can construct it easily. Assuming you are in us-east-1
(or get the region using Boto3):
account_num = '1234567890'
identity = '[email protected]'
print 'arn:aws:ses:us-east-1:'+account_num+':identity/'+identity
ARN
arn:aws:ses:us-east-1:1234567890:identity/[email protected]
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With