aws_sdk_sns/client/delete_topic.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 [`DeleteTopic`](crate::operation::delete_topic::builders::DeleteTopicFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`topic_arn(impl Into<String>)`](crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::topic_arn) / [`set_topic_arn(Option<String>)`](crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::set_topic_arn):<br>required: **true**<br><p>The ARN of the topic you want to delete.</p><br>
7 /// - On success, responds with [`DeleteTopicOutput`](crate::operation::delete_topic::DeleteTopicOutput)
8 /// - On failure, responds with [`SdkError<DeleteTopicError>`](crate::operation::delete_topic::DeleteTopicError)
9 pub fn delete_topic(&self) -> crate::operation::delete_topic::builders::DeleteTopicFluentBuilder {
10 crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::new(self.handle.clone())
11 }
12}