Net::AWS::SES::Response - Perl class that represents a response from AWS SES
# see Net::AWS::SES
This class is not meant to be used directly, but through Net::AWS::SES. First you should be familiar with Net::AWS::SES and only then come back to this class for new information
Returns a message id for successfully sent e-mails. Only valid for successful requests.
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
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
Net::AWS::SES
Sherzod B. Ruzmetov <sherzodr@cpan.org>
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 Net::AWS::SES, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Net::AWS::SES
CPAN shell
perl -MCPAN -e shell install Net::AWS::SES
For more information on module installation, please visit the detailed CPAN module installation guide.