| 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.ConfluenceBlogToIndexFieldMapping
Description
Synopsis
- data ConfluenceBlogToIndexFieldMapping = ConfluenceBlogToIndexFieldMapping' {}
- newConfluenceBlogToIndexFieldMapping :: ConfluenceBlogToIndexFieldMapping
- confluenceBlogToIndexFieldMapping_dataSourceFieldName :: Lens' ConfluenceBlogToIndexFieldMapping (Maybe ConfluenceBlogFieldName)
- confluenceBlogToIndexFieldMapping_dateFieldFormat :: Lens' ConfluenceBlogToIndexFieldMapping (Maybe Text)
- confluenceBlogToIndexFieldMapping_indexFieldName :: Lens' ConfluenceBlogToIndexFieldMapping (Maybe Text)
Documentation
data ConfluenceBlogToIndexFieldMapping Source #
Maps attributes or field names of Confluence blog to Amazon Kendra index
field names. To create custom fields, use the UpdateIndex API before
you map to Confluence fields. For more information, see
Mapping data source fields.
The Confluence data source field names must exist in your Confluence
custom metadata.
See: newConfluenceBlogToIndexFieldMapping smart constructor.
Constructors
| ConfluenceBlogToIndexFieldMapping' | |
Fields
| |
Instances
newConfluenceBlogToIndexFieldMapping :: ConfluenceBlogToIndexFieldMapping Source #
Create a value of ConfluenceBlogToIndexFieldMapping 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:dataSourceFieldName:ConfluenceBlogToIndexFieldMapping', confluenceBlogToIndexFieldMapping_dataSourceFieldName - The name of the field in the data source.
$sel:dateFieldFormat:ConfluenceBlogToIndexFieldMapping', confluenceBlogToIndexFieldMapping_dateFieldFormat - The format for date fields in the data source. If the field specified in
DataSourceFieldName is a date field you must specify the date format.
If the field is not a date field, an exception is thrown.
$sel:indexFieldName:ConfluenceBlogToIndexFieldMapping', confluenceBlogToIndexFieldMapping_indexFieldName - The name of the index field to map to the Confluence data source field.
The index field type must match the Confluence field type.
confluenceBlogToIndexFieldMapping_dataSourceFieldName :: Lens' ConfluenceBlogToIndexFieldMapping (Maybe ConfluenceBlogFieldName) Source #
The name of the field in the data source.
confluenceBlogToIndexFieldMapping_dateFieldFormat :: Lens' ConfluenceBlogToIndexFieldMapping (Maybe Text) Source #
The format for date fields in the data source. If the field specified in
DataSourceFieldName is a date field you must specify the date format.
If the field is not a date field, an exception is thrown.
confluenceBlogToIndexFieldMapping_indexFieldName :: Lens' ConfluenceBlogToIndexFieldMapping (Maybe Text) Source #
The name of the index field to map to the Confluence data source field. The index field type must match the Confluence field type.