amazonka-workmailmessageflow-2.0: Amazon WorkMail Message Flow SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.WorkMailMessageFlow.PutRawMessageContent

Description

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

Creating a Request

data PutRawMessageContent Source #

See: newPutRawMessageContent smart constructor.

Constructors

PutRawMessageContent' 

Fields

Instances

Instances details
ToJSON PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

ToHeaders PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

ToPath PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

ToQuery PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

AWSRequest PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Associated Types

type AWSResponse PutRawMessageContent #

Generic PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Associated Types

type Rep PutRawMessageContent :: Type -> Type #

Read PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Show PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

NFData PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Methods

rnf :: PutRawMessageContent -> () #

Eq PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Hashable PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

type AWSResponse PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

type Rep PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

type Rep PutRawMessageContent = D1 ('MetaData "PutRawMessageContent" "Amazonka.WorkMailMessageFlow.PutRawMessageContent" "amazonka-workmailmessageflow-2.0-7ujXrI8MaQr2laiKjfiujc" 'False) (C1 ('MetaCons "PutRawMessageContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RawMessageContent)))

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.

Constructors

PutRawMessageContentResponse' 

Fields

Instances

Instances details
Generic PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Associated Types

type Rep PutRawMessageContentResponse :: Type -> Type #

Read PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Show PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

NFData PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Eq PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

type Rep PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

type Rep PutRawMessageContentResponse = D1 ('MetaData "PutRawMessageContentResponse" "Amazonka.WorkMailMessageFlow.PutRawMessageContent" "amazonka-workmailmessageflow-2.0-7ujXrI8MaQr2laiKjfiujc" 'False) (C1 ('MetaCons "PutRawMessageContentResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

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