Class AmazonSimpleEmailServiceAsyncClient
- All Implemented Interfaces:
AmazonSimpleEmailService
,AmazonSimpleEmailServiceAsync
AsyncHandler
can be used to receive
notification when an asynchronous operation completes.
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.
-
Field Summary
Fields inherited from class com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient
configFactory, exceptionUnmarshallers
Fields inherited from class com.amazonaws.AmazonWebServiceClient
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new asynchronous client to invoke service methods on Amazon SES.AmazonSimpleEmailServiceAsyncClient
(AWSCredentials awsCredentials) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials.AmazonSimpleEmailServiceAsyncClient
(AWSCredentialsProvider awsCredentialsProvider) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials provider.AmazonSimpleEmailServiceAsyncClient
(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Amazon SES using the provided AWS account credentials provider and client configuration options.AmazonSimpleEmailServiceAsyncClient
(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials provider, executor service, and client configuration options.AmazonSimpleEmailServiceAsyncClient
(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials provider and executor service.AmazonSimpleEmailServiceAsyncClient
(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials, executor service, and client configuration options.AmazonSimpleEmailServiceAsyncClient
(AWSCredentials awsCredentials, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials and executor service.AmazonSimpleEmailServiceAsyncClient
(ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Amazon SES. -
Method Summary
Modifier and TypeMethodDescriptionCreates a receipt rule set by cloning an existing one.cloneReceiptRuleSetAsync
(CloneReceiptRuleSetRequest request, AsyncHandler<CloneReceiptRuleSetRequest, CloneReceiptRuleSetResult> asyncHandler) Creates a receipt rule set by cloning an existing one.Creates a new IP address filter.createReceiptFilterAsync
(CreateReceiptFilterRequest request, AsyncHandler<CreateReceiptFilterRequest, CreateReceiptFilterResult> asyncHandler) Creates a new IP address filter.Creates a receipt rule.createReceiptRuleAsync
(CreateReceiptRuleRequest request, AsyncHandler<CreateReceiptRuleRequest, CreateReceiptRuleResult> asyncHandler) Creates a receipt rule.Creates an empty receipt rule set.createReceiptRuleSetAsync
(CreateReceiptRuleSetRequest request, AsyncHandler<CreateReceiptRuleSetRequest, CreateReceiptRuleSetResult> asyncHandler) Creates an empty receipt rule set.deleteIdentityAsync
(DeleteIdentityRequest request) Deletes the specified identity (email address or domain) from the list of verified identities.deleteIdentityAsync
(DeleteIdentityRequest request, AsyncHandler<DeleteIdentityRequest, DeleteIdentityResult> asyncHandler) Deletes the specified identity (email address or domain) from the list of verified identities.Deletes the specified sending authorization policy for the given identity (email address or domain).deleteIdentityPolicyAsync
(DeleteIdentityPolicyRequest request, AsyncHandler<DeleteIdentityPolicyRequest, DeleteIdentityPolicyResult> asyncHandler) Deletes the specified sending authorization policy for the given identity (email address or domain).Deletes the specified IP address filter.deleteReceiptFilterAsync
(DeleteReceiptFilterRequest request, AsyncHandler<DeleteReceiptFilterRequest, DeleteReceiptFilterResult> asyncHandler) Deletes the specified IP address filter.Deletes the specified receipt rule.deleteReceiptRuleAsync
(DeleteReceiptRuleRequest request, AsyncHandler<DeleteReceiptRuleRequest, DeleteReceiptRuleResult> asyncHandler) Deletes the specified receipt rule.Deletes the specified receipt rule set and all of the receipt rules it contains.deleteReceiptRuleSetAsync
(DeleteReceiptRuleSetRequest request, AsyncHandler<DeleteReceiptRuleSetRequest, DeleteReceiptRuleSetResult> asyncHandler) Deletes the specified receipt rule set and all of the receipt rules it contains.Deletes the specified email address from the list of verified addresses.deleteVerifiedEmailAddressAsync
(DeleteVerifiedEmailAddressRequest request, AsyncHandler<DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResult> asyncHandler) Deletes the specified email address from the list of verified addresses.Returns the metadata and receipt rules for the receipt rule set that is currently active.describeActiveReceiptRuleSetAsync
(DescribeActiveReceiptRuleSetRequest request, AsyncHandler<DescribeActiveReceiptRuleSetRequest, DescribeActiveReceiptRuleSetResult> asyncHandler) Returns the metadata and receipt rules for the receipt rule set that is currently active.Returns the details of the specified receipt rule.describeReceiptRuleAsync
(DescribeReceiptRuleRequest request, AsyncHandler<DescribeReceiptRuleRequest, DescribeReceiptRuleResult> asyncHandler) Returns the details of the specified receipt rule.Returns the details of the specified receipt rule set.describeReceiptRuleSetAsync
(DescribeReceiptRuleSetRequest request, AsyncHandler<DescribeReceiptRuleSetRequest, DescribeReceiptRuleSetResult> asyncHandler) Returns the details of the specified receipt rule set.Returns the executor service used by this client to execute async requests.Returns the current status of Easy DKIM signing for an entity.getIdentityDkimAttributesAsync
(GetIdentityDkimAttributesRequest request, AsyncHandler<GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResult> asyncHandler) Returns the current status of Easy DKIM signing for an entity.Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains).getIdentityMailFromDomainAttributesAsync
(GetIdentityMailFromDomainAttributesRequest request, AsyncHandler<GetIdentityMailFromDomainAttributesRequest, GetIdentityMailFromDomainAttributesResult> asyncHandler) Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains).Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.getIdentityNotificationAttributesAsync
(GetIdentityNotificationAttributesRequest request, AsyncHandler<GetIdentityNotificationAttributesRequest, GetIdentityNotificationAttributesResult> asyncHandler) Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.Returns the requested sending authorization policies for the given identity (email address or domain).getIdentityPoliciesAsync
(GetIdentityPoliciesRequest request, AsyncHandler<GetIdentityPoliciesRequest, GetIdentityPoliciesResult> asyncHandler) Returns the requested sending authorization policies for the given identity (email address or domain).Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.getIdentityVerificationAttributesAsync
(GetIdentityVerificationAttributesRequest request, 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.Simplified method form for invoking the GetSendQuota operation.getSendQuotaAsync
(AsyncHandler<GetSendQuotaRequest, GetSendQuotaResult> asyncHandler) Simplified method form for invoking the GetSendQuota operation with an AsyncHandler.getSendQuotaAsync
(GetSendQuotaRequest request) Returns the user's current sending limits.getSendQuotaAsync
(GetSendQuotaRequest request, AsyncHandler<GetSendQuotaRequest, GetSendQuotaResult> asyncHandler) Returns the user's current sending limits.Simplified method form for invoking the GetSendStatistics operation.Simplified method form for invoking the GetSendStatistics operation with an AsyncHandler.Returns the user's sending statistics.getSendStatisticsAsync
(GetSendStatisticsRequest request, AsyncHandler<GetSendStatisticsRequest, GetSendStatisticsResult> asyncHandler) Returns the user's sending statistics.Simplified method form for invoking the ListIdentities operation.listIdentitiesAsync
(AsyncHandler<ListIdentitiesRequest, ListIdentitiesResult> asyncHandler) Simplified method form for invoking the ListIdentities operation with an AsyncHandler.listIdentitiesAsync
(ListIdentitiesRequest request) Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.listIdentitiesAsync
(ListIdentitiesRequest request, 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.Returns a list of sending authorization policies that are attached to the given identity (email address or domain).listIdentityPoliciesAsync
(ListIdentityPoliciesRequest request, AsyncHandler<ListIdentityPoliciesRequest, ListIdentityPoliciesResult> asyncHandler) Returns a list of sending authorization policies that are attached to the given identity (email address or domain).Lists the IP address filters associated with your account.listReceiptFiltersAsync
(ListReceiptFiltersRequest request, AsyncHandler<ListReceiptFiltersRequest, ListReceiptFiltersResult> asyncHandler) Lists the IP address filters associated with your account.Lists the receipt rule sets that exist under your AWS account.listReceiptRuleSetsAsync
(ListReceiptRuleSetsRequest request, AsyncHandler<ListReceiptRuleSetsRequest, ListReceiptRuleSetsResult> asyncHandler) Lists the receipt rule sets that exist under your AWS account.Simplified method form for invoking the ListVerifiedEmailAddresses operation.listVerifiedEmailAddressesAsync
(AsyncHandler<ListVerifiedEmailAddressesRequest, ListVerifiedEmailAddressesResult> asyncHandler) Simplified method form for invoking the ListVerifiedEmailAddresses operation with an AsyncHandler.Returns a list containing all of the email addresses that have been verified.listVerifiedEmailAddressesAsync
(ListVerifiedEmailAddressesRequest request, AsyncHandler<ListVerifiedEmailAddressesRequest, ListVerifiedEmailAddressesResult> asyncHandler) Returns a list containing all of the email addresses that have been verified.Adds or updates a sending authorization policy for the specified identity (email address or domain).putIdentityPolicyAsync
(PutIdentityPolicyRequest request, AsyncHandler<PutIdentityPolicyRequest, PutIdentityPolicyResult> asyncHandler) Adds or updates a sending authorization policy for the specified identity (email address or domain).Reorders the receipt rules within a receipt rule set.reorderReceiptRuleSetAsync
(ReorderReceiptRuleSetRequest request, AsyncHandler<ReorderReceiptRuleSetRequest, ReorderReceiptRuleSetResult> asyncHandler) Reorders the receipt rules within a receipt rule set.sendBounceAsync
(SendBounceRequest request) Generates and sends a bounce message to the sender of an email you received through Amazon SES.sendBounceAsync
(SendBounceRequest request, AsyncHandler<SendBounceRequest, SendBounceResult> asyncHandler) Generates and sends a bounce message to the sender of an email you received through Amazon SES.sendEmailAsync
(SendEmailRequest request) Composes an email message based on input data, and then immediately queues the message for sending.sendEmailAsync
(SendEmailRequest request, AsyncHandler<SendEmailRequest, SendEmailResult> asyncHandler) Composes an email message based on input data, and then immediately queues the message for sending.sendRawEmailAsync
(SendRawEmailRequest request) Sends an email message, with header and content specified by the client.sendRawEmailAsync
(SendRawEmailRequest request, AsyncHandler<SendRawEmailRequest, SendRawEmailResult> asyncHandler) Sends an email message, with header and content specified by the client.Sets the specified receipt rule set as the active receipt rule set.setActiveReceiptRuleSetAsync
(SetActiveReceiptRuleSetRequest request, AsyncHandler<SetActiveReceiptRuleSetRequest, SetActiveReceiptRuleSetResult> asyncHandler) Sets the specified receipt rule set as the active receipt rule set.Enables or disables Easy DKIM signing of email sent from an identity:setIdentityDkimEnabledAsync
(SetIdentityDkimEnabledRequest request, AsyncHandler<SetIdentityDkimEnabledRequest, SetIdentityDkimEnabledResult> asyncHandler) Enables or disables Easy DKIM signing of email sent from an identity:Given an identity (email address or domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email.setIdentityFeedbackForwardingEnabledAsync
(SetIdentityFeedbackForwardingEnabledRequest request, AsyncHandler<SetIdentityFeedbackForwardingEnabledRequest, SetIdentityFeedbackForwardingEnabledResult> asyncHandler) Given an identity (email address or domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email.Enables or disables the custom MAIL FROM domain setup for a verified identity (email address or domain).setIdentityMailFromDomainAsync
(SetIdentityMailFromDomainRequest request, AsyncHandler<SetIdentityMailFromDomainRequest, SetIdentityMailFromDomainResult> asyncHandler) Enables or disables the custom MAIL FROM domain setup for a verified identity (email address or domain).Given an identity (email address or domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as theSource
.setIdentityNotificationTopicAsync
(SetIdentityNotificationTopicRequest request, AsyncHandler<SetIdentityNotificationTopicRequest, SetIdentityNotificationTopicResult> asyncHandler) Given an identity (email address or domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as theSource
.Sets the position of the specified receipt rule in the receipt rule set.setReceiptRulePositionAsync
(SetReceiptRulePositionRequest request, AsyncHandler<SetReceiptRulePositionRequest, SetReceiptRulePositionResult> asyncHandler) Sets the position of the specified receipt rule in the receipt rule set.void
shutdown()
Shuts down the client, releasing all managed resources.Updates a receipt rule.updateReceiptRuleAsync
(UpdateReceiptRuleRequest request, AsyncHandler<UpdateReceiptRuleRequest, UpdateReceiptRuleResult> asyncHandler) Updates a receipt rule.Returns a set of DKIM tokens for a domain.verifyDomainDkimAsync
(VerifyDomainDkimRequest request, AsyncHandler<VerifyDomainDkimRequest, VerifyDomainDkimResult> asyncHandler) Returns a set of DKIM tokens for a domain.Verifies a domain.verifyDomainIdentityAsync
(VerifyDomainIdentityRequest request, AsyncHandler<VerifyDomainIdentityRequest, VerifyDomainIdentityResult> asyncHandler) Verifies a domain.Verifies an email address.verifyEmailAddressAsync
(VerifyEmailAddressRequest request, AsyncHandler<VerifyEmailAddressRequest, VerifyEmailAddressResult> asyncHandler) Verifies an email address.Verifies an email address.verifyEmailIdentityAsync
(VerifyEmailIdentityRequest request, AsyncHandler<VerifyEmailIdentityRequest, VerifyEmailIdentityResult> asyncHandler) Verifies an email address.Methods inherited from class com.amazonaws.services.simpleemail.AmazonSimpleEmailServiceClient
cloneReceiptRuleSet, createReceiptFilter, createReceiptRule, createReceiptRuleSet, deleteIdentity, deleteIdentityPolicy, deleteReceiptFilter, deleteReceiptRule, deleteReceiptRuleSet, deleteVerifiedEmailAddress, describeActiveReceiptRuleSet, describeReceiptRule, describeReceiptRuleSet, getCachedResponseMetadata, getIdentityDkimAttributes, getIdentityMailFromDomainAttributes, getIdentityNotificationAttributes, getIdentityPolicies, getIdentityVerificationAttributes, getSendQuota, getSendQuota, getSendStatistics, getSendStatistics, listIdentities, listIdentities, listIdentityPolicies, listReceiptFilters, listReceiptRuleSets, listVerifiedEmailAddresses, listVerifiedEmailAddresses, putIdentityPolicy, reorderReceiptRuleSet, sendBounce, sendEmail, sendRawEmail, setActiveReceiptRuleSet, setIdentityDkimEnabled, setIdentityFeedbackForwardingEnabled, setIdentityMailFromDomain, setIdentityNotificationTopic, setReceiptRulePosition, updateReceiptRule, verifyDomainDkim, verifyDomainIdentity, verifyEmailAddress, verifyEmailIdentity
Methods inherited from class com.amazonaws.AmazonWebServiceClient
addRequestHandler, addRequestHandler, beforeMarshalling, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getEndpointPrefix, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.amazonaws.services.simpleemail.AmazonSimpleEmailService
cloneReceiptRuleSet, createReceiptFilter, createReceiptRule, createReceiptRuleSet, deleteIdentity, deleteIdentityPolicy, deleteReceiptFilter, deleteReceiptRule, deleteReceiptRuleSet, deleteVerifiedEmailAddress, describeActiveReceiptRuleSet, describeReceiptRule, describeReceiptRuleSet, getCachedResponseMetadata, getIdentityDkimAttributes, getIdentityMailFromDomainAttributes, getIdentityNotificationAttributes, getIdentityPolicies, getIdentityVerificationAttributes, getSendQuota, getSendQuota, getSendStatistics, getSendStatistics, listIdentities, listIdentities, listIdentityPolicies, listReceiptFilters, listReceiptRuleSets, listVerifiedEmailAddresses, listVerifiedEmailAddresses, putIdentityPolicy, reorderReceiptRuleSet, sendBounce, sendEmail, sendRawEmail, setActiveReceiptRuleSet, setEndpoint, setIdentityDkimEnabled, setIdentityFeedbackForwardingEnabled, setIdentityMailFromDomain, setIdentityNotificationTopic, setReceiptRulePosition, setRegion, updateReceiptRule, verifyDomainDkim, verifyDomainIdentity, verifyEmailAddress, verifyEmailIdentity
-
Constructor Details
-
AmazonSimpleEmailServiceAsyncClient
public AmazonSimpleEmailServiceAsyncClient()Constructs a new asynchronous client to invoke service methods on Amazon SES. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- See Also:
-
AmazonSimpleEmailServiceAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon SES. A credentials provider chain will be used that searches for credentials in this order:- Environment Variables - AWS_ACCESS_KEY_ID and AWS_SECRET_KEY
- Java System Properties - aws.accessKeyId and aws.secretKey
- Credential profiles file at the default location (~/.aws/credentials) shared by all AWS SDKs and the AWS CLI
- Instance profile credentials delivered through the Amazon EC2 metadata service
Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- Parameters:
clientConfiguration
- The client configuration options controlling how this client connects to Amazon SES (ex: proxy settings, retry counts, etc).- See Also:
-
AmazonSimpleEmailServiceAsyncClient
Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentials
- The AWS credentials (access key ID and secret key) to use when authenticating with AWS services.- See Also:
-
AmazonSimpleEmailServiceAsyncClient
public AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials and executor service. Default client settings will be used.- 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, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials, executor service, and client configuration options.- 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
Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials provider. Default client settings will be used.Asynchronous methods are delegated to a fixed-size thread pool containing 50 threads (to match the default maximum number of concurrent connections to the service).
- Parameters:
awsCredentialsProvider
- The AWS credentials provider which will provide credentials to authenticate requests with AWS services.- See Also:
-
AmazonSimpleEmailServiceAsyncClient
public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration) Constructs a new asynchronous client to invoke service methods on Amazon SES using the provided AWS account credentials provider and client configuration options.Asynchronous methods are delegated to a fixed-size thread pool containing a number of threads equal to the maximum number of concurrent connections configured via
ClientConfiguration.getMaxConnections()
.- 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).- See Also:
-
AmazonSimpleEmailServiceAsyncClient
public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials provider and executor service. Default client settings will be used.- 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, ExecutorService executorService) Constructs a new asynchronous client to invoke service methods on Amazon SES using the specified AWS account credentials provider, executor service, and client configuration options.- 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 Details
-
getExecutorService
Returns the executor service used by this client to execute async requests.- Returns:
- The executor service used by this client to execute async requests.
-
cloneReceiptRuleSetAsync
public Future<CloneReceiptRuleSetResult> cloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
cloneReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CloneReceiptRuleSet operation returned by the service.
-
cloneReceiptRuleSetAsync
public Future<CloneReceiptRuleSetResult> cloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest request, AsyncHandler<CloneReceiptRuleSetRequest, CloneReceiptRuleSetResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Creates a receipt rule set by cloning an existing one. All receipt rules and configurations are copied to the new receipt rule set and are completely independent of the source rule set.
For information about setting up rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
cloneReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CloneReceiptRuleSet operation returned by the service.
-
createReceiptFilterAsync
public Future<CreateReceiptFilterResult> createReceiptFilterAsync(CreateReceiptFilterRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Creates a new IP address filter.
For information about setting up IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
createReceiptFilterAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateReceiptFilter operation returned by the service.
-
createReceiptFilterAsync
public Future<CreateReceiptFilterResult> createReceiptFilterAsync(CreateReceiptFilterRequest request, AsyncHandler<CreateReceiptFilterRequest, CreateReceiptFilterResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Creates a new IP address filter.
For information about setting up IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
createReceiptFilterAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateReceiptFilter operation returned by the service.
-
createReceiptRuleAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Creates a receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
createReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateReceiptRule operation returned by the service.
-
createReceiptRuleAsync
public Future<CreateReceiptRuleResult> createReceiptRuleAsync(CreateReceiptRuleRequest request, AsyncHandler<CreateReceiptRuleRequest, CreateReceiptRuleResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Creates a receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
createReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateReceiptRule operation returned by the service.
-
createReceiptRuleSetAsync
public Future<CreateReceiptRuleSetResult> createReceiptRuleSetAsync(CreateReceiptRuleSetRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Creates an empty receipt rule set.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
createReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the CreateReceiptRuleSet operation returned by the service.
-
createReceiptRuleSetAsync
public Future<CreateReceiptRuleSetResult> createReceiptRuleSetAsync(CreateReceiptRuleSetRequest request, AsyncHandler<CreateReceiptRuleSetRequest, CreateReceiptRuleSetResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Creates an empty receipt rule set.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
createReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the CreateReceiptRuleSet operation returned by the service.
-
deleteIdentityAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteIdentity operation returned by the service.
-
deleteIdentityAsync
public Future<DeleteIdentityResult> deleteIdentityAsync(DeleteIdentityRequest request, AsyncHandler<DeleteIdentityRequest, DeleteIdentityResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteIdentity operation returned by the service.
-
deleteIdentityPolicyAsync
public Future<DeleteIdentityPolicyResult> deleteIdentityPolicyAsync(DeleteIdentityPolicyRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified sending authorization policy for the given identity (email address or domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteIdentityPolicyAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteIdentityPolicy operation returned by the service.
-
deleteIdentityPolicyAsync
public Future<DeleteIdentityPolicyResult> deleteIdentityPolicyAsync(DeleteIdentityPolicyRequest request, AsyncHandler<DeleteIdentityPolicyRequest, DeleteIdentityPolicyResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified sending authorization policy for the given identity (email address or domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteIdentityPolicyAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteIdentityPolicy operation returned by the service.
-
deleteReceiptFilterAsync
public Future<DeleteReceiptFilterResult> deleteReceiptFilterAsync(DeleteReceiptFilterRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified IP address filter.
For information about managing IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteReceiptFilterAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteReceiptFilter operation returned by the service.
-
deleteReceiptFilterAsync
public Future<DeleteReceiptFilterResult> deleteReceiptFilterAsync(DeleteReceiptFilterRequest request, AsyncHandler<DeleteReceiptFilterRequest, DeleteReceiptFilterResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified IP address filter.
For information about managing IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteReceiptFilterAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteReceiptFilter operation returned by the service.
-
deleteReceiptRuleAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteReceiptRule operation returned by the service.
-
deleteReceiptRuleAsync
public Future<DeleteReceiptRuleResult> deleteReceiptRuleAsync(DeleteReceiptRuleRequest request, AsyncHandler<DeleteReceiptRuleRequest, DeleteReceiptRuleResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteReceiptRule operation returned by the service.
-
deleteReceiptRuleSetAsync
public Future<DeleteReceiptRuleSetResult> deleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified receipt rule set and all of the receipt rules it contains.
The currently active rule set cannot be deleted. For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteReceiptRuleSet operation returned by the service.
-
deleteReceiptRuleSetAsync
public Future<DeleteReceiptRuleSetResult> deleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest request, AsyncHandler<DeleteReceiptRuleSetRequest, DeleteReceiptRuleSetResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified receipt rule set and all of the receipt rules it contains.
The currently active rule set cannot be deleted. For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
deleteReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteReceiptRuleSet operation returned by the service.
-
deleteVerifiedEmailAddressAsync
public Future<DeleteVerifiedEmailAddressResult> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified email address from the list of verified addresses.
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DeleteVerifiedEmailAddress operation returned by the service.
-
deleteVerifiedEmailAddressAsync
public Future<DeleteVerifiedEmailAddressResult> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest request, AsyncHandler<DeleteVerifiedEmailAddressRequest, DeleteVerifiedEmailAddressResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Deletes the specified email address from the list of verified addresses.
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DeleteVerifiedEmailAddress operation returned by the service.
-
describeActiveReceiptRuleSetAsync
public Future<DescribeActiveReceiptRuleSetResult> describeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the metadata and receipt rules for the receipt rule set that is currently active.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
describeActiveReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeActiveReceiptRuleSet operation returned by the service.
-
describeActiveReceiptRuleSetAsync
public Future<DescribeActiveReceiptRuleSetResult> describeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest request, AsyncHandler<DescribeActiveReceiptRuleSetRequest, DescribeActiveReceiptRuleSetResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the metadata and receipt rules for the receipt rule set that is currently active.
For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
describeActiveReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeActiveReceiptRuleSet operation returned by the service.
-
describeReceiptRuleAsync
public Future<DescribeReceiptRuleResult> describeReceiptRuleAsync(DescribeReceiptRuleRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the details of the specified receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
describeReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeReceiptRule operation returned by the service.
-
describeReceiptRuleAsync
public Future<DescribeReceiptRuleResult> describeReceiptRuleAsync(DescribeReceiptRuleRequest request, AsyncHandler<DescribeReceiptRuleRequest, DescribeReceiptRuleResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the details of the specified receipt rule.
For information about setting up receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
describeReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeReceiptRule operation returned by the service.
-
describeReceiptRuleSetAsync
public Future<DescribeReceiptRuleSetResult> describeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the details of the specified receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
describeReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the DescribeReceiptRuleSet operation returned by the service.
-
describeReceiptRuleSetAsync
public Future<DescribeReceiptRuleSetResult> describeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest request, AsyncHandler<DescribeReceiptRuleSetRequest, DescribeReceiptRuleSetResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the details of the specified receipt rule set.
For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
describeReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the DescribeReceiptRuleSet operation returned by the service.
-
getIdentityDkimAttributesAsync
public Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
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:
- Whether Easy DKIM signing is enabled or disabled.
- A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.
- Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.
This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.
- Specified by:
getIdentityDkimAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetIdentityDkimAttributes operation returned by the service.
-
getIdentityDkimAttributesAsync
public Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest request, AsyncHandler<GetIdentityDkimAttributesRequest, GetIdentityDkimAttributesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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:
- Whether Easy DKIM signing is enabled or disabled.
- A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.
- Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.
This action is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.
- Specified by:
getIdentityDkimAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetIdentityDkimAttributes operation returned by the service.
-
getIdentityMailFromDomainAttributesAsync
public Future<GetIdentityMailFromDomainAttributesResult> getIdentityMailFromDomainAttributesAsync(GetIdentityMailFromDomainAttributesRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains).
This action is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.
- Specified by:
getIdentityMailFromDomainAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetIdentityMailFromDomainAttributes operation returned by the service.
-
getIdentityMailFromDomainAttributesAsync
public Future<GetIdentityMailFromDomainAttributesResult> getIdentityMailFromDomainAttributesAsync(GetIdentityMailFromDomainAttributesRequest request, AsyncHandler<GetIdentityMailFromDomainAttributesRequest, GetIdentityMailFromDomainAttributesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the custom MAIL FROM attributes for a list of identities (email addresses and/or domains).
This action is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100 identities at a time.
- Specified by:
getIdentityMailFromDomainAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetIdentityMailFromDomainAttributes operation returned by the service.
-
getIdentityNotificationAttributesAsync
public Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
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 and can only get notification attributes for up to 100 identities at a time.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
- Specified by:
getIdentityNotificationAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetIdentityNotificationAttributes operation returned by the service.
-
getIdentityNotificationAttributesAsync
public Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest request, AsyncHandler<GetIdentityNotificationAttributesRequest, GetIdentityNotificationAttributesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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 and can only get notification attributes for up to 100 identities at a time.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
- Specified by:
getIdentityNotificationAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetIdentityNotificationAttributes operation returned by the service.
-
getIdentityPoliciesAsync
public Future<GetIdentityPoliciesResult> getIdentityPoliciesAsync(GetIdentityPoliciesRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the requested sending authorization policies for the given identity (email address or domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.
This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
getIdentityPoliciesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetIdentityPolicies operation returned by the service.
-
getIdentityPoliciesAsync
public Future<GetIdentityPoliciesResult> getIdentityPoliciesAsync(GetIdentityPoliciesRequest request, AsyncHandler<GetIdentityPoliciesRequest, GetIdentityPoliciesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the requested sending authorization policies for the given identity (email address or domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.
This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
getIdentityPoliciesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetIdentityPolicies operation returned by the service.
-
getIdentityVerificationAttributesAsync
public Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
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 and can only get verification attributes for up to 100 identities at a time.
- Specified by:
getIdentityVerificationAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetIdentityVerificationAttributes operation returned by the service.
-
getIdentityVerificationAttributesAsync
public Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest request, AsyncHandler<GetIdentityVerificationAttributesRequest, GetIdentityVerificationAttributesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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 and can only get verification attributes for up to 100 identities at a time.
- Specified by:
getIdentityVerificationAttributesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetIdentityVerificationAttributes operation returned by the service.
-
getSendQuotaAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the user's current sending limits.
This action is throttled at one request per second.
- Specified by:
getSendQuotaAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetSendQuota operation returned by the service.
-
getSendQuotaAsync
public Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest request, AsyncHandler<GetSendQuotaRequest, GetSendQuotaResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns the user's current sending limits.
This action is throttled at one request per second.
- Specified by:
getSendQuotaAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetSendQuota operation returned by the service.
-
getSendQuotaAsync
Simplified method form for invoking the GetSendQuota operation.- Specified by:
getSendQuotaAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
getSendQuotaAsync
public Future<GetSendQuotaResult> getSendQuotaAsync(AsyncHandler<GetSendQuotaRequest, GetSendQuotaResult> asyncHandler) Simplified method form for invoking the GetSendQuota operation with an AsyncHandler.- Specified by:
getSendQuotaAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
getSendStatisticsAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the GetSendStatistics operation returned by the service.
-
getSendStatisticsAsync
public Future<GetSendStatisticsResult> getSendStatisticsAsync(GetSendStatisticsRequest request, AsyncHandler<GetSendStatisticsRequest, GetSendStatisticsResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the GetSendStatistics operation returned by the service.
-
getSendStatisticsAsync
Simplified method form for invoking the GetSendStatistics operation.- Specified by:
getSendStatisticsAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
getSendStatisticsAsync
public Future<GetSendStatisticsResult> getSendStatisticsAsync(AsyncHandler<GetSendStatisticsRequest, GetSendStatisticsResult> asyncHandler) Simplified method form for invoking the GetSendStatistics operation with an AsyncHandler.- Specified by:
getSendStatisticsAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
listIdentitiesAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListIdentities operation returned by the service.
-
listIdentitiesAsync
public Future<ListIdentitiesResult> listIdentitiesAsync(ListIdentitiesRequest request, AsyncHandler<ListIdentitiesRequest, ListIdentitiesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListIdentities operation returned by the service.
-
listIdentitiesAsync
Simplified method form for invoking the ListIdentities operation.- Specified by:
listIdentitiesAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
listIdentitiesAsync
public Future<ListIdentitiesResult> listIdentitiesAsync(AsyncHandler<ListIdentitiesRequest, ListIdentitiesResult> asyncHandler) Simplified method form for invoking the ListIdentities operation with an AsyncHandler.- Specified by:
listIdentitiesAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
listIdentityPoliciesAsync
public Future<ListIdentityPoliciesResult> listIdentityPoliciesAsync(ListIdentityPoliciesRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns a list of sending authorization policies that are attached to the given identity (email address or domain). This API returns only a list. If you want the actual policy content, you can use
GetIdentityPolicies
.This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
listIdentityPoliciesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListIdentityPolicies operation returned by the service.
-
listIdentityPoliciesAsync
public Future<ListIdentityPoliciesResult> listIdentityPoliciesAsync(ListIdentityPoliciesRequest request, AsyncHandler<ListIdentityPoliciesRequest, ListIdentityPoliciesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns a list of sending authorization policies that are attached to the given identity (email address or domain). This API returns only a list. If you want the actual policy content, you can use
GetIdentityPolicies
.This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
listIdentityPoliciesAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListIdentityPolicies operation returned by the service.
-
listReceiptFiltersAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Lists the IP address filters associated with your account.
For information about managing IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
listReceiptFiltersAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListReceiptFilters operation returned by the service.
-
listReceiptFiltersAsync
public Future<ListReceiptFiltersResult> listReceiptFiltersAsync(ListReceiptFiltersRequest request, AsyncHandler<ListReceiptFiltersRequest, ListReceiptFiltersResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Lists the IP address filters associated with your account.
For information about managing IP address filters, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
listReceiptFiltersAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListReceiptFilters operation returned by the service.
-
listReceiptRuleSetsAsync
public Future<ListReceiptRuleSetsResult> listReceiptRuleSetsAsync(ListReceiptRuleSetsRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a
NextToken
that you can provide to the next call toListReceiptRuleSets
to retrieve the additional entries.For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
listReceiptRuleSetsAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListReceiptRuleSets operation returned by the service.
-
listReceiptRuleSetsAsync
public Future<ListReceiptRuleSetsResult> listReceiptRuleSetsAsync(ListReceiptRuleSetsRequest request, AsyncHandler<ListReceiptRuleSetsRequest, ListReceiptRuleSetsResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Lists the receipt rule sets that exist under your AWS account. If there are additional receipt rule sets to be retrieved, you will receive a
NextToken
that you can provide to the next call toListReceiptRuleSets
to retrieve the additional entries.For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
listReceiptRuleSetsAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListReceiptRuleSets operation returned by the service.
-
listVerifiedEmailAddressesAsync
public Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns a list containing all of the email addresses that have been verified.
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ListVerifiedEmailAddresses operation returned by the service.
-
listVerifiedEmailAddressesAsync
public Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest request, AsyncHandler<ListVerifiedEmailAddressesRequest, ListVerifiedEmailAddressesResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Returns a list containing all of the email addresses that have been verified.
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ListVerifiedEmailAddresses operation returned by the service.
-
listVerifiedEmailAddressesAsync
Simplified method form for invoking the ListVerifiedEmailAddresses operation.- Specified by:
listVerifiedEmailAddressesAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
listVerifiedEmailAddressesAsync
public Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(AsyncHandler<ListVerifiedEmailAddressesRequest, ListVerifiedEmailAddressesResult> asyncHandler) Simplified method form for invoking the ListVerifiedEmailAddresses operation with an AsyncHandler.- Specified by:
listVerifiedEmailAddressesAsync
in interfaceAmazonSimpleEmailServiceAsync
- See Also:
-
putIdentityPolicyAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Adds or updates a sending authorization policy for the specified identity (email address or domain).
This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
putIdentityPolicyAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the PutIdentityPolicy operation returned by the service.
-
putIdentityPolicyAsync
public Future<PutIdentityPolicyResult> putIdentityPolicyAsync(PutIdentityPolicyRequest request, AsyncHandler<PutIdentityPolicyRequest, PutIdentityPolicyResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Adds or updates a sending authorization policy for the specified identity (email address or domain).
This API is for the identity owner only. If you have not verified the identity, this API will return an error. Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
putIdentityPolicyAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the PutIdentityPolicy operation returned by the service.
-
reorderReceiptRuleSetAsync
public Future<ReorderReceiptRuleSetResult> reorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Reorders the receipt rules within a receipt rule set.
All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn't explicitly position all of the rules. For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
reorderReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the ReorderReceiptRuleSet operation returned by the service.
-
reorderReceiptRuleSetAsync
public Future<ReorderReceiptRuleSetResult> reorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest request, AsyncHandler<ReorderReceiptRuleSetRequest, ReorderReceiptRuleSetResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Reorders the receipt rules within a receipt rule set.
All of the rules in the rule set must be represented in this request. That is, this API will return an error if the reorder request doesn't explicitly position all of the rules. For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
reorderReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the ReorderReceiptRuleSet operation returned by the service.
-
sendBounceAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it.
You cannot use this API to send generic bounces for mail that was not received by Amazon SES. For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
sendBounceAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SendBounce operation returned by the service.
-
sendBounceAsync
public Future<SendBounceResult> sendBounceAsync(SendBounceRequest request, AsyncHandler<SendBounceRequest, SendBounceResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this API on an email up to 24 hours after you receive it.
You cannot use this API to send generic bounces for mail that was not received by Amazon SES. For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
sendBounceAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SendBounce operation returned by the service.
-
sendEmailAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Composes an email message based on input data, and then immediately queues the message for sending.
There are several important points to know about
SendEmail
:- You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, 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:
sendEmailAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SendEmail operation returned by the service.
-
sendEmailAsync
public Future<SendEmailResult> sendEmailAsync(SendEmailRequest request, AsyncHandler<SendEmailRequest, SendEmailResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Composes an email message based on input data, and then immediately queues the message for sending.
There are several important points to know about
SendEmail
:- You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, 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:
sendEmailAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SendEmail operation returned by the service.
-
sendRawEmailAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
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.There are several important points to know about
SendRawEmail
:- You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, 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.
- The To:, CC:, and BCC: headers in the raw message can contain a group list. Note that each recipient in a group list counts towards the 50-recipient limit.
- 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.
- If you are using sending authorization to send on behalf of another
user,
SendRawEmail
enables you to specify the cross-account identity for the email's "Source," "From," and "Return-Path" parameters in one of two ways: you can pass optional parametersSourceArn
,FromArn
, and/orReturnPathArn
to the API, or you can include the following X-headers in the header of your raw email:X-SES-SOURCE-ARN
X-SES-FROM-ARN
X-SES-RETURN-PATH-ARN
Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email. For the most common sending authorization use case, we recommend that you specify theSourceIdentityArn
and do not specify either theFromIdentityArn
orReturnPathIdentityArn
. (The same note applies to the corresponding X-headers.) If you only specify theSourceIdentityArn
, Amazon SES will simply set the "From" address and the "Return Path" address to the identity specified inSourceIdentityArn
. For more information about sending authorization, see the Amazon SES Developer Guide.
- Specified by:
sendRawEmailAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SendRawEmail operation returned by the service.
-
sendRawEmailAsync
public Future<SendRawEmailResult> sendRawEmailAsync(SendRawEmailRequest request, AsyncHandler<SendRawEmailRequest, SendRawEmailResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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.There are several important points to know about
SendRawEmail
:- You can only send email from verified email addresses and domains; otherwise, you will get an "Email address not verified" error. If your account is still in the Amazon SES sandbox, 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.
- The To:, CC:, and BCC: headers in the raw message can contain a group list. Note that each recipient in a group list counts towards the 50-recipient limit.
- 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.
- If you are using sending authorization to send on behalf of another
user,
SendRawEmail
enables you to specify the cross-account identity for the email's "Source," "From," and "Return-Path" parameters in one of two ways: you can pass optional parametersSourceArn
,FromArn
, and/orReturnPathArn
to the API, or you can include the following X-headers in the header of your raw email:X-SES-SOURCE-ARN
X-SES-FROM-ARN
X-SES-RETURN-PATH-ARN
Do not include these X-headers in the DKIM signature, because they are removed by Amazon SES before sending the email. For the most common sending authorization use case, we recommend that you specify theSourceIdentityArn
and do not specify either theFromIdentityArn
orReturnPathIdentityArn
. (The same note applies to the corresponding X-headers.) If you only specify theSourceIdentityArn
, Amazon SES will simply set the "From" address and the "Return Path" address to the identity specified inSourceIdentityArn
. For more information about sending authorization, see the Amazon SES Developer Guide.
- Specified by:
sendRawEmailAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SendRawEmail operation returned by the service.
-
setActiveReceiptRuleSetAsync
public Future<SetActiveReceiptRuleSetResult> setActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Sets the specified receipt rule set as the active receipt rule set.
To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null. For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
setActiveReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SetActiveReceiptRuleSet operation returned by the service.
-
setActiveReceiptRuleSetAsync
public Future<SetActiveReceiptRuleSetResult> setActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest request, AsyncHandler<SetActiveReceiptRuleSetRequest, SetActiveReceiptRuleSetResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Sets the specified receipt rule set as the active receipt rule set.
To disable your email-receiving through Amazon SES completely, you can call this API with RuleSetName set to null. For information about managing receipt rule sets, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
setActiveReceiptRuleSetAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetActiveReceiptRuleSet operation returned by the service.
-
setIdentityDkimEnabledAsync
public Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Enables or disables Easy DKIM signing of email sent from an identity:
- If Easy DKIM signing is enabled for a domain name identity (e.g.,
example.com
), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g.,user@example.com
). - If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.
For email addresses (e.g.,
user@example.com
), 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 theVerifyDomainDkim
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SetIdentityDkimEnabled operation returned by the service.
- If Easy DKIM signing is enabled for a domain name identity (e.g.,
-
setIdentityDkimEnabledAsync
public Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest request, AsyncHandler<SetIdentityDkimEnabledRequest, SetIdentityDkimEnabledResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Enables or disables Easy DKIM signing of email sent from an identity:
- If Easy DKIM signing is enabled for a domain name identity (e.g.,
example.com
), then Amazon SES will DKIM-sign all email sent by addresses under that domain name (e.g.,user@example.com
). - If Easy DKIM signing is enabled for an email address, then Amazon SES will DKIM-sign all email sent by that email address.
For email addresses (e.g.,
user@example.com
), 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 theVerifyDomainDkim
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetIdentityDkimEnabled operation returned by the service.
- If Easy DKIM signing is enabled for a domain name identity (e.g.,
-
setIdentityFeedbackForwardingEnabledAsync
public Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Given an identity (email address or domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.
Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS. This action is throttled at one request per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
- Specified by:
setIdentityFeedbackForwardingEnabledAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SetIdentityFeedbackForwardingEnabled operation returned by the service.
-
setIdentityFeedbackForwardingEnabledAsync
public Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest request, AsyncHandler<SetIdentityFeedbackForwardingEnabledRequest, SetIdentityFeedbackForwardingEnabledResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Given an identity (email address or domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.
Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS. This action is throttled at one request per second.
For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.
- Specified by:
setIdentityFeedbackForwardingEnabledAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetIdentityFeedbackForwardingEnabled operation returned by the service.
-
setIdentityMailFromDomainAsync
public Future<SetIdentityMailFromDomainResult> setIdentityMailFromDomainAsync(SetIdentityMailFromDomainRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Enables or disables the custom MAIL FROM domain setup for a verified identity (email address or domain).
To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide. This action is throttled at one request per second.
- Specified by:
setIdentityMailFromDomainAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SetIdentityMailFromDomain operation returned by the service.
-
setIdentityMailFromDomainAsync
public Future<SetIdentityMailFromDomainResult> setIdentityMailFromDomainAsync(SetIdentityMailFromDomainRequest request, AsyncHandler<SetIdentityMailFromDomainRequest, SetIdentityMailFromDomainResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Enables or disables the custom MAIL FROM domain setup for a verified identity (email address or domain).
To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. If you want your emails to pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide. This action is throttled at one request per second.
- Specified by:
setIdentityMailFromDomainAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetIdentityMailFromDomain operation returned by the service.
-
setIdentityNotificationTopicAsync
public Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Given an identity (email address or domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the
Source
.Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled
.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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SetIdentityNotificationTopic operation returned by the service.
-
setIdentityNotificationTopicAsync
public Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest request, AsyncHandler<SetIdentityNotificationTopicRequest, SetIdentityNotificationTopicResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Given an identity (email address or domain), sets the Amazon Simple Notification Service (Amazon SNS) topic to which Amazon SES will publish bounce, complaint, and/or delivery notifications for emails sent with that identity as the
Source
.Unless feedback forwarding is enabled, you must specify Amazon SNS topics for bounce and complaint notifications. For more information, see SetIdentityFeedbackForwardingEnabled
.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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetIdentityNotificationTopic operation returned by the service.
-
setReceiptRulePositionAsync
public Future<SetReceiptRulePositionResult> setReceiptRulePositionAsync(SetReceiptRulePositionRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Sets the position of the specified receipt rule in the receipt rule set.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
setReceiptRulePositionAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the SetReceiptRulePosition operation returned by the service.
-
setReceiptRulePositionAsync
public Future<SetReceiptRulePositionResult> setReceiptRulePositionAsync(SetReceiptRulePositionRequest request, AsyncHandler<SetReceiptRulePositionRequest, SetReceiptRulePositionResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Sets the position of the specified receipt rule in the receipt rule set.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
setReceiptRulePositionAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the SetReceiptRulePosition operation returned by the service.
-
updateReceiptRuleAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Updates a receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
updateReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the UpdateReceiptRule operation returned by the service.
-
updateReceiptRuleAsync
public Future<UpdateReceiptRuleResult> updateReceiptRuleAsync(UpdateReceiptRuleRequest request, AsyncHandler<UpdateReceiptRuleRequest, UpdateReceiptRuleResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Updates a receipt rule.
For information about managing receipt rules, see the Amazon SES Developer Guide.
This action is throttled at one request per second.
- Specified by:
updateReceiptRuleAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the UpdateReceiptRule operation returned by the service.
-
verifyDomainDkimAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the VerifyDomainDkim operation returned by the service.
-
verifyDomainDkimAsync
public Future<VerifyDomainDkimResult> verifyDomainDkimAsync(VerifyDomainDkimRequest request, AsyncHandler<VerifyDomainDkimRequest, VerifyDomainDkimResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the VerifyDomainDkim operation returned by the service.
-
verifyDomainIdentityAsync
public Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
Verifies a domain.
This action is throttled at one request per second.
- Specified by:
verifyDomainIdentityAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the VerifyDomainIdentity operation returned by the service.
-
verifyDomainIdentityAsync
public Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest request, AsyncHandler<VerifyDomainIdentityRequest, VerifyDomainIdentityResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Verifies a domain.
This action is throttled at one request per second.
- Specified by:
verifyDomainIdentityAsync
in interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the VerifyDomainIdentity operation returned by the service.
-
verifyEmailAddressAsync
Description copied from interface:AmazonSimpleEmailServiceAsync
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the VerifyEmailAddress operation returned by the service.
-
verifyEmailAddressAsync
public Future<VerifyEmailAddressResult> verifyEmailAddressAsync(VerifyEmailAddressRequest request, AsyncHandler<VerifyEmailAddressRequest, VerifyEmailAddressResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the VerifyEmailAddress operation returned by the service.
-
verifyEmailIdentityAsync
public Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest request) Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-- Returns:
- A Java Future containing the result of the VerifyEmailIdentity operation returned by the service.
-
verifyEmailIdentityAsync
public Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest request, AsyncHandler<VerifyEmailIdentityRequest, VerifyEmailIdentityResult> asyncHandler) Description copied from interface:AmazonSimpleEmailServiceAsync
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 interfaceAmazonSimpleEmailServiceAsync
- Parameters:
request
-asyncHandler
- Asynchronous callback handler for events in the lifecycle of the request. Users can provide an implementation of the callback methods in this interface to receive notification of successful or unsuccessful completion of the operation.- Returns:
- A Java Future containing the result of the VerifyEmailIdentity operation returned by the service.
-
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 callgetExecutorService().shutdown()
followed bygetExecutorService().awaitTermination()
prior to calling this method.- Specified by:
shutdown
in interfaceAmazonSimpleEmailService
- Overrides:
shutdown
in classAmazonWebServiceClient
-