@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonWorkMailMessageFlowClient extends AmazonWebServiceClient implements AmazonWorkMailMessageFlow
The WorkMail Message Flow API provides access to email messages as they are being sent and received by a WorkMail organization.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
static AmazonWorkMailMessageFlowClientBuilder |
builder() |
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetRawMessageContentResult |
getRawMessageContent(GetRawMessageContentRequest request)
Retrieves the raw content of an in-transit email message, in MIME format.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonWorkMailMessageFlowClientBuilder builder()
public GetRawMessageContentResult getRawMessageContent(GetRawMessageContentRequest request)
Retrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContent
in interface AmazonWorkMailMessageFlow
getRawMessageContentRequest
- ResourceNotFoundException
- The requested email message is not found.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonWorkMailMessageFlow
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonWorkMailMessageFlow
shutdown
in class AmazonWebServiceClient