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