1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateDeliverabilityTestReport`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`report_name(impl Into<String>)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::report_name) / [`set_report_name(Option<String>)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::set_report_name):<br>required: **false**<br><p>A unique name that helps you to identify the predictive inbox placement test when you retrieve the results.</p><br>
    ///   - [`from_email_address(impl Into<String>)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::from_email_address) / [`set_from_email_address(Option<String>)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::set_from_email_address):<br>required: **true**<br><p>The email address that the predictive inbox placement test email was sent from.</p><br>
    ///   - [`content(EmailContent)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::content) / [`set_content(Option<EmailContent>)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::set_content):<br>required: **true**<br><p>The HTML body of the message that you sent when you performed the predictive inbox placement test.</p><br>
    ///   - [`tags(Tag)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::set_tags):<br>required: **false**<br><p>An array of objects that define the tags (keys and values) that you want to associate with the predictive inbox placement test.</p><br>
    /// - On success, responds with [`CreateDeliverabilityTestReportOutput`](crate::operation::create_deliverability_test_report::CreateDeliverabilityTestReportOutput) with field(s):
    ///   - [`report_id(String)`](crate::operation::create_deliverability_test_report::CreateDeliverabilityTestReportOutput::report_id): <p>A unique string that identifies the predictive inbox placement test.</p>
    ///   - [`deliverability_test_status(DeliverabilityTestStatus)`](crate::operation::create_deliverability_test_report::CreateDeliverabilityTestReportOutput::deliverability_test_status): <p>The status of the predictive inbox placement test. If the status is <code>IN_PROGRESS</code>, then the predictive inbox placement test is currently running. Predictive inbox placement tests are usually complete within 24 hours of creating the test. If the status is <code>COMPLETE</code>, then the test is finished, and you can use the <code>GetDeliverabilityTestReport</code> to view the results of the test.</p>
    /// - On failure, responds with [`SdkError<CreateDeliverabilityTestReportError>`](crate::operation::create_deliverability_test_report::CreateDeliverabilityTestReportError)
    pub fn create_deliverability_test_report(
        &self,
    ) -> crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder {
        crate::operation::create_deliverability_test_report::builders::CreateDeliverabilityTestReportFluentBuilder::new(self.handle.clone())
    }
}