aws_sdk_workdocs/client/delete_notification_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 [`DeleteNotificationSubscription`](crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`subscription_id(impl Into<String>)`](crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder::subscription_id) / [`set_subscription_id(Option<String>)`](crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder::set_subscription_id):<br>required: **true**<br><p>The ID of the subscription.</p><br>
7 /// - [`organization_id(impl Into<String>)`](crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder::organization_id) / [`set_organization_id(Option<String>)`](crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder::set_organization_id):<br>required: **true**<br><p>The ID of the organization.</p><br>
8 /// - On success, responds with [`DeleteNotificationSubscriptionOutput`](crate::operation::delete_notification_subscription::DeleteNotificationSubscriptionOutput)
9 /// - On failure, responds with [`SdkError<DeleteNotificationSubscriptionError>`](crate::operation::delete_notification_subscription::DeleteNotificationSubscriptionError)
10 pub fn delete_notification_subscription(
11 &self,
12 ) -> crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder {
13 crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder::new(self.handle.clone())
14 }
15}