@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonWorkMailMessageFlowAsyncClient extends AmazonWorkMailMessageFlowClient implements AmazonWorkMailMessageFlowAsync
AsyncHandler can be used to receive
notification when an asynchronous operation completes.
The WorkMail Message Flow API provides access to email messages as they are being sent and received by a WorkMail organization.
LOGGING_AWS_REQUEST_METRICENDPOINT_PREFIX| Modifier and Type | Method and Description |
|---|---|
static AmazonWorkMailMessageFlowAsyncClientBuilder |
asyncBuilder() |
ExecutorService |
getExecutorService()
Returns the executor service used by this client to execute async requests.
|
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.
|
void |
shutdown()
Shuts down the client, releasing all managed resources.
|
builder, getCachedResponseMetadata, getRawMessageContentaddRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffsetequals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCachedResponseMetadata, getRawMessageContentpublic static AmazonWorkMailMessageFlowAsyncClientBuilder asyncBuilder()
public ExecutorService getExecutorService()
public Future<GetRawMessageContentResult> getRawMessageContentAsync(GetRawMessageContentRequest request)
AmazonWorkMailMessageFlowAsyncRetrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContentAsync in interface AmazonWorkMailMessageFlowAsyncpublic Future<GetRawMessageContentResult> getRawMessageContentAsync(GetRawMessageContentRequest request, AsyncHandler<GetRawMessageContentRequest,GetRawMessageContentResult> asyncHandler)
AmazonWorkMailMessageFlowAsyncRetrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContentAsync in interface AmazonWorkMailMessageFlowAsyncasyncHandler - 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 void shutdown()
getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to
calling this method.shutdown in interface AmazonWorkMailMessageFlowshutdown in class AmazonWebServiceClientCopyright © 2013 Amazon Web Services, Inc. All Rights Reserved.