pub struct SetIdentityHeadersInNotificationsEnabled<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to SetIdentityHeadersInNotificationsEnabled
.
Given an identity (an email address or a domain), sets whether Amazon SES includes the original email headers in the Amazon Simple Notification Service (Amazon SNS) notifications of a specified type.
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.
Implementations
impl<C, M, R> SetIdentityHeadersInNotificationsEnabled<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> SetIdentityHeadersInNotificationsEnabled<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<SetIdentityHeadersInNotificationsEnabledOutput, SdkError<SetIdentityHeadersInNotificationsEnabledError>> where
R::Policy: SmithyRetryPolicy<SetIdentityHeadersInNotificationsEnabledInputOperationOutputAlias, SetIdentityHeadersInNotificationsEnabledOutput, SetIdentityHeadersInNotificationsEnabledError, SetIdentityHeadersInNotificationsEnabledInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<SetIdentityHeadersInNotificationsEnabledOutput, SdkError<SetIdentityHeadersInNotificationsEnabledError>> where
R::Policy: SmithyRetryPolicy<SetIdentityHeadersInNotificationsEnabledInputOperationOutputAlias, SetIdentityHeadersInNotificationsEnabledOutput, SetIdentityHeadersInNotificationsEnabledError, SetIdentityHeadersInNotificationsEnabledInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The identity for which to enable or disable headers in notifications. Examples: user@example.com
, example.com
.
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.
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.
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
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for SetIdentityHeadersInNotificationsEnabled<C, M, R>
impl<C, M, R> Send for SetIdentityHeadersInNotificationsEnabled<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for SetIdentityHeadersInNotificationsEnabled<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for SetIdentityHeadersInNotificationsEnabled<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for SetIdentityHeadersInNotificationsEnabled<C, M, R>
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