aws_sdk_quicksight/client/create_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 [`CreateTopic`](crate::operation::create_topic::builders::CreateTopicFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`aws_account_id(impl Into<String>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that you want to create a topic in.</p><br>
7 /// - [`topic_id(impl Into<String>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::topic_id) / [`set_topic_id(Option<String>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::set_topic_id):<br>required: **true**<br><p>The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p><br>
8 /// - [`topic(TopicDetails)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::topic) / [`set_topic(Option<TopicDetails>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::set_topic):<br>required: **true**<br><p>The definition of a topic to create.</p><br>
9 /// - [`tags(Tag)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::tags) / [`set_tags(Option<Vec::<Tag>>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::set_tags):<br>required: **false**<br><p>Contains a map of the key-value pairs for the resource tag or tags that are assigned to the dataset.</p><br>
10 /// - [`folder_arns(impl Into<String>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::folder_arns) / [`set_folder_arns(Option<Vec::<String>>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::set_folder_arns):<br>required: **false**<br><p>The Folder ARN of the folder that you want the topic to reside in.</p><br>
11 /// - [`custom_instructions(CustomInstructions)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::custom_instructions) / [`set_custom_instructions(Option<CustomInstructions>)`](crate::operation::create_topic::builders::CreateTopicFluentBuilder::set_custom_instructions):<br>required: **false**<br><p>Custom instructions for the topic.</p><br>
12 /// - On success, responds with [`CreateTopicOutput`](crate::operation::create_topic::CreateTopicOutput) with field(s):
13 /// - [`arn(Option<String>)`](crate::operation::create_topic::CreateTopicOutput::arn): <p>The Amazon Resource Name (ARN) of the topic.</p>
14 /// - [`topic_id(Option<String>)`](crate::operation::create_topic::CreateTopicOutput::topic_id): <p>The ID for the topic that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p>
15 /// - [`refresh_arn(Option<String>)`](crate::operation::create_topic::CreateTopicOutput::refresh_arn): <p>The Amazon Resource Name (ARN) of the topic refresh.</p>
16 /// - [`request_id(Option<String>)`](crate::operation::create_topic::CreateTopicOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
17 /// - [`status(i32)`](crate::operation::create_topic::CreateTopicOutput::status): <p>The HTTP status of the request.</p>
18 /// - On failure, responds with [`SdkError<CreateTopicError>`](crate::operation::create_topic::CreateTopicError)
19 pub fn create_topic(&self) -> crate::operation::create_topic::builders::CreateTopicFluentBuilder {
20 crate::operation::create_topic::builders::CreateTopicFluentBuilder::new(self.handle.clone())
21 }
22}