1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`VerifyDomainIdentity`](crate::operation::verify_domain_identity::builders::VerifyDomainIdentityFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`domain(impl Into<String>)`](crate::operation::verify_domain_identity::builders::VerifyDomainIdentityFluentBuilder::domain) / [`set_domain(Option<String>)`](crate::operation::verify_domain_identity::builders::VerifyDomainIdentityFluentBuilder::set_domain):<br>required: **true**<br><p>The domain to be verified.</p><br>
    /// - On success, responds with [`VerifyDomainIdentityOutput`](crate::operation::verify_domain_identity::VerifyDomainIdentityOutput) with field(s):
    ///   - [`verification_token(String)`](crate::operation::verify_domain_identity::VerifyDomainIdentityOutput::verification_token): <p>A TXT record that you must place in the DNS settings of the domain to complete domain verification with Amazon SES.</p> <p>As Amazon SES searches for the TXT record, the domain's verification status is "Pending". When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, to verify the domain, you must restart the verification process from the beginning. The domain's verification status also changes to "Success" when it is DKIM verified.</p>
    /// - On failure, responds with [`SdkError<VerifyDomainIdentityError>`](crate::operation::verify_domain_identity::VerifyDomainIdentityError)
    pub fn verify_domain_identity(&self) -> crate::operation::verify_domain_identity::builders::VerifyDomainIdentityFluentBuilder {
        crate::operation::verify_domain_identity::builders::VerifyDomainIdentityFluentBuilder::new(self.handle.clone())
    }
}