@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public interface AmazonWorkMailMessageFlowAsync extends AmazonWorkMailMessageFlow
AsyncHandler
can be used to
receive notification when an asynchronous operation completes.
Note: Do not directly implement this interface, new methods are added to it regularly. Extend from
AbstractAmazonWorkMailMessageFlowAsync
instead.
The WorkMail Message Flow API provides access to email messages as they are being sent and received by a WorkMail organization.
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<GetRawMessageContentResult> |
getRawMessageContentAsync(GetRawMessageContentRequest getRawMessageContentRequest)
Retrieves the raw content of an in-transit email message, in MIME format.
|
Future<GetRawMessageContentResult> |
getRawMessageContentAsync(GetRawMessageContentRequest getRawMessageContentRequest,
AsyncHandler<GetRawMessageContentRequest,GetRawMessageContentResult> asyncHandler)
Retrieves the raw content of an in-transit email message, in MIME format.
|
Future<PutRawMessageContentResult> |
putRawMessageContentAsync(PutRawMessageContentRequest putRawMessageContentRequest)
Updates the raw content of an in-transit email message, in MIME format.
|
Future<PutRawMessageContentResult> |
putRawMessageContentAsync(PutRawMessageContentRequest putRawMessageContentRequest,
AsyncHandler<PutRawMessageContentRequest,PutRawMessageContentResult> asyncHandler)
Updates the raw content of an in-transit email message, in MIME format.
|
getCachedResponseMetadata, getRawMessageContent, putRawMessageContent, shutdown
Future<GetRawMessageContentResult> getRawMessageContentAsync(GetRawMessageContentRequest getRawMessageContentRequest)
Retrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContentRequest
- Future<GetRawMessageContentResult> getRawMessageContentAsync(GetRawMessageContentRequest getRawMessageContentRequest, AsyncHandler<GetRawMessageContentRequest,GetRawMessageContentResult> asyncHandler)
Retrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContentRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.Future<PutRawMessageContentResult> putRawMessageContentAsync(PutRawMessageContentRequest putRawMessageContentRequest)
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.
putRawMessageContentRequest
- Future<PutRawMessageContentResult> putRawMessageContentAsync(PutRawMessageContentRequest putRawMessageContentRequest, AsyncHandler<PutRawMessageContentRequest,PutRawMessageContentResult> asyncHandler)
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.
putRawMessageContentRequest
- asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an
implementation of the callback methods in this interface to receive notification of successful or
unsuccessful completion of the operation.