« Net/Amazon/S3/Operation/Object/Tags/Add.pm
↑ Summary
Net/Amazon/S3/Operation/Object/Tags/Add/Response.pm »
| 1 | package Net::Amazon::S3::Operation::Object::Tags::Add::Request; | ||
| 2 | # ABSTRACT: Internal class to build PutObjectTagging request | ||
| 3 | 99 | $Net::Amazon::S3::Operation::Object::Tags::Add::Request::VERSION = '0.991'; | |
| 4 | 99 | ▶ | use Moose 0.85; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 99 | extends 'Net::Amazon::S3::Request::Object'; | |
| 7 | |||
| 8 | 99 | with 'Net::Amazon::S3::Request::Role::Tags::Add'; | |
| 9 | 99 | with 'Net::Amazon::S3::Request::Role::Query::Param::Version_id'; | |
| 10 | |||
| 11 | 99 | __PACKAGE__->meta->make_immutable; | |
| 12 | |||
| 13 | 99 | 1; | |
| 14 | |||
| 15 | __END__ | ||
| 16 | |||
| 17 | =pod | ||
| 18 | |||
| 19 | =encoding UTF-8 | ||
| 20 | |||
| 21 | =head1 NAME | ||
| 22 | |||
| 23 | Net::Amazon::S3::Operation::Object::Tags::Add::Request - Internal class to build PutObjectTagging request | ||
| 24 | |||
| 25 | =head1 VERSION | ||
| 26 | |||
| 27 | version 0.991 | ||
| 28 | |||
| 29 | =head1 SYNOPSIS | ||
| 30 | |||
| 31 | my $request = Net::Amazon::S3::Operation::Bucket::Tags::Add::Request->new ( | ||
| 32 | s3 => $s3, | ||
| 33 | bucket => $bucket, | ||
| 34 | key => $key, | ||
| 35 | tags => { tag1 => 'val1', ... }, | ||
| 36 | ); | ||
| 37 | |||
| 38 | =head1 DESCRIPTION | ||
| 39 | |||
| 40 | This module implements request of L<PUT Object tagging|https://docs.aws.amazon.com/AmazonS3/latest/API/RESTObjectPUTtagging.html> | ||
| 41 | operation. | ||
| 42 | |||
| 43 | =head1 PROPERIES | ||
| 44 | |||
| 45 | =head2 tags | ||
| 46 | |||
| 47 | Mandattory. | ||
| 48 | |||
| 49 | Hashref, key/value tag pairs | ||
| 50 | |||
| 51 | =head2 version_id | ||
| 52 | |||
| 53 | Optional. | ||
| 54 | |||
| 55 | When specified tags on given version will be set. | ||
| 56 | |||
| 57 | =head1 AUTHOR | ||
| 58 | |||
| 59 | Branislav Zahradník <barney@cpan.org> | ||
| 60 | |||
| 61 | =head1 COPYRIGHT AND LICENSE | ||
| 62 | |||
| 63 | This module is a part of L<Net::Amazon::S3> distribution. | ||
| 64 | |||
| 65 | =head1 AUTHOR | ||
| 66 | |||
| 67 | Branislav Zahradník <barney@cpan.org> | ||
| 68 | |||
| 69 | =head1 COPYRIGHT AND LICENSE | ||
| 70 | |||
| 71 | This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník. | ||
| 72 | |||
| 73 | This is free software; you can redistribute it and/or modify it under | ||
| 74 | the same terms as the Perl 5 programming language system itself. | ||
| 75 | |||
| 76 | =cut | ||