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