26 Jan 2012 00:58:49 UTC
- Distribution: AWS-SNS-Confess
- Source (raw)
- Browse (raw)
- How to Contribute
- Testers (394 / 0 / 0)
- KwaliteeBus factor: 0
- 75.00% Coverage
- License: perl_5
- Activity24 month
- Download (9.64KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionTHAVELICK Tristan Havelickand 1 contributors
- Tristan Havelick
- PUBLIC METHODS
- SEE ALSO
- COPYRIGHT AND LICENSE
AWS::SNS::Confess - Publish errors to an SNS topic
use AWS::SNS::Confess 'confess'; AWS::SNS::Confess::setup( access_key_id => 'E654SAKIASDD64ERAF0O', secret_access_key => 'LgTZ25nCD+9LiCV6ujofudY1D6e2vfK0R4GLsI4H' topic => 'arn:aws:sns:us-east-1:738734873:YourTopic', ); confess "Something went wrong";
AWS::SNS::Confess uses Amazon::SNS to post any errors to an Amazon SNS feed for more robust management from there.
AWS::S3 - Publish Errors, with a full stack trace to an Amazon SNS topic
setup( access_key_id => $aws_access_key_id, secret_access_key => $aws_secret_access_key, topic => $aws_topic );
Sets up to send errors to the given AWS Account and Topic
Publishes the given error message to SNS with a full stack trace
Tristan Havelick <email@example.com>
This software is copyright (c) 2012 by Tristan Havelick.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install AWS::SNS::Confess, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install AWS::SNS::Confess
For more information on module installation, please visit the detailed CPAN module installation guide.