There are more AWS SDK examples available in the AWS Doc SDK Examples
Use GetEmailIdentity
with an AWS SDK
The following code example shows how to use GetEmailIdentity
.
There are more AWS SDK examples available in the AWS Doc SDK Examples
GetEmailIdentity
with an AWS SDKThe following code example shows how to use GetEmailIdentity
.
There's more on GitHub. Find the complete example and learn how to set up and run in the
AWS Code
Examples Repository
Determines whether an email address has been verified.
async fn is_verified(client: &Client, email: &str) -> Result<(), Error> { let resp = client .get_email_identity() .email_identity(email) .send() .await?; if resp.verified_for_sending_status() { println!("The address is verified"); } else { println!("The address is not verified"); } Ok(()) }
For API details, see
GetEmailIdentity
Thanks for letting us know we're doing a good job!
If you've got a moment, please tell us what we did right so we can do more of it.
Thanks for letting us know this page needs work. We're sorry we let you down.
If you've got a moment, please tell us how we can make the documentation better.