Class BulkEmailDestinationStatus

    • Method Detail

      • status

        public final BulkEmailStatus status()

        The status of a message sent using the SendBulkTemplatedEmail operation.

        Possible values for this parameter include:

        • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

        • MessageRejected: The message was rejected because it contained a virus.

        • MailFromDomainNotVerified: The sender's email address or domain was not verified.

        • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

        • TemplateDoesNotExist: The template you specified does not exist.

        • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

        • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

        • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

        • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

        • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

        • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

        • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

        • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

        • Failed: Amazon SES was unable to process your request. See the error message for additional information.

        If the service returns an enum value that is not available in the current SDK version, status will return BulkEmailStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of a message sent using the SendBulkTemplatedEmail operation.

        Possible values for this parameter include:

        • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

        • MessageRejected: The message was rejected because it contained a virus.

        • MailFromDomainNotVerified: The sender's email address or domain was not verified.

        • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

        • TemplateDoesNotExist: The template you specified does not exist.

        • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

        • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

        • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

        • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

        • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

        • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

        • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

        • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

        • Failed: Amazon SES was unable to process your request. See the error message for additional information.

        See Also:
        BulkEmailStatus
      • statusAsString

        public final String statusAsString()

        The status of a message sent using the SendBulkTemplatedEmail operation.

        Possible values for this parameter include:

        • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

        • MessageRejected: The message was rejected because it contained a virus.

        • MailFromDomainNotVerified: The sender's email address or domain was not verified.

        • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

        • TemplateDoesNotExist: The template you specified does not exist.

        • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

        • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

        • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

        • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

        • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

        • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

        • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

        • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

        • Failed: Amazon SES was unable to process your request. See the error message for additional information.

        If the service returns an enum value that is not available in the current SDK version, status will return BulkEmailStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

        Returns:
        The status of a message sent using the SendBulkTemplatedEmail operation.

        Possible values for this parameter include:

        • Success: Amazon SES accepted the message, and attempts to deliver it to the recipients.

        • MessageRejected: The message was rejected because it contained a virus.

        • MailFromDomainNotVerified: The sender's email address or domain was not verified.

        • ConfigurationSetDoesNotExist: The configuration set you specified does not exist.

        • TemplateDoesNotExist: The template you specified does not exist.

        • AccountSuspended: Your account has been shut down because of issues related to your email sending practices.

        • AccountThrottled: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.

        • AccountDailyQuotaExceeded: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.

        • InvalidSendingPoolName: The configuration set you specified refers to an IP pool that does not exist.

        • AccountSendingPaused: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.

        • ConfigurationSetSendingPaused: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.

        • InvalidParameterValue: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.

        • TransientFailure: Amazon SES was unable to process your request because of a temporary issue.

        • Failed: Amazon SES was unable to process your request. See the error message for additional information.

        See Also:
        BulkEmailStatus
      • error

        public final String error()

        A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.

        Returns:
        A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.
      • messageId

        public final String messageId()

        The unique message identifier returned from the SendBulkTemplatedEmail operation.

        Returns:
        The unique message identifier returned from the SendBulkTemplatedEmail operation.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)