Amazon-S3
view release on metacpan or search on metacpan
lib/Amazon/S3/BucketV2.pm view on Meta::CPAN
package Amazon::S3::BucketV2;
use strict;
use warnings;
use Amazon::S3::Constants qw(:all);
use Amazon::S3::Util qw(:all);
use Carp;
use Data::Dumper;
use English qw(-no_match_vars);
use List::Util qw(pairs);
use Scalar::Util qw(reftype);
use parent qw(Amazon::S3::Bucket);
our $VERSION = '2.0.2'; ## no critic (RequireInterpolation)
######################################################################
our @GET_OBJECT_METHODS = (
######################################################################
get_object_acl => 'acl',
get_object_attributes => 'attributes',
get_object_legal_hold => 'legal-hold',
get_object_lock_configuration => 'object-lock',
get_object_retention => 'retention',
get_object_tagging => 'tagging',
get_object_torrent => 'torrent',
get_public_access_block => 'publicAccessBlock',
);
create_methods(
type => 'object',
method => 'GET',
method_def => \@GET_OBJECT_METHODS
);
######################################################################
our @HEAD_OBJECT_METHODS = ( get_object_head => 'head', );
######################################################################
create_methods(
type => 'object',
method => 'HEAD',
method_def => [ head_object => $EMPTY ]
);
create_methods(
type => 'bucket',
method => 'HEAD',
method_def => [ head_bucket => $EMPTY ]
);
######################################################################
our @GET_BUCKET_METHODS = (
######################################################################
get_bucket_accelerate_configuration => 'accelerate',
get_bucket_acl => 'acl',
get_bucket_analytics => 'analytics',
get_bucket_cors => 'cors',
get_bucket_encryption => 'encryption',
get_bucket_intelligent_tiering_configuration => 'intelligent_tiering',
get_bucket_inventory_configuration => 'inventory',
get_bucket_lifecycle_configuration => 'lifecycle',
get_bucket_location => 'location',
get_bucket_logging => 'logging',
get_bucket_metrics_configuration => 'metrics',
get_bucket_notification_configuration => 'notification',
get_bucket_ownership_controls => 'ownershipControls',
get_bucket_policy => 'policy',
( run in 0.842 second using v1.01-cache-2.11-cpan-39bf76dae61 )