Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
Synopsis
- data PutRawMessageContent = PutRawMessageContent' {}
- newPutRawMessageContent :: Text -> RawMessageContent -> PutRawMessageContent
- putRawMessageContent_messageId :: Lens' PutRawMessageContent Text
- putRawMessageContent_content :: Lens' PutRawMessageContent RawMessageContent
- data PutRawMessageContentResponse = PutRawMessageContentResponse' {
- httpStatus :: Int
- newPutRawMessageContentResponse :: Int -> PutRawMessageContentResponse
- putRawMessageContentResponse_httpStatus :: Lens' PutRawMessageContentResponse Int
Creating a Request
data PutRawMessageContent Source #
See: newPutRawMessageContent
smart constructor.
PutRawMessageContent' | |
|
Instances
newPutRawMessageContent Source #
Create a value of PutRawMessageContent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:messageId:PutRawMessageContent'
, putRawMessageContent_messageId
- The identifier of the email message being updated.
$sel:content:PutRawMessageContent'
, putRawMessageContent_content
- Describes the raw message content of the updated email message.
Request Lenses
putRawMessageContent_messageId :: Lens' PutRawMessageContent Text Source #
The identifier of the email message being updated.
putRawMessageContent_content :: Lens' PutRawMessageContent RawMessageContent Source #
Describes the raw message content of the updated email message.
Destructuring the Response
data PutRawMessageContentResponse Source #
See: newPutRawMessageContentResponse
smart constructor.
PutRawMessageContentResponse' | |
|
Instances
newPutRawMessageContentResponse Source #
Create a value of PutRawMessageContentResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:PutRawMessageContentResponse'
, putRawMessageContentResponse_httpStatus
- The response's http status code.
Response Lenses
putRawMessageContentResponse_httpStatus :: Lens' PutRawMessageContentResponse Int Source #
The response's http status code.