public class AmazonSimpleEmailServiceAsyncClient extends AmazonSimpleEmailServiceClient implements AmazonSimpleEmailServiceAsync
This is the API Reference for Amazon Simple Email Service (Amazon SES). This documentation is intended to be used in conjunction with the Amazon SES Developer Guide .
NOTE:For a list of Amazon SES endpoints to use in service requests, see Regions and Amazon SES in the Amazon SES Developer Guide.
exceptionUnmarshallers
client, clientConfiguration, endpoint, LOGGING_AWS_REQUEST_METRIC, requestHandler2s, timeOffset
Constructor and Description |
---|
AmazonSimpleEmailServiceAsyncClient()
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService.
|
AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService using the specified AWS account credentials.
|
AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService using the specified AWS account credentials,
executor service, and client configuration options.
|
AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService using the specified AWS account credentials
and executor service.
|
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService using the specified AWS account credentials provider.
|
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService using the specified AWS account credentials
provider and client configuration options.
|
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ClientConfiguration clientConfiguration,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService using the specified AWS account credentials
provider, executor service, and client configuration options.
|
AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider,
ExecutorService executorService)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService using the specified AWS account credentials provider
and executor service.
|
AmazonSimpleEmailServiceAsyncClient(ClientConfiguration clientConfiguration)
Constructs a new asynchronous client to invoke service methods on
AmazonSimpleEmailService.
|
Modifier and Type | Method and Description |
---|---|
Future<CloneReceiptRuleSetResult> |
cloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest cloneReceiptRuleSetRequest)
Creates a receipt rule set by cloning an existing one.
|
Future<CloneReceiptRuleSetResult> |
cloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest cloneReceiptRuleSetRequest,
AsyncHandler<CloneReceiptRuleSetRequest,CloneReceiptRuleSetResult> asyncHandler)
Creates a receipt rule set by cloning an existing one.
|
Future<CreateReceiptFilterResult> |
createReceiptFilterAsync(CreateReceiptFilterRequest createReceiptFilterRequest)
Creates a new IP address filter.
|
Future<CreateReceiptFilterResult> |
createReceiptFilterAsync(CreateReceiptFilterRequest createReceiptFilterRequest,
AsyncHandler<CreateReceiptFilterRequest,CreateReceiptFilterResult> asyncHandler)
Creates a new IP address filter.
|
Future<CreateReceiptRuleResult> |
createReceiptRuleAsync(CreateReceiptRuleRequest createReceiptRuleRequest)
Creates a receipt rule.
|
Future<CreateReceiptRuleResult> |
createReceiptRuleAsync(CreateReceiptRuleRequest createReceiptRuleRequest,
AsyncHandler<CreateReceiptRuleRequest,CreateReceiptRuleResult> asyncHandler)
Creates a receipt rule.
|
Future<CreateReceiptRuleSetResult> |
createReceiptRuleSetAsync(CreateReceiptRuleSetRequest createReceiptRuleSetRequest)
Creates an empty receipt rule set.
|
Future<CreateReceiptRuleSetResult> |
createReceiptRuleSetAsync(CreateReceiptRuleSetRequest createReceiptRuleSetRequest,
AsyncHandler<CreateReceiptRuleSetRequest,CreateReceiptRuleSetResult> asyncHandler)
Creates an empty receipt rule set.
|
Future<DeleteIdentityResult> |
deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest)
Deletes the specified identity (email address or domain) from the
list of verified identities.
|
Future<DeleteIdentityResult> |
deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest,
AsyncHandler<DeleteIdentityRequest,DeleteIdentityResult> asyncHandler)
Deletes the specified identity (email address or domain) from the
list of verified identities.
|
Future<DeleteIdentityPolicyResult> |
deleteIdentityPolicyAsync(DeleteIdentityPolicyRequest deleteIdentityPolicyRequest)
Deletes the specified sending authorization policy for the given
identity (email address or domain).
|
Future<DeleteIdentityPolicyResult> |
deleteIdentityPolicyAsync(DeleteIdentityPolicyRequest deleteIdentityPolicyRequest,
AsyncHandler<DeleteIdentityPolicyRequest,DeleteIdentityPolicyResult> asyncHandler)
Deletes the specified sending authorization policy for the given
identity (email address or domain).
|
Future<DeleteReceiptFilterResult> |
deleteReceiptFilterAsync(DeleteReceiptFilterRequest deleteReceiptFilterRequest)
Deletes the specified IP address filter.
|
Future<DeleteReceiptFilterResult> |
deleteReceiptFilterAsync(DeleteReceiptFilterRequest deleteReceiptFilterRequest,
AsyncHandler<DeleteReceiptFilterRequest,DeleteReceiptFilterResult> asyncHandler)
Deletes the specified IP address filter.
|
Future<DeleteReceiptRuleResult> |
deleteReceiptRuleAsync(DeleteReceiptRuleRequest deleteReceiptRuleRequest)
Deletes the specified receipt rule.
|
Future<DeleteReceiptRuleResult> |
deleteReceiptRuleAsync(DeleteReceiptRuleRequest deleteReceiptRuleRequest,
AsyncHandler<DeleteReceiptRuleRequest,DeleteReceiptRuleResult> asyncHandler)
Deletes the specified receipt rule.
|
Future<DeleteReceiptRuleSetResult> |
deleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest deleteReceiptRuleSetRequest)
Deletes the specified receipt rule set and all of the receipt rules
it contains.
|
Future<DeleteReceiptRuleSetResult> |
deleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest deleteReceiptRuleSetRequest,
AsyncHandler<DeleteReceiptRuleSetRequest,DeleteReceiptRuleSetResult> asyncHandler)
Deletes the specified receipt rule set and all of the receipt rules
it contains.
|
Future<Void> |
deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest)
Deletes the specified email address from the list of verified
addresses.
|
Future<Void> |
deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest,
AsyncHandler<DeleteVerifiedEmailAddressRequest,Void> asyncHandler)
Deletes the specified email address from the list of verified
addresses.
|
Future<DescribeActiveReceiptRuleSetResult> |
describeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest describeActiveReceiptRuleSetRequest)
Returns the metadata and receipt rules for the receipt rule set that
is currently active.
|
Future<DescribeActiveReceiptRuleSetResult> |
describeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest describeActiveReceiptRuleSetRequest,
AsyncHandler<DescribeActiveReceiptRuleSetRequest,DescribeActiveReceiptRuleSetResult> asyncHandler)
Returns the metadata and receipt rules for the receipt rule set that
is currently active.
|
Future<DescribeReceiptRuleResult> |
describeReceiptRuleAsync(DescribeReceiptRuleRequest describeReceiptRuleRequest)
Returns the details of the specified receipt rule.
|
Future<DescribeReceiptRuleResult> |
describeReceiptRuleAsync(DescribeReceiptRuleRequest describeReceiptRuleRequest,
AsyncHandler<DescribeReceiptRuleRequest,DescribeReceiptRuleResult> asyncHandler)
Returns the details of the specified receipt rule.
|
Future<DescribeReceiptRuleSetResult> |
describeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest describeReceiptRuleSetRequest)
Returns the details of the specified receipt rule set.
|
Future<DescribeReceiptRuleSetResult> |
describeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest describeReceiptRuleSetRequest,
AsyncHandler<DescribeReceiptRuleSetRequest,DescribeReceiptRuleSetResult> asyncHandler)
Returns the details of the specified receipt rule set.
|
ExecutorService |
getExecutorService()
Returns the executor service used by this async client to execute
requests.
|
Future<GetIdentityDkimAttributesResult> |
getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest)
Returns the current status of Easy DKIM signing for an entity.
|
Future<GetIdentityDkimAttributesResult> |
getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest,
AsyncHandler<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResult> asyncHandler)
Returns the current status of Easy DKIM signing for an entity.
|
Future<GetIdentityNotificationAttributesResult> |
getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest)
Given a list of verified identities (email addresses and/or domains),
returns a structure describing identity notification attributes.
|
Future<GetIdentityNotificationAttributesResult> |
getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest,
AsyncHandler<GetIdentityNotificationAttributesRequest,GetIdentityNotificationAttributesResult> asyncHandler)
Given a list of verified identities (email addresses and/or domains),
returns a structure describing identity notification attributes.
|
Future<GetIdentityPoliciesResult> |
getIdentityPoliciesAsync(GetIdentityPoliciesRequest getIdentityPoliciesRequest)
Returns the requested sending authorization policies for the given
identity (email address or domain).
|
Future<GetIdentityPoliciesResult> |
getIdentityPoliciesAsync(GetIdentityPoliciesRequest getIdentityPoliciesRequest,
AsyncHandler<GetIdentityPoliciesRequest,GetIdentityPoliciesResult> asyncHandler)
Returns the requested sending authorization policies for the given
identity (email address or domain).
|
Future<GetIdentityVerificationAttributesResult> |
getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest)
Given a list of identities (email addresses and/or domains), returns
the verification status and (for domain identities) the verification
token for each identity.
|
Future<GetIdentityVerificationAttributesResult> |
getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest,
AsyncHandler<GetIdentityVerificationAttributesRequest,GetIdentityVerificationAttributesResult> asyncHandler)
Given a list of identities (email addresses and/or domains), returns
the verification status and (for domain identities) the verification
token for each identity.
|
Future<GetSendQuotaResult> |
getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest)
Returns the user's current sending limits.
|
Future<GetSendQuotaResult> |
getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest,
AsyncHandler<GetSendQuotaRequest,GetSendQuotaResult> asyncHandler)
Returns the user's current sending limits.
|
Future<GetSendStatisticsResult> |
getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest)
Returns the user's sending statistics.
|
Future<GetSendStatisticsResult> |
getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest,
AsyncHandler<GetSendStatisticsRequest,GetSendStatisticsResult> asyncHandler)
Returns the user's sending statistics.
|
Future<ListIdentitiesResult> |
listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest)
Returns a list containing all of the identities (email addresses and
domains) for a specific AWS Account, regardless of verification
status.
|
Future<ListIdentitiesResult> |
listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest,
AsyncHandler<ListIdentitiesRequest,ListIdentitiesResult> asyncHandler)
Returns a list containing all of the identities (email addresses and
domains) for a specific AWS Account, regardless of verification
status.
|
Future<ListIdentityPoliciesResult> |
listIdentityPoliciesAsync(ListIdentityPoliciesRequest listIdentityPoliciesRequest)
Returns a list of sending authorization policies that are attached to
the given identity (email address or domain).
|
Future<ListIdentityPoliciesResult> |
listIdentityPoliciesAsync(ListIdentityPoliciesRequest listIdentityPoliciesRequest,
AsyncHandler<ListIdentityPoliciesRequest,ListIdentityPoliciesResult> asyncHandler)
Returns a list of sending authorization policies that are attached to
the given identity (email address or domain).
|
Future<ListReceiptFiltersResult> |
listReceiptFiltersAsync(ListReceiptFiltersRequest listReceiptFiltersRequest)
Lists the IP address filters associated with your account.
|
Future<ListReceiptFiltersResult> |
listReceiptFiltersAsync(ListReceiptFiltersRequest listReceiptFiltersRequest,
AsyncHandler<ListReceiptFiltersRequest,ListReceiptFiltersResult> asyncHandler)
Lists the IP address filters associated with your account.
|
Future<ListReceiptRuleSetsResult> |
listReceiptRuleSetsAsync(ListReceiptRuleSetsRequest listReceiptRuleSetsRequest)
Lists the receipt rule sets that exist under your AWS account.
|
Future<ListReceiptRuleSetsResult> |
listReceiptRuleSetsAsync(ListReceiptRuleSetsRequest listReceiptRuleSetsRequest,
AsyncHandler<ListReceiptRuleSetsRequest,ListReceiptRuleSetsResult> asyncHandler)
Lists the receipt rule sets that exist under your AWS account.
|
Future<ListVerifiedEmailAddressesResult> |
listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest)
Returns a list containing all of the email addresses that have been
verified.
|
Future<ListVerifiedEmailAddressesResult> |
listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest,
AsyncHandler<ListVerifiedEmailAddressesRequest,ListVerifiedEmailAddressesResult> asyncHandler)
Returns a list containing all of the email addresses that have been
verified.
|
Future<PutIdentityPolicyResult> |
putIdentityPolicyAsync(PutIdentityPolicyRequest putIdentityPolicyRequest)
Adds or updates a sending authorization policy for the specified
identity (email address or domain).
|
Future<PutIdentityPolicyResult> |
putIdentityPolicyAsync(PutIdentityPolicyRequest putIdentityPolicyRequest,
AsyncHandler<PutIdentityPolicyRequest,PutIdentityPolicyResult> asyncHandler)
Adds or updates a sending authorization policy for the specified
identity (email address or domain).
|
Future<ReorderReceiptRuleSetResult> |
reorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest reorderReceiptRuleSetRequest)
Reorders the receipt rules within a receipt rule set.
|
Future<ReorderReceiptRuleSetResult> |
reorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest reorderReceiptRuleSetRequest,
AsyncHandler<ReorderReceiptRuleSetRequest,ReorderReceiptRuleSetResult> asyncHandler)
Reorders the receipt rules within a receipt rule set.
|
Future<SendBounceResult> |
sendBounceAsync(SendBounceRequest sendBounceRequest)
Generates and sends a bounce message to the sender of an email you
received through Amazon SES.
|
Future<SendBounceResult> |
sendBounceAsync(SendBounceRequest sendBounceRequest,
AsyncHandler<SendBounceRequest,SendBounceResult> asyncHandler)
Generates and sends a bounce message to the sender of an email you
received through Amazon SES.
|
Future<SendEmailResult> |
sendEmailAsync(SendEmailRequest sendEmailRequest)
Composes an email message based on input data, and then immediately
queues the message for sending.
|
Future<SendEmailResult> |
sendEmailAsync(SendEmailRequest sendEmailRequest,
AsyncHandler<SendEmailRequest,SendEmailResult> asyncHandler)
Composes an email message based on input data, and then immediately
queues the message for sending.
|
Future<SendRawEmailResult> |
sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest)
Sends an email message, with header and content specified by the
client.
|
Future<SendRawEmailResult> |
sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest,
AsyncHandler<SendRawEmailRequest,SendRawEmailResult> asyncHandler)
Sends an email message, with header and content specified by the
client.
|
Future<SetActiveReceiptRuleSetResult> |
setActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest setActiveReceiptRuleSetRequest)
Sets the specified receipt rule set as the active receipt rule set.
|
Future<SetActiveReceiptRuleSetResult> |
setActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest setActiveReceiptRuleSetRequest,
AsyncHandler<SetActiveReceiptRuleSetRequest,SetActiveReceiptRuleSetResult> asyncHandler)
Sets the specified receipt rule set as the active receipt rule set.
|
Future<SetIdentityDkimEnabledResult> |
setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest)
Enables or disables Easy DKIM signing of email sent from an identity:
|
Future<SetIdentityDkimEnabledResult> |
setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest,
AsyncHandler<SetIdentityDkimEnabledRequest,SetIdentityDkimEnabledResult> asyncHandler)
Enables or disables Easy DKIM signing of email sent from an identity:
|
Future<SetIdentityFeedbackForwardingEnabledResult> |
setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest)
Given an identity (email address or domain), enables or disables
whether Amazon SES forwards bounce and complaint notifications as
email.
|
Future<SetIdentityFeedbackForwardingEnabledResult> |
setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest,
AsyncHandler<SetIdentityFeedbackForwardingEnabledRequest,SetIdentityFeedbackForwardingEnabledResult> asyncHandler)
Given an identity (email address or domain), enables or disables
whether Amazon SES forwards bounce and complaint notifications as
email.
|
Future<SetIdentityNotificationTopicResult> |
setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest)
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 . |
Future<SetIdentityNotificationTopicResult> |
setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest,
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 the
Source . |
Future<SetReceiptRulePositionResult> |
setReceiptRulePositionAsync(SetReceiptRulePositionRequest setReceiptRulePositionRequest)
Sets the position of the specified receipt rule in the receipt rule
set.
|
Future<SetReceiptRulePositionResult> |
setReceiptRulePositionAsync(SetReceiptRulePositionRequest setReceiptRulePositionRequest,
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.
|
Future<UpdateReceiptRuleResult> |
updateReceiptRuleAsync(UpdateReceiptRuleRequest updateReceiptRuleRequest)
Updates a receipt rule.
|
Future<UpdateReceiptRuleResult> |
updateReceiptRuleAsync(UpdateReceiptRuleRequest updateReceiptRuleRequest,
AsyncHandler<UpdateReceiptRuleRequest,UpdateReceiptRuleResult> asyncHandler)
Updates a receipt rule.
|
Future<VerifyDomainDkimResult> |
verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest)
Returns a set of DKIM tokens for a domain.
|
Future<VerifyDomainDkimResult> |
verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest,
AsyncHandler<VerifyDomainDkimRequest,VerifyDomainDkimResult> asyncHandler)
Returns a set of DKIM tokens for a domain.
|
Future<VerifyDomainIdentityResult> |
verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest)
Verifies a domain.
|
Future<VerifyDomainIdentityResult> |
verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest,
AsyncHandler<VerifyDomainIdentityRequest,VerifyDomainIdentityResult> asyncHandler)
Verifies a domain.
|
Future<Void> |
verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest)
Verifies an email address.
|
Future<Void> |
verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest,
AsyncHandler<VerifyEmailAddressRequest,Void> asyncHandler)
Verifies an email address.
|
Future<VerifyEmailIdentityResult> |
verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest)
Verifies an email address.
|
Future<VerifyEmailIdentityResult> |
verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest,
AsyncHandler<VerifyEmailIdentityRequest,VerifyEmailIdentityResult> asyncHandler)
Verifies an email address.
|
cloneReceiptRuleSet, createReceiptFilter, createReceiptRule, createReceiptRuleSet, deleteIdentity, deleteIdentityPolicy, deleteReceiptFilter, deleteReceiptRule, deleteReceiptRuleSet, deleteVerifiedEmailAddress, describeActiveReceiptRuleSet, describeActiveReceiptRuleSet, describeReceiptRule, describeReceiptRuleSet, getCachedResponseMetadata, getIdentityDkimAttributes, getIdentityNotificationAttributes, getIdentityPolicies, getIdentityVerificationAttributes, getSendQuota, getSendQuota, getSendStatistics, getSendStatistics, listIdentities, listIdentities, listIdentityPolicies, listReceiptFilters, listReceiptFilters, listReceiptRuleSets, listReceiptRuleSets, listVerifiedEmailAddresses, listVerifiedEmailAddresses, putIdentityPolicy, reorderReceiptRuleSet, sendBounce, sendEmail, sendRawEmail, setActiveReceiptRuleSet, setActiveReceiptRuleSet, setIdentityDkimEnabled, setIdentityFeedbackForwardingEnabled, setIdentityNotificationTopic, setReceiptRulePosition, updateReceiptRule, verifyDomainDkim, verifyDomainIdentity, verifyEmailAddress, verifyEmailIdentity
addRequestHandler, addRequestHandler, beforeMarshalling, configSigner, configSigner, configureRegion, createExecutionContext, createExecutionContext, createExecutionContext, endClientExecution, endClientExecution, findRequestMetricCollector, getRequestMetricsCollector, getServiceAbbreviation, getServiceName, getServiceNameIntern, getSigner, getSignerByURI, getSignerRegionOverride, getTimeOffset, isProfilingEnabled, isRequestMetricsEnabled, removeRequestHandler, removeRequestHandler, requestMetricCollector, setEndpoint, setEndpoint, setEndpointPrefix, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
cloneReceiptRuleSet, createReceiptFilter, createReceiptRule, createReceiptRuleSet, deleteIdentity, deleteIdentityPolicy, deleteReceiptFilter, deleteReceiptRule, deleteReceiptRuleSet, deleteVerifiedEmailAddress, describeActiveReceiptRuleSet, describeActiveReceiptRuleSet, describeReceiptRule, describeReceiptRuleSet, getCachedResponseMetadata, getIdentityDkimAttributes, getIdentityNotificationAttributes, getIdentityPolicies, getIdentityVerificationAttributes, getSendQuota, getSendQuota, getSendStatistics, getSendStatistics, listIdentities, listIdentities, listIdentityPolicies, listReceiptFilters, listReceiptFilters, listReceiptRuleSets, listReceiptRuleSets, listVerifiedEmailAddresses, listVerifiedEmailAddresses, putIdentityPolicy, reorderReceiptRuleSet, sendBounce, sendEmail, sendRawEmail, setActiveReceiptRuleSet, setActiveReceiptRuleSet, setEndpoint, setIdentityDkimEnabled, setIdentityFeedbackForwardingEnabled, setIdentityNotificationTopic, setReceiptRulePosition, setRegion, updateReceiptRule, verifyDomainDkim, verifyDomainIdentity, verifyEmailAddress, verifyEmailIdentity
public AmazonSimpleEmailServiceAsyncClient()
All service calls made using this new client object are blocking, and will not return until the service call completes.
DefaultAWSCredentialsProviderChain
public AmazonSimpleEmailServiceAsyncClient(ClientConfiguration clientConfiguration)
All service calls made using this new client object are blocking, and will not return until the service call completes.
clientConfiguration
- The client configuration options controlling how this
client connects to AmazonSimpleEmailService
(ex: proxy settings, retry counts, etc.).DefaultAWSCredentialsProviderChain
public AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentials
- The AWS credentials (access key ID and secret key) to use
when authenticating with AWS services.public AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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.public AmazonSimpleEmailServiceAsyncClient(AWSCredentials awsCredentials, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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.public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
awsCredentialsProvider
- The AWS credentials provider which will provide credentials
to authenticate requests with AWS services.public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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.public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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).public AmazonSimpleEmailServiceAsyncClient(AWSCredentialsProvider awsCredentialsProvider, ClientConfiguration clientConfiguration, ExecutorService executorService)
All calls made using this new client object are non-blocking, and will immediately return a Java Future object that the caller can later check to see if the service call has actually completed.
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.public ExecutorService getExecutorService()
public void shutdown()
shutdown
in interface AmazonSimpleEmailService
shutdown
in class AmazonWebServiceClient
public Future<DeleteIdentityResult> deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified identity (email address or domain) from the list of verified identities.
This action is throttled at one request per second.
deleteIdentityAsync
in interface AmazonSimpleEmailServiceAsync
deleteIdentityRequest
- Container for the necessary parameters to
execute the DeleteIdentity operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteIdentityResult> deleteIdentityAsync(DeleteIdentityRequest deleteIdentityRequest, AsyncHandler<DeleteIdentityRequest,DeleteIdentityResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified identity (email address or domain) from the list of verified identities.
This action is throttled at one request per second.
deleteIdentityAsync
in interface AmazonSimpleEmailServiceAsync
deleteIdentityRequest
- Container for the necessary parameters to
execute the DeleteIdentity operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateReceiptRuleResult> updateReceiptRuleAsync(UpdateReceiptRuleRequest updateReceiptRuleRequest) throws AmazonServiceException, AmazonClientException
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.
updateReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
updateReceiptRuleRequest
- Container for the necessary parameters
to execute the UpdateReceiptRule operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<UpdateReceiptRuleResult> updateReceiptRuleAsync(UpdateReceiptRuleRequest updateReceiptRuleRequest, AsyncHandler<UpdateReceiptRuleRequest,UpdateReceiptRuleResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
updateReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
updateReceiptRuleRequest
- Container for the necessary parameters
to execute the UpdateReceiptRule operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest) throws AmazonServiceException, AmazonClientException
Returns a list containing all of the email addresses that have been verified.
IMPORTANT:The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.
This action is throttled at one request per second.
listVerifiedEmailAddressesAsync
in interface AmazonSimpleEmailServiceAsync
listVerifiedEmailAddressesRequest
- Container for the necessary
parameters to execute the ListVerifiedEmailAddresses operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListVerifiedEmailAddressesResult> listVerifiedEmailAddressesAsync(ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest, AsyncHandler<ListVerifiedEmailAddressesRequest,ListVerifiedEmailAddressesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list containing all of the email addresses that have been verified.
IMPORTANT:The ListVerifiedEmailAddresses action is deprecated as of the May 15, 2012 release of Domain Verification. The ListIdentities action is now preferred.
This action is throttled at one request per second.
listVerifiedEmailAddressesAsync
in interface AmazonSimpleEmailServiceAsync
listVerifiedEmailAddressesRequest
- Container for the necessary
parameters to execute the ListVerifiedEmailAddresses operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteReceiptRuleResult> deleteReceiptRuleAsync(DeleteReceiptRuleRequest deleteReceiptRuleRequest) throws AmazonServiceException, AmazonClientException
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.
deleteReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
deleteReceiptRuleRequest
- Container for the necessary parameters
to execute the DeleteReceiptRule operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteReceiptRuleResult> deleteReceiptRuleAsync(DeleteReceiptRuleRequest deleteReceiptRuleRequest, AsyncHandler<DeleteReceiptRuleRequest,DeleteReceiptRuleResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
deleteReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
deleteReceiptRuleRequest
- Container for the necessary parameters
to execute the DeleteReceiptRule operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest) throws AmazonServiceException, AmazonClientException
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
This action is throttled at one request per second.
verifyEmailIdentityAsync
in interface AmazonSimpleEmailServiceAsync
verifyEmailIdentityRequest
- Container for the necessary
parameters to execute the VerifyEmailIdentity operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<VerifyEmailIdentityResult> verifyEmailIdentityAsync(VerifyEmailIdentityRequest verifyEmailIdentityRequest, AsyncHandler<VerifyEmailIdentityRequest,VerifyEmailIdentityResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
This action is throttled at one request per second.
verifyEmailIdentityAsync
in interface AmazonSimpleEmailServiceAsync
verifyEmailIdentityRequest
- Container for the necessary
parameters to execute the VerifyEmailIdentity operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest) throws AmazonServiceException, AmazonClientException
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
This action is throttled at one request per second 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 .
getIdentityNotificationAttributesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityNotificationAttributesRequest
- Container for the
necessary parameters to execute the GetIdentityNotificationAttributes
operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityNotificationAttributesResult> getIdentityNotificationAttributesAsync(GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest, AsyncHandler<GetIdentityNotificationAttributesRequest,GetIdentityNotificationAttributesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Given a list of verified identities (email addresses and/or domains), returns a structure describing identity notification attributes.
This action is throttled at one request per second 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 .
getIdentityNotificationAttributesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityNotificationAttributesRequest
- Container for the
necessary parameters to execute the GetIdentityNotificationAttributes
operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<VerifyDomainDkimResult> verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest) throws AmazonServiceException, AmazonClientException
Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.
This action is throttled at one request per second.
To enable or disable Easy DKIM signing for a domain, use the
SetIdentityDkimEnabled
action.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .
verifyDomainDkimAsync
in interface AmazonSimpleEmailServiceAsync
verifyDomainDkimRequest
- Container for the necessary parameters
to execute the VerifyDomainDkim operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<VerifyDomainDkimResult> verifyDomainDkimAsync(VerifyDomainDkimRequest verifyDomainDkimRequest, AsyncHandler<VerifyDomainDkimRequest,VerifyDomainDkimResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a set of DKIM tokens for a domain. DKIM tokens are character strings that represent your domain's identity. Using these tokens, you will need to create DNS CNAME records that point to DKIM public keys hosted by Amazon SES. Amazon Web Services will eventually detect that you have updated your DNS records; this detection process may take up to 72 hours. Upon successful detection, Amazon SES will be able to DKIM-sign email originating from that domain.
This action is throttled at one request per second.
To enable or disable Easy DKIM signing for a domain, use the
SetIdentityDkimEnabled
action.
For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide .
verifyDomainDkimAsync
in interface AmazonSimpleEmailServiceAsync
verifyDomainDkimRequest
- Container for the necessary parameters
to execute the VerifyDomainDkim operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest) throws AmazonServiceException, AmazonClientException
Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.
This action takes a list of identities as input and returns the following information for each:
This action is throttled at one request per second 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 .
getIdentityDkimAttributesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityDkimAttributesRequest
- Container for the necessary
parameters to execute the GetIdentityDkimAttributes operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityDkimAttributesResult> getIdentityDkimAttributesAsync(GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest, AsyncHandler<GetIdentityDkimAttributesRequest,GetIdentityDkimAttributesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the current status of Easy DKIM signing for an entity. For domain name identities, this action also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.
This action takes a list of identities as input and returns the following information for each:
This action is throttled at one request per second 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 .
getIdentityDkimAttributesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityDkimAttributesRequest
- Container for the necessary
parameters to execute the GetIdentityDkimAttributes operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReceiptRuleSetResult> describeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest describeReceiptRuleSetRequest) throws AmazonServiceException, AmazonClientException
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.
describeReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
describeReceiptRuleSetRequest
- Container for the necessary
parameters to execute the DescribeReceiptRuleSet operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReceiptRuleSetResult> describeReceiptRuleSetAsync(DescribeReceiptRuleSetRequest describeReceiptRuleSetRequest, AsyncHandler<DescribeReceiptRuleSetRequest,DescribeReceiptRuleSetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
describeReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
describeReceiptRuleSetRequest
- Container for the necessary
parameters to execute the DescribeReceiptRuleSet operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<Void> verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest) throws AmazonServiceException, AmazonClientException
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
IMPORTANT:The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.
This action is throttled at one request per second.
verifyEmailAddressAsync
in interface AmazonSimpleEmailServiceAsync
verifyEmailAddressRequest
- Container for the necessary
parameters to execute the VerifyEmailAddress operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<Void> verifyEmailAddressAsync(VerifyEmailAddressRequest verifyEmailAddressRequest, AsyncHandler<VerifyEmailAddressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Verifies an email address. This action causes a confirmation email message to be sent to the specified address.
IMPORTANT:The VerifyEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The VerifyEmailIdentity action is now preferred.
This action is throttled at one request per second.
verifyEmailAddressAsync
in interface AmazonSimpleEmailServiceAsync
verifyEmailAddressRequest
- Container for the necessary
parameters to execute the VerifyEmailAddress operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListIdentityPoliciesResult> listIdentityPoliciesAsync(ListIdentityPoliciesRequest listIdentityPoliciesRequest) throws AmazonServiceException, AmazonClientException
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
.
NOTE: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.
listIdentityPoliciesAsync
in interface AmazonSimpleEmailServiceAsync
listIdentityPoliciesRequest
- Container for the necessary
parameters to execute the ListIdentityPolicies operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListIdentityPoliciesResult> listIdentityPoliciesAsync(ListIdentityPoliciesRequest listIdentityPoliciesRequest, AsyncHandler<ListIdentityPoliciesRequest,ListIdentityPoliciesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
.
NOTE: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.
listIdentityPoliciesAsync
in interface AmazonSimpleEmailServiceAsync
listIdentityPoliciesRequest
- Container for the necessary
parameters to execute the ListIdentityPolicies operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListIdentitiesResult> listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest) throws AmazonServiceException, AmazonClientException
Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
This action is throttled at one request per second.
listIdentitiesAsync
in interface AmazonSimpleEmailServiceAsync
listIdentitiesRequest
- Container for the necessary parameters to
execute the ListIdentities operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListIdentitiesResult> listIdentitiesAsync(ListIdentitiesRequest listIdentitiesRequest, AsyncHandler<ListIdentitiesRequest,ListIdentitiesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns a list containing all of the identities (email addresses and domains) for a specific AWS Account, regardless of verification status.
This action is throttled at one request per second.
listIdentitiesAsync
in interface AmazonSimpleEmailServiceAsync
listIdentitiesRequest
- Container for the necessary parameters to
execute the ListIdentities operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest) throws AmazonServiceException, AmazonClientException
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.
getIdentityVerificationAttributesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityVerificationAttributesRequest
- Container for the
necessary parameters to execute the GetIdentityVerificationAttributes
operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityVerificationAttributesResult> getIdentityVerificationAttributesAsync(GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest, AsyncHandler<GetIdentityVerificationAttributesRequest,GetIdentityVerificationAttributesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.
This action is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.
getIdentityVerificationAttributesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityVerificationAttributesRequest
- Container for the
necessary parameters to execute the GetIdentityVerificationAttributes
operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest) throws AmazonServiceException, AmazonClientException
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.
NOTE: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 .
setIdentityFeedbackForwardingEnabledAsync
in interface AmazonSimpleEmailServiceAsync
setIdentityFeedbackForwardingEnabledRequest
- Container for the
necessary parameters to execute the
SetIdentityFeedbackForwardingEnabled operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetIdentityFeedbackForwardingEnabledResult> setIdentityFeedbackForwardingEnabledAsync(SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest, AsyncHandler<SetIdentityFeedbackForwardingEnabledRequest,SetIdentityFeedbackForwardingEnabledResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Given an identity (email address or domain), enables or disables whether Amazon SES forwards 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.
NOTE: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 .
setIdentityFeedbackForwardingEnabledAsync
in interface AmazonSimpleEmailServiceAsync
setIdentityFeedbackForwardingEnabledRequest
- Container for the
necessary parameters to execute the
SetIdentityFeedbackForwardingEnabled operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ReorderReceiptRuleSetResult> reorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest reorderReceiptRuleSetRequest) throws AmazonServiceException, AmazonClientException
Reorders the receipt rules within a receipt rule set.
NOTE: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.
reorderReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
reorderReceiptRuleSetRequest
- Container for the necessary
parameters to execute the ReorderReceiptRuleSet operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ReorderReceiptRuleSetResult> reorderReceiptRuleSetAsync(ReorderReceiptRuleSetRequest reorderReceiptRuleSetRequest, AsyncHandler<ReorderReceiptRuleSetRequest,ReorderReceiptRuleSetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Reorders the receipt rules within a receipt rule set.
NOTE: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.
reorderReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
reorderReceiptRuleSetRequest
- Container for the necessary
parameters to execute the ReorderReceiptRuleSet operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteReceiptFilterResult> deleteReceiptFilterAsync(DeleteReceiptFilterRequest deleteReceiptFilterRequest) throws AmazonServiceException, AmazonClientException
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.
deleteReceiptFilterAsync
in interface AmazonSimpleEmailServiceAsync
deleteReceiptFilterRequest
- Container for the necessary
parameters to execute the DeleteReceiptFilter operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteReceiptFilterResult> deleteReceiptFilterAsync(DeleteReceiptFilterRequest deleteReceiptFilterRequest, AsyncHandler<DeleteReceiptFilterRequest,DeleteReceiptFilterResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
deleteReceiptFilterAsync
in interface AmazonSimpleEmailServiceAsync
deleteReceiptFilterRequest
- Container for the necessary
parameters to execute the DeleteReceiptFilter operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReceiptRuleResult> describeReceiptRuleAsync(DescribeReceiptRuleRequest describeReceiptRuleRequest) throws AmazonServiceException, AmazonClientException
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.
describeReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
describeReceiptRuleRequest
- Container for the necessary
parameters to execute the DescribeReceiptRule operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeReceiptRuleResult> describeReceiptRuleAsync(DescribeReceiptRuleRequest describeReceiptRuleRequest, AsyncHandler<DescribeReceiptRuleRequest,DescribeReceiptRuleResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
describeReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
describeReceiptRuleRequest
- Container for the necessary
parameters to execute the DescribeReceiptRule operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetReceiptRulePositionResult> setReceiptRulePositionAsync(SetReceiptRulePositionRequest setReceiptRulePositionRequest) throws AmazonServiceException, AmazonClientException
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.
setReceiptRulePositionAsync
in interface AmazonSimpleEmailServiceAsync
setReceiptRulePositionRequest
- Container for the necessary
parameters to execute the SetReceiptRulePosition operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetReceiptRulePositionResult> setReceiptRulePositionAsync(SetReceiptRulePositionRequest setReceiptRulePositionRequest, AsyncHandler<SetReceiptRulePositionRequest,SetReceiptRulePositionResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
setReceiptRulePositionAsync
in interface AmazonSimpleEmailServiceAsync
setReceiptRulePositionRequest
- Container for the necessary
parameters to execute the SetReceiptRulePosition operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListReceiptFiltersResult> listReceiptFiltersAsync(ListReceiptFiltersRequest listReceiptFiltersRequest) throws AmazonServiceException, AmazonClientException
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.
listReceiptFiltersAsync
in interface AmazonSimpleEmailServiceAsync
listReceiptFiltersRequest
- Container for the necessary
parameters to execute the ListReceiptFilters operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListReceiptFiltersResult> listReceiptFiltersAsync(ListReceiptFiltersRequest listReceiptFiltersRequest, AsyncHandler<ListReceiptFiltersRequest,ListReceiptFiltersResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
listReceiptFiltersAsync
in interface AmazonSimpleEmailServiceAsync
listReceiptFiltersRequest
- Container for the necessary
parameters to execute the ListReceiptFilters operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReceiptFilterResult> createReceiptFilterAsync(CreateReceiptFilterRequest createReceiptFilterRequest) throws AmazonServiceException, AmazonClientException
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.
createReceiptFilterAsync
in interface AmazonSimpleEmailServiceAsync
createReceiptFilterRequest
- Container for the necessary
parameters to execute the CreateReceiptFilter operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReceiptFilterResult> createReceiptFilterAsync(CreateReceiptFilterRequest createReceiptFilterRequest, AsyncHandler<CreateReceiptFilterRequest,CreateReceiptFilterResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
createReceiptFilterAsync
in interface AmazonSimpleEmailServiceAsync
createReceiptFilterRequest
- Container for the necessary
parameters to execute the CreateReceiptFilter operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetSendStatisticsResult> getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest) throws AmazonServiceException, AmazonClientException
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
This action is throttled at one request per second.
getSendStatisticsAsync
in interface AmazonSimpleEmailServiceAsync
getSendStatisticsRequest
- Container for the necessary parameters
to execute the GetSendStatistics operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetSendStatisticsResult> getSendStatisticsAsync(GetSendStatisticsRequest getSendStatisticsRequest, AsyncHandler<GetSendStatisticsRequest,GetSendStatisticsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the user's sending statistics. The result is a list of data points, representing the last two weeks of sending activity.
Each data point in the list contains statistics for a 15-minute interval.
This action is throttled at one request per second.
getSendStatisticsAsync
in interface AmazonSimpleEmailServiceAsync
getSendStatisticsRequest
- Container for the necessary parameters
to execute the GetSendStatistics operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetActiveReceiptRuleSetResult> setActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest setActiveReceiptRuleSetRequest) throws AmazonServiceException, AmazonClientException
Sets the specified receipt rule set as the active receipt rule set.
NOTE: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.
setActiveReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
setActiveReceiptRuleSetRequest
- Container for the necessary
parameters to execute the SetActiveReceiptRuleSet operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetActiveReceiptRuleSetResult> setActiveReceiptRuleSetAsync(SetActiveReceiptRuleSetRequest setActiveReceiptRuleSetRequest, AsyncHandler<SetActiveReceiptRuleSetRequest,SetActiveReceiptRuleSetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Sets the specified receipt rule set as the active receipt rule set.
NOTE: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.
setActiveReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
setActiveReceiptRuleSetRequest
- Container for the necessary
parameters to execute the SetActiveReceiptRuleSet operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeActiveReceiptRuleSetResult> describeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest describeActiveReceiptRuleSetRequest) throws AmazonServiceException, AmazonClientException
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.
describeActiveReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
describeActiveReceiptRuleSetRequest
- Container for the necessary
parameters to execute the DescribeActiveReceiptRuleSet operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DescribeActiveReceiptRuleSetResult> describeActiveReceiptRuleSetAsync(DescribeActiveReceiptRuleSetRequest describeActiveReceiptRuleSetRequest, AsyncHandler<DescribeActiveReceiptRuleSetRequest,DescribeActiveReceiptRuleSetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
describeActiveReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
describeActiveReceiptRuleSetRequest
- Container for the necessary
parameters to execute the DescribeActiveReceiptRuleSet operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SendRawEmailResult> sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest) throws AmazonServiceException, AmazonClientException
Sends an email message, with header and content specified by the
client. The SendRawEmail
action is useful for sending
multipart MIME emails. The raw text of the message must comply with
Internet email standards; otherwise, the message cannot be sent.
There are several important points to know about
SendRawEmail
:
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
parameters SourceArn
, FromArn
, and/or
ReturnPathArn
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
IMPORTANT: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 the FromIdentityArn
or
ReturnPathIdentityArn
. (The same note applies to the
corresponding X-headers.) If you only specify the
SourceIdentityArn
, Amazon SES will simply set the "From"
address and the "Return Path" address to the identity specified in
SourceIdentityArn
. For more information about sending
authorization, see the
Amazon SES Developer Guide
.sendRawEmailAsync
in interface AmazonSimpleEmailServiceAsync
sendRawEmailRequest
- Container for the necessary parameters to
execute the SendRawEmail operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SendRawEmailResult> sendRawEmailAsync(SendRawEmailRequest sendRawEmailRequest, AsyncHandler<SendRawEmailRequest,SendRawEmailResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Sends an email message, with header and content specified by the
client. The SendRawEmail
action is useful for sending
multipart MIME emails. The raw text of the message must comply with
Internet email standards; otherwise, the message cannot be sent.
There are several important points to know about
SendRawEmail
:
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
parameters SourceArn
, FromArn
, and/or
ReturnPathArn
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
IMPORTANT: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 the FromIdentityArn
or
ReturnPathIdentityArn
. (The same note applies to the
corresponding X-headers.) If you only specify the
SourceIdentityArn
, Amazon SES will simply set the "From"
address and the "Return Path" address to the identity specified in
SourceIdentityArn
. For more information about sending
authorization, see the
Amazon SES Developer Guide
.sendRawEmailAsync
in interface AmazonSimpleEmailServiceAsync
sendRawEmailRequest
- Container for the necessary parameters to
execute the SendRawEmail operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReceiptRuleResult> createReceiptRuleAsync(CreateReceiptRuleRequest createReceiptRuleRequest) throws AmazonServiceException, AmazonClientException
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.
createReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
createReceiptRuleRequest
- Container for the necessary parameters
to execute the CreateReceiptRule operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReceiptRuleResult> createReceiptRuleAsync(CreateReceiptRuleRequest createReceiptRuleRequest, AsyncHandler<CreateReceiptRuleRequest,CreateReceiptRuleResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
createReceiptRuleAsync
in interface AmazonSimpleEmailServiceAsync
createReceiptRuleRequest
- Container for the necessary parameters
to execute the CreateReceiptRule operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteReceiptRuleSetResult> deleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest deleteReceiptRuleSetRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified receipt rule set and all of the receipt rules it contains.
NOTE: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.
deleteReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
deleteReceiptRuleSetRequest
- Container for the necessary
parameters to execute the DeleteReceiptRuleSet operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteReceiptRuleSetResult> deleteReceiptRuleSetAsync(DeleteReceiptRuleSetRequest deleteReceiptRuleSetRequest, AsyncHandler<DeleteReceiptRuleSetRequest,DeleteReceiptRuleSetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified receipt rule set and all of the receipt rules it contains.
NOTE: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.
deleteReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
deleteReceiptRuleSetRequest
- Container for the necessary
parameters to execute the DeleteReceiptRuleSet operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<PutIdentityPolicyResult> putIdentityPolicyAsync(PutIdentityPolicyRequest putIdentityPolicyRequest) throws AmazonServiceException, AmazonClientException
Adds or updates a sending authorization policy for the specified identity (email address or domain).
NOTE: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.
putIdentityPolicyAsync
in interface AmazonSimpleEmailServiceAsync
putIdentityPolicyRequest
- Container for the necessary parameters
to execute the PutIdentityPolicy operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<PutIdentityPolicyResult> putIdentityPolicyAsync(PutIdentityPolicyRequest putIdentityPolicyRequest, AsyncHandler<PutIdentityPolicyRequest,PutIdentityPolicyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Adds or updates a sending authorization policy for the specified identity (email address or domain).
NOTE: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.
putIdentityPolicyAsync
in interface AmazonSimpleEmailServiceAsync
putIdentityPolicyRequest
- Container for the necessary parameters
to execute the PutIdentityPolicy operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityPoliciesResult> getIdentityPoliciesAsync(GetIdentityPoliciesRequest getIdentityPoliciesRequest) throws AmazonServiceException, AmazonClientException
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.
NOTE: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.
getIdentityPoliciesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityPoliciesRequest
- Container for the necessary
parameters to execute the GetIdentityPolicies operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetIdentityPoliciesResult> getIdentityPoliciesAsync(GetIdentityPoliciesRequest getIdentityPoliciesRequest, AsyncHandler<GetIdentityPoliciesRequest,GetIdentityPoliciesResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
NOTE: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.
getIdentityPoliciesAsync
in interface AmazonSimpleEmailServiceAsync
getIdentityPoliciesRequest
- Container for the necessary
parameters to execute the GetIdentityPolicies operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest) throws AmazonServiceException, AmazonClientException
Enables or disables Easy DKIM signing of email sent from an identity:
example.com
), then Amazon SES will DKIM-sign all email
sent by addresses under that domain name (e.g.,
[email protected]
).
For email addresses (e.g., [email protected]
), you can
only enable Easy DKIM signing if the corresponding domain (e.g.,
example.com
) has been set up for Easy DKIM using the AWS
Console or the VerifyDomainDkim
action.
This action is throttled at one request per second.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .
setIdentityDkimEnabledAsync
in interface AmazonSimpleEmailServiceAsync
setIdentityDkimEnabledRequest
- Container for the necessary
parameters to execute the SetIdentityDkimEnabled operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetIdentityDkimEnabledResult> setIdentityDkimEnabledAsync(SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest, AsyncHandler<SetIdentityDkimEnabledRequest,SetIdentityDkimEnabledResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Enables or disables Easy DKIM signing of email sent from an identity:
example.com
), then Amazon SES will DKIM-sign all email
sent by addresses under that domain name (e.g.,
[email protected]
).
For email addresses (e.g., [email protected]
), you can
only enable Easy DKIM signing if the corresponding domain (e.g.,
example.com
) has been set up for Easy DKIM using the AWS
Console or the VerifyDomainDkim
action.
This action is throttled at one request per second.
For more information about Easy DKIM signing, go to the Amazon SES Developer Guide .
setIdentityDkimEnabledAsync
in interface AmazonSimpleEmailServiceAsync
setIdentityDkimEnabledRequest
- Container for the necessary
parameters to execute the SetIdentityDkimEnabled operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest) throws AmazonServiceException, AmazonClientException
Returns the user's current sending limits.
This action is throttled at one request per second.
getSendQuotaAsync
in interface AmazonSimpleEmailServiceAsync
getSendQuotaRequest
- Container for the necessary parameters to
execute the GetSendQuota operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<GetSendQuotaResult> getSendQuotaAsync(GetSendQuotaRequest getSendQuotaRequest, AsyncHandler<GetSendQuotaRequest,GetSendQuotaResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Returns the user's current sending limits.
This action is throttled at one request per second.
getSendQuotaAsync
in interface AmazonSimpleEmailServiceAsync
getSendQuotaRequest
- Container for the necessary parameters to
execute the GetSendQuota operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteIdentityPolicyResult> deleteIdentityPolicyAsync(DeleteIdentityPolicyRequest deleteIdentityPolicyRequest) throws AmazonServiceException, AmazonClientException
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.
NOTE: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.
deleteIdentityPolicyAsync
in interface AmazonSimpleEmailServiceAsync
deleteIdentityPolicyRequest
- Container for the necessary
parameters to execute the DeleteIdentityPolicy operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<DeleteIdentityPolicyResult> deleteIdentityPolicyAsync(DeleteIdentityPolicyRequest deleteIdentityPolicyRequest, AsyncHandler<DeleteIdentityPolicyRequest,DeleteIdentityPolicyResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
NOTE: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.
deleteIdentityPolicyAsync
in interface AmazonSimpleEmailServiceAsync
deleteIdentityPolicyRequest
- Container for the necessary
parameters to execute the DeleteIdentityPolicy operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListReceiptRuleSetsResult> listReceiptRuleSetsAsync(ListReceiptRuleSetsRequest listReceiptRuleSetsRequest) throws AmazonServiceException, AmazonClientException
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
to ListReceiptRuleSets
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.
listReceiptRuleSetsAsync
in interface AmazonSimpleEmailServiceAsync
listReceiptRuleSetsRequest
- Container for the necessary
parameters to execute the ListReceiptRuleSets operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<ListReceiptRuleSetsResult> listReceiptRuleSetsAsync(ListReceiptRuleSetsRequest listReceiptRuleSetsRequest, AsyncHandler<ListReceiptRuleSetsRequest,ListReceiptRuleSetsResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
to ListReceiptRuleSets
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.
listReceiptRuleSetsAsync
in interface AmazonSimpleEmailServiceAsync
listReceiptRuleSetsRequest
- Container for the necessary
parameters to execute the ListReceiptRuleSets operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SendEmailResult> sendEmailAsync(SendEmailRequest sendEmailRequest) throws AmazonServiceException, AmazonClientException
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
:
sendEmailAsync
in interface AmazonSimpleEmailServiceAsync
sendEmailRequest
- Container for the necessary parameters to
execute the SendEmail operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SendEmailResult> sendEmailAsync(SendEmailRequest sendEmailRequest, AsyncHandler<SendEmailRequest,SendEmailResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Composes an email message based on input data, and then immediately queues the message for sending.
There are several important points to know about
SendEmail
:
sendEmailAsync
in interface AmazonSimpleEmailServiceAsync
sendEmailRequest
- Container for the necessary parameters to
execute the SendEmail operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest) throws AmazonServiceException, AmazonClientException
Verifies a domain.
This action is throttled at one request per second.
verifyDomainIdentityAsync
in interface AmazonSimpleEmailServiceAsync
verifyDomainIdentityRequest
- Container for the necessary
parameters to execute the VerifyDomainIdentity operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<VerifyDomainIdentityResult> verifyDomainIdentityAsync(VerifyDomainIdentityRequest verifyDomainIdentityRequest, AsyncHandler<VerifyDomainIdentityRequest,VerifyDomainIdentityResult> asyncHandler) throws AmazonServiceException, AmazonClientException
Verifies a domain.
This action is throttled at one request per second.
verifyDomainIdentityAsync
in interface AmazonSimpleEmailServiceAsync
verifyDomainIdentityRequest
- Container for the necessary
parameters to execute the VerifyDomainIdentity operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest) throws AmazonServiceException, AmazonClientException
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
.
NOTE: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 .
setIdentityNotificationTopicAsync
in interface AmazonSimpleEmailServiceAsync
setIdentityNotificationTopicRequest
- Container for the necessary
parameters to execute the SetIdentityNotificationTopic operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SetIdentityNotificationTopicResult> setIdentityNotificationTopicAsync(SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest, AsyncHandler<SetIdentityNotificationTopicRequest,SetIdentityNotificationTopicResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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
.
NOTE: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 .
setIdentityNotificationTopicAsync
in interface AmazonSimpleEmailServiceAsync
setIdentityNotificationTopicRequest
- Container for the necessary
parameters to execute the SetIdentityNotificationTopic operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest) throws AmazonServiceException, AmazonClientException
Deletes the specified email address from the list of verified addresses.
IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.
This action is throttled at one request per second.
deleteVerifiedEmailAddressAsync
in interface AmazonSimpleEmailServiceAsync
deleteVerifiedEmailAddressRequest
- Container for the necessary
parameters to execute the DeleteVerifiedEmailAddress operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<Void> deleteVerifiedEmailAddressAsync(DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest, AsyncHandler<DeleteVerifiedEmailAddressRequest,Void> asyncHandler) throws AmazonServiceException, AmazonClientException
Deletes the specified email address from the list of verified addresses.
IMPORTANT:The DeleteVerifiedEmailAddress action is deprecated as of the May 15, 2012 release of Domain Verification. The DeleteIdentity action is now preferred.
This action is throttled at one request per second.
deleteVerifiedEmailAddressAsync
in interface AmazonSimpleEmailServiceAsync
deleteVerifiedEmailAddressRequest
- Container for the necessary
parameters to execute the DeleteVerifiedEmailAddress operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CloneReceiptRuleSetResult> cloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest cloneReceiptRuleSetRequest) throws AmazonServiceException, AmazonClientException
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.
cloneReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
cloneReceiptRuleSetRequest
- Container for the necessary
parameters to execute the CloneReceiptRuleSet operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CloneReceiptRuleSetResult> cloneReceiptRuleSetAsync(CloneReceiptRuleSetRequest cloneReceiptRuleSetRequest, AsyncHandler<CloneReceiptRuleSetRequest,CloneReceiptRuleSetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
cloneReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
cloneReceiptRuleSetRequest
- Container for the necessary
parameters to execute the CloneReceiptRuleSet operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SendBounceResult> sendBounceAsync(SendBounceRequest sendBounceRequest) throws AmazonServiceException, AmazonClientException
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.
NOTE: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.
sendBounceAsync
in interface AmazonSimpleEmailServiceAsync
sendBounceRequest
- Container for the necessary parameters to
execute the SendBounce operation on AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<SendBounceResult> sendBounceAsync(SendBounceRequest sendBounceRequest, AsyncHandler<SendBounceRequest,SendBounceResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
NOTE: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.
sendBounceAsync
in interface AmazonSimpleEmailServiceAsync
sendBounceRequest
- Container for the necessary parameters to
execute the SendBounce operation on AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReceiptRuleSetResult> createReceiptRuleSetAsync(CreateReceiptRuleSetRequest createReceiptRuleSetRequest) throws AmazonServiceException, AmazonClientException
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.
createReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
createReceiptRuleSetRequest
- Container for the necessary
parameters to execute the CreateReceiptRuleSet operation on
AmazonSimpleEmailService.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.public Future<CreateReceiptRuleSetResult> createReceiptRuleSetAsync(CreateReceiptRuleSetRequest createReceiptRuleSetRequest, AsyncHandler<CreateReceiptRuleSetRequest,CreateReceiptRuleSetResult> asyncHandler) throws AmazonServiceException, AmazonClientException
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.
createReceiptRuleSetAsync
in interface AmazonSimpleEmailServiceAsync
createReceiptRuleSetRequest
- Container for the necessary
parameters to execute the CreateReceiptRuleSet operation on
AmazonSimpleEmailService.asyncHandler
- Asynchronous callback handler for events in the
life-cycle of the request. Users could provide the implementation of
the four callback methods in this interface to process the operation
result or handle the exception.AmazonClientException
- If any internal errors are encountered inside the client while
attempting to make the request or handle the response. For example
if a network connection is not available.AmazonServiceException
- If an error response is returned by AmazonSimpleEmailService indicating
either a problem with the data in the request, or a server side issue.Copyright © 2015. All rights reserved.