|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AmazonSimpleEmailServiceAsync
Interface for accessing AmazonSimpleEmailService asynchronously, using Java Futures. Amazon Simple Email Service
This is the API Reference for Amazon Simple Email Service (Amazon SES). This documentation is intended to be used in conjunction with the Amazon SES Getting Started Guide and the Amazon SES Developer Guide.
For specific details on how to construct a service request, please consult the Amazon SES Developer Guide .
Method Summary | |
---|---|
Future<Void> |
deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest)
Deletes the specified email address from the list of verified addresses. |
Future<GetSendQuotaResult> |
getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest)
Returns the user's current activity limits. |
Future<GetSendStatisticsResult> |
getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest)
Returns the user's sending statistics. |
Future<ListVerifiedEmailAddressesResult> |
listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest)
Returns a list containing all of the email addresses that have been verified. |
Future<SendEmailResult> |
sendEmailAsync(SendEmailRequest sendEmailRequest)
Composes an email message based on input data, and then immediately queues the message for sending. |
Future<SendRawEmailResult> |
sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest)
Sends an email message, with header and content specified by the client. |
Future<Void> |
verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest)
Verifies an email address. |
Methods inherited from interface com.amazonaws.services.simpleemail.AmazonSimpleEmailService |
---|
deleteVerifiedEmailAddress, getCachedResponseMetadata, getSendQuota, getSendQuota, getSendStatistics, getSendStatistics, listVerifiedEmailAddresses, listVerifiedEmailAddresses, sendEmail, sendRawEmail, setEndpoint, shutdown, verifyEmailAddress |
Method Detail |
---|
Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest) throws AmazonServiceException, AmazonClientException
Returns the user's current activity limits.
getSendQuotaRequest
- Container for the necessary parameters to
execute the GetSendQuota operation on AmazonSimpleEmailService.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest) throws AmazonServiceException, AmazonClientException
Returns a list containing all of the email addresses that have been verified.
listVerifiedEmailAddressesRequest
- Container for the necessary
parameters to execute the ListVerifiedEmailAddresses operation on
AmazonSimpleEmailService.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.Future<GetSendStatisticsResult> getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest) throws AmazonServiceException, AmazonClientException
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
getSendStatisticsRequest
- Container for the necessary parameters
to execute the GetSendStatistics operation on
AmazonSimpleEmailService.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.Future<SendEmailResult> sendEmailAsync(SendEmailRequest sendEmailRequest) throws AmazonServiceException, AmazonClientException
Composes an email message based on input data, and then immediately queues the message for sending.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses. For more information, go to the Amazon SES Developer Guide.
sendEmailRequest
- Container for the necessary parameters to
execute the SendEmail operation on AmazonSimpleEmailService.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.Future<Void> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified email address from the list of verified addresses.
deleteVerifiedEmailAddressRequest
- Container for the necessary
parameters to execute the DeleteVerifiedEmailAddress operation on
AmazonSimpleEmailService.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.Future<Void> verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest) throws AmazonServiceException, AmazonClientException
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
verifyEmailAddressRequest
- Container for the necessary
parameters to execute the VerifyEmailAddress operation on
AmazonSimpleEmailService.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.Future<SendRawEmailResult> sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest) throws AmazonServiceException, AmazonClientException
Sends an email message, with header and content specified by the
client. The SendRawEmail
action is useful for sending
multipart MIME emails, with attachments or inline content. The raw
text of the message must comply with Internet email standards;
otherwise, the message cannot be sent.
IMPORTANT:If you have not yet requested production access to Amazon SES, then you will only be able to send email to and from verified email addresses. For more information, go to the Amazon SES Developer Guide.
sendRawEmailRequest
- Container for the necessary parameters to
execute the SendRawEmail operation on AmazonSimpleEmailService.
AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.
AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |