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.
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 = 'john@myemail.com'
print 'arn:aws:ses:us-east-1:'+account_num+':identity/'+identity
ARN
arn:aws:ses:us-east-1:1234567890:identity/john@myemail.com