1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`DescribeTopic`](crate::operation::describe_topic::builders::DescribeTopicFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`DescribeTopicOutput`](crate::operation::describe_topic::DescribeTopicOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::describe_topic::DescribeTopicOutput::arn): <p>The Amazon Resource Name (ARN) of the topic.</p>
    ///   - [`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>
    ///   - [`topic(Option<TopicDetails>)`](crate::operation::describe_topic::DescribeTopicOutput::topic): <p>The definition of a topic.</p>
    ///   - [`request_id(Option<String>)`](crate::operation::describe_topic::DescribeTopicOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
    ///   - [`status(i32)`](crate::operation::describe_topic::DescribeTopicOutput::status): <p>The HTTP status of the request.</p>
    /// - On failure, responds with [`SdkError<DescribeTopicError>`](crate::operation::describe_topic::DescribeTopicError)
    pub fn describe_topic(&self) -> crate::operation::describe_topic::builders::DescribeTopicFluentBuilder {
        crate::operation::describe_topic::builders::DescribeTopicFluentBuilder::new(self.handle.clone())
    }
}