aws_sdk_quicksight/client/
describe_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 [`DescribeTopic`](crate::operation::describe_topic::builders::DescribeTopicFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::describe_topic::builders::DescribeTopicFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::describe_topic::builders::DescribeTopicFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The Amazon Web Services account ID.</p><br>
7    ///   - [`topic_id(impl Into<String>)`](crate::operation::describe_topic::builders::DescribeTopicFluentBuilder::topic_id) / [`set_topic_id(Option<String>)`](crate::operation::describe_topic::builders::DescribeTopicFluentBuilder::set_topic_id):<br>required: **true**<br><p>The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p><br>
8    /// - On success, responds with [`DescribeTopicOutput`](crate::operation::describe_topic::DescribeTopicOutput) with field(s):
9    ///   - [`arn(Option<String>)`](crate::operation::describe_topic::DescribeTopicOutput::arn): <p>The Amazon Resource Name (ARN) of the topic.</p>
10    ///   - [`topic_id(Option<String>)`](crate::operation::describe_topic::DescribeTopicOutput::topic_id): <p>The ID of the topic that you want to describe. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p>
11    ///   - [`topic(Option<TopicDetails>)`](crate::operation::describe_topic::DescribeTopicOutput::topic): <p>The definition of a topic.</p>
12    ///   - [`request_id(Option<String>)`](crate::operation::describe_topic::DescribeTopicOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
13    ///   - [`status(i32)`](crate::operation::describe_topic::DescribeTopicOutput::status): <p>The HTTP status of the request.</p>
14    ///   - [`custom_instructions(Option<CustomInstructions>)`](crate::operation::describe_topic::DescribeTopicOutput::custom_instructions): <p>Custom instructions for the topic.</p>
15    /// - On failure, responds with [`SdkError<DescribeTopicError>`](crate::operation::describe_topic::DescribeTopicError)
16    pub fn describe_topic(&self) -> crate::operation::describe_topic::builders::DescribeTopicFluentBuilder {
17        crate::operation::describe_topic::builders::DescribeTopicFluentBuilder::new(self.handle.clone())
18    }
19}