@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonWorkMailMessageFlowAsync extends AbstractAmazonWorkMailMessageFlow implements AmazonWorkMailMessageFlowAsync
AmazonWorkMailMessageFlowAsync
. Convenient method forms pass through to the
corresponding overload that takes a request object and an AsyncHandler
, which throws an
UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
Future<GetRawMessageContentResult> |
getRawMessageContentAsync(GetRawMessageContentRequest request)
Retrieves the raw content of an in-transit email message, in MIME format.
|
Future<GetRawMessageContentResult> |
getRawMessageContentAsync(GetRawMessageContentRequest request,
AsyncHandler<GetRawMessageContentRequest,GetRawMessageContentResult> asyncHandler)
Retrieves the raw content of an in-transit email message, in MIME format.
|
Future<PutRawMessageContentResult> |
putRawMessageContentAsync(PutRawMessageContentRequest request)
Updates the raw content of an in-transit email message, in MIME format.
|
Future<PutRawMessageContentResult> |
putRawMessageContentAsync(PutRawMessageContentRequest request,
AsyncHandler<PutRawMessageContentRequest,PutRawMessageContentResult> asyncHandler)
Updates the raw content of an in-transit email message, in MIME format.
|
getCachedResponseMetadata, getRawMessageContent, putRawMessageContent, shutdown
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getCachedResponseMetadata, getRawMessageContent, putRawMessageContent, shutdown
public Future<GetRawMessageContentResult> getRawMessageContentAsync(GetRawMessageContentRequest request)
AmazonWorkMailMessageFlowAsync
Retrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContentAsync
in interface AmazonWorkMailMessageFlowAsync
public Future<GetRawMessageContentResult> getRawMessageContentAsync(GetRawMessageContentRequest request, AsyncHandler<GetRawMessageContentRequest,GetRawMessageContentResult> asyncHandler)
AmazonWorkMailMessageFlowAsync
Retrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContentAsync
in interface AmazonWorkMailMessageFlowAsync
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.public Future<PutRawMessageContentResult> putRawMessageContentAsync(PutRawMessageContentRequest request)
AmazonWorkMailMessageFlowAsync
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.
putRawMessageContentAsync
in interface AmazonWorkMailMessageFlowAsync
public Future<PutRawMessageContentResult> putRawMessageContentAsync(PutRawMessageContentRequest request, AsyncHandler<PutRawMessageContentRequest,PutRawMessageContentResult> asyncHandler)
AmazonWorkMailMessageFlowAsync
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.
putRawMessageContentAsync
in interface AmazonWorkMailMessageFlowAsync
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.