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 |
Synopsis
- data DataSourceToIndexFieldMapping = DataSourceToIndexFieldMapping' {}
- newDataSourceToIndexFieldMapping :: Text -> Text -> DataSourceToIndexFieldMapping
- dataSourceToIndexFieldMapping_dateFieldFormat :: Lens' DataSourceToIndexFieldMapping (Maybe Text)
- dataSourceToIndexFieldMapping_dataSourceFieldName :: Lens' DataSourceToIndexFieldMapping Text
- dataSourceToIndexFieldMapping_indexFieldName :: Lens' DataSourceToIndexFieldMapping Text
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.
DataSourceToIndexFieldMapping' | |
|
Instances
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_dateFieldFormat :: Lens' DataSourceToIndexFieldMapping (Maybe Text) Source #
The type of data stored in the column or attribute.
dataSourceToIndexFieldMapping_dataSourceFieldName :: Lens' DataSourceToIndexFieldMapping Text Source #
The name of the column or attribute in the data source.
dataSourceToIndexFieldMapping_indexFieldName :: Lens' DataSourceToIndexFieldMapping Text Source #
The name of the field in the index.