[−][src]Struct rusoto_kendra::CreateDataSourceRequest
Fields
client_token: Option<String>
A token that you provide to identify the request to create a data source. Multiple calls to the CreateDataSource
operation with the same client token will create only one data source.
configuration: Option<DataSourceConfiguration>
The connector configuration information that is required to access the repository.
You can't specify the Configuration
parameter when the Type
parameter is set to CUSTOM
. If you do, you receive a ValidationException
exception.
The Configuration
parameter is required for all other data sources.
description: Option<String>
A description for the data source.
index_id: String
The identifier of the index that should be associated with this data source.
name: String
A unique name for the data source. A data source name can't be changed without deleting and recreating the data source.
role_arn: Option<String>
The Amazon Resource Name (ARN) of a role with permission to access the data source. For more information, see IAM Roles for Amazon Kendra.
You can't specify the RoleArn
parameter when the Type
parameter is set to CUSTOM
. If you do, you receive a ValidationException
exception.
The RoleArn
parameter is required for all other data sources.
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.
You can't specify the Schedule
parameter when the Type
parameter is set to CUSTOM
. If you do, you receive a ValidationException
exception.
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_: String
The type of repository that contains the data source.
Trait Implementations
impl Clone for CreateDataSourceRequest
[src]
pub fn clone(&self) -> CreateDataSourceRequest
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for CreateDataSourceRequest
[src]
impl Default for CreateDataSourceRequest
[src]
pub fn default() -> CreateDataSourceRequest
[src]
impl PartialEq<CreateDataSourceRequest> for CreateDataSourceRequest
[src]
pub fn eq(&self, other: &CreateDataSourceRequest) -> bool
[src]
pub fn ne(&self, other: &CreateDataSourceRequest) -> bool
[src]
impl Serialize for CreateDataSourceRequest
[src]
pub fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for CreateDataSourceRequest
[src]
Auto Trait Implementations
impl RefUnwindSafe for CreateDataSourceRequest
[src]
impl Send for CreateDataSourceRequest
[src]
impl Sync for CreateDataSourceRequest
[src]
impl Unpin for CreateDataSourceRequest
[src]
impl UnwindSafe for CreateDataSourceRequest
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,