Interface SesV2AsyncClient
- All Superinterfaces:
AutoCloseable,AwsClient,SdkAutoCloseable,SdkClient
builder()
method.The asynchronous client performs non-blocking I/O when configured with any SdkAsyncHttpClient
supported in the SDK. However, full non-blocking is not guaranteed as the async client may perform blocking calls in
some cases such as credentials retrieval and endpoint discovery as part of the async API call.
Amazon 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
FieldsModifier and TypeFieldDescriptionstatic final StringValue for looking up the service's metadata from theServiceMetadataProvider.static final String -
Method Summary
Modifier and TypeMethodDescriptionbatchGetMetricData(Consumer<BatchGetMetricDataRequest.Builder> batchGetMetricDataRequest) Retrieves batches of metric data collected based on your sending activity.batchGetMetricData(BatchGetMetricDataRequest batchGetMetricDataRequest) Retrieves batches of metric data collected based on your sending activity.static SesV2AsyncClientBuilderbuilder()Create a builder that can be used to configure and create aSesV2AsyncClient.default CompletableFuture<CancelExportJobResponse> cancelExportJob(Consumer<CancelExportJobRequest.Builder> cancelExportJobRequest) Cancels an export job.default CompletableFuture<CancelExportJobResponse> cancelExportJob(CancelExportJobRequest cancelExportJobRequest) Cancels an export job.static SesV2AsyncClientcreate()Create aSesV2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider.createConfigurationSet(Consumer<CreateConfigurationSetRequest.Builder> createConfigurationSetRequest) Create a configuration set.createConfigurationSet(CreateConfigurationSetRequest createConfigurationSetRequest) Create a configuration set.createConfigurationSetEventDestination(Consumer<CreateConfigurationSetEventDestinationRequest.Builder> createConfigurationSetEventDestinationRequest) Create an event destination.createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest createConfigurationSetEventDestinationRequest) Create an event destination.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.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.createContactList(Consumer<CreateContactListRequest.Builder> createContactListRequest) Creates a contact list.createContactList(CreateContactListRequest createContactListRequest) Creates a contact list.createCustomVerificationEmailTemplate(Consumer<CreateCustomVerificationEmailTemplateRequest.Builder> createCustomVerificationEmailTemplateRequest) Creates a new custom verification email template.createCustomVerificationEmailTemplate(CreateCustomVerificationEmailTemplateRequest createCustomVerificationEmailTemplateRequest) Creates a new custom verification email template.createDedicatedIpPool(Consumer<CreateDedicatedIpPoolRequest.Builder> createDedicatedIpPoolRequest) Create a new pool of dedicated IP addresses.createDedicatedIpPool(CreateDedicatedIpPoolRequest createDedicatedIpPoolRequest) Create a new pool of dedicated IP addresses.createDeliverabilityTestReport(Consumer<CreateDeliverabilityTestReportRequest.Builder> createDeliverabilityTestReportRequest) Create a new predictive inbox placement test.createDeliverabilityTestReport(CreateDeliverabilityTestReportRequest createDeliverabilityTestReportRequest) Create a new predictive inbox placement test.createEmailIdentity(Consumer<CreateEmailIdentityRequest.Builder> createEmailIdentityRequest) Starts the process of verifying an email identity.createEmailIdentity(CreateEmailIdentityRequest createEmailIdentityRequest) Starts the process of verifying an email identity.createEmailIdentityPolicy(Consumer<CreateEmailIdentityPolicyRequest.Builder> createEmailIdentityPolicyRequest) Creates the specified sending authorization policy for the given identity (an email address or a domain).createEmailIdentityPolicy(CreateEmailIdentityPolicyRequest createEmailIdentityPolicyRequest) Creates the specified sending authorization policy for the given identity (an email address or a domain).createEmailTemplate(Consumer<CreateEmailTemplateRequest.Builder> createEmailTemplateRequest) Creates an email template.createEmailTemplate(CreateEmailTemplateRequest createEmailTemplateRequest) Creates an email template.default CompletableFuture<CreateExportJobResponse> createExportJob(Consumer<CreateExportJobRequest.Builder> createExportJobRequest) Creates an export job for a data source and destination.default CompletableFuture<CreateExportJobResponse> createExportJob(CreateExportJobRequest createExportJobRequest) Creates an export job for a data source and destination.default CompletableFuture<CreateImportJobResponse> createImportJob(Consumer<CreateImportJobRequest.Builder> createImportJobRequest) Creates an import job for a data destination.default CompletableFuture<CreateImportJobResponse> createImportJob(CreateImportJobRequest createImportJobRequest) Creates an import job for a data destination.deleteConfigurationSet(Consumer<DeleteConfigurationSetRequest.Builder> deleteConfigurationSetRequest) Delete an existing configuration set.deleteConfigurationSet(DeleteConfigurationSetRequest deleteConfigurationSetRequest) Delete an existing configuration set.deleteConfigurationSetEventDestination(Consumer<DeleteConfigurationSetEventDestinationRequest.Builder> deleteConfigurationSetEventDestinationRequest) Delete an event destination.deleteConfigurationSetEventDestination(DeleteConfigurationSetEventDestinationRequest deleteConfigurationSetEventDestinationRequest) Delete an event destination.default CompletableFuture<DeleteContactResponse> deleteContact(Consumer<DeleteContactRequest.Builder> deleteContactRequest) Removes a contact from a contact list.default CompletableFuture<DeleteContactResponse> deleteContact(DeleteContactRequest deleteContactRequest) Removes a contact from a contact list.deleteContactList(Consumer<DeleteContactListRequest.Builder> deleteContactListRequest) Deletes a contact list and all of the contacts on that list.deleteContactList(DeleteContactListRequest deleteContactListRequest) Deletes a contact list and all of the contacts on that list.deleteCustomVerificationEmailTemplate(Consumer<DeleteCustomVerificationEmailTemplateRequest.Builder> deleteCustomVerificationEmailTemplateRequest) Deletes an existing custom verification email template.deleteCustomVerificationEmailTemplate(DeleteCustomVerificationEmailTemplateRequest deleteCustomVerificationEmailTemplateRequest) Deletes an existing custom verification email template.deleteDedicatedIpPool(Consumer<DeleteDedicatedIpPoolRequest.Builder> deleteDedicatedIpPoolRequest) Delete a dedicated IP pool.deleteDedicatedIpPool(DeleteDedicatedIpPoolRequest deleteDedicatedIpPoolRequest) Delete a dedicated IP pool.deleteEmailIdentity(Consumer<DeleteEmailIdentityRequest.Builder> deleteEmailIdentityRequest) Deletes an email identity.deleteEmailIdentity(DeleteEmailIdentityRequest deleteEmailIdentityRequest) Deletes an email identity.deleteEmailIdentityPolicy(Consumer<DeleteEmailIdentityPolicyRequest.Builder> deleteEmailIdentityPolicyRequest) Deletes the specified sending authorization policy for the given identity (an email address or a domain).deleteEmailIdentityPolicy(DeleteEmailIdentityPolicyRequest deleteEmailIdentityPolicyRequest) Deletes the specified sending authorization policy for the given identity (an email address or a domain).deleteEmailTemplate(Consumer<DeleteEmailTemplateRequest.Builder> deleteEmailTemplateRequest) Deletes an email template.deleteEmailTemplate(DeleteEmailTemplateRequest deleteEmailTemplateRequest) Deletes an email template.deleteSuppressedDestination(Consumer<DeleteSuppressedDestinationRequest.Builder> deleteSuppressedDestinationRequest) Removes an email address from the suppression list for your account.deleteSuppressedDestination(DeleteSuppressedDestinationRequest deleteSuppressedDestinationRequest) Removes an email address from the suppression list for your account.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.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.getBlacklistReports(Consumer<GetBlacklistReportsRequest.Builder> getBlacklistReportsRequest) Retrieve a list of the blacklists that your dedicated IP addresses appear on.getBlacklistReports(GetBlacklistReportsRequest getBlacklistReportsRequest) Retrieve a list of the blacklists that your dedicated IP addresses appear on.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.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.getConfigurationSetEventDestinations(Consumer<GetConfigurationSetEventDestinationsRequest.Builder> getConfigurationSetEventDestinationsRequest) Retrieve a list of event destinations that are associated with a configuration set.getConfigurationSetEventDestinations(GetConfigurationSetEventDestinationsRequest getConfigurationSetEventDestinationsRequest) Retrieve a list of event destinations that are associated with a configuration set.default CompletableFuture<GetContactResponse> getContact(Consumer<GetContactRequest.Builder> getContactRequest) Returns a contact from a contact list.default CompletableFuture<GetContactResponse> getContact(GetContactRequest getContactRequest) Returns a contact from a contact list.default CompletableFuture<GetContactListResponse> getContactList(Consumer<GetContactListRequest.Builder> getContactListRequest) Returns contact list metadata.default CompletableFuture<GetContactListResponse> getContactList(GetContactListRequest getContactListRequest) Returns contact list metadata.getCustomVerificationEmailTemplate(Consumer<GetCustomVerificationEmailTemplateRequest.Builder> getCustomVerificationEmailTemplateRequest) Returns the custom email verification template for the template name you specify.getCustomVerificationEmailTemplate(GetCustomVerificationEmailTemplateRequest getCustomVerificationEmailTemplateRequest) Returns the custom email verification template for the template name you specify.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.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.getDedicatedIpPool(Consumer<GetDedicatedIpPoolRequest.Builder> getDedicatedIpPoolRequest) Retrieve information about the dedicated pool.getDedicatedIpPool(GetDedicatedIpPoolRequest getDedicatedIpPoolRequest) Retrieve information about the dedicated pool.default CompletableFuture<GetDedicatedIpsResponse> getDedicatedIps(Consumer<GetDedicatedIpsRequest.Builder> getDedicatedIpsRequest) List the dedicated IP addresses that are associated with your Amazon Web Services account.default CompletableFuture<GetDedicatedIpsResponse> getDedicatedIps(GetDedicatedIpsRequest getDedicatedIpsRequest) List the dedicated IP addresses that are associated with your Amazon Web Services account.default GetDedicatedIpsPublishergetDedicatedIpsPaginator(Consumer<GetDedicatedIpsRequest.Builder> getDedicatedIpsRequest) This is a variant ofgetDedicatedIps(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsRequest)operation.default GetDedicatedIpsPublishergetDedicatedIpsPaginator(GetDedicatedIpsRequest getDedicatedIpsRequest) This is a variant ofgetDedicatedIps(software.amazon.awssdk.services.sesv2.model.GetDedicatedIpsRequest)operation.getDeliverabilityDashboardOptions(Consumer<GetDeliverabilityDashboardOptionsRequest.Builder> getDeliverabilityDashboardOptionsRequest) Retrieve information about the status of the Deliverability dashboard for your account.getDeliverabilityDashboardOptions(GetDeliverabilityDashboardOptionsRequest getDeliverabilityDashboardOptionsRequest) Retrieve information about the status of the Deliverability dashboard for your account.getDeliverabilityTestReport(Consumer<GetDeliverabilityTestReportRequest.Builder> getDeliverabilityTestReportRequest) Retrieve the results of a predictive inbox placement test.getDeliverabilityTestReport(GetDeliverabilityTestReportRequest getDeliverabilityTestReportRequest) Retrieve the results of a predictive inbox placement test.getDomainDeliverabilityCampaign(Consumer<GetDomainDeliverabilityCampaignRequest.Builder> getDomainDeliverabilityCampaignRequest) Retrieve all the deliverability data for a specific campaign.getDomainDeliverabilityCampaign(GetDomainDeliverabilityCampaignRequest getDomainDeliverabilityCampaignRequest) Retrieve all the deliverability data for a specific campaign.getDomainStatisticsReport(Consumer<GetDomainStatisticsReportRequest.Builder> getDomainStatisticsReportRequest) Retrieve inbox placement and engagement rates for the domains that you use to send email.getDomainStatisticsReport(GetDomainStatisticsReportRequest getDomainStatisticsReportRequest) Retrieve inbox placement and engagement rates for the domains that you use to send email.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.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.getEmailIdentityPolicies(Consumer<GetEmailIdentityPoliciesRequest.Builder> getEmailIdentityPoliciesRequest) Returns the requested sending authorization policies for the given identity (an email address or a domain).getEmailIdentityPolicies(GetEmailIdentityPoliciesRequest getEmailIdentityPoliciesRequest) Returns the requested sending authorization policies for the given identity (an email address or a domain).getEmailTemplate(Consumer<GetEmailTemplateRequest.Builder> getEmailTemplateRequest) Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.getEmailTemplate(GetEmailTemplateRequest getEmailTemplateRequest) Displays the template object (which includes the subject line, HTML part and text part) for the template you specify.default CompletableFuture<GetExportJobResponse> getExportJob(Consumer<GetExportJobRequest.Builder> getExportJobRequest) Provides information about an export job.default CompletableFuture<GetExportJobResponse> getExportJob(GetExportJobRequest getExportJobRequest) Provides information about an export job.default CompletableFuture<GetImportJobResponse> getImportJob(Consumer<GetImportJobRequest.Builder> getImportJobRequest) Provides information about an import job.default CompletableFuture<GetImportJobResponse> getImportJob(GetImportJobRequest getImportJobRequest) Provides information about an import job.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.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.getSuppressedDestination(Consumer<GetSuppressedDestinationRequest.Builder> getSuppressedDestinationRequest) Retrieves information about a specific email address that's on the suppression list for your account.getSuppressedDestination(GetSuppressedDestinationRequest getSuppressedDestinationRequest) Retrieves information about a specific email address that's on the suppression list for your account.listConfigurationSets(Consumer<ListConfigurationSetsRequest.Builder> listConfigurationSetsRequest) List all of the configuration sets associated with your account in the current region.listConfigurationSets(ListConfigurationSetsRequest listConfigurationSetsRequest) List all of the configuration sets associated with your account in the current region.default ListConfigurationSetsPublisherlistConfigurationSetsPaginator(Consumer<ListConfigurationSetsRequest.Builder> listConfigurationSetsRequest) This is a variant oflistConfigurationSets(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsRequest)operation.default ListConfigurationSetsPublisherlistConfigurationSetsPaginator(ListConfigurationSetsRequest listConfigurationSetsRequest) This is a variant oflistConfigurationSets(software.amazon.awssdk.services.sesv2.model.ListConfigurationSetsRequest)operation.listContactLists(Consumer<ListContactListsRequest.Builder> listContactListsRequest) Lists all of the contact lists available.listContactLists(ListContactListsRequest listContactListsRequest) Lists all of the contact lists available.default ListContactListsPublisherlistContactListsPaginator(Consumer<ListContactListsRequest.Builder> listContactListsRequest) This is a variant oflistContactLists(software.amazon.awssdk.services.sesv2.model.ListContactListsRequest)operation.default ListContactListsPublisherlistContactListsPaginator(ListContactListsRequest listContactListsRequest) This is a variant oflistContactLists(software.amazon.awssdk.services.sesv2.model.ListContactListsRequest)operation.default CompletableFuture<ListContactsResponse> listContacts(Consumer<ListContactsRequest.Builder> listContactsRequest) Lists the contacts present in a specific contact list.default CompletableFuture<ListContactsResponse> listContacts(ListContactsRequest listContactsRequest) Lists the contacts present in a specific contact list.default ListContactsPublisherlistContactsPaginator(Consumer<ListContactsRequest.Builder> listContactsRequest) This is a variant oflistContacts(software.amazon.awssdk.services.sesv2.model.ListContactsRequest)operation.default ListContactsPublisherlistContactsPaginator(ListContactsRequest listContactsRequest) This is a variant oflistContacts(software.amazon.awssdk.services.sesv2.model.ListContactsRequest)operation.listCustomVerificationEmailTemplates(Consumer<ListCustomVerificationEmailTemplatesRequest.Builder> listCustomVerificationEmailTemplatesRequest) Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.listCustomVerificationEmailTemplates(ListCustomVerificationEmailTemplatesRequest listCustomVerificationEmailTemplatesRequest) Lists the existing custom verification email templates for your account in the current Amazon Web Services Region.listCustomVerificationEmailTemplatesPaginator(Consumer<ListCustomVerificationEmailTemplatesRequest.Builder> listCustomVerificationEmailTemplatesRequest) This is a variant oflistCustomVerificationEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesRequest)operation.listCustomVerificationEmailTemplatesPaginator(ListCustomVerificationEmailTemplatesRequest listCustomVerificationEmailTemplatesRequest) This is a variant oflistCustomVerificationEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListCustomVerificationEmailTemplatesRequest)operation.listDedicatedIpPools(Consumer<ListDedicatedIpPoolsRequest.Builder> listDedicatedIpPoolsRequest) List all of the dedicated IP pools that exist in your Amazon Web Services account in the current Region.listDedicatedIpPools(ListDedicatedIpPoolsRequest listDedicatedIpPoolsRequest) List all of the dedicated IP pools that exist in your Amazon Web Services account in the current Region.default ListDedicatedIpPoolsPublisherlistDedicatedIpPoolsPaginator(Consumer<ListDedicatedIpPoolsRequest.Builder> listDedicatedIpPoolsRequest) This is a variant oflistDedicatedIpPools(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsRequest)operation.default ListDedicatedIpPoolsPublisherlistDedicatedIpPoolsPaginator(ListDedicatedIpPoolsRequest listDedicatedIpPoolsRequest) This is a variant oflistDedicatedIpPools(software.amazon.awssdk.services.sesv2.model.ListDedicatedIpPoolsRequest)operation.listDeliverabilityTestReports(Consumer<ListDeliverabilityTestReportsRequest.Builder> listDeliverabilityTestReportsRequest) Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses.listDeliverabilityTestReports(ListDeliverabilityTestReportsRequest listDeliverabilityTestReportsRequest) Show a list of the predictive inbox placement tests that you've performed, regardless of their statuses.listDeliverabilityTestReportsPaginator(Consumer<ListDeliverabilityTestReportsRequest.Builder> listDeliverabilityTestReportsRequest) This is a variant oflistDeliverabilityTestReports(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsRequest)operation.listDeliverabilityTestReportsPaginator(ListDeliverabilityTestReportsRequest listDeliverabilityTestReportsRequest) This is a variant oflistDeliverabilityTestReports(software.amazon.awssdk.services.sesv2.model.ListDeliverabilityTestReportsRequest)operation.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.listDomainDeliverabilityCampaigns(ListDomainDeliverabilityCampaignsRequest listDomainDeliverabilityCampaignsRequest) Retrieve deliverability data for all the campaigns that used a specific domain to send email during a specified time range.listDomainDeliverabilityCampaignsPaginator(Consumer<ListDomainDeliverabilityCampaignsRequest.Builder> listDomainDeliverabilityCampaignsRequest) This is a variant oflistDomainDeliverabilityCampaigns(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsRequest)operation.listDomainDeliverabilityCampaignsPaginator(ListDomainDeliverabilityCampaignsRequest listDomainDeliverabilityCampaignsRequest) This is a variant oflistDomainDeliverabilityCampaigns(software.amazon.awssdk.services.sesv2.model.ListDomainDeliverabilityCampaignsRequest)operation.listEmailIdentities(Consumer<ListEmailIdentitiesRequest.Builder> listEmailIdentitiesRequest) Returns a list of all of the email identities that are associated with your Amazon Web Services account.listEmailIdentities(ListEmailIdentitiesRequest listEmailIdentitiesRequest) Returns a list of all of the email identities that are associated with your Amazon Web Services account.default ListEmailIdentitiesPublisherlistEmailIdentitiesPaginator(Consumer<ListEmailIdentitiesRequest.Builder> listEmailIdentitiesRequest) This is a variant oflistEmailIdentities(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesRequest)operation.default ListEmailIdentitiesPublisherlistEmailIdentitiesPaginator(ListEmailIdentitiesRequest listEmailIdentitiesRequest) This is a variant oflistEmailIdentities(software.amazon.awssdk.services.sesv2.model.ListEmailIdentitiesRequest)operation.listEmailTemplates(Consumer<ListEmailTemplatesRequest.Builder> listEmailTemplatesRequest) Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.listEmailTemplates(ListEmailTemplatesRequest listEmailTemplatesRequest) Lists the email templates present in your Amazon SES account in the current Amazon Web Services Region.default ListEmailTemplatesPublisherlistEmailTemplatesPaginator(Consumer<ListEmailTemplatesRequest.Builder> listEmailTemplatesRequest) This is a variant oflistEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesRequest)operation.default ListEmailTemplatesPublisherlistEmailTemplatesPaginator(ListEmailTemplatesRequest listEmailTemplatesRequest) This is a variant oflistEmailTemplates(software.amazon.awssdk.services.sesv2.model.ListEmailTemplatesRequest)operation.default CompletableFuture<ListExportJobsResponse> listExportJobs(Consumer<ListExportJobsRequest.Builder> listExportJobsRequest) Lists all of the export jobs.default CompletableFuture<ListExportJobsResponse> listExportJobs(ListExportJobsRequest listExportJobsRequest) Lists all of the export jobs.default ListExportJobsPublisherlistExportJobsPaginator(Consumer<ListExportJobsRequest.Builder> listExportJobsRequest) This is a variant oflistExportJobs(software.amazon.awssdk.services.sesv2.model.ListExportJobsRequest)operation.default ListExportJobsPublisherlistExportJobsPaginator(ListExportJobsRequest listExportJobsRequest) This is a variant oflistExportJobs(software.amazon.awssdk.services.sesv2.model.ListExportJobsRequest)operation.default CompletableFuture<ListImportJobsResponse> listImportJobs(Consumer<ListImportJobsRequest.Builder> listImportJobsRequest) Lists all of the import jobs.default CompletableFuture<ListImportJobsResponse> listImportJobs(ListImportJobsRequest listImportJobsRequest) Lists all of the import jobs.default ListImportJobsPublisherlistImportJobsPaginator(Consumer<ListImportJobsRequest.Builder> listImportJobsRequest) This is a variant oflistImportJobs(software.amazon.awssdk.services.sesv2.model.ListImportJobsRequest)operation.default ListImportJobsPublisherlistImportJobsPaginator(ListImportJobsRequest listImportJobsRequest) This is a variant oflistImportJobs(software.amazon.awssdk.services.sesv2.model.ListImportJobsRequest)operation.listRecommendations(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) Lists the recommendations present in your Amazon SES account in the current Amazon Web Services Region.listRecommendations(ListRecommendationsRequest listRecommendationsRequest) Lists the recommendations present in your Amazon SES account in the current Amazon Web Services Region.default ListRecommendationsPublisherlistRecommendationsPaginator(Consumer<ListRecommendationsRequest.Builder> listRecommendationsRequest) This is a variant oflistRecommendations(software.amazon.awssdk.services.sesv2.model.ListRecommendationsRequest)operation.default ListRecommendationsPublisherlistRecommendationsPaginator(ListRecommendationsRequest listRecommendationsRequest) This is a variant oflistRecommendations(software.amazon.awssdk.services.sesv2.model.ListRecommendationsRequest)operation.listSuppressedDestinations(Consumer<ListSuppressedDestinationsRequest.Builder> listSuppressedDestinationsRequest) Retrieves a list of email addresses that are on the suppression list for your account.listSuppressedDestinations(ListSuppressedDestinationsRequest listSuppressedDestinationsRequest) Retrieves a list of email addresses that are on the suppression list for your account.listSuppressedDestinationsPaginator(Consumer<ListSuppressedDestinationsRequest.Builder> listSuppressedDestinationsRequest) This is a variant oflistSuppressedDestinations(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsRequest)operation.listSuppressedDestinationsPaginator(ListSuppressedDestinationsRequest listSuppressedDestinationsRequest) This is a variant oflistSuppressedDestinations(software.amazon.awssdk.services.sesv2.model.ListSuppressedDestinationsRequest)operation.listTagsForResource(Consumer<ListTagsForResourceRequest.Builder> listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified resource.listTagsForResource(ListTagsForResourceRequest listTagsForResourceRequest) Retrieve a list of the tags (keys and values) that are associated with a specified resource.putAccountDedicatedIpWarmupAttributes(Consumer<PutAccountDedicatedIpWarmupAttributesRequest.Builder> putAccountDedicatedIpWarmupAttributesRequest) Enable or disable the automatic warm-up feature for dedicated IP addresses.putAccountDedicatedIpWarmupAttributes(PutAccountDedicatedIpWarmupAttributesRequest putAccountDedicatedIpWarmupAttributesRequest) Enable or disable the automatic warm-up feature for dedicated IP addresses.putAccountDetails(Consumer<PutAccountDetailsRequest.Builder> putAccountDetailsRequest) Update your Amazon SES account details.putAccountDetails(PutAccountDetailsRequest putAccountDetailsRequest) Update your Amazon SES account details.putAccountSendingAttributes(Consumer<PutAccountSendingAttributesRequest.Builder> putAccountSendingAttributesRequest) Enable or disable the ability of your account to send email.putAccountSendingAttributes(PutAccountSendingAttributesRequest putAccountSendingAttributesRequest) Enable or disable the ability of your account to send email.putAccountSuppressionAttributes(Consumer<PutAccountSuppressionAttributesRequest.Builder> putAccountSuppressionAttributesRequest) Change the settings for the account-level suppression list.putAccountSuppressionAttributes(PutAccountSuppressionAttributesRequest putAccountSuppressionAttributesRequest) Change the settings for the account-level suppression list.putAccountVdmAttributes(Consumer<PutAccountVdmAttributesRequest.Builder> putAccountVdmAttributesRequest) Update your Amazon SES account VDM attributes.putAccountVdmAttributes(PutAccountVdmAttributesRequest putAccountVdmAttributesRequest) Update your Amazon SES account VDM attributes.putConfigurationSetDeliveryOptions(Consumer<PutConfigurationSetDeliveryOptionsRequest.Builder> putConfigurationSetDeliveryOptionsRequest) Associate a configuration set with a dedicated IP pool.putConfigurationSetDeliveryOptions(PutConfigurationSetDeliveryOptionsRequest putConfigurationSetDeliveryOptionsRequest) Associate a configuration set with a dedicated IP pool.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.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.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.putConfigurationSetSendingOptions(PutConfigurationSetSendingOptionsRequest putConfigurationSetSendingOptionsRequest) Enable or disable email sending for messages that use a particular configuration set in a specific Amazon Web Services Region.putConfigurationSetSuppressionOptions(Consumer<PutConfigurationSetSuppressionOptionsRequest.Builder> putConfigurationSetSuppressionOptionsRequest) Specify the account suppression list preferences for a configuration set.putConfigurationSetSuppressionOptions(PutConfigurationSetSuppressionOptionsRequest putConfigurationSetSuppressionOptionsRequest) Specify the account suppression list preferences for a configuration set.putConfigurationSetTrackingOptions(Consumer<PutConfigurationSetTrackingOptionsRequest.Builder> putConfigurationSetTrackingOptionsRequest) Specify a custom domain to use for open and click tracking elements in email that you send.putConfigurationSetTrackingOptions(PutConfigurationSetTrackingOptionsRequest putConfigurationSetTrackingOptionsRequest) Specify a custom domain to use for open and click tracking elements in email that you send.putConfigurationSetVdmOptions(Consumer<PutConfigurationSetVdmOptionsRequest.Builder> putConfigurationSetVdmOptionsRequest) Specify VDM preferences for email that you send using the configuration set.putConfigurationSetVdmOptions(PutConfigurationSetVdmOptionsRequest putConfigurationSetVdmOptionsRequest) Specify VDM preferences for email that you send using the configuration set.putDedicatedIpInPool(Consumer<PutDedicatedIpInPoolRequest.Builder> putDedicatedIpInPoolRequest) Move a dedicated IP address to an existing dedicated IP pool.putDedicatedIpInPool(PutDedicatedIpInPoolRequest putDedicatedIpInPoolRequest) Move a dedicated IP address to an existing dedicated IP pool.putDedicatedIpPoolScalingAttributes(Consumer<PutDedicatedIpPoolScalingAttributesRequest.Builder> putDedicatedIpPoolScalingAttributesRequest) Used to convert a dedicated IP pool to a different scaling mode.putDedicatedIpPoolScalingAttributes(PutDedicatedIpPoolScalingAttributesRequest putDedicatedIpPoolScalingAttributesRequest) Used to convert a dedicated IP pool to a different scaling mode.putDedicatedIpWarmupAttributes(Consumer<PutDedicatedIpWarmupAttributesRequest.Builder> putDedicatedIpWarmupAttributesRequest) putDedicatedIpWarmupAttributes(PutDedicatedIpWarmupAttributesRequest putDedicatedIpWarmupAttributesRequest) putDeliverabilityDashboardOption(Consumer<PutDeliverabilityDashboardOptionRequest.Builder> putDeliverabilityDashboardOptionRequest) Enable or disable the Deliverability dashboard.putDeliverabilityDashboardOption(PutDeliverabilityDashboardOptionRequest putDeliverabilityDashboardOptionRequest) Enable or disable the Deliverability dashboard.putEmailIdentityConfigurationSetAttributes(Consumer<PutEmailIdentityConfigurationSetAttributesRequest.Builder> putEmailIdentityConfigurationSetAttributesRequest) Used to associate a configuration set with an email identity.putEmailIdentityConfigurationSetAttributes(PutEmailIdentityConfigurationSetAttributesRequest putEmailIdentityConfigurationSetAttributesRequest) Used to associate a configuration set with an email identity.putEmailIdentityDkimAttributes(Consumer<PutEmailIdentityDkimAttributesRequest.Builder> putEmailIdentityDkimAttributesRequest) Used to enable or disable DKIM authentication for an email identity.putEmailIdentityDkimAttributes(PutEmailIdentityDkimAttributesRequest putEmailIdentityDkimAttributesRequest) Used to enable or disable DKIM authentication for an email identity.putEmailIdentityDkimSigningAttributes(Consumer<PutEmailIdentityDkimSigningAttributesRequest.Builder> putEmailIdentityDkimSigningAttributesRequest) Used to configure or change the DKIM authentication settings for an email domain identity.putEmailIdentityDkimSigningAttributes(PutEmailIdentityDkimSigningAttributesRequest putEmailIdentityDkimSigningAttributesRequest) Used to configure or change the DKIM authentication settings for an email domain identity.putEmailIdentityFeedbackAttributes(Consumer<PutEmailIdentityFeedbackAttributesRequest.Builder> putEmailIdentityFeedbackAttributesRequest) Used to enable or disable feedback forwarding for an identity.putEmailIdentityFeedbackAttributes(PutEmailIdentityFeedbackAttributesRequest putEmailIdentityFeedbackAttributesRequest) Used to enable or disable feedback forwarding for an identity.putEmailIdentityMailFromAttributes(Consumer<PutEmailIdentityMailFromAttributesRequest.Builder> putEmailIdentityMailFromAttributesRequest) Used to enable or disable the custom Mail-From domain configuration for an email identity.putEmailIdentityMailFromAttributes(PutEmailIdentityMailFromAttributesRequest putEmailIdentityMailFromAttributesRequest) Used to enable or disable the custom Mail-From domain configuration for an email identity.putSuppressedDestination(Consumer<PutSuppressedDestinationRequest.Builder> putSuppressedDestinationRequest) Adds an email address to the suppression list for your account.putSuppressedDestination(PutSuppressedDestinationRequest putSuppressedDestinationRequest) Adds an email address to the suppression list for your account.default CompletableFuture<SendBulkEmailResponse> sendBulkEmail(Consumer<SendBulkEmailRequest.Builder> sendBulkEmailRequest) Composes an email message to multiple destinations.default CompletableFuture<SendBulkEmailResponse> sendBulkEmail(SendBulkEmailRequest sendBulkEmailRequest) Composes an email message to multiple destinations.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.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.default CompletableFuture<SendEmailResponse> sendEmail(Consumer<SendEmailRequest.Builder> sendEmailRequest) Sends an email message.default CompletableFuture<SendEmailResponse> sendEmail(SendEmailRequest sendEmailRequest) Sends an email message.default SesV2ServiceClientConfigurationThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfigurationdefault CompletableFuture<TagResourceResponse> tagResource(Consumer<TagResourceRequest.Builder> tagResourceRequest) Add one or more tags (keys and values) to a specified resource.default CompletableFuture<TagResourceResponse> tagResource(TagResourceRequest tagResourceRequest) Add one or more tags (keys and values) to a specified resource.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.testRenderEmailTemplate(TestRenderEmailTemplateRequest testRenderEmailTemplateRequest) Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.default CompletableFuture<UntagResourceResponse> untagResource(Consumer<UntagResourceRequest.Builder> untagResourceRequest) Remove one or more tags (keys and values) from a specified resource.default CompletableFuture<UntagResourceResponse> untagResource(UntagResourceRequest untagResourceRequest) Remove one or more tags (keys and values) from a specified resource.updateConfigurationSetEventDestination(Consumer<UpdateConfigurationSetEventDestinationRequest.Builder> updateConfigurationSetEventDestinationRequest) Update the configuration of an event destination for a configuration set.updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest updateConfigurationSetEventDestinationRequest) Update the configuration of an event destination for a configuration set.default CompletableFuture<UpdateContactResponse> updateContact(Consumer<UpdateContactRequest.Builder> updateContactRequest) Updates a contact's preferences for a list.default CompletableFuture<UpdateContactResponse> updateContact(UpdateContactRequest updateContactRequest) Updates a contact's preferences for a list.updateContactList(Consumer<UpdateContactListRequest.Builder> updateContactListRequest) Updates contact list metadata.updateContactList(UpdateContactListRequest updateContactListRequest) Updates contact list metadata.updateCustomVerificationEmailTemplate(Consumer<UpdateCustomVerificationEmailTemplateRequest.Builder> updateCustomVerificationEmailTemplateRequest) Updates an existing custom verification email template.updateCustomVerificationEmailTemplate(UpdateCustomVerificationEmailTemplateRequest updateCustomVerificationEmailTemplateRequest) Updates an existing custom verification email template.updateEmailIdentityPolicy(Consumer<UpdateEmailIdentityPolicyRequest.Builder> updateEmailIdentityPolicyRequest) Updates the specified sending authorization policy for the given identity (an email address or a domain).updateEmailIdentityPolicy(UpdateEmailIdentityPolicyRequest updateEmailIdentityPolicyRequest) Updates the specified sending authorization policy for the given identity (an email address or a domain).updateEmailTemplate(Consumer<UpdateEmailTemplateRequest.Builder> updateEmailTemplateRequest) Updates an email template.updateEmailTemplate(UpdateEmailTemplateRequest updateEmailTemplateRequest) Updates an email template.Methods inherited from interface software.amazon.awssdk.utils.SdkAutoCloseable
closeMethods inherited from interface software.amazon.awssdk.core.SdkClient
serviceName
-
Field Details
-
SERVICE_NAME
- See Also:
-
SERVICE_METADATA_ID
Value for looking up the service's metadata from theServiceMetadataProvider.- See Also:
-
-
Method Details
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaBatchGetMetricDataRequest.builder()- Parameters:
batchGetMetricDataRequest- AConsumerthat will call methods onBatchGetMetricDataRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
cancelExportJob
default CompletableFuture<CancelExportJobResponse> cancelExportJob(Consumer<CancelExportJobRequest.Builder> cancelExportJobRequest) Cancels an export job.
This is a convenience which creates an instance of the
CancelExportJobRequest.Builderavoiding the need to create one manually viaCancelExportJobRequest.builder()- Parameters:
cancelExportJobRequest- AConsumerthat will call methods onCancelExportJobRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateConfigurationSetRequest.builder()- Parameters:
createConfigurationSetRequest- AConsumerthat will call methods onCreateConfigurationSetRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
A single configuration set can include more than one event destination.
This is a convenience which creates an instance of the
CreateConfigurationSetEventDestinationRequest.Builderavoiding the need to create one manually viaCreateConfigurationSetEventDestinationRequest.builder()- Parameters:
createConfigurationSetEventDestinationRequest- AConsumerthat will call methods onCreateConfigurationSetEventDestinationRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateContactRequest.builder()- Parameters:
createContactRequest- AConsumerthat will call methods onCreateContactRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
createContactList
default CompletableFuture<CreateContactListResponse> createContactList(Consumer<CreateContactListRequest.Builder> createContactListRequest) Creates a contact list.
This is a convenience which creates an instance of the
CreateContactListRequest.Builderavoiding the need to create one manually viaCreateContactListRequest.builder()- Parameters:
createContactListRequest- AConsumerthat will call methods onCreateContactListRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateCustomVerificationEmailTemplateRequest.builder()- Parameters:
createCustomVerificationEmailTemplateRequest- AConsumerthat will call methods onCreateCustomVerificationEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateDedicatedIpPoolRequest.builder()- Parameters:
createDedicatedIpPoolRequest- AConsumerthat will call methods onCreateDedicatedIpPoolRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
GetDeliverabilityTestReportoperation 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 theGetDeliverabilityTestReportoperation 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
GetDeliverabilityTestReportoperation to view the results of the test.
This is a convenience which creates an instance of the
CreateDeliverabilityTestReportRequest.Builderavoiding the need to create one manually viaCreateDeliverabilityTestReportRequest.builder()- Parameters:
createDeliverabilityTestReportRequest- AConsumerthat will call methods onCreateDeliverabilityTestReportRequest.Builderto 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 theGetDeliverabilityTestReportoperation 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
DkimSigningAttributesobject, 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
CreateEmailIdentityoperation has to include theDkimSigningAttributesobject. 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
DkimSigningAttributesobject, 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
CreateEmailIdentityoperation has to include theDkimSigningAttributesobject. 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.Builderavoiding the need to create one manually viaCreateEmailIdentityRequest.builder()- Parameters:
createEmailIdentityRequest- AConsumerthat will call methods onCreateEmailIdentityRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateEmailIdentityPolicyRequest.builder()- Parameters:
createEmailIdentityPolicyRequest- AConsumerthat will call methods onCreateEmailIdentityPolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateEmailTemplateRequest.builder()- Parameters:
createEmailTemplateRequest- AConsumerthat will call methods onCreateEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateExportJobRequest.builder()- Parameters:
createExportJobRequest- AConsumerthat will call methods onCreateExportJobRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaCreateImportJobRequest.builder()- Parameters:
createImportJobRequest- AConsumerthat will call methods onCreateImportJobRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteConfigurationSetRequest.builder()- Parameters:
deleteConfigurationSetRequest- AConsumerthat will call methods onDeleteConfigurationSetRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
This is a convenience which creates an instance of the
DeleteConfigurationSetEventDestinationRequest.Builderavoiding the need to create one manually viaDeleteConfigurationSetEventDestinationRequest.builder()- Parameters:
deleteConfigurationSetEventDestinationRequest- AConsumerthat will call methods onDeleteConfigurationSetEventDestinationRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteContactRequest.builder()- Parameters:
deleteContactRequest- AConsumerthat will call methods onDeleteContactRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteContactListRequest.builder()- Parameters:
deleteContactListRequest- AConsumerthat will call methods onDeleteContactListRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteCustomVerificationEmailTemplateRequest.builder()- Parameters:
deleteCustomVerificationEmailTemplateRequest- AConsumerthat will call methods onDeleteCustomVerificationEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteDedicatedIpPoolRequest.builder()- Parameters:
deleteDedicatedIpPoolRequest- AConsumerthat will call methods onDeleteDedicatedIpPoolRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteEmailIdentityRequest.builder()- Parameters:
deleteEmailIdentityRequest- AConsumerthat will call methods onDeleteEmailIdentityRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteEmailIdentityPolicyRequest.builder()- Parameters:
deleteEmailIdentityPolicyRequest- AConsumerthat will call methods onDeleteEmailIdentityPolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteEmailTemplateRequest.builder()- Parameters:
deleteEmailTemplateRequest- AConsumerthat will call methods onDeleteEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaDeleteSuppressedDestinationRequest.builder()- Parameters:
deleteSuppressedDestinationRequest- AConsumerthat will call methods onDeleteSuppressedDestinationRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
getAccount
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetAccountRequest.builder()- Parameters:
getAccountRequest- AConsumerthat will call methods onGetAccountRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetBlacklistReportsRequest.builder()- Parameters:
getBlacklistReportsRequest- AConsumerthat will call methods onGetBlacklistReportsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetConfigurationSetRequest.builder()- Parameters:
getConfigurationSetRequest- AConsumerthat will call methods onGetConfigurationSetRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
This is a convenience which creates an instance of the
GetConfigurationSetEventDestinationsRequest.Builderavoiding the need to create one manually viaGetConfigurationSetEventDestinationsRequest.builder()- Parameters:
getConfigurationSetEventDestinationsRequest- AConsumerthat will call methods onGetConfigurationSetEventDestinationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
getContact
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetContactRequest.builder()- Parameters:
getContactRequest- AConsumerthat will call methods onGetContactRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetContactListRequest.builder()- Parameters:
getContactListRequest- AConsumerthat will call methods onGetContactListRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetCustomVerificationEmailTemplateRequest.builder()- Parameters:
getCustomVerificationEmailTemplateRequest- AConsumerthat will call methods onGetCustomVerificationEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetDedicatedIpRequest.builder()- Parameters:
getDedicatedIpRequest- AConsumerthat will call methods onGetDedicatedIpRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetDedicatedIpPoolRequest.builder()- Parameters:
getDedicatedIpPoolRequest- AConsumerthat will call methods onGetDedicatedIpPoolRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetDedicatedIpsRequest.builder()- Parameters:
getDedicatedIpsRequest- AConsumerthat will call methods onGetDedicatedIpsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.GetDedicatedIpsPublisher publisher = client.getDedicatedIpsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.GetDedicatedIpsPublisher publisher = client.getDedicatedIpsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaGetDedicatedIpsRequest.builder()- Parameters:
getDedicatedIpsRequest- AConsumerthat will call methods onGetDedicatedIpsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetDeliverabilityDashboardOptionsRequest.builder()- Parameters:
getDeliverabilityDashboardOptionsRequest- AConsumerthat will call methods onGetDeliverabilityDashboardOptionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetDeliverabilityTestReportRequest.builder()- Parameters:
getDeliverabilityTestReportRequest- AConsumerthat will call methods onGetDeliverabilityTestReportRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 (PutDeliverabilityDashboardOptionoperation).- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetDomainDeliverabilityCampaignRequest.builder()- Parameters:
getDomainDeliverabilityCampaignRequest- AConsumerthat will call methods onGetDomainDeliverabilityCampaignRequest.Builderto 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 (PutDeliverabilityDashboardOptionoperation).- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetDomainStatisticsReportRequest.builder()- Parameters:
getDomainStatisticsReportRequest- AConsumerthat will call methods onGetDomainStatisticsReportRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetEmailIdentityRequest.builder()- Parameters:
getEmailIdentityRequest- AConsumerthat will call methods onGetEmailIdentityRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetEmailIdentityPoliciesRequest.builder()- Parameters:
getEmailIdentityPoliciesRequest- AConsumerthat will call methods onGetEmailIdentityPoliciesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetEmailTemplateRequest.builder()- Parameters:
getEmailTemplateRequest- AConsumerthat will call methods onGetEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetExportJobRequest.builder()- Parameters:
getExportJobRequest- AConsumerthat will call methods onGetExportJobRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetImportJobRequest.builder()- Parameters:
getImportJobRequest- AConsumerthat will call methods onGetImportJobRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetMessageInsightsRequest.builder()- Parameters:
getMessageInsightsRequest- AConsumerthat will call methods onGetMessageInsightsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaGetSuppressedDestinationRequest.builder()- Parameters:
getSuppressedDestinationRequest- AConsumerthat will call methods onGetSuppressedDestinationRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListConfigurationSetsRequest.builder()- Parameters:
listConfigurationSetsRequest- AConsumerthat will call methods onListConfigurationSetsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListConfigurationSetsPublisher publisher = client.listConfigurationSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListConfigurationSetsPublisher publisher = client.listConfigurationSetsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListConfigurationSetsRequest.builder()- Parameters:
listConfigurationSetsRequest- AConsumerthat will call methods onListConfigurationSetsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListContactListsRequest.builder()- Parameters:
listContactListsRequest- AConsumerthat will call methods onListContactListsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListContactListsPublisher publisher = client.listContactListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListContactListsPublisher publisher = client.listContactListsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListContactListsRequest.builder()- Parameters:
listContactListsRequest- AConsumerthat will call methods onListContactListsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListContactsRequest.builder()- Parameters:
listContactsRequest- AConsumerthat will call methods onListContactsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
listContactsPaginator
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListContactsPublisher publisher = client.listContactsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListContactsRequest.builder()- Parameters:
listContactsRequest- AConsumerthat will call methods onListContactsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListCustomVerificationEmailTemplatesRequest.builder()- Parameters:
listCustomVerificationEmailTemplatesRequest- AConsumerthat will call methods onListCustomVerificationEmailTemplatesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListCustomVerificationEmailTemplatesPublisher publisher = client.listCustomVerificationEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListCustomVerificationEmailTemplatesRequest.builder()- Parameters:
listCustomVerificationEmailTemplatesRequest- AConsumerthat will call methods onListCustomVerificationEmailTemplatesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListDedicatedIpPoolsRequest.builder()- Parameters:
listDedicatedIpPoolsRequest- AConsumerthat will call methods onListDedicatedIpPoolsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListDedicatedIpPoolsPublisher publisher = client.listDedicatedIpPoolsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListDedicatedIpPoolsPublisher publisher = client.listDedicatedIpPoolsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListDedicatedIpPoolsRequest.builder()- Parameters:
listDedicatedIpPoolsRequest- AConsumerthat will call methods onListDedicatedIpPoolsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
GetDeliverabilityTestReportoperation 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
GetDeliverabilityTestReportoperation to view the results.
This is a convenience which creates an instance of the
ListDeliverabilityTestReportsRequest.Builderavoiding the need to create one manually viaListDeliverabilityTestReportsRequest.builder()- Parameters:
listDeliverabilityTestReportsRequest- AConsumerthat will call methods onListDeliverabilityTestReportsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListDeliverabilityTestReportsPublisher publisher = client.listDeliverabilityTestReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListDeliverabilityTestReportsPublisher publisher = client.listDeliverabilityTestReportsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListDeliverabilityTestReportsRequest.builder()- Parameters:
listDeliverabilityTestReportsRequest- AConsumerthat will call methods onListDeliverabilityTestReportsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListDomainDeliverabilityCampaignsRequest.builder()- Parameters:
listDomainDeliverabilityCampaignsRequest- AConsumerthat will call methods onListDomainDeliverabilityCampaignsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListDomainDeliverabilityCampaignsPublisher publisher = client.listDomainDeliverabilityCampaignsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListDomainDeliverabilityCampaignsPublisher publisher = client.listDomainDeliverabilityCampaignsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListDomainDeliverabilityCampaignsRequest.builder()- Parameters:
listDomainDeliverabilityCampaignsRequest- AConsumerthat will call methods onListDomainDeliverabilityCampaignsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListEmailIdentitiesRequest.builder()- Parameters:
listEmailIdentitiesRequest- AConsumerthat will call methods onListEmailIdentitiesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListEmailIdentitiesPublisher publisher = client.listEmailIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListEmailIdentitiesPublisher publisher = client.listEmailIdentitiesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListEmailIdentitiesRequest.builder()- Parameters:
listEmailIdentitiesRequest- AConsumerthat will call methods onListEmailIdentitiesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListEmailTemplatesRequest.builder()- Parameters:
listEmailTemplatesRequest- AConsumerthat will call methods onListEmailTemplatesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListEmailTemplatesPublisher publisher = client.listEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListEmailTemplatesPublisher publisher = client.listEmailTemplatesPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListEmailTemplatesRequest.builder()- Parameters:
listEmailTemplatesRequest- AConsumerthat will call methods onListEmailTemplatesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListExportJobsRequest.builder()- Parameters:
listExportJobsRequest- AConsumerthat will call methods onListExportJobsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListExportJobsPublisher publisher = client.listExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListExportJobsPublisher publisher = client.listExportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListExportJobsRequest.builder()- Parameters:
listExportJobsRequest- AConsumerthat will call methods onListExportJobsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListImportJobsRequest.builder()- Parameters:
listImportJobsRequest- AConsumerthat will call methods onListImportJobsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListImportJobsPublisher publisher = client.listImportJobsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListImportJobsRequest.builder()- Parameters:
listImportJobsRequest- AConsumerthat will call methods onListImportJobsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListRecommendationsRequest.builder()- Parameters:
listRecommendationsRequest- AConsumerthat will call methods onListRecommendationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListRecommendationsPublisher publisher = client.listRecommendationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListRecommendationsRequest.builder()- Parameters:
listRecommendationsRequest- AConsumerthat will call methods onListRecommendationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListSuppressedDestinationsRequest.builder()- Parameters:
listSuppressedDestinationsRequest- AConsumerthat will call methods onListSuppressedDestinationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListSuppressedDestinationsPublisher publisher = client.listSuppressedDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 newSubscriptioni.e., a new contract to stream data from the starting request.The following are few ways to use the response class:
1) Using the subscribe helper method
2) Using a custom subscribersoftware.amazon.awssdk.services.sesv2.paginators.ListSuppressedDestinationsPublisher publisher = client.listSuppressedDestinationsPaginator(request); CompletableFuture<Void> future = publisher.subscribe(res -> { // Do something with the response }); future.get();
As the response is a publisher, it can work well with third party reactive streams implementations like RxJava2.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.Builderavoiding the need to create one manually viaListSuppressedDestinationsRequest.builder()- Parameters:
listSuppressedDestinationsRequest- AConsumerthat will call methods onListSuppressedDestinationsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaListTagsForResourceRequest.builder()- Parameters:
listTagsForResourceRequest- AConsumerthat will call methods onListTagsForResourceRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutAccountDedicatedIpWarmupAttributesRequest.builder()- Parameters:
putAccountDedicatedIpWarmupAttributesRequest- AConsumerthat will call methods onPutAccountDedicatedIpWarmupAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutAccountDetailsRequest.builder()- Parameters:
putAccountDetailsRequest- AConsumerthat will call methods onPutAccountDetailsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutAccountSendingAttributesRequest.builder()- Parameters:
putAccountSendingAttributesRequest- AConsumerthat will call methods onPutAccountSendingAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutAccountSuppressionAttributesRequest.builder()- Parameters:
putAccountSuppressionAttributesRequest- AConsumerthat will call methods onPutAccountSuppressionAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutAccountVdmAttributesRequest.builder()- Parameters:
putAccountVdmAttributesRequest- AConsumerthat will call methods onPutAccountVdmAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutConfigurationSetDeliveryOptionsRequest.builder()- Parameters:
putConfigurationSetDeliveryOptionsRequest- AConsumerthat will call methods onPutConfigurationSetDeliveryOptionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutConfigurationSetReputationOptionsRequest.builder()- Parameters:
putConfigurationSetReputationOptionsRequest- AConsumerthat will call methods onPutConfigurationSetReputationOptionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutConfigurationSetSendingOptionsRequest.builder()- Parameters:
putConfigurationSetSendingOptionsRequest- AConsumerthat will call methods onPutConfigurationSetSendingOptionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutConfigurationSetSuppressionOptionsRequest.builder()- Parameters:
putConfigurationSetSuppressionOptionsRequest- AConsumerthat will call methods onPutConfigurationSetSuppressionOptionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutConfigurationSetTrackingOptionsRequest.builder()- Parameters:
putConfigurationSetTrackingOptionsRequest- AConsumerthat will call methods onPutConfigurationSetTrackingOptionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutConfigurationSetVdmOptionsRequest.builder()- Parameters:
putConfigurationSetVdmOptionsRequest- AConsumerthat will call methods onPutConfigurationSetVdmOptionsRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
CreateDedicatedIpPooloperation.- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
CreateDedicatedIpPooloperation.
This is a convenience which creates an instance of the
PutDedicatedIpInPoolRequest.Builderavoiding the need to create one manually viaPutDedicatedIpInPoolRequest.builder()- Parameters:
putDedicatedIpInPoolRequest- AConsumerthat will call methods onPutDedicatedIpInPoolRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
putDedicatedIpPoolScalingAttributes
default CompletableFuture<PutDedicatedIpPoolScalingAttributesResponse> putDedicatedIpPoolScalingAttributes(PutDedicatedIpPoolScalingAttributesRequest putDedicatedIpPoolScalingAttributesRequest) Used to convert a dedicated IP pool to a different scaling mode.
MANAGEDpools cannot be converted toSTANDARDscaling 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
putDedicatedIpPoolScalingAttributes
default CompletableFuture<PutDedicatedIpPoolScalingAttributesResponse> putDedicatedIpPoolScalingAttributes(Consumer<PutDedicatedIpPoolScalingAttributesRequest.Builder> putDedicatedIpPoolScalingAttributesRequest) Used to convert a dedicated IP pool to a different scaling mode.
MANAGEDpools cannot be converted toSTANDARDscaling mode.
This is a convenience which creates an instance of the
PutDedicatedIpPoolScalingAttributesRequest.Builderavoiding the need to create one manually viaPutDedicatedIpPoolScalingAttributesRequest.builder()- Parameters:
putDedicatedIpPoolScalingAttributesRequest- AConsumerthat will call methods onPutDedicatedIpPoolScalingAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
putDedicatedIpWarmupAttributes
default CompletableFuture<PutDedicatedIpWarmupAttributesResponse> putDedicatedIpWarmupAttributes(Consumer<PutDedicatedIpWarmupAttributesRequest.Builder> putDedicatedIpWarmupAttributesRequest)
This is a convenience which creates an instance of the
PutDedicatedIpWarmupAttributesRequest.Builderavoiding the need to create one manually viaPutDedicatedIpWarmupAttributesRequest.builder()- Parameters:
putDedicatedIpWarmupAttributesRequest- AConsumerthat will call methods onPutDedicatedIpWarmupAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutDeliverabilityDashboardOptionRequest.builder()- Parameters:
putDeliverabilityDashboardOptionRequest- AConsumerthat will call methods onPutDeliverabilityDashboardOptionRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutEmailIdentityConfigurationSetAttributesRequest.builder()- Parameters:
putEmailIdentityConfigurationSetAttributesRequest- AConsumerthat will call methods onPutEmailIdentityConfigurationSetAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutEmailIdentityDkimAttributesRequest.builder()- Parameters:
putEmailIdentityDkimAttributesRequest- AConsumerthat will call methods onPutEmailIdentityDkimAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
-
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.Builderavoiding the need to create one manually viaPutEmailIdentityDkimSigningAttributesRequest.builder()- Parameters:
putEmailIdentityDkimSigningAttributesRequest- AConsumerthat will call methods onPutEmailIdentityDkimSigningAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
-
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-Pathheader 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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-Pathheader 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.Builderavoiding the need to create one manually viaPutEmailIdentityFeedbackAttributesRequest.builder()- Parameters:
putEmailIdentityFeedbackAttributesRequest- AConsumerthat will call methods onPutEmailIdentityFeedbackAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutEmailIdentityMailFromAttributesRequest.builder()- Parameters:
putEmailIdentityMailFromAttributesRequest- AConsumerthat will call methods onPutEmailIdentityMailFromAttributesRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaPutSuppressedDestinationRequest.builder()- Parameters:
putSuppressedDestinationRequest- AConsumerthat will call methods onPutSuppressedDestinationRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaSendBulkEmailRequest.builder()- Parameters:
sendBulkEmailRequest- AConsumerthat will call methods onSendBulkEmailRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaSendCustomVerificationEmailRequest.builder()- Parameters:
sendCustomVerificationEmailRequest- AConsumerthat will call methods onSendCustomVerificationEmailRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
sendEmail
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
-
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.Builderavoiding the need to create one manually viaSendEmailRequest.builder()- Parameters:
sendEmailRequest- AConsumerthat will call methods onSendEmailRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
-
tagResource
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaTagResourceRequest.builder()- Parameters:
tagResourceRequest- AConsumerthat will call methods onTagResourceRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaTestRenderEmailTemplateRequest.builder()- Parameters:
testRenderEmailTemplateRequest- AConsumerthat will call methods onTestRenderEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUntagResourceRequest.builder()- Parameters:
untagResourceRequest- AConsumerthat will call methods onUntagResourceRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
- 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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 EventBridge and associate a rule to send the event to the specified target.
This is a convenience which creates an instance of the
UpdateConfigurationSetEventDestinationRequest.Builderavoiding the need to create one manually viaUpdateConfigurationSetEventDestinationRequest.builder()- Parameters:
updateConfigurationSetEventDestinationRequest- AConsumerthat will call methods onUpdateConfigurationSetEventDestinationRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
updateContact
default CompletableFuture<UpdateContactResponse> updateContact(UpdateContactRequest updateContactRequest) Updates a contact's preferences for a list.
You must specify all existing topic preferences in the
TopicPreferencesobject, 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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
TopicPreferencesobject, 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.Builderavoiding the need to create one manually viaUpdateContactRequest.builder()- Parameters:
updateContactRequest- AConsumerthat will call methods onUpdateContactRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUpdateContactListRequest.builder()- Parameters:
updateContactListRequest- AConsumerthat will call methods onUpdateContactListRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUpdateCustomVerificationEmailTemplateRequest.builder()- Parameters:
updateCustomVerificationEmailTemplateRequest- AConsumerthat will call methods onUpdateCustomVerificationEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUpdateEmailIdentityPolicyRequest.builder()- Parameters:
updateEmailIdentityPolicyRequest- AConsumerthat will call methods onUpdateEmailIdentityPolicyRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
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.Builderavoiding the need to create one manually viaUpdateEmailTemplateRequest.builder()- Parameters:
updateEmailTemplateRequest- AConsumerthat will call methods onUpdateEmailTemplateRequest.Builderto 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. The exception returned is wrapped with CompletionException, so you need to invokeThrowable.getCause()to retrieve the underlying exception.- 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:
-
serviceClientConfiguration
Description copied from interface:SdkClientThe SDK service client configuration exposes client settings to the user, e.g., ClientOverrideConfiguration- Specified by:
serviceClientConfigurationin interfaceAwsClient- Specified by:
serviceClientConfigurationin interfaceSdkClient- Returns:
- SdkServiceClientConfiguration
-
create
Create aSesV2AsyncClientwith the region loaded from theDefaultAwsRegionProviderChainand credentials loaded from theDefaultCredentialsProvider. -
builder
Create a builder that can be used to configure and create aSesV2AsyncClient.
-