| 1 | package Net::Amazon::S3::Operation::Object::Upload::Create::Response; | ||
| 2 | # ABSTRACT: An internal class to handle create multipart upload response | ||
| 3 | 99 | $Net::Amazon::S3::Operation::Object::Upload::Create::Response::VERSION = '0.991'; | |
| 4 | 99 | ▶ | use Moose; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 5 | |||
| 6 | 99 | extends 'Net::Amazon::S3::Response'; | |
| 7 | |||
| 8 | sub upload_id { | ||
| 9 | 1 | ▶ | $_[0]->_data->{upload_id}; |
|
Subroutine
upload_id: called CC=1 SCAR=0.0
Pod
undocumented
| |||
| 10 | } | ||
| 11 | |||
| 12 | sub _parse_data { | ||
| 13 | 1 | ▶ | my ($self) = @_; |
|
Subroutine
_parse_data: called CC=1 SCAR=0.0
| |||
| 14 | |||
| 15 | 1 | my $xpc = $self->xpath_context; | |
| 16 | |||
| 17 | 1 | my $data = { | |
| 18 | upload_id => scalar $xpc->findvalue ("//s3:UploadId"), | ||
| 19 | }; | ||
| 20 | |||
| 21 | 1 | return $data; | |
| 22 | } | ||
| 23 | |||
| 24 | 99 | 1; | |
| 25 | |||
| 26 | __END__ | ||
| 27 | |||
| 28 | =pod | ||
| 29 | |||
| 30 | =encoding UTF-8 | ||
| 31 | |||
| 32 | =head1 NAME | ||
| 33 | |||
| 34 | Net::Amazon::S3::Operation::Object::Upload::Create::Response - An internal class to handle create multipart upload response | ||
| 35 | |||
| 36 | =head1 VERSION | ||
| 37 | |||
| 38 | version 0.991 | ||
| 39 | |||
| 40 | =head1 DESCRIPTION | ||
| 41 | |||
| 42 | Implement operation L<< CreateMultipartUpload|https://docs.aws.amazon.com/AmazonS3/latest/API/API_CreateMultipartUpload.html >>. | ||
| 43 | |||
| 44 | =head1 AUTHOR | ||
| 45 | |||
| 46 | Branislav Zahradník <barney@cpan.org> | ||
| 47 | |||
| 48 | =head1 COPYRIGHT AND LICENSE | ||
| 49 | |||
| 50 | This software is copyright (c) 2022 by Amazon Digital Services, Leon Brocard, Brad Fitzpatrick, Pedro Figueiredo, Rusty Conover, Branislav Zahradník. | ||
| 51 | |||
| 52 | This is free software; you can redistribute it and/or modify it under | ||
| 53 | the same terms as the Perl 5 programming language system itself. | ||
| 54 | |||
| 55 | =cut | ||