Interface SesV2AsyncClient
-
- All Superinterfaces:
AutoCloseable
,AwsClient
,SdkAutoCloseable
,SdkClient
@Generated("software.amazon.awssdk:codegen") @ThreadSafe public interface SesV2AsyncClient extends AwsClient
Service client for accessing Amazon SES V2 asynchronously. This can be created using the staticbuilder()
method.Amazon SES API v2 Amazon SES is an Amazon Web Services service that you can use to send email messages to your customers.
If you're new to Amazon SES API v2, you might find it helpful to review the Amazon Simple Email Service Developer Guide. The Amazon SES Developer Guide provides information and code samples that demonstrate how to use Amazon SES API v2 features programmatically.
-
-
Field Summary
Fields Modifier and Type Field Description static String
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.static String
SERVICE_NAME
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
close
-
Methods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
-
-
-
Field Detail
-
SERVICE_NAME
static final String SERVICE_NAME
- See Also:
- Constant Field Values
-
SERVICE_METADATA_ID
static final String SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider
.- See Also:
- Constant Field Values
-
-
Method Detail
-
batchGetMetricData
default CompletableFuture<BatchGetMetricDataResponse> batchGetMetricData(BatchGetMetricDataRequest batchGetMetricDataRequest)
Retrieves batches of metric data collected based on your sending activity.
You can execute this operation no more than 16 times per second, and with at most 160 queries from the batches per second (cumulative).
- Parameters:
batchGetMetricDataRequest
- Represents a request to retrieve a batch of metric data.- Returns:
- A Java Future containing the result of the BatchGetMetricData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- InternalServiceErrorException The request couldn't be processed because an error occurred with the Amazon SES API v2.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
batchGetMetricData
default CompletableFuture<BatchGetMetricDataResponse> batchGetMetricData(Consumer<BatchGetMetricDataRequest.Builder> batchGetMetricDataRequest)
Retrieves batches of metric data collected based on your sending activity.
You can execute this operation no more than 16 times per second, and with at most 160 queries from the batches per second (cumulative).
This is a convenience which creates an instance of the
BatchGetMetricDataRequest.Builder
avoiding the need to create one manually viaBatchGetMetricDataRequest.builder()
- Parameters:
batchGetMetricDataRequest
- AConsumer
that will call methods onBatchGetMetricDataRequest.Builder
to create a request. Represents a request to retrieve a batch of metric data.- Returns:
- A Java Future containing the result of the BatchGetMetricData operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- InternalServiceErrorException The request couldn't be processed because an error occurred with the Amazon SES API v2.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelExportJob
default CompletableFuture<CancelExportJobResponse> cancelExportJob(CancelExportJobRequest cancelExportJobRequest)
Cancels an export job.
- Parameters:
cancelExportJobRequest
- Represents a request to cancel an export job using the export job ID.- Returns:
- A Java Future containing the result of the CancelExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
cancelExportJob
default CompletableFuture<CancelExportJobResponse> cancelExportJob(Consumer<CancelExportJobRequest.Builder> cancelExportJobRequest)
Cancels an export job.
This is a convenience which creates an instance of the
CancelExportJobRequest.Builder
avoiding the need to create one manually viaCancelExportJobRequest.builder()
- Parameters:
cancelExportJobRequest
- AConsumer
that will call methods onCancelExportJobRequest.Builder
to create a request. Represents a request to cancel an export job using the export job ID.- Returns:
- A Java Future containing the result of the CancelExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createConfigurationSet
default CompletableFuture<CreateConfigurationSetResponse> createConfigurationSet(CreateConfigurationSetRequest createConfigurationSetRequest)
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
- Parameters:
createConfigurationSetRequest
- A request to create a configuration set.- Returns:
- 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.- AlreadyExistsException The resource specified in your request already exists.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createConfigurationSet
default CompletableFuture<CreateConfigurationSetResponse> createConfigurationSet(Consumer<CreateConfigurationSetRequest.Builder> createConfigurationSetRequest)
Create a configuration set. Configuration sets are groups of rules that you can apply to the emails that you send. You apply a configuration set to an email by specifying the name of the configuration set when you call the Amazon SES API v2. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
This is a convenience which creates an instance of the
CreateConfigurationSetRequest.Builder
avoiding the need to create one manually viaCreateConfigurationSetRequest.builder()
- Parameters:
createConfigurationSetRequest
- AConsumer
that will call methods onCreateConfigurationSetRequest.Builder
to create a request. A request to create a configuration set.- Returns:
- 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.- AlreadyExistsException The resource specified in your request already exists.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createConfigurationSetEventDestination
default CompletableFuture<CreateConfigurationSetEventDestinationResponse> createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest)
Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
A single configuration set can include more than one event destination.
- Parameters:
createConfigurationSetEventDestinationRequest
- A request to add an event destination to a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createConfigurationSetEventDestination
default CompletableFuture<CreateConfigurationSetEventDestinationResponse> createConfigurationSetEventDestination(Consumer<CreateConfigurationSetEventDestinationRequest.Builder> createConfigurationSetEventDestinationRequest)
Create an event destination. Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
A single configuration set can include more than one event destination.
This is a convenience which creates an instance of the
CreateConfigurationSetEventDestinationRequest.Builder
avoiding the need to create one manually viaCreateConfigurationSetEventDestinationRequest.builder()
- Parameters:
createConfigurationSetEventDestinationRequest
- AConsumer
that will call methods onCreateConfigurationSetEventDestinationRequest.Builder
to create a request. A request to add an event destination to a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createContact
default CompletableFuture<CreateContactResponse> createContact(CreateContactRequest createContactRequest)
Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.
- Parameters:
createContactRequest
-- Returns:
- A Java Future containing the result of the CreateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- AlreadyExistsException The resource specified in your request already exists.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createContact
default CompletableFuture<CreateContactResponse> createContact(Consumer<CreateContactRequest.Builder> createContactRequest)
Creates a contact, which is an end-user who is receiving the email, and adds them to a contact list.
This is a convenience which creates an instance of the
CreateContactRequest.Builder
avoiding the need to create one manually viaCreateContactRequest.builder()
- Parameters:
createContactRequest
- AConsumer
that will call methods onCreateContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- AlreadyExistsException The resource specified in your request already exists.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createContactList
default CompletableFuture<CreateContactListResponse> createContactList(CreateContactListRequest createContactListRequest)
Creates a contact list.
- Parameters:
createContactListRequest
-- Returns:
- A Java Future containing the result of the CreateContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createContactList
default CompletableFuture<CreateContactListResponse> createContactList(Consumer<CreateContactListRequest.Builder> createContactListRequest)
Creates a contact list.
This is a convenience which creates an instance of the
CreateContactListRequest.Builder
avoiding the need to create one manually viaCreateContactListRequest.builder()
- Parameters:
createContactListRequest
- AConsumer
that will call methods onCreateContactListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the CreateContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCustomVerificationEmailTemplate
default CompletableFuture<CreateCustomVerificationEmailTemplateResponse> createCustomVerificationEmailTemplate(CreateCustomVerificationEmailTemplateRequest createCustomVerificationEmailTemplateRequest)
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.
- Parameters:
createCustomVerificationEmailTemplateRequest
- Represents a request to create a custom verification email template.- Returns:
- 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.- BadRequestException The input you provided is invalid.
- AlreadyExistsException The resource specified in your request already exists.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createCustomVerificationEmailTemplate
default CompletableFuture<CreateCustomVerificationEmailTemplateResponse> createCustomVerificationEmailTemplate(Consumer<CreateCustomVerificationEmailTemplateRequest.Builder> createCustomVerificationEmailTemplateRequest)
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
CreateCustomVerificationEmailTemplateRequest.Builder
avoiding the need to create one manually viaCreateCustomVerificationEmailTemplateRequest.builder()
- Parameters:
createCustomVerificationEmailTemplateRequest
- AConsumer
that will call methods onCreateCustomVerificationEmailTemplateRequest.Builder
to create a request. Represents a request to create a custom verification email template.- Returns:
- 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.- BadRequestException The input you provided is invalid.
- AlreadyExistsException The resource specified in your request already exists.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDedicatedIpPool
default CompletableFuture<CreateDedicatedIpPoolResponse> createDedicatedIpPool(CreateDedicatedIpPoolRequest createDedicatedIpPoolRequest)
Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your Amazon Web Services account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.
- Parameters:
createDedicatedIpPoolRequest
- A request to create a new dedicated IP pool.- Returns:
- A Java Future containing the result of the CreateDedicatedIpPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDedicatedIpPool
default CompletableFuture<CreateDedicatedIpPoolResponse> createDedicatedIpPool(Consumer<CreateDedicatedIpPoolRequest.Builder> createDedicatedIpPoolRequest)
Create a new pool of dedicated IP addresses. A pool can include one or more dedicated IP addresses that are associated with your Amazon Web Services account. You can associate a pool with a configuration set. When you send an email that uses that configuration set, the message is sent from one of the addresses in the associated pool.
This is a convenience which creates an instance of the
CreateDedicatedIpPoolRequest.Builder
avoiding the need to create one manually viaCreateDedicatedIpPoolRequest.builder()
- Parameters:
createDedicatedIpPoolRequest
- AConsumer
that will call methods onCreateDedicatedIpPoolRequest.Builder
to create a request. A request to create a new dedicated IP pool.- Returns:
- A Java Future containing the result of the CreateDedicatedIpPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDeliverabilityTestReport
default CompletableFuture<CreateDeliverabilityTestReportResponse> createDeliverabilityTestReport(CreateDeliverabilityTestReportRequest createDeliverabilityTestReportRequest)
Create a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. Amazon SES then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the
GetDeliverabilityTestReport
operation to view the results of the test.- Parameters:
createDeliverabilityTestReportRequest
- A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. We send that message to special email addresses spread across several major email providers around the world. The test takes about 24 hours to complete. When the test is complete, you can use theGetDeliverabilityTestReport
operation to view the results of the test.- Returns:
- A Java Future containing the result of the CreateDeliverabilityTestReport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MessageRejectedException The message can't be sent because it contains invalid content.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createDeliverabilityTestReport
default CompletableFuture<CreateDeliverabilityTestReportResponse> createDeliverabilityTestReport(Consumer<CreateDeliverabilityTestReportRequest.Builder> createDeliverabilityTestReportRequest)
Create a new predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. Amazon SES then sends that message to special email addresses spread across several major email providers. After about 24 hours, the test is complete, and you can use the
GetDeliverabilityTestReport
operation to view the results of the test.
This is a convenience which creates an instance of the
CreateDeliverabilityTestReportRequest.Builder
avoiding the need to create one manually viaCreateDeliverabilityTestReportRequest.builder()
- Parameters:
createDeliverabilityTestReportRequest
- AConsumer
that will call methods onCreateDeliverabilityTestReportRequest.Builder
to create a request. A request to perform a predictive inbox placement test. Predictive inbox placement tests can help you predict how your messages will be handled by various email providers around the world. When you perform a predictive inbox placement test, you provide a sample message that contains the content that you plan to send to your customers. We send that message to special email addresses spread across several major email providers around the world. The test takes about 24 hours to complete. When the test is complete, you can use theGetDeliverabilityTestReport
operation to view the results of the test.- Returns:
- A Java Future containing the result of the CreateDeliverabilityTestReport operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MessageRejectedException The message can't be sent because it contains invalid content.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEmailIdentity
default CompletableFuture<CreateEmailIdentityResponse> createEmailIdentity(CreateEmailIdentityRequest createEmailIdentityRequest)
Starts the process of verifying an email identity. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity.
When you verify an email address, Amazon SES sends an email to the address. Your email address is verified as soon as you follow the link in the verification email.
When you verify a domain without specifying the
DkimSigningAttributes
object, this operation provides a set of DKIM tokens. You can convert these tokens into CNAME records, which you then add to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. This verification method is known as Easy DKIM.Alternatively, you can perform the verification process by providing your own public-private key pair. This verification method is known as Bring Your Own DKIM (BYODKIM). To use BYODKIM, your call to the
CreateEmailIdentity
operation has to include theDkimSigningAttributes
object. When you specify this object, you provide a selector (a component of the DNS record name that identifies the public key to use for DKIM authentication) and a private key.When you verify a domain, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. For some DNS providers, it can take 72 hours or more to complete the domain verification process.
Additionally, you can associate an existing configuration set with the email identity that you're verifying.
- Parameters:
createEmailIdentityRequest
- A request to begin the verification process for an email identity (an email address or domain).- Returns:
- A Java Future containing the result of the CreateEmailIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEmailIdentity
default CompletableFuture<CreateEmailIdentityResponse> createEmailIdentity(Consumer<CreateEmailIdentityRequest.Builder> createEmailIdentityRequest)
Starts the process of verifying an email identity. An identity is an email address or domain that you use when you send email. Before you can use an identity to send email, you first have to verify it. By verifying an identity, you demonstrate that you're the owner of the identity, and that you've given Amazon SES API v2 permission to send email from the identity.
When you verify an email address, Amazon SES sends an email to the address. Your email address is verified as soon as you follow the link in the verification email.
When you verify a domain without specifying the
DkimSigningAttributes
object, this operation provides a set of DKIM tokens. You can convert these tokens into CNAME records, which you then add to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. This verification method is known as Easy DKIM.Alternatively, you can perform the verification process by providing your own public-private key pair. This verification method is known as Bring Your Own DKIM (BYODKIM). To use BYODKIM, your call to the
CreateEmailIdentity
operation has to include theDkimSigningAttributes
object. When you specify this object, you provide a selector (a component of the DNS record name that identifies the public key to use for DKIM authentication) and a private key.When you verify a domain, this operation provides a set of DKIM tokens, which you can convert into CNAME tokens. You add these CNAME tokens to the DNS configuration for your domain. Your domain is verified when Amazon SES detects these records in the DNS configuration for your domain. For some DNS providers, it can take 72 hours or more to complete the domain verification process.
Additionally, you can associate an existing configuration set with the email identity that you're verifying.
This is a convenience which creates an instance of the
CreateEmailIdentityRequest.Builder
avoiding the need to create one manually viaCreateEmailIdentityRequest.builder()
- Parameters:
createEmailIdentityRequest
- AConsumer
that will call methods onCreateEmailIdentityRequest.Builder
to create a request. A request to begin the verification process for an email identity (an email address or domain).- Returns:
- A Java Future containing the result of the CreateEmailIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEmailIdentityPolicy
default CompletableFuture<CreateEmailIdentityPolicyResponse> createEmailIdentityPolicy(CreateEmailIdentityPolicyRequest createEmailIdentityPolicyRequest)
Creates the specified sending authorization policy for the given identity (an email address or a domain).
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
- Parameters:
createEmailIdentityPolicyRequest
- Represents a request to create 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.- Returns:
- A Java Future containing the result of the CreateEmailIdentityPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- AlreadyExistsException The resource specified in your request already exists.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEmailIdentityPolicy
default CompletableFuture<CreateEmailIdentityPolicyResponse> createEmailIdentityPolicy(Consumer<CreateEmailIdentityPolicyRequest.Builder> createEmailIdentityPolicyRequest)
Creates the specified sending authorization policy for the given identity (an email address or a domain).
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
CreateEmailIdentityPolicyRequest.Builder
avoiding the need to create one manually viaCreateEmailIdentityPolicyRequest.builder()
- Parameters:
createEmailIdentityPolicyRequest
- AConsumer
that will call methods onCreateEmailIdentityPolicyRequest.Builder
to create a request. Represents a request to create 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.- Returns:
- A Java Future containing the result of the CreateEmailIdentityPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- AlreadyExistsException The resource specified in your request already exists.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEmailTemplate
default CompletableFuture<CreateEmailTemplateResponse> createEmailTemplate(CreateEmailTemplateRequest createEmailTemplateRequest)
Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
- Parameters:
createEmailTemplateRequest
- Represents a request to create an email template. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the CreateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createEmailTemplate
default CompletableFuture<CreateEmailTemplateResponse> createEmailTemplate(Consumer<CreateEmailTemplateRequest.Builder> createEmailTemplateRequest)
Creates an email template. Email templates enable you to send personalized email to one or more destinations in a single API 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
CreateEmailTemplateRequest.Builder
avoiding the need to create one manually viaCreateEmailTemplateRequest.builder()
- Parameters:
createEmailTemplateRequest
- AConsumer
that will call methods onCreateEmailTemplateRequest.Builder
to create a request. Represents a request to create an email template. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the CreateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createExportJob
default CompletableFuture<CreateExportJobResponse> createExportJob(CreateExportJobRequest createExportJobRequest)
Creates an export job for a data source and destination.
You can execute this operation no more than once per second.
- Parameters:
createExportJobRequest
- Represents a request to create an export job from a data source to a data destination.- Returns:
- A Java Future containing the result of the CreateExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createExportJob
default CompletableFuture<CreateExportJobResponse> createExportJob(Consumer<CreateExportJobRequest.Builder> createExportJobRequest)
Creates an export job for a data source and destination.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
CreateExportJobRequest.Builder
avoiding the need to create one manually viaCreateExportJobRequest.builder()
- Parameters:
createExportJobRequest
- AConsumer
that will call methods onCreateExportJobRequest.Builder
to create a request. Represents a request to create an export job from a data source to a data destination.- Returns:
- A Java Future containing the result of the CreateExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- LimitExceededException There are too many instances of the specified resource type.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createImportJob
default CompletableFuture<CreateImportJobResponse> createImportJob(CreateImportJobRequest createImportJobRequest)
Creates an import job for a data destination.
- Parameters:
createImportJobRequest
- Represents a request to create an import job from a data source for a data destination.- Returns:
- A Java Future containing the result of the CreateImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
createImportJob
default CompletableFuture<CreateImportJobResponse> createImportJob(Consumer<CreateImportJobRequest.Builder> createImportJobRequest)
Creates an import job for a data destination.
This is a convenience which creates an instance of the
CreateImportJobRequest.Builder
avoiding the need to create one manually viaCreateImportJobRequest.builder()
- Parameters:
createImportJobRequest
- AConsumer
that will call methods onCreateImportJobRequest.Builder
to create a request. Represents a request to create an import job from a data source for a data destination.- Returns:
- A Java Future containing the result of the CreateImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- LimitExceededException There are too many instances of the specified resource type.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfigurationSet
default CompletableFuture<DeleteConfigurationSetResponse> deleteConfigurationSet(DeleteConfigurationSetRequest deleteConfigurationSetRequest)
Delete an existing configuration set.
Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
- Parameters:
deleteConfigurationSetRequest
- A request to delete a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfigurationSet
default CompletableFuture<DeleteConfigurationSetResponse> deleteConfigurationSet(Consumer<DeleteConfigurationSetRequest.Builder> deleteConfigurationSetRequest)
Delete an existing configuration set.
Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
This is a convenience which creates an instance of the
DeleteConfigurationSetRequest.Builder
avoiding the need to create one manually viaDeleteConfigurationSetRequest.builder()
- Parameters:
deleteConfigurationSetRequest
- AConsumer
that will call methods onDeleteConfigurationSetRequest.Builder
to create a request. A request to delete a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfigurationSetEventDestination
default CompletableFuture<DeleteConfigurationSetEventDestinationResponse> deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest deleteConfigurationSetEventDestinationRequest)
Delete an event destination.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
- Parameters:
deleteConfigurationSetEventDestinationRequest
- A request to delete an event destination from a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteConfigurationSetEventDestination
default CompletableFuture<DeleteConfigurationSetEventDestinationResponse> deleteConfigurationSetEventDestination(Consumer<DeleteConfigurationSetEventDestinationRequest.Builder> deleteConfigurationSetEventDestinationRequest)
Delete an event destination.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
This is a convenience which creates an instance of the
DeleteConfigurationSetEventDestinationRequest.Builder
avoiding the need to create one manually viaDeleteConfigurationSetEventDestinationRequest.builder()
- Parameters:
deleteConfigurationSetEventDestinationRequest
- AConsumer
that will call methods onDeleteConfigurationSetEventDestinationRequest.Builder
to create a request. A request to delete an event destination from a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteContact
default CompletableFuture<DeleteContactResponse> deleteContact(DeleteContactRequest deleteContactRequest)
Removes a contact from a contact list.
- Parameters:
deleteContactRequest
-- Returns:
- A Java Future containing the result of the DeleteContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteContact
default CompletableFuture<DeleteContactResponse> deleteContact(Consumer<DeleteContactRequest.Builder> deleteContactRequest)
Removes a contact from a contact list.
This is a convenience which creates an instance of the
DeleteContactRequest.Builder
avoiding the need to create one manually viaDeleteContactRequest.builder()
- Parameters:
deleteContactRequest
- AConsumer
that will call methods onDeleteContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteContactList
default CompletableFuture<DeleteContactListResponse> deleteContactList(DeleteContactListRequest deleteContactListRequest)
Deletes a contact list and all of the contacts on that list.
- Parameters:
deleteContactListRequest
-- Returns:
- A Java Future containing the result of the DeleteContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteContactList
default CompletableFuture<DeleteContactListResponse> deleteContactList(Consumer<DeleteContactListRequest.Builder> deleteContactListRequest)
Deletes a contact list and all of the contacts on that list.
This is a convenience which creates an instance of the
DeleteContactListRequest.Builder
avoiding the need to create one manually viaDeleteContactListRequest.builder()
- Parameters:
deleteContactListRequest
- AConsumer
that will call methods onDeleteContactListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the DeleteContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteCustomVerificationEmailTemplate
default CompletableFuture<DeleteCustomVerificationEmailTemplateResponse> deleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest deleteCustomVerificationEmailTemplateRequest)
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.
- Parameters:
deleteCustomVerificationEmailTemplateRequest
- Represents a request to delete an existing custom verification email template.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteCustomVerificationEmailTemplate
default CompletableFuture<DeleteCustomVerificationEmailTemplateResponse> deleteCustomVerificationEmailTemplate(Consumer<DeleteCustomVerificationEmailTemplateRequest.Builder> deleteCustomVerificationEmailTemplateRequest)
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
DeleteCustomVerificationEmailTemplateRequest.Builder
avoiding the need to create one manually viaDeleteCustomVerificationEmailTemplateRequest.builder()
- Parameters:
deleteCustomVerificationEmailTemplateRequest
- AConsumer
that will call methods onDeleteCustomVerificationEmailTemplateRequest.Builder
to create a request. Represents a request to delete an existing custom verification email template.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDedicatedIpPool
default CompletableFuture<DeleteDedicatedIpPoolResponse> deleteDedicatedIpPool(DeleteDedicatedIpPoolRequest deleteDedicatedIpPoolRequest)
Delete a dedicated IP pool.
- Parameters:
deleteDedicatedIpPoolRequest
- A request to delete a dedicated IP pool.- Returns:
- A Java Future containing the result of the DeleteDedicatedIpPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteDedicatedIpPool
default CompletableFuture<DeleteDedicatedIpPoolResponse> deleteDedicatedIpPool(Consumer<DeleteDedicatedIpPoolRequest.Builder> deleteDedicatedIpPoolRequest)
Delete a dedicated IP pool.
This is a convenience which creates an instance of the
DeleteDedicatedIpPoolRequest.Builder
avoiding the need to create one manually viaDeleteDedicatedIpPoolRequest.builder()
- Parameters:
deleteDedicatedIpPoolRequest
- AConsumer
that will call methods onDeleteDedicatedIpPoolRequest.Builder
to create a request. A request to delete a dedicated IP pool.- Returns:
- A Java Future containing the result of the DeleteDedicatedIpPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEmailIdentity
default CompletableFuture<DeleteEmailIdentityResponse> deleteEmailIdentity(DeleteEmailIdentityRequest deleteEmailIdentityRequest)
Deletes an email identity. An identity can be either an email address or a domain name.
- Parameters:
deleteEmailIdentityRequest
- A request to delete an existing email identity. When you delete an identity, you lose the ability to send email from that identity. You can restore your ability to send email by completing the verification process for the identity again.- Returns:
- A Java Future containing the result of the DeleteEmailIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEmailIdentity
default CompletableFuture<DeleteEmailIdentityResponse> deleteEmailIdentity(Consumer<DeleteEmailIdentityRequest.Builder> deleteEmailIdentityRequest)
Deletes an email identity. An identity can be either an email address or a domain name.
This is a convenience which creates an instance of the
DeleteEmailIdentityRequest.Builder
avoiding the need to create one manually viaDeleteEmailIdentityRequest.builder()
- Parameters:
deleteEmailIdentityRequest
- AConsumer
that will call methods onDeleteEmailIdentityRequest.Builder
to create a request. A request to delete an existing email identity. When you delete an identity, you lose the ability to send email from that identity. You can restore your ability to send email by completing the verification process for the identity again.- Returns:
- A Java Future containing the result of the DeleteEmailIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEmailIdentityPolicy
default CompletableFuture<DeleteEmailIdentityPolicyResponse> deleteEmailIdentityPolicy(DeleteEmailIdentityPolicyRequest deleteEmailIdentityPolicyRequest)
Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
- Parameters:
deleteEmailIdentityPolicyRequest
- 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.- Returns:
- A Java Future containing the result of the DeleteEmailIdentityPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEmailIdentityPolicy
default CompletableFuture<DeleteEmailIdentityPolicyResponse> deleteEmailIdentityPolicy(Consumer<DeleteEmailIdentityPolicyRequest.Builder> deleteEmailIdentityPolicyRequest)
Deletes the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
DeleteEmailIdentityPolicyRequest.Builder
avoiding the need to create one manually viaDeleteEmailIdentityPolicyRequest.builder()
- Parameters:
deleteEmailIdentityPolicyRequest
- AConsumer
that will call methods onDeleteEmailIdentityPolicyRequest.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.- Returns:
- A Java Future containing the result of the DeleteEmailIdentityPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEmailTemplate
default CompletableFuture<DeleteEmailTemplateResponse> deleteEmailTemplate(DeleteEmailTemplateRequest deleteEmailTemplateRequest)
Deletes an email template.
You can execute this operation no more than once per second.
- Parameters:
deleteEmailTemplateRequest
- Represents a request to delete an email template. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the DeleteEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteEmailTemplate
default CompletableFuture<DeleteEmailTemplateResponse> deleteEmailTemplate(Consumer<DeleteEmailTemplateRequest.Builder> deleteEmailTemplateRequest)
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
DeleteEmailTemplateRequest.Builder
avoiding the need to create one manually viaDeleteEmailTemplateRequest.builder()
- Parameters:
deleteEmailTemplateRequest
- AConsumer
that will call methods onDeleteEmailTemplateRequest.Builder
to create a request. Represents a request to delete an email template. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the DeleteEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSuppressedDestination
default CompletableFuture<DeleteSuppressedDestinationResponse> deleteSuppressedDestination(DeleteSuppressedDestinationRequest deleteSuppressedDestinationRequest)
Removes an email address from the suppression list for your account.
- Parameters:
deleteSuppressedDestinationRequest
- A request to remove an email address from the suppression list for your account.- Returns:
- A Java Future containing the result of the DeleteSuppressedDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
deleteSuppressedDestination
default CompletableFuture<DeleteSuppressedDestinationResponse> deleteSuppressedDestination(Consumer<DeleteSuppressedDestinationRequest.Builder> deleteSuppressedDestinationRequest)
Removes an email address from the suppression list for your account.
This is a convenience which creates an instance of the
DeleteSuppressedDestinationRequest.Builder
avoiding the need to create one manually viaDeleteSuppressedDestinationRequest.builder()
- Parameters:
deleteSuppressedDestinationRequest
- AConsumer
that will call methods onDeleteSuppressedDestinationRequest.Builder
to create a request. A request to remove an email address from the suppression list for your account.- Returns:
- A Java Future containing the result of the DeleteSuppressedDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAccount
default CompletableFuture<GetAccountResponse> getAccount(GetAccountRequest getAccountRequest)
Obtain information about the email-sending status and capabilities of your Amazon SES account in the current Amazon Web Services Region.
- Parameters:
getAccountRequest
- A request to obtain information about the email-sending capabilities of your Amazon SES account.- Returns:
- A Java Future containing the result of the GetAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getAccount
default CompletableFuture<GetAccountResponse> getAccount(Consumer<GetAccountRequest.Builder> getAccountRequest)
Obtain information about the email-sending status and capabilities of your Amazon SES account in the current Amazon Web Services Region.
This is a convenience which creates an instance of the
GetAccountRequest.Builder
avoiding the need to create one manually viaGetAccountRequest.builder()
- Parameters:
getAccountRequest
- AConsumer
that will call methods onGetAccountRequest.Builder
to create a request. A request to obtain information about the email-sending capabilities of your Amazon SES account.- Returns:
- A Java Future containing the result of the GetAccount operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getBlacklistReports
default CompletableFuture<GetBlacklistReportsResponse> getBlacklistReports(GetBlacklistReportsRequest getBlacklistReportsRequest)
Retrieve a list of the blacklists that your dedicated IP addresses appear on.
- Parameters:
getBlacklistReportsRequest
- A request to retrieve a list of the blacklists that your dedicated IP addresses appear on.- Returns:
- A Java Future containing the result of the GetBlacklistReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getBlacklistReports
default CompletableFuture<GetBlacklistReportsResponse> getBlacklistReports(Consumer<GetBlacklistReportsRequest.Builder> getBlacklistReportsRequest)
Retrieve a list of the blacklists that your dedicated IP addresses appear on.
This is a convenience which creates an instance of the
GetBlacklistReportsRequest.Builder
avoiding the need to create one manually viaGetBlacklistReportsRequest.builder()
- Parameters:
getBlacklistReportsRequest
- AConsumer
that will call methods onGetBlacklistReportsRequest.Builder
to create a request. A request to retrieve a list of the blacklists that your dedicated IP addresses appear on.- Returns:
- A Java Future containing the result of the GetBlacklistReports operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfigurationSet
default CompletableFuture<GetConfigurationSetResponse> getConfigurationSet(GetConfigurationSetRequest getConfigurationSetRequest)
Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more.
Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
- Parameters:
getConfigurationSetRequest
- A request to obtain information about a configuration set.- Returns:
- A Java Future containing the result of the GetConfigurationSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfigurationSet
default CompletableFuture<GetConfigurationSetResponse> getConfigurationSet(Consumer<GetConfigurationSetRequest.Builder> getConfigurationSetRequest)
Get information about an existing configuration set, including the dedicated IP pool that it's associated with, whether or not it's enabled for sending email, and more.
Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
This is a convenience which creates an instance of the
GetConfigurationSetRequest.Builder
avoiding the need to create one manually viaGetConfigurationSetRequest.builder()
- Parameters:
getConfigurationSetRequest
- AConsumer
that will call methods onGetConfigurationSetRequest.Builder
to create a request. A request to obtain information about a configuration set.- Returns:
- A Java Future containing the result of the GetConfigurationSet operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfigurationSetEventDestinations
default CompletableFuture<GetConfigurationSetEventDestinationsResponse> getConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest getConfigurationSetEventDestinationsRequest)
Retrieve a list of event destinations that are associated with a configuration set.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
- Parameters:
getConfigurationSetEventDestinationsRequest
- A request to obtain information about the event destinations for a configuration set.- Returns:
- A Java Future containing the result of the GetConfigurationSetEventDestinations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getConfigurationSetEventDestinations
default CompletableFuture<GetConfigurationSetEventDestinationsResponse> getConfigurationSetEventDestinations(Consumer<GetConfigurationSetEventDestinationsRequest.Builder> getConfigurationSetEventDestinationsRequest)
Retrieve a list of event destinations that are associated with a configuration set.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
This is a convenience which creates an instance of the
GetConfigurationSetEventDestinationsRequest.Builder
avoiding the need to create one manually viaGetConfigurationSetEventDestinationsRequest.builder()
- Parameters:
getConfigurationSetEventDestinationsRequest
- AConsumer
that will call methods onGetConfigurationSetEventDestinationsRequest.Builder
to create a request. A request to obtain information about the event destinations for a configuration set.- Returns:
- A Java Future containing the result of the GetConfigurationSetEventDestinations operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getContact
default CompletableFuture<GetContactResponse> getContact(GetContactRequest getContactRequest)
Returns a contact from a contact list.
- Parameters:
getContactRequest
-- Returns:
- A Java Future containing the result of the GetContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getContact
default CompletableFuture<GetContactResponse> getContact(Consumer<GetContactRequest.Builder> getContactRequest)
Returns a contact from a contact list.
This is a convenience which creates an instance of the
GetContactRequest.Builder
avoiding the need to create one manually viaGetContactRequest.builder()
- Parameters:
getContactRequest
- AConsumer
that will call methods onGetContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getContactList
default CompletableFuture<GetContactListResponse> getContactList(GetContactListRequest getContactListRequest)
Returns contact list metadata. It does not return any information about the contacts present in the list.
- Parameters:
getContactListRequest
-- Returns:
- A Java Future containing the result of the GetContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getContactList
default CompletableFuture<GetContactListResponse> getContactList(Consumer<GetContactListRequest.Builder> getContactListRequest)
Returns contact list metadata. It does not return any information about the contacts present in the list.
This is a convenience which creates an instance of the
GetContactListRequest.Builder
avoiding the need to create one manually viaGetContactListRequest.builder()
- Parameters:
getContactListRequest
- AConsumer
that will call methods onGetContactListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the GetContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCustomVerificationEmailTemplate
default CompletableFuture<GetCustomVerificationEmailTemplateResponse> getCustomVerificationEmailTemplate(GetCustomVerificationEmailTemplateRequest getCustomVerificationEmailTemplateRequest)
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.
- Parameters:
getCustomVerificationEmailTemplateRequest
- Represents a request to retrieve an existing custom verification email template.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getCustomVerificationEmailTemplate
default CompletableFuture<GetCustomVerificationEmailTemplateResponse> getCustomVerificationEmailTemplate(Consumer<GetCustomVerificationEmailTemplateRequest.Builder> getCustomVerificationEmailTemplateRequest)
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
GetCustomVerificationEmailTemplateRequest.Builder
avoiding the need to create one manually viaGetCustomVerificationEmailTemplateRequest.builder()
- Parameters:
getCustomVerificationEmailTemplateRequest
- AConsumer
that will call methods onGetCustomVerificationEmailTemplateRequest.Builder
to create a request. Represents a request to retrieve an existing custom verification email template.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIp
default CompletableFuture<GetDedicatedIpResponse> getDedicatedIp(GetDedicatedIpRequest getDedicatedIpRequest)
Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.
- Parameters:
getDedicatedIpRequest
- A request to obtain more information about a dedicated IP address.- Returns:
- A Java Future containing the result of the GetDedicatedIp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIp
default CompletableFuture<GetDedicatedIpResponse> getDedicatedIp(Consumer<GetDedicatedIpRequest.Builder> getDedicatedIpRequest)
Get information about a dedicated IP address, including the name of the dedicated IP pool that it's associated with, as well information about the automatic warm-up process for the address.
This is a convenience which creates an instance of the
GetDedicatedIpRequest.Builder
avoiding the need to create one manually viaGetDedicatedIpRequest.builder()
- Parameters:
getDedicatedIpRequest
- AConsumer
that will call methods onGetDedicatedIpRequest.Builder
to create a request. A request to obtain more information about a dedicated IP address.- Returns:
- A Java Future containing the result of the GetDedicatedIp operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIpPool
default CompletableFuture<GetDedicatedIpPoolResponse> getDedicatedIpPool(GetDedicatedIpPoolRequest getDedicatedIpPoolRequest)
Retrieve information about the dedicated pool.
- Parameters:
getDedicatedIpPoolRequest
- A request to obtain more information about a dedicated IP pool.- Returns:
- A Java Future containing the result of the GetDedicatedIpPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIpPool
default CompletableFuture<GetDedicatedIpPoolResponse> getDedicatedIpPool(Consumer<GetDedicatedIpPoolRequest.Builder> getDedicatedIpPoolRequest)
Retrieve information about the dedicated pool.
This is a convenience which creates an instance of the
GetDedicatedIpPoolRequest.Builder
avoiding the need to create one manually viaGetDedicatedIpPoolRequest.builder()
- Parameters:
getDedicatedIpPoolRequest
- AConsumer
that will call methods onGetDedicatedIpPoolRequest.Builder
to create a request. A request to obtain more information about a dedicated IP pool.- Returns:
- A Java Future containing the result of the GetDedicatedIpPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIps
default CompletableFuture<GetDedicatedIpsResponse> getDedicatedIps(GetDedicatedIpsRequest getDedicatedIpsRequest)
List the dedicated IP addresses that are associated with your Amazon Web Services account.
- Parameters:
getDedicatedIpsRequest
- A request to obtain more information about dedicated IP pools.- Returns:
- A Java Future containing the result of the GetDedicatedIps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIps
default CompletableFuture<GetDedicatedIpsResponse> getDedicatedIps(Consumer<GetDedicatedIpsRequest.Builder> getDedicatedIpsRequest)
List the dedicated IP addresses that are associated with your Amazon Web Services account.
This is a convenience which creates an instance of the
GetDedicatedIpsRequest.Builder
avoiding the need to create one manually viaGetDedicatedIpsRequest.builder()
- Parameters:
getDedicatedIpsRequest
- AConsumer
that will call methods onGetDedicatedIpsRequest.Builder
to create a request. A request to obtain more information about dedicated IP pools.- Returns:
- A Java Future containing the result of the GetDedicatedIps operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIpsPaginator
default GetDedicatedIpsPublisher getDedicatedIpsPaginator(GetDedicatedIpsRequest getDedicatedIpsRequest)
This is a variant of
getDedicatedIps(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.GetDedicatedIpsPublisher publisher = client.getDedicatedIpsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.GetDedicatedIpsPublisher publisher = client.getDedicatedIpsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
getDedicatedIps(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsRequest)
operation.- Parameters:
getDedicatedIpsRequest
- A request to obtain more information about dedicated IP pools.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDedicatedIpsPaginator
default GetDedicatedIpsPublisher getDedicatedIpsPaginator(Consumer<GetDedicatedIpsRequest.Builder> getDedicatedIpsRequest)
This is a variant of
getDedicatedIps(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.GetDedicatedIpsPublisher publisher = client.getDedicatedIpsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.GetDedicatedIpsPublisher publisher = client.getDedicatedIpsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
getDedicatedIps(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsRequest)
operation.
This is a convenience which creates an instance of the
GetDedicatedIpsRequest.Builder
avoiding the need to create one manually viaGetDedicatedIpsRequest.builder()
- Parameters:
getDedicatedIpsRequest
- AConsumer
that will call methods onGetDedicatedIpsRequest.Builder
to create a request. A request to obtain more information about dedicated IP pools.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDeliverabilityDashboardOptions
default CompletableFuture<GetDeliverabilityDashboardOptionsResponse> getDeliverabilityDashboardOptions(GetDeliverabilityDashboardOptionsRequest getDeliverabilityDashboardOptionsRequest)
Retrieve information about the status of the Deliverability dashboard for your account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests.
When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
- Parameters:
getDeliverabilityDashboardOptionsRequest
- Retrieve information about the status of the Deliverability dashboard for your Amazon Web Services account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for your domains. You also gain the ability to perform predictive inbox placement tests.When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
- Returns:
- A Java Future containing the result of the GetDeliverabilityDashboardOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDeliverabilityDashboardOptions
default CompletableFuture<GetDeliverabilityDashboardOptionsResponse> getDeliverabilityDashboardOptions(Consumer<GetDeliverabilityDashboardOptionsRequest.Builder> getDeliverabilityDashboardOptionsRequest)
Retrieve information about the status of the Deliverability dashboard for your account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests.
When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
This is a convenience which creates an instance of the
GetDeliverabilityDashboardOptionsRequest.Builder
avoiding the need to create one manually viaGetDeliverabilityDashboardOptionsRequest.builder()
- Parameters:
getDeliverabilityDashboardOptionsRequest
- AConsumer
that will call methods onGetDeliverabilityDashboardOptionsRequest.Builder
to create a request. Retrieve information about the status of the Deliverability dashboard for your Amazon Web Services account. When the Deliverability dashboard is enabled, you gain access to reputation, deliverability, and other metrics for your domains. You also gain the ability to perform predictive inbox placement tests.When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
- Returns:
- A Java Future containing the result of the GetDeliverabilityDashboardOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDeliverabilityTestReport
default CompletableFuture<GetDeliverabilityTestReportResponse> getDeliverabilityTestReport(GetDeliverabilityTestReportRequest getDeliverabilityTestReportRequest)
Retrieve the results of a predictive inbox placement test.
- Parameters:
getDeliverabilityTestReportRequest
- A request to retrieve the results of a predictive inbox placement test.- Returns:
- A Java Future containing the result of the GetDeliverabilityTestReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDeliverabilityTestReport
default CompletableFuture<GetDeliverabilityTestReportResponse> getDeliverabilityTestReport(Consumer<GetDeliverabilityTestReportRequest.Builder> getDeliverabilityTestReportRequest)
Retrieve the results of a predictive inbox placement test.
This is a convenience which creates an instance of the
GetDeliverabilityTestReportRequest.Builder
avoiding the need to create one manually viaGetDeliverabilityTestReportRequest.builder()
- Parameters:
getDeliverabilityTestReportRequest
- AConsumer
that will call methods onGetDeliverabilityTestReportRequest.Builder
to create a request. A request to retrieve the results of a predictive inbox placement test.- Returns:
- A Java Future containing the result of the GetDeliverabilityTestReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDomainDeliverabilityCampaign
default CompletableFuture<GetDomainDeliverabilityCampaignResponse> getDomainDeliverabilityCampaign(GetDomainDeliverabilityCampaignRequest getDomainDeliverabilityCampaignRequest)
Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for.
- Parameters:
getDomainDeliverabilityCampaignRequest
- Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
operation).- Returns:
- A Java Future containing the result of the GetDomainDeliverabilityCampaign operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDomainDeliverabilityCampaign
default CompletableFuture<GetDomainDeliverabilityCampaignResponse> getDomainDeliverabilityCampaign(Consumer<GetDomainDeliverabilityCampaignRequest.Builder> getDomainDeliverabilityCampaignRequest)
Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for.
This is a convenience which creates an instance of the
GetDomainDeliverabilityCampaignRequest.Builder
avoiding the need to create one manually viaGetDomainDeliverabilityCampaignRequest.builder()
- Parameters:
getDomainDeliverabilityCampaignRequest
- AConsumer
that will call methods onGetDomainDeliverabilityCampaignRequest.Builder
to create a request. Retrieve all the deliverability data for a specific campaign. This data is available for a campaign only if the campaign sent email by using a domain that the Deliverability dashboard is enabled for (PutDeliverabilityDashboardOption
operation).- Returns:
- A Java Future containing the result of the GetDomainDeliverabilityCampaign operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDomainStatisticsReport
default CompletableFuture<GetDomainStatisticsReportResponse> getDomainStatisticsReport(GetDomainStatisticsReportRequest getDomainStatisticsReportRequest)
Retrieve inbox placement and engagement rates for the domains that you use to send email.
- Parameters:
getDomainStatisticsReportRequest
- A request to obtain deliverability metrics for a domain.- Returns:
- A Java Future containing the result of the GetDomainStatisticsReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getDomainStatisticsReport
default CompletableFuture<GetDomainStatisticsReportResponse> getDomainStatisticsReport(Consumer<GetDomainStatisticsReportRequest.Builder> getDomainStatisticsReportRequest)
Retrieve inbox placement and engagement rates for the domains that you use to send email.
This is a convenience which creates an instance of the
GetDomainStatisticsReportRequest.Builder
avoiding the need to create one manually viaGetDomainStatisticsReportRequest.builder()
- Parameters:
getDomainStatisticsReportRequest
- AConsumer
that will call methods onGetDomainStatisticsReportRequest.Builder
to create a request. A request to obtain deliverability metrics for a domain.- Returns:
- A Java Future containing the result of the GetDomainStatisticsReport operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEmailIdentity
default CompletableFuture<GetEmailIdentityResponse> getEmailIdentity(GetEmailIdentityRequest getEmailIdentityRequest)
Provides information about a specific identity, including the identity's verification status, sending authorization policies, its DKIM authentication status, and its custom Mail-From settings.
- Parameters:
getEmailIdentityRequest
- A request to return details about an email identity.- Returns:
- A Java Future containing the result of the GetEmailIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEmailIdentity
default CompletableFuture<GetEmailIdentityResponse> getEmailIdentity(Consumer<GetEmailIdentityRequest.Builder> getEmailIdentityRequest)
Provides information about a specific identity, including the identity's verification status, sending authorization policies, its DKIM authentication status, and its custom Mail-From settings.
This is a convenience which creates an instance of the
GetEmailIdentityRequest.Builder
avoiding the need to create one manually viaGetEmailIdentityRequest.builder()
- Parameters:
getEmailIdentityRequest
- AConsumer
that will call methods onGetEmailIdentityRequest.Builder
to create a request. A request to return details about an email identity.- Returns:
- A Java Future containing the result of the GetEmailIdentity operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEmailIdentityPolicies
default CompletableFuture<GetEmailIdentityPoliciesResponse> getEmailIdentityPolicies(GetEmailIdentityPoliciesRequest getEmailIdentityPoliciesRequest)
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 API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
- Parameters:
getEmailIdentityPoliciesRequest
- A request to return the policies of an email identity.- Returns:
- A Java Future containing the result of the GetEmailIdentityPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEmailIdentityPolicies
default CompletableFuture<GetEmailIdentityPoliciesResponse> getEmailIdentityPolicies(Consumer<GetEmailIdentityPoliciesRequest.Builder> getEmailIdentityPoliciesRequest)
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 API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
GetEmailIdentityPoliciesRequest.Builder
avoiding the need to create one manually viaGetEmailIdentityPoliciesRequest.builder()
- Parameters:
getEmailIdentityPoliciesRequest
- AConsumer
that will call methods onGetEmailIdentityPoliciesRequest.Builder
to create a request. A request to return the policies of an email identity.- Returns:
- A Java Future containing the result of the GetEmailIdentityPolicies operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEmailTemplate
default CompletableFuture<GetEmailTemplateResponse> getEmailTemplate(GetEmailTemplateRequest getEmailTemplateRequest)
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.
- Parameters:
getEmailTemplateRequest
- Represents a request to display the template object (which includes the subject line, HTML part and text part) for the template you specify.- Returns:
- A Java Future containing the result of the GetEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getEmailTemplate
default CompletableFuture<GetEmailTemplateResponse> getEmailTemplate(Consumer<GetEmailTemplateRequest.Builder> getEmailTemplateRequest)
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
GetEmailTemplateRequest.Builder
avoiding the need to create one manually viaGetEmailTemplateRequest.builder()
- Parameters:
getEmailTemplateRequest
- AConsumer
that will call methods onGetEmailTemplateRequest.Builder
to create a request. Represents a request to display the template object (which includes the subject line, HTML part and text part) for the template you specify.- Returns:
- A Java Future containing the result of the GetEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getExportJob
default CompletableFuture<GetExportJobResponse> getExportJob(GetExportJobRequest getExportJobRequest)
Provides information about an export job.
- Parameters:
getExportJobRequest
- Represents a request to retrieve information about an export job using the export job ID.- Returns:
- A Java Future containing the result of the GetExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getExportJob
default CompletableFuture<GetExportJobResponse> getExportJob(Consumer<GetExportJobRequest.Builder> getExportJobRequest)
Provides information about an export job.
This is a convenience which creates an instance of the
GetExportJobRequest.Builder
avoiding the need to create one manually viaGetExportJobRequest.builder()
- Parameters:
getExportJobRequest
- AConsumer
that will call methods onGetExportJobRequest.Builder
to create a request. Represents a request to retrieve information about an export job using the export job ID.- Returns:
- A Java Future containing the result of the GetExportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getImportJob
default CompletableFuture<GetImportJobResponse> getImportJob(GetImportJobRequest getImportJobRequest)
Provides information about an import job.
- Parameters:
getImportJobRequest
- Represents a request for information about an import job using the import job ID.- Returns:
- A Java Future containing the result of the GetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getImportJob
default CompletableFuture<GetImportJobResponse> getImportJob(Consumer<GetImportJobRequest.Builder> getImportJobRequest)
Provides information about an import job.
This is a convenience which creates an instance of the
GetImportJobRequest.Builder
avoiding the need to create one manually viaGetImportJobRequest.builder()
- Parameters:
getImportJobRequest
- AConsumer
that will call methods onGetImportJobRequest.Builder
to create a request. Represents a request for information about an import job using the import job ID.- Returns:
- A Java Future containing the result of the GetImportJob operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMessageInsights
default CompletableFuture<GetMessageInsightsResponse> getMessageInsights(GetMessageInsightsRequest getMessageInsightsRequest)
Provides information about a specific message, including the from address, the subject, the recipient address, email tags, as well as events associated with the message.
You can execute this operation no more than once per second.
- Parameters:
getMessageInsightsRequest
- A request to return information about a message.- Returns:
- A Java Future containing the result of the GetMessageInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getMessageInsights
default CompletableFuture<GetMessageInsightsResponse> getMessageInsights(Consumer<GetMessageInsightsRequest.Builder> getMessageInsightsRequest)
Provides information about a specific message, including the from address, the subject, the recipient address, email tags, as well as events associated with the message.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
GetMessageInsightsRequest.Builder
avoiding the need to create one manually viaGetMessageInsightsRequest.builder()
- Parameters:
getMessageInsightsRequest
- AConsumer
that will call methods onGetMessageInsightsRequest.Builder
to create a request. A request to return information about a message.- Returns:
- A Java Future containing the result of the GetMessageInsights operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getSuppressedDestination
default CompletableFuture<GetSuppressedDestinationResponse> getSuppressedDestination(GetSuppressedDestinationRequest getSuppressedDestinationRequest)
Retrieves information about a specific email address that's on the suppression list for your account.
- Parameters:
getSuppressedDestinationRequest
- A request to retrieve information about an email address that's on the suppression list for your account.- Returns:
- A Java Future containing the result of the GetSuppressedDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
getSuppressedDestination
default CompletableFuture<GetSuppressedDestinationResponse> getSuppressedDestination(Consumer<GetSuppressedDestinationRequest.Builder> getSuppressedDestinationRequest)
Retrieves information about a specific email address that's on the suppression list for your account.
This is a convenience which creates an instance of the
GetSuppressedDestinationRequest.Builder
avoiding the need to create one manually viaGetSuppressedDestinationRequest.builder()
- Parameters:
getSuppressedDestinationRequest
- AConsumer
that will call methods onGetSuppressedDestinationRequest.Builder
to create a request. A request to retrieve information about an email address that's on the suppression list for your account.- Returns:
- A Java Future containing the result of the GetSuppressedDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfigurationSets
default CompletableFuture<ListConfigurationSetsResponse> listConfigurationSets(ListConfigurationSetsRequest listConfigurationSetsRequest)
List all of the configuration sets associated with your account in the current region.
Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
- Parameters:
listConfigurationSetsRequest
- A request to obtain a list of configuration sets for your Amazon SES account in the current Amazon Web Services Region.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfigurationSets
default CompletableFuture<ListConfigurationSetsResponse> listConfigurationSets(Consumer<ListConfigurationSetsRequest.Builder> listConfigurationSetsRequest)
List all of the configuration sets associated with your account in the current region.
Configuration sets are groups of rules that you can apply to the emails you send. You apply a configuration set to an email by including a reference to the configuration set in the headers of the email. When you apply a configuration set to an email, all of the rules in that configuration set are applied to the email.
This is a convenience which creates an instance of the
ListConfigurationSetsRequest.Builder
avoiding the need to create one manually viaListConfigurationSetsRequest.builder()
- Parameters:
listConfigurationSetsRequest
- AConsumer
that will call methods onListConfigurationSetsRequest.Builder
to create a request. A request to obtain a list of configuration sets for your Amazon SES account in the current Amazon Web Services Region.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfigurationSetsPaginator
default ListConfigurationSetsPublisher listConfigurationSetsPaginator(ListConfigurationSetsRequest listConfigurationSetsRequest)
This is a variant of
listConfigurationSets(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListConfigurationSetsPublisher publisher = client.listConfigurationSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListConfigurationSetsPublisher publisher = client.listConfigurationSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listConfigurationSets(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsRequest)
operation.- Parameters:
listConfigurationSetsRequest
- A request to obtain a list of configuration sets for your Amazon SES account in the current Amazon Web Services Region.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listConfigurationSetsPaginator
default ListConfigurationSetsPublisher listConfigurationSetsPaginator(Consumer<ListConfigurationSetsRequest.Builder> listConfigurationSetsRequest)
This is a variant of
listConfigurationSets(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListConfigurationSetsPublisher publisher = client.listConfigurationSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListConfigurationSetsPublisher publisher = client.listConfigurationSetsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listConfigurationSets(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsRequest)
operation.
This is a convenience which creates an instance of the
ListConfigurationSetsRequest.Builder
avoiding the need to create one manually viaListConfigurationSetsRequest.builder()
- Parameters:
listConfigurationSetsRequest
- AConsumer
that will call methods onListConfigurationSetsRequest.Builder
to create a request. A request to obtain a list of configuration sets for your Amazon SES account in the current Amazon Web Services Region.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContactLists
default CompletableFuture<ListContactListsResponse> listContactLists(ListContactListsRequest listContactListsRequest)
Lists all of the contact lists available.
- Parameters:
listContactListsRequest
-- Returns:
- A Java Future containing the result of the ListContactLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContactLists
default CompletableFuture<ListContactListsResponse> listContactLists(Consumer<ListContactListsRequest.Builder> listContactListsRequest)
Lists all of the contact lists available.
This is a convenience which creates an instance of the
ListContactListsRequest.Builder
avoiding the need to create one manually viaListContactListsRequest.builder()
- Parameters:
listContactListsRequest
- AConsumer
that will call methods onListContactListsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListContactLists operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContactListsPaginator
default ListContactListsPublisher listContactListsPaginator(ListContactListsRequest listContactListsRequest)
This is a variant of
listContactLists(software.amazon.awssdk.services.sesv2.model.ListContactListsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListContactListsPublisher publisher = client.listContactListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListContactListsPublisher publisher = client.listContactListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListContactListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListContactListsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listContactLists(software.amazon.awssdk.services.sesv2.model.ListContactListsRequest)
operation.- Parameters:
listContactListsRequest
-- Returns:
- 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.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContactListsPaginator
default ListContactListsPublisher listContactListsPaginator(Consumer<ListContactListsRequest.Builder> listContactListsRequest)
This is a variant of
listContactLists(software.amazon.awssdk.services.sesv2.model.ListContactListsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListContactListsPublisher publisher = client.listContactListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListContactListsPublisher publisher = client.listContactListsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListContactListsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListContactListsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listContactLists(software.amazon.awssdk.services.sesv2.model.ListContactListsRequest)
operation.
This is a convenience which creates an instance of the
ListContactListsRequest.Builder
avoiding the need to create one manually viaListContactListsRequest.builder()
- Parameters:
listContactListsRequest
- AConsumer
that will call methods onListContactListsRequest.Builder
to create a request.- Returns:
- 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.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContacts
default CompletableFuture<ListContactsResponse> listContacts(ListContactsRequest listContactsRequest)
Lists the contacts present in a specific contact list.
- Parameters:
listContactsRequest
-- Returns:
- A Java Future containing the result of the ListContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContacts
default CompletableFuture<ListContactsResponse> listContacts(Consumer<ListContactsRequest.Builder> listContactsRequest)
Lists the contacts present in a specific contact list.
This is a convenience which creates an instance of the
ListContactsRequest.Builder
avoiding the need to create one manually viaListContactsRequest.builder()
- Parameters:
listContactsRequest
- AConsumer
that will call methods onListContactsRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListContacts operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContactsPaginator
default ListContactsPublisher listContactsPaginator(ListContactsRequest listContactsRequest)
This is a variant of
listContacts(software.amazon.awssdk.services.sesv2.model.ListContactsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListContactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListContactsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listContacts(software.amazon.awssdk.services.sesv2.model.ListContactsRequest)
operation.- Parameters:
listContactsRequest
-- Returns:
- 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.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listContactsPaginator
default ListContactsPublisher listContactsPaginator(Consumer<ListContactsRequest.Builder> listContactsRequest)
This is a variant of
listContacts(software.amazon.awssdk.services.sesv2.model.ListContactsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListContactsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListContactsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listContacts(software.amazon.awssdk.services.sesv2.model.ListContactsRequest)
operation.
This is a convenience which creates an instance of the
ListContactsRequest.Builder
avoiding the need to create one manually viaListContactsRequest.builder()
- Parameters:
listContactsRequest
- AConsumer
that will call methods onListContactsRequest.Builder
to create a request.- Returns:
- 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.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomVerificationEmailTemplates
default CompletableFuture<ListCustomVerificationEmailTemplatesResponse> listCustomVerificationEmailTemplates(ListCustomVerificationEmailTemplatesRequest listCustomVerificationEmailTemplatesRequest)
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.
- Parameters:
listCustomVerificationEmailTemplatesRequest
- Represents a request to list the existing custom verification email templates for your account.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomVerificationEmailTemplates
default CompletableFuture<ListCustomVerificationEmailTemplatesResponse> listCustomVerificationEmailTemplates(Consumer<ListCustomVerificationEmailTemplatesRequest.Builder> listCustomVerificationEmailTemplatesRequest)
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
ListCustomVerificationEmailTemplatesRequest.Builder
avoiding the need to create one manually viaListCustomVerificationEmailTemplatesRequest.builder()
- Parameters:
listCustomVerificationEmailTemplatesRequest
- AConsumer
that will call methods onListCustomVerificationEmailTemplatesRequest.Builder
to create a request. Represents a request to list the existing custom verification email templates for your account.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomVerificationEmailTemplatesPaginator
default ListCustomVerificationEmailTemplatesPublisher listCustomVerificationEmailTemplatesPaginator(ListCustomVerificationEmailTemplatesRequest listCustomVerificationEmailTemplatesRequest)
This is a variant of
listCustomVerificationEmailTemplates(software.amazon.awssdk.services.sesv2.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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listCustomVerificationEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesRequest)
operation.- Parameters:
listCustomVerificationEmailTemplatesRequest
- Represents a request to list the existing custom verification email templates for your account.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listCustomVerificationEmailTemplatesPaginator
default ListCustomVerificationEmailTemplatesPublisher listCustomVerificationEmailTemplatesPaginator(Consumer<ListCustomVerificationEmailTemplatesRequest.Builder> listCustomVerificationEmailTemplatesRequest)
This is a variant of
listCustomVerificationEmailTemplates(software.amazon.awssdk.services.sesv2.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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listCustomVerificationEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesRequest)
operation.
This is a convenience which creates an instance of the
ListCustomVerificationEmailTemplatesRequest.Builder
avoiding the need to create one manually viaListCustomVerificationEmailTemplatesRequest.builder()
- Parameters:
listCustomVerificationEmailTemplatesRequest
- AConsumer
that will call methods onListCustomVerificationEmailTemplatesRequest.Builder
to create a request. Represents a request to list the existing custom verification email templates for your account.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDedicatedIpPools
default CompletableFuture<ListDedicatedIpPoolsResponse> listDedicatedIpPools(ListDedicatedIpPoolsRequest listDedicatedIpPoolsRequest)
List all of the dedicated IP pools that exist in your Amazon Web Services account in the current Region.
- Parameters:
listDedicatedIpPoolsRequest
- A request to obtain a list of dedicated IP pools.- Returns:
- A Java Future containing the result of the ListDedicatedIpPools operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDedicatedIpPools
default CompletableFuture<ListDedicatedIpPoolsResponse> listDedicatedIpPools(Consumer<ListDedicatedIpPoolsRequest.Builder> listDedicatedIpPoolsRequest)
List all of the dedicated IP pools that exist in your Amazon Web Services account in the current Region.
This is a convenience which creates an instance of the
ListDedicatedIpPoolsRequest.Builder
avoiding the need to create one manually viaListDedicatedIpPoolsRequest.builder()
- Parameters:
listDedicatedIpPoolsRequest
- AConsumer
that will call methods onListDedicatedIpPoolsRequest.Builder
to create a request. A request to obtain a list of dedicated IP pools.- Returns:
- A Java Future containing the result of the ListDedicatedIpPools operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDedicatedIpPoolsPaginator
default ListDedicatedIpPoolsPublisher listDedicatedIpPoolsPaginator(ListDedicatedIpPoolsRequest listDedicatedIpPoolsRequest)
This is a variant of
listDedicatedIpPools(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListDedicatedIpPoolsPublisher publisher = client.listDedicatedIpPoolsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListDedicatedIpPoolsPublisher publisher = client.listDedicatedIpPoolsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listDedicatedIpPools(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsRequest)
operation.- Parameters:
listDedicatedIpPoolsRequest
- A request to obtain a list of dedicated IP pools.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDedicatedIpPoolsPaginator
default ListDedicatedIpPoolsPublisher listDedicatedIpPoolsPaginator(Consumer<ListDedicatedIpPoolsRequest.Builder> listDedicatedIpPoolsRequest)
This is a variant of
listDedicatedIpPools(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListDedicatedIpPoolsPublisher publisher = client.listDedicatedIpPoolsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListDedicatedIpPoolsPublisher publisher = client.listDedicatedIpPoolsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listDedicatedIpPools(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsRequest)
operation.
This is a convenience which creates an instance of the
ListDedicatedIpPoolsRequest.Builder
avoiding the need to create one manually viaListDedicatedIpPoolsRequest.builder()
- Parameters:
listDedicatedIpPoolsRequest
- AConsumer
that will call methods onListDedicatedIpPoolsRequest.Builder
to create a request. A request to obtain a list of dedicated IP pools.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDeliverabilityTestReports
default CompletableFuture<ListDeliverabilityTestReportsResponse> listDeliverabilityTestReports(ListDeliverabilityTestReportsRequest listDeliverabilityTestReportsRequest)
Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses. For predictive inbox placement tests that are complete, you can use the
GetDeliverabilityTestReport
operation to view the results.- Parameters:
listDeliverabilityTestReportsRequest
- A request to list all of the predictive inbox placement tests that you've performed.- Returns:
- A Java Future containing the result of the ListDeliverabilityTestReports operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDeliverabilityTestReports
default CompletableFuture<ListDeliverabilityTestReportsResponse> listDeliverabilityTestReports(Consumer<ListDeliverabilityTestReportsRequest.Builder> listDeliverabilityTestReportsRequest)
Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses. For predictive inbox placement tests that are complete, you can use the
GetDeliverabilityTestReport
operation to view the results.
This is a convenience which creates an instance of the
ListDeliverabilityTestReportsRequest.Builder
avoiding the need to create one manually viaListDeliverabilityTestReportsRequest.builder()
- Parameters:
listDeliverabilityTestReportsRequest
- AConsumer
that will call methods onListDeliverabilityTestReportsRequest.Builder
to create a request. A request to list all of the predictive inbox placement tests that you've performed.- Returns:
- A Java Future containing the result of the ListDeliverabilityTestReports operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDeliverabilityTestReportsPaginator
default ListDeliverabilityTestReportsPublisher listDeliverabilityTestReportsPaginator(ListDeliverabilityTestReportsRequest listDeliverabilityTestReportsRequest)
This is a variant of
listDeliverabilityTestReports(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListDeliverabilityTestReportsPublisher publisher = client.listDeliverabilityTestReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListDeliverabilityTestReportsPublisher publisher = client.listDeliverabilityTestReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listDeliverabilityTestReports(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsRequest)
operation.- Parameters:
listDeliverabilityTestReportsRequest
- A request to list all of the predictive inbox placement tests that you've performed.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDeliverabilityTestReportsPaginator
default ListDeliverabilityTestReportsPublisher listDeliverabilityTestReportsPaginator(Consumer<ListDeliverabilityTestReportsRequest.Builder> listDeliverabilityTestReportsRequest)
This is a variant of
listDeliverabilityTestReports(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListDeliverabilityTestReportsPublisher publisher = client.listDeliverabilityTestReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListDeliverabilityTestReportsPublisher publisher = client.listDeliverabilityTestReportsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listDeliverabilityTestReports(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsRequest)
operation.
This is a convenience which creates an instance of the
ListDeliverabilityTestReportsRequest.Builder
avoiding the need to create one manually viaListDeliverabilityTestReportsRequest.builder()
- Parameters:
listDeliverabilityTestReportsRequest
- AConsumer
that will call methods onListDeliverabilityTestReportsRequest.Builder
to create a request. A request to list all of the predictive inbox placement tests that you've performed.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDomainDeliverabilityCampaigns
default CompletableFuture<ListDomainDeliverabilityCampaignsResponse> listDomainDeliverabilityCampaigns(ListDomainDeliverabilityCampaignsRequest listDomainDeliverabilityCampaignsRequest)
Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.
- Parameters:
listDomainDeliverabilityCampaignsRequest
- Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard.- Returns:
- A Java Future containing the result of the ListDomainDeliverabilityCampaigns operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDomainDeliverabilityCampaigns
default CompletableFuture<ListDomainDeliverabilityCampaignsResponse> listDomainDeliverabilityCampaigns(Consumer<ListDomainDeliverabilityCampaignsRequest.Builder> listDomainDeliverabilityCampaignsRequest)
Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard for the domain.
This is a convenience which creates an instance of the
ListDomainDeliverabilityCampaignsRequest.Builder
avoiding the need to create one manually viaListDomainDeliverabilityCampaignsRequest.builder()
- Parameters:
listDomainDeliverabilityCampaignsRequest
- AConsumer
that will call methods onListDomainDeliverabilityCampaignsRequest.Builder
to create a request. Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard.- Returns:
- A Java Future containing the result of the ListDomainDeliverabilityCampaigns operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDomainDeliverabilityCampaignsPaginator
default ListDomainDeliverabilityCampaignsPublisher listDomainDeliverabilityCampaignsPaginator(ListDomainDeliverabilityCampaignsRequest listDomainDeliverabilityCampaignsRequest)
This is a variant of
listDomainDeliverabilityCampaigns(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListDomainDeliverabilityCampaignsPublisher publisher = client.listDomainDeliverabilityCampaignsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListDomainDeliverabilityCampaignsPublisher publisher = client.listDomainDeliverabilityCampaignsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listDomainDeliverabilityCampaigns(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsRequest)
operation.- Parameters:
listDomainDeliverabilityCampaignsRequest
- Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listDomainDeliverabilityCampaignsPaginator
default ListDomainDeliverabilityCampaignsPublisher listDomainDeliverabilityCampaignsPaginator(Consumer<ListDomainDeliverabilityCampaignsRequest.Builder> listDomainDeliverabilityCampaignsRequest)
This is a variant of
listDomainDeliverabilityCampaigns(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListDomainDeliverabilityCampaignsPublisher publisher = client.listDomainDeliverabilityCampaignsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListDomainDeliverabilityCampaignsPublisher publisher = client.listDomainDeliverabilityCampaignsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listDomainDeliverabilityCampaigns(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsRequest)
operation.
This is a convenience which creates an instance of the
ListDomainDeliverabilityCampaignsRequest.Builder
avoiding the need to create one manually viaListDomainDeliverabilityCampaignsRequest.builder()
- Parameters:
listDomainDeliverabilityCampaignsRequest
- AConsumer
that will call methods onListDomainDeliverabilityCampaignsRequest.Builder
to create a request. Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range. This data is available for a domain only if you enabled the Deliverability dashboard.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailIdentities
default CompletableFuture<ListEmailIdentitiesResponse> listEmailIdentities(ListEmailIdentitiesRequest listEmailIdentitiesRequest)
Returns a list of all of the email identities that are associated with your Amazon Web Services account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.
- Parameters:
listEmailIdentitiesRequest
- A request to list all of the email identities associated with your Amazon Web Services account. This list includes identities that you've already verified, identities that are unverified, and identities that were verified in the past, but are no longer verified.- Returns:
- A Java Future containing the result of the ListEmailIdentities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailIdentities
default CompletableFuture<ListEmailIdentitiesResponse> listEmailIdentities(Consumer<ListEmailIdentitiesRequest.Builder> listEmailIdentitiesRequest)
Returns a list of all of the email identities that are associated with your Amazon Web Services account. An identity can be either an email address or a domain. This operation returns identities that are verified as well as those that aren't. This operation returns identities that are associated with Amazon SES and Amazon Pinpoint.
This is a convenience which creates an instance of the
ListEmailIdentitiesRequest.Builder
avoiding the need to create one manually viaListEmailIdentitiesRequest.builder()
- Parameters:
listEmailIdentitiesRequest
- AConsumer
that will call methods onListEmailIdentitiesRequest.Builder
to create a request. A request to list all of the email identities associated with your Amazon Web Services account. This list includes identities that you've already verified, identities that are unverified, and identities that were verified in the past, but are no longer verified.- Returns:
- A Java Future containing the result of the ListEmailIdentities operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailIdentitiesPaginator
default ListEmailIdentitiesPublisher listEmailIdentitiesPaginator(ListEmailIdentitiesRequest listEmailIdentitiesRequest)
This is a variant of
listEmailIdentities(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListEmailIdentitiesPublisher publisher = client.listEmailIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListEmailIdentitiesPublisher publisher = client.listEmailIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listEmailIdentities(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesRequest)
operation.- Parameters:
listEmailIdentitiesRequest
- A request to list all of the email identities associated with your Amazon Web Services account. This list includes identities that you've already verified, identities that are unverified, and identities that were verified in the past, but are no longer verified.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailIdentitiesPaginator
default ListEmailIdentitiesPublisher listEmailIdentitiesPaginator(Consumer<ListEmailIdentitiesRequest.Builder> listEmailIdentitiesRequest)
This is a variant of
listEmailIdentities(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListEmailIdentitiesPublisher publisher = client.listEmailIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListEmailIdentitiesPublisher publisher = client.listEmailIdentitiesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listEmailIdentities(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesRequest)
operation.
This is a convenience which creates an instance of the
ListEmailIdentitiesRequest.Builder
avoiding the need to create one manually viaListEmailIdentitiesRequest.builder()
- Parameters:
listEmailIdentitiesRequest
- AConsumer
that will call methods onListEmailIdentitiesRequest.Builder
to create a request. A request to list all of the email identities associated with your Amazon Web Services account. This list includes identities that you've already verified, identities that are unverified, and identities that were verified in the past, but are no longer verified.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailTemplates
default CompletableFuture<ListEmailTemplatesResponse> listEmailTemplates(ListEmailTemplatesRequest listEmailTemplatesRequest)
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.
- Parameters:
listEmailTemplatesRequest
- Represents a request to list the email templates present in your Amazon SES account in the current Amazon Web Services Region. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the ListEmailTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailTemplates
default CompletableFuture<ListEmailTemplatesResponse> listEmailTemplates(Consumer<ListEmailTemplatesRequest.Builder> listEmailTemplatesRequest)
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
ListEmailTemplatesRequest.Builder
avoiding the need to create one manually viaListEmailTemplatesRequest.builder()
- Parameters:
listEmailTemplatesRequest
- AConsumer
that will call methods onListEmailTemplatesRequest.Builder
to create a request. Represents a request to list the email templates present in your Amazon SES account in the current Amazon Web Services Region. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the ListEmailTemplates operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailTemplatesPaginator
default ListEmailTemplatesPublisher listEmailTemplatesPaginator(ListEmailTemplatesRequest listEmailTemplatesRequest)
This is a variant of
listEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListEmailTemplatesPublisher publisher = client.listEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListEmailTemplatesPublisher publisher = client.listEmailTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesRequest)
operation.- Parameters:
listEmailTemplatesRequest
- Represents a request to list the email templates present in your Amazon SES account in the current Amazon Web Services Region. For more information, see the Amazon SES Developer Guide.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listEmailTemplatesPaginator
default ListEmailTemplatesPublisher listEmailTemplatesPaginator(Consumer<ListEmailTemplatesRequest.Builder> listEmailTemplatesRequest)
This is a variant of
listEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListEmailTemplatesPublisher publisher = client.listEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListEmailTemplatesPublisher publisher = client.listEmailTemplatesPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesRequest)
operation.
This is a convenience which creates an instance of the
ListEmailTemplatesRequest.Builder
avoiding the need to create one manually viaListEmailTemplatesRequest.builder()
- Parameters:
listEmailTemplatesRequest
- AConsumer
that will call methods onListEmailTemplatesRequest.Builder
to create a request. Represents a request to list the email templates present in your Amazon SES account in the current Amazon Web Services Region. For more information, see the Amazon SES Developer Guide.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listExportJobs
default CompletableFuture<ListExportJobsResponse> listExportJobs(ListExportJobsRequest listExportJobsRequest)
Lists all of the export jobs.
- Parameters:
listExportJobsRequest
- Represents a request to list all export jobs with filters.- Returns:
- A Java Future containing the result of the ListExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listExportJobs
default CompletableFuture<ListExportJobsResponse> listExportJobs(Consumer<ListExportJobsRequest.Builder> listExportJobsRequest)
Lists all of the export jobs.
This is a convenience which creates an instance of the
ListExportJobsRequest.Builder
avoiding the need to create one manually viaListExportJobsRequest.builder()
- Parameters:
listExportJobsRequest
- AConsumer
that will call methods onListExportJobsRequest.Builder
to create a request. Represents a request to list all export jobs with filters.- Returns:
- A Java Future containing the result of the ListExportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listExportJobsPaginator
default ListExportJobsPublisher listExportJobsPaginator(ListExportJobsRequest listExportJobsRequest)
This is a variant of
listExportJobs(software.amazon.awssdk.services.sesv2.model.ListExportJobsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListExportJobsPublisher publisher = client.listExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListExportJobsPublisher publisher = client.listExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListExportJobsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listExportJobs(software.amazon.awssdk.services.sesv2.model.ListExportJobsRequest)
operation.- Parameters:
listExportJobsRequest
- Represents a request to list all export jobs with filters.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listExportJobsPaginator
default ListExportJobsPublisher listExportJobsPaginator(Consumer<ListExportJobsRequest.Builder> listExportJobsRequest)
This is a variant of
listExportJobs(software.amazon.awssdk.services.sesv2.model.ListExportJobsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListExportJobsPublisher publisher = client.listExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListExportJobsPublisher publisher = client.listExportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListExportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListExportJobsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listExportJobs(software.amazon.awssdk.services.sesv2.model.ListExportJobsRequest)
operation.
This is a convenience which creates an instance of the
ListExportJobsRequest.Builder
avoiding the need to create one manually viaListExportJobsRequest.builder()
- Parameters:
listExportJobsRequest
- AConsumer
that will call methods onListExportJobsRequest.Builder
to create a request. Represents a request to list all export jobs with filters.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listImportJobs
default CompletableFuture<ListImportJobsResponse> listImportJobs(ListImportJobsRequest listImportJobsRequest)
Lists all of the import jobs.
- Parameters:
listImportJobsRequest
- Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs.- Returns:
- A Java Future containing the result of the ListImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listImportJobs
default CompletableFuture<ListImportJobsResponse> listImportJobs(Consumer<ListImportJobsRequest.Builder> listImportJobsRequest)
Lists all of the import jobs.
This is a convenience which creates an instance of the
ListImportJobsRequest.Builder
avoiding the need to create one manually viaListImportJobsRequest.builder()
- Parameters:
listImportJobsRequest
- AConsumer
that will call methods onListImportJobsRequest.Builder
to create a request. Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs.- Returns:
- A Java Future containing the result of the ListImportJobs operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listImportJobsPaginator
default ListImportJobsPublisher listImportJobsPaginator(ListImportJobsRequest listImportJobsRequest)
This is a variant of
listImportJobs(software.amazon.awssdk.services.sesv2.model.ListImportJobsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListImportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListImportJobsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listImportJobs(software.amazon.awssdk.services.sesv2.model.ListImportJobsRequest)
operation.- Parameters:
listImportJobsRequest
- Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listImportJobsPaginator
default ListImportJobsPublisher listImportJobsPaginator(Consumer<ListImportJobsRequest.Builder> listImportJobsRequest)
This is a variant of
listImportJobs(software.amazon.awssdk.services.sesv2.model.ListImportJobsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListImportJobsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListImportJobsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listImportJobs(software.amazon.awssdk.services.sesv2.model.ListImportJobsRequest)
operation.
This is a convenience which creates an instance of the
ListImportJobsRequest.Builder
avoiding the need to create one manually viaListImportJobsRequest.builder()
- Parameters:
listImportJobsRequest
- AConsumer
that will call methods onListImportJobsRequest.Builder
to create a request. Represents a request to list all of the import jobs for a data destination within the specified maximum number of import jobs.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listRecommendations
default CompletableFuture<ListRecommendationsResponse> listRecommendations(ListRecommendationsRequest listRecommendationsRequest)
Lists the recommendations present in your Amazon SES account in the current Amazon Web Services Region.
You can execute this operation no more than once per second.
- Parameters:
listRecommendationsRequest
- Represents a request to list the existing recommendations for your account.- Returns:
- A Java Future containing the result of the ListRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listRecommendations
default CompletableFuture<ListRecommendationsResponse> listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest)
Lists the recommendations 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
ListRecommendationsRequest.Builder
avoiding the need to create one manually viaListRecommendationsRequest.builder()
- Parameters:
listRecommendationsRequest
- AConsumer
that will call methods onListRecommendationsRequest.Builder
to create a request. Represents a request to list the existing recommendations for your account.- Returns:
- A Java Future containing the result of the ListRecommendations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listRecommendationsPaginator
default ListRecommendationsPublisher listRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest)
This is a variant of
listRecommendations(software.amazon.awssdk.services.sesv2.model.ListRecommendationsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListRecommendationsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listRecommendations(software.amazon.awssdk.services.sesv2.model.ListRecommendationsRequest)
operation.- Parameters:
listRecommendationsRequest
- Represents a request to list the existing recommendations for your account.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listRecommendationsPaginator
default ListRecommendationsPublisher listRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest)
This is a variant of
listRecommendations(software.amazon.awssdk.services.sesv2.model.ListRecommendationsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListRecommendationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListRecommendationsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listRecommendations(software.amazon.awssdk.services.sesv2.model.ListRecommendationsRequest)
operation.
This is a convenience which creates an instance of the
ListRecommendationsRequest.Builder
avoiding the need to create one manually viaListRecommendationsRequest.builder()
- Parameters:
listRecommendationsRequest
- AConsumer
that will call methods onListRecommendationsRequest.Builder
to create a request. Represents a request to list the existing recommendations for your account.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSuppressedDestinations
default CompletableFuture<ListSuppressedDestinationsResponse> listSuppressedDestinations(ListSuppressedDestinationsRequest listSuppressedDestinationsRequest)
Retrieves a list of email addresses that are on the suppression list for your account.
- Parameters:
listSuppressedDestinationsRequest
- A request to obtain a list of email destinations that are on the suppression list for your account.- Returns:
- A Java Future containing the result of the ListSuppressedDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- InvalidNextTokenException The specified request includes an invalid or expired token.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSuppressedDestinations
default CompletableFuture<ListSuppressedDestinationsResponse> listSuppressedDestinations(Consumer<ListSuppressedDestinationsRequest.Builder> listSuppressedDestinationsRequest)
Retrieves a list of email addresses that are on the suppression list for your account.
This is a convenience which creates an instance of the
ListSuppressedDestinationsRequest.Builder
avoiding the need to create one manually viaListSuppressedDestinationsRequest.builder()
- Parameters:
listSuppressedDestinationsRequest
- AConsumer
that will call methods onListSuppressedDestinationsRequest.Builder
to create a request. A request to obtain a list of email destinations that are on the suppression list for your account.- Returns:
- A Java Future containing the result of the ListSuppressedDestinations operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- InvalidNextTokenException The specified request includes an invalid or expired token.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSuppressedDestinationsPaginator
default ListSuppressedDestinationsPublisher listSuppressedDestinationsPaginator(ListSuppressedDestinationsRequest listSuppressedDestinationsRequest)
This is a variant of
listSuppressedDestinations(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListSuppressedDestinationsPublisher publisher = client.listSuppressedDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListSuppressedDestinationsPublisher publisher = client.listSuppressedDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listSuppressedDestinations(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsRequest)
operation.- Parameters:
listSuppressedDestinationsRequest
- A request to obtain a list of email destinations that are on the suppression list for your account.- Returns:
- 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.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- InvalidNextTokenException The specified request includes an invalid or expired token.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listSuppressedDestinationsPaginator
default ListSuppressedDestinationsPublisher listSuppressedDestinationsPaginator(Consumer<ListSuppressedDestinationsRequest.Builder> listSuppressedDestinationsRequest)
This is a variant of
listSuppressedDestinations(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsRequest)
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
Publisher.subscribe(org.reactivestreams.Subscriber)
. Each call to the subscribe method will result in a newSubscription
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 methodsoftware.amazon.awssdk.services.sesv2.paginators.ListSuppressedDestinationsPublisher publisher = client.listSuppressedDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
software.amazon.awssdk.services.sesv2.paginators.ListSuppressedDestinationsPublisher publisher = client.listSuppressedDestinationsPaginator(request); publisher.subscribe(new Subscriber<software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsResponse>() { public void onSubscribe(org.reactivestreams.Subscriber subscription) { //... }; public void onNext(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsResponse response) { //... }; });
Please notice that the configuration of PageSize 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
listSuppressedDestinations(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsRequest)
operation.
This is a convenience which creates an instance of the
ListSuppressedDestinationsRequest.Builder
avoiding the need to create one manually viaListSuppressedDestinationsRequest.builder()
- Parameters:
listSuppressedDestinationsRequest
- AConsumer
that will call methods onListSuppressedDestinationsRequest.Builder
to create a request. A request to obtain a list of email destinations that are on the suppression list for your account.- Returns:
- 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.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- InvalidNextTokenException The specified request includes an invalid or expired token.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified resource. A tag is a label that you optionally define and associate with a resource. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
- Parameters:
listTagsForResourceRequest
-- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
listTagsForResource
default CompletableFuture<ListTagsForResourceResponse> listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest)
Retrieve a list of the tags (keys and values) that are associated with a specified resource. A tag is a label that you optionally define and associate with a resource. Each tag consists of a required tag key and an optional associated tag value. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the
ListTagsForResourceRequest.Builder
avoiding the need to create one manually viaListTagsForResourceRequest.builder()
- Parameters:
listTagsForResourceRequest
- AConsumer
that will call methods onListTagsForResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the ListTagsForResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountDedicatedIpWarmupAttributes
default CompletableFuture<PutAccountDedicatedIpWarmupAttributesResponse> putAccountDedicatedIpWarmupAttributes(PutAccountDedicatedIpWarmupAttributesRequest putAccountDedicatedIpWarmupAttributesRequest)
Enable or disable the automatic warm-up feature for dedicated IP addresses.
- Parameters:
putAccountDedicatedIpWarmupAttributesRequest
- A request to enable or disable the automatic IP address warm-up feature.- Returns:
- A Java Future containing the result of the PutAccountDedicatedIpWarmupAttributes operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountDedicatedIpWarmupAttributes
default CompletableFuture<PutAccountDedicatedIpWarmupAttributesResponse> putAccountDedicatedIpWarmupAttributes(Consumer<PutAccountDedicatedIpWarmupAttributesRequest.Builder> putAccountDedicatedIpWarmupAttributesRequest)
Enable or disable the automatic warm-up feature for dedicated IP addresses.
This is a convenience which creates an instance of the
PutAccountDedicatedIpWarmupAttributesRequest.Builder
avoiding the need to create one manually viaPutAccountDedicatedIpWarmupAttributesRequest.builder()
- Parameters:
putAccountDedicatedIpWarmupAttributesRequest
- AConsumer
that will call methods onPutAccountDedicatedIpWarmupAttributesRequest.Builder
to create a request. A request to enable or disable the automatic IP address warm-up feature.- Returns:
- A Java Future containing the result of the PutAccountDedicatedIpWarmupAttributes operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountDetails
default CompletableFuture<PutAccountDetailsResponse> putAccountDetails(PutAccountDetailsRequest putAccountDetailsRequest)
Update your Amazon SES account details.
- Parameters:
putAccountDetailsRequest
- A request to submit new account details.- Returns:
- A Java Future containing the result of the PutAccountDetails operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConflictException If there is already an ongoing account details update under review.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountDetails
default CompletableFuture<PutAccountDetailsResponse> putAccountDetails(Consumer<PutAccountDetailsRequest.Builder> putAccountDetailsRequest)
Update your Amazon SES account details.
This is a convenience which creates an instance of the
PutAccountDetailsRequest.Builder
avoiding the need to create one manually viaPutAccountDetailsRequest.builder()
- Parameters:
putAccountDetailsRequest
- AConsumer
that will call methods onPutAccountDetailsRequest.Builder
to create a request. A request to submit new account details.- Returns:
- A Java Future containing the result of the PutAccountDetails operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided is invalid.
- ConflictException If there is already an ongoing account details update under review.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountSendingAttributes
default CompletableFuture<PutAccountSendingAttributesResponse> putAccountSendingAttributes(PutAccountSendingAttributesRequest putAccountSendingAttributesRequest)
Enable or disable the ability of your account to send email.
- Parameters:
putAccountSendingAttributesRequest
- A request to change the ability of your account to send email.- Returns:
- A Java Future containing the result of the PutAccountSendingAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountSendingAttributes
default CompletableFuture<PutAccountSendingAttributesResponse> putAccountSendingAttributes(Consumer<PutAccountSendingAttributesRequest.Builder> putAccountSendingAttributesRequest)
Enable or disable the ability of your account to send email.
This is a convenience which creates an instance of the
PutAccountSendingAttributesRequest.Builder
avoiding the need to create one manually viaPutAccountSendingAttributesRequest.builder()
- Parameters:
putAccountSendingAttributesRequest
- AConsumer
that will call methods onPutAccountSendingAttributesRequest.Builder
to create a request. A request to change the ability of your account to send email.- Returns:
- A Java Future containing the result of the PutAccountSendingAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountSuppressionAttributes
default CompletableFuture<PutAccountSuppressionAttributesResponse> putAccountSuppressionAttributes(PutAccountSuppressionAttributesRequest putAccountSuppressionAttributesRequest)
Change the settings for the account-level suppression list.
- Parameters:
putAccountSuppressionAttributesRequest
- A request to change your account's suppression preferences.- Returns:
- A Java Future containing the result of the PutAccountSuppressionAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountSuppressionAttributes
default CompletableFuture<PutAccountSuppressionAttributesResponse> putAccountSuppressionAttributes(Consumer<PutAccountSuppressionAttributesRequest.Builder> putAccountSuppressionAttributesRequest)
Change the settings for the account-level suppression list.
This is a convenience which creates an instance of the
PutAccountSuppressionAttributesRequest.Builder
avoiding the need to create one manually viaPutAccountSuppressionAttributesRequest.builder()
- Parameters:
putAccountSuppressionAttributesRequest
- AConsumer
that will call methods onPutAccountSuppressionAttributesRequest.Builder
to create a request. A request to change your account's suppression preferences.- Returns:
- A Java Future containing the result of the PutAccountSuppressionAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountVdmAttributes
default CompletableFuture<PutAccountVdmAttributesResponse> putAccountVdmAttributes(PutAccountVdmAttributesRequest putAccountVdmAttributesRequest)
Update your Amazon SES account VDM attributes.
You can execute this operation no more than once per second.
- Parameters:
putAccountVdmAttributesRequest
- A request to submit new account VDM attributes.- Returns:
- A Java Future containing the result of the PutAccountVdmAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putAccountVdmAttributes
default CompletableFuture<PutAccountVdmAttributesResponse> putAccountVdmAttributes(Consumer<PutAccountVdmAttributesRequest.Builder> putAccountVdmAttributesRequest)
Update your Amazon SES account VDM attributes.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
PutAccountVdmAttributesRequest.Builder
avoiding the need to create one manually viaPutAccountVdmAttributesRequest.builder()
- Parameters:
putAccountVdmAttributesRequest
- AConsumer
that will call methods onPutAccountVdmAttributesRequest.Builder
to create a request. A request to submit new account VDM attributes.- Returns:
- A Java Future containing the result of the PutAccountVdmAttributes operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetDeliveryOptions
default CompletableFuture<PutConfigurationSetDeliveryOptionsResponse> putConfigurationSetDeliveryOptions(PutConfigurationSetDeliveryOptionsRequest putConfigurationSetDeliveryOptionsRequest)
Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
- Parameters:
putConfigurationSetDeliveryOptionsRequest
- A request to associate a configuration set with a dedicated IP pool.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetDeliveryOptions
default CompletableFuture<PutConfigurationSetDeliveryOptionsResponse> putConfigurationSetDeliveryOptions(Consumer<PutConfigurationSetDeliveryOptionsRequest.Builder> putConfigurationSetDeliveryOptionsRequest)
Associate a configuration set with a dedicated IP pool. You can use dedicated IP pools to create groups of dedicated IP addresses for sending specific types of email.
This is a convenience which creates an instance of the
PutConfigurationSetDeliveryOptionsRequest.Builder
avoiding the need to create one manually viaPutConfigurationSetDeliveryOptionsRequest.builder()
- Parameters:
putConfigurationSetDeliveryOptionsRequest
- AConsumer
that will call methods onPutConfigurationSetDeliveryOptionsRequest.Builder
to create a request. A request to associate a configuration set with a dedicated IP pool.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetReputationOptions
default CompletableFuture<PutConfigurationSetReputationOptionsResponse> putConfigurationSetReputationOptions(PutConfigurationSetReputationOptionsRequest putConfigurationSetReputationOptionsRequest)
Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific Amazon Web Services Region.
- Parameters:
putConfigurationSetReputationOptionsRequest
- A request to enable or disable tracking of reputation metrics for a configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetReputationOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetReputationOptions
default CompletableFuture<PutConfigurationSetReputationOptionsResponse> putConfigurationSetReputationOptions(Consumer<PutConfigurationSetReputationOptionsRequest.Builder> putConfigurationSetReputationOptionsRequest)
Enable or disable collection of reputation metrics for emails that you send using a particular configuration set in a specific Amazon Web Services Region.
This is a convenience which creates an instance of the
PutConfigurationSetReputationOptionsRequest.Builder
avoiding the need to create one manually viaPutConfigurationSetReputationOptionsRequest.builder()
- Parameters:
putConfigurationSetReputationOptionsRequest
- AConsumer
that will call methods onPutConfigurationSetReputationOptionsRequest.Builder
to create a request. A request to enable or disable tracking of reputation metrics for a configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetReputationOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetSendingOptions
default CompletableFuture<PutConfigurationSetSendingOptionsResponse> putConfigurationSetSendingOptions(PutConfigurationSetSendingOptionsRequest putConfigurationSetSendingOptionsRequest)
Enable or disable email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.
- Parameters:
putConfigurationSetSendingOptionsRequest
- A request to enable or disable the ability of Amazon SES to send emails that use a specific configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetSendingOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetSendingOptions
default CompletableFuture<PutConfigurationSetSendingOptionsResponse> putConfigurationSetSendingOptions(Consumer<PutConfigurationSetSendingOptionsRequest.Builder> putConfigurationSetSendingOptionsRequest)
Enable or disable email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.
This is a convenience which creates an instance of the
PutConfigurationSetSendingOptionsRequest.Builder
avoiding the need to create one manually viaPutConfigurationSetSendingOptionsRequest.builder()
- Parameters:
putConfigurationSetSendingOptionsRequest
- AConsumer
that will call methods onPutConfigurationSetSendingOptionsRequest.Builder
to create a request. A request to enable or disable the ability of Amazon SES to send emails that use a specific configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetSendingOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetSuppressionOptions
default CompletableFuture<PutConfigurationSetSuppressionOptionsResponse> putConfigurationSetSuppressionOptions(PutConfigurationSetSuppressionOptionsRequest putConfigurationSetSuppressionOptionsRequest)
Specify the account suppression list preferences for a configuration set.
- Parameters:
putConfigurationSetSuppressionOptionsRequest
- A request to change the account suppression list preferences for a specific configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetSuppressionOptions operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetSuppressionOptions
default CompletableFuture<PutConfigurationSetSuppressionOptionsResponse> putConfigurationSetSuppressionOptions(Consumer<PutConfigurationSetSuppressionOptionsRequest.Builder> putConfigurationSetSuppressionOptionsRequest)
Specify the account suppression list preferences for a configuration set.
This is a convenience which creates an instance of the
PutConfigurationSetSuppressionOptionsRequest.Builder
avoiding the need to create one manually viaPutConfigurationSetSuppressionOptionsRequest.builder()
- Parameters:
putConfigurationSetSuppressionOptionsRequest
- AConsumer
that will call methods onPutConfigurationSetSuppressionOptionsRequest.Builder
to create a request. A request to change the account suppression list preferences for a specific configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetSuppressionOptions operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetTrackingOptions
default CompletableFuture<PutConfigurationSetTrackingOptionsResponse> putConfigurationSetTrackingOptions(PutConfigurationSetTrackingOptionsRequest putConfigurationSetTrackingOptionsRequest)
Specify a custom domain to use for open and click tracking elements in email that you send.
- Parameters:
putConfigurationSetTrackingOptionsRequest
- A request to add a custom domain for tracking open and click events to a configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetTrackingOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetTrackingOptions
default CompletableFuture<PutConfigurationSetTrackingOptionsResponse> putConfigurationSetTrackingOptions(Consumer<PutConfigurationSetTrackingOptionsRequest.Builder> putConfigurationSetTrackingOptionsRequest)
Specify a custom domain to use for open and click tracking elements in email that you send.
This is a convenience which creates an instance of the
PutConfigurationSetTrackingOptionsRequest.Builder
avoiding the need to create one manually viaPutConfigurationSetTrackingOptionsRequest.builder()
- Parameters:
putConfigurationSetTrackingOptionsRequest
- AConsumer
that will call methods onPutConfigurationSetTrackingOptionsRequest.Builder
to create a request. A request to add a custom domain for tracking open and click events to a configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetTrackingOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetVdmOptions
default CompletableFuture<PutConfigurationSetVdmOptionsResponse> putConfigurationSetVdmOptions(PutConfigurationSetVdmOptionsRequest putConfigurationSetVdmOptionsRequest)
Specify VDM preferences for email that you send using the configuration set.
You can execute this operation no more than once per second.
- Parameters:
putConfigurationSetVdmOptionsRequest
- A request to add specific VDM settings to a configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetVdmOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putConfigurationSetVdmOptions
default CompletableFuture<PutConfigurationSetVdmOptionsResponse> putConfigurationSetVdmOptions(Consumer<PutConfigurationSetVdmOptionsRequest.Builder> putConfigurationSetVdmOptionsRequest)
Specify VDM preferences for email that you send using the configuration set.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
PutConfigurationSetVdmOptionsRequest.Builder
avoiding the need to create one manually viaPutConfigurationSetVdmOptionsRequest.builder()
- Parameters:
putConfigurationSetVdmOptionsRequest
- AConsumer
that will call methods onPutConfigurationSetVdmOptionsRequest.Builder
to create a request. A request to add specific VDM settings to a configuration set.- Returns:
- A Java Future containing the result of the PutConfigurationSetVdmOptions operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDedicatedIpInPool
default CompletableFuture<PutDedicatedIpInPoolResponse> putDedicatedIpInPool(PutDedicatedIpInPoolRequest putDedicatedIpInPoolRequest)
Move a dedicated IP address to an existing dedicated IP pool.
The dedicated IP address that you specify must already exist, and must be associated with your Amazon Web Services account.
The dedicated IP pool you specify must already exist. You can create a new pool by using the
CreateDedicatedIpPool
operation.- Parameters:
putDedicatedIpInPoolRequest
- A request to move a dedicated IP address to a dedicated IP pool.- Returns:
- A Java Future containing the result of the PutDedicatedIpInPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDedicatedIpInPool
default CompletableFuture<PutDedicatedIpInPoolResponse> putDedicatedIpInPool(Consumer<PutDedicatedIpInPoolRequest.Builder> putDedicatedIpInPoolRequest)
Move a dedicated IP address to an existing dedicated IP pool.
The dedicated IP address that you specify must already exist, and must be associated with your Amazon Web Services account.
The dedicated IP pool you specify must already exist. You can create a new pool by using the
CreateDedicatedIpPool
operation.
This is a convenience which creates an instance of the
PutDedicatedIpInPoolRequest.Builder
avoiding the need to create one manually viaPutDedicatedIpInPoolRequest.builder()
- Parameters:
putDedicatedIpInPoolRequest
- AConsumer
that will call methods onPutDedicatedIpInPoolRequest.Builder
to create a request. A request to move a dedicated IP address to a dedicated IP pool.- Returns:
- A Java Future containing the result of the PutDedicatedIpInPool operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDedicatedIpPoolScalingAttributes
default CompletableFuture<PutDedicatedIpPoolScalingAttributesResponse> putDedicatedIpPoolScalingAttributes(PutDedicatedIpPoolScalingAttributesRequest putDedicatedIpPoolScalingAttributesRequest)
Used to convert a dedicated IP pool to a different scaling mode.
MANAGED
pools cannot be converted toSTANDARD
scaling mode.- Parameters:
putDedicatedIpPoolScalingAttributesRequest
- A request to convert a dedicated IP pool to a different scaling mode.- Returns:
- A Java Future containing the result of the PutDedicatedIpPoolScalingAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDedicatedIpPoolScalingAttributes
default CompletableFuture<PutDedicatedIpPoolScalingAttributesResponse> putDedicatedIpPoolScalingAttributes(Consumer<PutDedicatedIpPoolScalingAttributesRequest.Builder> putDedicatedIpPoolScalingAttributesRequest)
Used to convert a dedicated IP pool to a different scaling mode.
MANAGED
pools cannot be converted toSTANDARD
scaling mode.
This is a convenience which creates an instance of the
PutDedicatedIpPoolScalingAttributesRequest.Builder
avoiding the need to create one manually viaPutDedicatedIpPoolScalingAttributesRequest.builder()
- Parameters:
putDedicatedIpPoolScalingAttributesRequest
- AConsumer
that will call methods onPutDedicatedIpPoolScalingAttributesRequest.Builder
to create a request. A request to convert a dedicated IP pool to a different scaling mode.- Returns:
- A Java Future containing the result of the PutDedicatedIpPoolScalingAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDedicatedIpWarmupAttributes
default CompletableFuture<PutDedicatedIpWarmupAttributesResponse> putDedicatedIpWarmupAttributes(PutDedicatedIpWarmupAttributesRequest putDedicatedIpWarmupAttributesRequest)
- Parameters:
putDedicatedIpWarmupAttributesRequest
- A request to change the warm-up attributes for a dedicated IP address. This operation is useful when you want to resume the warm-up process for an existing IP address.- Returns:
- A Java Future containing the result of the PutDedicatedIpWarmupAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDedicatedIpWarmupAttributes
default CompletableFuture<PutDedicatedIpWarmupAttributesResponse> putDedicatedIpWarmupAttributes(Consumer<PutDedicatedIpWarmupAttributesRequest.Builder> putDedicatedIpWarmupAttributesRequest)
This is a convenience which creates an instance of the
PutDedicatedIpWarmupAttributesRequest.Builder
avoiding the need to create one manually viaPutDedicatedIpWarmupAttributesRequest.builder()
- Parameters:
putDedicatedIpWarmupAttributesRequest
- AConsumer
that will call methods onPutDedicatedIpWarmupAttributesRequest.Builder
to create a request. A request to change the warm-up attributes for a dedicated IP address. This operation is useful when you want to resume the warm-up process for an existing IP address.- Returns:
- A Java Future containing the result of the PutDedicatedIpWarmupAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDeliverabilityDashboardOption
default CompletableFuture<PutDeliverabilityDashboardOptionResponse> putDeliverabilityDashboardOption(PutDeliverabilityDashboardOptionRequest putDeliverabilityDashboardOptionRequest)
Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests.
When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
- Parameters:
putDeliverabilityDashboardOptionRequest
- Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email using Amazon SES API v2. You also gain the ability to perform predictive inbox placement tests.When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
- Returns:
- A Java Future containing the result of the PutDeliverabilityDashboardOption operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putDeliverabilityDashboardOption
default CompletableFuture<PutDeliverabilityDashboardOptionResponse> putDeliverabilityDashboardOption(Consumer<PutDeliverabilityDashboardOptionRequest.Builder> putDeliverabilityDashboardOptionRequest)
Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email. You also gain the ability to perform predictive inbox placement tests.
When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon SES Pricing.
This is a convenience which creates an instance of the
PutDeliverabilityDashboardOptionRequest.Builder
avoiding the need to create one manually viaPutDeliverabilityDashboardOptionRequest.builder()
- Parameters:
putDeliverabilityDashboardOptionRequest
- AConsumer
that will call methods onPutDeliverabilityDashboardOptionRequest.Builder
to create a request. Enable or disable the Deliverability dashboard. When you enable the Deliverability dashboard, you gain access to reputation, deliverability, and other metrics for the domains that you use to send email using Amazon SES API v2. You also gain the ability to perform predictive inbox placement tests.When you use the Deliverability dashboard, you pay a monthly subscription charge, in addition to any other fees that you accrue by using Amazon SES and other Amazon Web Services services. For more information about the features and cost of a Deliverability dashboard subscription, see Amazon Pinpoint Pricing.
- Returns:
- A Java Future containing the result of the PutDeliverabilityDashboardOption operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- AlreadyExistsException The resource specified in your request already exists.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityConfigurationSetAttributes
default CompletableFuture<PutEmailIdentityConfigurationSetAttributesResponse> putEmailIdentityConfigurationSetAttributes(PutEmailIdentityConfigurationSetAttributesRequest putEmailIdentityConfigurationSetAttributesRequest)
Used to associate a configuration set with an email identity.
- Parameters:
putEmailIdentityConfigurationSetAttributesRequest
- A request to associate a configuration set with an email identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityConfigurationSetAttributes operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityConfigurationSetAttributes
default CompletableFuture<PutEmailIdentityConfigurationSetAttributesResponse> putEmailIdentityConfigurationSetAttributes(Consumer<PutEmailIdentityConfigurationSetAttributesRequest.Builder> putEmailIdentityConfigurationSetAttributesRequest)
Used to associate a configuration set with an email identity.
This is a convenience which creates an instance of the
PutEmailIdentityConfigurationSetAttributesRequest.Builder
avoiding the need to create one manually viaPutEmailIdentityConfigurationSetAttributesRequest.builder()
- Parameters:
putEmailIdentityConfigurationSetAttributesRequest
- AConsumer
that will call methods onPutEmailIdentityConfigurationSetAttributesRequest.Builder
to create a request. A request to associate a configuration set with an email identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityConfigurationSetAttributes operation returned
by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityDkimAttributes
default CompletableFuture<PutEmailIdentityDkimAttributesResponse> putEmailIdentityDkimAttributes(PutEmailIdentityDkimAttributesRequest putEmailIdentityDkimAttributesRequest)
Used to enable or disable DKIM authentication for an email identity.
- Parameters:
putEmailIdentityDkimAttributesRequest
- A request to enable or disable DKIM signing of email that you send from an email identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityDkimAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityDkimAttributes
default CompletableFuture<PutEmailIdentityDkimAttributesResponse> putEmailIdentityDkimAttributes(Consumer<PutEmailIdentityDkimAttributesRequest.Builder> putEmailIdentityDkimAttributesRequest)
Used to enable or disable DKIM authentication for an email identity.
This is a convenience which creates an instance of the
PutEmailIdentityDkimAttributesRequest.Builder
avoiding the need to create one manually viaPutEmailIdentityDkimAttributesRequest.builder()
- Parameters:
putEmailIdentityDkimAttributesRequest
- AConsumer
that will call methods onPutEmailIdentityDkimAttributesRequest.Builder
to create a request. A request to enable or disable DKIM signing of email that you send from an email identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityDkimAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityDkimSigningAttributes
default CompletableFuture<PutEmailIdentityDkimSigningAttributesResponse> putEmailIdentityDkimSigningAttributes(PutEmailIdentityDkimSigningAttributesRequest putEmailIdentityDkimSigningAttributesRequest)
Used to configure or change the DKIM authentication settings for an email domain identity. You can use this operation to do any of the following:
-
Update the signing attributes for an identity that uses Bring Your Own DKIM (BYODKIM).
-
Update the key length that should be used for Easy DKIM.
-
Change from using no DKIM authentication to using Easy DKIM.
-
Change from using no DKIM authentication to using BYODKIM.
-
Change from using Easy DKIM to using BYODKIM.
-
Change from using BYODKIM to using Easy DKIM.
- Parameters:
putEmailIdentityDkimSigningAttributesRequest
- A request to change the DKIM attributes for an email identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityDkimSigningAttributes operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
-
putEmailIdentityDkimSigningAttributes
default CompletableFuture<PutEmailIdentityDkimSigningAttributesResponse> putEmailIdentityDkimSigningAttributes(Consumer<PutEmailIdentityDkimSigningAttributesRequest.Builder> putEmailIdentityDkimSigningAttributesRequest)
Used to configure or change the DKIM authentication settings for an email domain identity. You can use this operation to do any of the following:
-
Update the signing attributes for an identity that uses Bring Your Own DKIM (BYODKIM).
-
Update the key length that should be used for Easy DKIM.
-
Change from using no DKIM authentication to using Easy DKIM.
-
Change from using no DKIM authentication to using BYODKIM.
-
Change from using Easy DKIM to using BYODKIM.
-
Change from using BYODKIM to using Easy DKIM.
This is a convenience which creates an instance of the
PutEmailIdentityDkimSigningAttributesRequest.Builder
avoiding the need to create one manually viaPutEmailIdentityDkimSigningAttributesRequest.builder()
- Parameters:
putEmailIdentityDkimSigningAttributesRequest
- AConsumer
that will call methods onPutEmailIdentityDkimSigningAttributesRequest.Builder
to create a request. A request to change the DKIM attributes for an email identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityDkimSigningAttributes operation returned by
the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
-
putEmailIdentityFeedbackAttributes
default CompletableFuture<PutEmailIdentityFeedbackAttributesResponse> putEmailIdentityFeedbackAttributes(PutEmailIdentityFeedbackAttributesRequest putEmailIdentityFeedbackAttributesRequest)
Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.
If the value is
true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in theReturn-Path
header of the original email.You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
- Parameters:
putEmailIdentityFeedbackAttributesRequest
- A request to set the attributes that control how bounce and complaint events are processed.- Returns:
- A Java Future containing the result of the PutEmailIdentityFeedbackAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityFeedbackAttributes
default CompletableFuture<PutEmailIdentityFeedbackAttributesResponse> putEmailIdentityFeedbackAttributes(Consumer<PutEmailIdentityFeedbackAttributesRequest.Builder> putEmailIdentityFeedbackAttributesRequest)
Used to enable or disable feedback forwarding for an identity. This setting determines what happens when an identity is used to send an email that results in a bounce or complaint event.
If the value is
true
, you receive email notifications when bounce or complaint events occur. These notifications are sent to the address that you specified in theReturn-Path
header of the original email.You're required to have a method of tracking bounces and complaints. If you haven't set up another mechanism for receiving bounce or complaint notifications (for example, by setting up an event destination), you receive an email notification when these events occur (even if this setting is disabled).
This is a convenience which creates an instance of the
PutEmailIdentityFeedbackAttributesRequest.Builder
avoiding the need to create one manually viaPutEmailIdentityFeedbackAttributesRequest.builder()
- Parameters:
putEmailIdentityFeedbackAttributesRequest
- AConsumer
that will call methods onPutEmailIdentityFeedbackAttributesRequest.Builder
to create a request. A request to set the attributes that control how bounce and complaint events are processed.- Returns:
- A Java Future containing the result of the PutEmailIdentityFeedbackAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityMailFromAttributes
default CompletableFuture<PutEmailIdentityMailFromAttributesResponse> putEmailIdentityMailFromAttributes(PutEmailIdentityMailFromAttributesRequest putEmailIdentityMailFromAttributesRequest)
Used to enable or disable the custom Mail-From domain configuration for an email identity.
- Parameters:
putEmailIdentityMailFromAttributesRequest
- A request to configure the custom MAIL FROM domain for a verified identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityMailFromAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putEmailIdentityMailFromAttributes
default CompletableFuture<PutEmailIdentityMailFromAttributesResponse> putEmailIdentityMailFromAttributes(Consumer<PutEmailIdentityMailFromAttributesRequest.Builder> putEmailIdentityMailFromAttributesRequest)
Used to enable or disable the custom Mail-From domain configuration for an email identity.
This is a convenience which creates an instance of the
PutEmailIdentityMailFromAttributesRequest.Builder
avoiding the need to create one manually viaPutEmailIdentityMailFromAttributesRequest.builder()
- Parameters:
putEmailIdentityMailFromAttributesRequest
- AConsumer
that will call methods onPutEmailIdentityMailFromAttributesRequest.Builder
to create a request. A request to configure the custom MAIL FROM domain for a verified identity.- Returns:
- A Java Future containing the result of the PutEmailIdentityMailFromAttributes operation returned by the
service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putSuppressedDestination
default CompletableFuture<PutSuppressedDestinationResponse> putSuppressedDestination(PutSuppressedDestinationRequest putSuppressedDestinationRequest)
Adds an email address to the suppression list for your account.
- Parameters:
putSuppressedDestinationRequest
- A request to add an email destination to the suppression list for your account.- Returns:
- A Java Future containing the result of the PutSuppressedDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
putSuppressedDestination
default CompletableFuture<PutSuppressedDestinationResponse> putSuppressedDestination(Consumer<PutSuppressedDestinationRequest.Builder> putSuppressedDestinationRequest)
Adds an email address to the suppression list for your account.
This is a convenience which creates an instance of the
PutSuppressedDestinationRequest.Builder
avoiding the need to create one manually viaPutSuppressedDestinationRequest.builder()
- Parameters:
putSuppressedDestinationRequest
- AConsumer
that will call methods onPutSuppressedDestinationRequest.Builder
to create a request. A request to add an email destination to the suppression list for your account.- Returns:
- A Java Future containing the result of the PutSuppressedDestination operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
sendBulkEmail
default CompletableFuture<SendBulkEmailResponse> sendBulkEmail(SendBulkEmailRequest sendBulkEmailRequest)
Composes an email message to multiple destinations.
- Parameters:
sendBulkEmailRequest
- Represents a request to send email messages to multiple destinations using Amazon SES. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the SendBulkEmail operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MessageRejectedException The message can't be sent because it contains invalid content.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
sendBulkEmail
default CompletableFuture<SendBulkEmailResponse> sendBulkEmail(Consumer<SendBulkEmailRequest.Builder> sendBulkEmailRequest)
Composes an email message to multiple destinations.
This is a convenience which creates an instance of the
SendBulkEmailRequest.Builder
avoiding the need to create one manually viaSendBulkEmailRequest.builder()
- Parameters:
sendBulkEmailRequest
- AConsumer
that will call methods onSendBulkEmailRequest.Builder
to create a request. Represents a request to send email messages to multiple destinations using Amazon SES. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the SendBulkEmail operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MessageRejectedException The message can't be sent because it contains invalid content.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
sendCustomVerificationEmail
default CompletableFuture<SendCustomVerificationEmailResponse> sendCustomVerificationEmail(SendCustomVerificationEmailRequest sendCustomVerificationEmailRequest)
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.
- Parameters:
sendCustomVerificationEmailRequest
- Represents a request to send a custom verification email to a specified recipient.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- MessageRejectedException The message can't be sent because it contains invalid content.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
sendCustomVerificationEmail
default CompletableFuture<SendCustomVerificationEmailResponse> sendCustomVerificationEmail(Consumer<SendCustomVerificationEmailRequest.Builder> sendCustomVerificationEmailRequest)
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
SendCustomVerificationEmailRequest.Builder
avoiding the need to create one manually viaSendCustomVerificationEmailRequest.builder()
- Parameters:
sendCustomVerificationEmailRequest
- AConsumer
that will call methods onSendCustomVerificationEmailRequest.Builder
to create a request. Represents a request to send a custom verification email to a specified recipient.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- MessageRejectedException The message can't be sent because it contains invalid content.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
sendEmail
default CompletableFuture<SendEmailResponse> sendEmail(SendEmailRequest sendEmailRequest)
Sends an email message. You can use the Amazon SES API v2 to send the following types of messages:
-
Simple – A standard email message. When you create this type of message, you specify the sender, the recipient, and the message body, and Amazon SES assembles the message for you.
-
Raw – A raw, MIME-formatted email message. When you send this type of email, you have to specify all of the message headers, as well as the message body. You can use this message type to send messages that contain attachments. The message that you specify has to be a valid MIME message.
-
Templated – A message that contains personalization tags. When you send this type of email, Amazon SES API v2 automatically replaces the tags with values that you specify.
- Parameters:
sendEmailRequest
- Represents a request to send a single formatted email using Amazon SES. For more information, see the Amazon SES Developer Guide.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MessageRejectedException The message can't be sent because it contains invalid content.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
-
sendEmail
default CompletableFuture<SendEmailResponse> sendEmail(Consumer<SendEmailRequest.Builder> sendEmailRequest)
Sends an email message. You can use the Amazon SES API v2 to send the following types of messages:
-
Simple – A standard email message. When you create this type of message, you specify the sender, the recipient, and the message body, and Amazon SES assembles the message for you.
-
Raw – A raw, MIME-formatted email message. When you send this type of email, you have to specify all of the message headers, as well as the message body. You can use this message type to send messages that contain attachments. The message that you specify has to be a valid MIME message.
-
Templated – A message that contains personalization tags. When you send this type of email, Amazon SES API v2 automatically replaces the tags with values that you specify.
This is a convenience which creates an instance of the
SendEmailRequest.Builder
avoiding the need to create one manually viaSendEmailRequest.builder()
- Parameters:
sendEmailRequest
- AConsumer
that will call methods onSendEmailRequest.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.- Returns:
- 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.- TooManyRequestsException Too many requests have been made to the operation.
- LimitExceededException There are too many instances of the specified resource type.
- AccountSuspendedException The message can't be sent because the account's ability to send email has been permanently restricted.
- SendingPausedException The message can't be sent because the account's ability to send email is currently paused.
- MessageRejectedException The message can't be sent because it contains invalid content.
- MailFromDomainNotVerifiedException The message can't be sent because the sending domain isn't verified.
- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest)
Add one or more tags (keys and values) to a specified resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
- Parameters:
tagResourceRequest
-- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
tagResource
default CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest)
Add one or more tags (keys and values) to a specified resource. A tag is a label that you optionally define and associate with a resource. Tags can help you categorize and manage resources in different ways, such as by purpose, owner, environment, or other criteria. A resource can have as many as 50 tags.
Each tag consists of a required tag key and an associated tag value, both of which you define. A tag key is a general label that acts as a category for more specific tag values. A tag value acts as a descriptor within a tag key.
This is a convenience which creates an instance of the
TagResourceRequest.Builder
avoiding the need to create one manually viaTagResourceRequest.builder()
- Parameters:
tagResourceRequest
- AConsumer
that will call methods onTagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the TagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
testRenderEmailTemplate
default CompletableFuture<TestRenderEmailTemplateResponse> testRenderEmailTemplate(TestRenderEmailTemplateRequest testRenderEmailTemplateRequest)
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.
- Parameters:
testRenderEmailTemplateRequest
- >Represents a request to create a preview of the MIME content of an email when provided with a template and a set of replacement data.- Returns:
- A Java Future containing the result of the TestRenderEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
testRenderEmailTemplate
default CompletableFuture<TestRenderEmailTemplateResponse> testRenderEmailTemplate(Consumer<TestRenderEmailTemplateRequest.Builder> testRenderEmailTemplateRequest)
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
TestRenderEmailTemplateRequest.Builder
avoiding the need to create one manually viaTestRenderEmailTemplateRequest.builder()
- Parameters:
testRenderEmailTemplateRequest
- AConsumer
that will call methods onTestRenderEmailTemplateRequest.Builder
to create a request. >Represents a request to create a preview of the MIME content of an email when provided with a template and a set of replacement data.- Returns:
- A Java Future containing the result of the TestRenderEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest)
Remove one or more tags (keys and values) from a specified resource.
- Parameters:
untagResourceRequest
-- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
untagResource
default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest)
Remove one or more tags (keys and values) from a specified resource.
This is a convenience which creates an instance of the
UntagResourceRequest.Builder
avoiding the need to create one manually viaUntagResourceRequest.builder()
- Parameters:
untagResourceRequest
- AConsumer
that will call methods onUntagResourceRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UntagResource operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConfigurationSetEventDestination
default CompletableFuture<UpdateConfigurationSetEventDestinationResponse> updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest updateConfigurationSetEventDestinationRequest)
Update the configuration of an event destination for a configuration set.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
- Parameters:
updateConfigurationSetEventDestinationRequest
- A request to change the settings for an event destination for a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateConfigurationSetEventDestination
default CompletableFuture<UpdateConfigurationSetEventDestinationResponse> updateConfigurationSetEventDestination(Consumer<UpdateConfigurationSetEventDestinationRequest.Builder> updateConfigurationSetEventDestinationRequest)
Update the configuration of an event destination for a configuration set.
Events include message sends, deliveries, opens, clicks, bounces, and complaints. Event destinations are places that you can send information about these events to. For example, you can send event data to Amazon SNS to receive notifications when you receive bounces or complaints, or you can use Amazon Kinesis Data Firehose to stream data to Amazon S3 for long-term storage.
This is a convenience which creates an instance of the
UpdateConfigurationSetEventDestinationRequest.Builder
avoiding the need to create one manually viaUpdateConfigurationSetEventDestinationRequest.builder()
- Parameters:
updateConfigurationSetEventDestinationRequest
- AConsumer
that will call methods onUpdateConfigurationSetEventDestinationRequest.Builder
to create a request. A request to change the settings for an event destination for a configuration set.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateContact
default CompletableFuture<UpdateContactResponse> updateContact(UpdateContactRequest updateContactRequest)
Updates a contact's preferences for a list.
You must specify all existing topic preferences in the
TopicPreferences
object, not just the ones that need updating; otherwise, all your existing preferences will be removed.- Parameters:
updateContactRequest
-- Returns:
- A Java Future containing the result of the UpdateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateContact
default CompletableFuture<UpdateContactResponse> updateContact(Consumer<UpdateContactRequest.Builder> updateContactRequest)
Updates a contact's preferences for a list.
You must specify all existing topic preferences in the
TopicPreferences
object, not just the ones that need updating; otherwise, all your existing preferences will be removed.
This is a convenience which creates an instance of the
UpdateContactRequest.Builder
avoiding the need to create one manually viaUpdateContactRequest.builder()
- Parameters:
updateContactRequest
- AConsumer
that will call methods onUpdateContactRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateContact operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateContactList
default CompletableFuture<UpdateContactListResponse> updateContactList(UpdateContactListRequest updateContactListRequest)
Updates contact list metadata. This operation does a complete replacement.
- Parameters:
updateContactListRequest
-- Returns:
- A Java Future containing the result of the UpdateContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateContactList
default CompletableFuture<UpdateContactListResponse> updateContactList(Consumer<UpdateContactListRequest.Builder> updateContactListRequest)
Updates contact list metadata. This operation does a complete replacement.
This is a convenience which creates an instance of the
UpdateContactListRequest.Builder
avoiding the need to create one manually viaUpdateContactListRequest.builder()
- Parameters:
updateContactListRequest
- AConsumer
that will call methods onUpdateContactListRequest.Builder
to create a request.- Returns:
- A Java Future containing the result of the UpdateContactList operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- NotFoundException The resource you attempted to access doesn't exist.
- ConcurrentModificationException The resource is being modified by another operation or thread.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCustomVerificationEmailTemplate
default CompletableFuture<UpdateCustomVerificationEmailTemplateResponse> updateCustomVerificationEmailTemplate(UpdateCustomVerificationEmailTemplateRequest updateCustomVerificationEmailTemplateRequest)
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.
- Parameters:
updateCustomVerificationEmailTemplateRequest
- Represents a request to update an existing custom verification email template.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateCustomVerificationEmailTemplate
default CompletableFuture<UpdateCustomVerificationEmailTemplateResponse> updateCustomVerificationEmailTemplate(Consumer<UpdateCustomVerificationEmailTemplateRequest.Builder> updateCustomVerificationEmailTemplateRequest)
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
UpdateCustomVerificationEmailTemplateRequest.Builder
avoiding the need to create one manually viaUpdateCustomVerificationEmailTemplateRequest.builder()
- Parameters:
updateCustomVerificationEmailTemplateRequest
- AConsumer
that will call methods onUpdateCustomVerificationEmailTemplateRequest.Builder
to create a request. Represents a request to update an existing custom verification email template.- Returns:
- 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.- NotFoundException The resource you attempted to access doesn't exist.
- BadRequestException The input you provided is invalid.
- TooManyRequestsException Too many requests have been made to the operation.
- 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEmailIdentityPolicy
default CompletableFuture<UpdateEmailIdentityPolicyResponse> updateEmailIdentityPolicy(UpdateEmailIdentityPolicyRequest updateEmailIdentityPolicyRequest)
Updates the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
- Parameters:
updateEmailIdentityPolicyRequest
- Represents a request to 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.- Returns:
- A Java Future containing the result of the UpdateEmailIdentityPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEmailIdentityPolicy
default CompletableFuture<UpdateEmailIdentityPolicyResponse> updateEmailIdentityPolicy(Consumer<UpdateEmailIdentityPolicyRequest.Builder> updateEmailIdentityPolicyRequest)
Updates the specified sending authorization policy for the given identity (an email address or a domain). This API returns successfully even if a policy with the specified name does not exist.
This API is for the identity owner only. If you have not verified the identity, this API will return an error.
Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
This is a convenience which creates an instance of the
UpdateEmailIdentityPolicyRequest.Builder
avoiding the need to create one manually viaUpdateEmailIdentityPolicyRequest.builder()
- Parameters:
updateEmailIdentityPolicyRequest
- AConsumer
that will call methods onUpdateEmailIdentityPolicyRequest.Builder
to create a request. Represents a request to 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.- Returns:
- A Java Future containing the result of the UpdateEmailIdentityPolicy operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEmailTemplate
default CompletableFuture<UpdateEmailTemplateResponse> updateEmailTemplate(UpdateEmailTemplateRequest updateEmailTemplateRequest)
Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single API operation. For more information, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
- Parameters:
updateEmailTemplateRequest
- Represents a request to update an email template. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the UpdateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
updateEmailTemplate
default CompletableFuture<UpdateEmailTemplateResponse> updateEmailTemplate(Consumer<UpdateEmailTemplateRequest.Builder> updateEmailTemplateRequest)
Updates an email template. Email templates enable you to send personalized email to one or more destinations in a single API 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
UpdateEmailTemplateRequest.Builder
avoiding the need to create one manually viaUpdateEmailTemplateRequest.builder()
- Parameters:
updateEmailTemplateRequest
- AConsumer
that will call methods onUpdateEmailTemplateRequest.Builder
to create a request. Represents a request to update an email template. For more information, see the Amazon SES Developer Guide.- Returns:
- A Java Future containing the result of the UpdateEmailTemplate operation returned by the service.
The CompletableFuture returned by this method can be completed exceptionally with the following exceptions.- NotFoundException The resource you attempted to access doesn't exist.
- TooManyRequestsException Too many requests have been made to the operation.
- BadRequestException The input you provided 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.
- SesV2Exception Base class for all service exceptions. Unknown exceptions will be thrown as an instance of this type.
- See Also:
- AWS API Documentation
-
serviceClientConfiguration
default SesV2ServiceClientConfiguration serviceClientConfiguration()
- Specified by:
serviceClientConfiguration
in interfaceAwsClient
- Specified by:
serviceClientConfiguration
in interfaceSdkClient
-
create
static SesV2AsyncClient create()
Create aSesV2AsyncClient
with the region loaded from theDefaultAwsRegionProviderChain
and credentials loaded from theDefaultCredentialsProvider
.
-
builder
static SesV2AsyncClientBuilder builder()
Create a builder that can be used to configure and create aSesV2AsyncClient
.
-
-