JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method
com.amazonaws.services.simpleemail

Class AbstractAmazonSimpleEmailService

    • Method Detail

      • setEndpoint

        public void setEndpoint(String endpoint)
        Description copied from interface: AmazonSimpleEmailService
        Overrides the default endpoint for this client ("https://email.us-east-1.amazonaws.com"). Callers can use this method to control which AWS region they want to work with.

        Callers can pass in just the endpoint (ex: "email.us-east-1.amazonaws.com") or a full URL, including the protocol (ex: "https://email.us-east-1.amazonaws.com"). If the protocol is not specified here, the default protocol from this client's ClientConfiguration will be used, which by default is HTTPS.

        For more information on using AWS regions with the AWS SDK for Java, and a complete list of all available endpoints for all AWS services, see: https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/java-dg-region-selection.html#region-selection- choose-endpoint

        This method is not threadsafe. An endpoint should be configured when the client is created and before any service requests are made. Changing it afterwards creates inevitable race conditions for any service requests in transit or retrying.

        Specified by:
        setEndpoint in interface AmazonSimpleEmailService
        Parameters:
        endpoint - The endpoint (ex: "email.us-east-1.amazonaws.com") or a full URL, including the protocol (ex: "https://email.us-east-1.amazonaws.com") of the region specific AWS endpoint this client will communicate with.
      • createConfigurationSetEventDestination

        public CreateConfigurationSetEventDestinationResult createConfigurationSetEventDestination(CreateConfigurationSetEventDestinationRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Creates a configuration set event destination.

        When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

        An event destination is the Amazon Web Services service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        createConfigurationSetEventDestination in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to create a configuration set event destination. A configuration set event destination, which can be either Amazon CloudWatch or Amazon Kinesis Firehose, describes an Amazon Web Services service in which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.
        Returns:
        Result of the CreateConfigurationSetEventDestination operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteConfigurationSetTrackingOptions

        public DeleteConfigurationSetTrackingOptionsResult deleteConfigurationSetTrackingOptions(DeleteConfigurationSetTrackingOptionsRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Deletes an association between a configuration set and a custom domain for open and click event tracking.

        By default, images and links used for tracking open and click events are hosted on domains operated by Amazon SES. You can configure a subdomain of your own to handle these events. For information about using custom domains, see the Amazon SES Developer Guide.

        Deleting this kind of association results in emails sent using the specified configuration set to capture open and click events using the standard, Amazon SES-operated domains.

        Specified by:
        deleteConfigurationSetTrackingOptions in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to delete open and click tracking options in a configuration set.
        Returns:
        Result of the DeleteConfigurationSetTrackingOptions operation returned by the service.
        See Also:
        AWS API Documentation
      • deleteIdentityPolicy

        public DeleteIdentityPolicyResult deleteIdentityPolicy(DeleteIdentityPolicyRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Deletes the specified sending authorization policy for the given identity (an email address or a domain). This operation returns successfully even if a policy with the specified name does not exist.

        This operation is for the identity owner only. If you have not verified the identity, it returns an error.

        Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        deleteIdentityPolicy in interface AmazonSimpleEmailService
        Parameters:
        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 DeleteIdentityPolicy operation returned by the service.
        See Also:
        AWS API Documentation
      • getIdentityDkimAttributes

        public GetIdentityDkimAttributesResult getIdentityDkimAttributes(GetIdentityDkimAttributesRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Returns the current status of Easy DKIM signing for an entity. For domain name identities, this operation also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES has successfully verified that these tokens have been published.

        This operation takes a list of identities as input and returns the following information for each:

        • Whether Easy DKIM signing is enabled or disabled.

        • A set of DKIM tokens that represent the identity. If the identity is an email address, the tokens represent the domain of that address.

        • Whether Amazon SES has successfully verified the DKIM tokens published in the domain's DNS. This information is only returned for domain name identities, not for email addresses.

        This operation is throttled at one request per second and can only get DKIM attributes for up to 100 identities at a time.

        For more information about creating DNS records using DKIM tokens, go to the Amazon SES Developer Guide.

        Specified by:
        getIdentityDkimAttributes in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request for the status of Amazon SES Easy DKIM signing for an identity. For domain identities, this request also returns the DKIM tokens that are required for Easy DKIM signing, and whether Amazon SES successfully verified that these tokens were published. For more information about Easy DKIM, see the Amazon SES Developer Guide.
        Returns:
        Result of the GetIdentityDkimAttributes operation returned by the service.
        See Also:
        AWS API Documentation
      • getIdentityPolicies

        public GetIdentityPoliciesResult getIdentityPolicies(GetIdentityPoliciesRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Returns the requested sending authorization policies for the given identity (an email address or a domain). The policies are returned as a map of policy names to policy contents. You can retrieve a maximum of 20 policies at a time.

        This operation is for the identity owner only. If you have not verified the identity, it returns an error.

        Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        getIdentityPolicies in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to return the requested sending authorization policies for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.
        Returns:
        Result of the GetIdentityPolicies operation returned by the service.
        See Also:
        AWS API Documentation
      • getIdentityVerificationAttributes

        public GetIdentityVerificationAttributesResult getIdentityVerificationAttributes(GetIdentityVerificationAttributesRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Given a list of identities (email addresses and/or domains), returns the verification status and (for domain identities) the verification token for each identity.

        The verification status of an email address is "Pending" until the email address owner clicks the link within the verification email that Amazon SES sent to that address. If the email address owner clicks the link within 24 hours, the verification status of the email address changes to "Success". If the link is not clicked within 24 hours, the verification status changes to "Failed." In that case, to verify the email address, you must restart the verification process from the beginning.

        For domain identities, the domain's verification status is "Pending" as Amazon SES searches for the required TXT record in the DNS settings of the domain. When Amazon SES detects the record, the domain's verification status changes to "Success". If Amazon SES is unable to detect the record within 72 hours, the domain's verification status changes to "Failed." In that case, to verify the domain, you must restart the verification process from the beginning.

        This operation is throttled at one request per second and can only get verification attributes for up to 100 identities at a time.

        Specified by:
        getIdentityVerificationAttributes in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to return the Amazon SES verification status of a list of identities. For domain identities, this request also returns the verification token. For information about verifying identities with Amazon SES, see the Amazon SES Developer Guide.
        Returns:
        Result of the GetIdentityVerificationAttributes operation returned by the service.
        See Also:
        AWS API Documentation
      • listConfigurationSets

        public ListConfigurationSetsResult listConfigurationSets(ListConfigurationSetsRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Provides a list of the configuration sets associated with your Amazon SES account in the current Amazon Web Services Region. For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.

        You can execute this operation no more than once per second. This operation returns up to 1,000 configuration sets each time it is run. If your Amazon SES account has more than 1,000 configuration sets, this operation also returns NextToken. You can then execute the ListConfigurationSets operation again, passing the NextToken parameter and the value of the NextToken element to retrieve additional results.

        Specified by:
        listConfigurationSets in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to list the configuration sets associated with your Amazon Web Services account. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
        Returns:
        Result of the ListConfigurationSets operation returned by the service.
        See Also:
        AWS API Documentation
      • listIdentities

        public ListIdentitiesResult listIdentities(ListIdentitiesRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Returns a list containing all of the identities (email addresses and domains) for your Amazon Web Services account in the current Amazon Web Services Region, regardless of verification status.

        You can execute this operation no more than once per second.

        It's recommended that for successive pagination calls of this API, you continue to the use the same parameter/value pairs as used in the original call, e.g., if you used IdentityType=Domain in the the original call and received a NextToken in the response, you should continue providing the IdentityType=Domain parameter for further NextToken calls; however, if you didn't provide the IdentityType parameter in the original call, then continue to not provide it for successive pagination calls. Using this protocol will ensure consistent results.

        Specified by:
        listIdentities in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to return a list of all identities (email addresses and domains) that you have attempted to verify under your Amazon Web Services account, regardless of verification status.
        Returns:
        Result of the ListIdentities operation returned by the service.
        See Also:
        AWS API Documentation
      • listIdentityPolicies

        public ListIdentityPoliciesResult listIdentityPolicies(ListIdentityPoliciesRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Returns a list of sending authorization policies that are attached to the given identity (an email address or a domain). This operation returns only a list. To get the actual policy content, use GetIdentityPolicies.

        This operation is for the identity owner only. If you have not verified the identity, it returns an error.

        Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        listIdentityPolicies in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to return a list of sending authorization policies that are attached to an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.
        Returns:
        Result of the ListIdentityPolicies operation returned by the service.
        See Also:
        AWS API Documentation
      • listReceiptRuleSets

        public ListReceiptRuleSetsResult listReceiptRuleSets(ListReceiptRuleSetsRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Lists the receipt rule sets that exist under your Amazon Web Services account in the current Amazon Web Services Region. If there are additional receipt rule sets to be retrieved, you receive a NextToken that you can provide to the next call to ListReceiptRuleSets to retrieve the additional entries.

        For information about managing receipt rule sets, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        listReceiptRuleSets in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to list the receipt rule sets that exist under your Amazon Web Services account. You use receipt rule sets to receive email with Amazon SES. For more information, see the Amazon SES Developer Guide.
        Returns:
        Result of the ListReceiptRuleSets operation returned by the service.
        See Also:
        AWS API Documentation
      • putIdentityPolicy

        public PutIdentityPolicyResult putIdentityPolicy(PutIdentityPolicyRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Adds or updates a sending authorization policy for the specified identity (an email address or a domain).

        This operation is for the identity owner only. If you have not verified the identity, it returns an error.

        Sending authorization is a feature that enables an identity owner to authorize other senders to use its identities. For information about using sending authorization, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        putIdentityPolicy in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to add or update a sending authorization policy for an identity. Sending authorization is an Amazon SES feature that enables you to authorize other senders to use your identities. For information, see the Amazon SES Developer Guide.
        Returns:
        Result of the PutIdentityPolicy operation returned by the service.
        See Also:
        AWS API Documentation
      • sendBounce

        public SendBounceResult sendBounce(SendBounceRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Generates and sends a bounce message to the sender of an email you received through Amazon SES. You can only use this operation on an email up to 24 hours after you receive it.

        You cannot use this operation to send generic bounces for mail that was not received by Amazon SES.

        For information about receiving email through Amazon SES, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        sendBounce in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to send a bounce message to the sender of an email you received through Amazon SES.
        Returns:
        Result of the SendBounce operation returned by the service.
        See Also:
        AWS API Documentation
      • sendBulkTemplatedEmail

        public SendBulkTemplatedEmailResult sendBulkTemplatedEmail(SendBulkTemplatedEmailRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Composes an email message to multiple destinations. The message body is created using an email template.

        To send email using this operation, your call must meet the following requirements:

        • The call must refer to an existing email template. You can create email templates using CreateTemplate.

        • The message must be sent from a verified email address or domain.

        • If your account is still in the Amazon SES sandbox, you may send only to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

        • The maximum message size is 10 MB.

        • Each Destination parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

        • The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the SendBulkTemplatedEmail operation several times to send the message to each group.

        • The number of destinations you can contact in a single call can be limited by your account's maximum sending rate.

        Specified by:
        sendBulkTemplatedEmail in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to send a templated email to multiple destinations using Amazon SES. For more information, see the Amazon SES Developer Guide.
        Returns:
        Result of the SendBulkTemplatedEmail operation returned by the service.
        See Also:
        AWS API Documentation
      • sendCustomVerificationEmail

        public SendCustomVerificationEmailResult sendCustomVerificationEmail(SendCustomVerificationEmailRequest request)
        Description copied from interface: AmazonSimpleEmailService

        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.

        Specified by:
        sendCustomVerificationEmail in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to send a custom verification email to a specified recipient.
        Returns:
        Result of the SendCustomVerificationEmail operation returned by the service.
        See Also:
        AWS API Documentation
      • sendEmail

        public SendEmailResult sendEmail(SendEmailRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Composes an email message and immediately queues it for sending. To send email using this operation, your message must meet the following requirements:

        • The message must be sent from a verified email address or domain. If you attempt to send email using a non-verified address or domain, the operation results in an "Email address not verified" error.

        • If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

        • The maximum message size is 10 MB.

        • The message must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

        • The message may not include more than 50 recipients, across the To:, CC: and BCC: fields. If you need to send an email message to a larger audience, you can divide your recipient list into groups of 50 or fewer, and then call the SendEmail operation several times to send the message to each group.

        For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending Limits in the Amazon SES Developer Guide.

        Specified by:
        sendEmail in interface AmazonSimpleEmailService
        Parameters:
        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.
        See Also:
        AWS API Documentation
      • sendRawEmail

        public SendRawEmailResult sendRawEmail(SendRawEmailRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Composes an email message and immediately queues it for sending.

        This operation is more flexible than the SendEmail operation. When you use the SendRawEmail operation, you can specify the headers of the message as well as its content. This flexibility is useful, for example, when you need to send a multipart MIME email (such a message that contains both a text and an HTML version). You can also use this operation to send messages that include attachments.

        The SendRawEmail operation has the following requirements:

        • You can only send email from verified email addresses or domains. If you try to send email from an address that isn't verified, the operation results in an "Email address not verified" error.

        • If your account is still in the Amazon SES sandbox, you can only send email to other verified addresses in your account, or to addresses that are associated with the Amazon SES mailbox simulator.

        • The maximum message size, including attachments, is 10 MB.

        • Each message has to include at least one recipient address. A recipient address includes any address on the To:, CC:, or BCC: lines.

        • If you send a single message to more than one recipient address, and one of the recipient addresses isn't in a valid format (that is, it's not in the format UserName@[SubDomain.]Domain.TopLevelDomain), Amazon SES rejects the entire message, even if the other addresses are valid.

        • Each message can include up to 50 recipient addresses across the To:, CC:, or BCC: lines. If you need to send a single message to more than 50 recipients, you have to split the list of recipient addresses into groups of less than 50 recipients, and send separate messages to each group.

        • Amazon SES allows you to specify 8-bit Content-Transfer-Encoding for MIME message parts. However, if Amazon SES has to modify the contents of your message (for example, if you use open and click tracking), 8-bit content isn't preserved. For this reason, we highly recommend that you encode all content that isn't 7-bit ASCII. For more information, see MIME Encoding in the Amazon SES Developer Guide.

        Additionally, keep the following considerations in mind when using the SendRawEmail operation:

        • Although you can customize the message headers when using the SendRawEmail operation, Amazon SES automatically applies its own Message-ID and Date headers; if you passed these headers when creating the message, they are overwritten by the values that Amazon SES provides.

        • If you are using sending authorization to send on behalf of another user, SendRawEmail enables you to specify the cross-account identity for the email's Source, From, and Return-Path parameters in one of two ways: you can pass optional parameters SourceArn, FromArn, and/or ReturnPathArn, or you can include the following X-headers in the header of your raw email:

          • X-SES-SOURCE-ARN

          • X-SES-FROM-ARN

          • X-SES-RETURN-PATH-ARN

          Don't include these X-headers in the DKIM signature. Amazon SES removes these before it sends the email.

          If you only specify the SourceIdentityArn parameter, Amazon SES sets the From and Return-Path addresses to the same identity that you specified.

          For more information about sending authorization, see the Using Sending Authorization with Amazon SES in the Amazon SES Developer Guide.

        • For every message that you send, the total number of recipients (including each recipient in the To:, CC: and BCC: fields) is counted against the maximum number of emails you can send in a 24-hour period (your sending quota). For more information about sending quotas in Amazon SES, see Managing Your Amazon SES Sending Limits in the Amazon SES Developer Guide.

        Specified by:
        sendRawEmail in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to send a single raw email using Amazon SES. For more information, see the Amazon SES Developer Guide.
        Returns:
        Result of the SendRawEmail operation returned by the service.
        See Also:
        AWS API Documentation
      • sendTemplatedEmail

        public SendTemplatedEmailResult sendTemplatedEmail(SendTemplatedEmailRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Composes an email message using an email template and immediately queues it for sending.

        To send email using this operation, your call must meet the following requirements:

        • The call must refer to an existing email template. You can create email templates using the CreateTemplate operation.

        • The message must be sent from a verified email address or domain.

        • If your account is still in the Amazon SES sandbox, you may only send to verified addresses or domains, or to email addresses associated with the Amazon SES Mailbox Simulator. For more information, see Verifying Email Addresses and Domains in the Amazon SES Developer Guide.

        • The maximum message size is 10 MB.

        • Calls to the SendTemplatedEmail operation may only include one Destination parameter. A destination is a set of recipients that receives the same version of the email. The Destination parameter can include up to 50 recipients, across the To:, CC: and BCC: fields.

        • The Destination parameter must include at least one recipient email address. The recipient address can be a To: address, a CC: address, or a BCC: address. If a recipient email address is invalid (that is, it is not in the format UserName@[SubDomain.]Domain.TopLevelDomain), the entire message is rejected, even if the message contains other recipients that are valid.

        If your call to the SendTemplatedEmail operation includes all of the required parameters, Amazon SES accepts it and returns a Message ID. However, if Amazon SES can't render the email because the template contains errors, it doesn't send the email. Additionally, because it already accepted the message, Amazon SES doesn't return a message stating that it was unable to send the email.

        For these reasons, we highly recommend that you set up Amazon SES to send you notifications when Rendering Failure events occur. For more information, see Sending Personalized Email Using the Amazon SES API in the Amazon Simple Email Service Developer Guide.

        Specified by:
        sendTemplatedEmail in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to send a templated email using Amazon SES. For more information, see the Amazon SES Developer Guide.
        Returns:
        Result of the SendTemplatedEmail operation returned by the service.
        See Also:
        AWS API Documentation
      • setIdentityDkimEnabled

        public SetIdentityDkimEnabledResult setIdentityDkimEnabled(SetIdentityDkimEnabledRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Enables or disables Easy DKIM signing of email sent from an identity. If Easy DKIM signing is enabled for a domain, then Amazon SES uses DKIM to sign all email that it sends from addresses on that domain. If Easy DKIM signing is enabled for an email address, then Amazon SES uses DKIM to sign all email it sends from that address.

        For email addresses (for example, user@example.com), you can only enable DKIM signing if the corresponding domain (in this case, example.com) has been set up to use Easy DKIM.

        You can enable DKIM signing for an identity at any time after you start the verification process for the identity, even if the verification process isn't complete.

        You can execute this operation no more than once per second.

        For more information about Easy DKIM signing, go to the Amazon SES Developer Guide.

        Specified by:
        setIdentityDkimEnabled in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to enable or disable Amazon SES Easy DKIM signing for an identity. For more information about setting up Easy DKIM, see the Amazon SES Developer Guide.
        Returns:
        Result of the SetIdentityDkimEnabled operation returned by the service.
        See Also:
        AWS API Documentation
      • setIdentityFeedbackForwardingEnabled

        public SetIdentityFeedbackForwardingEnabledResult setIdentityFeedbackForwardingEnabled(SetIdentityFeedbackForwardingEnabledRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Given an identity (an email address or a domain), enables or disables whether Amazon SES forwards bounce and complaint notifications as email. Feedback forwarding can only be disabled when Amazon Simple Notification Service (Amazon SNS) topics are specified for both bounces and complaints.

        Feedback forwarding does not apply to delivery notifications. Delivery notifications are only available through Amazon SNS.

        You can execute this operation no more than once per second.

        For more information about using notifications with Amazon SES, see the Amazon SES Developer Guide.

        Specified by:
        setIdentityFeedbackForwardingEnabled in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to enable or disable whether Amazon SES forwards you bounce and complaint notifications through email. For information about email feedback forwarding, see the Amazon SES Developer Guide.
        Returns:
        Result of the SetIdentityFeedbackForwardingEnabled operation returned by the service.
        See Also:
        AWS API Documentation
      • setIdentityMailFromDomain

        public SetIdentityMailFromDomainResult setIdentityMailFromDomain(SetIdentityMailFromDomainRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Enables or disables the custom MAIL FROM domain setup for a verified identity (an email address or a domain).

        To send emails using the specified MAIL FROM domain, you must add an MX record to your MAIL FROM domain's DNS settings. To ensure that your emails pass Sender Policy Framework (SPF) checks, you must also add or update an SPF record. For more information, see the Amazon SES Developer Guide.

        You can execute this operation no more than once per second.

        Specified by:
        setIdentityMailFromDomain in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to enable or disable the Amazon SES custom MAIL FROM domain setup for a verified identity. For information about using a custom MAIL FROM domain, see the Amazon SES Developer Guide.
        Returns:
        Result of the SetIdentityMailFromDomain operation returned by the service.
        See Also:
        AWS API Documentation
      • setIdentityNotificationTopic

        public SetIdentityNotificationTopicResult setIdentityNotificationTopic(SetIdentityNotificationTopicRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Sets an Amazon Simple Notification Service (Amazon SNS) topic to use when delivering notifications. When you use this operation, you specify a verified identity, such as an email address or domain. When you send an email that uses the chosen identity in the Source field, Amazon SES sends notifications to the topic you specified. You can send bounce, complaint, or delivery notifications (or any combination of the three) to the Amazon SNS topic that you specify.

        You can execute this operation no more than once per second.

        For more information about feedback notification, see the Amazon SES Developer Guide.

        Specified by:
        setIdentityNotificationTopic in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to specify the Amazon SNS topic to which Amazon SES publishes bounce, complaint, or delivery notifications for emails sent with that identity as the source. For information about Amazon SES notifications, see the Amazon SES Developer Guide.
        Returns:
        Result of the SetIdentityNotificationTopic operation returned by the service.
        See Also:
        AWS API Documentation
      • updateAccountSendingEnabled

        public UpdateAccountSendingEnabledResult updateAccountSendingEnabled(UpdateAccountSendingEnabledRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Enables or disables email sending across your entire Amazon SES account in the current Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending across your Amazon SES account in a given Amazon Web Services Region when reputation metrics (such as your bounce or complaint rates) reach certain thresholds.

        You can execute this operation no more than once per second.

        Specified by:
        updateAccountSendingEnabled in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to enable or disable the email sending capabilities for your entire Amazon SES account.
        Returns:
        Result of the UpdateAccountSendingEnabled operation returned by the service.
        See Also:
        AWS API Documentation
      • updateConfigurationSetEventDestination

        public UpdateConfigurationSetEventDestinationResult updateConfigurationSetEventDestination(UpdateConfigurationSetEventDestinationRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Updates the event destination of a configuration set. Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see Monitoring Your Amazon SES Sending Activity in the Amazon SES Developer Guide.

        When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).

        You can execute this operation no more than once per second.

        Specified by:
        updateConfigurationSetEventDestination in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to update the event destination of a configuration set. Configuration sets enable you to publish email sending events. For information about using configuration sets, see the Amazon SES Developer Guide.
        Returns:
        Result of the UpdateConfigurationSetEventDestination operation returned by the service.
        See Also:
        AWS API Documentation
      • updateConfigurationSetSendingEnabled

        public UpdateConfigurationSetSendingEnabledResult updateConfigurationSetSendingEnabled(UpdateConfigurationSetSendingEnabledRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Enables or disables email sending for messages sent using a specific configuration set in a given Amazon Web Services Region. You can use this operation in conjunction with Amazon CloudWatch alarms to temporarily pause email sending for a configuration set when the reputation metrics for that configuration set (such as your bounce on complaint rate) exceed certain thresholds.

        You can execute this operation no more than once per second.

        Specified by:
        updateConfigurationSetSendingEnabled in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to enable or disable the email sending capabilities for a specific configuration set.
        Returns:
        Result of the UpdateConfigurationSetSendingEnabled operation returned by the service.
        See Also:
        AWS API Documentation
      • verifyDomainDkim

        public VerifyDomainDkimResult verifyDomainDkim(VerifyDomainDkimRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Returns a set of DKIM tokens for a domain identity.

        When you execute the VerifyDomainDkim operation, the domain that you specify is added to the list of identities that are associated with your account. This is true even if you haven't already associated the domain with your account by using the VerifyDomainIdentity operation. However, you can't send email from the domain until you either successfully verify it or you successfully set up DKIM for it.

        You use the tokens that are generated by this operation to create CNAME records. When Amazon SES detects that you've added these records to the DNS configuration for a domain, you can start sending email from that domain. You can start sending email even if you haven't added the TXT record provided by the VerifyDomainIdentity operation to the DNS configuration for your domain. All email that you send from the domain is authenticated using DKIM.

        To create the CNAME records for DKIM authentication, use the following values:

        • Name: token._domainkey.example.com

        • Type: CNAME

        • Value: token.dkim.amazonses.com

        In the preceding example, replace token with one of the tokens that are generated when you execute this operation. Replace example.com with your domain. Repeat this process for each token that's generated by this operation.

        You can execute this operation no more than once per second.

        Specified by:
        verifyDomainDkim in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to generate the CNAME records needed to set up Easy DKIM with Amazon SES. For more information about setting up Easy DKIM, see the Amazon SES Developer Guide.
        Returns:
        Result of the VerifyDomainDkim operation returned by the service.
        See Also:
        AWS API Documentation
      • verifyEmailIdentity

        public VerifyEmailIdentityResult verifyEmailIdentity(VerifyEmailIdentityRequest request)
        Description copied from interface: AmazonSimpleEmailService

        Adds an email address to the list of identities for your Amazon SES account in the current Amazon Web Services Region and attempts to verify it. As a result of executing this operation, a verification email is sent to the specified address.

        You can execute this operation no more than once per second.

        Specified by:
        verifyEmailIdentity in interface AmazonSimpleEmailService
        Parameters:
        request - Represents a request to begin email address verification with Amazon SES. For information about email address verification, see the Amazon SES Developer Guide.
        Returns:
        Result of the VerifyEmailIdentity operation returned by the service.
        See Also:
        AWS API Documentation
      • shutdown

        public void shutdown()
        Description copied from interface: AmazonSimpleEmailService
        Shuts down this client object, releasing any resources that might be held open. This is an optional method, and callers are not expected to call it, but can if they want to explicitly release any open resources. Once a client has been shutdown, it should not be used to make any more requests.
        Specified by:
        shutdown in interface AmazonSimpleEmailService
      • getCachedResponseMetadata

        public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
        Description copied from interface: AmazonSimpleEmailService
        Returns additional metadata for a previously executed successful request, typically used for debugging issues where a service isn't acting as expected. This data isn't considered part of the result data returned by an operation, so it's available through this separate, diagnostic interface.

        Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing a request.

        Specified by:
        getCachedResponseMetadata in interface AmazonSimpleEmailService
        Parameters:
        request - The originally executed request.
        Returns:
        The response metadata for the specified request, or null if none is available.
Skip navigation links
  • Summary:
  • Nested |
  • Field |
  • Constr |
  • Method
  • Detail:
  • Field |
  • Constr |
  • Method

AltStyle によって変換されたページ (->オリジナル) /