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