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.DataSourceToIndexFieldMapping

Description

 
Synopsis

Documentation

data DataSourceToIndexFieldMapping Source #

Maps a column or attribute in the data source to an index field. You must first create the fields in the index using the UpdateIndex API.

See: newDataSourceToIndexFieldMapping smart constructor.

Constructors

DataSourceToIndexFieldMapping' 

Fields

Instances

Instances details
FromJSON DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

ToJSON DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

Generic DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

Associated Types

type Rep DataSourceToIndexFieldMapping :: Type -> Type #

Read DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

Show DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

NFData DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

Eq DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

Hashable DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

type Rep DataSourceToIndexFieldMapping Source # 
Instance details

Defined in Amazonka.Kendra.Types.DataSourceToIndexFieldMapping

type Rep DataSourceToIndexFieldMapping = D1 ('MetaData "DataSourceToIndexFieldMapping" "Amazonka.Kendra.Types.DataSourceToIndexFieldMapping" "amazonka-kendra-2.0-IHloXAWlYIS8YTp1gXe6J" 'False) (C1 ('MetaCons "DataSourceToIndexFieldMapping'" 'PrefixI 'True) (S1 ('MetaSel ('Just "dateFieldFormat") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "dataSourceFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "indexFieldName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))

newDataSourceToIndexFieldMapping Source #

Create a value of DataSourceToIndexFieldMapping 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:dateFieldFormat:DataSourceToIndexFieldMapping', dataSourceToIndexFieldMapping_dateFieldFormat - The type of data stored in the column or attribute.

$sel:dataSourceFieldName:DataSourceToIndexFieldMapping', dataSourceToIndexFieldMapping_dataSourceFieldName - The name of the column or attribute in the data source.

$sel:indexFieldName:DataSourceToIndexFieldMapping', dataSourceToIndexFieldMapping_indexFieldName - The name of the field in the index.

dataSourceToIndexFieldMapping_dataSourceFieldName :: Lens' DataSourceToIndexFieldMapping Text Source #

The name of the column or attribute in the data source.