CreateDataSourceRequest
public struct CreateDataSourceRequest : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember] -
The connector configuration information that is required to access the repository.
Declaration
Swift
public let configuration: DataSourceConfiguration -
A description for the data source.
Declaration
Swift
public let description: String? -
The identifier of the index that should be associated with this data source.
Declaration
Swift
public let indexId: String -
A unique name for the data source. A data source name can’t be changed without deleting and recreating the data source.
Declaration
Swift
public let name: 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.
Declaration
Swift
public let roleArn: 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.
Declaration
Swift
public let schedule: String? -
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.
Declaration
Swift
public let tags: [Tag]? -
The type of repository that contains the data source.
Declaration
Swift
public let type: DataSourceType -
Undocumented
Declaration
Swift
public init(configuration: DataSourceConfiguration, description: String? = nil, indexId: String, name: String, roleArn: String, schedule: String? = nil, tags: [Tag]? = nil, type: DataSourceType) -
Declaration
Swift
public func validate(name: String) throws
View on GitHub
CreateDataSourceRequest Structure Reference