async fn set_identity_mail_from_domain(
        &self,
        input: SetIdentityMailFromDomainRequest,
    ) -> Result<SetIdentityMailFromDomainResponse, RusotoError<SetIdentityMailFromDomainError>>
    {
        let mut request = SignedRequest::new("POST", "email", &self.region, "/");
        let params = self.new_params("SetIdentityMailFromDomain");
        let mut params = params;
        SetIdentityMailFromDomainRequestSerializer::serialize(&mut params, "", &input);
        request.set_payload(Some(serde_urlencoded::to_string(&params).unwrap()));
        request.set_content_type("application/x-www-form-urlencoded".to_owned());

        let response = self
            .sign_and_dispatch(request, SetIdentityMailFromDomainError::from_response)
            .await?;

        let result = SetIdentityMailFromDomainResponse::default();

        drop(response); // parse non-payload
        Ok(result)
    }
<p>Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).</p> <important> <p>To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the <a href="https://docs.aws.amazon.com/ses/latest/DeveloperGuide/mail-from-set.html">Amazon SES Developer Guide</a>.</p> </important> <p>You can execute this operation no more than once per second.</p>
rusoto/services/ses/src/generated.rs