com.amazonaws.services.simpleemail
Class AmazonSimpleEmailServiceAsyncClient

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceClient
      extended by com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient
          extended by com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceAsyncClient
All Implemented Interfaces:
AmazonSimpleEmailService, AmazonSimpleEmailServiceAsync

public class AmazonSimpleEmailServiceAsyncClient
extends AmazonSimpleEmailServiceClient
implements AmazonSimpleEmailServiceAsync

Asynchronous client for accessing AmazonSimpleEmailService. All asynchronous calls made using this client are non-blocking. Callers could either process the result and handle the exceptions in the worker thread by providing a callback handler when making the call, or use the returned Future object to check the result of the call in the calling thread. 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 Developer Guide .

NOTE:For a list of Amazon SES endpoints to use in service requests, see Regions and Amazon SES in the Amazon SES Developer Guide.


Field Summary
 
Fields inherited from class com.amazonaws.AmazonWebServiceClient
LOGGING_AWS_REQUEST_METRIC
 
Constructor Summary
AmazonSimpleEmailServiceAsyncClient()
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService.
AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials.
AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials, executor service, and client configuration options.
AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials, java.util.concurrent.ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials and executor service.
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider.
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider and client configuration options.
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, java.util.concurrent.ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider, executor service, and client configuration options.
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, java.util.concurrent.ExecutorService executorService)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider and executor service.
AmazonSimpleEmailServiceAsyncClient(ClientConfiguration clientConfiguration)
          Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService.
 
Method Summary
 java.util.concurrent.Future<DeleteIdentityResult> deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest)
           Deletes the specified identity (email address or domain) from the list of verified identities.
 java.util.concurrent.Future<DeleteIdentityResult> deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest, AsyncHandler<DeleteIdentityRequest,DeleteIdentityResult> asyncHandler)
           Deletes the specified identity (email address or domain) from the list of verified identities.
 java.util.concurrent.Future<java.lang.Void> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest)
           Deletes the specified email address from the list of verified addresses.
 java.util.concurrent.Future<java.lang.Void> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest, AsyncHandler<DeleteVerifiedEmailAddressRequest,java.lang.Void> asyncHandler)
           Deletes the specified email address from the list of verified addresses.
 java.util.concurrent.ExecutorService getExecutorService()
          Returns the executor service used by this async client to execute requests.
 java.util.concurrent.Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest)
           Returns the current status of Easy DKIM signing for an entity.
 java.util.concurrent.Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest, AsyncHandler<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResult> asyncHandler)
           Returns the current status of Easy DKIM signing for an entity.
 java.util.concurrent.Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest)
           Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
 java.util.concurrent.Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest, AsyncHandler<GetIdentityNotificationAttributesRequest,GetIdentityNotificationAttributesResult> asyncHandler)
           Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
 java.util.concurrent.Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest)
           Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
 java.util.concurrent.Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest, AsyncHandler<GetIdentityVerificationAttributesRequest,GetIdentityVerificationAttributesResult> asyncHandler)
           Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
 java.util.concurrent.Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest)
           Returns the user's current sending limits.
 java.util.concurrent.Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest, AsyncHandler<GetSendQuotaRequest,GetSendQuotaResult> asyncHandler)
           Returns the user's current sending limits.
 java.util.concurrent.Future<GetSendStatisticsResult> getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest)
           Returns the user's sending statistics.
 java.util.concurrent.Future<GetSendStatisticsResult> getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest, AsyncHandler<GetSendStatisticsRequest,GetSendStatisticsResult> asyncHandler)
           Returns the user's sending statistics.
 java.util.concurrent.Future<ListIdentitiesResult> listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest)
           Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
 java.util.concurrent.Future<ListIdentitiesResult> listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest, AsyncHandler<ListIdentitiesRequest,ListIdentitiesResult> asyncHandler)
           Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
 java.util.concurrent.Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest)
           Returns a list containing all of the email addresses that have been verified.
 java.util.concurrent.Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest, AsyncHandler<ListVerifiedEmailAddressesRequest,ListVerifiedEmailAddressesResult> asyncHandler)
           Returns a list containing all of the email addresses that have been verified.
 java.util.concurrent.Future<SendEmailResult> sendEmailAsync(SendEmailRequest sendEmailRequest)
           Composes an email message based on input data, and then immediately queues the message for sending.
 java.util.concurrent.Future<SendEmailResult> sendEmailAsync(SendEmailRequest sendEmailRequest, AsyncHandler<SendEmailRequest,SendEmailResult> asyncHandler)
           Composes an email message based on input data, and then immediately queues the message for sending.
 java.util.concurrent.Future<SendRawEmailResult> sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest)
           Sends an email message, with header and content specified by the client.
 java.util.concurrent.Future<SendRawEmailResult> sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest, AsyncHandler<SendRawEmailRequest,SendRawEmailResult> asyncHandler)
           Sends an email message, with header and content specified by the client.
 java.util.concurrent.Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest)
           Enables or disables Easy DKIM signing of email sent from an identity:
 java.util.concurrent.Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest, AsyncHandler<SetIdentityDkimEnabledRequest,SetIdentityDkimEnabledResult> asyncHandler)
           Enables or disables Easy DKIM signing of email sent from an identity:
 java.util.concurrent.Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest)
           Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email.
 java.util.concurrent.Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest, AsyncHandler<SetIdentityFeedbackForwardingEnabledRequest,SetIdentityFeedbackForwardingEnabledResult> asyncHandler)
           Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email.
 java.util.concurrent.Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest)
           Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source .
 java.util.concurrent.Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest, AsyncHandler<SetIdentityNotificationTopicRequest,SetIdentityNotificationTopicResult> asyncHandler)
           Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source .
 void shutdown()
          Shuts down the client, releasing all managed resources.
 java.util.concurrent.Future<VerifyDomainDkimResult> verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest)
           Returns a set of DKIM tokens for a domain.
 java.util.concurrent.Future<VerifyDomainDkimResult> verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest, AsyncHandler<VerifyDomainDkimRequest,VerifyDomainDkimResult> asyncHandler)
           Returns a set of DKIM tokens for a domain.
 java.util.concurrent.Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest)
           Verifies a domain.
 java.util.concurrent.Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest, AsyncHandler<VerifyDomainIdentityRequest,VerifyDomainIdentityResult> asyncHandler)
           Verifies a domain.
 java.util.concurrent.Future<java.lang.Void> verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest)
           Verifies an email address.
 java.util.concurrent.Future<java.lang.Void> verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest, AsyncHandler<VerifyEmailAddressRequest,java.lang.Void> asyncHandler)
           Verifies an email address.
 java.util.concurrent.Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest)
           Verifies an email address.
 java.util.concurrent.Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest, AsyncHandler<VerifyEmailIdentityRequest,VerifyEmailIdentityResult> asyncHandler)
           Verifies an email address.
 
Methods inherited from class com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient
deleteIdentity, deleteVerifiedEmailAddress, getCachedResponseMetadata, getIdentityDkimAttributes, getIdentityNotificationAttributes, getIdentityVerificationAttributes, getSendQuota, getSendQuota, getSendStatistics, getSendStatistics, listIdentities, listIdentities, listVerifiedEmailAddresses, listVerifiedEmailAddresses, sendEmail, sendRawEmail, setIdentityDkimEnabled, setIdentityFeedbackForwardingEnabled, setIdentityNotificationTopic, verifyDomainDkim, verifyDomainIdentity, verifyEmailAddress, verifyEmailIdentity
 
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerRegionOverride, getTimeOffset, removeRequestHandler, removeRequestHandler, setConfiguration, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withTimeOffset
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.amazonaws.services.simpleemail.AmazonSimpleEmailService
deleteIdentity, deleteVerifiedEmailAddress, getCachedResponseMetadata, getIdentityDkimAttributes, getIdentityNotificationAttributes, getIdentityVerificationAttributes, getSendQuota, getSendQuota, getSendStatistics, getSendStatistics, listIdentities, listIdentities, listVerifiedEmailAddresses, listVerifiedEmailAddresses, sendEmail, sendRawEmail, setEndpoint, setIdentityDkimEnabled, setIdentityFeedbackForwardingEnabled, setIdentityNotificationTopic, setRegion, verifyDomainDkim, verifyDomainIdentity, verifyEmailAddress, verifyEmailIdentity
 

Constructor Detail

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient()
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

See Also:
DefaultAWSCredentialsProviderChain

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService. A credentials provider chain will be used that searches for credentials in this order:

All service calls made using this new client object are blocking, and will not return until the service call completes.

Parameters:
clientConfiguration - The client configuration options controlling how this client connects to AmazonSimpleEmailService (ex: proxy settings, retry counts, etc.).
See Also:
DefaultAWSCredentialsProviderChain

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials. Default client settings will be used, and a fixed size thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials,
                                           java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials,
                                           ClientConfiguration clientConfiguration,
                                           java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentials - The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider. Default client settings will be used, and a fixed size thread pool will be created for executing the asynchronous tasks.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                           java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider and executor service. Default client settings will be used.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
executorService - The executor service by which all asynchronous requests will be executed.

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                           ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).

AmazonSimpleEmailServiceAsyncClient

public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
                                           ClientConfiguration clientConfiguration,
                                           java.util.concurrent.ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on AmazonSimpleEmailService using the specified AWS account credentials provider, executor service, and client configuration options.

All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.

Parameters:
awsCredentialsProvider - The AWS credentials provider which will provide credentials to authenticate requests with AWS services.
clientConfiguration - Client configuration options (ex: max retry limit, proxy settings, etc).
executorService - The executor service by which all asynchronous requests will be executed.
Method Detail

getExecutorService

public java.util.concurrent.ExecutorService getExecutorService()
Returns the executor service used by this async client to execute requests.

Returns:
The executor service used by this async client to execute requests.

shutdown

public void shutdown()
Shuts down the client, releasing all managed resources. This includes forcibly terminating all pending asynchronous service calls. Clients who wish to give pending asynchronous service calls time to complete should call getExecutorService().shutdown() followed by getExecutorService().awaitTermination() prior to calling this method.

Specified by:
shutdown in interface AmazonSimpleEmailService
Overrides:
shutdown in class AmazonWebServiceClient

deleteIdentityAsync

public java.util.concurrent.Future<DeleteIdentityResult> deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest)
                                                                      throws AmazonServiceException,
                                                                             AmazonClientException

Deletes the specified identity (email address or domain) from the list of verified identities.

This action is throttled at one request per second.

Specified by:
deleteIdentityAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
deleteIdentityRequest - Container for the necessary parameters to execute the DeleteIdentity operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the DeleteIdentity service method, as returned by AmazonSimpleEmailService.
Throws:
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.

deleteIdentityAsync

public java.util.concurrent.Future<DeleteIdentityResult> deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest,
                                                                             AsyncHandler<DeleteIdentityRequest,DeleteIdentityResult> asyncHandler)
                                                                      throws AmazonServiceException,
                                                                             AmazonClientException

Deletes the specified identity (email address or domain) from the list of verified identities.

This action is throttled at one request per second.

Specified by:
deleteIdentityAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
deleteIdentityRequest - Container for the necessary parameters to execute the DeleteIdentity operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteIdentity service method, as returned by AmazonSimpleEmailService.
Throws:
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.

listVerifiedEmailAddressesAsync

public java.util.concurrent.Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest)
                                                                                              throws AmazonServiceException,
                                                                                                     AmazonClientException

Returns a list containing all of the email addresses that have been verified.

IMPORTANT:The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.

This action is throttled at one request per second.

Specified by:
listVerifiedEmailAddressesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
listVerifiedEmailAddressesRequest - Container for the necessary parameters to execute the ListVerifiedEmailAddresses operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the ListVerifiedEmailAddresses service method, as returned by AmazonSimpleEmailService.
Throws:
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.

listVerifiedEmailAddressesAsync

public java.util.concurrent.Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest,
                                                                                                     AsyncHandler<ListVerifiedEmailAddressesRequest,ListVerifiedEmailAddressesResult> asyncHandler)
                                                                                              throws AmazonServiceException,
                                                                                                     AmazonClientException

Returns a list containing all of the email addresses that have been verified.

IMPORTANT:The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.

This action is throttled at one request per second.

Specified by:
listVerifiedEmailAddressesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
listVerifiedEmailAddressesRequest - Container for the necessary parameters to execute the ListVerifiedEmailAddresses operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListVerifiedEmailAddresses service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getSendStatisticsAsync

public java.util.concurrent.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.

This action is throttled at one request per second.

Specified by:
getSendStatisticsAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getSendStatisticsRequest - Container for the necessary parameters to execute the GetSendStatistics operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the GetSendStatistics service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getSendStatisticsAsync

public java.util.concurrent.Future<GetSendStatisticsResult> getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest,
                                                                                   AsyncHandler<GetSendStatisticsRequest,GetSendStatisticsResult> asyncHandler)
                                                                            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.

This action is throttled at one request per second.

Specified by:
getSendStatisticsAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getSendStatisticsRequest - Container for the necessary parameters to execute the GetSendStatistics operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetSendStatistics service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyEmailIdentityAsync

public java.util.concurrent.Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException

Verifies an email address. This action causes a confirmation email message to be sent to the specified address.

This action is throttled at one request per second.

Specified by:
verifyEmailIdentityAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyEmailIdentityRequest - Container for the necessary parameters to execute the VerifyEmailIdentity operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the VerifyEmailIdentity service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyEmailIdentityAsync

public java.util.concurrent.Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest,
                                                                                       AsyncHandler<VerifyEmailIdentityRequest,VerifyEmailIdentityResult> asyncHandler)
                                                                                throws AmazonServiceException,
                                                                                       AmazonClientException

Verifies an email address. This action causes a confirmation email message to be sent to the specified address.

This action is throttled at one request per second.

Specified by:
verifyEmailIdentityAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyEmailIdentityRequest - Container for the necessary parameters to execute the VerifyEmailIdentity operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the VerifyEmailIdentity service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getIdentityNotificationAttributesAsync

public java.util.concurrent.Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest)
                                                                                                            throws AmazonServiceException,
                                                                                                                   AmazonClientException

Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide .

Specified by:
getIdentityNotificationAttributesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getIdentityNotificationAttributesRequest - Container for the necessary parameters to execute the GetIdentityNotificationAttributes operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the GetIdentityNotificationAttributes service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getIdentityNotificationAttributesAsync

public java.util.concurrent.Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest,
                                                                                                                   AsyncHandler<GetIdentityNotificationAttributesRequest,GetIdentityNotificationAttributesResult> asyncHandler)
                                                                                                            throws AmazonServiceException,
                                                                                                                   AmazonClientException

Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide .

Specified by:
getIdentityNotificationAttributesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getIdentityNotificationAttributesRequest - Container for the necessary parameters to execute the GetIdentityNotificationAttributes operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetIdentityNotificationAttributes service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyDomainDkimAsync

public java.util.concurrent.Future<VerifyDomainDkimResult> verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest)
                                                                          throws AmazonServiceException,
                                                                                 AmazonClientException

Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.

This action is throttled at one request per second.

To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .

Specified by:
verifyDomainDkimAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyDomainDkimRequest - Container for the necessary parameters to execute the VerifyDomainDkim operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the VerifyDomainDkim service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyDomainDkimAsync

public java.util.concurrent.Future<VerifyDomainDkimResult> verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest,
                                                                                 AsyncHandler<VerifyDomainDkimRequest,VerifyDomainDkimResult> asyncHandler)
                                                                          throws AmazonServiceException,
                                                                                 AmazonClientException

Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.

This action is throttled at one request per second.

To enable or disable Easy DKIM signing for a domain, use the SetIdentityDkimEnabled action.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .

Specified by:
verifyDomainDkimAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyDomainDkimRequest - Container for the necessary parameters to execute the VerifyDomainDkim operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the VerifyDomainDkim service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getIdentityDkimAttributesAsync

public java.util.concurrent.Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest)
                                                                                            throws AmazonServiceException,
                                                                                                   AmazonClientException

Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.

This action takes a list of identities as input and returns the following information for each:

This action is throttled at one request per second.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .

Specified by:
getIdentityDkimAttributesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getIdentityDkimAttributesRequest - Container for the necessary parameters to execute the GetIdentityDkimAttributes operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the GetIdentityDkimAttributes service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getIdentityDkimAttributesAsync

public java.util.concurrent.Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest,
                                                                                                   AsyncHandler<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResult> asyncHandler)
                                                                                            throws AmazonServiceException,
                                                                                                   AmazonClientException

Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.

This action takes a list of identities as input and returns the following information for each:

This action is throttled at one request per second.

For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .

Specified by:
getIdentityDkimAttributesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getIdentityDkimAttributesRequest - Container for the necessary parameters to execute the GetIdentityDkimAttributes operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetIdentityDkimAttributes service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyEmailAddressAsync

public java.util.concurrent.Future<java.lang.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.

IMPORTANT:The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.

This action is throttled at one request per second.

Specified by:
verifyEmailAddressAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyEmailAddressRequest - Container for the necessary parameters to execute the VerifyEmailAddress operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the VerifyEmailAddress service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyEmailAddressAsync

public java.util.concurrent.Future<java.lang.Void> verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest,
                                                                           AsyncHandler<VerifyEmailAddressRequest,java.lang.Void> asyncHandler)
                                                                    throws AmazonServiceException,
                                                                           AmazonClientException

Verifies an email address. This action causes a confirmation email message to be sent to the specified address.

IMPORTANT:The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.

This action is throttled at one request per second.

Specified by:
verifyEmailAddressAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyEmailAddressRequest - Container for the necessary parameters to execute the VerifyEmailAddress operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the VerifyEmailAddress service method, as returned by AmazonSimpleEmailService.
Throws:
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.

sendRawEmailAsync

public java.util.concurrent.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. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.

IMPORTANT: You can only send email from verified email addresses and domains. If you have not requested production access to Amazon SES, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.

The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.

Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.

For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide .

Specified by:
sendRawEmailAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
sendRawEmailRequest - Container for the necessary parameters to execute the SendRawEmail operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the SendRawEmail service method, as returned by AmazonSimpleEmailService.
Throws:
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.

sendRawEmailAsync

public java.util.concurrent.Future<SendRawEmailResult> sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest,
                                                                         AsyncHandler<SendRawEmailRequest,SendRawEmailResult> asyncHandler)
                                                                  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. The raw text of the message must comply with Internet email standards; otherwise, the message cannot be sent.

IMPORTANT: You can only send email from verified email addresses and domains. If you have not requested production access to Amazon SES, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.

The total size of the message cannot exceed 10 MB. This includes any attachments that are part of the message.

Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.

For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide .

Specified by:
sendRawEmailAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
sendRawEmailRequest - Container for the necessary parameters to execute the SendRawEmail operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SendRawEmail service method, as returned by AmazonSimpleEmailService.
Throws:
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.

listIdentitiesAsync

public java.util.concurrent.Future<ListIdentitiesResult> listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest)
                                                                      throws AmazonServiceException,
                                                                             AmazonClientException

Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.

This action is throttled at one request per second.

Specified by:
listIdentitiesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
listIdentitiesRequest - Container for the necessary parameters to execute the ListIdentities operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the ListIdentities service method, as returned by AmazonSimpleEmailService.
Throws:
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.

listIdentitiesAsync

public java.util.concurrent.Future<ListIdentitiesResult> listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest,
                                                                             AsyncHandler<ListIdentitiesRequest,ListIdentitiesResult> asyncHandler)
                                                                      throws AmazonServiceException,
                                                                             AmazonClientException

Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.

This action is throttled at one request per second.

Specified by:
listIdentitiesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
listIdentitiesRequest - Container for the necessary parameters to execute the ListIdentities operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the ListIdentities service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getIdentityVerificationAttributesAsync

public java.util.concurrent.Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest)
                                                                                                            throws AmazonServiceException,
                                                                                                                   AmazonClientException

Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

This action is throttled at one request per second.

Specified by:
getIdentityVerificationAttributesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getIdentityVerificationAttributesRequest - Container for the necessary parameters to execute the GetIdentityVerificationAttributes operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the GetIdentityVerificationAttributes service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getIdentityVerificationAttributesAsync

public java.util.concurrent.Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest,
                                                                                                                   AsyncHandler<GetIdentityVerificationAttributesRequest,GetIdentityVerificationAttributesResult> asyncHandler)
                                                                                                            throws AmazonServiceException,
                                                                                                                   AmazonClientException

Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

This action is throttled at one request per second.

Specified by:
getIdentityVerificationAttributesAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getIdentityVerificationAttributesRequest - Container for the necessary parameters to execute the GetIdentityVerificationAttributes operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetIdentityVerificationAttributes service method, as returned by AmazonSimpleEmailService.
Throws:
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.

setIdentityDkimEnabledAsync

public java.util.concurrent.Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest)
                                                                                      throws AmazonServiceException,
                                                                                             AmazonClientException

Enables or disables Easy DKIM signing of email sent from an identity:

For email addresses (e.g., [email protected] ), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com ) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action.

This action is throttled at one request per second.

For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .

Specified by:
setIdentityDkimEnabledAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
setIdentityDkimEnabledRequest - Container for the necessary parameters to execute the SetIdentityDkimEnabled operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the SetIdentityDkimEnabled service method, as returned by AmazonSimpleEmailService.
Throws:
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.

setIdentityDkimEnabledAsync

public java.util.concurrent.Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest,
                                                                                             AsyncHandler<SetIdentityDkimEnabledRequest,SetIdentityDkimEnabledResult> asyncHandler)
                                                                                      throws AmazonServiceException,
                                                                                             AmazonClientException

Enables or disables Easy DKIM signing of email sent from an identity:

For email addresses (e.g., [email protected] ), you can only enable Easy DKIM signing if the corresponding domain (e.g., example.com ) has been set up for Easy DKIM using the AWS Console or the VerifyDomainDkim action.

This action is throttled at one request per second.

For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .

Specified by:
setIdentityDkimEnabledAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
setIdentityDkimEnabledRequest - Container for the necessary parameters to execute the SetIdentityDkimEnabled operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SetIdentityDkimEnabled service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getSendQuotaAsync

public java.util.concurrent.Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest)
                                                                  throws AmazonServiceException,
                                                                         AmazonClientException

Returns the user's current sending limits.

This action is throttled at one request per second.

Specified by:
getSendQuotaAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getSendQuotaRequest - Container for the necessary parameters to execute the GetSendQuota operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the GetSendQuota service method, as returned by AmazonSimpleEmailService.
Throws:
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.

getSendQuotaAsync

public java.util.concurrent.Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest,
                                                                         AsyncHandler<GetSendQuotaRequest,GetSendQuotaResult> asyncHandler)
                                                                  throws AmazonServiceException,
                                                                         AmazonClientException

Returns the user's current sending limits.

This action is throttled at one request per second.

Specified by:
getSendQuotaAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
getSendQuotaRequest - Container for the necessary parameters to execute the GetSendQuota operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the GetSendQuota service method, as returned by AmazonSimpleEmailService.
Throws:
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.

setIdentityFeedbackForwardingEnabledAsync

public java.util.concurrent.Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest)
                                                                                                                  throws AmazonServiceException,
                                                                                                                         AmazonClientException

Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide .

Specified by:
setIdentityFeedbackForwardingEnabledAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
setIdentityFeedbackForwardingEnabledRequest - Container for the necessary parameters to execute the SetIdentityFeedbackForwardingEnabled operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the SetIdentityFeedbackForwardingEnabled service method, as returned by AmazonSimpleEmailService.
Throws:
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.

setIdentityFeedbackForwardingEnabledAsync

public java.util.concurrent.Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest,
                                                                                                                         AsyncHandler<SetIdentityFeedbackForwardingEnabledRequest,SetIdentityFeedbackForwardingEnabledResult> asyncHandler)
                                                                                                                  throws AmazonServiceException,
                                                                                                                         AmazonClientException

Given an identity (email address or domain), enables or disables whether Amazon SES forwards feedback notifications as email. Feedback forwarding may only be disabled when both complaint and bounce topics are set.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide .

Specified by:
setIdentityFeedbackForwardingEnabledAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
setIdentityFeedbackForwardingEnabledRequest - Container for the necessary parameters to execute the SetIdentityFeedbackForwardingEnabled operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SetIdentityFeedbackForwardingEnabled service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyDomainIdentityAsync

public java.util.concurrent.Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest)
                                                                                  throws AmazonServiceException,
                                                                                         AmazonClientException

Verifies a domain.

This action is throttled at one request per second.

Specified by:
verifyDomainIdentityAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyDomainIdentityRequest - Container for the necessary parameters to execute the VerifyDomainIdentity operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the VerifyDomainIdentity service method, as returned by AmazonSimpleEmailService.
Throws:
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.

verifyDomainIdentityAsync

public java.util.concurrent.Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest,
                                                                                         AsyncHandler<VerifyDomainIdentityRequest,VerifyDomainIdentityResult> asyncHandler)
                                                                                  throws AmazonServiceException,
                                                                                         AmazonClientException

Verifies a domain.

This action is throttled at one request per second.

Specified by:
verifyDomainIdentityAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
verifyDomainIdentityRequest - Container for the necessary parameters to execute the VerifyDomainIdentity operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the VerifyDomainIdentity service method, as returned by AmazonSimpleEmailService.
Throws:
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.

sendEmailAsync

public java.util.concurrent.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: You can only send email from verified email addresses and domains. If you have not requested production access to Amazon SES, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.

The total size of the message cannot exceed 10 MB.

Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.

For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide .

Specified by:
sendEmailAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
sendEmailRequest - Container for the necessary parameters to execute the SendEmail operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the SendEmail service method, as returned by AmazonSimpleEmailService.
Throws:
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.

sendEmailAsync

public java.util.concurrent.Future<SendEmailResult> sendEmailAsync(SendEmailRequest sendEmailRequest,
                                                                   AsyncHandler<SendEmailRequest,SendEmailResult> asyncHandler)
                                                            throws AmazonServiceException,
                                                                   AmazonClientException

Composes an email message based on input data, and then immediately queues the message for sending.

IMPORTANT: You can only send email from verified email addresses and domains. If you have not requested production access to Amazon SES, you must also verify every recipient email address except for the recipients provided by the Amazon SES mailbox simulator. For more information, go to the Amazon SES Developer Guide.

The total size of the message cannot exceed 10 MB.

Amazon SES has a limit on the total number of recipients per message: The combined number of To:, CC: and BCC: email addresses cannot exceed 50. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call Amazon SES repeatedly to send the message to each group.

For every message that you send, the total number of recipients (To:, CC: and BCC:) is counted against your sending quota - the maximum number of emails you can send in a 24-hour period. For information about your sending quota, go to the Amazon SES Developer Guide .

Specified by:
sendEmailAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
sendEmailRequest - Container for the necessary parameters to execute the SendEmail operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SendEmail service method, as returned by AmazonSimpleEmailService.
Throws:
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.

deleteVerifiedEmailAddressAsync

public java.util.concurrent.Future<java.lang.Void> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest)
                                                                            throws AmazonServiceException,
                                                                                   AmazonClientException

Deletes the specified email address from the list of verified addresses.

IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.

This action is throttled at one request per second.

Specified by:
deleteVerifiedEmailAddressAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
deleteVerifiedEmailAddressRequest - Container for the necessary parameters to execute the DeleteVerifiedEmailAddress operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the DeleteVerifiedEmailAddress service method, as returned by AmazonSimpleEmailService.
Throws:
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.

deleteVerifiedEmailAddressAsync

public java.util.concurrent.Future<java.lang.Void> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest,
                                                                                   AsyncHandler<DeleteVerifiedEmailAddressRequest,java.lang.Void> asyncHandler)
                                                                            throws AmazonServiceException,
                                                                                   AmazonClientException

Deletes the specified email address from the list of verified addresses.

IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.

This action is throttled at one request per second.

Specified by:
deleteVerifiedEmailAddressAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
deleteVerifiedEmailAddressRequest - Container for the necessary parameters to execute the DeleteVerifiedEmailAddress operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the DeleteVerifiedEmailAddress service method, as returned by AmazonSimpleEmailService.
Throws:
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.

setIdentityNotificationTopicAsync

public java.util.concurrent.Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest)
                                                                                                  throws AmazonServiceException,
                                                                                                         AmazonClientException

Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source . Publishing to topics may only be disabled when feedback forwarding is enabled.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide .

Specified by:
setIdentityNotificationTopicAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
setIdentityNotificationTopicRequest - Container for the necessary parameters to execute the SetIdentityNotificationTopic operation on AmazonSimpleEmailService.
Returns:
A Java Future object containing the response from the SetIdentityNotificationTopic service method, as returned by AmazonSimpleEmailService.
Throws:
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.

setIdentityNotificationTopicAsync

public java.util.concurrent.Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest,
                                                                                                         AsyncHandler<SetIdentityNotificationTopicRequest,SetIdentityNotificationTopicResult> asyncHandler)
                                                                                                  throws AmazonServiceException,
                                                                                                         AmazonClientException

Given an identity (email address or domain), sets the Amazon SNS topic to which Amazon SES will publish bounce and complaint notifications for emails sent with that identity as the Source . Publishing to topics may only be disabled when feedback forwarding is enabled.

This action is throttled at one request per second.

For more information about feedback notification, see the Amazon SES Developer Guide .

Specified by:
setIdentityNotificationTopicAsync in interface AmazonSimpleEmailServiceAsync
Parameters:
setIdentityNotificationTopicRequest - Container for the necessary parameters to execute the SetIdentityNotificationTopic operation on AmazonSimpleEmailService.
asyncHandler - Asynchronous callback handler for events in the life-cycle of the request. Users could provide the implementation of the four callback methods in this interface to process the operation result or handle the exception.
Returns:
A Java Future object containing the response from the SetIdentityNotificationTopic service method, as returned by AmazonSimpleEmailService.
Throws:
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.


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.