AWS SDK와 함께 GetEmailIdentity사용 - AWS SDK 코드 예제

AWS SDK 예제 GitHub 리포지토리에 더 많은 AWS문서 SDK 예제가 있습니다.

AWS SDK와 함께 GetEmailIdentity사용

다음 코드 예시는 GetEmailIdentity의 사용 방법을 보여 줍니다.

Rust
SDK for Rust
참고

GitHub에 더 많은 내용이 있습니다. AWS코드 예 리포지토리에서 전체 예를 찾고 설정 및 실행하는 방법을 배워보세요.

이메일 주소가 확인되었는지 여부를 결정합니다.

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(()) }
  • API 세부 정보는 AWSSDK for Rust API 참조GetEmailIdentity를 참조하세요.