aws_sdk_workmailmessageflow/client/
get_raw_message_content.rs

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 [`GetRawMessageContent`](crate::operation::get_raw_message_content::builders::GetRawMessageContentFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`message_id(impl Into<String>)`](crate::operation::get_raw_message_content::builders::GetRawMessageContentFluentBuilder::message_id) / [`set_message_id(Option<String>)`](crate::operation::get_raw_message_content::builders::GetRawMessageContentFluentBuilder::set_message_id):<br>required: **true**<br><p>The identifier of the email message to retrieve.</p><br>
    /// - On success, responds with [`GetRawMessageContentOutput`](crate::operation::get_raw_message_content::GetRawMessageContentOutput) with field(s):
    ///   - [`message_content(ByteStream)`](crate::operation::get_raw_message_content::GetRawMessageContentOutput::message_content): <p>The raw content of the email message, in MIME format.</p>
    /// - On failure, responds with [`SdkError<GetRawMessageContentError>`](crate::operation::get_raw_message_content::GetRawMessageContentError)
    pub fn get_raw_message_content(&self) -> crate::operation::get_raw_message_content::builders::GetRawMessageContentFluentBuilder {
        crate::operation::get_raw_message_content::builders::GetRawMessageContentFluentBuilder::new(self.handle.clone())
    }
}