The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Paws::WorkMailMessageFlow - Perl Interface to AWS Amazon WorkMail Message Flow

SYNOPSIS

  use Paws;

  my $obj = Paws->service('WorkMailMessageFlow');
  my $res = $obj->Method(
    Arg1 => $val1,
    Arg2 => [ 'V1', 'V2' ],
    # if Arg3 is an object, the HashRef will be used as arguments to the constructor
    # of the arguments type
    Arg3 => { Att1 => 'Val1' },
    # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
    # the constructor of the arguments type
    Arg4 => [ { Att1 => 'Val1'  }, { Att1 => 'Val2' } ],
  );

DESCRIPTION

The WorkMail Message Flow API provides access to email messages as they are being sent and received by a WorkMail organization.

For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/workmailmessageflow-2019-05-01

METHODS

GetRawMessageContent

MessageId => Str

Each argument is described in detail in: Paws::WorkMailMessageFlow::GetRawMessageContent

Returns: a Paws::WorkMailMessageFlow::GetRawMessageContentResponse instance

Retrieves the raw content of an in-transit email message, in MIME format.

PutRawMessageContent

Content => Paws::WorkMailMessageFlow::RawMessageContent
MessageId => Str

Each argument is described in detail in: Paws::WorkMailMessageFlow::PutRawMessageContent

Returns: a Paws::WorkMailMessageFlow::PutRawMessageContentResponse instance

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 (https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html).

Updates to an in-transit message only appear when you call PutRawMessageContent from an AWS Lambda function configured with a synchronous Run Lambda (https://docs.aws.amazon.com/workmail/latest/adminguide/lambda.html#synchronous-rules) rule. If you call PutRawMessageContent on a delivered or sent message, the message remains unchanged, even though GetRawMessageContent (https://docs.aws.amazon.com/workmail/latest/APIReference/API_messageflow_GetRawMessageContent.html) returns an updated message.

PAGINATORS

Paginator methods are helpers that repetively call methods that return partial results

SEE ALSO

This service class forms part of Paws

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues