Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Amazonka.WorkMailMessageFlow.GetRawMessageContent
Description
Retrieves the raw content of an in-transit email message, in MIME format.
Synopsis
- data GetRawMessageContent = GetRawMessageContent' {}
- newGetRawMessageContent :: Text -> GetRawMessageContent
- getRawMessageContent_messageId :: Lens' GetRawMessageContent Text
- data GetRawMessageContentResponse = GetRawMessageContentResponse' {}
- newGetRawMessageContentResponse :: Int -> ResponseBody -> GetRawMessageContentResponse
- getRawMessageContentResponse_httpStatus :: Lens' GetRawMessageContentResponse Int
- getRawMessageContentResponse_messageContent :: Lens' GetRawMessageContentResponse ResponseBody
Creating a Request
data GetRawMessageContent Source #
See: newGetRawMessageContent
smart constructor.
Constructors
GetRawMessageContent' | |
Instances
newGetRawMessageContent Source #
Arguments
:: Text | |
-> GetRawMessageContent |
Create a value of GetRawMessageContent
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:GetRawMessageContent'
, getRawMessageContent_messageId
- The identifier of the email message to retrieve.
Request Lenses
getRawMessageContent_messageId :: Lens' GetRawMessageContent Text Source #
The identifier of the email message to retrieve.
Destructuring the Response
data GetRawMessageContentResponse Source #
See: newGetRawMessageContentResponse
smart constructor.
Constructors
GetRawMessageContentResponse' | |
Fields
|
Instances
newGetRawMessageContentResponse Source #
Arguments
:: Int | |
-> ResponseBody | |
-> GetRawMessageContentResponse |
Create a value of GetRawMessageContentResponse
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:GetRawMessageContentResponse'
, getRawMessageContentResponse_httpStatus
- The response's http status code.
$sel:messageContent:GetRawMessageContentResponse'
, getRawMessageContentResponse_messageContent
- The raw content of the email message, in MIME format.
Response Lenses
getRawMessageContentResponse_httpStatus :: Lens' GetRawMessageContentResponse Int Source #
The response's http status code.
getRawMessageContentResponse_messageContent :: Lens' GetRawMessageContentResponse ResponseBody Source #
The raw content of the email message, in MIME format.