WorkMailMessageFlowClientProtocol
The WorkMail Message Flow API provides access to email messages as they are being sent and received by a WorkMail organization.
public protocol WorkMailMessageFlowClientProtocol
Requirements
getRawMessageContent(input:completion:)
Retrieves the raw content of an in-transit email message, in MIME format.
func getRawMessageContent(input: GetRawMessageContentInput, completion: @escaping (ClientRuntime.SdkResult<GetRawMessageContentOutputResponse, GetRawMessageContentOutputError>) -> Void)
putRawMessageContent(input:completion:)
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.
func putRawMessageContent(input: PutRawMessageContentInput, completion: @escaping (ClientRuntime.SdkResult<PutRawMessageContentOutputResponse, PutRawMessageContentOutputError>) -> Void)