![]() |
![]()
| ![]() |
![]()
NAMENet::Amazon::Signature VERSIONVersion 0.03 SYNOPSISuse Net::Amazon::Signature; my $sig_maker = Net::Amazon::Signature->new(Service => AWSServiceName); my ($signature, $timestamp) = $sig_maker->create({ Operation => 'GetInfo', SecretAccessKey => 'Your Secret Key Here', uri_escape => 1 }); # go ahead and make your SOAP or REST call now... DESCRIPTIONThis module creates the encrypted signature needed to login to Amazon's Mechanical Turk and Alexa web services and any other web services that Amazon might make in the future that require an encrypted signature, assuming they follow the same convention. METHODSnewcreates a new Net::Amazon::Signature object Takes in a hashref with key Service Example my $foo = Net::Amazon::Signature->new({Service => 'AWSMechanicalTurkRequester'}); createCreates the signature. The method takes in a hashref with two required values: * SecretAccessKey - the secret access key that Amazon has assigned to you. * Operation - the name of the operation to perform. Returns an array with the signature and the timestamp used in creating the authenticated request. _make_signaturemakes the encoded signature give an unencoded string and a hashing key (the secret access id). You do not need to call this function directly. Call create_signature instead. AUTHORRachel Richard, "<rachel at nmcfarl.org>" BUGSPlease report any bugs or feature requests to "bug-net-amazon-signature at rt.cpan.org", or through the web interface at <http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Net-Amazon-Signature>. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes. SUPPORTYou can find documentation for this module with the perldoc command. perldoc Net::Amazon::Signature You can also look for information at:
ACKNOWLEDGEMENTSCOPYRIGHT & LICENSECopyright 2005 Rachel Richard, all rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
|