Author image Tristan Havelick
and 1 contributors

NAME

AWS::SNS::Confess - Publish errors to an SNS topic

VERSION

version 0.001

SYNOPSIS

  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";

DESCRIPTION

AWS::SNS::Confess uses Amazon::SNS to post any errors to an Amazon SNS feed for more robust management from there.

NAME

AWS::S3 - Publish Errors, with a full stack trace to an Amazon SNS topic

PUBLIC METHODS

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

confess( $msg );

Publishes the given error message to SNS with a full stack trace

SEE ALSO

Amazon::SNS

Carp

AUTHOR

Tristan Havelick <tristan@havelick.com>

COPYRIGHT AND LICENSE

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.