aws_sdk_kendra/client/
stop_data_source_sync_job.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 [`StopDataSourceSyncJob`](crate::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`id(impl Into<String>)`](crate::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobFluentBuilder::id) / [`set_id(Option<String>)`](crate::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobFluentBuilder::set_id):<br>required: **true**<br><p>The identifier of the data source connector for which to stop the synchronization jobs.</p><br>
7    ///   - [`index_id(impl Into<String>)`](crate::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobFluentBuilder::index_id) / [`set_index_id(Option<String>)`](crate::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobFluentBuilder::set_index_id):<br>required: **true**<br><p>The identifier of the index used with the data source connector.</p><br>
8    /// - On success, responds with [`StopDataSourceSyncJobOutput`](crate::operation::stop_data_source_sync_job::StopDataSourceSyncJobOutput)
9    /// - On failure, responds with [`SdkError<StopDataSourceSyncJobError>`](crate::operation::stop_data_source_sync_job::StopDataSourceSyncJobError)
10    pub fn stop_data_source_sync_job(&self) -> crate::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobFluentBuilder {
11        crate::operation::stop_data_source_sync_job::builders::StopDataSourceSyncJobFluentBuilder::new(self.handle.clone())
12    }
13}