Amazon::SES::Response - Perl class that represents a response from AWS SES
# see Amazon::SES
This class is not meant to be used directly, but through Amazon::SES. First you should be familiar with Amazon::SES and only then come back to this class for new information
Returns parsed contents of the response. This is usually the contents of *Result element. Exception is the error response, in which case it returns the ontents of Error element.
*Result
Error
Returns a message id for successfully sent e-mails. Only valid for successful requests.
Same as result(), except converts the data into JSON notation
result()
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!
This is the first thing you should check after each request().
Since all the api request/response happens using HTTP Query actions, this code returns the HTTP response code. For all successfull response it returns 200, errors usually return 400. This is here just in case
200
400
Returns an error code from AWS SES. Unlik http_code(), this is a short error message, as documented in AWS SES API reference
http_code()
Returns more descriptive error message from AWS SES
Returns the type of the error. Most of the time in my experience it returns Sender.
Sender
Returns an ID of the request. All response, including the ones resulting in error, contain a RequestId.
The same as
$response->result->{DkimAttributes}
Only meaning for get_dkim_attributes() api call
Amazon::SES
Rusty Conover <rusty@luckydinosaur.com>
Sherzod B. Ruzmetov <sherzodr@cpan.org>
Copyright (C) 2014 by Lucky Dinosaur, LLC http://www.luckydinosaur.com
Portions Copyright (C) 2013 by Talibro LLC
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.14.2 or, at your option, any later version of Perl 5 you may have available.
To install Amazon::SES, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Amazon::SES
CPAN shell
perl -MCPAN -e shell install Amazon::SES
For more information on module installation, please visit the detailed CPAN module installation guide.