aws_sdk_workdocs/client/
delete_notification_subscription.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DeleteNotificationSubscription`](crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DeleteNotificationSubscriptionOutput`](crate::operation::delete_notification_subscription::DeleteNotificationSubscriptionOutput)
    /// - On failure, responds with [`SdkError<DeleteNotificationSubscriptionError>`](crate::operation::delete_notification_subscription::DeleteNotificationSubscriptionError)
    pub fn delete_notification_subscription(
        &self,
    ) -> crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder {
        crate::operation::delete_notification_subscription::builders::DeleteNotificationSubscriptionFluentBuilder::new(self.handle.clone())
    }
}