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 [`DeregisterEventTopic`](crate::operation::deregister_event_topic::builders::DeregisterEventTopicFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`directory_id(impl Into<String>)`](crate::operation::deregister_event_topic::builders::DeregisterEventTopicFluentBuilder::directory_id) / [`set_directory_id(Option<String>)`](crate::operation::deregister_event_topic::builders::DeregisterEventTopicFluentBuilder::set_directory_id):<br>required: **true**<br><p>The Directory ID to remove as a publisher. This directory will no longer send messages to the specified Amazon SNS topic.</p><br>
    ///   - [`topic_name(impl Into<String>)`](crate::operation::deregister_event_topic::builders::DeregisterEventTopicFluentBuilder::topic_name) / [`set_topic_name(Option<String>)`](crate::operation::deregister_event_topic::builders::DeregisterEventTopicFluentBuilder::set_topic_name):<br>required: **true**<br><p>The name of the Amazon SNS topic from which to remove the directory as a publisher.</p><br>
    /// - On success, responds with [`DeregisterEventTopicOutput`](crate::operation::deregister_event_topic::DeregisterEventTopicOutput)
    /// - On failure, responds with [`SdkError<DeregisterEventTopicError>`](crate::operation::deregister_event_topic::DeregisterEventTopicError)
    pub fn deregister_event_topic(&self) -> crate::operation::deregister_event_topic::builders::DeregisterEventTopicFluentBuilder {
        crate::operation::deregister_event_topic::builders::DeregisterEventTopicFluentBuilder::new(self.handle.clone())
    }
}