aws_sdk_quicksight/client/
create_topic_refresh_schedule.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 [`CreateTopicRefreshSchedule`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`aws_account_id(impl Into<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::aws_account_id) / [`set_aws_account_id(Option<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::set_aws_account_id):<br>required: **true**<br><p>The ID of the Amazon Web Services account that contains the topic you're creating a refresh schedule for.</p><br>
7    ///   - [`topic_id(impl Into<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::topic_id) / [`set_topic_id(Option<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::set_topic_id):<br>required: **true**<br><p>The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p><br>
8    ///   - [`dataset_arn(impl Into<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::dataset_arn) / [`set_dataset_arn(Option<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::set_dataset_arn):<br>required: **true**<br><p>The Amazon Resource Name (ARN) of the dataset.</p><br>
9    ///   - [`dataset_name(impl Into<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::dataset_name) / [`set_dataset_name(Option<String>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::set_dataset_name):<br>required: **false**<br><p>The name of the dataset.</p><br>
10    ///   - [`refresh_schedule(TopicRefreshSchedule)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::refresh_schedule) / [`set_refresh_schedule(Option<TopicRefreshSchedule>)`](crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::set_refresh_schedule):<br>required: **true**<br><p>The definition of a refresh schedule.</p><br>
11    /// - On success, responds with [`CreateTopicRefreshScheduleOutput`](crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleOutput) with field(s):
12    ///   - [`topic_id(Option<String>)`](crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleOutput::topic_id): <p>The ID of the topic that you want to modify. This ID is unique per Amazon Web Services Region for each Amazon Web Services account.</p>
13    ///   - [`topic_arn(Option<String>)`](crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleOutput::topic_arn): <p>The Amazon Resource Name (ARN) of the topic.</p>
14    ///   - [`dataset_arn(Option<String>)`](crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleOutput::dataset_arn): <p>The Amazon Resource Name (ARN) of the dataset.</p>
15    ///   - [`status(i32)`](crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleOutput::status): <p>The HTTP status of the request.</p>
16    ///   - [`request_id(Option<String>)`](crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleOutput::request_id): <p>The Amazon Web Services request ID for this operation.</p>
17    /// - On failure, responds with [`SdkError<CreateTopicRefreshScheduleError>`](crate::operation::create_topic_refresh_schedule::CreateTopicRefreshScheduleError)
18    pub fn create_topic_refresh_schedule(
19        &self,
20    ) -> crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder {
21        crate::operation::create_topic_refresh_schedule::builders::CreateTopicRefreshScheduleFluentBuilder::new(self.handle.clone())
22    }
23}