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 |
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.
Instances
newGetRawMessageContent Source #
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.
GetRawMessageContentResponse' | |
|
Instances
Show GetRawMessageContentResponse Source # | |
Defined in Amazonka.WorkMailMessageFlow.GetRawMessageContent showsPrec :: Int -> GetRawMessageContentResponse -> ShowS # show :: GetRawMessageContentResponse -> String # showList :: [GetRawMessageContentResponse] -> ShowS # | |
Generic GetRawMessageContentResponse Source # | |
type Rep GetRawMessageContentResponse Source # | |
Defined in Amazonka.WorkMailMessageFlow.GetRawMessageContent type Rep GetRawMessageContentResponse = D1 ('MetaData "GetRawMessageContentResponse" "Amazonka.WorkMailMessageFlow.GetRawMessageContent" "libZSservicesZSamazonka-workmailmessageflowZSamazonka-workmailmessageflow" 'False) (C1 ('MetaCons "GetRawMessageContentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "messageContent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseBody))) |
newGetRawMessageContentResponse Source #
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.