| Net-Amazon-S3 documentation | Contained in the Net-Amazon-S3 distribution. |
Net::Amazon::S3::Request::ListAllMyBuckets - An internal class to list all buckets
my $http_request
= Net::Amazon::S3::Request::ListAllMyBuckets->new( s3 => $s3 )
->http_request;
This module lists all buckets.
This method returns a HTTP::Request object.
| Net-Amazon-S3 documentation | Contained in the Net-Amazon-S3 distribution. |
package Net::Amazon::S3::Request::ListAllMyBuckets; use Moose; use MooseX::StrictConstructor; extends 'Net::Amazon::S3::Request'; __PACKAGE__->meta->make_immutable; sub http_request { my $self = shift; return Net::Amazon::S3::HTTPRequest->new( s3 => $self->s3, method => 'GET', path => '', )->http_request; } 1; __END__