1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetMessageInsights`](crate::operation::get_message_insights::builders::GetMessageInsightsFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`message_id(impl Into<String>)`](crate::operation::get_message_insights::builders::GetMessageInsightsFluentBuilder::message_id) / [`set_message_id(Option<String>)`](crate::operation::get_message_insights::builders::GetMessageInsightsFluentBuilder::set_message_id):<br>required: **true**<br><p>A <code>MessageId</code> is a unique identifier for a message, and is returned when sending emails through Amazon SES.</p><br>
    /// - On success, responds with [`GetMessageInsightsOutput`](crate::operation::get_message_insights::GetMessageInsightsOutput) with field(s):
    ///   - [`message_id(Option<String>)`](crate::operation::get_message_insights::GetMessageInsightsOutput::message_id): <p>A unique identifier for the message.</p>
    ///   - [`from_email_address(Option<String>)`](crate::operation::get_message_insights::GetMessageInsightsOutput::from_email_address): <p>The from address used to send the message.</p>
    ///   - [`subject(Option<String>)`](crate::operation::get_message_insights::GetMessageInsightsOutput::subject): <p>The subject line of the message.</p>
    ///   - [`email_tags(Option<Vec::<MessageTag>>)`](crate::operation::get_message_insights::GetMessageInsightsOutput::email_tags): <p>A list of tags, in the form of name/value pairs, that were applied to the email you sent, along with Amazon SES <a href="https://docs.aws.amazon.com/ses/latest/dg/monitor-using-event-publishing.html">Auto-Tags</a>.</p>
    ///   - [`insights(Option<Vec::<EmailInsights>>)`](crate::operation::get_message_insights::GetMessageInsightsOutput::insights): <p>A set of insights associated with the message.</p>
    /// - On failure, responds with [`SdkError<GetMessageInsightsError>`](crate::operation::get_message_insights::GetMessageInsightsError)
    pub fn get_message_insights(&self) -> crate::operation::get_message_insights::builders::GetMessageInsightsFluentBuilder {
        crate::operation::get_message_insights::builders::GetMessageInsightsFluentBuilder::new(self.handle.clone())
    }
}