pub struct CreateConfigurationSetEventDestination { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateConfigurationSetEventDestination
.
Creates a configuration set event destination.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS).
An event destination is the AWS service to which Amazon SES publishes the email sending events associated with a configuration set. For information about using configuration sets, see the Amazon SES Developer Guide.
You can execute this operation no more than once per second.
Implementations§
source§impl CreateConfigurationSetEventDestination
impl CreateConfigurationSetEventDestination
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<CreateConfigurationSetEventDestination, AwsResponseRetryClassifier>, SdkError<CreateConfigurationSetEventDestinationError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<CreateConfigurationSetEventDestination, AwsResponseRetryClassifier>, SdkError<CreateConfigurationSetEventDestinationError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<CreateConfigurationSetEventDestinationOutput, SdkError<CreateConfigurationSetEventDestinationError>>
pub async fn send(
self
) -> Result<CreateConfigurationSetEventDestinationOutput, SdkError<CreateConfigurationSetEventDestinationError>>
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.
sourcepub fn configuration_set_name(self, input: impl Into<String>) -> Self
pub fn configuration_set_name(self, input: impl Into<String>) -> Self
The name of the configuration set that the event destination should be associated with.
sourcepub fn set_configuration_set_name(self, input: Option<String>) -> Self
pub fn set_configuration_set_name(self, input: Option<String>) -> Self
The name of the configuration set that the event destination should be associated with.
sourcepub fn event_destination(self, input: EventDestination) -> Self
pub fn event_destination(self, input: EventDestination) -> Self
An object that describes the AWS service that email sending event information will be published to.
sourcepub fn set_event_destination(self, input: Option<EventDestination>) -> Self
pub fn set_event_destination(self, input: Option<EventDestination>) -> Self
An object that describes the AWS service that email sending event information will be published to.
Trait Implementations§
source§impl Clone for CreateConfigurationSetEventDestination
impl Clone for CreateConfigurationSetEventDestination
source§fn clone(&self) -> CreateConfigurationSetEventDestination
fn clone(&self) -> CreateConfigurationSetEventDestination
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more