Values.DescribeIndexResponseSourceGets information about an Amazon Kendra index.
type nonrec t = {name : IndexName.t option;The name of the index.
*)id : IndexId.t option;The identifier of the index.
*)edition : IndexEdition.t option;The Amazon Kendra edition used for the index. You decide the edition when you create the index.
*)roleArn : RoleArn.t option;The Amazon Resource Name (ARN) of the IAM role that gives Amazon Kendra permission to write to your Amazon CloudWatch logs.
*)serverSideEncryptionConfiguration : ServerSideEncryptionConfiguration.t option;The identifier of the KMS customer master key (CMK) that is used to encrypt your data. Amazon Kendra doesn't support asymmetric CMKs.
*)status : IndexStatus.t option;The current status of the index. When the value is ACTIVE, the index is ready for use. If the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
*)description : Description.t option;The description for the index.
*)createdAt : Timestamp.t option;The Unix timestamp when the index was created.
*)updatedAt : Timestamp.t option;The Unix timestamp when the index was last updated.
*)documentMetadataConfigurations : DocumentMetadataConfigurationList.t option;Configuration information for document metadata or fields. Document metadata are fields or attributes associated with your documents. For example, the company department name associated with each document.
*)indexStatistics : IndexStatistics.t option;Provides information about the number of FAQ questions and answers and the number of text documents indexed.
*)errorMessage : ErrorMessage.t option;When the Status field value is FAILED, the ErrorMessage field contains a message that explains why.
*)capacityUnits : CapacityUnitsConfiguration.t option;For Enterprise Edition indexes, you can choose to use additional capacity to meet the needs of your application. This contains the capacity units used for the index. A query or document storage capacity of zero indicates that the index is using the default capacity. For more information on the default capacity for an index and adjusting this, see Adjusting capacity.
*)userTokenConfigurations : UserTokenConfigurationList.t option;The user token configuration for the Amazon Kendra index.
*)userContextPolicy : UserContextPolicy.t option;The user context policy for the Amazon Kendra index.
*)userGroupResolutionConfiguration : UserGroupResolutionConfiguration.t option;Whether you have enabled IAM Identity Center identity source for your users and groups. This is useful for user context filtering, where search results are filtered based on the user or their group access to documents.
*)}type nonrec error = [ | `AccessDeniedException of AccessDeniedException.t| `InternalServerException of InternalServerException.t| `ResourceNotFoundException of ResourceNotFoundException.t| `ThrottlingException of ThrottlingException.t| `ValidationException of ValidationException.t| `Unknown_operation_error of string * string option ]val make :
?name:??? ->
?id:??? ->
?edition:??? ->
?roleArn:??? ->
?serverSideEncryptionConfiguration:??? ->
?status:??? ->
?description:??? ->
?createdAt:??? ->
?updatedAt:??? ->
?documentMetadataConfigurations:??? ->
?indexStatistics:??? ->
?errorMessage:??? ->
?capacityUnits:??? ->
?userTokenConfigurations:??? ->
?userContextPolicy:??? ->
?userGroupResolutionConfiguration:??? ->
unit ->
tval error_of_json :
string ->
Yojson.Safe.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val error_of_xml :
string ->
Awso.Xml.t ->
[> `AccessDeniedException of AccessDeniedException.t
| `InternalServerException of InternalServerException.t
| `ResourceNotFoundException of ResourceNotFoundException.t
| `ThrottlingException of ThrottlingException.t
| `Unknown_operation_error of string * string option
| `ValidationException of ValidationException.t ]val to_value :
t ->
[> `Structure of
(string
* [> `Enum of string
| `List of
[> `Structure of
(string
* [> `Enum of string
| `String of DocumentMetadataConfigurationName.t
| `Structure of
(string
* [> `Boolean of DocumentMetadataBoolean.t
| `Enum of string
| `Integer of Importance.t
| `Map of
([> `String of ValueImportanceMapKey.t ]
* [> `Integer of Importance.t ])
list
| `String of Duration.t ])
list ])
list ]
list
| `String of IndexName.t
| `Structure of
(string
* [> `Enum of string
| `Integer of StorageCapacityUnit.t
| `String of KmsKeyId.t
| `Structure of
(string
* [> `Integer of IndexedQuestionAnswersCount.t
| `Long of IndexedTextBytes.t ])
list ])
list
| `Timestamp of Timestamp.t ])
list ]