[][src]Struct rusoto_dms::CreateEventSubscriptionMessage

pub struct CreateEventSubscriptionMessage {
    pub enabled: Option<bool>,
    pub event_categories: Option<Vec<String>>,
    pub sns_topic_arn: String,
    pub source_ids: Option<Vec<String>>,
    pub source_type: Option<String>,
    pub subscription_name: String,
    pub tags: Option<Vec<Tag>>,
}

Fields

enabled: Option<bool>

A Boolean value; set to true to activate the subscription, or set to false to create the subscription but not activate it.

event_categories: Option<Vec<String>>

A list of event categories for a source type that you want to subscribe to. For more information, see Working with Events and Notifications in the AWS Database Migration Service User Guide.

sns_topic_arn: 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_ids: Option<Vec<String>>

A list of identifiers for which AWS DMS provides notification events.

If you don't specify a value, notifications are provided for all sources.

If you specify multiple values, they must be of the same type. For example, if you specify a database instance ID, then all of the other values must be database instance IDs.

source_type: Option<String>

The type of AWS DMS resource that generates the events. For example, if you want to be notified of events generated by a replication instance, you set this parameter to replication-instance. If this value isn't specified, all events are returned.

Valid values: replication-instance | replication-task

subscription_name: String

The name of the AWS DMS event notification subscription. This name must be less than 255 characters.

tags: Option<Vec<Tag>>

One or more tags to be assigned to the event subscription.

Trait Implementations

impl Clone for CreateEventSubscriptionMessage[src]

impl Debug for CreateEventSubscriptionMessage[src]

impl Default for CreateEventSubscriptionMessage[src]

impl PartialEq<CreateEventSubscriptionMessage> for CreateEventSubscriptionMessage[src]

impl Serialize for CreateEventSubscriptionMessage[src]

impl StructuralPartialEq for CreateEventSubscriptionMessage[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.