aws_sdk_databasemigration/client/
delete_event_subscription.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteEventSubscription`](crate::operation::delete_event_subscription::builders::DeleteEventSubscriptionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`subscription_name(impl Into<String>)`](crate::operation::delete_event_subscription::builders::DeleteEventSubscriptionFluentBuilder::subscription_name) / [`set_subscription_name(Option<String>)`](crate::operation::delete_event_subscription::builders::DeleteEventSubscriptionFluentBuilder::set_subscription_name):<br>required: **true**<br><p>The name of the DMS event notification subscription to be deleted.</p><br>
    /// - On success, responds with [`DeleteEventSubscriptionOutput`](crate::operation::delete_event_subscription::DeleteEventSubscriptionOutput) with field(s):
    ///   - [`event_subscription(Option<EventSubscription>)`](crate::operation::delete_event_subscription::DeleteEventSubscriptionOutput::event_subscription): <p>The event subscription that was deleted.</p>
    /// - On failure, responds with [`SdkError<DeleteEventSubscriptionError>`](crate::operation::delete_event_subscription::DeleteEventSubscriptionError)
    pub fn delete_event_subscription(&self) -> crate::operation::delete_event_subscription::builders::DeleteEventSubscriptionFluentBuilder {
        crate::operation::delete_event_subscription::builders::DeleteEventSubscriptionFluentBuilder::new(self.handle.clone())
    }
}