libZSservicesZSamazonka-workmailmessageflowZSamazonka-workmailmessageflow
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

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
Eq PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Read PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Show PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Generic PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Associated Types

type Rep PutRawMessageContent :: Type -> Type #

NFData PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Methods

rnf :: PutRawMessageContent -> () #

Hashable PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

ToJSON PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

AWSRequest PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Associated Types

type AWSResponse 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

type Rep PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

type Rep PutRawMessageContent = D1 ('MetaData "PutRawMessageContent" "Amazonka.WorkMailMessageFlow.PutRawMessageContent" "libZSservicesZSamazonka-workmailmessageflowZSamazonka-workmailmessageflow" 'False) (C1 ('MetaCons "PutRawMessageContent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "messageId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "content") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 RawMessageContent)))
type AWSResponse PutRawMessageContent Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

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
Eq PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Read PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Show PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Generic PutRawMessageContentResponse Source # 
Instance details

Defined in Amazonka.WorkMailMessageFlow.PutRawMessageContent

Associated Types

type Rep PutRawMessageContentResponse :: Type -> Type #

NFData 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" "libZSservicesZSamazonka-workmailmessageflowZSamazonka-workmailmessageflow" '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