aws_sdk_mailmanager/client/
get_archive_message_content.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 [`GetArchiveMessageContent`](crate::operation::get_archive_message_content::builders::GetArchiveMessageContentFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`archived_message_id(impl Into<String>)`](crate::operation::get_archive_message_content::builders::GetArchiveMessageContentFluentBuilder::archived_message_id) / [`set_archived_message_id(Option<String>)`](crate::operation::get_archive_message_content::builders::GetArchiveMessageContentFluentBuilder::set_archived_message_id):<br>required: **true**<br><p>The unique identifier of the archived email message.</p><br>
7    /// - On success, responds with [`GetArchiveMessageContentOutput`](crate::operation::get_archive_message_content::GetArchiveMessageContentOutput) with field(s):
8    ///   - [`body(Option<MessageBody>)`](crate::operation::get_archive_message_content::GetArchiveMessageContentOutput::body): <p>The textual body content of the email message.</p>
9    /// - On failure, responds with [`SdkError<GetArchiveMessageContentError>`](crate::operation::get_archive_message_content::GetArchiveMessageContentError)
10    pub fn get_archive_message_content(&self) -> crate::operation::get_archive_message_content::builders::GetArchiveMessageContentFluentBuilder {
11        crate::operation::get_archive_message_content::builders::GetArchiveMessageContentFluentBuilder::new(self.handle.clone())
12    }
13}