Softpedia
 


LINUX CATEGORIES:



GLOBAL PAGES >>
NEWS ARCHIVE >>
SOFTPEDIA REVIEWS >>
MEET THE EDITORS >>
WEEK'S BEST
  • BackTrack 5 R2
  • Wine 1.4 / 1.5.5
  • Mozilla Firefox 12...
  • Ubuntu 11.04
  • Angry Birds 1.1.2.1
  • Ubuntu 10.04.4 LTS
  • Linux Kernel 3.4
  • Ubuntu Manual 10.10
  • Adobe Flash Player...
  • Pidgin 2.10.4
  • Home > Linux > Programming > Perl Modules

    Net::Amazon::S3::ACL::Grant 0.1.0

    Download button

    No screenshots available
    Downloads: 309  Tell us about an update
    User Rating:
    Rated by:
    NOT RATED
    0 user(s)
    Developer:

    License / Price:

    Last Updated:

    Category:
    Flavio Poletti | More programs
    Perl Artistic License / FREE
    December 15th, 2008, 12:22 GMT
    ROOT / Programming / Perl Modules

     Read user reviews (0)  Refer to a friend  Subscribe

    Net::Amazon::S3::ACL::Grant description

    Represent a grant in a S3 ACL

    Net::Amazon::S3::ACL::Grant is a Perl module to represent a grant in a S3 ACL.

    SYNOPSIS

     # if you have some XPathContext and node...
     my $grant = Net::Amazon::S3::ACL::Grant->create({
     xpc => $xpc,
     node => $node,
     });

     # otherwise
     $grant = Net::Amazon::S3::ACL::Grant->create({
     target => 'foo@example.com',
     permissions => [qw( READ WRITE )],
     });

     # or also
     $grant = Net::Amazon::S3::ACL::Grant->canonical(
     'foo@example.com' => [qw( READ WRITE )],
     );

     # given a $grant...
     my $key = $grant->key();
     my $permissions = $grant->permissions();
     print "permissions for '$key': [@$permissions]
    ";

     $grant->add_permissions(qw( READ_ACP WRITE_ACP ));
     $grant->delete_permissions('WRITE');

     die 'invalid!' unless $grant->is_valid();

     $grant->parse($xpc, $node);
     print $grant->stringify();


    This class represents a single grant in the grants hash of Net::Amazon::S3::ACL. This is actually a base class that has been specialised into three implementations, representing the three different ways to specify a grantee in AWS as of writing this.


    Product's homepage

    Requirements:

    · Perl

      


    TAGS:

    S3 ACL | Amazon S3 | Perl module | Amazon | S3 | ACL



    HTML code for linking to this page:


    Go to top

    WindowsGamesDriversMacLinuxScriptsMobileHandheldNews

    SUBMIT PROGRAM   |   ADVERTISE   |   GET HELP   |   SEND US FEEDBACK   |   RSS FEEDS   |   UPDATE YOUR SOFTWARE   |   ROMANIAN FORUM