« blib/lib/Paws/WorkMailMessageFlow/RawMessageContent.pm
↑ Summary
blib/lib/Paws/WorkSpaces/AccountModification.pm »
| 1 | # Generated by default/object.tt | ||
| 2 | package Paws::WorkMailMessageFlow::S3Reference; | ||
| 3 | use Moose; | ||
| 4 | has Bucket => (is => 'ro', isa => 'Str', request_name => 'bucket', traits => ['NameInRequest'], required => 1); | ||
| 5 | has Key => (is => 'ro', isa => 'Str', request_name => 'key', traits => ['NameInRequest'], required => 1); | ||
| 6 | has ObjectVersion => (is => 'ro', isa => 'Str', request_name => 'objectVersion', traits => ['NameInRequest']); | ||
| 7 | |||
| 8 | 1; | ||
| 9 | |||
| 10 | ### main pod documentation begin ### | ||
| 11 | |||
| 12 | =head1 NAME | ||
| 13 | |||
| 14 | Paws::WorkMailMessageFlow::S3Reference | ||
| 15 | |||
| 16 | =head1 USAGE | ||
| 17 | |||
| 18 | This class represents one of two things: | ||
| 19 | |||
| 20 | =head3 Arguments in a call to a service | ||
| 21 | |||
| 22 | Use the attributes of this class as arguments to methods. You shouldn't make instances of this class. | ||
| 23 | Each attribute should be used as a named argument in the calls that expect this type of object. | ||
| 24 | |||
| 25 | As an example, if Att1 is expected to be a Paws::WorkMailMessageFlow::S3Reference object: | ||
| 26 | |||
| 27 | $service_obj->Method(Att1 => { Bucket => $value, ..., ObjectVersion => $value }); | ||
| 28 | |||
| 29 | =head3 Results returned from an API call | ||
| 30 | |||
| 31 | Use accessors for each attribute. If Att1 is expected to be an Paws::WorkMailMessageFlow::S3Reference object: | ||
| 32 | |||
| 33 | $result = $service_obj->Method(...); | ||
| 34 | $result->Att1->Bucket | ||
| 35 | |||
| 36 | =head1 DESCRIPTION | ||
| 37 | |||
| 38 | Amazon S3 object representing the updated message content, in MIME | ||
| 39 | format. | ||
| 40 | |||
| 41 | The region for the S3 bucket containing the S3 object must match the | ||
| 42 | region used for WorkMail operations. Also, for WorkMail to process an | ||
| 43 | S3 object, it must have permission to access that object. For more | ||
| 44 | information, see Updating message content with AWS Lambda | ||
| 45 | (https://docs.aws.amazon.com/workmail/latest/adminguide/update-with-lambda.html). | ||
| 46 | |||
| 47 | =head1 ATTRIBUTES | ||
| 48 | |||
| 49 | |||
| 50 | =head2 B<REQUIRED> Bucket => Str | ||
| 51 | |||
| 52 | The S3 bucket name. | ||
| 53 | |||
| 54 | |||
| 55 | =head2 B<REQUIRED> Key => Str | ||
| 56 | |||
| 57 | The S3 key object name. | ||
| 58 | |||
| 59 | |||
| 60 | =head2 ObjectVersion => Str | ||
| 61 | |||
| 62 | If you enable versioning for the bucket, you can specify the object | ||
| 63 | version. | ||
| 64 | |||
| 65 | |||
| 66 | |||
| 67 | =head1 SEE ALSO | ||
| 68 | |||
| 69 | This class forms part of L<Paws>, describing an object used in L<Paws::WorkMailMessageFlow> | ||
| 70 | |||
| 71 | =head1 BUGS and CONTRIBUTIONS | ||
| 72 | |||
| 73 | The source code is located here: L<https://github.com/pplu/aws-sdk-perl> | ||
| 74 | |||
| 75 | Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues> | ||
| 76 | |||
| 77 | =cut | ||
| 78 |