Sélectionner vos préférences de cookies

Nous utilisons des cookies essentiels et des outils similaires qui sont nécessaires au fonctionnement de notre site et à la fourniture de nos services. Nous utilisons des cookies de performance pour collecter des statistiques anonymes afin de comprendre comment les clients utilisent notre site et d’apporter des améliorations. Les cookies essentiels ne peuvent pas être désactivés, mais vous pouvez cliquer sur « Personnaliser » ou « Refuser » pour refuser les cookies de performance.

Si vous êtes d’accord, AWS et les tiers approuvés utiliseront également des cookies pour fournir des fonctionnalités utiles au site, mémoriser vos préférences et afficher du contenu pertinent, y compris des publicités pertinentes. Pour accepter ou refuser tous les cookies non essentiels, cliquez sur « Accepter » ou « Refuser ». Pour effectuer des choix plus détaillés, cliquez sur « Personnaliser ».

DataSourceToIndexFieldMapping - Amazon Kendra API Reference
Cette page n'a pas été traduite dans votre langue. Demande de traduction

DataSourceToIndexFieldMapping

Maps attributes or field names of the documents synced from the data source to Amazon Kendra index field names. You can set up field mappings for each data source when calling CreateDataSource or UpdateDataSource API. To create custom fields, use the UpdateIndex API to first create an index field and then map to the data source field. For more information, see Mapping data source fields.

Contents

DataSourceFieldName

The name of the field in the data source. You must first create the index field using the UpdateIndex API.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 100.

Pattern: ^[a-zA-Z][a-zA-Z0-9_.]*$

Required: Yes

IndexFieldName

The name of the index field to map to the data source field. The index field type must match the data source field type.

Type: String

Length Constraints: Minimum length of 1. Maximum length of 30.

Pattern: ^\P{C}*$

Required: Yes

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.

Type: String

Length Constraints: Minimum length of 4. Maximum length of 40.

Pattern: ^(?!\s).*(?<!\s)$

Required: No

See Also

For more information about using this API in one of the language-specific AWS SDKs, see the following:

ConfidentialitéConditions d'utilisation du sitePréférences de cookies
© 2025, Amazon Web Services, Inc. ou ses affiliés. Tous droits réservés.