blib/lib/Paws/WorkMailMessageFlow.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 8 Podpod 0.0% 0 / 7 totaltotal 0.0% 0 / 34 CC 1 SCAR 6.9
CC
1
Cov
0%
service
2.0
signing_name
2.0
version
2.0
CRAP 2.0
1 package Paws::WorkMailMessageFlow;
2 use Moose;
3 sub service { 'workmailmessageflow' }
4 sub signing_name { 'workmailmessageflow' }
5 sub version { '2019-05-01' }
6 sub flattened_arrays { 0 }
7 has max_attempts => (is => 'ro', isa => 'Int', default => 5);
8 has retry => (is => 'ro', isa => 'HashRef', default => sub {
9 { base => 'rand', type => 'exponential', growth_factor => 2 }
10 });
11 has retriables => (is => 'ro', isa => 'ArrayRef', default => sub { [
12 ] });
13  
14 with 'Paws::API::Caller', 'Paws::API::EndpointResolver', 'Paws::Net::V4Signature', 'Paws::Net::RestJsonCaller';
15  
16
17 sub GetRawMessageContent {
18 my $self = shift;
19 my $call_object = $self->new_with_coercions('Paws::WorkMailMessageFlow::GetRawMessageContent', @_);
20 return $self->caller->do_call($self, $call_object);
21 }
22 sub PutRawMessageContent {
23 my $self = shift;
24 my $call_object = $self->new_with_coercions('Paws::WorkMailMessageFlow::PutRawMessageContent', @_);
25 return $self->caller->do_call($self, $call_object);
26 }
27
28  
29  
30 sub operations { qw/GetRawMessageContent PutRawMessageContent / }
31  
32 1;
33  
34 ### main pod documentation begin ###
35  
36 =head1 NAME
37  
38 Paws::WorkMailMessageFlow - Perl Interface to AWS Amazon WorkMail Message Flow
39  
40 =head1 SYNOPSIS
41  
42 use Paws;
43  
44 my $obj = Paws->service('WorkMailMessageFlow');
45 my $res = $obj->Method(
46 Arg1 => $val1,
47 Arg2 => [ 'V1', 'V2' ],
48 # if Arg3 is an object, the HashRef will be used as arguments to the constructor
49 # of the arguments type
50 Arg3 => { Att1 => 'Val1' },
51 # if Arg4 is an array of objects, the HashRefs will be passed as arguments to
52 # the constructor of the arguments type
53 Arg4 => [ { Att1 => 'Val1' }, { Att1 => 'Val2' } ],
54 );
55  
56 =head1 DESCRIPTION
57  
58 The WorkMail Message Flow API provides access to email messages as they
59 are being sent and received by a WorkMail organization.
60  
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workmailmessageflow-2019-05-01>
62  
63  
64 =head1 METHODS
65  
66 =head2 GetRawMessageContent
67  
68 =over
69  
70 =item MessageId => Str
71  
72  
73 =back
74  
75 Each argument is described in detail in: L<Paws::WorkMailMessageFlow::GetRawMessageContent>
76  
77 Returns: a L<Paws::WorkMailMessageFlow::GetRawMessageContentResponse> instance
78  
79 Retrieves the raw content of an in-transit email message, in MIME
80 format.
81  
82  
83 =head2 PutRawMessageContent
84  
85 =over
86  
87 =item Content => L<Paws::WorkMailMessageFlow::RawMessageContent>
88  
89 =item MessageId => Str
90  
91  
92 =back
93  
94 Each argument is described in detail in: L<Paws::WorkMailMessageFlow::PutRawMessageContent>
95  
96 Returns: a L<Paws::WorkMailMessageFlow::PutRawMessageContentResponse> instance
97  
98 Updates the raw content of an in-transit email message, in MIME format.
99  
100 This example describes how to update in-transit email message. For more
101 information and examples for using this API, see Updating message
102 content with AWS Lambda
103 (https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html).
104  
105 Updates to an in-transit message only appear when you call
106 C<PutRawMessageContent> from an AWS Lambda function configured with a
107 synchronous Run Lambda
108 (https://docs.aws.amazon.com/workmail/latest/adminguide/lambda.html#synchronous-rules)
109 rule. If you call C<PutRawMessageContent> on a delivered or sent
110 message, the message remains unchanged, even though
111 GetRawMessageContent
112 (https://docs.aws.amazon.com/workmail/latest/APIReference/API_messageflow_GetRawMessageContent.html)
113 returns an updated message.
114  
115  
116  
117  
118 =head1 PAGINATORS
119  
120 Paginator methods are helpers that repetively call methods that return partial results
121  
122  
123  
124  
125 =head1 SEE ALSO
126  
127 This service class forms part of L<Paws>
128  
129 =head1 BUGS and CONTRIBUTIONS
130  
131 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
132  
133 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
134  
135 =cut
136