aws_sdk_quicksight/client/
batch_create_topic_reviewed_answer.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 [`BatchCreateTopicReviewedAnswer`](crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that you want to create a reviewed answer in.</p><br>
7    ///   - [`topic_id(impl Into<String>)`](crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder::topic_id) / [`set_topic_id(Option<String>)`](crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder::set_topic_id):<br>required: **true**<br><p>The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p><br>
8    ///   - [`answers(CreateTopicReviewedAnswer)`](crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder::answers) / [`set_answers(Option<Vec::<CreateTopicReviewedAnswer>>)`](crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder::set_answers):<br>required: **true**<br><p>The definition of the Answers to be created.</p><br>
9    /// - On success, responds with [`BatchCreateTopicReviewedAnswerOutput`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerOutput) with field(s):
10    ///   - [`topic_id(Option<String>)`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerOutput::topic_id): <p>The ID for the topic reviewed answer that you want to create. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p>
11    ///   - [`topic_arn(Option<String>)`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerOutput::topic_arn): <p>The Amazon Resource Name (ARN) of the topic.</p>
12    ///   - [`succeeded_answers(Option<Vec::<SucceededTopicReviewedAnswer>>)`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerOutput::succeeded_answers): <p>The definition of Answers that are successfully created.</p>
13    ///   - [`invalid_answers(Option<Vec::<InvalidTopicReviewedAnswer>>)`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerOutput::invalid_answers): <p>The definition of Answers that are invalid and not created.</p>
14    ///   - [`status(i32)`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerOutput::status): <p>The HTTP status of the request.</p>
15    ///   - [`request_id(Option<String>)`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
16    /// - On failure, responds with [`SdkError<BatchCreateTopicReviewedAnswerError>`](crate::operation::batch_create_topic_reviewed_answer::BatchCreateTopicReviewedAnswerError)
17    pub fn batch_create_topic_reviewed_answer(
18        &self,
19    ) -> crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder {
20        crate::operation::batch_create_topic_reviewed_answer::builders::BatchCreateTopicReviewedAnswerFluentBuilder::new(self.handle.clone())
21    }
22}