Struct aws_sdk_sesv2::types::VerificationInfo
source · #[non_exhaustive]pub struct VerificationInfo {
pub last_checked_timestamp: Option<DateTime>,
pub last_success_timestamp: Option<DateTime>,
pub error_type: Option<VerificationError>,
pub soa_record: Option<SoaRecord>,
}Expand description
An object that contains additional information about the verification status for the identity.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.last_checked_timestamp: Option<DateTime>The last time a verification attempt was made for this identity.
last_success_timestamp: Option<DateTime>The last time a successful verification was made for this identity.
error_type: Option<VerificationError>Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity. Below are the possible values:
-
INVALID_VALUE– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. -
TYPE_NOT_FOUND– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. -
HOST_NOT_FOUND– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). -
SERVICE_ERROR– A temporary issue is preventing Amazon SES from determining the verification status of the domain. -
DNS_SERVER_ERROR– The DNS server encountered an issue and was unable to complete the request.
soa_record: Option<SoaRecord>An object that contains information about the start of authority (SOA) record associated with the identity.
Implementations§
source§impl VerificationInfo
impl VerificationInfo
sourcepub fn last_checked_timestamp(&self) -> Option<&DateTime>
pub fn last_checked_timestamp(&self) -> Option<&DateTime>
The last time a verification attempt was made for this identity.
sourcepub fn last_success_timestamp(&self) -> Option<&DateTime>
pub fn last_success_timestamp(&self) -> Option<&DateTime>
The last time a successful verification was made for this identity.
sourcepub fn error_type(&self) -> Option<&VerificationError>
pub fn error_type(&self) -> Option<&VerificationError>
Provides the reason for the failure describing why Amazon SES was not able to successfully verify the identity. Below are the possible values:
-
INVALID_VALUE– Amazon SES was able to find the record, but the value contained within the record was invalid. Ensure you have published the correct values for the record. -
TYPE_NOT_FOUND– The queried hostname exists but does not have the requested type of DNS record. Ensure that you have published the correct type of DNS record. -
HOST_NOT_FOUND– The queried hostname does not exist or was not reachable at the time of the request. Ensure that you have published the required DNS record(s). -
SERVICE_ERROR– A temporary issue is preventing Amazon SES from determining the verification status of the domain. -
DNS_SERVER_ERROR– The DNS server encountered an issue and was unable to complete the request.
sourcepub fn soa_record(&self) -> Option<&SoaRecord>
pub fn soa_record(&self) -> Option<&SoaRecord>
An object that contains information about the start of authority (SOA) record associated with the identity.
source§impl VerificationInfo
impl VerificationInfo
sourcepub fn builder() -> VerificationInfoBuilder
pub fn builder() -> VerificationInfoBuilder
Creates a new builder-style object to manufacture VerificationInfo.
Trait Implementations§
source§impl Clone for VerificationInfo
impl Clone for VerificationInfo
source§fn clone(&self) -> VerificationInfo
fn clone(&self) -> VerificationInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for VerificationInfo
impl Debug for VerificationInfo
source§impl PartialEq for VerificationInfo
impl PartialEq for VerificationInfo
source§fn eq(&self, other: &VerificationInfo) -> bool
fn eq(&self, other: &VerificationInfo) -> bool
self and other values to be equal, and is used
by ==.