| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Kendra.Types.ColumnConfiguration
Description
Synopsis
- data ColumnConfiguration = ColumnConfiguration' {}
- newColumnConfiguration :: Text -> Text -> NonEmpty Text -> ColumnConfiguration
- columnConfiguration_documentTitleColumnName :: Lens' ColumnConfiguration (Maybe Text)
- columnConfiguration_fieldMappings :: Lens' ColumnConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping))
- columnConfiguration_documentIdColumnName :: Lens' ColumnConfiguration Text
- columnConfiguration_documentDataColumnName :: Lens' ColumnConfiguration Text
- columnConfiguration_changeDetectingColumns :: Lens' ColumnConfiguration (NonEmpty Text)
Documentation
data ColumnConfiguration Source #
Provides information about how Amazon Kendra should use the columns of a database in an index.
See: newColumnConfiguration smart constructor.
Constructors
| ColumnConfiguration' | |
Fields
| |
Instances
newColumnConfiguration Source #
Arguments
| :: Text | |
| -> Text | |
| -> NonEmpty Text | |
| -> ColumnConfiguration |
Create a value of ColumnConfiguration with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:documentTitleColumnName:ColumnConfiguration', columnConfiguration_documentTitleColumnName - The column that contains the title of the document.
$sel:fieldMappings:ColumnConfiguration', columnConfiguration_fieldMappings - An array of objects that map database column names to the corresponding
fields in an index. You must first create the fields in the index using
the UpdateIndex API.
$sel:documentIdColumnName:ColumnConfiguration', columnConfiguration_documentIdColumnName - The column that provides the document's identifier.
$sel:documentDataColumnName:ColumnConfiguration', columnConfiguration_documentDataColumnName - The column that contains the contents of the document.
$sel:changeDetectingColumns:ColumnConfiguration', columnConfiguration_changeDetectingColumns - One to five columns that indicate when a document in the database has
changed.
columnConfiguration_documentTitleColumnName :: Lens' ColumnConfiguration (Maybe Text) Source #
The column that contains the title of the document.
columnConfiguration_fieldMappings :: Lens' ColumnConfiguration (Maybe (NonEmpty DataSourceToIndexFieldMapping)) Source #
An array of objects that map database column names to the corresponding
fields in an index. You must first create the fields in the index using
the UpdateIndex API.
columnConfiguration_documentIdColumnName :: Lens' ColumnConfiguration Text Source #
The column that provides the document's identifier.
columnConfiguration_documentDataColumnName :: Lens' ColumnConfiguration Text Source #
The column that contains the contents of the document.
columnConfiguration_changeDetectingColumns :: Lens' ColumnConfiguration (NonEmpty Text) Source #
One to five columns that indicate when a document in the database has changed.