aws_sdk_mailmanager/client/get_archive_message.rs
1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3 /// Constructs a fluent builder for the [`GetArchiveMessage`](crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`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>
7 /// - On success, responds with [`GetArchiveMessageOutput`](crate::operation::get_archive_message::GetArchiveMessageOutput) with field(s):
8 /// - [`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>
9 /// - [`metadata(Option<Metadata>)`](crate::operation::get_archive_message::GetArchiveMessageOutput::metadata): <p>The metadata about the email.</p>
10 /// - [`envelope(Option<Envelope>)`](crate::operation::get_archive_message::GetArchiveMessageOutput::envelope): <p>The SMTP envelope information of the email.</p>
11 /// - On failure, responds with [`SdkError<GetArchiveMessageError>`](crate::operation::get_archive_message::GetArchiveMessageError)
12 pub fn get_archive_message(&self) -> crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder {
13 crate::operation::get_archive_message::builders::GetArchiveMessageFluentBuilder::new(self.handle.clone())
14 }
15}