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 [`GetArchiveMessage`](crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`archived_message_id(impl Into<String>)`](crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder::archived_message_id) / [`set_archived_message_id(Option<String>)`](crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder::set_archived_message_id):<br>required: **true**<br><p>The unique identifier of the archived email message.</p><br>
    /// - On success, responds with [`GetArchiveMessageOutput`](crate::operation::get_archive_message::GetArchiveMessageOutput) with field(s):
    ///   - [`message_download_link(Option<String>)`](crate::operation::get_archive_message::GetArchiveMessageOutput::message_download_link): <p>A pre-signed URL to temporarily download the full message content.</p>
    /// - On failure, responds with [`SdkError<GetArchiveMessageError>`](crate::operation::get_archive_message::GetArchiveMessageError)
    pub fn get_archive_message(&self) -> crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder {
        crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder::new(self.handle.clone())
    }
}