Struct aws_sdk_sesv2::types::builders::BulkEmailEntryResultBuilder
source · #[non_exhaustive]pub struct BulkEmailEntryResultBuilder { /* private fields */ }Expand description
A builder for BulkEmailEntryResult.
Implementations§
source§impl BulkEmailEntryResultBuilder
impl BulkEmailEntryResultBuilder
sourcepub fn status(self, input: BulkEmailStatus) -> Self
pub fn status(self, input: BulkEmailStatus) -> Self
The status of a message sent using the SendBulkTemplatedEmail operation.
Possible values for this parameter include:
-
SUCCESS: Amazon SES accepted the message, and will attempt to deliver it to the recipients.
-
MESSAGE_REJECTED: The message was rejected because it contained a virus.
-
MAIL_FROM_DOMAIN_NOT_VERIFIED: The sender's email address or domain was not verified.
-
CONFIGURATION_SET_DOES_NOT_EXIST: The configuration set you specified does not exist.
-
TEMPLATE_DOES_NOT_EXIST: The template you specified does not exist.
-
ACCOUNT_SUSPENDED: Your account has been shut down because of issues related to your email sending practices.
-
ACCOUNT_THROTTLED: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.
-
ACCOUNT_DAILY_QUOTA_EXCEEDED: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.
-
INVALID_SENDING_POOL_NAME: The configuration set you specified refers to an IP pool that does not exist.
-
ACCOUNT_SENDING_PAUSED: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.
-
CONFIGURATION_SET_SENDING_PAUSED: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.
-
INVALID_PARAMETER_VALUE: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.
-
TRANSIENT_FAILURE: 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.
sourcepub fn set_status(self, input: Option<BulkEmailStatus>) -> Self
pub fn set_status(self, input: Option<BulkEmailStatus>) -> Self
The status of a message sent using the SendBulkTemplatedEmail operation.
Possible values for this parameter include:
-
SUCCESS: Amazon SES accepted the message, and will attempt to deliver it to the recipients.
-
MESSAGE_REJECTED: The message was rejected because it contained a virus.
-
MAIL_FROM_DOMAIN_NOT_VERIFIED: The sender's email address or domain was not verified.
-
CONFIGURATION_SET_DOES_NOT_EXIST: The configuration set you specified does not exist.
-
TEMPLATE_DOES_NOT_EXIST: The template you specified does not exist.
-
ACCOUNT_SUSPENDED: Your account has been shut down because of issues related to your email sending practices.
-
ACCOUNT_THROTTLED: The number of emails you can send has been reduced because your account has exceeded its allocated sending limit.
-
ACCOUNT_DAILY_QUOTA_EXCEEDED: You have reached or exceeded the maximum number of emails you can send from your account in a 24-hour period.
-
INVALID_SENDING_POOL_NAME: The configuration set you specified refers to an IP pool that does not exist.
-
ACCOUNT_SENDING_PAUSED: Email sending for the Amazon SES account was disabled using the UpdateAccountSendingEnabled operation.
-
CONFIGURATION_SET_SENDING_PAUSED: Email sending for this configuration set was disabled using the UpdateConfigurationSetSendingEnabled operation.
-
INVALID_PARAMETER_VALUE: One or more of the parameters you specified when calling this operation was invalid. See the error message for additional information.
-
TRANSIENT_FAILURE: 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.
sourcepub fn error(self, input: impl Into<String>) -> Self
pub fn error(self, input: impl Into<String>) -> Self
A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.
sourcepub fn set_error(self, input: Option<String>) -> Self
pub fn set_error(self, input: Option<String>) -> Self
A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.
sourcepub fn message_id(self, input: impl Into<String>) -> Self
pub fn message_id(self, input: impl Into<String>) -> Self
The unique message identifier returned from the SendBulkTemplatedEmail operation.
sourcepub fn set_message_id(self, input: Option<String>) -> Self
pub fn set_message_id(self, input: Option<String>) -> Self
The unique message identifier returned from the SendBulkTemplatedEmail operation.
sourcepub fn build(self) -> BulkEmailEntryResult
pub fn build(self) -> BulkEmailEntryResult
Consumes the builder and constructs a BulkEmailEntryResult.
Trait Implementations§
source§impl Clone for BulkEmailEntryResultBuilder
impl Clone for BulkEmailEntryResultBuilder
source§fn clone(&self) -> BulkEmailEntryResultBuilder
fn clone(&self) -> BulkEmailEntryResultBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BulkEmailEntryResultBuilder
impl Debug for BulkEmailEntryResultBuilder
source§impl Default for BulkEmailEntryResultBuilder
impl Default for BulkEmailEntryResultBuilder
source§fn default() -> BulkEmailEntryResultBuilder
fn default() -> BulkEmailEntryResultBuilder
source§impl PartialEq<BulkEmailEntryResultBuilder> for BulkEmailEntryResultBuilder
impl PartialEq<BulkEmailEntryResultBuilder> for BulkEmailEntryResultBuilder
source§fn eq(&self, other: &BulkEmailEntryResultBuilder) -> bool
fn eq(&self, other: &BulkEmailEntryResultBuilder) -> bool
self and other values to be equal, and is used
by ==.