@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AbstractAmazonWorkMailMessageFlow extends Object implements AmazonWorkMailMessageFlow
AmazonWorkMailMessageFlow
. Convenient method forms pass through to the
corresponding overload that takes a request object, which throws an UnsupportedOperationException
.ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
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.
|
PutRawMessageContentResult |
putRawMessageContent(PutRawMessageContentRequest request)
Updates 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.
|
public GetRawMessageContentResult getRawMessageContent(GetRawMessageContentRequest request)
AmazonWorkMailMessageFlow
Retrieves the raw content of an in-transit email message, in MIME format.
getRawMessageContent
in interface AmazonWorkMailMessageFlow
public PutRawMessageContentResult putRawMessageContent(PutRawMessageContentRequest request)
AmazonWorkMailMessageFlow
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.
putRawMessageContent
in interface AmazonWorkMailMessageFlow
public void shutdown()
AmazonWorkMailMessageFlow
shutdown
in interface AmazonWorkMailMessageFlow
public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
AmazonWorkMailMessageFlow
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 a request.
getCachedResponseMetadata
in interface AmazonWorkMailMessageFlow
request
- The originally executed request.