Struct aws_sdk_ses::input::SetIdentityHeadersInNotificationsEnabledInput [−][src]
#[non_exhaustive]pub struct SetIdentityHeadersInNotificationsEnabledInput {
pub identity: Option<String>,
pub notification_type: Option<NotificationType>,
pub enabled: bool,
}
Expand description
Represents a request to set whether Amazon SES includes the original email headers in the Amazon SNS notifications of a specified type. For information about notifications, see the Amazon SES Developer Guide.
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.identity: Option<String>
The identity for which to enable or disable headers in notifications. Examples: user@example.com
, example.com
.
notification_type: Option<NotificationType>
The notification type for which to enable or disable headers in notifications.
enabled: bool
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true
specifies that Amazon SES will include headers in notifications, and a value of false
specifies that Amazon SES will not include headers in notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon SNS topic.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetIdentityHeadersInNotificationsEnabled, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<SetIdentityHeadersInNotificationsEnabled, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<SetIdentityHeadersInNotificationsEnabled
>
Creates a new builder-style object to manufacture SetIdentityHeadersInNotificationsEnabledInput
The identity for which to enable or disable headers in notifications. Examples: user@example.com
, example.com
.
The notification type for which to enable or disable headers in notifications.
Sets whether Amazon SES includes the original email headers in Amazon SNS notifications of the specified notification type. A value of true
specifies that Amazon SES will include headers in notifications, and a value of false
specifies that Amazon SES will not include headers in notifications.
This value can only be set when NotificationType
is already set to use a particular Amazon SNS topic.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more