software.amazon.awssdk.services.ses.SesAsyncClient Maven / Gradle / Ivy
Show all versions of ses Show documentation
/*
* Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
* the License. A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
* CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
* and limitations under the License.
*/
package software.amazon.awssdk.services.ses;
import java.util.concurrent.CompletableFuture;
import java.util.function.Consumer;
import software.amazon.awssdk.annotations.Generated;
import software.amazon.awssdk.annotations.SdkPublicApi;
import software.amazon.awssdk.annotations.ThreadSafe;
import software.amazon.awssdk.awscore.AwsClient;
import software.amazon.awssdk.services.ses.model.CloneReceiptRuleSetRequest;
import software.amazon.awssdk.services.ses.model.CloneReceiptRuleSetResponse;
import software.amazon.awssdk.services.ses.model.CreateConfigurationSetEventDestinationRequest;
import software.amazon.awssdk.services.ses.model.CreateConfigurationSetEventDestinationResponse;
import software.amazon.awssdk.services.ses.model.CreateConfigurationSetRequest;
import software.amazon.awssdk.services.ses.model.CreateConfigurationSetResponse;
import software.amazon.awssdk.services.ses.model.CreateConfigurationSetTrackingOptionsRequest;
import software.amazon.awssdk.services.ses.model.CreateConfigurationSetTrackingOptionsResponse;
import software.amazon.awssdk.services.ses.model.CreateCustomVerificationEmailTemplateRequest;
import software.amazon.awssdk.services.ses.model.CreateCustomVerificationEmailTemplateResponse;
import software.amazon.awssdk.services.ses.model.CreateReceiptFilterRequest;
import software.amazon.awssdk.services.ses.model.CreateReceiptFilterResponse;
import software.amazon.awssdk.services.ses.model.CreateReceiptRuleRequest;
import software.amazon.awssdk.services.ses.model.CreateReceiptRuleResponse;
import software.amazon.awssdk.services.ses.model.CreateReceiptRuleSetRequest;
import software.amazon.awssdk.services.ses.model.CreateReceiptRuleSetResponse;
import software.amazon.awssdk.services.ses.model.CreateTemplateRequest;
import software.amazon.awssdk.services.ses.model.CreateTemplateResponse;
import software.amazon.awssdk.services.ses.model.DeleteConfigurationSetEventDestinationRequest;
import software.amazon.awssdk.services.ses.model.DeleteConfigurationSetEventDestinationResponse;
import software.amazon.awssdk.services.ses.model.DeleteConfigurationSetRequest;
import software.amazon.awssdk.services.ses.model.DeleteConfigurationSetResponse;
import software.amazon.awssdk.services.ses.model.DeleteConfigurationSetTrackingOptionsRequest;
import software.amazon.awssdk.services.ses.model.DeleteConfigurationSetTrackingOptionsResponse;
import software.amazon.awssdk.services.ses.model.DeleteCustomVerificationEmailTemplateRequest;
import software.amazon.awssdk.services.ses.model.DeleteCustomVerificationEmailTemplateResponse;
import software.amazon.awssdk.services.ses.model.DeleteIdentityPolicyRequest;
import software.amazon.awssdk.services.ses.model.DeleteIdentityPolicyResponse;
import software.amazon.awssdk.services.ses.model.DeleteIdentityRequest;
import software.amazon.awssdk.services.ses.model.DeleteIdentityResponse;
import software.amazon.awssdk.services.ses.model.DeleteReceiptFilterRequest;
import software.amazon.awssdk.services.ses.model.DeleteReceiptFilterResponse;
import software.amazon.awssdk.services.ses.model.DeleteReceiptRuleRequest;
import software.amazon.awssdk.services.ses.model.DeleteReceiptRuleResponse;
import software.amazon.awssdk.services.ses.model.DeleteReceiptRuleSetRequest;
import software.amazon.awssdk.services.ses.model.DeleteReceiptRuleSetResponse;
import software.amazon.awssdk.services.ses.model.DeleteTemplateRequest;
import software.amazon.awssdk.services.ses.model.DeleteTemplateResponse;
import software.amazon.awssdk.services.ses.model.DeleteVerifiedEmailAddressRequest;
import software.amazon.awssdk.services.ses.model.DeleteVerifiedEmailAddressResponse;
import software.amazon.awssdk.services.ses.model.DescribeActiveReceiptRuleSetRequest;
import software.amazon.awssdk.services.ses.model.DescribeActiveReceiptRuleSetResponse;
import software.amazon.awssdk.services.ses.model.DescribeConfigurationSetRequest;
import software.amazon.awssdk.services.ses.model.DescribeConfigurationSetResponse;
import software.amazon.awssdk.services.ses.model.DescribeReceiptRuleRequest;
import software.amazon.awssdk.services.ses.model.DescribeReceiptRuleResponse;
import software.amazon.awssdk.services.ses.model.DescribeReceiptRuleSetRequest;
import software.amazon.awssdk.services.ses.model.DescribeReceiptRuleSetResponse;
import software.amazon.awssdk.services.ses.model.GetAccountSendingEnabledRequest;
import software.amazon.awssdk.services.ses.model.GetAccountSendingEnabledResponse;
import software.amazon.awssdk.services.ses.model.GetCustomVerificationEmailTemplateRequest;
import software.amazon.awssdk.services.ses.model.GetCustomVerificationEmailTemplateResponse;
import software.amazon.awssdk.services.ses.model.GetIdentityDkimAttributesRequest;
import software.amazon.awssdk.services.ses.model.GetIdentityDkimAttributesResponse;
import software.amazon.awssdk.services.ses.model.GetIdentityMailFromDomainAttributesRequest;
import software.amazon.awssdk.services.ses.model.GetIdentityMailFromDomainAttributesResponse;
import software.amazon.awssdk.services.ses.model.GetIdentityNotificationAttributesRequest;
import software.amazon.awssdk.services.ses.model.GetIdentityNotificationAttributesResponse;
import software.amazon.awssdk.services.ses.model.GetIdentityPoliciesRequest;
import software.amazon.awssdk.services.ses.model.GetIdentityPoliciesResponse;
import software.amazon.awssdk.services.ses.model.GetIdentityVerificationAttributesRequest;
import software.amazon.awssdk.services.ses.model.GetIdentityVerificationAttributesResponse;
import software.amazon.awssdk.services.ses.model.GetSendQuotaRequest;
import software.amazon.awssdk.services.ses.model.GetSendQuotaResponse;
import software.amazon.awssdk.services.ses.model.GetSendStatisticsRequest;
import software.amazon.awssdk.services.ses.model.GetSendStatisticsResponse;
import software.amazon.awssdk.services.ses.model.GetTemplateRequest;
import software.amazon.awssdk.services.ses.model.GetTemplateResponse;
import software.amazon.awssdk.services.ses.model.ListConfigurationSetsRequest;
import software.amazon.awssdk.services.ses.model.ListConfigurationSetsResponse;
import software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest;
import software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesResponse;
import software.amazon.awssdk.services.ses.model.ListIdentitiesRequest;
import software.amazon.awssdk.services.ses.model.ListIdentitiesResponse;
import software.amazon.awssdk.services.ses.model.ListIdentityPoliciesRequest;
import software.amazon.awssdk.services.ses.model.ListIdentityPoliciesResponse;
import software.amazon.awssdk.services.ses.model.ListReceiptFiltersRequest;
import software.amazon.awssdk.services.ses.model.ListReceiptFiltersResponse;
import software.amazon.awssdk.services.ses.model.ListReceiptRuleSetsRequest;
import software.amazon.awssdk.services.ses.model.ListReceiptRuleSetsResponse;
import software.amazon.awssdk.services.ses.model.ListTemplatesRequest;
import software.amazon.awssdk.services.ses.model.ListTemplatesResponse;
import software.amazon.awssdk.services.ses.model.ListVerifiedEmailAddressesRequest;
import software.amazon.awssdk.services.ses.model.ListVerifiedEmailAddressesResponse;
import software.amazon.awssdk.services.ses.model.PutConfigurationSetDeliveryOptionsRequest;
import software.amazon.awssdk.services.ses.model.PutConfigurationSetDeliveryOptionsResponse;
import software.amazon.awssdk.services.ses.model.PutIdentityPolicyRequest;
import software.amazon.awssdk.services.ses.model.PutIdentityPolicyResponse;
import software.amazon.awssdk.services.ses.model.ReorderReceiptRuleSetRequest;
import software.amazon.awssdk.services.ses.model.ReorderReceiptRuleSetResponse;
import software.amazon.awssdk.services.ses.model.SendBounceRequest;
import software.amazon.awssdk.services.ses.model.SendBounceResponse;
import software.amazon.awssdk.services.ses.model.SendBulkTemplatedEmailRequest;
import software.amazon.awssdk.services.ses.model.SendBulkTemplatedEmailResponse;
import software.amazon.awssdk.services.ses.model.SendCustomVerificationEmailRequest;
import software.amazon.awssdk.services.ses.model.SendCustomVerificationEmailResponse;
import software.amazon.awssdk.services.ses.model.SendEmailRequest;
import software.amazon.awssdk.services.ses.model.SendEmailResponse;
import software.amazon.awssdk.services.ses.model.SendRawEmailRequest;
import software.amazon.awssdk.services.ses.model.SendRawEmailResponse;
import software.amazon.awssdk.services.ses.model.SendTemplatedEmailRequest;
import software.amazon.awssdk.services.ses.model.SendTemplatedEmailResponse;
import software.amazon.awssdk.services.ses.model.SetActiveReceiptRuleSetRequest;
import software.amazon.awssdk.services.ses.model.SetActiveReceiptRuleSetResponse;
import software.amazon.awssdk.services.ses.model.SetIdentityDkimEnabledRequest;
import software.amazon.awssdk.services.ses.model.SetIdentityDkimEnabledResponse;
import software.amazon.awssdk.services.ses.model.SetIdentityFeedbackForwardingEnabledRequest;
import software.amazon.awssdk.services.ses.model.SetIdentityFeedbackForwardingEnabledResponse;
import software.amazon.awssdk.services.ses.model.SetIdentityHeadersInNotificationsEnabledRequest;
import software.amazon.awssdk.services.ses.model.SetIdentityHeadersInNotificationsEnabledResponse;
import software.amazon.awssdk.services.ses.model.SetIdentityMailFromDomainRequest;
import software.amazon.awssdk.services.ses.model.SetIdentityMailFromDomainResponse;
import software.amazon.awssdk.services.ses.model.SetIdentityNotificationTopicRequest;
import software.amazon.awssdk.services.ses.model.SetIdentityNotificationTopicResponse;
import software.amazon.awssdk.services.ses.model.SetReceiptRulePositionRequest;
import software.amazon.awssdk.services.ses.model.SetReceiptRulePositionResponse;
import software.amazon.awssdk.services.ses.model.TestRenderTemplateRequest;
import software.amazon.awssdk.services.ses.model.TestRenderTemplateResponse;
import software.amazon.awssdk.services.ses.model.UpdateAccountSendingEnabledRequest;
import software.amazon.awssdk.services.ses.model.UpdateAccountSendingEnabledResponse;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetEventDestinationRequest;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetEventDestinationResponse;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetReputationMetricsEnabledRequest;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetReputationMetricsEnabledResponse;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetSendingEnabledRequest;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetSendingEnabledResponse;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetTrackingOptionsRequest;
import software.amazon.awssdk.services.ses.model.UpdateConfigurationSetTrackingOptionsResponse;
import software.amazon.awssdk.services.ses.model.UpdateCustomVerificationEmailTemplateRequest;
import software.amazon.awssdk.services.ses.model.UpdateCustomVerificationEmailTemplateResponse;
import software.amazon.awssdk.services.ses.model.UpdateReceiptRuleRequest;
import software.amazon.awssdk.services.ses.model.UpdateReceiptRuleResponse;
import software.amazon.awssdk.services.ses.model.UpdateTemplateRequest;
import software.amazon.awssdk.services.ses.model.UpdateTemplateResponse;
import software.amazon.awssdk.services.ses.model.VerifyDomainDkimRequest;
import software.amazon.awssdk.services.ses.model.VerifyDomainDkimResponse;
import software.amazon.awssdk.services.ses.model.VerifyDomainIdentityRequest;
import software.amazon.awssdk.services.ses.model.VerifyDomainIdentityResponse;
import software.amazon.awssdk.services.ses.model.VerifyEmailAddressRequest;
import software.amazon.awssdk.services.ses.model.VerifyEmailAddressResponse;
import software.amazon.awssdk.services.ses.model.VerifyEmailIdentityRequest;
import software.amazon.awssdk.services.ses.model.VerifyEmailIdentityResponse;
import software.amazon.awssdk.services.ses.paginators.ListCustomVerificationEmailTemplatesPublisher;
import software.amazon.awssdk.services.ses.paginators.ListIdentitiesPublisher;
import software.amazon.awssdk.services.ses.waiters.SesAsyncWaiter;
/**
* Service client for accessing Amazon SES asynchronously. This can be created using the static {@link #builder()}
* method.The asynchronous client performs non-blocking I/O when configured with any {@code SdkAsyncHttpClient}
* supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
* some cases such as credentials retrieval and endpoint discovery as part of the async API call.
*
* Amazon Simple Email Service
*
* This document contains reference information for the Amazon Simple Email
* Service (Amazon SES) API, version 2010-12-01. This document is best used in conjunction with the Amazon SES Developer Guide.
*
*
*
* For a list of Amazon SES endpoints to use in service requests, see Regions and Amazon SES in the Amazon SES Developer Guide.
*
*
*
* This documentation contains reference information related to the following:
*
*
* -
*
*
* -
*
*
* -
*
*
* -
*
* Common Errors
*
*
*
*/
@Generated("software.amazon.awssdk:codegen")
@SdkPublicApi
@ThreadSafe
public interface SesAsyncClient extends AwsClient {
String SERVICE_NAME = "ses";
/**
* Value for looking up the service's metadata from the
* {@link software.amazon.awssdk.regions.ServiceMetadataProvider}.
*/
String SERVICE_METADATA_ID = "email";
/**
*
* 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param cloneReceiptRuleSetRequest
* Represents a request to create a receipt rule set by cloning an existing one. You use receipt rule sets to
* receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CloneReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CloneReceiptRuleSet
* @see AWS API
* Documentation
*/
default CompletableFuture cloneReceiptRuleSet(
CloneReceiptRuleSetRequest cloneReceiptRuleSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link CloneReceiptRuleSetRequest.Builder} avoiding the
* need to create one manually via {@link CloneReceiptRuleSetRequest#builder()}
*
*
* @param cloneReceiptRuleSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CloneReceiptRuleSetRequest.Builder} to create a request.
* Represents a request to create a receipt rule set by cloning an existing one. You use receipt rule sets to
* receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CloneReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CloneReceiptRuleSet
* @see AWS API
* Documentation
*/
default CompletableFuture cloneReceiptRuleSet(
Consumer cloneReceiptRuleSetRequest) {
return cloneReceiptRuleSet(CloneReceiptRuleSetRequest.builder().applyMutation(cloneReceiptRuleSetRequest).build());
}
/**
*
* Creates a configuration set.
*
*
* Configuration sets enable you to publish email sending events. For information about using configuration sets,
* see the Amazon SES Developer
* Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param createConfigurationSetRequest
* Represents a request to create a configuration set. Configuration sets enable you to publish email sending
* events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateConfigurationSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetAlreadyExistsException Indicates that the configuration set could not be created
* because of a naming conflict.
* - InvalidConfigurationSetException Indicates that the configuration set is invalid. See the error
* message for details.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateConfigurationSet
* @see AWS
* API Documentation
*/
default CompletableFuture createConfigurationSet(
CreateConfigurationSetRequest createConfigurationSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a configuration set.
*
*
* Configuration sets enable you to publish email sending events. For information about using configuration sets,
* see the Amazon SES Developer
* Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link CreateConfigurationSetRequest.Builder} avoiding the
* need to create one manually via {@link CreateConfigurationSetRequest#builder()}
*
*
* @param createConfigurationSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateConfigurationSetRequest.Builder} to create a
* request. Represents a request to create a configuration set. Configuration sets enable you to publish
* email sending events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateConfigurationSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetAlreadyExistsException Indicates that the configuration set could not be created
* because of a naming conflict.
* - InvalidConfigurationSetException Indicates that the configuration set is invalid. See the error
* message for details.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateConfigurationSet
* @see AWS
* API Documentation
*/
default CompletableFuture createConfigurationSet(
Consumer createConfigurationSetRequest) {
return createConfigurationSet(CreateConfigurationSetRequest.builder().applyMutation(createConfigurationSetRequest)
.build());
}
/**
*
* Creates a configuration set event destination.
*
*
*
* When you create or update an event destination, you must provide one, and only one, destination. The destination
* can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
*
*
*
* An event destination is the Amazon Web Services service to which Amazon SES publishes the email sending events
* associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param createConfigurationSetEventDestinationRequest
* Represents a request to create a configuration set event destination. A configuration set event
* destination, which can be either Amazon CloudWatch or Amazon Kinesis Firehose, describes an Amazon Web
* Services service in which Amazon SES publishes the email sending events associated with a configuration
* set. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateConfigurationSetEventDestination operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - EventDestinationAlreadyExistsException Indicates that the event destination could not be created
* because of a naming conflict.
* - InvalidCloudWatchDestinationException Indicates that the Amazon CloudWatch destination is invalid.
* See the error message for details.
* - InvalidFirehoseDestinationException Indicates that the Amazon Kinesis Firehose destination is
* invalid. See the error message for details.
* - InvalidSnsDestinationException Indicates that the Amazon Simple Notification Service (Amazon SNS)
* destination is invalid. See the error message for details.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateConfigurationSetEventDestination
* @see AWS API Documentation
*/
default CompletableFuture createConfigurationSetEventDestination(
CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a configuration set event destination.
*
*
*
* When you create or update an event destination, you must provide one, and only one, destination. The destination
* can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
*
*
*
* An event destination is the Amazon Web Services service to which Amazon SES publishes the email sending events
* associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link CreateConfigurationSetEventDestinationRequest.Builder} avoiding the need to create one manually via
* {@link CreateConfigurationSetEventDestinationRequest#builder()}
*
*
* @param createConfigurationSetEventDestinationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateConfigurationSetEventDestinationRequest.Builder} to
* create a request. Represents a request to create a configuration set event destination. A configuration
* set event destination, which can be either Amazon CloudWatch or Amazon Kinesis Firehose, describes an
* Amazon Web Services service in which Amazon SES publishes the email sending events associated with a
* configuration set. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateConfigurationSetEventDestination operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - EventDestinationAlreadyExistsException Indicates that the event destination could not be created
* because of a naming conflict.
* - InvalidCloudWatchDestinationException Indicates that the Amazon CloudWatch destination is invalid.
* See the error message for details.
* - InvalidFirehoseDestinationException Indicates that the Amazon Kinesis Firehose destination is
* invalid. See the error message for details.
* - InvalidSnsDestinationException Indicates that the Amazon Simple Notification Service (Amazon SNS)
* destination is invalid. See the error message for details.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateConfigurationSetEventDestination
* @see AWS API Documentation
*/
default CompletableFuture createConfigurationSetEventDestination(
Consumer createConfigurationSetEventDestinationRequest) {
return createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest.builder()
.applyMutation(createConfigurationSetEventDestinationRequest).build());
}
/**
*
* Creates an association between a configuration set and a custom domain for open and click event tracking.
*
*
* By default, images and links used for tracking open and click events are hosted on domains operated by Amazon
* SES. You can configure a subdomain of your own to handle these events. For information about using custom
* domains, see the Amazon SES Developer
* Guide.
*
*
* @param createConfigurationSetTrackingOptionsRequest
* Represents a request to create an open and click tracking option object in a configuration set.
* @return A Java Future containing the result of the CreateConfigurationSetTrackingOptions operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TrackingOptionsAlreadyExistsException Indicates that the configuration set you specified already
* contains a TrackingOptions object.
* - InvalidTrackingOptionsException Indicates that the custom domain to be used for open and click
* tracking redirects is invalid. This error appears most often in the following situations:
*
* -
*
* When the tracking domain you specified is not verified in Amazon SES.
*
*
* -
*
* When the tracking domain you specified is not a valid domain or subdomain.
*
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateConfigurationSetTrackingOptions
* @see AWS API Documentation
*/
default CompletableFuture createConfigurationSetTrackingOptions(
CreateConfigurationSetTrackingOptionsRequest createConfigurationSetTrackingOptionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an association between a configuration set and a custom domain for open and click event tracking.
*
*
* By default, images and links used for tracking open and click events are hosted on domains operated by Amazon
* SES. You can configure a subdomain of your own to handle these events. For information about using custom
* domains, see the Amazon SES Developer
* Guide.
*
*
*
* This is a convenience which creates an instance of the
* {@link CreateConfigurationSetTrackingOptionsRequest.Builder} avoiding the need to create one manually via
* {@link CreateConfigurationSetTrackingOptionsRequest#builder()}
*
*
* @param createConfigurationSetTrackingOptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateConfigurationSetTrackingOptionsRequest.Builder} to
* create a request. Represents a request to create an open and click tracking option object in a
* configuration set.
* @return A Java Future containing the result of the CreateConfigurationSetTrackingOptions operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TrackingOptionsAlreadyExistsException Indicates that the configuration set you specified already
* contains a TrackingOptions object.
* - InvalidTrackingOptionsException Indicates that the custom domain to be used for open and click
* tracking redirects is invalid. This error appears most often in the following situations:
*
* -
*
* When the tracking domain you specified is not verified in Amazon SES.
*
*
* -
*
* When the tracking domain you specified is not a valid domain or subdomain.
*
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateConfigurationSetTrackingOptions
* @see AWS API Documentation
*/
default CompletableFuture createConfigurationSetTrackingOptions(
Consumer createConfigurationSetTrackingOptionsRequest) {
return createConfigurationSetTrackingOptions(CreateConfigurationSetTrackingOptionsRequest.builder()
.applyMutation(createConfigurationSetTrackingOptionsRequest).build());
}
/**
*
* Creates a new custom verification email template.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param createCustomVerificationEmailTemplateRequest
* Represents a request to create a custom verification email template.
* @return A Java Future containing the result of the CreateCustomVerificationEmailTemplate operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CustomVerificationEmailTemplateAlreadyExistsException Indicates that a custom verification email
* template with the name you specified already exists.
* - FromEmailAddressNotVerifiedException Indicates that the sender address specified for a custom
* verification email is not verified, and is therefore not eligible to send the custom verification email.
* - CustomVerificationEmailInvalidContentException Indicates that custom verification email template
* provided content is invalid.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture createCustomVerificationEmailTemplate(
CreateCustomVerificationEmailTemplateRequest createCustomVerificationEmailTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new custom verification email template.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link CreateCustomVerificationEmailTemplateRequest.Builder} avoiding the need to create one manually via
* {@link CreateCustomVerificationEmailTemplateRequest#builder()}
*
*
* @param createCustomVerificationEmailTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateCustomVerificationEmailTemplateRequest.Builder} to
* create a request. Represents a request to create a custom verification email template.
* @return A Java Future containing the result of the CreateCustomVerificationEmailTemplate operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CustomVerificationEmailTemplateAlreadyExistsException Indicates that a custom verification email
* template with the name you specified already exists.
* - FromEmailAddressNotVerifiedException Indicates that the sender address specified for a custom
* verification email is not verified, and is therefore not eligible to send the custom verification email.
* - CustomVerificationEmailInvalidContentException Indicates that custom verification email template
* provided content is invalid.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture createCustomVerificationEmailTemplate(
Consumer createCustomVerificationEmailTemplateRequest) {
return createCustomVerificationEmailTemplate(CreateCustomVerificationEmailTemplateRequest.builder()
.applyMutation(createCustomVerificationEmailTemplateRequest).build());
}
/**
*
* Creates a new IP address filter.
*
*
* For information about setting up IP address filters, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param createReceiptFilterRequest
* Represents a request to create a new IP address filter. You use IP address filters when you receive email
* with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateReceiptFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateReceiptFilter
* @see AWS API
* Documentation
*/
default CompletableFuture createReceiptFilter(
CreateReceiptFilterRequest createReceiptFilterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a new IP address filter.
*
*
* For information about setting up IP address filters, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link CreateReceiptFilterRequest.Builder} avoiding the
* need to create one manually via {@link CreateReceiptFilterRequest#builder()}
*
*
* @param createReceiptFilterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateReceiptFilterRequest.Builder} to create a request.
* Represents a request to create a new IP address filter. You use IP address filters when you receive email
* with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateReceiptFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateReceiptFilter
* @see AWS API
* Documentation
*/
default CompletableFuture createReceiptFilter(
Consumer createReceiptFilterRequest) {
return createReceiptFilter(CreateReceiptFilterRequest.builder().applyMutation(createReceiptFilterRequest).build());
}
/**
*
* Creates a receipt rule.
*
*
* For information about setting up receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param createReceiptRuleRequest
* Represents a request to create a receipt rule. You use receipt rules to receive email with Amazon SES. For
* more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InvalidSnsTopicException Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES
* could not publish to the topic, possibly due to permissions issues. For information about giving
* permissions, see the Amazon SES
* Developer Guide.
* - InvalidS3ConfigurationException Indicates that the provided Amazon S3 bucket or Amazon Web Services
* KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to
* permissions issues. For information about giving permissions, see the Amazon SES
* Developer Guide.
* - InvalidLambdaFunctionException Indicates that the provided Amazon Web Services Lambda function is
* invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues.
* For information about giving permissions, see the Amazon SES
* Developer Guide.
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture createReceiptRule(CreateReceiptRuleRequest createReceiptRuleRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a receipt rule.
*
*
* For information about setting up receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link CreateReceiptRuleRequest.Builder} avoiding the need
* to create one manually via {@link CreateReceiptRuleRequest#builder()}
*
*
* @param createReceiptRuleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateReceiptRuleRequest.Builder} to create a request.
* Represents a request to create a receipt rule. You use receipt rules to receive email with Amazon SES. For
* more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InvalidSnsTopicException Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES
* could not publish to the topic, possibly due to permissions issues. For information about giving
* permissions, see the Amazon SES
* Developer Guide.
* - InvalidS3ConfigurationException Indicates that the provided Amazon S3 bucket or Amazon Web Services
* KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to
* permissions issues. For information about giving permissions, see the Amazon SES
* Developer Guide.
* - InvalidLambdaFunctionException Indicates that the provided Amazon Web Services Lambda function is
* invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues.
* For information about giving permissions, see the Amazon SES
* Developer Guide.
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture createReceiptRule(
Consumer createReceiptRuleRequest) {
return createReceiptRule(CreateReceiptRuleRequest.builder().applyMutation(createReceiptRuleRequest).build());
}
/**
*
* Creates an empty receipt rule set.
*
*
* For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param createReceiptRuleSetRequest
* Represents a request to create an empty receipt rule set. You use receipt rule sets to receive email with
* Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture createReceiptRuleSet(
CreateReceiptRuleSetRequest createReceiptRuleSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an empty receipt rule set.
*
*
* For information about setting up receipt rule sets, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link CreateReceiptRuleSetRequest.Builder} avoiding the
* need to create one manually via {@link CreateReceiptRuleSetRequest#builder()}
*
*
* @param createReceiptRuleSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateReceiptRuleSetRequest.Builder} to create a request.
* Represents a request to create an empty receipt rule set. You use receipt rule sets to receive email with
* Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture createReceiptRuleSet(
Consumer createReceiptRuleSetRequest) {
return createReceiptRuleSet(CreateReceiptRuleSetRequest.builder().applyMutation(createReceiptRuleSetRequest).build());
}
/**
*
* Creates an email template. Email templates enable you to send personalized email to one or more destinations in a
* single operation. For more information, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param createTemplateRequest
* Represents a request to create an email template. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - InvalidTemplateException Indicates that the template that you specified could not be rendered. This
* issue may occur when a template refers to a partial that does not exist.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture createTemplate(CreateTemplateRequest createTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates an email template. Email templates enable you to send personalized email to one or more destinations in a
* single operation. For more information, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link CreateTemplateRequest.Builder} avoiding the need to
* create one manually via {@link CreateTemplateRequest#builder()}
*
*
* @param createTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.CreateTemplateRequest.Builder} to create a request.
* Represents a request to create an email template. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the CreateTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - AlreadyExistsException Indicates that a resource could not be created because of a naming conflict.
* - InvalidTemplateException Indicates that the template that you specified could not be rendered. This
* issue may occur when a template refers to a partial that does not exist.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.CreateTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture createTemplate(Consumer createTemplateRequest) {
return createTemplate(CreateTemplateRequest.builder().applyMutation(createTemplateRequest).build());
}
/**
*
* Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about
* using configuration sets, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteConfigurationSetRequest
* Represents a request to delete a configuration set. Configuration sets enable you to publish email sending
* events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteConfigurationSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteConfigurationSet
* @see AWS
* API Documentation
*/
default CompletableFuture deleteConfigurationSet(
DeleteConfigurationSetRequest deleteConfigurationSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a configuration set. Configuration sets enable you to publish email sending events. For information about
* using configuration sets, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteConfigurationSetRequest.Builder} avoiding the
* need to create one manually via {@link DeleteConfigurationSetRequest#builder()}
*
*
* @param deleteConfigurationSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteConfigurationSetRequest.Builder} to create a
* request. Represents a request to delete a configuration set. Configuration sets enable you to publish
* email sending events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteConfigurationSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteConfigurationSet
* @see AWS
* API Documentation
*/
default CompletableFuture deleteConfigurationSet(
Consumer deleteConfigurationSetRequest) {
return deleteConfigurationSet(DeleteConfigurationSetRequest.builder().applyMutation(deleteConfigurationSetRequest)
.build());
}
/**
*
* Deletes a configuration set event destination. Configuration set event destinations are associated with
* configuration sets, which enable you to publish email sending events. For information about using configuration
* sets, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteConfigurationSetEventDestinationRequest
* Represents a request to delete a configuration set event destination. Configuration set event destinations
* are associated with configuration sets, which enable you to publish email sending events. For information
* about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteConfigurationSetEventDestination operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - EventDestinationDoesNotExistException Indicates that the event destination does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteConfigurationSetEventDestination
* @see AWS API Documentation
*/
default CompletableFuture deleteConfigurationSetEventDestination(
DeleteConfigurationSetEventDestinationRequest deleteConfigurationSetEventDestinationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes a configuration set event destination. Configuration set event destinations are associated with
* configuration sets, which enable you to publish email sending events. For information about using configuration
* sets, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link DeleteConfigurationSetEventDestinationRequest.Builder} avoiding the need to create one manually via
* {@link DeleteConfigurationSetEventDestinationRequest#builder()}
*
*
* @param deleteConfigurationSetEventDestinationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteConfigurationSetEventDestinationRequest.Builder} to
* create a request. Represents a request to delete a configuration set event destination. Configuration set
* event destinations are associated with configuration sets, which enable you to publish email sending
* events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteConfigurationSetEventDestination operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - EventDestinationDoesNotExistException Indicates that the event destination does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteConfigurationSetEventDestination
* @see AWS API Documentation
*/
default CompletableFuture deleteConfigurationSetEventDestination(
Consumer deleteConfigurationSetEventDestinationRequest) {
return deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest.builder()
.applyMutation(deleteConfigurationSetEventDestinationRequest).build());
}
/**
*
* Deletes an association between a configuration set and a custom domain for open and click event tracking.
*
*
* By default, images and links used for tracking open and click events are hosted on domains operated by Amazon
* SES. You can configure a subdomain of your own to handle these events. For information about using custom
* domains, see the Amazon SES Developer
* Guide.
*
*
*
* Deleting this kind of association results in emails sent using the specified configuration set to capture open
* and click events using the standard, Amazon SES-operated domains.
*
*
*
* @param deleteConfigurationSetTrackingOptionsRequest
* Represents a request to delete open and click tracking options in a configuration set.
* @return A Java Future containing the result of the DeleteConfigurationSetTrackingOptions operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TrackingOptionsDoesNotExistException Indicates that the TrackingOptions object you specified does not
* exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteConfigurationSetTrackingOptions
* @see AWS API Documentation
*/
default CompletableFuture deleteConfigurationSetTrackingOptions(
DeleteConfigurationSetTrackingOptionsRequest deleteConfigurationSetTrackingOptionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an association between a configuration set and a custom domain for open and click event tracking.
*
*
* By default, images and links used for tracking open and click events are hosted on domains operated by Amazon
* SES. You can configure a subdomain of your own to handle these events. For information about using custom
* domains, see the Amazon SES Developer
* Guide.
*
*
*
* Deleting this kind of association results in emails sent using the specified configuration set to capture open
* and click events using the standard, Amazon SES-operated domains.
*
*
*
* This is a convenience which creates an instance of the
* {@link DeleteConfigurationSetTrackingOptionsRequest.Builder} avoiding the need to create one manually via
* {@link DeleteConfigurationSetTrackingOptionsRequest#builder()}
*
*
* @param deleteConfigurationSetTrackingOptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteConfigurationSetTrackingOptionsRequest.Builder} to
* create a request. Represents a request to delete open and click tracking options in a configuration set.
* @return A Java Future containing the result of the DeleteConfigurationSetTrackingOptions operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TrackingOptionsDoesNotExistException Indicates that the TrackingOptions object you specified does not
* exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteConfigurationSetTrackingOptions
* @see AWS API Documentation
*/
default CompletableFuture deleteConfigurationSetTrackingOptions(
Consumer deleteConfigurationSetTrackingOptionsRequest) {
return deleteConfigurationSetTrackingOptions(DeleteConfigurationSetTrackingOptionsRequest.builder()
.applyMutation(deleteConfigurationSetTrackingOptionsRequest).build());
}
/**
*
* Deletes an existing custom verification email template.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteCustomVerificationEmailTemplateRequest
* Represents a request to delete an existing custom verification email template.
* @return A Java Future containing the result of the DeleteCustomVerificationEmailTemplate operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture deleteCustomVerificationEmailTemplate(
DeleteCustomVerificationEmailTemplateRequest deleteCustomVerificationEmailTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an existing custom verification email template.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link DeleteCustomVerificationEmailTemplateRequest.Builder} avoiding the need to create one manually via
* {@link DeleteCustomVerificationEmailTemplateRequest#builder()}
*
*
* @param deleteCustomVerificationEmailTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteCustomVerificationEmailTemplateRequest.Builder} to
* create a request. Represents a request to delete an existing custom verification email template.
* @return A Java Future containing the result of the DeleteCustomVerificationEmailTemplate operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture deleteCustomVerificationEmailTemplate(
Consumer deleteCustomVerificationEmailTemplateRequest) {
return deleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest.builder()
.applyMutation(deleteCustomVerificationEmailTemplateRequest).build());
}
/**
*
* Deletes the specified identity (an email address or a domain) from the list of verified identities.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteIdentityRequest
* Represents a request to delete one of your Amazon SES identities (an email address or domain).
* @return A Java Future containing the result of the DeleteIdentity operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteIdentity
* @see AWS API
* Documentation
*/
default CompletableFuture deleteIdentity(DeleteIdentityRequest deleteIdentityRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified identity (an email address or a domain) from the list of verified identities.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteIdentityRequest.Builder} avoiding the need to
* create one manually via {@link DeleteIdentityRequest#builder()}
*
*
* @param deleteIdentityRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteIdentityRequest.Builder} to create a request.
* Represents a request to delete one of your Amazon SES identities (an email address or domain).
* @return A Java Future containing the result of the DeleteIdentity operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteIdentity
* @see AWS API
* Documentation
*/
default CompletableFuture deleteIdentity(Consumer deleteIdentityRequest) {
return deleteIdentity(DeleteIdentityRequest.builder().applyMutation(deleteIdentityRequest).build());
}
/**
*
* Deletes the specified sending authorization policy for the given identity (an email address or a domain). This
* operation returns successfully even if a policy with the specified name does not exist.
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteIdentityPolicyRequest
* Represents a request to delete a sending authorization policy for an identity. Sending authorization is an
* Amazon SES feature that enables you to authorize other senders to use your identities. For information,
* see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the DeleteIdentityPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteIdentityPolicy
* @see AWS
* API Documentation
*/
default CompletableFuture deleteIdentityPolicy(
DeleteIdentityPolicyRequest deleteIdentityPolicyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified sending authorization policy for the given identity (an email address or a domain). This
* operation returns successfully even if a policy with the specified name does not exist.
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteIdentityPolicyRequest.Builder} avoiding the
* need to create one manually via {@link DeleteIdentityPolicyRequest#builder()}
*
*
* @param deleteIdentityPolicyRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteIdentityPolicyRequest.Builder} to create a request.
* Represents a request to delete a sending authorization policy for an identity. Sending authorization is an
* Amazon SES feature that enables you to authorize other senders to use your identities. For information,
* see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the DeleteIdentityPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteIdentityPolicy
* @see AWS
* API Documentation
*/
default CompletableFuture deleteIdentityPolicy(
Consumer deleteIdentityPolicyRequest) {
return deleteIdentityPolicy(DeleteIdentityPolicyRequest.builder().applyMutation(deleteIdentityPolicyRequest).build());
}
/**
*
* Deletes the specified IP address filter.
*
*
* For information about managing IP address filters, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteReceiptFilterRequest
* Represents a request to delete an IP address filter. You use IP address filters when you receive email
* with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteReceiptFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteReceiptFilter
* @see AWS API
* Documentation
*/
default CompletableFuture deleteReceiptFilter(
DeleteReceiptFilterRequest deleteReceiptFilterRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified IP address filter.
*
*
* For information about managing IP address filters, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteReceiptFilterRequest.Builder} avoiding the
* need to create one manually via {@link DeleteReceiptFilterRequest#builder()}
*
*
* @param deleteReceiptFilterRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteReceiptFilterRequest.Builder} to create a request.
* Represents a request to delete an IP address filter. You use IP address filters when you receive email
* with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteReceiptFilter operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteReceiptFilter
* @see AWS API
* Documentation
*/
default CompletableFuture deleteReceiptFilter(
Consumer deleteReceiptFilterRequest) {
return deleteReceiptFilter(DeleteReceiptFilterRequest.builder().applyMutation(deleteReceiptFilterRequest).build());
}
/**
*
* Deletes the specified receipt rule.
*
*
* For information about managing receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteReceiptRuleRequest
* Represents a request to delete a receipt rule. You use receipt rules to receive email with Amazon SES. For
* more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture deleteReceiptRule(DeleteReceiptRuleRequest deleteReceiptRuleRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified receipt rule.
*
*
* For information about managing receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteReceiptRuleRequest.Builder} avoiding the need
* to create one manually via {@link DeleteReceiptRuleRequest#builder()}
*
*
* @param deleteReceiptRuleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteReceiptRuleRequest.Builder} to create a request.
* Represents a request to delete a receipt rule. You use receipt rules to receive email with Amazon SES. For
* more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture deleteReceiptRule(
Consumer deleteReceiptRuleRequest) {
return deleteReceiptRule(DeleteReceiptRuleRequest.builder().applyMutation(deleteReceiptRuleRequest).build());
}
/**
*
* Deletes the specified receipt rule set and all of the receipt rules it contains.
*
*
*
* The currently active rule set cannot be deleted.
*
*
*
* For information about managing receipt rule sets, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteReceiptRuleSetRequest
* Represents a request to delete a receipt rule set and all of the receipt rules it contains. You use
* receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CannotDeleteException Indicates that the delete operation could not be completed.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture deleteReceiptRuleSet(
DeleteReceiptRuleSetRequest deleteReceiptRuleSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes the specified receipt rule set and all of the receipt rules it contains.
*
*
*
* The currently active rule set cannot be deleted.
*
*
*
* For information about managing receipt rule sets, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteReceiptRuleSetRequest.Builder} avoiding the
* need to create one manually via {@link DeleteReceiptRuleSetRequest#builder()}
*
*
* @param deleteReceiptRuleSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteReceiptRuleSetRequest.Builder} to create a request.
* Represents a request to delete a receipt rule set and all of the receipt rules it contains. You use
* receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CannotDeleteException Indicates that the delete operation could not be completed.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture deleteReceiptRuleSet(
Consumer deleteReceiptRuleSetRequest) {
return deleteReceiptRuleSet(DeleteReceiptRuleSetRequest.builder().applyMutation(deleteReceiptRuleSetRequest).build());
}
/**
*
* Deletes an email template.
*
*
* You can execute this operation no more than once per second.
*
*
* @param deleteTemplateRequest
* Represents a request to delete an email template. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture deleteTemplate(DeleteTemplateRequest deleteTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deletes an email template.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteTemplateRequest.Builder} avoiding the need to
* create one manually via {@link DeleteTemplateRequest#builder()}
*
*
* @param deleteTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteTemplateRequest.Builder} to create a request.
* Represents a request to delete an email template. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DeleteTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture deleteTemplate(Consumer deleteTemplateRequest) {
return deleteTemplate(DeleteTemplateRequest.builder().applyMutation(deleteTemplateRequest).build());
}
/**
*
* Deprecated. Use the DeleteIdentity
operation to delete email addresses and domains.
*
*
* @param deleteVerifiedEmailAddressRequest
* Represents a request to delete an email address from the list of email addresses you have attempted to
* verify under your Amazon Web Services account.
* @return A Java Future containing the result of the DeleteVerifiedEmailAddress operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteVerifiedEmailAddress
* @see AWS API Documentation
*/
default CompletableFuture deleteVerifiedEmailAddress(
DeleteVerifiedEmailAddressRequest deleteVerifiedEmailAddressRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deprecated. Use the DeleteIdentity
operation to delete email addresses and domains.
*
*
*
* This is a convenience which creates an instance of the {@link DeleteVerifiedEmailAddressRequest.Builder} avoiding
* the need to create one manually via {@link DeleteVerifiedEmailAddressRequest#builder()}
*
*
* @param deleteVerifiedEmailAddressRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DeleteVerifiedEmailAddressRequest.Builder} to create a
* request. Represents a request to delete an email address from the list of email addresses you have
* attempted to verify under your Amazon Web Services account.
* @return A Java Future containing the result of the DeleteVerifiedEmailAddress operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DeleteVerifiedEmailAddress
* @see AWS API Documentation
*/
default CompletableFuture deleteVerifiedEmailAddress(
Consumer deleteVerifiedEmailAddressRequest) {
return deleteVerifiedEmailAddress(DeleteVerifiedEmailAddressRequest.builder()
.applyMutation(deleteVerifiedEmailAddressRequest).build());
}
/**
*
* 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param describeActiveReceiptRuleSetRequest
* Represents a request to return the metadata and receipt rules for the receipt rule set that is currently
* active. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeActiveReceiptRuleSet operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeActiveReceiptRuleSet
* @see AWS API Documentation
*/
default CompletableFuture describeActiveReceiptRuleSet(
DescribeActiveReceiptRuleSetRequest describeActiveReceiptRuleSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeActiveReceiptRuleSetRequest.Builder}
* avoiding the need to create one manually via {@link DescribeActiveReceiptRuleSetRequest#builder()}
*
*
* @param describeActiveReceiptRuleSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DescribeActiveReceiptRuleSetRequest.Builder} to create a
* request. Represents a request to return the metadata and receipt rules for the receipt rule set that is
* currently active. You use receipt rule sets to receive email with Amazon SES. For more information, see
* the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeActiveReceiptRuleSet operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeActiveReceiptRuleSet
* @see AWS API Documentation
*/
default CompletableFuture describeActiveReceiptRuleSet(
Consumer describeActiveReceiptRuleSetRequest) {
return describeActiveReceiptRuleSet(DescribeActiveReceiptRuleSetRequest.builder()
.applyMutation(describeActiveReceiptRuleSetRequest).build());
}
/**
*
* 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the DescribeActiveReceiptRuleSet operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeActiveReceiptRuleSet
* @see AWS API Documentation
*/
default CompletableFuture describeActiveReceiptRuleSet() {
return describeActiveReceiptRuleSet(DescribeActiveReceiptRuleSetRequest.builder().build());
}
/**
*
* Returns the details of the specified configuration set. For information about using configuration sets, see the
* Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param describeConfigurationSetRequest
* Represents a request to return the details of a configuration set. Configuration sets enable you to
* publish email sending events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeConfigurationSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeConfigurationSet
* @see AWS API Documentation
*/
default CompletableFuture describeConfigurationSet(
DescribeConfigurationSetRequest describeConfigurationSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the details of the specified configuration set. For information about using configuration sets, see the
* Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeConfigurationSetRequest.Builder} avoiding
* the need to create one manually via {@link DescribeConfigurationSetRequest#builder()}
*
*
* @param describeConfigurationSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DescribeConfigurationSetRequest.Builder} to create a
* request. Represents a request to return the details of a configuration set. Configuration sets enable you
* to publish email sending events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeConfigurationSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeConfigurationSet
* @see AWS API Documentation
*/
default CompletableFuture describeConfigurationSet(
Consumer describeConfigurationSetRequest) {
return describeConfigurationSet(DescribeConfigurationSetRequest.builder().applyMutation(describeConfigurationSetRequest)
.build());
}
/**
*
* Returns the details of the specified receipt rule.
*
*
* For information about setting up receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param describeReceiptRuleRequest
* Represents a request to return the details of a receipt rule. You use receipt rules to receive email with
* Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture describeReceiptRule(
DescribeReceiptRuleRequest describeReceiptRuleRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the details of the specified receipt rule.
*
*
* For information about setting up receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReceiptRuleRequest.Builder} avoiding the
* need to create one manually via {@link DescribeReceiptRuleRequest#builder()}
*
*
* @param describeReceiptRuleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DescribeReceiptRuleRequest.Builder} to create a request.
* Represents a request to return the details of a receipt rule. You use receipt rules to receive email with
* Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture describeReceiptRule(
Consumer describeReceiptRuleRequest) {
return describeReceiptRule(DescribeReceiptRuleRequest.builder().applyMutation(describeReceiptRuleRequest).build());
}
/**
*
* Returns the details of the specified receipt rule set.
*
*
* For information about managing receipt rule sets, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param describeReceiptRuleSetRequest
* Represents a request to return the details of a receipt rule set. You use receipt rule sets to receive
* email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture describeReceiptRuleSet(
DescribeReceiptRuleSetRequest describeReceiptRuleSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the details of the specified receipt rule set.
*
*
* For information about managing receipt rule sets, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link DescribeReceiptRuleSetRequest.Builder} avoiding the
* need to create one manually via {@link DescribeReceiptRuleSetRequest#builder()}
*
*
* @param describeReceiptRuleSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.DescribeReceiptRuleSetRequest.Builder} to create a
* request. Represents a request to return the details of a receipt rule set. You use receipt rule sets to
* receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the DescribeReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.DescribeReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture describeReceiptRuleSet(
Consumer describeReceiptRuleSetRequest) {
return describeReceiptRuleSet(DescribeReceiptRuleSetRequest.builder().applyMutation(describeReceiptRuleSetRequest)
.build());
}
/**
*
* Returns the email sending status of the Amazon SES account for the current Region.
*
*
* You can execute this operation no more than once per second.
*
*
* @param getAccountSendingEnabledRequest
* @return A Java Future containing the result of the GetAccountSendingEnabled operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetAccountSendingEnabled
* @see AWS API Documentation
*/
default CompletableFuture getAccountSendingEnabled(
GetAccountSendingEnabledRequest getAccountSendingEnabledRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the email sending status of the Amazon SES account for the current Region.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link GetAccountSendingEnabledRequest.Builder} avoiding
* the need to create one manually via {@link GetAccountSendingEnabledRequest#builder()}
*
*
* @param getAccountSendingEnabledRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetAccountSendingEnabledRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the GetAccountSendingEnabled operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetAccountSendingEnabled
* @see AWS API Documentation
*/
default CompletableFuture getAccountSendingEnabled(
Consumer getAccountSendingEnabledRequest) {
return getAccountSendingEnabled(GetAccountSendingEnabledRequest.builder().applyMutation(getAccountSendingEnabledRequest)
.build());
}
/**
*
* Returns the email sending status of the Amazon SES account for the current Region.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the GetAccountSendingEnabled operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetAccountSendingEnabled
* @see AWS API Documentation
*/
default CompletableFuture getAccountSendingEnabled() {
return getAccountSendingEnabled(GetAccountSendingEnabledRequest.builder().build());
}
/**
*
* Returns the custom email verification template for the template name you specify.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param getCustomVerificationEmailTemplateRequest
* Represents a request to retrieve an existing custom verification email template.
* @return A Java Future containing the result of the GetCustomVerificationEmailTemplate operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CustomVerificationEmailTemplateDoesNotExistException Indicates that a custom verification email
* template with the name you specified does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture getCustomVerificationEmailTemplate(
GetCustomVerificationEmailTemplateRequest getCustomVerificationEmailTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the custom email verification template for the template name you specify.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link GetCustomVerificationEmailTemplateRequest.Builder}
* avoiding the need to create one manually via {@link GetCustomVerificationEmailTemplateRequest#builder()}
*
*
* @param getCustomVerificationEmailTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetCustomVerificationEmailTemplateRequest.Builder} to
* create a request. Represents a request to retrieve an existing custom verification email template.
* @return A Java Future containing the result of the GetCustomVerificationEmailTemplate operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CustomVerificationEmailTemplateDoesNotExistException Indicates that a custom verification email
* template with the name you specified does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture getCustomVerificationEmailTemplate(
Consumer getCustomVerificationEmailTemplateRequest) {
return getCustomVerificationEmailTemplate(GetCustomVerificationEmailTemplateRequest.builder()
.applyMutation(getCustomVerificationEmailTemplateRequest).build());
}
/**
*
* Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation 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 operation takes a list of identities as input and returns the following information for each:
*
*
* -
*
* Whether Easy DKIM signing is enabled or disabled.
*
*
* -
*
* A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the
* domain of that address.
*
*
* -
*
* Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is
* only returned for domain name identities, not for email addresses.
*
*
*
*
* This operation 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.
*
*
* @param getIdentityDkimAttributesRequest
* Represents a request for the status of Amazon SES Easy DKIM signing for an identity. For domain
* identities, this request also returns the DKIM tokens that are required for Easy DKIM signing, and whether
* Amazon SES successfully verified that these tokens were published. For more information about Easy DKIM,
* see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the GetIdentityDkimAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityDkimAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityDkimAttributes(
GetIdentityDkimAttributesRequest getIdentityDkimAttributesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation 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 operation takes a list of identities as input and returns the following information for each:
*
*
* -
*
* Whether Easy DKIM signing is enabled or disabled.
*
*
* -
*
* A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the
* domain of that address.
*
*
* -
*
* Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is
* only returned for domain name identities, not for email addresses.
*
*
*
*
* This operation 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.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdentityDkimAttributesRequest.Builder} avoiding
* the need to create one manually via {@link GetIdentityDkimAttributesRequest#builder()}
*
*
* @param getIdentityDkimAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetIdentityDkimAttributesRequest.Builder} to create a
* request. Represents a request for the status of Amazon SES Easy DKIM signing for an identity. For domain
* identities, this request also returns the DKIM tokens that are required for Easy DKIM signing, and whether
* Amazon SES successfully verified that these tokens were published. For more information about Easy DKIM,
* see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the GetIdentityDkimAttributes operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityDkimAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityDkimAttributes(
Consumer getIdentityDkimAttributesRequest) {
return getIdentityDkimAttributes(GetIdentityDkimAttributesRequest.builder()
.applyMutation(getIdentityDkimAttributesRequest).build());
}
/**
*
* Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).
*
*
* This operation is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100
* identities at a time.
*
*
* @param getIdentityMailFromDomainAttributesRequest
* Represents a request to return the Amazon SES custom MAIL FROM attributes for a list of identities. For
* information about using a custom MAIL FROM domain, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the GetIdentityMailFromDomainAttributes operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityMailFromDomainAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityMailFromDomainAttributes(
GetIdentityMailFromDomainAttributesRequest getIdentityMailFromDomainAttributesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the custom MAIL FROM attributes for a list of identities (email addresses : domains).
*
*
* This operation is throttled at one request per second and can only get custom MAIL FROM attributes for up to 100
* identities at a time.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdentityMailFromDomainAttributesRequest.Builder}
* avoiding the need to create one manually via {@link GetIdentityMailFromDomainAttributesRequest#builder()}
*
*
* @param getIdentityMailFromDomainAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetIdentityMailFromDomainAttributesRequest.Builder} to
* create a request. Represents a request to return the Amazon SES custom MAIL FROM attributes for a list of
* identities. For information about using a custom MAIL FROM domain, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the GetIdentityMailFromDomainAttributes operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityMailFromDomainAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityMailFromDomainAttributes(
Consumer getIdentityMailFromDomainAttributesRequest) {
return getIdentityMailFromDomainAttributes(GetIdentityMailFromDomainAttributesRequest.builder()
.applyMutation(getIdentityMailFromDomainAttributesRequest).build());
}
/**
*
* Given a list of verified identities (email addresses and/or domains), returns a structure describing identity
* notification attributes.
*
*
* This operation 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.
*
*
* @param getIdentityNotificationAttributesRequest
* Represents a request to return the notification attributes for a list of identities you verified with
* Amazon SES. For information about Amazon SES notifications, see the Amazon
* SES Developer Guide.
* @return A Java Future containing the result of the GetIdentityNotificationAttributes operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityNotificationAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityNotificationAttributes(
GetIdentityNotificationAttributesRequest getIdentityNotificationAttributesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Given a list of verified identities (email addresses and/or domains), returns a structure describing identity
* notification attributes.
*
*
* This operation 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.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdentityNotificationAttributesRequest.Builder}
* avoiding the need to create one manually via {@link GetIdentityNotificationAttributesRequest#builder()}
*
*
* @param getIdentityNotificationAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetIdentityNotificationAttributesRequest.Builder} to
* create a request. Represents a request to return the notification attributes for a list of identities you
* verified with Amazon SES. For information about Amazon SES notifications, see the Amazon
* SES Developer Guide.
* @return A Java Future containing the result of the GetIdentityNotificationAttributes operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityNotificationAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityNotificationAttributes(
Consumer getIdentityNotificationAttributesRequest) {
return getIdentityNotificationAttributes(GetIdentityNotificationAttributesRequest.builder()
.applyMutation(getIdentityNotificationAttributesRequest).build());
}
/**
*
* Returns the requested sending authorization policies for the given identity (an email address or a domain). The
* policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a
* time.
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param getIdentityPoliciesRequest
* Represents a request to return the requested sending authorization policies for an identity. Sending
* authorization is an Amazon SES feature that enables you to authorize other senders to use your identities.
* For information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the GetIdentityPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityPolicies
* @see AWS API
* Documentation
*/
default CompletableFuture getIdentityPolicies(
GetIdentityPoliciesRequest getIdentityPoliciesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns the requested sending authorization policies for the given identity (an email address or a domain). The
* policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a
* time.
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdentityPoliciesRequest.Builder} avoiding the
* need to create one manually via {@link GetIdentityPoliciesRequest#builder()}
*
*
* @param getIdentityPoliciesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetIdentityPoliciesRequest.Builder} to create a request.
* Represents a request to return the requested sending authorization policies for an identity. Sending
* authorization is an Amazon SES feature that enables you to authorize other senders to use your identities.
* For information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the GetIdentityPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityPolicies
* @see AWS API
* Documentation
*/
default CompletableFuture getIdentityPolicies(
Consumer getIdentityPoliciesRequest) {
return getIdentityPolicies(GetIdentityPoliciesRequest.builder().applyMutation(getIdentityPoliciesRequest).build());
}
/**
*
* Given a list of identities (email addresses and/or domains), returns the verification status and (for domain
* identities) the verification token for each identity.
*
*
* The verification status of an email address is "Pending" until the email address owner clicks the link within the
* verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24
* hours, the verification status of the email address changes to "Success". If the link is not clicked within 24
* hours, the verification status changes to "Failed." In that case, to verify the email address, you must restart
* the verification process from the beginning.
*
*
* For domain identities, the domain's verification status is "Pending" as Amazon SES searches for the required TXT
* record in the DNS settings of the domain. When Amazon SES detects the record, the domain's verification status
* changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification
* status changes to "Failed." In that case, to verify the domain, you must restart the verification process from
* the beginning.
*
*
* This operation is throttled at one request per second and can only get verification attributes for up to 100
* identities at a time.
*
*
* @param getIdentityVerificationAttributesRequest
* Represents a request to return the Amazon SES verification status of a list of identities. For domain
* identities, this request also returns the verification token. For information about verifying identities
* with Amazon SES, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the GetIdentityVerificationAttributes operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityVerificationAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityVerificationAttributes(
GetIdentityVerificationAttributesRequest getIdentityVerificationAttributesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Given a list of identities (email addresses and/or domains), returns the verification status and (for domain
* identities) the verification token for each identity.
*
*
* The verification status of an email address is "Pending" until the email address owner clicks the link within the
* verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24
* hours, the verification status of the email address changes to "Success". If the link is not clicked within 24
* hours, the verification status changes to "Failed." In that case, to verify the email address, you must restart
* the verification process from the beginning.
*
*
* For domain identities, the domain's verification status is "Pending" as Amazon SES searches for the required TXT
* record in the DNS settings of the domain. When Amazon SES detects the record, the domain's verification status
* changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification
* status changes to "Failed." In that case, to verify the domain, you must restart the verification process from
* the beginning.
*
*
* This operation is throttled at one request per second and can only get verification attributes for up to 100
* identities at a time.
*
*
*
* This is a convenience which creates an instance of the {@link GetIdentityVerificationAttributesRequest.Builder}
* avoiding the need to create one manually via {@link GetIdentityVerificationAttributesRequest#builder()}
*
*
* @param getIdentityVerificationAttributesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetIdentityVerificationAttributesRequest.Builder} to
* create a request. Represents a request to return the Amazon SES verification status of a list of
* identities. For domain identities, this request also returns the verification token. For information about
* verifying identities with Amazon SES, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the GetIdentityVerificationAttributes operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetIdentityVerificationAttributes
* @see AWS API Documentation
*/
default CompletableFuture getIdentityVerificationAttributes(
Consumer getIdentityVerificationAttributesRequest) {
return getIdentityVerificationAttributes(GetIdentityVerificationAttributesRequest.builder()
.applyMutation(getIdentityVerificationAttributesRequest).build());
}
/**
*
* Provides the sending limits for the Amazon SES account.
*
*
* You can execute this operation no more than once per second.
*
*
* @param getSendQuotaRequest
* @return A Java Future containing the result of the GetSendQuota operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetSendQuota
* @see AWS API
* Documentation
*/
default CompletableFuture getSendQuota(GetSendQuotaRequest getSendQuotaRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Provides the sending limits for the Amazon SES account.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link GetSendQuotaRequest.Builder} avoiding the need to
* create one manually via {@link GetSendQuotaRequest#builder()}
*
*
* @param getSendQuotaRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetSendQuotaRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetSendQuota operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetSendQuota
* @see AWS API
* Documentation
*/
default CompletableFuture getSendQuota(Consumer getSendQuotaRequest) {
return getSendQuota(GetSendQuotaRequest.builder().applyMutation(getSendQuotaRequest).build());
}
/**
*
* Provides the sending limits for the Amazon SES account.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the GetSendQuota operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetSendQuota
* @see AWS API
* Documentation
*/
default CompletableFuture getSendQuota() {
return getSendQuota(GetSendQuotaRequest.builder().build());
}
/**
*
* Provides sending statistics for the current Amazon Web Services Region. 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 period of time.
*
*
* You can execute this operation no more than once per second.
*
*
* @param getSendStatisticsRequest
* @return A Java Future containing the result of the GetSendStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetSendStatistics
* @see AWS API
* Documentation
*/
default CompletableFuture getSendStatistics(GetSendStatisticsRequest getSendStatisticsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Provides sending statistics for the current Amazon Web Services Region. 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 period of time.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link GetSendStatisticsRequest.Builder} avoiding the need
* to create one manually via {@link GetSendStatisticsRequest#builder()}
*
*
* @param getSendStatisticsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetSendStatisticsRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetSendStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetSendStatistics
* @see AWS API
* Documentation
*/
default CompletableFuture getSendStatistics(
Consumer getSendStatisticsRequest) {
return getSendStatistics(GetSendStatisticsRequest.builder().applyMutation(getSendStatisticsRequest).build());
}
/**
*
* Provides sending statistics for the current Amazon Web Services Region. 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 period of time.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the GetSendStatistics operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetSendStatistics
* @see AWS API
* Documentation
*/
default CompletableFuture getSendStatistics() {
return getSendStatistics(GetSendStatisticsRequest.builder().build());
}
/**
*
* Displays the template object (which includes the Subject line, HTML part and text part) for the template you
* specify.
*
*
* You can execute this operation no more than once per second.
*
*
* @param getTemplateRequest
* @return A Java Future containing the result of the GetTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture getTemplate(GetTemplateRequest getTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Displays the template object (which includes the Subject line, HTML part and text part) for the template you
* specify.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link GetTemplateRequest.Builder} avoiding the need to
* create one manually via {@link GetTemplateRequest#builder()}
*
*
* @param getTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.GetTemplateRequest.Builder} to create a request.
* @return A Java Future containing the result of the GetTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.GetTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture getTemplate(Consumer getTemplateRequest) {
return getTemplate(GetTemplateRequest.builder().applyMutation(getTemplateRequest).build());
}
/**
*
* Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web
* Services Region. For information about using configuration sets, see Monitoring Your Amazon SES Sending
* Activity in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second. This operation returns up to 1,000 configuration
* sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation also
* returns NextToken
. You can then execute the ListConfigurationSets
operation again,
* passing the NextToken
parameter and the value of the NextToken element to retrieve additional
* results.
*
*
* @param listConfigurationSetsRequest
* Represents a request to list the configuration sets associated with your Amazon Web Services account.
* Configuration sets enable you to publish email sending events. For information about using configuration
* sets, see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the ListConfigurationSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListConfigurationSets
* @see AWS
* API Documentation
*/
default CompletableFuture listConfigurationSets(
ListConfigurationSetsRequest listConfigurationSetsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web
* Services Region. For information about using configuration sets, see Monitoring Your Amazon SES Sending
* Activity in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second. This operation returns up to 1,000 configuration
* sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation also
* returns NextToken
. You can then execute the ListConfigurationSets
operation again,
* passing the NextToken
parameter and the value of the NextToken element to retrieve additional
* results.
*
*
*
* This is a convenience which creates an instance of the {@link ListConfigurationSetsRequest.Builder} avoiding the
* need to create one manually via {@link ListConfigurationSetsRequest#builder()}
*
*
* @param listConfigurationSetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListConfigurationSetsRequest.Builder} to create a
* request. Represents a request to list the configuration sets associated with your Amazon Web Services
* account. Configuration sets enable you to publish email sending events. For information about using
* configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ListConfigurationSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListConfigurationSets
* @see AWS
* API Documentation
*/
default CompletableFuture listConfigurationSets(
Consumer listConfigurationSetsRequest) {
return listConfigurationSets(ListConfigurationSetsRequest.builder().applyMutation(listConfigurationSetsRequest).build());
}
/**
*
* Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web
* Services Region. For information about using configuration sets, see Monitoring Your Amazon SES Sending
* Activity in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second. This operation returns up to 1,000 configuration
* sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation also
* returns NextToken
. You can then execute the ListConfigurationSets
operation again,
* passing the NextToken
parameter and the value of the NextToken element to retrieve additional
* results.
*
*
* @return A Java Future containing the result of the ListConfigurationSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListConfigurationSets
* @see AWS
* API Documentation
*/
default CompletableFuture listConfigurationSets() {
return listConfigurationSets(ListConfigurationSetsRequest.builder().build());
}
/**
*
* Lists the existing custom verification email templates for your account in the current Amazon Web Services
* Region.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param listCustomVerificationEmailTemplatesRequest
* Represents a request to list the existing custom verification email templates for your account.
*
* For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.
* @return A Java Future containing the result of the ListCustomVerificationEmailTemplates operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as
* an IO related failure, failure to get credentials, etc.
- SesException Base class for all service
* exceptions. Unknown exceptions will be thrown as an instance of this type.
*
* @sample SesAsyncClient.ListCustomVerificationEmailTemplates
* @see AWS API Documentation
*/
default CompletableFuture listCustomVerificationEmailTemplates(
ListCustomVerificationEmailTemplatesRequest listCustomVerificationEmailTemplatesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the existing custom verification email templates for your account in the current Amazon Web Services
* Region.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListCustomVerificationEmailTemplatesRequest.Builder} avoiding the need to create one manually via
* {@link ListCustomVerificationEmailTemplatesRequest#builder()}
*
*
* @param listCustomVerificationEmailTemplatesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest.Builder} to
* create a request. Represents a request to list the existing custom verification email templates for your
* account.
*
* For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.
* @return A Java Future containing the result of the ListCustomVerificationEmailTemplates operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as
* an IO related failure, failure to get credentials, etc.
- SesException Base class for all service
* exceptions. Unknown exceptions will be thrown as an instance of this type.
*
* @sample SesAsyncClient.ListCustomVerificationEmailTemplates
* @see AWS API Documentation
*/
default CompletableFuture listCustomVerificationEmailTemplates(
Consumer listCustomVerificationEmailTemplatesRequest) {
return listCustomVerificationEmailTemplates(ListCustomVerificationEmailTemplatesRequest.builder()
.applyMutation(listCustomVerificationEmailTemplatesRequest).build());
}
/**
*
* Lists the existing custom verification email templates for your account in the current Amazon Web Services
* Region.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the ListCustomVerificationEmailTemplates operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListCustomVerificationEmailTemplates
* @see AWS API Documentation
*/
default CompletableFuture listCustomVerificationEmailTemplates() {
return listCustomVerificationEmailTemplates(ListCustomVerificationEmailTemplatesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #listCustomVerificationEmailTemplates(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listCustomVerificationEmailTemplates(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest)}
* operation.
*
*
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListCustomVerificationEmailTemplates
* @see AWS API Documentation
*/
default ListCustomVerificationEmailTemplatesPublisher listCustomVerificationEmailTemplatesPaginator() {
return listCustomVerificationEmailTemplatesPaginator(ListCustomVerificationEmailTemplatesRequest.builder().build());
}
/**
*
* This is a variant of
* {@link #listCustomVerificationEmailTemplates(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listCustomVerificationEmailTemplates(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest)}
* operation.
*
*
* @param listCustomVerificationEmailTemplatesRequest
* Represents a request to list the existing custom verification email templates for your account.
*
* For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as
* an IO related failure, failure to get credentials, etc.
- SesException Base class for all service
* exceptions. Unknown exceptions will be thrown as an instance of this type.
*
* @sample SesAsyncClient.ListCustomVerificationEmailTemplates
* @see AWS API Documentation
*/
default ListCustomVerificationEmailTemplatesPublisher listCustomVerificationEmailTemplatesPaginator(
ListCustomVerificationEmailTemplatesRequest listCustomVerificationEmailTemplatesRequest) {
return new ListCustomVerificationEmailTemplatesPublisher(this, listCustomVerificationEmailTemplatesRequest);
}
/**
*
* This is a variant of
* {@link #listCustomVerificationEmailTemplates(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxResults won't limit the number of results you get with the
* paginator. It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listCustomVerificationEmailTemplates(software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest)}
* operation.
*
*
*
* This is a convenience which creates an instance of the
* {@link ListCustomVerificationEmailTemplatesRequest.Builder} avoiding the need to create one manually via
* {@link ListCustomVerificationEmailTemplatesRequest#builder()}
*
*
* @param listCustomVerificationEmailTemplatesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListCustomVerificationEmailTemplatesRequest.Builder} to
* create a request. Represents a request to list the existing custom verification email templates for your
* account.
*
* For more information about custom verification email templates, see Using Custom Verification Email Templates in the Amazon SES Developer Guide.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
- SdkClientException If any client side error occurs such as
* an IO related failure, failure to get credentials, etc.
- SesException Base class for all service
* exceptions. Unknown exceptions will be thrown as an instance of this type.
*
* @sample SesAsyncClient.ListCustomVerificationEmailTemplates
* @see AWS API Documentation
*/
default ListCustomVerificationEmailTemplatesPublisher listCustomVerificationEmailTemplatesPaginator(
Consumer listCustomVerificationEmailTemplatesRequest) {
return listCustomVerificationEmailTemplatesPaginator(ListCustomVerificationEmailTemplatesRequest.builder()
.applyMutation(listCustomVerificationEmailTemplatesRequest).build());
}
/**
*
* Returns a list containing all of the identities (email addresses and domains) for your Amazon Web Services
* account in the current Amazon Web Services Region, regardless of verification status.
*
*
* You can execute this operation no more than once per second.
*
*
*
* It's recommended that for successive pagination calls of this API, you continue to the use the same
* parameter/value pairs as used in the original call, e.g., if you used IdentityType=Domain
in the the
* original call and received a NextToken
in the response, you should continue providing the
* IdentityType=Domain
parameter for further NextToken
calls; however, if you didn't
* provide the IdentityType
parameter in the original call, then continue to not provide it for
* successive pagination calls. Using this protocol will ensure consistent results.
*
*
*
* @param listIdentitiesRequest
* Represents a request to return a list of all identities (email addresses and domains) that you have
* attempted to verify under your Amazon Web Services account, regardless of verification status.
* @return A Java Future containing the result of the ListIdentities operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentities
* @see AWS API
* Documentation
*/
default CompletableFuture listIdentities(ListIdentitiesRequest listIdentitiesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list containing all of the identities (email addresses and domains) for your Amazon Web Services
* account in the current Amazon Web Services Region, regardless of verification status.
*
*
* You can execute this operation no more than once per second.
*
*
*
* It's recommended that for successive pagination calls of this API, you continue to the use the same
* parameter/value pairs as used in the original call, e.g., if you used IdentityType=Domain
in the the
* original call and received a NextToken
in the response, you should continue providing the
* IdentityType=Domain
parameter for further NextToken
calls; however, if you didn't
* provide the IdentityType
parameter in the original call, then continue to not provide it for
* successive pagination calls. Using this protocol will ensure consistent results.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdentitiesRequest.Builder} avoiding the need to
* create one manually via {@link ListIdentitiesRequest#builder()}
*
*
* @param listIdentitiesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListIdentitiesRequest.Builder} to create a request.
* Represents a request to return a list of all identities (email addresses and domains) that you have
* attempted to verify under your Amazon Web Services account, regardless of verification status.
* @return A Java Future containing the result of the ListIdentities operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentities
* @see AWS API
* Documentation
*/
default CompletableFuture listIdentities(Consumer listIdentitiesRequest) {
return listIdentities(ListIdentitiesRequest.builder().applyMutation(listIdentitiesRequest).build());
}
/**
*
* Returns a list containing all of the identities (email addresses and domains) for your Amazon Web Services
* account in the current Amazon Web Services Region, regardless of verification status.
*
*
* You can execute this operation no more than once per second.
*
*
*
* It's recommended that for successive pagination calls of this API, you continue to the use the same
* parameter/value pairs as used in the original call, e.g., if you used IdentityType=Domain
in the the
* original call and received a NextToken
in the response, you should continue providing the
* IdentityType=Domain
parameter for further NextToken
calls; however, if you didn't
* provide the IdentityType
parameter in the original call, then continue to not provide it for
* successive pagination calls. Using this protocol will ensure consistent results.
*
*
*
* @return A Java Future containing the result of the ListIdentities operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentities
* @see AWS API
* Documentation
*/
default CompletableFuture listIdentities() {
return listIdentities(ListIdentitiesRequest.builder().build());
}
/**
*
* This is a variant of {@link #listIdentities(software.amazon.awssdk.services.ses.model.ListIdentitiesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListIdentitiesPublisher publisher = client.listIdentitiesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListIdentitiesPublisher publisher = client.listIdentitiesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.ses.model.ListIdentitiesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxItems won't limit the number of results you get with the paginator.
* It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdentities(software.amazon.awssdk.services.ses.model.ListIdentitiesRequest)} operation.
*
*
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentities
* @see AWS API
* Documentation
*/
default ListIdentitiesPublisher listIdentitiesPaginator() {
return listIdentitiesPaginator(ListIdentitiesRequest.builder().build());
}
/**
*
* This is a variant of {@link #listIdentities(software.amazon.awssdk.services.ses.model.ListIdentitiesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListIdentitiesPublisher publisher = client.listIdentitiesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListIdentitiesPublisher publisher = client.listIdentitiesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.ses.model.ListIdentitiesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxItems won't limit the number of results you get with the paginator.
* It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdentities(software.amazon.awssdk.services.ses.model.ListIdentitiesRequest)} operation.
*
*
* @param listIdentitiesRequest
* Represents a request to return a list of all identities (email addresses and domains) that you have
* attempted to verify under your Amazon Web Services account, regardless of verification status.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentities
* @see AWS API
* Documentation
*/
default ListIdentitiesPublisher listIdentitiesPaginator(ListIdentitiesRequest listIdentitiesRequest) {
return new ListIdentitiesPublisher(this, listIdentitiesRequest);
}
/**
*
* This is a variant of {@link #listIdentities(software.amazon.awssdk.services.ses.model.ListIdentitiesRequest)}
* operation. The return type is a custom publisher that can be subscribed to request a stream of response pages.
* SDK will internally handle making service calls for you.
*
*
* When the operation is called, an instance of this class is returned. At this point, no service calls are made yet
* and so there is no guarantee that the request is valid. If there are errors in your request, you will see the
* failures only after you start streaming the data. The subscribe method should be called as a request to start
* streaming data. For more info, see
* {@link org.reactivestreams.Publisher#subscribe(org.reactivestreams.Subscriber)}. Each call to the subscribe
* method will result in a new {@link org.reactivestreams.Subscription} i.e., a new contract to stream data from the
* starting request.
*
*
*
* The following are few ways to use the response class:
*
* 1) Using the subscribe helper method
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListIdentitiesPublisher publisher = client.listIdentitiesPaginator(request);
* CompletableFuture future = publisher.subscribe(res -> { // Do something with the response });
* future.get();
* }
*
*
* 2) Using a custom subscriber
*
*
* {@code
* software.amazon.awssdk.services.ses.paginators.ListIdentitiesPublisher publisher = client.listIdentitiesPaginator(request);
* publisher.subscribe(new Subscriber() {
*
* public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... };
*
*
* public void onNext(software.amazon.awssdk.services.ses.model.ListIdentitiesResponse response) { //... };
* });}
*
*
* As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.
*
* Please notice that the configuration of MaxItems won't limit the number of results you get with the paginator.
* It only limits the number of results in each page.
*
*
* Note: If you prefer to have control on service calls, use the
* {@link #listIdentities(software.amazon.awssdk.services.ses.model.ListIdentitiesRequest)} operation.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdentitiesRequest.Builder} avoiding the need to
* create one manually via {@link ListIdentitiesRequest#builder()}
*
*
* @param listIdentitiesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListIdentitiesRequest.Builder} to create a request.
* Represents a request to return a list of all identities (email addresses and domains) that you have
* attempted to verify under your Amazon Web Services account, regardless of verification status.
* @return A custom publisher that can be subscribed to request a stream of response pages.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentities
* @see AWS API
* Documentation
*/
default ListIdentitiesPublisher listIdentitiesPaginator(Consumer listIdentitiesRequest) {
return listIdentitiesPaginator(ListIdentitiesRequest.builder().applyMutation(listIdentitiesRequest).build());
}
/**
*
* Returns a list of sending authorization policies that are attached to the given identity (an email address or a
* domain). This operation returns only a list. To get the actual policy content, use
* GetIdentityPolicies
.
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param listIdentityPoliciesRequest
* Represents a request to return a list of sending authorization policies that are attached to an identity.
* Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your
* identities. For information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ListIdentityPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentityPolicies
* @see AWS
* API Documentation
*/
default CompletableFuture listIdentityPolicies(
ListIdentityPoliciesRequest listIdentityPoliciesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a list of sending authorization policies that are attached to the given identity (an email address or a
* domain). This operation returns only a list. To get the actual policy content, use
* GetIdentityPolicies
.
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link ListIdentityPoliciesRequest.Builder} avoiding the
* need to create one manually via {@link ListIdentityPoliciesRequest#builder()}
*
*
* @param listIdentityPoliciesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListIdentityPoliciesRequest.Builder} to create a request.
* Represents a request to return a list of sending authorization policies that are attached to an identity.
* Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your
* identities. For information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ListIdentityPolicies operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListIdentityPolicies
* @see AWS
* API Documentation
*/
default CompletableFuture listIdentityPolicies(
Consumer listIdentityPoliciesRequest) {
return listIdentityPolicies(ListIdentityPoliciesRequest.builder().applyMutation(listIdentityPoliciesRequest).build());
}
/**
*
* Lists the IP address filters associated with your Amazon Web Services account in the current Amazon Web Services
* Region.
*
*
* For information about managing IP address filters, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param listReceiptFiltersRequest
* Represents a request to list the IP address filters that exist under your Amazon Web Services account. You
* use IP address filters when you receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ListReceiptFilters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListReceiptFilters
* @see AWS API
* Documentation
*/
default CompletableFuture listReceiptFilters(ListReceiptFiltersRequest listReceiptFiltersRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the IP address filters associated with your Amazon Web Services account in the current Amazon Web Services
* Region.
*
*
* For information about managing IP address filters, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link ListReceiptFiltersRequest.Builder} avoiding the
* need to create one manually via {@link ListReceiptFiltersRequest#builder()}
*
*
* @param listReceiptFiltersRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListReceiptFiltersRequest.Builder} to create a request.
* Represents a request to list the IP address filters that exist under your Amazon Web Services account. You
* use IP address filters when you receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ListReceiptFilters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListReceiptFilters
* @see AWS API
* Documentation
*/
default CompletableFuture listReceiptFilters(
Consumer listReceiptFiltersRequest) {
return listReceiptFilters(ListReceiptFiltersRequest.builder().applyMutation(listReceiptFiltersRequest).build());
}
/**
*
* Lists the IP address filters associated with your Amazon Web Services account in the current Amazon Web Services
* Region.
*
*
* For information about managing IP address filters, see the Amazon SES
* Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the ListReceiptFilters operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListReceiptFilters
* @see AWS API
* Documentation
*/
default CompletableFuture listReceiptFilters() {
return listReceiptFilters(ListReceiptFiltersRequest.builder().build());
}
/**
*
* Lists the receipt rule sets that exist under your Amazon Web Services account in the current Amazon Web Services
* Region. If there are additional receipt rule sets to be retrieved, you 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param listReceiptRuleSetsRequest
* Represents a request to list the receipt rule sets that exist under your Amazon Web Services account. You
* use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ListReceiptRuleSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListReceiptRuleSets
* @see AWS API
* Documentation
*/
default CompletableFuture listReceiptRuleSets(
ListReceiptRuleSetsRequest listReceiptRuleSetsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the receipt rule sets that exist under your Amazon Web Services account in the current Amazon Web Services
* Region. If there are additional receipt rule sets to be retrieved, you 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link ListReceiptRuleSetsRequest.Builder} avoiding the
* need to create one manually via {@link ListReceiptRuleSetsRequest#builder()}
*
*
* @param listReceiptRuleSetsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListReceiptRuleSetsRequest.Builder} to create a request.
* Represents a request to list the receipt rule sets that exist under your Amazon Web Services account. You
* use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ListReceiptRuleSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListReceiptRuleSets
* @see AWS API
* Documentation
*/
default CompletableFuture listReceiptRuleSets(
Consumer listReceiptRuleSetsRequest) {
return listReceiptRuleSets(ListReceiptRuleSetsRequest.builder().applyMutation(listReceiptRuleSetsRequest).build());
}
/**
*
* Lists the receipt rule sets that exist under your Amazon Web Services account in the current Amazon Web Services
* Region. If there are additional receipt rule sets to be retrieved, you 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the ListReceiptRuleSets operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListReceiptRuleSets
* @see AWS API
* Documentation
*/
default CompletableFuture listReceiptRuleSets() {
return listReceiptRuleSets(ListReceiptRuleSetsRequest.builder().build());
}
/**
*
* Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
*
*
* You can execute this operation no more than once per second.
*
*
* @param listTemplatesRequest
* @return A Java Future containing the result of the ListTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListTemplates
* @see AWS API
* Documentation
*/
default CompletableFuture listTemplates(ListTemplatesRequest listTemplatesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link ListTemplatesRequest.Builder} avoiding the need to
* create one manually via {@link ListTemplatesRequest#builder()}
*
*
* @param listTemplatesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListTemplatesRequest.Builder} to create a request.
* @return A Java Future containing the result of the ListTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListTemplates
* @see AWS API
* Documentation
*/
default CompletableFuture listTemplates(Consumer listTemplatesRequest) {
return listTemplates(ListTemplatesRequest.builder().applyMutation(listTemplatesRequest).build());
}
/**
*
* Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the ListTemplates operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListTemplates
* @see AWS API
* Documentation
*/
default CompletableFuture listTemplates() {
return listTemplates(ListTemplatesRequest.builder().build());
}
/**
*
* Deprecated. Use the ListIdentities
operation to list the email addresses and domains associated with
* your account.
*
*
* @param listVerifiedEmailAddressesRequest
* @return A Java Future containing the result of the ListVerifiedEmailAddresses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListVerifiedEmailAddresses
* @see AWS API Documentation
*/
default CompletableFuture listVerifiedEmailAddresses(
ListVerifiedEmailAddressesRequest listVerifiedEmailAddressesRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deprecated. Use the ListIdentities
operation to list the email addresses and domains associated with
* your account.
*
*
*
* This is a convenience which creates an instance of the {@link ListVerifiedEmailAddressesRequest.Builder} avoiding
* the need to create one manually via {@link ListVerifiedEmailAddressesRequest#builder()}
*
*
* @param listVerifiedEmailAddressesRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ListVerifiedEmailAddressesRequest.Builder} to create a
* request.
* @return A Java Future containing the result of the ListVerifiedEmailAddresses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListVerifiedEmailAddresses
* @see AWS API Documentation
*/
default CompletableFuture listVerifiedEmailAddresses(
Consumer listVerifiedEmailAddressesRequest) {
return listVerifiedEmailAddresses(ListVerifiedEmailAddressesRequest.builder()
.applyMutation(listVerifiedEmailAddressesRequest).build());
}
/**
*
* Deprecated. Use the ListIdentities
operation to list the email addresses and domains associated with
* your account.
*
*
* @return A Java Future containing the result of the ListVerifiedEmailAddresses operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ListVerifiedEmailAddresses
* @see AWS API Documentation
*/
default CompletableFuture listVerifiedEmailAddresses() {
return listVerifiedEmailAddresses(ListVerifiedEmailAddressesRequest.builder().build());
}
/**
*
* Adds or updates the delivery options for a configuration set.
*
*
* @param putConfigurationSetDeliveryOptionsRequest
* A request to modify the delivery options for a configuration set.
* @return A Java Future containing the result of the PutConfigurationSetDeliveryOptions operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - InvalidDeliveryOptionsException Indicates that provided delivery option is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.PutConfigurationSetDeliveryOptions
* @see AWS API Documentation
*/
default CompletableFuture putConfigurationSetDeliveryOptions(
PutConfigurationSetDeliveryOptionsRequest putConfigurationSetDeliveryOptionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Adds or updates the delivery options for a configuration set.
*
*
*
* This is a convenience which creates an instance of the {@link PutConfigurationSetDeliveryOptionsRequest.Builder}
* avoiding the need to create one manually via {@link PutConfigurationSetDeliveryOptionsRequest#builder()}
*
*
* @param putConfigurationSetDeliveryOptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.PutConfigurationSetDeliveryOptionsRequest.Builder} to
* create a request. A request to modify the delivery options for a configuration set.
* @return A Java Future containing the result of the PutConfigurationSetDeliveryOptions operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - InvalidDeliveryOptionsException Indicates that provided delivery option is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.PutConfigurationSetDeliveryOptions
* @see AWS API Documentation
*/
default CompletableFuture putConfigurationSetDeliveryOptions(
Consumer putConfigurationSetDeliveryOptionsRequest) {
return putConfigurationSetDeliveryOptions(PutConfigurationSetDeliveryOptionsRequest.builder()
.applyMutation(putConfigurationSetDeliveryOptionsRequest).build());
}
/**
*
* Adds or updates a sending authorization policy for the specified identity (an email address or a domain).
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param putIdentityPolicyRequest
* Represents a request to add or update a sending authorization policy for an identity. Sending
* authorization is an Amazon SES feature that enables you to authorize other senders to use your identities.
* For information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the PutIdentityPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InvalidPolicyException Indicates that the provided policy is invalid. Check the error stack for more
* information about what caused the error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.PutIdentityPolicy
* @see AWS API
* Documentation
*/
default CompletableFuture putIdentityPolicy(PutIdentityPolicyRequest putIdentityPolicyRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Adds or updates a sending authorization policy for the specified identity (an email address or a domain).
*
*
*
* This operation is for the identity owner only. If you have not verified the identity, it returns 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link PutIdentityPolicyRequest.Builder} avoiding the need
* to create one manually via {@link PutIdentityPolicyRequest#builder()}
*
*
* @param putIdentityPolicyRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.PutIdentityPolicyRequest.Builder} to create a request.
* Represents a request to add or update a sending authorization policy for an identity. Sending
* authorization is an Amazon SES feature that enables you to authorize other senders to use your identities.
* For information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the PutIdentityPolicy operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InvalidPolicyException Indicates that the provided policy is invalid. Check the error stack for more
* information about what caused the error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.PutIdentityPolicy
* @see AWS API
* Documentation
*/
default CompletableFuture putIdentityPolicy(
Consumer putIdentityPolicyRequest) {
return putIdentityPolicy(PutIdentityPolicyRequest.builder().applyMutation(putIdentityPolicyRequest).build());
}
/**
*
* Reorders the receipt rules within a receipt rule set.
*
*
*
* All of the rules in the rule set must be represented in this request. That is, it is 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param reorderReceiptRuleSetRequest
* Represents a request to reorder the receipt rules within a receipt rule set. You use receipt rule sets to
* receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ReorderReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ReorderReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture reorderReceiptRuleSet(
ReorderReceiptRuleSetRequest reorderReceiptRuleSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Reorders the receipt rules within a receipt rule set.
*
*
*
* All of the rules in the rule set must be represented in this request. That is, it is 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link ReorderReceiptRuleSetRequest.Builder} avoiding the
* need to create one manually via {@link ReorderReceiptRuleSetRequest#builder()}
*
*
* @param reorderReceiptRuleSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.ReorderReceiptRuleSetRequest.Builder} to create a
* request. Represents a request to reorder the receipt rules within a receipt rule set. You use receipt rule
* sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the ReorderReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.ReorderReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture reorderReceiptRuleSet(
Consumer reorderReceiptRuleSetRequest) {
return reorderReceiptRuleSet(ReorderReceiptRuleSetRequest.builder().applyMutation(reorderReceiptRuleSetRequest).build());
}
/**
*
* Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use
* this operation on an email up to 24 hours after you receive it.
*
*
*
* You cannot use this operation 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param sendBounceRequest
* Represents a request to send a bounce message to the sender of an email you received through Amazon SES.
* @return A Java Future containing the result of the SendBounce operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendBounce
* @see AWS API
* Documentation
*/
default CompletableFuture sendBounce(SendBounceRequest sendBounceRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use
* this operation on an email up to 24 hours after you receive it.
*
*
*
* You cannot use this operation 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link SendBounceRequest.Builder} avoiding the need to
* create one manually via {@link SendBounceRequest#builder()}
*
*
* @param sendBounceRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SendBounceRequest.Builder} to create a request.
* Represents a request to send a bounce message to the sender of an email you received through Amazon SES.
* @return A Java Future containing the result of the SendBounce operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendBounce
* @see AWS API
* Documentation
*/
default CompletableFuture sendBounce(Consumer sendBounceRequest) {
return sendBounce(SendBounceRequest.builder().applyMutation(sendBounceRequest).build());
}
/**
*
* Composes an email message to multiple destinations. The message body is created using an email template.
*
*
* To send email using this operation, your call must meet the following requirements:
*
*
* -
*
* The call must refer to an existing email template. You can create email templates using CreateTemplate.
*
*
* -
*
* The message must be sent from a verified email address or domain.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you may send only to verified addresses or domains, or to
* email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* -
*
* The maximum message size is 10 MB.
*
*
* -
*
* Each Destination
parameter must include at least one recipient email address. The recipient address
* can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is
* not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the
* message contains other recipients that are valid.
*
*
* -
*
* The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an
* email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call
* the SendBulkTemplatedEmail
operation several times to send the message to each group.
*
*
* -
*
* The number of destinations you can contact in a single call can be limited by your account's maximum sending
* rate.
*
*
*
*
* @param sendBulkTemplatedEmailRequest
* Represents a request to send a templated email to multiple destinations using Amazon SES. For more
* information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SendBulkTemplatedEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendBulkTemplatedEmail
* @see AWS
* API Documentation
*/
default CompletableFuture sendBulkTemplatedEmail(
SendBulkTemplatedEmailRequest sendBulkTemplatedEmailRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Composes an email message to multiple destinations. The message body is created using an email template.
*
*
* To send email using this operation, your call must meet the following requirements:
*
*
* -
*
* The call must refer to an existing email template. You can create email templates using CreateTemplate.
*
*
* -
*
* The message must be sent from a verified email address or domain.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you may send only to verified addresses or domains, or to
* email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* -
*
* The maximum message size is 10 MB.
*
*
* -
*
* Each Destination
parameter must include at least one recipient email address. The recipient address
* can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is
* not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the
* message contains other recipients that are valid.
*
*
* -
*
* The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an
* email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call
* the SendBulkTemplatedEmail
operation several times to send the message to each group.
*
*
* -
*
* The number of destinations you can contact in a single call can be limited by your account's maximum sending
* rate.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link SendBulkTemplatedEmailRequest.Builder} avoiding the
* need to create one manually via {@link SendBulkTemplatedEmailRequest#builder()}
*
*
* @param sendBulkTemplatedEmailRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SendBulkTemplatedEmailRequest.Builder} to create a
* request. Represents a request to send a templated email to multiple destinations using Amazon SES. For
* more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SendBulkTemplatedEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendBulkTemplatedEmail
* @see AWS
* API Documentation
*/
default CompletableFuture sendBulkTemplatedEmail(
Consumer sendBulkTemplatedEmailRequest) {
return sendBulkTemplatedEmail(SendBulkTemplatedEmailRequest.builder().applyMutation(sendBulkTemplatedEmailRequest)
.build());
}
/**
*
* Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services
* Region and attempts to verify it. As a result of executing this operation, a customized verification email is
* sent to the specified address.
*
*
* To use this operation, you must first create a custom verification email template. For more information about
* creating and using custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param sendCustomVerificationEmailRequest
* Represents a request to send a custom verification email to a specified recipient.
* @return A Java Future containing the result of the SendCustomVerificationEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - CustomVerificationEmailTemplateDoesNotExistException Indicates that a custom verification email
* template with the name you specified does not exist.
* - FromEmailAddressNotVerifiedException Indicates that the sender address specified for a custom
* verification email is not verified, and is therefore not eligible to send the custom verification email.
* - ProductionAccessNotGrantedException Indicates that the account has not been granted production
* access.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendCustomVerificationEmail
* @see AWS API Documentation
*/
default CompletableFuture sendCustomVerificationEmail(
SendCustomVerificationEmailRequest sendCustomVerificationEmailRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services
* Region and attempts to verify it. As a result of executing this operation, a customized verification email is
* sent to the specified address.
*
*
* To use this operation, you must first create a custom verification email template. For more information about
* creating and using custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link SendCustomVerificationEmailRequest.Builder}
* avoiding the need to create one manually via {@link SendCustomVerificationEmailRequest#builder()}
*
*
* @param sendCustomVerificationEmailRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SendCustomVerificationEmailRequest.Builder} to create a
* request. Represents a request to send a custom verification email to a specified recipient.
* @return A Java Future containing the result of the SendCustomVerificationEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - CustomVerificationEmailTemplateDoesNotExistException Indicates that a custom verification email
* template with the name you specified does not exist.
* - FromEmailAddressNotVerifiedException Indicates that the sender address specified for a custom
* verification email is not verified, and is therefore not eligible to send the custom verification email.
* - ProductionAccessNotGrantedException Indicates that the account has not been granted production
* access.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendCustomVerificationEmail
* @see AWS API Documentation
*/
default CompletableFuture sendCustomVerificationEmail(
Consumer sendCustomVerificationEmailRequest) {
return sendCustomVerificationEmail(SendCustomVerificationEmailRequest.builder()
.applyMutation(sendCustomVerificationEmailRequest).build());
}
/**
*
* Composes an email message and immediately queues it for sending. To send email using this operation, your message
* must meet the following requirements:
*
*
* -
*
* The message must be sent from a verified email address or domain. If you attempt to send email using a
* non-verified address or domain, the operation results in an "Email address not verified" error.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to
* email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* -
*
* The maximum message size is 10 MB.
*
*
* -
*
* The message must include at least one recipient email address. The recipient address can be a To: address, a CC:
* address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format
* UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains
* other recipients that are valid.
*
*
* -
*
* The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an
* email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call
* the SendEmail
operation several times to send the message to each group.
*
*
*
*
*
* For every message that you send, the total number of recipients (including each recipient in the To:, CC: and
* BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending
* quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending
* Limits in the Amazon SES Developer Guide.
*
*
*
* @param sendEmailRequest
* Represents a request to send a single formatted email using Amazon SES. For more information, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SendEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendEmail
* @see AWS API
* Documentation
*/
default CompletableFuture sendEmail(SendEmailRequest sendEmailRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Composes an email message and immediately queues it for sending. To send email using this operation, your message
* must meet the following requirements:
*
*
* -
*
* The message must be sent from a verified email address or domain. If you attempt to send email using a
* non-verified address or domain, the operation results in an "Email address not verified" error.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to
* email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* -
*
* The maximum message size is 10 MB.
*
*
* -
*
* The message must include at least one recipient email address. The recipient address can be a To: address, a CC:
* address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format
* UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains
* other recipients that are valid.
*
*
* -
*
* The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an
* email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call
* the SendEmail
operation several times to send the message to each group.
*
*
*
*
*
* For every message that you send, the total number of recipients (including each recipient in the To:, CC: and
* BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending
* quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending
* Limits in the Amazon SES Developer Guide.
*
*
*
* This is a convenience which creates an instance of the {@link SendEmailRequest.Builder} avoiding the need to
* create one manually via {@link SendEmailRequest#builder()}
*
*
* @param sendEmailRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SendEmailRequest.Builder} to create a request. Represents
* a request to send a single formatted email using Amazon SES. For more information, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SendEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendEmail
* @see AWS API
* Documentation
*/
default CompletableFuture sendEmail(Consumer sendEmailRequest) {
return sendEmail(SendEmailRequest.builder().applyMutation(sendEmailRequest).build());
}
/**
*
* Composes an email message and immediately queues it for sending.
*
*
* This operation is more flexible than the SendEmail
operation. When you use the
* SendRawEmail
operation, you can specify the headers of the message as well as its content. This
* flexibility is useful, for example, when you need to send a multipart MIME email (such a message that contains
* both a text and an HTML version). You can also use this operation to send messages that include attachments.
*
*
* The SendRawEmail
operation has the following requirements:
*
*
* -
*
* You can only send email from verified email addresses or
* domains. If you try to send email from an address that isn't verified, the operation results in an
* "Email address not verified" error.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you can
* only send email to other verified addresses in your account, or to addresses that are associated with the Amazon SES mailbox
* simulator.
*
*
* -
*
* The maximum message size, including attachments, is 10 MB.
*
*
* -
*
* Each message has to include at least one recipient address. A recipient address includes any address on the To:,
* CC:, or BCC: lines.
*
*
* -
*
* If you send a single message to more than one recipient address, and one of the recipient addresses isn't in a
* valid format (that is, it's not in the format UserName@[SubDomain.]Domain.TopLevelDomain), Amazon SES
* rejects the entire message, even if the other addresses are valid.
*
*
* -
*
* Each message can include up to 50 recipient addresses across the To:, CC:, or BCC: lines. If you need to send a
* single message to more than 50 recipients, you have to split the list of recipient addresses into groups of less
* than 50 recipients, and send separate messages to each group.
*
*
* -
*
* Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message parts. However, if Amazon SES
* has to modify the contents of your message (for example, if you use open and click tracking), 8-bit content isn't
* preserved. For this reason, we highly recommend that you encode all content that isn't 7-bit ASCII. For more
* information, see MIME Encoding
* in the Amazon SES Developer Guide.
*
*
*
*
* Additionally, keep the following considerations in mind when using the SendRawEmail
operation:
*
*
* -
*
* Although you can customize the message headers when using the SendRawEmail
operation, Amazon SES
* automatically applies its own Message-ID
and Date
headers; if you passed these headers
* when creating the message, they are overwritten by the values that Amazon SES provides.
*
*
* -
*
* If you are using sending authorization to send on behalf of another user, SendRawEmail
enables you
* to specify the cross-account identity for the email's Source, From, and Return-Path parameters in one of two
* ways: you can pass optional parameters SourceArn
, FromArn
, and/or
* ReturnPathArn
, 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
*
*
*
*
*
* Don't include these X-headers in the DKIM signature. Amazon SES removes these before it sends the email.
*
*
*
* If you only specify the SourceIdentityArn
parameter, Amazon SES sets the From and Return-Path
* addresses to the same identity that you specified.
*
*
* For more information about sending authorization, see the Using Sending Authorization with
* Amazon SES in the Amazon SES Developer Guide.
*
*
* -
*
* For every message that you send, the total number of recipients (including each recipient in the To:, CC: and
* BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending
* quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending
* Limits in the Amazon SES Developer Guide.
*
*
*
*
* @param sendRawEmailRequest
* Represents a request to send a single raw email using Amazon SES. For more information, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SendRawEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendRawEmail
* @see AWS API
* Documentation
*/
default CompletableFuture sendRawEmail(SendRawEmailRequest sendRawEmailRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Composes an email message and immediately queues it for sending.
*
*
* This operation is more flexible than the SendEmail
operation. When you use the
* SendRawEmail
operation, you can specify the headers of the message as well as its content. This
* flexibility is useful, for example, when you need to send a multipart MIME email (such a message that contains
* both a text and an HTML version). You can also use this operation to send messages that include attachments.
*
*
* The SendRawEmail
operation has the following requirements:
*
*
* -
*
* You can only send email from verified email addresses or
* domains. If you try to send email from an address that isn't verified, the operation results in an
* "Email address not verified" error.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you can
* only send email to other verified addresses in your account, or to addresses that are associated with the Amazon SES mailbox
* simulator.
*
*
* -
*
* The maximum message size, including attachments, is 10 MB.
*
*
* -
*
* Each message has to include at least one recipient address. A recipient address includes any address on the To:,
* CC:, or BCC: lines.
*
*
* -
*
* If you send a single message to more than one recipient address, and one of the recipient addresses isn't in a
* valid format (that is, it's not in the format UserName@[SubDomain.]Domain.TopLevelDomain), Amazon SES
* rejects the entire message, even if the other addresses are valid.
*
*
* -
*
* Each message can include up to 50 recipient addresses across the To:, CC:, or BCC: lines. If you need to send a
* single message to more than 50 recipients, you have to split the list of recipient addresses into groups of less
* than 50 recipients, and send separate messages to each group.
*
*
* -
*
* Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message parts. However, if Amazon SES
* has to modify the contents of your message (for example, if you use open and click tracking), 8-bit content isn't
* preserved. For this reason, we highly recommend that you encode all content that isn't 7-bit ASCII. For more
* information, see MIME Encoding
* in the Amazon SES Developer Guide.
*
*
*
*
* Additionally, keep the following considerations in mind when using the SendRawEmail
operation:
*
*
* -
*
* Although you can customize the message headers when using the SendRawEmail
operation, Amazon SES
* automatically applies its own Message-ID
and Date
headers; if you passed these headers
* when creating the message, they are overwritten by the values that Amazon SES provides.
*
*
* -
*
* If you are using sending authorization to send on behalf of another user, SendRawEmail
enables you
* to specify the cross-account identity for the email's Source, From, and Return-Path parameters in one of two
* ways: you can pass optional parameters SourceArn
, FromArn
, and/or
* ReturnPathArn
, 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
*
*
*
*
*
* Don't include these X-headers in the DKIM signature. Amazon SES removes these before it sends the email.
*
*
*
* If you only specify the SourceIdentityArn
parameter, Amazon SES sets the From and Return-Path
* addresses to the same identity that you specified.
*
*
* For more information about sending authorization, see the Using Sending Authorization with
* Amazon SES in the Amazon SES Developer Guide.
*
*
* -
*
* For every message that you send, the total number of recipients (including each recipient in the To:, CC: and
* BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending
* quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending
* Limits in the Amazon SES Developer Guide.
*
*
*
*
*
* This is a convenience which creates an instance of the {@link SendRawEmailRequest.Builder} avoiding the need to
* create one manually via {@link SendRawEmailRequest#builder()}
*
*
* @param sendRawEmailRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SendRawEmailRequest.Builder} to create a request.
* Represents a request to send a single raw email using Amazon SES. For more information, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SendRawEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendRawEmail
* @see AWS API
* Documentation
*/
default CompletableFuture sendRawEmail(Consumer sendRawEmailRequest) {
return sendRawEmail(SendRawEmailRequest.builder().applyMutation(sendRawEmailRequest).build());
}
/**
*
* Composes an email message using an email template and immediately queues it for sending.
*
*
* To send email using this operation, your call must meet the following requirements:
*
*
* -
*
* The call must refer to an existing email template. You can create email templates using the CreateTemplate
* operation.
*
*
* -
*
* The message must be sent from a verified email address or domain.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to
* email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* -
*
* The maximum message size is 10 MB.
*
*
* -
*
* Calls to the SendTemplatedEmail
operation may only include one Destination
parameter. A
* destination is a set of recipients that receives the same version of the email. The Destination
* parameter can include up to 50 recipients, across the To:, CC: and BCC: fields.
*
*
* -
*
* The Destination
parameter must include at least one recipient email address. The recipient address
* can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is
* not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the
* message contains other recipients that are valid.
*
*
*
*
*
* If your call to the SendTemplatedEmail
operation includes all of the required parameters, Amazon SES
* accepts it and returns a Message ID. However, if Amazon SES can't render the email because the template contains
* errors, it doesn't send the email. Additionally, because it already accepted the message, Amazon SES doesn't
* return a message stating that it was unable to send the email.
*
*
* For these reasons, we highly recommend that you set up Amazon SES to send you notifications when Rendering
* Failure events occur. For more information, see Sending Personalized Email
* Using the Amazon SES API in the Amazon Simple Email Service Developer Guide.
*
*
*
* @param sendTemplatedEmailRequest
* Represents a request to send a templated email using Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SendTemplatedEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendTemplatedEmail
* @see AWS API
* Documentation
*/
default CompletableFuture sendTemplatedEmail(SendTemplatedEmailRequest sendTemplatedEmailRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Composes an email message using an email template and immediately queues it for sending.
*
*
* To send email using this operation, your call must meet the following requirements:
*
*
* -
*
* The call must refer to an existing email template. You can create email templates using the CreateTemplate
* operation.
*
*
* -
*
* The message must be sent from a verified email address or domain.
*
*
* -
*
* If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to
* email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* -
*
* The maximum message size is 10 MB.
*
*
* -
*
* Calls to the SendTemplatedEmail
operation may only include one Destination
parameter. A
* destination is a set of recipients that receives the same version of the email. The Destination
* parameter can include up to 50 recipients, across the To:, CC: and BCC: fields.
*
*
* -
*
* The Destination
parameter must include at least one recipient email address. The recipient address
* can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is
* not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the
* message contains other recipients that are valid.
*
*
*
*
*
* If your call to the SendTemplatedEmail
operation includes all of the required parameters, Amazon SES
* accepts it and returns a Message ID. However, if Amazon SES can't render the email because the template contains
* errors, it doesn't send the email. Additionally, because it already accepted the message, Amazon SES doesn't
* return a message stating that it was unable to send the email.
*
*
* For these reasons, we highly recommend that you set up Amazon SES to send you notifications when Rendering
* Failure events occur. For more information, see Sending Personalized Email
* Using the Amazon SES API in the Amazon Simple Email Service Developer Guide.
*
*
*
* This is a convenience which creates an instance of the {@link SendTemplatedEmailRequest.Builder} avoiding the
* need to create one manually via {@link SendTemplatedEmailRequest#builder()}
*
*
* @param sendTemplatedEmailRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SendTemplatedEmailRequest.Builder} to create a request.
* Represents a request to send a templated email using Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SendTemplatedEmail operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - MessageRejectedException Indicates that the action failed, and the message could not be sent. Check
* the error stack for more information about what caused the error.
* - MailFromDomainNotVerifiedException Indicates that the message could not be sent because Amazon SES
* could not read the MX record required to use the specified MAIL FROM domain. For information about
* editing the custom MAIL FROM domain settings for an identity, see the Amazon SES Developer
* Guide.
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - ConfigurationSetSendingPausedException Indicates that email sending is disabled for the configuration
* set.
*
* You can enable or disable email sending for a configuration set using
* UpdateConfigurationSetSendingEnabled.
* - AccountSendingPausedException Indicates that email sending is disabled for your entire Amazon SES
* account.
*
* You can enable or disable email sending for your Amazon SES account using
* UpdateAccountSendingEnabled.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SendTemplatedEmail
* @see AWS API
* Documentation
*/
default CompletableFuture sendTemplatedEmail(
Consumer sendTemplatedEmailRequest) {
return sendTemplatedEmail(SendTemplatedEmailRequest.builder().applyMutation(sendTemplatedEmailRequest).build());
}
/**
*
* Sets the specified receipt rule set as the active receipt rule set.
*
*
*
* To disable your email-receiving through Amazon SES completely, you can call this operation with
* RuleSetName
set to null.
*
*
*
* For information about managing receipt rule sets, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param setActiveReceiptRuleSetRequest
* Represents a request to set a receipt rule set as the active receipt rule set. You use receipt rule sets
* to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SetActiveReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetActiveReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture setActiveReceiptRuleSet(
SetActiveReceiptRuleSetRequest setActiveReceiptRuleSetRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Sets the specified receipt rule set as the active receipt rule set.
*
*
*
* To disable your email-receiving through Amazon SES completely, you can call this operation with
* RuleSetName
set to null.
*
*
*
* For information about managing receipt rule sets, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link SetActiveReceiptRuleSetRequest.Builder} avoiding
* the need to create one manually via {@link SetActiveReceiptRuleSetRequest#builder()}
*
*
* @param setActiveReceiptRuleSetRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SetActiveReceiptRuleSetRequest.Builder} to create a
* request. Represents a request to set a receipt rule set as the active receipt rule set. You use receipt
* rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SetActiveReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetActiveReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture setActiveReceiptRuleSet(
Consumer setActiveReceiptRuleSetRequest) {
return setActiveReceiptRuleSet(SetActiveReceiptRuleSetRequest.builder().applyMutation(setActiveReceiptRuleSetRequest)
.build());
}
/**
*
* Sets the specified receipt rule set as the active receipt rule set.
*
*
*
* To disable your email-receiving through Amazon SES completely, you can call this operation with
* RuleSetName
set to null.
*
*
*
* For information about managing receipt rule sets, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @return A Java Future containing the result of the SetActiveReceiptRuleSet operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetActiveReceiptRuleSet
* @see AWS
* API Documentation
*/
default CompletableFuture setActiveReceiptRuleSet() {
return setActiveReceiptRuleSet(SetActiveReceiptRuleSetRequest.builder().build());
}
/**
*
* Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a
* domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM
* signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.
*
*
*
* For email addresses (for example, [email protected]
), you can only enable DKIM signing if the
* corresponding domain (in this case, example.com
) has been set up to use Easy DKIM.
*
*
*
* You can enable DKIM signing for an identity at any time after you start the verification process for the
* identity, even if the verification process isn't complete.
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about Easy DKIM signing, go to the Amazon SES Developer
* Guide.
*
*
* @param setIdentityDkimEnabledRequest
* Represents a request to enable or disable Amazon SES Easy DKIM signing for an identity. For more
* information about setting up Easy DKIM, see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the SetIdentityDkimEnabled operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityDkimEnabled
* @see AWS
* API Documentation
*/
default CompletableFuture setIdentityDkimEnabled(
SetIdentityDkimEnabledRequest setIdentityDkimEnabledRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a
* domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM
* signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.
*
*
*
* For email addresses (for example, [email protected]
), you can only enable DKIM signing if the
* corresponding domain (in this case, example.com
) has been set up to use Easy DKIM.
*
*
*
* You can enable DKIM signing for an identity at any time after you start the verification process for the
* identity, even if the verification process isn't complete.
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about Easy DKIM signing, go to the Amazon SES Developer
* Guide.
*
*
*
* This is a convenience which creates an instance of the {@link SetIdentityDkimEnabledRequest.Builder} avoiding the
* need to create one manually via {@link SetIdentityDkimEnabledRequest#builder()}
*
*
* @param setIdentityDkimEnabledRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SetIdentityDkimEnabledRequest.Builder} to create a
* request. Represents a request to enable or disable Amazon SES Easy DKIM signing for an identity. For more
* information about setting up Easy DKIM, see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the SetIdentityDkimEnabled operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityDkimEnabled
* @see AWS
* API Documentation
*/
default CompletableFuture setIdentityDkimEnabled(
Consumer setIdentityDkimEnabledRequest) {
return setIdentityDkimEnabled(SetIdentityDkimEnabledRequest.builder().applyMutation(setIdentityDkimEnabledRequest)
.build());
}
/**
*
* Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and
* complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification
* Service (Amazon SNS) topics are specified for both bounces and complaints.
*
*
*
* Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through
* Amazon SNS.
*
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about using notifications with Amazon SES, see the Amazon SES
* Developer Guide.
*
*
* @param setIdentityFeedbackForwardingEnabledRequest
* Represents a request to enable or disable whether Amazon SES forwards you bounce and complaint
* notifications through email. For information about email feedback forwarding, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityFeedbackForwardingEnabled operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityFeedbackForwardingEnabled
* @see AWS API Documentation
*/
default CompletableFuture setIdentityFeedbackForwardingEnabled(
SetIdentityFeedbackForwardingEnabledRequest setIdentityFeedbackForwardingEnabledRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and
* complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification
* Service (Amazon SNS) topics are specified for both bounces and complaints.
*
*
*
* Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through
* Amazon SNS.
*
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about using notifications with Amazon SES, see the Amazon SES
* Developer Guide.
*
*
*
* This is a convenience which creates an instance of the
* {@link SetIdentityFeedbackForwardingEnabledRequest.Builder} avoiding the need to create one manually via
* {@link SetIdentityFeedbackForwardingEnabledRequest#builder()}
*
*
* @param setIdentityFeedbackForwardingEnabledRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SetIdentityFeedbackForwardingEnabledRequest.Builder} to
* create a request. Represents a request to enable or disable whether Amazon SES forwards you bounce and
* complaint notifications through email. For information about email feedback forwarding, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityFeedbackForwardingEnabled operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityFeedbackForwardingEnabled
* @see AWS API Documentation
*/
default CompletableFuture setIdentityFeedbackForwardingEnabled(
Consumer setIdentityFeedbackForwardingEnabledRequest) {
return setIdentityFeedbackForwardingEnabled(SetIdentityFeedbackForwardingEnabledRequest.builder()
.applyMutation(setIdentityFeedbackForwardingEnabledRequest).build());
}
/**
*
* Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in
* the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about using notifications with Amazon SES, see the Amazon SES
* Developer Guide.
*
*
* @param setIdentityHeadersInNotificationsEnabledRequest
* Represents a request to set whether Amazon SES includes the original email headers in the Amazon SNS
* notifications of a specified type. For information about notifications, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityHeadersInNotificationsEnabled operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityHeadersInNotificationsEnabled
* @see AWS API Documentation
*/
default CompletableFuture setIdentityHeadersInNotificationsEnabled(
SetIdentityHeadersInNotificationsEnabledRequest setIdentityHeadersInNotificationsEnabledRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in
* the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about using notifications with Amazon SES, see the Amazon SES
* Developer Guide.
*
*
*
* This is a convenience which creates an instance of the
* {@link SetIdentityHeadersInNotificationsEnabledRequest.Builder} avoiding the need to create one manually via
* {@link SetIdentityHeadersInNotificationsEnabledRequest#builder()}
*
*
* @param setIdentityHeadersInNotificationsEnabledRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SetIdentityHeadersInNotificationsEnabledRequest.Builder}
* to create a request. Represents a request to set whether Amazon SES includes the original email headers in
* the Amazon SNS notifications of a specified type. For information about notifications, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityHeadersInNotificationsEnabled operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityHeadersInNotificationsEnabled
* @see AWS API Documentation
*/
default CompletableFuture setIdentityHeadersInNotificationsEnabled(
Consumer setIdentityHeadersInNotificationsEnabledRequest) {
return setIdentityHeadersInNotificationsEnabled(SetIdentityHeadersInNotificationsEnabledRequest.builder()
.applyMutation(setIdentityHeadersInNotificationsEnabledRequest).build());
}
/**
*
* Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).
*
*
*
* To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS
* settings. To ensure that your emails pass Sender Policy Framework (SPF) checks, you must also add or update an
* SPF record. For more information, see the Amazon SES Developer Guide.
*
*
*
* You can execute this operation no more than once per second.
*
*
* @param setIdentityMailFromDomainRequest
* Represents a request to enable or disable the Amazon SES custom MAIL FROM domain setup for a verified
* identity. For information about using a custom MAIL FROM domain, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityMailFromDomain operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityMailFromDomain
* @see AWS API Documentation
*/
default CompletableFuture setIdentityMailFromDomain(
SetIdentityMailFromDomainRequest setIdentityMailFromDomainRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).
*
*
*
* To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS
* settings. To ensure that your emails pass Sender Policy Framework (SPF) checks, you must also add or update an
* SPF record. For more information, see the Amazon SES Developer Guide.
*
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link SetIdentityMailFromDomainRequest.Builder} avoiding
* the need to create one manually via {@link SetIdentityMailFromDomainRequest#builder()}
*
*
* @param setIdentityMailFromDomainRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SetIdentityMailFromDomainRequest.Builder} to create a
* request. Represents a request to enable or disable the Amazon SES custom MAIL FROM domain setup for a
* verified identity. For information about using a custom MAIL FROM domain, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityMailFromDomain operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityMailFromDomain
* @see AWS API Documentation
*/
default CompletableFuture setIdentityMailFromDomain(
Consumer setIdentityMailFromDomainRequest) {
return setIdentityMailFromDomain(SetIdentityMailFromDomainRequest.builder()
.applyMutation(setIdentityMailFromDomainRequest).build());
}
/**
*
* Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use
* this operation, you specify a verified identity, such as an email address or domain. When you send an email that
* uses the chosen identity in the Source field, Amazon SES sends notifications to the topic you specified. You can
* send bounce, complaint, or delivery notifications (or any combination of the three) to the Amazon SNS topic that
* you specify.
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about feedback notification, see the Amazon SES
* Developer Guide.
*
*
* @param setIdentityNotificationTopicRequest
* Represents a request to specify the Amazon SNS topic to which Amazon SES publishes bounce, complaint, or
* delivery notifications for emails sent with that identity as the source. For information about Amazon SES
* notifications, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityNotificationTopic operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityNotificationTopic
* @see AWS API Documentation
*/
default CompletableFuture setIdentityNotificationTopic(
SetIdentityNotificationTopicRequest setIdentityNotificationTopicRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use
* this operation, you specify a verified identity, such as an email address or domain. When you send an email that
* uses the chosen identity in the Source field, Amazon SES sends notifications to the topic you specified. You can
* send bounce, complaint, or delivery notifications (or any combination of the three) to the Amazon SNS topic that
* you specify.
*
*
* You can execute this operation no more than once per second.
*
*
* For more information about feedback notification, see the Amazon SES
* Developer Guide.
*
*
*
* This is a convenience which creates an instance of the {@link SetIdentityNotificationTopicRequest.Builder}
* avoiding the need to create one manually via {@link SetIdentityNotificationTopicRequest#builder()}
*
*
* @param setIdentityNotificationTopicRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SetIdentityNotificationTopicRequest.Builder} to create a
* request. Represents a request to specify the Amazon SNS topic to which Amazon SES publishes bounce,
* complaint, or delivery notifications for emails sent with that identity as the source. For information
* about Amazon SES notifications, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the SetIdentityNotificationTopic operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetIdentityNotificationTopic
* @see AWS API Documentation
*/
default CompletableFuture setIdentityNotificationTopic(
Consumer setIdentityNotificationTopicRequest) {
return setIdentityNotificationTopic(SetIdentityNotificationTopicRequest.builder()
.applyMutation(setIdentityNotificationTopicRequest).build());
}
/**
*
* 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.
*
*
* You can execute this operation no more than once per second.
*
*
* @param setReceiptRulePositionRequest
* Represents a request to set the position of a receipt rule in a receipt rule set. You use receipt rule
* sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SetReceiptRulePosition operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetReceiptRulePosition
* @see AWS
* API Documentation
*/
default CompletableFuture setReceiptRulePosition(
SetReceiptRulePositionRequest setReceiptRulePositionRequest) {
throw new UnsupportedOperationException();
}
/**
*
* 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.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link SetReceiptRulePositionRequest.Builder} avoiding the
* need to create one manually via {@link SetReceiptRulePositionRequest#builder()}
*
*
* @param setReceiptRulePositionRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.SetReceiptRulePositionRequest.Builder} to create a
* request. Represents a request to set the position of a receipt rule in a receipt rule set. You use receipt
* rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the SetReceiptRulePosition operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.SetReceiptRulePosition
* @see AWS
* API Documentation
*/
default CompletableFuture setReceiptRulePosition(
Consumer setReceiptRulePositionRequest) {
return setReceiptRulePosition(SetReceiptRulePositionRequest.builder().applyMutation(setReceiptRulePositionRequest)
.build());
}
/**
*
* Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.
*
*
* You can execute this operation no more than once per second.
*
*
* @param testRenderTemplateRequest
* @return A Java Future containing the result of the TestRenderTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - InvalidRenderingParameterException Indicates that one or more of the replacement values you provided
* is invalid. This error may occur when the TemplateData object contains invalid JSON.
* - MissingRenderingAttributeException Indicates that one or more of the replacement values for the
* specified template was not specified. Ensure that the TemplateData object contains references to all of
* the replacement tags in the specified template.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.TestRenderTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture testRenderTemplate(TestRenderTemplateRequest testRenderTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link TestRenderTemplateRequest.Builder} avoiding the
* need to create one manually via {@link TestRenderTemplateRequest#builder()}
*
*
* @param testRenderTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.TestRenderTemplateRequest.Builder} to create a request.
* @return A Java Future containing the result of the TestRenderTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - InvalidRenderingParameterException Indicates that one or more of the replacement values you provided
* is invalid. This error may occur when the TemplateData object contains invalid JSON.
* - MissingRenderingAttributeException Indicates that one or more of the replacement values for the
* specified template was not specified. Ensure that the TemplateData object contains references to all of
* the replacement tags in the specified template.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.TestRenderTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture testRenderTemplate(
Consumer testRenderTemplateRequest) {
return testRenderTemplate(TestRenderTemplateRequest.builder().applyMutation(testRenderTemplateRequest).build());
}
/**
*
* Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services
* Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email
* sending across your Amazon SES account in a given Amazon Web Services Region when reputation metrics (such as
* your bounce or complaint rates) reach certain thresholds.
*
*
* You can execute this operation no more than once per second.
*
*
* @param updateAccountSendingEnabledRequest
* Represents a request to enable or disable the email sending capabilities for your entire Amazon SES
* account.
* @return A Java Future containing the result of the UpdateAccountSendingEnabled operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateAccountSendingEnabled
* @see AWS API Documentation
*/
default CompletableFuture updateAccountSendingEnabled(
UpdateAccountSendingEnabledRequest updateAccountSendingEnabledRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services
* Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email
* sending across your Amazon SES account in a given Amazon Web Services Region when reputation metrics (such as
* your bounce or complaint rates) reach certain thresholds.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateAccountSendingEnabledRequest.Builder}
* avoiding the need to create one manually via {@link UpdateAccountSendingEnabledRequest#builder()}
*
*
* @param updateAccountSendingEnabledRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateAccountSendingEnabledRequest.Builder} to create a
* request. Represents a request to enable or disable the email sending capabilities for your entire Amazon
* SES account.
* @return A Java Future containing the result of the UpdateAccountSendingEnabled operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateAccountSendingEnabled
* @see AWS API Documentation
*/
default CompletableFuture updateAccountSendingEnabled(
Consumer updateAccountSendingEnabledRequest) {
return updateAccountSendingEnabled(UpdateAccountSendingEnabledRequest.builder()
.applyMutation(updateAccountSendingEnabledRequest).build());
}
/**
*
* Updates the event destination of a configuration set. Event destinations are associated with configuration sets,
* which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple
* Notification Service (Amazon SNS). For information about using configuration sets, see Monitoring Your Amazon SES Sending
* Activity in the Amazon SES Developer Guide.
*
*
*
* When you create or update an event destination, you must provide one, and only one, destination. The destination
* can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
*
*
*
* You can execute this operation no more than once per second.
*
*
* @param updateConfigurationSetEventDestinationRequest
* Represents a request to update the event destination of a configuration set. Configuration sets enable you
* to publish email sending events. For information about using configuration sets, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the UpdateConfigurationSetEventDestination operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - EventDestinationDoesNotExistException Indicates that the event destination does not exist.
* - InvalidCloudWatchDestinationException Indicates that the Amazon CloudWatch destination is invalid.
* See the error message for details.
* - InvalidFirehoseDestinationException Indicates that the Amazon Kinesis Firehose destination is
* invalid. See the error message for details.
* - InvalidSnsDestinationException Indicates that the Amazon Simple Notification Service (Amazon SNS)
* destination is invalid. See the error message for details.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetEventDestination
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetEventDestination(
UpdateConfigurationSetEventDestinationRequest updateConfigurationSetEventDestinationRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates the event destination of a configuration set. Event destinations are associated with configuration sets,
* which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple
* Notification Service (Amazon SNS). For information about using configuration sets, see Monitoring Your Amazon SES Sending
* Activity in the Amazon SES Developer Guide.
*
*
*
* When you create or update an event destination, you must provide one, and only one, destination. The destination
* can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
*
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateConfigurationSetEventDestinationRequest.Builder} avoiding the need to create one manually via
* {@link UpdateConfigurationSetEventDestinationRequest#builder()}
*
*
* @param updateConfigurationSetEventDestinationRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateConfigurationSetEventDestinationRequest.Builder} to
* create a request. Represents a request to update the event destination of a configuration set.
* Configuration sets enable you to publish email sending events. For information about using configuration
* sets, see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the UpdateConfigurationSetEventDestination operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - EventDestinationDoesNotExistException Indicates that the event destination does not exist.
* - InvalidCloudWatchDestinationException Indicates that the Amazon CloudWatch destination is invalid.
* See the error message for details.
* - InvalidFirehoseDestinationException Indicates that the Amazon Kinesis Firehose destination is
* invalid. See the error message for details.
* - InvalidSnsDestinationException Indicates that the Amazon Simple Notification Service (Amazon SNS)
* destination is invalid. See the error message for details.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetEventDestination
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetEventDestination(
Consumer updateConfigurationSetEventDestinationRequest) {
return updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest.builder()
.applyMutation(updateConfigurationSetEventDestinationRequest).build());
}
/**
*
* Enables or disables the publishing of reputation metrics for emails sent using a specific configuration set in a
* given Amazon Web Services Region. Reputation metrics include bounce and complaint rates. These metrics are
* published to Amazon CloudWatch. By using CloudWatch, you can create alarms when bounce or complaint rates exceed
* certain thresholds.
*
*
* You can execute this operation no more than once per second.
*
*
* @param updateConfigurationSetReputationMetricsEnabledRequest
* Represents a request to modify the reputation metric publishing settings for a configuration set.
* @return A Java Future containing the result of the UpdateConfigurationSetReputationMetricsEnabled operation
* returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetReputationMetricsEnabled
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetReputationMetricsEnabled(
UpdateConfigurationSetReputationMetricsEnabledRequest updateConfigurationSetReputationMetricsEnabledRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables or disables the publishing of reputation metrics for emails sent using a specific configuration set in a
* given Amazon Web Services Region. Reputation metrics include bounce and complaint rates. These metrics are
* published to Amazon CloudWatch. By using CloudWatch, you can create alarms when bounce or complaint rates exceed
* certain thresholds.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateConfigurationSetReputationMetricsEnabledRequest.Builder} avoiding the need to create one manually
* via {@link UpdateConfigurationSetReputationMetricsEnabledRequest#builder()}
*
*
* @param updateConfigurationSetReputationMetricsEnabledRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateConfigurationSetReputationMetricsEnabledRequest.Builder}
* to create a request. Represents a request to modify the reputation metric publishing settings for a
* configuration set.
* @return A Java Future containing the result of the UpdateConfigurationSetReputationMetricsEnabled operation
* returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetReputationMetricsEnabled
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetReputationMetricsEnabled(
Consumer updateConfigurationSetReputationMetricsEnabledRequest) {
return updateConfigurationSetReputationMetricsEnabled(UpdateConfigurationSetReputationMetricsEnabledRequest.builder()
.applyMutation(updateConfigurationSetReputationMetricsEnabledRequest).build());
}
/**
*
* Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web
* Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause
* email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce
* on complaint rate) exceed certain thresholds.
*
*
* You can execute this operation no more than once per second.
*
*
* @param updateConfigurationSetSendingEnabledRequest
* Represents a request to enable or disable the email sending capabilities for a specific configuration set.
* @return A Java Future containing the result of the UpdateConfigurationSetSendingEnabled operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetSendingEnabled
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetSendingEnabled(
UpdateConfigurationSetSendingEnabledRequest updateConfigurationSetSendingEnabledRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web
* Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause
* email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce
* on complaint rate) exceed certain thresholds.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateConfigurationSetSendingEnabledRequest.Builder} avoiding the need to create one manually via
* {@link UpdateConfigurationSetSendingEnabledRequest#builder()}
*
*
* @param updateConfigurationSetSendingEnabledRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateConfigurationSetSendingEnabledRequest.Builder} to
* create a request. Represents a request to enable or disable the email sending capabilities for a specific
* configuration set.
* @return A Java Future containing the result of the UpdateConfigurationSetSendingEnabled operation returned by the
* service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetSendingEnabled
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetSendingEnabled(
Consumer updateConfigurationSetSendingEnabledRequest) {
return updateConfigurationSetSendingEnabled(UpdateConfigurationSetSendingEnabledRequest.builder()
.applyMutation(updateConfigurationSetSendingEnabledRequest).build());
}
/**
*
* Modifies an association between a configuration set and a custom domain for open and click event tracking.
*
*
* By default, images and links used for tracking open and click events are hosted on domains operated by Amazon
* SES. You can configure a subdomain of your own to handle these events. For information about using custom
* domains, see the Amazon SES Developer
* Guide.
*
*
* @param updateConfigurationSetTrackingOptionsRequest
* Represents a request to update the tracking options for a configuration set.
* @return A Java Future containing the result of the UpdateConfigurationSetTrackingOptions operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TrackingOptionsDoesNotExistException Indicates that the TrackingOptions object you specified does not
* exist.
* - InvalidTrackingOptionsException Indicates that the custom domain to be used for open and click
* tracking redirects is invalid. This error appears most often in the following situations:
*
* -
*
* When the tracking domain you specified is not verified in Amazon SES.
*
*
* -
*
* When the tracking domain you specified is not a valid domain or subdomain.
*
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetTrackingOptions
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetTrackingOptions(
UpdateConfigurationSetTrackingOptionsRequest updateConfigurationSetTrackingOptionsRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Modifies an association between a configuration set and a custom domain for open and click event tracking.
*
*
* By default, images and links used for tracking open and click events are hosted on domains operated by Amazon
* SES. You can configure a subdomain of your own to handle these events. For information about using custom
* domains, see the Amazon SES Developer
* Guide.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateConfigurationSetTrackingOptionsRequest.Builder} avoiding the need to create one manually via
* {@link UpdateConfigurationSetTrackingOptionsRequest#builder()}
*
*
* @param updateConfigurationSetTrackingOptionsRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateConfigurationSetTrackingOptionsRequest.Builder} to
* create a request. Represents a request to update the tracking options for a configuration set.
* @return A Java Future containing the result of the UpdateConfigurationSetTrackingOptions operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - ConfigurationSetDoesNotExistException Indicates that the configuration set does not exist.
* - TrackingOptionsDoesNotExistException Indicates that the TrackingOptions object you specified does not
* exist.
* - InvalidTrackingOptionsException Indicates that the custom domain to be used for open and click
* tracking redirects is invalid. This error appears most often in the following situations:
*
* -
*
* When the tracking domain you specified is not verified in Amazon SES.
*
*
* -
*
* When the tracking domain you specified is not a valid domain or subdomain.
*
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateConfigurationSetTrackingOptions
* @see AWS API Documentation
*/
default CompletableFuture updateConfigurationSetTrackingOptions(
Consumer updateConfigurationSetTrackingOptionsRequest) {
return updateConfigurationSetTrackingOptions(UpdateConfigurationSetTrackingOptionsRequest.builder()
.applyMutation(updateConfigurationSetTrackingOptionsRequest).build());
}
/**
*
* Updates an existing custom verification email template.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param updateCustomVerificationEmailTemplateRequest
* Represents a request to update an existing custom verification email template.
* @return A Java Future containing the result of the UpdateCustomVerificationEmailTemplate operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CustomVerificationEmailTemplateDoesNotExistException Indicates that a custom verification email
* template with the name you specified does not exist.
* - FromEmailAddressNotVerifiedException Indicates that the sender address specified for a custom
* verification email is not verified, and is therefore not eligible to send the custom verification email.
* - CustomVerificationEmailInvalidContentException Indicates that custom verification email template
* provided content is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture updateCustomVerificationEmailTemplate(
UpdateCustomVerificationEmailTemplateRequest updateCustomVerificationEmailTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an existing custom verification email template.
*
*
* For more information about custom verification email templates, see Using
* Custom Verification Email Templates in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the
* {@link UpdateCustomVerificationEmailTemplateRequest.Builder} avoiding the need to create one manually via
* {@link UpdateCustomVerificationEmailTemplateRequest#builder()}
*
*
* @param updateCustomVerificationEmailTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateCustomVerificationEmailTemplateRequest.Builder} to
* create a request. Represents a request to update an existing custom verification email template.
* @return A Java Future containing the result of the UpdateCustomVerificationEmailTemplate operation returned by
* the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - CustomVerificationEmailTemplateDoesNotExistException Indicates that a custom verification email
* template with the name you specified does not exist.
* - FromEmailAddressNotVerifiedException Indicates that the sender address specified for a custom
* verification email is not verified, and is therefore not eligible to send the custom verification email.
* - CustomVerificationEmailInvalidContentException Indicates that custom verification email template
* provided content is invalid.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateCustomVerificationEmailTemplate
* @see AWS API Documentation
*/
default CompletableFuture updateCustomVerificationEmailTemplate(
Consumer updateCustomVerificationEmailTemplateRequest) {
return updateCustomVerificationEmailTemplate(UpdateCustomVerificationEmailTemplateRequest.builder()
.applyMutation(updateCustomVerificationEmailTemplateRequest).build());
}
/**
*
* Updates a receipt rule.
*
*
* For information about managing receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param updateReceiptRuleRequest
* Represents a request to update a receipt rule. You use receipt rules to receive email with Amazon SES. For
* more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the UpdateReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InvalidSnsTopicException Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES
* could not publish to the topic, possibly due to permissions issues. For information about giving
* permissions, see the Amazon SES
* Developer Guide.
* - InvalidS3ConfigurationException Indicates that the provided Amazon S3 bucket or Amazon Web Services
* KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to
* permissions issues. For information about giving permissions, see the Amazon SES
* Developer Guide.
* - InvalidLambdaFunctionException Indicates that the provided Amazon Web Services Lambda function is
* invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues.
* For information about giving permissions, see the Amazon SES
* Developer Guide.
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture updateReceiptRule(UpdateReceiptRuleRequest updateReceiptRuleRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates a receipt rule.
*
*
* For information about managing receipt rules, see the Amazon
* SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateReceiptRuleRequest.Builder} avoiding the need
* to create one manually via {@link UpdateReceiptRuleRequest#builder()}
*
*
* @param updateReceiptRuleRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateReceiptRuleRequest.Builder} to create a request.
* Represents a request to update a receipt rule. You use receipt rules to receive email with Amazon SES. For
* more information, see the Amazon SES Developer
* Guide.
* @return A Java Future containing the result of the UpdateReceiptRule operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - InvalidSnsTopicException Indicates that the provided Amazon SNS topic is invalid, or that Amazon SES
* could not publish to the topic, possibly due to permissions issues. For information about giving
* permissions, see the Amazon SES
* Developer Guide.
* - InvalidS3ConfigurationException Indicates that the provided Amazon S3 bucket or Amazon Web Services
* KMS encryption key is invalid, or that Amazon SES could not publish to the bucket, possibly due to
* permissions issues. For information about giving permissions, see the Amazon SES
* Developer Guide.
* - InvalidLambdaFunctionException Indicates that the provided Amazon Web Services Lambda function is
* invalid, or that Amazon SES could not execute the provided function, possibly due to permissions issues.
* For information about giving permissions, see the Amazon SES
* Developer Guide.
* - RuleSetDoesNotExistException Indicates that the provided receipt rule set does not exist.
* - RuleDoesNotExistException Indicates that the provided receipt rule does not exist.
* - LimitExceededException Indicates that a resource could not be created because of service limits. For
* a list of Amazon SES limits, see the Amazon SES Developer Guide.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateReceiptRule
* @see AWS API
* Documentation
*/
default CompletableFuture updateReceiptRule(
Consumer updateReceiptRuleRequest) {
return updateReceiptRule(UpdateReceiptRuleRequest.builder().applyMutation(updateReceiptRuleRequest).build());
}
/**
*
* Updates an email template. Email templates enable you to send personalized email to one or more destinations in a
* single operation. For more information, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param updateTemplateRequest
* @return A Java Future containing the result of the UpdateTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - InvalidTemplateException Indicates that the template that you specified could not be rendered. This
* issue may occur when a template refers to a partial that does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture updateTemplate(UpdateTemplateRequest updateTemplateRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Updates an email template. Email templates enable you to send personalized email to one or more destinations in a
* single operation. For more information, see the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link UpdateTemplateRequest.Builder} avoiding the need to
* create one manually via {@link UpdateTemplateRequest#builder()}
*
*
* @param updateTemplateRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.UpdateTemplateRequest.Builder} to create a request.
* @return A Java Future containing the result of the UpdateTemplate operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - TemplateDoesNotExistException Indicates that the Template object you specified does not exist in your
* Amazon SES account.
* - InvalidTemplateException Indicates that the template that you specified could not be rendered. This
* issue may occur when a template refers to a partial that does not exist.
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.UpdateTemplate
* @see AWS API
* Documentation
*/
default CompletableFuture updateTemplate(Consumer updateTemplateRequest) {
return updateTemplate(UpdateTemplateRequest.builder().applyMutation(updateTemplateRequest).build());
}
/**
*
* Returns a set of DKIM tokens for a domain identity.
*
*
*
* When you execute the VerifyDomainDkim
operation, the domain that you specify is added to the list of
* identities that are associated with your account. This is true even if you haven't already associated the domain
* with your account by using the VerifyDomainIdentity
operation. However, you can't send email from
* the domain until you either successfully verify it
* or you successfully set up DKIM for it.
*
*
*
* You use the tokens that are generated by this operation to create CNAME records. When Amazon SES detects that
* you've added these records to the DNS configuration for a domain, you can start sending email from that domain.
* You can start sending email even if you haven't added the TXT record provided by the VerifyDomainIdentity
* operation to the DNS configuration for your domain. All email that you send from the domain is authenticated
* using DKIM.
*
*
* To create the CNAME records for DKIM authentication, use the following values:
*
*
* -
*
* Name: token._domainkey.example.com
*
*
* -
*
* Type: CNAME
*
*
* -
*
* Value: token.dkim.amazonses.com
*
*
*
*
* In the preceding example, replace token with one of the tokens that are generated when you execute this
* operation. Replace example.com with your domain. Repeat this process for each token that's generated by
* this operation.
*
*
* You can execute this operation no more than once per second.
*
*
* @param verifyDomainDkimRequest
* Represents a request to generate the CNAME records needed to set up Easy DKIM with Amazon SES. For more
* information about setting up Easy DKIM, see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the VerifyDomainDkim operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyDomainDkim
* @see AWS API
* Documentation
*/
default CompletableFuture verifyDomainDkim(VerifyDomainDkimRequest verifyDomainDkimRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Returns a set of DKIM tokens for a domain identity.
*
*
*
* When you execute the VerifyDomainDkim
operation, the domain that you specify is added to the list of
* identities that are associated with your account. This is true even if you haven't already associated the domain
* with your account by using the VerifyDomainIdentity
operation. However, you can't send email from
* the domain until you either successfully verify it
* or you successfully set up DKIM for it.
*
*
*
* You use the tokens that are generated by this operation to create CNAME records. When Amazon SES detects that
* you've added these records to the DNS configuration for a domain, you can start sending email from that domain.
* You can start sending email even if you haven't added the TXT record provided by the VerifyDomainIdentity
* operation to the DNS configuration for your domain. All email that you send from the domain is authenticated
* using DKIM.
*
*
* To create the CNAME records for DKIM authentication, use the following values:
*
*
* -
*
* Name: token._domainkey.example.com
*
*
* -
*
* Type: CNAME
*
*
* -
*
* Value: token.dkim.amazonses.com
*
*
*
*
* In the preceding example, replace token with one of the tokens that are generated when you execute this
* operation. Replace example.com with your domain. Repeat this process for each token that's generated by
* this operation.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link VerifyDomainDkimRequest.Builder} avoiding the need
* to create one manually via {@link VerifyDomainDkimRequest#builder()}
*
*
* @param verifyDomainDkimRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.VerifyDomainDkimRequest.Builder} to create a request.
* Represents a request to generate the CNAME records needed to set up Easy DKIM with Amazon SES. For more
* information about setting up Easy DKIM, see the Amazon SES
* Developer Guide.
* @return A Java Future containing the result of the VerifyDomainDkim operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyDomainDkim
* @see AWS API
* Documentation
*/
default CompletableFuture verifyDomainDkim(
Consumer verifyDomainDkimRequest) {
return verifyDomainDkim(VerifyDomainDkimRequest.builder().applyMutation(verifyDomainDkimRequest).build());
}
/**
*
* Adds a domain to the list of identities for your Amazon SES account in the current Amazon Web Services Region and
* attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
* @param verifyDomainIdentityRequest
* Represents a request to begin Amazon SES domain verification and to generate the TXT records that you must
* publish to the DNS server of your domain to complete the verification. For information about domain
* verification, see the Amazon
* SES Developer Guide.
* @return A Java Future containing the result of the VerifyDomainIdentity operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyDomainIdentity
* @see AWS
* API Documentation
*/
default CompletableFuture verifyDomainIdentity(
VerifyDomainIdentityRequest verifyDomainIdentityRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Adds a domain to the list of identities for your Amazon SES account in the current Amazon Web Services Region and
* attempts to verify it. For more information about verifying domains, see Verifying Email Addresses and
* Domains in the Amazon SES Developer Guide.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link VerifyDomainIdentityRequest.Builder} avoiding the
* need to create one manually via {@link VerifyDomainIdentityRequest#builder()}
*
*
* @param verifyDomainIdentityRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.VerifyDomainIdentityRequest.Builder} to create a request.
* Represents a request to begin Amazon SES domain verification and to generate the TXT records that you must
* publish to the DNS server of your domain to complete the verification. For information about domain
* verification, see the Amazon
* SES Developer Guide.
* @return A Java Future containing the result of the VerifyDomainIdentity operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyDomainIdentity
* @see AWS
* API Documentation
*/
default CompletableFuture verifyDomainIdentity(
Consumer verifyDomainIdentityRequest) {
return verifyDomainIdentity(VerifyDomainIdentityRequest.builder().applyMutation(verifyDomainIdentityRequest).build());
}
/**
*
* Deprecated. Use the VerifyEmailIdentity
operation to verify a new email address.
*
*
* @param verifyEmailAddressRequest
* Represents a request to begin email address verification with Amazon SES. For information about email
* address verification, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the VerifyEmailAddress operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyEmailAddress
* @see AWS API
* Documentation
*/
default CompletableFuture verifyEmailAddress(VerifyEmailAddressRequest verifyEmailAddressRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Deprecated. Use the VerifyEmailIdentity
operation to verify a new email address.
*
*
*
* This is a convenience which creates an instance of the {@link VerifyEmailAddressRequest.Builder} avoiding the
* need to create one manually via {@link VerifyEmailAddressRequest#builder()}
*
*
* @param verifyEmailAddressRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.VerifyEmailAddressRequest.Builder} to create a request.
* Represents a request to begin email address verification with Amazon SES. For information about email
* address verification, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the VerifyEmailAddress operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyEmailAddress
* @see AWS API
* Documentation
*/
default CompletableFuture verifyEmailAddress(
Consumer verifyEmailAddressRequest) {
return verifyEmailAddress(VerifyEmailAddressRequest.builder().applyMutation(verifyEmailAddressRequest).build());
}
/**
*
* Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services
* Region and attempts to verify it. As a result of executing this operation, a verification email is sent to the
* specified address.
*
*
* You can execute this operation no more than once per second.
*
*
* @param verifyEmailIdentityRequest
* Represents a request to begin email address verification with Amazon SES. For information about email
* address verification, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the VerifyEmailIdentity operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyEmailIdentity
* @see AWS API
* Documentation
*/
default CompletableFuture verifyEmailIdentity(
VerifyEmailIdentityRequest verifyEmailIdentityRequest) {
throw new UnsupportedOperationException();
}
/**
*
* Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services
* Region and attempts to verify it. As a result of executing this operation, a verification email is sent to the
* specified address.
*
*
* You can execute this operation no more than once per second.
*
*
*
* This is a convenience which creates an instance of the {@link VerifyEmailIdentityRequest.Builder} avoiding the
* need to create one manually via {@link VerifyEmailIdentityRequest#builder()}
*
*
* @param verifyEmailIdentityRequest
* A {@link Consumer} that will call methods on
* {@link software.amazon.awssdk.services.ses.model.VerifyEmailIdentityRequest.Builder} to create a request.
* Represents a request to begin email address verification with Amazon SES. For information about email
* address verification, see the Amazon SES Developer Guide.
* @return A Java Future containing the result of the VerifyEmailIdentity operation returned by the service.
* The CompletableFuture returned by this method can be completed exceptionally with the following
* exceptions. The exception returned is wrapped with CompletionException, so you need to invoke
* {@link Throwable#getCause} to retrieve the underlying exception.
*
* - SdkException Base class for all exceptions that can be thrown by the SDK (both service and client).
* Can be used for catch all scenarios.
* - SdkClientException If any client side error occurs such as an IO related failure, failure to get
* credentials, etc.
* - SesException Base class for all service exceptions. Unknown exceptions will be thrown as an instance
* of this type.
*
* @sample SesAsyncClient.VerifyEmailIdentity
* @see AWS API
* Documentation
*/
default CompletableFuture verifyEmailIdentity(
Consumer verifyEmailIdentityRequest) {
return verifyEmailIdentity(VerifyEmailIdentityRequest.builder().applyMutation(verifyEmailIdentityRequest).build());
}
/**
* Create an instance of {@link SesAsyncWaiter} using this client.
*
* Waiters created via this method are managed by the SDK and resources will be released when the service client is
* closed.
*
* @return an instance of {@link SesAsyncWaiter}
*/
default SesAsyncWaiter waiter() {
throw new UnsupportedOperationException();
}
@Override
default SesServiceClientConfiguration serviceClientConfiguration() {
throw new UnsupportedOperationException();
}
/**
* Create a {@link SesAsyncClient} with the region loaded from the
* {@link software.amazon.awssdk.regions.providers.DefaultAwsRegionProviderChain} and credentials loaded from the
* {@link software.amazon.awssdk.auth.credentials.DefaultCredentialsProvider}.
*/
static SesAsyncClient create() {
return builder().build();
}
/**
* Create a builder that can be used to configure and create a {@link SesAsyncClient}.
*/
static SesAsyncClientBuilder builder() {
return new DefaultSesAsyncClientBuilder();
}
}