aws_sdk_quicksight/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 /// - [`aws_account_id(impl Into<String>)`](crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the topic that you want to delete.</p><br>
7 /// - [`topic_id(impl Into<String>)`](crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::topic_id) / [`set_topic_id(Option<String>)`](crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::set_topic_id):<br>required: **true**<br><p>The ID of the topic that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p><br>
8 /// - On success, responds with [`DeleteTopicOutput`](crate::operation::delete_topic::DeleteTopicOutput) with field(s):
9 /// - [`arn(Option<String>)`](crate::operation::delete_topic::DeleteTopicOutput::arn): <p>The Amazon Resource Name (ARN) of the topic.</p>
10 /// - [`topic_id(Option<String>)`](crate::operation::delete_topic::DeleteTopicOutput::topic_id): <p>The ID of the topic that you want to delete. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p>
11 /// - [`request_id(Option<String>)`](crate::operation::delete_topic::DeleteTopicOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
12 /// - [`status(i32)`](crate::operation::delete_topic::DeleteTopicOutput::status): <p>The HTTP status of the request.</p>
13 /// - On failure, responds with [`SdkError<DeleteTopicError>`](crate::operation::delete_topic::DeleteTopicError)
14 pub fn delete_topic(&self) -> crate::operation::delete_topic::builders::DeleteTopicFluentBuilder {
15 crate::operation::delete_topic::builders::DeleteTopicFluentBuilder::new(self.handle.clone())
16 }
17}