aws_sdk_quicksight/client/
list_topics.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 [`ListTopics`](crate::operation::list_topics::builders::ListTopicsFluentBuilder) operation.
4    /// This operation supports pagination; See [`into_paginator()`](crate::operation::list_topics::builders::ListTopicsFluentBuilder::into_paginator).
5    ///
6    /// - The fluent builder is configurable:
7    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::list_topics::builders::ListTopicsFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::list_topics::builders::ListTopicsFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the topics that you want to list.</p><br>
8    ///   - [`next_token(impl Into<String>)`](crate::operation::list_topics::builders::ListTopicsFluentBuilder::next_token) / [`set_next_token(Option<String>)`](crate::operation::list_topics::builders::ListTopicsFluentBuilder::set_next_token):<br>required: **false**<br><p>The token for the next set of results, or null if there are no more results.</p><br>
9    ///   - [`max_results(i32)`](crate::operation::list_topics::builders::ListTopicsFluentBuilder::max_results) / [`set_max_results(Option<i32>)`](crate::operation::list_topics::builders::ListTopicsFluentBuilder::set_max_results):<br>required: **false**<br><p>The maximum number of results to be returned per request.</p><br>
10    /// - On success, responds with [`ListTopicsOutput`](crate::operation::list_topics::ListTopicsOutput) with field(s):
11    ///   - [`topics_summaries(Option<Vec::<TopicSummary>>)`](crate::operation::list_topics::ListTopicsOutput::topics_summaries): <p>A list of topic summaries.</p>
12    ///   - [`next_token(Option<String>)`](crate::operation::list_topics::ListTopicsOutput::next_token): <p>The token for the next set of results, or null if there are no more results.</p>
13    ///   - [`request_id(Option<String>)`](crate::operation::list_topics::ListTopicsOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
14    ///   - [`status(i32)`](crate::operation::list_topics::ListTopicsOutput::status): <p>The HTTP status of the request.</p>
15    /// - On failure, responds with [`SdkError<ListTopicsError>`](crate::operation::list_topics::ListTopicsError)
16    pub fn list_topics(&self) -> crate::operation::list_topics::builders::ListTopicsFluentBuilder {
17        crate::operation::list_topics::builders::ListTopicsFluentBuilder::new(self.handle.clone())
18    }
19}