Amazon::S3

Amazon::S3 is a portable client library for working with and managing Amazon S3 buckets and keys.
Download

Amazon::S3 Ranking & Summary

Advertisement

  • Rating:
  • License:
  • Perl Artistic License
  • Price:
  • FREE
  • Publisher Name:
  • Timothy Appnel
  • Publisher web site:
  • http://search.cpan.org/~tima/Text-Tiki-0.73/Tiki.pm

Amazon::S3 Tags


Amazon::S3 Description

Amazon::S3 is a portable client library for working with and managing Amazon S3 buckets and keys. Amazon::S3 is a portable client library for working with and managing Amazon S3 buckets and keys.SYNOPSIS #!/usr/bin/perl use warnings; use strict; use Amazon::S3; use vars qw/$OWNER_ID $OWNER_DISPLAYNAME/; my $aws_access_key_id = "Fill me in!"; my $aws_secret_access_key = "Fill me in too!"; my $s3 = Amazon::S3->new( { aws_access_key_id => $aws_access_key_id, aws_secret_access_key => $aws_secret_access_key } ); my $response = $s3->buckets; # create a bucket my $bucket_name = $aws_access_key_id . '-net-amazon-s3-test'; my $bucket = $s3->add_bucket( { bucket => $bucket_name } ) or die $s3->err . ": " . $s3->errstr; # store a key with a content-type and some optional metadata my $keyname = 'testing.txt'; my $value = 'T'; $bucket->add_key( $keyname, $value, { content_type => 'text/plain', 'x-amz-meta-colour' => 'orange', } ); # list keys in the bucket $response = $bucket->list or die $s3->err . ": " . $s3->errstr; print $response->{bucket}."n"; for my $key (@{ $response->{keys} }) { print "t".$key->{key}."n"; } # delete key from bucket $bucket->delete_key($keyname); # delete bucket $bucket->delete_bucket;Amazon::S3 provides a portable client interface to Amazon Simple Storage System (S3)."Amazon S3 is storage for the Internet. It is designed to make web-scale computing easier for developers. Amazon S3 provides a simple web services interface that can be used to store and retrieve any amount of data, at any time, from anywhere on the web. It gives any developer access to the same highly scalable, reliable, fast, inexpensive data storage infrastructure that Amazon uses to run its own global network of web sites. The service aims to maximize benefits of scale and to pass those benefits on to developers". Requirements: · Perl


Amazon::S3 Related Software