pub struct ModifyEventSubscriptionMessage {
pub enabled: Option<bool>,
pub event_categories: Option<Vec<String>>,
pub sns_topic_arn: Option<String>,
pub source_type: Option<String>,
pub subscription_name: String,
}Expand description
Fields§
§enabled: Option<bool>A Boolean value; set to true to activate the subscription.
event_categories: Option<Vec<String>> A list of event categories for a source type that you want to subscribe to. Use the DescribeEventCategories action to see a list of event categories.
sns_topic_arn: Option<String>The Amazon Resource Name (ARN) of the Amazon SNS topic created for event notification. The ARN is created by Amazon SNS when you create a topic and subscribe to it.
source_type: Option<String>The type of AWS DMS resource that generates the events you want to subscribe to.
Valid values: replication-instance | replication-task
subscription_name: StringThe name of the AWS DMS event notification subscription to be modified.
Trait Implementations§
Source§impl Clone for ModifyEventSubscriptionMessage
impl Clone for ModifyEventSubscriptionMessage
Source§fn clone(&self) -> ModifyEventSubscriptionMessage
fn clone(&self) -> ModifyEventSubscriptionMessage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for ModifyEventSubscriptionMessage
impl Default for ModifyEventSubscriptionMessage
Source§fn default() -> ModifyEventSubscriptionMessage
fn default() -> ModifyEventSubscriptionMessage
Returns the “default value” for a type. Read more
Source§impl PartialEq for ModifyEventSubscriptionMessage
impl PartialEq for ModifyEventSubscriptionMessage
Source§fn eq(&self, other: &ModifyEventSubscriptionMessage) -> bool
fn eq(&self, other: &ModifyEventSubscriptionMessage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ModifyEventSubscriptionMessage
Auto Trait Implementations§
impl Freeze for ModifyEventSubscriptionMessage
impl RefUnwindSafe for ModifyEventSubscriptionMessage
impl Send for ModifyEventSubscriptionMessage
impl Sync for ModifyEventSubscriptionMessage
impl Unpin for ModifyEventSubscriptionMessage
impl UnwindSafe for ModifyEventSubscriptionMessage
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more