pub trait WorkmailMessageFlow {
// Required methods
fn get_raw_message_content<'life0, 'async_trait>(
&'life0 self,
input: GetRawMessageContentRequest,
) -> Pin<Box<dyn Future<Output = Result<GetRawMessageContentResponse, RusotoError<GetRawMessageContentError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn put_raw_message_content<'life0, 'async_trait>(
&'life0 self,
input: PutRawMessageContentRequest,
) -> Pin<Box<dyn Future<Output = Result<PutRawMessageContentResponse, RusotoError<PutRawMessageContentError>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
Trait representing the capabilities of the Amazon WorkMail Message Flow API. Amazon WorkMail Message Flow clients implement this trait.
Required Methods§
Sourcefn get_raw_message_content<'life0, 'async_trait>(
&'life0 self,
input: GetRawMessageContentRequest,
) -> Pin<Box<dyn Future<Output = Result<GetRawMessageContentResponse, RusotoError<GetRawMessageContentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_raw_message_content<'life0, 'async_trait>(
&'life0 self,
input: GetRawMessageContentRequest,
) -> Pin<Box<dyn Future<Output = Result<GetRawMessageContentResponse, RusotoError<GetRawMessageContentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Retrieves the raw content of an in-transit email message, in MIME format.
Sourcefn put_raw_message_content<'life0, 'async_trait>(
&'life0 self,
input: PutRawMessageContentRequest,
) -> Pin<Box<dyn Future<Output = Result<PutRawMessageContentResponse, RusotoError<PutRawMessageContentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn put_raw_message_content<'life0, 'async_trait>(
&'life0 self,
input: PutRawMessageContentRequest,
) -> Pin<Box<dyn Future<Output = Result<PutRawMessageContentResponse, RusotoError<PutRawMessageContentError>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Updates the raw content of an in-transit email message, in MIME format.
This example describes how to update in-transit email message. For more information and examples for using this API, see Updating message content with AWS Lambda.
Updates to an in-transit message only appear when you call PutRawMessageContent
from an AWS Lambda function configured with a synchronous Run Lambda rule. If you call PutRawMessageContent
on a delivered or sent message, the message remains unchanged, even though GetRawMessageContent returns an updated message.