amazonka-kendra-2.0: Amazon KendraFrontendService SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.Kendra.Types.ColumnConfiguration

Description

 
Synopsis

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

Instances details
FromJSON ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

ToJSON ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

Generic ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

Associated Types

type Rep ColumnConfiguration :: Type -> Type #

Read ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

Show ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

NFData ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

Methods

rnf :: ColumnConfiguration -> () #

Eq ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

Hashable ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

type Rep ColumnConfiguration Source # 
Instance details

Defined in Amazonka.Kendra.Types.ColumnConfiguration

type Rep ColumnConfiguration = D1 ('MetaData "ColumnConfiguration" "Amazonka.Kendra.Types.ColumnConfiguration" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "ColumnConfiguration'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "documentTitleColumnName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "fieldMappings") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty DataSourceToIndexFieldMapping)))) :*: (S1 ('MetaSel ('Just "documentIdColumnName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "documentDataColumnName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "changeDetectingColumns") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (NonEmpty Text))))))

newColumnConfiguration Source #

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.