Amazon-S3
view release on metacpan or search on metacpan
after the value of marker. To retrieve the next page of results,
use the last key from the current page of results as the marker in
your next request.
See also `next_marker`, below.
If `marker` is omitted,the first page of results is returned.
Returns `undef` on error and a reference to a hash of data on success:
The return value looks like this:
{
bucket => $bucket_name,
prefix => $bucket_prefix,
marker => $bucket_marker,
next_marker => $bucket_next_available_marker,
max_keys => $bucket_max_keys,
is_truncated => $bucket_is_truncated_boolean
keys => [$key1,$key2,...]
}
- next\_marker
A convenience element, useful when paginating with delimiters. The
value of `next_marker`, if present, is the largest (alphabetically)
of all key names and all CommonPrefixes prefixes in the response.
If the `is_truncated` flag is set, request the next page of results
by setting `marker` to the value of `next_marker`. This element
is only present in the response if the `delimiter` parameter was
sent with the request.
Each key is a reference to a hash that looks like this:
{
key => $key,
last_modified => $last_mod_date,
etag => $etag, # An MD5 sum of the stored content.
size => $size, # Bytes
storage_class => $storage_class # Doc?
owner_id => $owner_id,
owner_displayname => $owner_name
}
lib/Amazon/S3.pm view on Meta::CPAN
your next request.
See also C<next_marker>, below.
If C<marker> is omitted,the first page of results is returned.
=back
Returns C<undef> on error and a reference to a hash of data on success:
The return value looks like this:
{
bucket => $bucket_name,
prefix => $bucket_prefix,
marker => $bucket_marker,
next_marker => $bucket_next_available_marker,
max_keys => $bucket_max_keys,
is_truncated => $bucket_is_truncated_boolean
keys => [$key1,$key2,...]
}
lib/Amazon/S3.pm view on Meta::CPAN
A convenience element, useful when paginating with delimiters. The
value of C<next_marker>, if present, is the largest (alphabetically)
of all key names and all CommonPrefixes prefixes in the response.
If the C<is_truncated> flag is set, request the next page of results
by setting C<marker> to the value of C<next_marker>. This element
is only present in the response if the C<delimiter> parameter was
sent with the request.
=back
Each key is a reference to a hash that looks like this:
{
key => $key,
last_modified => $last_mod_date,
etag => $etag, # An MD5 sum of the stored content.
size => $size, # Bytes
storage_class => $storage_class # Doc?
owner_id => $owner_id,
owner_displayname => $owner_name
}
t/06-list-multipart-uploads.t view on Meta::CPAN
my $xml = $bucket_obj->list_multipart_uploads;
ok( $xml =~ /^</xms, 'is xml result' );
my $uploads = XMLin( $xml, KeepRoot => $TRUE );
isa_ok( $uploads, 'HASH', 'made a hash object' )
or diag($uploads);
ok( defined $uploads->{ListMultipartUploadsResult},
'looks like a results object' )
or diag($xml);
my $upload_list = $uploads->{ListMultipartUploadsResult}->{Upload};
return $upload_list;
}
1;
( run in 0.513 second using v1.01-cache-2.11-cpan-64827b87656 )