Struct aws_sdk_sesv2::types::BulkEmailEntryResult
source · #[non_exhaustive]pub struct BulkEmailEntryResult {
pub status: Option<BulkEmailStatus>,
pub error: Option<String>,
pub message_id: Option<String>,
}Expand description
The result of the SendBulkEmail operation of each specified BulkEmailEntry.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.status: Option<BulkEmailStatus>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.
error: Option<String>A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.
message_id: Option<String>The unique message identifier returned from the SendBulkTemplatedEmail operation.
Implementations§
source§impl BulkEmailEntryResult
impl BulkEmailEntryResult
sourcepub fn status(&self) -> Option<&BulkEmailStatus>
pub fn status(&self) -> Option<&BulkEmailStatus>
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) -> Option<&str>
pub fn error(&self) -> Option<&str>
A description of an error that prevented a message being sent using the SendBulkTemplatedEmail operation.
sourcepub fn message_id(&self) -> Option<&str>
pub fn message_id(&self) -> Option<&str>
The unique message identifier returned from the SendBulkTemplatedEmail operation.
source§impl BulkEmailEntryResult
impl BulkEmailEntryResult
sourcepub fn builder() -> BulkEmailEntryResultBuilder
pub fn builder() -> BulkEmailEntryResultBuilder
Creates a new builder-style object to manufacture BulkEmailEntryResult.
Trait Implementations§
source§impl Clone for BulkEmailEntryResult
impl Clone for BulkEmailEntryResult
source§fn clone(&self) -> BulkEmailEntryResult
fn clone(&self) -> BulkEmailEntryResult
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for BulkEmailEntryResult
impl Debug for BulkEmailEntryResult
source§impl PartialEq for BulkEmailEntryResult
impl PartialEq for BulkEmailEntryResult
source§fn eq(&self, other: &BulkEmailEntryResult) -> bool
fn eq(&self, other: &BulkEmailEntryResult) -> bool
self and other values to be equal, and is used
by ==.