Struct rusoto_ses::EventDestination
source · [−]pub struct EventDestination {
pub cloud_watch_destination: Option<CloudWatchDestination>,
pub enabled: Option<bool>,
pub kinesis_firehose_destination: Option<KinesisFirehoseDestination>,
pub matching_event_types: Vec<String>,
pub name: String,
pub sns_destination: Option<SNSDestination>,
}
Expand description
Contains information about the event destination that the specified email sending events will be published to.
When you create or update an event destination, you must provide one, and only one, destination. The destination can be Amazon CloudWatch, Amazon Kinesis Firehose or Amazon Simple Notification Service (Amazon SNS).
Event destinations are associated with configuration sets, which enable you to publish email sending events to Amazon CloudWatch, Amazon Kinesis Firehose, or Amazon Simple Notification Service (Amazon SNS). For information about using configuration sets, see the Amazon SES Developer Guide.
Fields
cloud_watch_destination: Option<CloudWatchDestination>
An object that contains the names, default values, and sources of the dimensions associated with an Amazon CloudWatch event destination.
enabled: Option<bool>
Sets whether Amazon SES publishes events to this destination when you send an email with the associated configuration set. Set to true
to enable publishing to this destination; set to false
to prevent publishing to this destination. The default value is false
.
kinesis_firehose_destination: Option<KinesisFirehoseDestination>
An object that contains the delivery stream ARN and the IAM role ARN associated with an Amazon Kinesis Firehose event destination.
matching_event_types: Vec<String>
The type of email sending events to publish to the event destination.
name: String
The name of the event destination. The name must:
-
This value can only contain ASCII letters (a-z, A-Z), numbers (0-9), underscores (_), or dashes (-).
-
Contain less than 64 characters.
sns_destination: Option<SNSDestination>
An object that contains the topic ARN associated with an Amazon Simple Notification Service (Amazon SNS) event destination.
Trait Implementations
sourceimpl Clone for EventDestination
impl Clone for EventDestination
sourcefn clone(&self) -> EventDestination
fn clone(&self) -> EventDestination
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for EventDestination
impl Debug for EventDestination
sourceimpl Default for EventDestination
impl Default for EventDestination
sourcefn default() -> EventDestination
fn default() -> EventDestination
Returns the “default value” for a type. Read more
sourceimpl PartialEq<EventDestination> for EventDestination
impl PartialEq<EventDestination> for EventDestination
sourcefn eq(&self, other: &EventDestination) -> bool
fn eq(&self, other: &EventDestination) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &EventDestination) -> bool
fn ne(&self, other: &EventDestination) -> bool
This method tests for !=
.
impl StructuralPartialEq for EventDestination
Auto Trait Implementations
impl RefUnwindSafe for EventDestination
impl Send for EventDestination
impl Sync for EventDestination
impl Unpin for EventDestination
impl UnwindSafe for EventDestination
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more