pub struct CreateDataSourceRequest {
pub configuration: DataSourceConfiguration,
pub description: Option<String>,
pub index_id: String,
pub name: String,
pub role_arn: String,
pub schedule: Option<String>,
pub tags: Option<Vec<Tag>>,
pub type_: String,
}Fields§
§configuration: DataSourceConfigurationThe connector configuration information that is required to access the repository.
description: Option<String>A description for the data source.
index_id: StringThe identifier of the index that should be associated with this data source.
name: StringA unique name for the data source. A data source name can't be changed without deleting and recreating the data source.
role_arn: StringThe Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.
schedule: Option<String>Sets the frequency that Amazon Kendra will check the documents in your repository and update the index. If you don't set a schedule Amazon Kendra will not periodically update the index. You can call the StartDataSourceSyncJob operation to update the index.
A list of key-value pairs that identify the data source. You can use the tags to identify and organize your resources and to control access to resources.
type_: StringThe type of repository that contains the data source.
Trait Implementations§
Source§impl Clone for CreateDataSourceRequest
impl Clone for CreateDataSourceRequest
Source§fn clone(&self) -> CreateDataSourceRequest
fn clone(&self) -> CreateDataSourceRequest
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more