Amazon-SES

 view release on metacpan or  search on metacpan

META.json  view on Meta::CPAN

            "ExtUtils::MakeMaker" : "0"
         }
      },
      "runtime" : {
         "requires" : {
            "AWS::Signature4" : "0",
            "Carp" : "0",
            "Email::Sender::Transport" : "0",
            "HTTP::Headers" : "0",
            "HTTP::Request::Common" : "0",
            "JSON::XS" : "0",
            "Kavorka" : "0",
            "LWP::UserAgent" : "0",
            "MIME::Base64" : "0",
            "Moo" : "0",
            "MooX::Types::MooseLike::Base" : "0",
            "Moops" : "0",
            "Time::Piece" : "0",
            "VM::EC2::Security::CredentialCache" : "0",
            "XML::Simple" : "0",
            "strict" : "0",

META.yml  view on Meta::CPAN

    version: '0.06'
  Email::Sender::Transport::SES:
    file: lib/Email/Sender/Transport/SES.pm
    version: '0.06'
requires:
  AWS::Signature4: '0'
  Carp: '0'
  Email::Sender::Transport: '0'
  HTTP::Headers: '0'
  HTTP::Request::Common: '0'
  JSON::XS: '0'
  Kavorka: '0'
  LWP::UserAgent: '0'
  MIME::Base64: '0'
  Moo: '0'
  MooX::Types::MooseLike::Base: '0'
  Moops: '0'
  Time::Piece: '0'
  VM::EC2::Security::CredentialCache: '0'
  XML::Simple: '0'
  strict: '0'

Makefile.PL  view on Meta::CPAN

  "DISTNAME" => "Amazon-SES",
  "EXE_FILES" => [],
  "LICENSE" => "perl",
  "NAME" => "Amazon::SES",
  "PREREQ_PM" => {
    "AWS::Signature4" => 0,
    "Carp" => 0,
    "Email::Sender::Transport" => 0,
    "HTTP::Headers" => 0,
    "HTTP::Request::Common" => 0,
    "JSON::XS" => 0,
    "Kavorka" => 0,
    "LWP::UserAgent" => 0,
    "MIME::Base64" => 0,
    "Moo" => 0,
    "MooX::Types::MooseLike::Base" => 0,
    "Moops" => 0,
    "Time::Piece" => 0,
    "VM::EC2::Security::CredentialCache" => 0,
    "XML::Simple" => 0,
    "strict" => 0,

Makefile.PL  view on Meta::CPAN

my %FallbackPrereqs = (
  "AWS::Signature4" => 0,
  "Carp" => 0,
  "Email::Sender::Simple" => 0,
  "Email::Sender::Transport" => 0,
  "Email::Simple" => 0,
  "Email::Simple::Creator" => 0,
  "ExtUtils::MakeMaker" => 0,
  "HTTP::Headers" => 0,
  "HTTP::Request::Common" => 0,
  "JSON::XS" => 0,
  "Kavorka" => 0,
  "LWP::UserAgent" => 0,
  "MIME::Base64" => 0,
  "MIME::Entity" => 0,
  "Moo" => 0,
  "MooX::Types::MooseLike::Base" => 0,
  "Moops" => 0,
  "Test::Modern" => 0,
  "Time::Piece" => 0,
  "VM::EC2::Security::CredentialCache" => 0,

lib/Amazon/SES/Response.pm  view on Meta::CPAN


This class is not meant to be used directly, but through L<Amazon::SES|Amazon::SES>. First you should be familiar with L<Amazon::SES|Amazon::SES> and only then come back to this class for new information

=head1 METHODS

=cut

class Amazon::SES::Response :ro {

    use XML::Simple;
    use JSON::XS;
    
    has 'response' => (is => 'ro');
    has 'action' => (is => 'ro');
    has 'data' => (is => 'rw');
    
    method BUILD {
        $self->data(XMLin(
            $self->raw_content,
            GroupTags => {
                Identities => 'member',

lib/Amazon/SES/Response.pm  view on Meta::CPAN

        return $self->result->{'MessageId'};
    };

=head2 result_as_json()

Same as C<result()>, except converts the data into JSON notation

=cut
            
    method result_as_json() {
        return JSON::XS->new->allow_nonref->encode([$self->result]);
    };

=head2 raw_content()

This is the raw (unparsed) by decoded HTTP content as returned from the AWS SES. Usually you do not need it. If you think you need it just knock yourself out!

=cut
        
    method raw_content() {
        return $self->response->decoded_content;



( run in 0.511 second using v1.01-cache-2.11-cpan-4d50c553e7e )