Skip to content

Typed dictionaries

Index > kendra > Typed dictionaries

Auto-generated documentation for kendra type annotations stubs module mypy-boto3-kendra.

AccessControlConfigurationSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AccessControlConfigurationSummaryTypeDef

def get_value() -> AccessControlConfigurationSummaryTypeDef:
    return {
        "Id": ...,
    }
Definition
class AccessControlConfigurationSummaryTypeDef(TypedDict):
    Id: str,

AccessControlListConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AccessControlListConfigurationTypeDef

def get_value() -> AccessControlListConfigurationTypeDef:
    return {
        "KeyPath": ...,
    }
Definition
class AccessControlListConfigurationTypeDef(TypedDict):
    KeyPath: NotRequired[str],

AclConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AclConfigurationTypeDef

def get_value() -> AclConfigurationTypeDef:
    return {
        "AllowedGroupsColumnName": ...,
    }
Definition
class AclConfigurationTypeDef(TypedDict):
    AllowedGroupsColumnName: str,

DataSourceToIndexFieldMappingTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceToIndexFieldMappingTypeDef

def get_value() -> DataSourceToIndexFieldMappingTypeDef:
    return {
        "DataSourceFieldName": ...,
        "IndexFieldName": ...,
    }
Definition
class DataSourceToIndexFieldMappingTypeDef(TypedDict):
    DataSourceFieldName: str,
    IndexFieldName: str,
    DateFieldFormat: NotRequired[str],

DataSourceVpcConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceVpcConfigurationTypeDef

def get_value() -> DataSourceVpcConfigurationTypeDef:
    return {
        "SubnetIds": ...,
        "SecurityGroupIds": ...,
    }
Definition
class DataSourceVpcConfigurationTypeDef(TypedDict):
    SubnetIds: Sequence[str],
    SecurityGroupIds: Sequence[str],

S3PathTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import S3PathTypeDef

def get_value() -> S3PathTypeDef:
    return {
        "Bucket": ...,
        "Key": ...,
    }
Definition
class S3PathTypeDef(TypedDict):
    Bucket: str,
    Key: str,

EntityConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import EntityConfigurationTypeDef

def get_value() -> EntityConfigurationTypeDef:
    return {
        "EntityId": ...,
        "EntityType": ...,
    }
Definition
class EntityConfigurationTypeDef(TypedDict):
    EntityId: str,
    EntityType: EntityTypeType,  # (1)
  1. See EntityTypeType

FailedEntityTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import FailedEntityTypeDef

def get_value() -> FailedEntityTypeDef:
    return {
        "EntityId": ...,
    }
Definition
class FailedEntityTypeDef(TypedDict):
    EntityId: NotRequired[str],
    ErrorMessage: NotRequired[str],

ResponseMetadataTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ResponseMetadataTypeDef

def get_value() -> ResponseMetadataTypeDef:
    return {
        "RequestId": ...,
        "HostId": ...,
        "HTTPStatusCode": ...,
        "HTTPHeaders": ...,
        "RetryAttempts": ...,
    }
Definition
class ResponseMetadataTypeDef(TypedDict):
    RequestId: str,
    HostId: str,
    HTTPStatusCode: int,
    HTTPHeaders: Dict[str, str],
    RetryAttempts: int,

EntityPersonaConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import EntityPersonaConfigurationTypeDef

def get_value() -> EntityPersonaConfigurationTypeDef:
    return {
        "EntityId": ...,
        "Persona": ...,
    }
Definition
class EntityPersonaConfigurationTypeDef(TypedDict):
    EntityId: str,
    Persona: PersonaType,  # (1)
  1. See PersonaType

BasicAuthenticationConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BasicAuthenticationConfigurationTypeDef

def get_value() -> BasicAuthenticationConfigurationTypeDef:
    return {
        "Host": ...,
        "Port": ...,
        "Credentials": ...,
    }
Definition
class BasicAuthenticationConfigurationTypeDef(TypedDict):
    Host: str,
    Port: int,
    Credentials: str,

DataSourceSyncJobMetricTargetTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceSyncJobMetricTargetTypeDef

def get_value() -> DataSourceSyncJobMetricTargetTypeDef:
    return {
        "DataSourceId": ...,
    }
Definition
class DataSourceSyncJobMetricTargetTypeDef(TypedDict):
    DataSourceId: str,
    DataSourceSyncJobId: NotRequired[str],

BatchDeleteDocumentResponseFailedDocumentTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchDeleteDocumentResponseFailedDocumentTypeDef

def get_value() -> BatchDeleteDocumentResponseFailedDocumentTypeDef:
    return {
        "Id": ...,
    }
Definition
class BatchDeleteDocumentResponseFailedDocumentTypeDef(TypedDict):
    Id: NotRequired[str],
    ErrorCode: NotRequired[ErrorCodeType],  # (1)
    ErrorMessage: NotRequired[str],
  1. See ErrorCodeType

BatchGetDocumentStatusResponseErrorTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchGetDocumentStatusResponseErrorTypeDef

def get_value() -> BatchGetDocumentStatusResponseErrorTypeDef:
    return {
        "DocumentId": ...,
    }
Definition
class BatchGetDocumentStatusResponseErrorTypeDef(TypedDict):
    DocumentId: NotRequired[str],
    ErrorCode: NotRequired[ErrorCodeType],  # (1)
    ErrorMessage: NotRequired[str],
  1. See ErrorCodeType

StatusTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import StatusTypeDef

def get_value() -> StatusTypeDef:
    return {
        "DocumentId": ...,
    }
Definition
class StatusTypeDef(TypedDict):
    DocumentId: NotRequired[str],
    DocumentStatus: NotRequired[DocumentStatusType],  # (1)
    FailureCode: NotRequired[str],
    FailureReason: NotRequired[str],
  1. See DocumentStatusType

BatchPutDocumentResponseFailedDocumentTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchPutDocumentResponseFailedDocumentTypeDef

def get_value() -> BatchPutDocumentResponseFailedDocumentTypeDef:
    return {
        "Id": ...,
    }
Definition
class BatchPutDocumentResponseFailedDocumentTypeDef(TypedDict):
    Id: NotRequired[str],
    ErrorCode: NotRequired[ErrorCodeType],  # (1)
    ErrorMessage: NotRequired[str],
  1. See ErrorCodeType

CapacityUnitsConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CapacityUnitsConfigurationTypeDef

def get_value() -> CapacityUnitsConfigurationTypeDef:
    return {
        "StorageCapacityUnits": ...,
        "QueryCapacityUnits": ...,
    }
Definition
class CapacityUnitsConfigurationTypeDef(TypedDict):
    StorageCapacityUnits: int,
    QueryCapacityUnits: int,

ClearQuerySuggestionsRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ClearQuerySuggestionsRequestRequestTypeDef

def get_value() -> ClearQuerySuggestionsRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class ClearQuerySuggestionsRequestRequestTypeDef(TypedDict):
    IndexId: str,

ClickFeedbackTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ClickFeedbackTypeDef

def get_value() -> ClickFeedbackTypeDef:
    return {
        "ResultId": ...,
        "ClickTime": ...,
    }
Definition
class ClickFeedbackTypeDef(TypedDict):
    ResultId: str,
    ClickTime: Union[datetime, str],

ConfluenceAttachmentToIndexFieldMappingTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluenceAttachmentToIndexFieldMappingTypeDef

def get_value() -> ConfluenceAttachmentToIndexFieldMappingTypeDef:
    return {
        "DataSourceFieldName": ...,
    }
Definition
class ConfluenceAttachmentToIndexFieldMappingTypeDef(TypedDict):
    DataSourceFieldName: NotRequired[ConfluenceAttachmentFieldNameType],  # (1)
    DateFieldFormat: NotRequired[str],
    IndexFieldName: NotRequired[str],
  1. See ConfluenceAttachmentFieldNameType

ConfluenceBlogToIndexFieldMappingTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluenceBlogToIndexFieldMappingTypeDef

def get_value() -> ConfluenceBlogToIndexFieldMappingTypeDef:
    return {
        "DataSourceFieldName": ...,
    }
Definition
class ConfluenceBlogToIndexFieldMappingTypeDef(TypedDict):
    DataSourceFieldName: NotRequired[ConfluenceBlogFieldNameType],  # (1)
    DateFieldFormat: NotRequired[str],
    IndexFieldName: NotRequired[str],
  1. See ConfluenceBlogFieldNameType

ProxyConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ProxyConfigurationTypeDef

def get_value() -> ProxyConfigurationTypeDef:
    return {
        "Host": ...,
        "Port": ...,
    }
Definition
class ProxyConfigurationTypeDef(TypedDict):
    Host: str,
    Port: int,
    Credentials: NotRequired[str],

ConfluencePageToIndexFieldMappingTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluencePageToIndexFieldMappingTypeDef

def get_value() -> ConfluencePageToIndexFieldMappingTypeDef:
    return {
        "DataSourceFieldName": ...,
    }
Definition
class ConfluencePageToIndexFieldMappingTypeDef(TypedDict):
    DataSourceFieldName: NotRequired[ConfluencePageFieldNameType],  # (1)
    DateFieldFormat: NotRequired[str],
    IndexFieldName: NotRequired[str],
  1. See ConfluencePageFieldNameType

ConfluenceSpaceToIndexFieldMappingTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluenceSpaceToIndexFieldMappingTypeDef

def get_value() -> ConfluenceSpaceToIndexFieldMappingTypeDef:
    return {
        "DataSourceFieldName": ...,
    }
Definition
class ConfluenceSpaceToIndexFieldMappingTypeDef(TypedDict):
    DataSourceFieldName: NotRequired[ConfluenceSpaceFieldNameType],  # (1)
    DateFieldFormat: NotRequired[str],
    IndexFieldName: NotRequired[str],
  1. See ConfluenceSpaceFieldNameType

ConnectionConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConnectionConfigurationTypeDef

def get_value() -> ConnectionConfigurationTypeDef:
    return {
        "DatabaseHost": ...,
        "DatabasePort": ...,
        "DatabaseName": ...,
        "TableName": ...,
        "SecretArn": ...,
    }
Definition
class ConnectionConfigurationTypeDef(TypedDict):
    DatabaseHost: str,
    DatabasePort: int,
    DatabaseName: str,
    TableName: str,
    SecretArn: str,

ContentSourceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ContentSourceConfigurationTypeDef

def get_value() -> ContentSourceConfigurationTypeDef:
    return {
        "DataSourceIds": ...,
    }
Definition
class ContentSourceConfigurationTypeDef(TypedDict):
    DataSourceIds: NotRequired[Sequence[str]],
    FaqIds: NotRequired[Sequence[str]],
    DirectPutContent: NotRequired[bool],

CorrectionTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CorrectionTypeDef

def get_value() -> CorrectionTypeDef:
    return {
        "BeginOffset": ...,
    }
Definition
class CorrectionTypeDef(TypedDict):
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],
    Term: NotRequired[str],
    CorrectedTerm: NotRequired[str],

PrincipalTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import PrincipalTypeDef

def get_value() -> PrincipalTypeDef:
    return {
        "Name": ...,
        "Type": ...,
        "Access": ...,
    }
Definition
class PrincipalTypeDef(TypedDict):
    Name: str,
    Type: PrincipalTypeType,  # (1)
    Access: ReadAccessTypeType,  # (2)
    DataSourceId: NotRequired[str],
  1. See PrincipalTypeType
  2. See ReadAccessTypeType

TagTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TagTypeDef

def get_value() -> TagTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
Definition
class TagTypeDef(TypedDict):
    Key: str,
    Value: str,

ServerSideEncryptionConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ServerSideEncryptionConfigurationTypeDef

def get_value() -> ServerSideEncryptionConfigurationTypeDef:
    return {
        "KmsKeyId": ...,
    }
Definition
class ServerSideEncryptionConfigurationTypeDef(TypedDict):
    KmsKeyId: NotRequired[str],

UserGroupResolutionConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UserGroupResolutionConfigurationTypeDef

def get_value() -> UserGroupResolutionConfigurationTypeDef:
    return {
        "UserGroupResolutionMode": ...,
    }
Definition
class UserGroupResolutionConfigurationTypeDef(TypedDict):
    UserGroupResolutionMode: UserGroupResolutionModeType,  # (1)
  1. See UserGroupResolutionModeType

TemplateConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TemplateConfigurationTypeDef

def get_value() -> TemplateConfigurationTypeDef:
    return {
        "Template": ...,
    }
Definition
class TemplateConfigurationTypeDef(TypedDict):
    Template: NotRequired[Mapping[str, Any]],

DataSourceGroupTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceGroupTypeDef

def get_value() -> DataSourceGroupTypeDef:
    return {
        "GroupId": ...,
        "DataSourceId": ...,
    }
Definition
class DataSourceGroupTypeDef(TypedDict):
    GroupId: str,
    DataSourceId: str,

DataSourceSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceSummaryTypeDef

def get_value() -> DataSourceSummaryTypeDef:
    return {
        "Name": ...,
    }
Definition
class DataSourceSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    Type: NotRequired[DataSourceTypeType],  # (1)
    CreatedAt: NotRequired[datetime],
    UpdatedAt: NotRequired[datetime],
    Status: NotRequired[DataSourceStatusType],  # (2)
    LanguageCode: NotRequired[str],
  1. See DataSourceTypeType
  2. See DataSourceStatusType

DataSourceSyncJobMetricsTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceSyncJobMetricsTypeDef

def get_value() -> DataSourceSyncJobMetricsTypeDef:
    return {
        "DocumentsAdded": ...,
    }
Definition
class DataSourceSyncJobMetricsTypeDef(TypedDict):
    DocumentsAdded: NotRequired[str],
    DocumentsModified: NotRequired[str],
    DocumentsDeleted: NotRequired[str],
    DocumentsFailed: NotRequired[str],
    DocumentsScanned: NotRequired[str],

SqlConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SqlConfigurationTypeDef

def get_value() -> SqlConfigurationTypeDef:
    return {
        "QueryIdentifiersEnclosingOption": ...,
    }
Definition
class SqlConfigurationTypeDef(TypedDict):
    QueryIdentifiersEnclosingOption: NotRequired[QueryIdentifiersEnclosingOptionType],  # (1)
  1. See QueryIdentifiersEnclosingOptionType

DeleteAccessControlConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeleteAccessControlConfigurationRequestRequestTypeDef

def get_value() -> DeleteAccessControlConfigurationRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Id": ...,
    }
Definition
class DeleteAccessControlConfigurationRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Id: str,

DeleteDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeleteDataSourceRequestRequestTypeDef

def get_value() -> DeleteDataSourceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DeleteDataSourceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

DeleteExperienceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeleteExperienceRequestRequestTypeDef

def get_value() -> DeleteExperienceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DeleteExperienceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

DeleteFaqRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeleteFaqRequestRequestTypeDef

def get_value() -> DeleteFaqRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DeleteFaqRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

DeleteIndexRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeleteIndexRequestRequestTypeDef

def get_value() -> DeleteIndexRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DeleteIndexRequestRequestTypeDef(TypedDict):
    Id: str,

DeletePrincipalMappingRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeletePrincipalMappingRequestRequestTypeDef

def get_value() -> DeletePrincipalMappingRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "GroupId": ...,
    }
Definition
class DeletePrincipalMappingRequestRequestTypeDef(TypedDict):
    IndexId: str,
    GroupId: str,
    DataSourceId: NotRequired[str],
    OrderingId: NotRequired[int],

DeleteQuerySuggestionsBlockListRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeleteQuerySuggestionsBlockListRequestRequestTypeDef

def get_value() -> DeleteQuerySuggestionsBlockListRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Id": ...,
    }
Definition
class DeleteQuerySuggestionsBlockListRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Id: str,

DeleteThesaurusRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DeleteThesaurusRequestRequestTypeDef

def get_value() -> DeleteThesaurusRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DeleteThesaurusRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

DescribeAccessControlConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeAccessControlConfigurationRequestRequestTypeDef

def get_value() -> DescribeAccessControlConfigurationRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Id": ...,
    }
Definition
class DescribeAccessControlConfigurationRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Id: str,

DescribeDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeDataSourceRequestRequestTypeDef

def get_value() -> DescribeDataSourceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DescribeDataSourceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

DescribeExperienceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeExperienceRequestRequestTypeDef

def get_value() -> DescribeExperienceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DescribeExperienceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

ExperienceEndpointTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ExperienceEndpointTypeDef

def get_value() -> ExperienceEndpointTypeDef:
    return {
        "EndpointType": ...,
    }
Definition
class ExperienceEndpointTypeDef(TypedDict):
    EndpointType: NotRequired[EndpointTypeType],  # (1)
    Endpoint: NotRequired[str],
  1. See EndpointTypeType

DescribeFaqRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeFaqRequestRequestTypeDef

def get_value() -> DescribeFaqRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DescribeFaqRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

DescribeIndexRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeIndexRequestRequestTypeDef

def get_value() -> DescribeIndexRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class DescribeIndexRequestRequestTypeDef(TypedDict):
    Id: str,

DescribePrincipalMappingRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribePrincipalMappingRequestRequestTypeDef

def get_value() -> DescribePrincipalMappingRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "GroupId": ...,
    }
Definition
class DescribePrincipalMappingRequestRequestTypeDef(TypedDict):
    IndexId: str,
    GroupId: str,
    DataSourceId: NotRequired[str],

GroupOrderingIdSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GroupOrderingIdSummaryTypeDef

def get_value() -> GroupOrderingIdSummaryTypeDef:
    return {
        "Status": ...,
    }
Definition
class GroupOrderingIdSummaryTypeDef(TypedDict):
    Status: NotRequired[PrincipalMappingStatusType],  # (1)
    LastUpdatedAt: NotRequired[datetime],
    ReceivedAt: NotRequired[datetime],
    OrderingId: NotRequired[int],
    FailureReason: NotRequired[str],
  1. See PrincipalMappingStatusType

DescribeQuerySuggestionsBlockListRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeQuerySuggestionsBlockListRequestRequestTypeDef

def get_value() -> DescribeQuerySuggestionsBlockListRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Id": ...,
    }
Definition
class DescribeQuerySuggestionsBlockListRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Id: str,

DescribeQuerySuggestionsConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeQuerySuggestionsConfigRequestRequestTypeDef

def get_value() -> DescribeQuerySuggestionsConfigRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class DescribeQuerySuggestionsConfigRequestRequestTypeDef(TypedDict):
    IndexId: str,

DescribeThesaurusRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeThesaurusRequestRequestTypeDef

def get_value() -> DescribeThesaurusRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class DescribeThesaurusRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

DisassociatePersonasFromEntitiesRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DisassociatePersonasFromEntitiesRequestRequestTypeDef

def get_value() -> DisassociatePersonasFromEntitiesRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "EntityIds": ...,
    }
Definition
class DisassociatePersonasFromEntitiesRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    EntityIds: Sequence[str],

DocumentAttributeValueTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentAttributeValueTypeDef

def get_value() -> DocumentAttributeValueTypeDef:
    return {
        "StringValue": ...,
    }
Definition
class DocumentAttributeValueTypeDef(TypedDict):
    StringValue: NotRequired[str],
    StringListValue: NotRequired[Sequence[str]],
    LongValue: NotRequired[int],
    DateValue: NotRequired[Union[datetime, str]],

RelevanceTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import RelevanceTypeDef

def get_value() -> RelevanceTypeDef:
    return {
        "Freshness": ...,
    }
Definition
class RelevanceTypeDef(TypedDict):
    Freshness: NotRequired[bool],
    Importance: NotRequired[int],
    Duration: NotRequired[str],
    RankOrder: NotRequired[OrderType],  # (1)
    ValueImportanceMap: NotRequired[Dict[str, int]],
  1. See OrderType

SearchTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SearchTypeDef

def get_value() -> SearchTypeDef:
    return {
        "Facetable": ...,
    }
Definition
class SearchTypeDef(TypedDict):
    Facetable: NotRequired[bool],
    Searchable: NotRequired[bool],
    Displayable: NotRequired[bool],
    Sortable: NotRequired[bool],

DocumentsMetadataConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentsMetadataConfigurationTypeDef

def get_value() -> DocumentsMetadataConfigurationTypeDef:
    return {
        "S3Prefix": ...,
    }
Definition
class DocumentsMetadataConfigurationTypeDef(TypedDict):
    S3Prefix: NotRequired[str],

EntityDisplayDataTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import EntityDisplayDataTypeDef

def get_value() -> EntityDisplayDataTypeDef:
    return {
        "UserName": ...,
    }
Definition
class EntityDisplayDataTypeDef(TypedDict):
    UserName: NotRequired[str],
    GroupName: NotRequired[str],
    IdentifiedUserName: NotRequired[str],
    FirstName: NotRequired[str],
    LastName: NotRequired[str],

UserIdentityConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UserIdentityConfigurationTypeDef

def get_value() -> UserIdentityConfigurationTypeDef:
    return {
        "IdentityAttributeName": ...,
    }
Definition
class UserIdentityConfigurationTypeDef(TypedDict):
    IdentityAttributeName: NotRequired[str],

FacetResultTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import FacetResultTypeDef

def get_value() -> FacetResultTypeDef:
    return {
        "DocumentAttributeKey": ...,
    }
Definition
class FacetResultTypeDef(TypedDict):
    DocumentAttributeKey: NotRequired[str],
    DocumentAttributeValueType: NotRequired[DocumentAttributeValueTypeType],  # (1)
    DocumentAttributeValueCountPairs: NotRequired[List[DocumentAttributeValueCountPairTypeDef]],  # (2)
  1. See DocumentAttributeValueTypeType
  2. See DocumentAttributeValueCountPairTypeDef

FacetTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import FacetTypeDef

def get_value() -> FacetTypeDef:
    return {
        "DocumentAttributeKey": ...,
    }
Definition
class FacetTypeDef(TypedDict):
    DocumentAttributeKey: NotRequired[str],
    Facets: NotRequired[Sequence[FacetTypeDef]],  # (1)
    MaxResults: NotRequired[int],
  1. See FacetTypeDef

FaqStatisticsTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import FaqStatisticsTypeDef

def get_value() -> FaqStatisticsTypeDef:
    return {
        "IndexedQuestionAnswersCount": ...,
    }
Definition
class FaqStatisticsTypeDef(TypedDict):
    IndexedQuestionAnswersCount: int,

FaqSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import FaqSummaryTypeDef

def get_value() -> FaqSummaryTypeDef:
    return {
        "Id": ...,
    }
Definition
class FaqSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[FaqStatusType],  # (1)
    CreatedAt: NotRequired[datetime],
    UpdatedAt: NotRequired[datetime],
    FileFormat: NotRequired[FaqFileFormatType],  # (2)
    LanguageCode: NotRequired[str],
  1. See FaqStatusType
  2. See FaqFileFormatType

GetQuerySuggestionsRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GetQuerySuggestionsRequestRequestTypeDef

def get_value() -> GetQuerySuggestionsRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "QueryText": ...,
    }
Definition
class GetQuerySuggestionsRequestRequestTypeDef(TypedDict):
    IndexId: str,
    QueryText: str,
    MaxSuggestionsCount: NotRequired[int],

GetSnapshotsRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GetSnapshotsRequestRequestTypeDef

def get_value() -> GetSnapshotsRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Interval": ...,
        "MetricType": ...,
    }
Definition
class GetSnapshotsRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Interval: IntervalType,  # (1)
    MetricType: MetricTypeType,  # (2)
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
  1. See IntervalType
  2. See MetricTypeType

TimeRangeTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TimeRangeTypeDef

def get_value() -> TimeRangeTypeDef:
    return {
        "StartTime": ...,
    }
Definition
class TimeRangeTypeDef(TypedDict):
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],

GitHubDocumentCrawlPropertiesTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GitHubDocumentCrawlPropertiesTypeDef

def get_value() -> GitHubDocumentCrawlPropertiesTypeDef:
    return {
        "CrawlRepositoryDocuments": ...,
    }
Definition
class GitHubDocumentCrawlPropertiesTypeDef(TypedDict):
    CrawlRepositoryDocuments: NotRequired[bool],
    CrawlIssue: NotRequired[bool],
    CrawlIssueComment: NotRequired[bool],
    CrawlIssueCommentAttachment: NotRequired[bool],
    CrawlPullRequest: NotRequired[bool],
    CrawlPullRequestComment: NotRequired[bool],
    CrawlPullRequestCommentAttachment: NotRequired[bool],

SaaSConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SaaSConfigurationTypeDef

def get_value() -> SaaSConfigurationTypeDef:
    return {
        "OrganizationName": ...,
        "HostUrl": ...,
    }
Definition
class SaaSConfigurationTypeDef(TypedDict):
    OrganizationName: str,
    HostUrl: str,

MemberGroupTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import MemberGroupTypeDef

def get_value() -> MemberGroupTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class MemberGroupTypeDef(TypedDict):
    GroupId: str,
    DataSourceId: NotRequired[str],

MemberUserTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import MemberUserTypeDef

def get_value() -> MemberUserTypeDef:
    return {
        "UserId": ...,
    }
Definition
class MemberUserTypeDef(TypedDict):
    UserId: str,

GroupSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GroupSummaryTypeDef

def get_value() -> GroupSummaryTypeDef:
    return {
        "GroupId": ...,
    }
Definition
class GroupSummaryTypeDef(TypedDict):
    GroupId: NotRequired[str],
    OrderingId: NotRequired[int],

HighlightTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import HighlightTypeDef

def get_value() -> HighlightTypeDef:
    return {
        "BeginOffset": ...,
        "EndOffset": ...,
    }
Definition
class HighlightTypeDef(TypedDict):
    BeginOffset: int,
    EndOffset: int,
    TopAnswer: NotRequired[bool],
    Type: NotRequired[HighlightTypeType],  # (1)
  1. See HighlightTypeType

IndexConfigurationSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import IndexConfigurationSummaryTypeDef

def get_value() -> IndexConfigurationSummaryTypeDef:
    return {
        "CreatedAt": ...,
        "UpdatedAt": ...,
        "Status": ...,
    }
Definition
class IndexConfigurationSummaryTypeDef(TypedDict):
    CreatedAt: datetime,
    UpdatedAt: datetime,
    Status: IndexStatusType,  # (2)
    Name: NotRequired[str],
    Id: NotRequired[str],
    Edition: NotRequired[IndexEditionType],  # (1)
  1. See IndexEditionType
  2. See IndexStatusType

TextDocumentStatisticsTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TextDocumentStatisticsTypeDef

def get_value() -> TextDocumentStatisticsTypeDef:
    return {
        "IndexedTextDocumentsCount": ...,
        "IndexedTextBytes": ...,
    }
Definition
class TextDocumentStatisticsTypeDef(TypedDict):
    IndexedTextDocumentsCount: int,
    IndexedTextBytes: int,

JsonTokenTypeConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import JsonTokenTypeConfigurationTypeDef

def get_value() -> JsonTokenTypeConfigurationTypeDef:
    return {
        "UserNameAttributeField": ...,
        "GroupAttributeField": ...,
    }
Definition
class JsonTokenTypeConfigurationTypeDef(TypedDict):
    UserNameAttributeField: str,
    GroupAttributeField: str,

JwtTokenTypeConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import JwtTokenTypeConfigurationTypeDef

def get_value() -> JwtTokenTypeConfigurationTypeDef:
    return {
        "KeyLocation": ...,
    }
Definition
class JwtTokenTypeConfigurationTypeDef(TypedDict):
    KeyLocation: KeyLocationType,  # (1)
    URL: NotRequired[str],
    SecretManagerArn: NotRequired[str],
    UserNameAttributeField: NotRequired[str],
    GroupAttributeField: NotRequired[str],
    Issuer: NotRequired[str],
    ClaimRegex: NotRequired[str],
  1. See KeyLocationType

ListAccessControlConfigurationsRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListAccessControlConfigurationsRequestRequestTypeDef

def get_value() -> ListAccessControlConfigurationsRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class ListAccessControlConfigurationsRequestRequestTypeDef(TypedDict):
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListDataSourcesRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListDataSourcesRequestRequestTypeDef

def get_value() -> ListDataSourcesRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class ListDataSourcesRequestRequestTypeDef(TypedDict):
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListEntityPersonasRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListEntityPersonasRequestRequestTypeDef

def get_value() -> ListEntityPersonasRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class ListEntityPersonasRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

PersonasSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import PersonasSummaryTypeDef

def get_value() -> PersonasSummaryTypeDef:
    return {
        "EntityId": ...,
    }
Definition
class PersonasSummaryTypeDef(TypedDict):
    EntityId: NotRequired[str],
    Persona: NotRequired[PersonaType],  # (1)
    CreatedAt: NotRequired[datetime],
    UpdatedAt: NotRequired[datetime],
  1. See PersonaType

ListExperienceEntitiesRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListExperienceEntitiesRequestRequestTypeDef

def get_value() -> ListExperienceEntitiesRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class ListExperienceEntitiesRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    NextToken: NotRequired[str],

ListExperiencesRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListExperiencesRequestRequestTypeDef

def get_value() -> ListExperiencesRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class ListExperiencesRequestRequestTypeDef(TypedDict):
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListFaqsRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListFaqsRequestRequestTypeDef

def get_value() -> ListFaqsRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class ListFaqsRequestRequestTypeDef(TypedDict):
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListGroupsOlderThanOrderingIdRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListGroupsOlderThanOrderingIdRequestRequestTypeDef

def get_value() -> ListGroupsOlderThanOrderingIdRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "OrderingId": ...,
    }
Definition
class ListGroupsOlderThanOrderingIdRequestRequestTypeDef(TypedDict):
    IndexId: str,
    OrderingId: int,
    DataSourceId: NotRequired[str],
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListIndicesRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListIndicesRequestRequestTypeDef

def get_value() -> ListIndicesRequestRequestTypeDef:
    return {
        "NextToken": ...,
    }
Definition
class ListIndicesRequestRequestTypeDef(TypedDict):
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ListQuerySuggestionsBlockListsRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListQuerySuggestionsBlockListsRequestRequestTypeDef

def get_value() -> ListQuerySuggestionsBlockListsRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class ListQuerySuggestionsBlockListsRequestRequestTypeDef(TypedDict):
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

QuerySuggestionsBlockListSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import QuerySuggestionsBlockListSummaryTypeDef

def get_value() -> QuerySuggestionsBlockListSummaryTypeDef:
    return {
        "Id": ...,
    }
Definition
class QuerySuggestionsBlockListSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[QuerySuggestionsBlockListStatusType],  # (1)
    CreatedAt: NotRequired[datetime],
    UpdatedAt: NotRequired[datetime],
    ItemCount: NotRequired[int],
  1. See QuerySuggestionsBlockListStatusType

ListTagsForResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListTagsForResourceRequestRequestTypeDef

def get_value() -> ListTagsForResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
    }
Definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,

ListThesauriRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListThesauriRequestRequestTypeDef

def get_value() -> ListThesauriRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class ListThesauriRequestRequestTypeDef(TypedDict):
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],

ThesaurusSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ThesaurusSummaryTypeDef

def get_value() -> ThesaurusSummaryTypeDef:
    return {
        "Id": ...,
    }
Definition
class ThesaurusSummaryTypeDef(TypedDict):
    Id: NotRequired[str],
    Name: NotRequired[str],
    Status: NotRequired[ThesaurusStatusType],  # (1)
    CreatedAt: NotRequired[datetime],
    UpdatedAt: NotRequired[datetime],
  1. See ThesaurusStatusType

SortingConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SortingConfigurationTypeDef

def get_value() -> SortingConfigurationTypeDef:
    return {
        "DocumentAttributeKey": ...,
        "SortOrder": ...,
    }
Definition
class SortingConfigurationTypeDef(TypedDict):
    DocumentAttributeKey: str,
    SortOrder: SortOrderType,  # (1)
  1. See SortOrderType

SpellCorrectionConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SpellCorrectionConfigurationTypeDef

def get_value() -> SpellCorrectionConfigurationTypeDef:
    return {
        "IncludeQuerySpellCheckSuggestions": ...,
    }
Definition
class SpellCorrectionConfigurationTypeDef(TypedDict):
    IncludeQuerySpellCheckSuggestions: bool,

ScoreAttributesTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ScoreAttributesTypeDef

def get_value() -> ScoreAttributesTypeDef:
    return {
        "ScoreConfidence": ...,
    }
Definition
class ScoreAttributesTypeDef(TypedDict):
    ScoreConfidence: NotRequired[ScoreConfidenceType],  # (1)
  1. See ScoreConfidenceType

WarningTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import WarningTypeDef

def get_value() -> WarningTypeDef:
    return {
        "Message": ...,
    }
Definition
class WarningTypeDef(TypedDict):
    Message: NotRequired[str],
    Code: NotRequired[WarningCodeType],  # (1)
  1. See WarningCodeType

RelevanceFeedbackTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import RelevanceFeedbackTypeDef

def get_value() -> RelevanceFeedbackTypeDef:
    return {
        "ResultId": ...,
        "RelevanceValue": ...,
    }
Definition
class RelevanceFeedbackTypeDef(TypedDict):
    ResultId: str,
    RelevanceValue: RelevanceTypeType,  # (1)
  1. See RelevanceTypeType

SeedUrlConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SeedUrlConfigurationTypeDef

def get_value() -> SeedUrlConfigurationTypeDef:
    return {
        "SeedUrls": ...,
    }
Definition
class SeedUrlConfigurationTypeDef(TypedDict):
    SeedUrls: Sequence[str],
    WebCrawlerMode: NotRequired[WebCrawlerModeType],  # (1)
  1. See WebCrawlerModeType

SiteMapsConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SiteMapsConfigurationTypeDef

def get_value() -> SiteMapsConfigurationTypeDef:
    return {
        "SiteMaps": ...,
    }
Definition
class SiteMapsConfigurationTypeDef(TypedDict):
    SiteMaps: Sequence[str],

StartDataSourceSyncJobRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import StartDataSourceSyncJobRequestRequestTypeDef

def get_value() -> StartDataSourceSyncJobRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class StartDataSourceSyncJobRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

StopDataSourceSyncJobRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import StopDataSourceSyncJobRequestRequestTypeDef

def get_value() -> StopDataSourceSyncJobRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class StopDataSourceSyncJobRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,

SuggestionHighlightTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SuggestionHighlightTypeDef

def get_value() -> SuggestionHighlightTypeDef:
    return {
        "BeginOffset": ...,
    }
Definition
class SuggestionHighlightTypeDef(TypedDict):
    BeginOffset: NotRequired[int],
    EndOffset: NotRequired[int],

TableCellTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TableCellTypeDef

def get_value() -> TableCellTypeDef:
    return {
        "Value": ...,
    }
Definition
class TableCellTypeDef(TypedDict):
    Value: NotRequired[str],
    TopAnswer: NotRequired[bool],
    Highlighted: NotRequired[bool],
    Header: NotRequired[bool],

UntagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UntagResourceRequestRequestTypeDef

def get_value() -> UntagResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
        "TagKeys": ...,
    }
Definition
class UntagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    TagKeys: Sequence[str],

UpdateQuerySuggestionsConfigRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UpdateQuerySuggestionsConfigRequestRequestTypeDef

def get_value() -> UpdateQuerySuggestionsConfigRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class UpdateQuerySuggestionsConfigRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Mode: NotRequired[ModeType],  # (1)
    QueryLogLookBackWindowInDays: NotRequired[int],
    IncludeQueriesWithoutUserInformation: NotRequired[bool],
    MinimumNumberOfQueryingUsers: NotRequired[int],
    MinimumQueryCount: NotRequired[int],
  1. See ModeType

ColumnConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ColumnConfigurationTypeDef

def get_value() -> ColumnConfigurationTypeDef:
    return {
        "DocumentIdColumnName": ...,
        "DocumentDataColumnName": ...,
        "ChangeDetectingColumns": ...,
    }
Definition
class ColumnConfigurationTypeDef(TypedDict):
    DocumentIdColumnName: str,
    DocumentDataColumnName: str,
    ChangeDetectingColumns: Sequence[str],
    DocumentTitleColumnName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
  1. See DataSourceToIndexFieldMappingTypeDef

GoogleDriveConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GoogleDriveConfigurationTypeDef

def get_value() -> GoogleDriveConfigurationTypeDef:
    return {
        "SecretArn": ...,
    }
Definition
class GoogleDriveConfigurationTypeDef(TypedDict):
    SecretArn: str,
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    ExcludeMimeTypes: NotRequired[Sequence[str]],
    ExcludeUserAccounts: NotRequired[Sequence[str]],
    ExcludeSharedDrives: NotRequired[Sequence[str]],
  1. See DataSourceToIndexFieldMappingTypeDef

SalesforceChatterFeedConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SalesforceChatterFeedConfigurationTypeDef

def get_value() -> SalesforceChatterFeedConfigurationTypeDef:
    return {
        "DocumentDataFieldName": ...,
    }
Definition
class SalesforceChatterFeedConfigurationTypeDef(TypedDict):
    DocumentDataFieldName: str,
    DocumentTitleFieldName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    IncludeFilterTypes: NotRequired[Sequence[SalesforceChatterFeedIncludeFilterTypeType]],  # (2)
  1. See DataSourceToIndexFieldMappingTypeDef
  2. See SalesforceChatterFeedIncludeFilterTypeType

SalesforceCustomKnowledgeArticleTypeConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SalesforceCustomKnowledgeArticleTypeConfigurationTypeDef

def get_value() -> SalesforceCustomKnowledgeArticleTypeConfigurationTypeDef:
    return {
        "Name": ...,
        "DocumentDataFieldName": ...,
    }
Definition
class SalesforceCustomKnowledgeArticleTypeConfigurationTypeDef(TypedDict):
    Name: str,
    DocumentDataFieldName: str,
    DocumentTitleFieldName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
  1. See DataSourceToIndexFieldMappingTypeDef

SalesforceStandardKnowledgeArticleTypeConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SalesforceStandardKnowledgeArticleTypeConfigurationTypeDef

def get_value() -> SalesforceStandardKnowledgeArticleTypeConfigurationTypeDef:
    return {
        "DocumentDataFieldName": ...,
    }
Definition
class SalesforceStandardKnowledgeArticleTypeConfigurationTypeDef(TypedDict):
    DocumentDataFieldName: str,
    DocumentTitleFieldName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
  1. See DataSourceToIndexFieldMappingTypeDef

SalesforceStandardObjectAttachmentConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SalesforceStandardObjectAttachmentConfigurationTypeDef

def get_value() -> SalesforceStandardObjectAttachmentConfigurationTypeDef:
    return {
        "DocumentTitleFieldName": ...,
    }
Definition
class SalesforceStandardObjectAttachmentConfigurationTypeDef(TypedDict):
    DocumentTitleFieldName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
  1. See DataSourceToIndexFieldMappingTypeDef

SalesforceStandardObjectConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SalesforceStandardObjectConfigurationTypeDef

def get_value() -> SalesforceStandardObjectConfigurationTypeDef:
    return {
        "Name": ...,
        "DocumentDataFieldName": ...,
    }
Definition
class SalesforceStandardObjectConfigurationTypeDef(TypedDict):
    Name: SalesforceStandardObjectNameType,  # (1)
    DocumentDataFieldName: str,
    DocumentTitleFieldName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (2)
  1. See SalesforceStandardObjectNameType
  2. See DataSourceToIndexFieldMappingTypeDef

ServiceNowKnowledgeArticleConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ServiceNowKnowledgeArticleConfigurationTypeDef

def get_value() -> ServiceNowKnowledgeArticleConfigurationTypeDef:
    return {
        "DocumentDataFieldName": ...,
    }
Definition
class ServiceNowKnowledgeArticleConfigurationTypeDef(TypedDict):
    DocumentDataFieldName: str,
    CrawlAttachments: NotRequired[bool],
    IncludeAttachmentFilePatterns: NotRequired[Sequence[str]],
    ExcludeAttachmentFilePatterns: NotRequired[Sequence[str]],
    DocumentTitleFieldName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    FilterQuery: NotRequired[str],
  1. See DataSourceToIndexFieldMappingTypeDef

ServiceNowServiceCatalogConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ServiceNowServiceCatalogConfigurationTypeDef

def get_value() -> ServiceNowServiceCatalogConfigurationTypeDef:
    return {
        "DocumentDataFieldName": ...,
    }
Definition
class ServiceNowServiceCatalogConfigurationTypeDef(TypedDict):
    DocumentDataFieldName: str,
    CrawlAttachments: NotRequired[bool],
    IncludeAttachmentFilePatterns: NotRequired[Sequence[str]],
    ExcludeAttachmentFilePatterns: NotRequired[Sequence[str]],
    DocumentTitleFieldName: NotRequired[str],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
  1. See DataSourceToIndexFieldMappingTypeDef

WorkDocsConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import WorkDocsConfigurationTypeDef

def get_value() -> WorkDocsConfigurationTypeDef:
    return {
        "OrganizationId": ...,
    }
Definition
class WorkDocsConfigurationTypeDef(TypedDict):
    OrganizationId: str,
    CrawlComments: NotRequired[bool],
    UseChangeLog: NotRequired[bool],
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
  1. See DataSourceToIndexFieldMappingTypeDef

BoxConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BoxConfigurationTypeDef

def get_value() -> BoxConfigurationTypeDef:
    return {
        "EnterpriseId": ...,
        "SecretArn": ...,
    }
Definition
class BoxConfigurationTypeDef(TypedDict):
    EnterpriseId: str,
    SecretArn: str,
    UseChangeLog: NotRequired[bool],
    CrawlComments: NotRequired[bool],
    CrawlTasks: NotRequired[bool],
    CrawlWebLinks: NotRequired[bool],
    FileFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    TaskFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    CommentFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    WebLinkFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (5)
  1. See DataSourceToIndexFieldMappingTypeDef
  2. See DataSourceToIndexFieldMappingTypeDef
  3. See DataSourceToIndexFieldMappingTypeDef
  4. See DataSourceToIndexFieldMappingTypeDef
  5. See DataSourceVpcConfigurationTypeDef

FsxConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import FsxConfigurationTypeDef

def get_value() -> FsxConfigurationTypeDef:
    return {
        "FileSystemId": ...,
        "FileSystemType": ...,
        "VpcConfiguration": ...,
    }
Definition
class FsxConfigurationTypeDef(TypedDict):
    FileSystemId: str,
    FileSystemType: FsxFileSystemTypeType,  # (1)
    VpcConfiguration: DataSourceVpcConfigurationTypeDef,  # (2)
    SecretArn: NotRequired[str],
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (3)
  1. See FsxFileSystemTypeType
  2. See DataSourceVpcConfigurationTypeDef
  3. See DataSourceToIndexFieldMappingTypeDef

JiraConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import JiraConfigurationTypeDef

def get_value() -> JiraConfigurationTypeDef:
    return {
        "JiraAccountUrl": ...,
        "SecretArn": ...,
    }
Definition
class JiraConfigurationTypeDef(TypedDict):
    JiraAccountUrl: str,
    SecretArn: str,
    UseChangeLog: NotRequired[bool],
    Project: NotRequired[Sequence[str]],
    IssueType: NotRequired[Sequence[str]],
    Status: NotRequired[Sequence[str]],
    IssueSubEntityFilter: NotRequired[Sequence[IssueSubEntityType]],  # (1)
    AttachmentFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (2)
    CommentFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (2)
    IssueFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (2)
    ProjectFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (2)
    WorkLogFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (2)
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (7)
  1. See IssueSubEntityType
  2. See DataSourceToIndexFieldMappingTypeDef
  3. See DataSourceToIndexFieldMappingTypeDef
  4. See DataSourceToIndexFieldMappingTypeDef
  5. See DataSourceToIndexFieldMappingTypeDef
  6. See DataSourceToIndexFieldMappingTypeDef
  7. See DataSourceVpcConfigurationTypeDef

QuipConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import QuipConfigurationTypeDef

def get_value() -> QuipConfigurationTypeDef:
    return {
        "Domain": ...,
        "SecretArn": ...,
    }
Definition
class QuipConfigurationTypeDef(TypedDict):
    Domain: str,
    SecretArn: str,
    CrawlFileComments: NotRequired[bool],
    CrawlChatRooms: NotRequired[bool],
    CrawlAttachments: NotRequired[bool],
    FolderIds: NotRequired[Sequence[str]],
    ThreadFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    MessageFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    AttachmentFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (1)
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (4)
  1. See DataSourceToIndexFieldMappingTypeDef
  2. See DataSourceToIndexFieldMappingTypeDef
  3. See DataSourceToIndexFieldMappingTypeDef
  4. See DataSourceVpcConfigurationTypeDef

SlackConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SlackConfigurationTypeDef

def get_value() -> SlackConfigurationTypeDef:
    return {
        "TeamId": ...,
        "SecretArn": ...,
        "SlackEntityList": ...,
        "SinceCrawlDate": ...,
    }
Definition
class SlackConfigurationTypeDef(TypedDict):
    TeamId: str,
    SecretArn: str,
    SlackEntityList: Sequence[SlackEntityType],  # (2)
    SinceCrawlDate: str,
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (1)
    UseChangeLog: NotRequired[bool],
    CrawlBotMessage: NotRequired[bool],
    ExcludeArchived: NotRequired[bool],
    LookBackPeriod: NotRequired[int],
    PrivateChannelFilter: NotRequired[Sequence[str]],
    PublicChannelFilter: NotRequired[Sequence[str]],
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (3)
  1. See DataSourceVpcConfigurationTypeDef
  2. See SlackEntityType
  3. See DataSourceToIndexFieldMappingTypeDef

AlfrescoConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AlfrescoConfigurationTypeDef

def get_value() -> AlfrescoConfigurationTypeDef:
    return {
        "SiteUrl": ...,
        "SiteId": ...,
        "SecretArn": ...,
        "SslCertificateS3Path": ...,
    }
Definition
class AlfrescoConfigurationTypeDef(TypedDict):
    SiteUrl: str,
    SiteId: str,
    SecretArn: str,
    SslCertificateS3Path: S3PathTypeDef,  # (1)
    CrawlSystemFolders: NotRequired[bool],
    CrawlComments: NotRequired[bool],
    EntityFilter: NotRequired[Sequence[AlfrescoEntityType]],  # (2)
    DocumentLibraryFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (3)
    BlogFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (3)
    WikiFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (3)
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (6)
  1. See S3PathTypeDef
  2. See AlfrescoEntityType
  3. See DataSourceToIndexFieldMappingTypeDef
  4. See DataSourceToIndexFieldMappingTypeDef
  5. See DataSourceToIndexFieldMappingTypeDef
  6. See DataSourceVpcConfigurationTypeDef

OnPremiseConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import OnPremiseConfigurationTypeDef

def get_value() -> OnPremiseConfigurationTypeDef:
    return {
        "HostUrl": ...,
        "OrganizationName": ...,
        "SslCertificateS3Path": ...,
    }
Definition
class OnPremiseConfigurationTypeDef(TypedDict):
    HostUrl: str,
    OrganizationName: str,
    SslCertificateS3Path: S3PathTypeDef,  # (1)
  1. See S3PathTypeDef

OneDriveUsersTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import OneDriveUsersTypeDef

def get_value() -> OneDriveUsersTypeDef:
    return {
        "OneDriveUserList": ...,
    }
Definition
class OneDriveUsersTypeDef(TypedDict):
    OneDriveUserList: NotRequired[Sequence[str]],
    OneDriveUserS3Path: NotRequired[S3PathTypeDef],  # (1)
  1. See S3PathTypeDef

UpdateQuerySuggestionsBlockListRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UpdateQuerySuggestionsBlockListRequestRequestTypeDef

def get_value() -> UpdateQuerySuggestionsBlockListRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Id": ...,
    }
Definition
class UpdateQuerySuggestionsBlockListRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Id: str,
    Name: NotRequired[str],
    Description: NotRequired[str],
    SourceS3Path: NotRequired[S3PathTypeDef],  # (1)
    RoleArn: NotRequired[str],
  1. See S3PathTypeDef

UpdateThesaurusRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UpdateThesaurusRequestRequestTypeDef

def get_value() -> UpdateThesaurusRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class UpdateThesaurusRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Name: NotRequired[str],
    Description: NotRequired[str],
    RoleArn: NotRequired[str],
    SourceS3Path: NotRequired[S3PathTypeDef],  # (1)
  1. See S3PathTypeDef

AssociateEntitiesToExperienceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AssociateEntitiesToExperienceRequestRequestTypeDef

def get_value() -> AssociateEntitiesToExperienceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "EntityList": ...,
    }
Definition
class AssociateEntitiesToExperienceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    EntityList: Sequence[EntityConfigurationTypeDef],  # (1)
  1. See EntityConfigurationTypeDef

DisassociateEntitiesFromExperienceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DisassociateEntitiesFromExperienceRequestRequestTypeDef

def get_value() -> DisassociateEntitiesFromExperienceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "EntityList": ...,
    }
Definition
class DisassociateEntitiesFromExperienceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    EntityList: Sequence[EntityConfigurationTypeDef],  # (1)
  1. See EntityConfigurationTypeDef

AssociateEntitiesToExperienceResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AssociateEntitiesToExperienceResponseTypeDef

def get_value() -> AssociateEntitiesToExperienceResponseTypeDef:
    return {
        "FailedEntityList": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociateEntitiesToExperienceResponseTypeDef(TypedDict):
    FailedEntityList: List[FailedEntityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedEntityTypeDef
  2. See ResponseMetadataTypeDef

AssociatePersonasToEntitiesResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AssociatePersonasToEntitiesResponseTypeDef

def get_value() -> AssociatePersonasToEntitiesResponseTypeDef:
    return {
        "FailedEntityList": ...,
        "ResponseMetadata": ...,
    }
Definition
class AssociatePersonasToEntitiesResponseTypeDef(TypedDict):
    FailedEntityList: List[FailedEntityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedEntityTypeDef
  2. See ResponseMetadataTypeDef

CreateAccessControlConfigurationResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateAccessControlConfigurationResponseTypeDef

def get_value() -> CreateAccessControlConfigurationResponseTypeDef:
    return {
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateAccessControlConfigurationResponseTypeDef(TypedDict):
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateDataSourceResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateDataSourceResponseTypeDef

def get_value() -> CreateDataSourceResponseTypeDef:
    return {
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateDataSourceResponseTypeDef(TypedDict):
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateExperienceResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateExperienceResponseTypeDef

def get_value() -> CreateExperienceResponseTypeDef:
    return {
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateExperienceResponseTypeDef(TypedDict):
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateFaqResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateFaqResponseTypeDef

def get_value() -> CreateFaqResponseTypeDef:
    return {
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateFaqResponseTypeDef(TypedDict):
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateIndexResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateIndexResponseTypeDef

def get_value() -> CreateIndexResponseTypeDef:
    return {
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateIndexResponseTypeDef(TypedDict):
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateQuerySuggestionsBlockListResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateQuerySuggestionsBlockListResponseTypeDef

def get_value() -> CreateQuerySuggestionsBlockListResponseTypeDef:
    return {
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateQuerySuggestionsBlockListResponseTypeDef(TypedDict):
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

CreateThesaurusResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateThesaurusResponseTypeDef

def get_value() -> CreateThesaurusResponseTypeDef:
    return {
        "Id": ...,
        "ResponseMetadata": ...,
    }
Definition
class CreateThesaurusResponseTypeDef(TypedDict):
    Id: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

DescribeFaqResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeFaqResponseTypeDef

def get_value() -> DescribeFaqResponseTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "Name": ...,
        "Description": ...,
        "CreatedAt": ...,
        "UpdatedAt": ...,
        "S3Path": ...,
        "Status": ...,
        "RoleArn": ...,
        "ErrorMessage": ...,
        "FileFormat": ...,
        "LanguageCode": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeFaqResponseTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Name: str,
    Description: str,
    CreatedAt: datetime,
    UpdatedAt: datetime,
    S3Path: S3PathTypeDef,  # (1)
    Status: FaqStatusType,  # (2)
    RoleArn: str,
    ErrorMessage: str,
    FileFormat: FaqFileFormatType,  # (3)
    LanguageCode: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See S3PathTypeDef
  2. See FaqStatusType
  3. See FaqFileFormatType
  4. See ResponseMetadataTypeDef

DescribeQuerySuggestionsBlockListResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeQuerySuggestionsBlockListResponseTypeDef

def get_value() -> DescribeQuerySuggestionsBlockListResponseTypeDef:
    return {
        "IndexId": ...,
        "Id": ...,
        "Name": ...,
        "Description": ...,
        "Status": ...,
        "ErrorMessage": ...,
        "CreatedAt": ...,
        "UpdatedAt": ...,
        "SourceS3Path": ...,
        "ItemCount": ...,
        "FileSizeBytes": ...,
        "RoleArn": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeQuerySuggestionsBlockListResponseTypeDef(TypedDict):
    IndexId: str,
    Id: str,
    Name: str,
    Description: str,
    Status: QuerySuggestionsBlockListStatusType,  # (1)
    ErrorMessage: str,
    CreatedAt: datetime,
    UpdatedAt: datetime,
    SourceS3Path: S3PathTypeDef,  # (2)
    ItemCount: int,
    FileSizeBytes: int,
    RoleArn: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See QuerySuggestionsBlockListStatusType
  2. See S3PathTypeDef
  3. See ResponseMetadataTypeDef

DescribeQuerySuggestionsConfigResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeQuerySuggestionsConfigResponseTypeDef

def get_value() -> DescribeQuerySuggestionsConfigResponseTypeDef:
    return {
        "Mode": ...,
        "Status": ...,
        "QueryLogLookBackWindowInDays": ...,
        "IncludeQueriesWithoutUserInformation": ...,
        "MinimumNumberOfQueryingUsers": ...,
        "MinimumQueryCount": ...,
        "LastSuggestionsBuildTime": ...,
        "LastClearTime": ...,
        "TotalSuggestionsCount": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeQuerySuggestionsConfigResponseTypeDef(TypedDict):
    Mode: ModeType,  # (1)
    Status: QuerySuggestionsStatusType,  # (2)
    QueryLogLookBackWindowInDays: int,
    IncludeQueriesWithoutUserInformation: bool,
    MinimumNumberOfQueryingUsers: int,
    MinimumQueryCount: int,
    LastSuggestionsBuildTime: datetime,
    LastClearTime: datetime,
    TotalSuggestionsCount: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ModeType
  2. See QuerySuggestionsStatusType
  3. See ResponseMetadataTypeDef

DescribeThesaurusResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeThesaurusResponseTypeDef

def get_value() -> DescribeThesaurusResponseTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "Name": ...,
        "Description": ...,
        "Status": ...,
        "ErrorMessage": ...,
        "CreatedAt": ...,
        "UpdatedAt": ...,
        "RoleArn": ...,
        "SourceS3Path": ...,
        "FileSizeBytes": ...,
        "TermCount": ...,
        "SynonymRuleCount": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeThesaurusResponseTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Name: str,
    Description: str,
    Status: ThesaurusStatusType,  # (1)
    ErrorMessage: str,
    CreatedAt: datetime,
    UpdatedAt: datetime,
    RoleArn: str,
    SourceS3Path: S3PathTypeDef,  # (2)
    FileSizeBytes: int,
    TermCount: int,
    SynonymRuleCount: int,
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See ThesaurusStatusType
  2. See S3PathTypeDef
  3. See ResponseMetadataTypeDef

DisassociateEntitiesFromExperienceResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DisassociateEntitiesFromExperienceResponseTypeDef

def get_value() -> DisassociateEntitiesFromExperienceResponseTypeDef:
    return {
        "FailedEntityList": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociateEntitiesFromExperienceResponseTypeDef(TypedDict):
    FailedEntityList: List[FailedEntityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedEntityTypeDef
  2. See ResponseMetadataTypeDef

DisassociatePersonasFromEntitiesResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DisassociatePersonasFromEntitiesResponseTypeDef

def get_value() -> DisassociatePersonasFromEntitiesResponseTypeDef:
    return {
        "FailedEntityList": ...,
        "ResponseMetadata": ...,
    }
Definition
class DisassociatePersonasFromEntitiesResponseTypeDef(TypedDict):
    FailedEntityList: List[FailedEntityTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FailedEntityTypeDef
  2. See ResponseMetadataTypeDef

EmptyResponseMetadataTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import EmptyResponseMetadataTypeDef

def get_value() -> EmptyResponseMetadataTypeDef:
    return {
        "ResponseMetadata": ...,
    }
Definition
class EmptyResponseMetadataTypeDef(TypedDict):
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

ListAccessControlConfigurationsResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListAccessControlConfigurationsResponseTypeDef

def get_value() -> ListAccessControlConfigurationsResponseTypeDef:
    return {
        "NextToken": ...,
        "AccessControlConfigurations": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListAccessControlConfigurationsResponseTypeDef(TypedDict):
    NextToken: str,
    AccessControlConfigurations: List[AccessControlConfigurationSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See AccessControlConfigurationSummaryTypeDef
  2. See ResponseMetadataTypeDef

StartDataSourceSyncJobResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import StartDataSourceSyncJobResponseTypeDef

def get_value() -> StartDataSourceSyncJobResponseTypeDef:
    return {
        "ExecutionId": ...,
        "ResponseMetadata": ...,
    }
Definition
class StartDataSourceSyncJobResponseTypeDef(TypedDict):
    ExecutionId: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (1)
  1. See ResponseMetadataTypeDef

AssociatePersonasToEntitiesRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AssociatePersonasToEntitiesRequestRequestTypeDef

def get_value() -> AssociatePersonasToEntitiesRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "Personas": ...,
    }
Definition
class AssociatePersonasToEntitiesRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Personas: Sequence[EntityPersonaConfigurationTypeDef],  # (1)
  1. See EntityPersonaConfigurationTypeDef

AuthenticationConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AuthenticationConfigurationTypeDef

def get_value() -> AuthenticationConfigurationTypeDef:
    return {
        "BasicAuthentication": ...,
    }
Definition
class AuthenticationConfigurationTypeDef(TypedDict):
    BasicAuthentication: NotRequired[Sequence[BasicAuthenticationConfigurationTypeDef]],  # (1)
  1. See BasicAuthenticationConfigurationTypeDef

BatchDeleteDocumentRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchDeleteDocumentRequestRequestTypeDef

def get_value() -> BatchDeleteDocumentRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "DocumentIdList": ...,
    }
Definition
class BatchDeleteDocumentRequestRequestTypeDef(TypedDict):
    IndexId: str,
    DocumentIdList: Sequence[str],
    DataSourceSyncJobMetricTarget: NotRequired[DataSourceSyncJobMetricTargetTypeDef],  # (1)
  1. See DataSourceSyncJobMetricTargetTypeDef

BatchDeleteDocumentResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchDeleteDocumentResponseTypeDef

def get_value() -> BatchDeleteDocumentResponseTypeDef:
    return {
        "FailedDocuments": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchDeleteDocumentResponseTypeDef(TypedDict):
    FailedDocuments: List[BatchDeleteDocumentResponseFailedDocumentTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchDeleteDocumentResponseFailedDocumentTypeDef
  2. See ResponseMetadataTypeDef

BatchGetDocumentStatusResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchGetDocumentStatusResponseTypeDef

def get_value() -> BatchGetDocumentStatusResponseTypeDef:
    return {
        "Errors": ...,
        "DocumentStatusList": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchGetDocumentStatusResponseTypeDef(TypedDict):
    Errors: List[BatchGetDocumentStatusResponseErrorTypeDef],  # (1)
    DocumentStatusList: List[StatusTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See BatchGetDocumentStatusResponseErrorTypeDef
  2. See StatusTypeDef
  3. See ResponseMetadataTypeDef

BatchPutDocumentResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchPutDocumentResponseTypeDef

def get_value() -> BatchPutDocumentResponseTypeDef:
    return {
        "FailedDocuments": ...,
        "ResponseMetadata": ...,
    }
Definition
class BatchPutDocumentResponseTypeDef(TypedDict):
    FailedDocuments: List[BatchPutDocumentResponseFailedDocumentTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See BatchPutDocumentResponseFailedDocumentTypeDef
  2. See ResponseMetadataTypeDef

ConfluenceAttachmentConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluenceAttachmentConfigurationTypeDef

def get_value() -> ConfluenceAttachmentConfigurationTypeDef:
    return {
        "CrawlAttachments": ...,
    }
Definition
class ConfluenceAttachmentConfigurationTypeDef(TypedDict):
    CrawlAttachments: NotRequired[bool],
    AttachmentFieldMappings: NotRequired[Sequence[ConfluenceAttachmentToIndexFieldMappingTypeDef]],  # (1)
  1. See ConfluenceAttachmentToIndexFieldMappingTypeDef

ConfluenceBlogConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluenceBlogConfigurationTypeDef

def get_value() -> ConfluenceBlogConfigurationTypeDef:
    return {
        "BlogFieldMappings": ...,
    }
Definition
class ConfluenceBlogConfigurationTypeDef(TypedDict):
    BlogFieldMappings: NotRequired[Sequence[ConfluenceBlogToIndexFieldMappingTypeDef]],  # (1)
  1. See ConfluenceBlogToIndexFieldMappingTypeDef

SharePointConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SharePointConfigurationTypeDef

def get_value() -> SharePointConfigurationTypeDef:
    return {
        "SharePointVersion": ...,
        "Urls": ...,
        "SecretArn": ...,
    }
Definition
class SharePointConfigurationTypeDef(TypedDict):
    SharePointVersion: SharePointVersionType,  # (1)
    Urls: Sequence[str],
    SecretArn: str,
    CrawlAttachments: NotRequired[bool],
    UseChangeLog: NotRequired[bool],
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (2)
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (3)
    DocumentTitleFieldName: NotRequired[str],
    DisableLocalGroups: NotRequired[bool],
    SslCertificateS3Path: NotRequired[S3PathTypeDef],  # (4)
    AuthenticationType: NotRequired[SharePointOnlineAuthenticationTypeType],  # (5)
    ProxyConfiguration: NotRequired[ProxyConfigurationTypeDef],  # (6)
  1. See SharePointVersionType
  2. See DataSourceVpcConfigurationTypeDef
  3. See DataSourceToIndexFieldMappingTypeDef
  4. See S3PathTypeDef
  5. See SharePointOnlineAuthenticationTypeType
  6. See ProxyConfigurationTypeDef

ConfluencePageConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluencePageConfigurationTypeDef

def get_value() -> ConfluencePageConfigurationTypeDef:
    return {
        "PageFieldMappings": ...,
    }
Definition
class ConfluencePageConfigurationTypeDef(TypedDict):
    PageFieldMappings: NotRequired[Sequence[ConfluencePageToIndexFieldMappingTypeDef]],  # (1)
  1. See ConfluencePageToIndexFieldMappingTypeDef

ConfluenceSpaceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluenceSpaceConfigurationTypeDef

def get_value() -> ConfluenceSpaceConfigurationTypeDef:
    return {
        "CrawlPersonalSpaces": ...,
    }
Definition
class ConfluenceSpaceConfigurationTypeDef(TypedDict):
    CrawlPersonalSpaces: NotRequired[bool],
    CrawlArchivedSpaces: NotRequired[bool],
    IncludeSpaces: NotRequired[Sequence[str]],
    ExcludeSpaces: NotRequired[Sequence[str]],
    SpaceFieldMappings: NotRequired[Sequence[ConfluenceSpaceToIndexFieldMappingTypeDef]],  # (1)
  1. See ConfluenceSpaceToIndexFieldMappingTypeDef

SpellCorrectedQueryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SpellCorrectedQueryTypeDef

def get_value() -> SpellCorrectedQueryTypeDef:
    return {
        "SuggestedQueryText": ...,
    }
Definition
class SpellCorrectedQueryTypeDef(TypedDict):
    SuggestedQueryText: NotRequired[str],
    Corrections: NotRequired[List[CorrectionTypeDef]],  # (1)
  1. See CorrectionTypeDef

HierarchicalPrincipalTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import HierarchicalPrincipalTypeDef

def get_value() -> HierarchicalPrincipalTypeDef:
    return {
        "PrincipalList": ...,
    }
Definition
class HierarchicalPrincipalTypeDef(TypedDict):
    PrincipalList: Sequence[PrincipalTypeDef],  # (1)
  1. See PrincipalTypeDef

CreateFaqRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateFaqRequestRequestTypeDef

def get_value() -> CreateFaqRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Name": ...,
        "S3Path": ...,
        "RoleArn": ...,
    }
Definition
class CreateFaqRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Name: str,
    S3Path: S3PathTypeDef,  # (1)
    RoleArn: str,
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    FileFormat: NotRequired[FaqFileFormatType],  # (3)
    ClientToken: NotRequired[str],
    LanguageCode: NotRequired[str],
  1. See S3PathTypeDef
  2. See TagTypeDef
  3. See FaqFileFormatType

CreateQuerySuggestionsBlockListRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateQuerySuggestionsBlockListRequestRequestTypeDef

def get_value() -> CreateQuerySuggestionsBlockListRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Name": ...,
        "SourceS3Path": ...,
        "RoleArn": ...,
    }
Definition
class CreateQuerySuggestionsBlockListRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Name: str,
    SourceS3Path: S3PathTypeDef,  # (1)
    RoleArn: str,
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
  1. See S3PathTypeDef
  2. See TagTypeDef

CreateThesaurusRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateThesaurusRequestRequestTypeDef

def get_value() -> CreateThesaurusRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Name": ...,
        "RoleArn": ...,
        "SourceS3Path": ...,
    }
Definition
class CreateThesaurusRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Name: str,
    RoleArn: str,
    SourceS3Path: S3PathTypeDef,  # (1)
    Description: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (2)
    ClientToken: NotRequired[str],
  1. See S3PathTypeDef
  2. See TagTypeDef

ListTagsForResourceResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListTagsForResourceResponseTypeDef

def get_value() -> ListTagsForResourceResponseTypeDef:
    return {
        "Tags": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListTagsForResourceResponseTypeDef(TypedDict):
    Tags: List[TagTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TagTypeDef
  2. See ResponseMetadataTypeDef

TagResourceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TagResourceRequestRequestTypeDef

def get_value() -> TagResourceRequestRequestTypeDef:
    return {
        "ResourceARN": ...,
        "Tags": ...,
    }
Definition
class TagResourceRequestRequestTypeDef(TypedDict):
    ResourceARN: str,
    Tags: Sequence[TagTypeDef],  # (1)
  1. See TagTypeDef

UserContextTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UserContextTypeDef

def get_value() -> UserContextTypeDef:
    return {
        "Token": ...,
    }
Definition
class UserContextTypeDef(TypedDict):
    Token: NotRequired[str],
    UserId: NotRequired[str],
    Groups: NotRequired[Sequence[str]],
    DataSourceGroups: NotRequired[Sequence[DataSourceGroupTypeDef]],  # (1)
  1. See DataSourceGroupTypeDef

ListDataSourcesResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListDataSourcesResponseTypeDef

def get_value() -> ListDataSourcesResponseTypeDef:
    return {
        "SummaryItems": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDataSourcesResponseTypeDef(TypedDict):
    SummaryItems: List[DataSourceSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataSourceSummaryTypeDef
  2. See ResponseMetadataTypeDef

DataSourceSyncJobTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceSyncJobTypeDef

def get_value() -> DataSourceSyncJobTypeDef:
    return {
        "ExecutionId": ...,
    }
Definition
class DataSourceSyncJobTypeDef(TypedDict):
    ExecutionId: NotRequired[str],
    StartTime: NotRequired[datetime],
    EndTime: NotRequired[datetime],
    Status: NotRequired[DataSourceSyncJobStatusType],  # (1)
    ErrorMessage: NotRequired[str],
    ErrorCode: NotRequired[ErrorCodeType],  # (2)
    DataSourceErrorCode: NotRequired[str],
    Metrics: NotRequired[DataSourceSyncJobMetricsTypeDef],  # (3)
  1. See DataSourceSyncJobStatusType
  2. See ErrorCodeType
  3. See DataSourceSyncJobMetricsTypeDef

ExperiencesSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ExperiencesSummaryTypeDef

def get_value() -> ExperiencesSummaryTypeDef:
    return {
        "Name": ...,
    }
Definition
class ExperiencesSummaryTypeDef(TypedDict):
    Name: NotRequired[str],
    Id: NotRequired[str],
    CreatedAt: NotRequired[datetime],
    Status: NotRequired[ExperienceStatusType],  # (1)
    Endpoints: NotRequired[List[ExperienceEndpointTypeDef]],  # (2)
  1. See ExperienceStatusType
  2. See ExperienceEndpointTypeDef

DescribePrincipalMappingResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribePrincipalMappingResponseTypeDef

def get_value() -> DescribePrincipalMappingResponseTypeDef:
    return {
        "IndexId": ...,
        "DataSourceId": ...,
        "GroupId": ...,
        "GroupOrderingIdSummaries": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribePrincipalMappingResponseTypeDef(TypedDict):
    IndexId: str,
    DataSourceId: str,
    GroupId: str,
    GroupOrderingIdSummaries: List[GroupOrderingIdSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GroupOrderingIdSummaryTypeDef
  2. See ResponseMetadataTypeDef

DocumentAttributeConditionTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentAttributeConditionTypeDef

def get_value() -> DocumentAttributeConditionTypeDef:
    return {
        "ConditionDocumentAttributeKey": ...,
        "Operator": ...,
    }
Definition
class DocumentAttributeConditionTypeDef(TypedDict):
    ConditionDocumentAttributeKey: str,
    Operator: ConditionOperatorType,  # (1)
    ConditionOnValue: NotRequired[DocumentAttributeValueTypeDef],  # (2)
  1. See ConditionOperatorType
  2. See DocumentAttributeValueTypeDef

DocumentAttributeTargetTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentAttributeTargetTypeDef

def get_value() -> DocumentAttributeTargetTypeDef:
    return {
        "TargetDocumentAttributeKey": ...,
    }
Definition
class DocumentAttributeTargetTypeDef(TypedDict):
    TargetDocumentAttributeKey: NotRequired[str],
    TargetDocumentAttributeValueDeletion: NotRequired[bool],
    TargetDocumentAttributeValue: NotRequired[DocumentAttributeValueTypeDef],  # (1)
  1. See DocumentAttributeValueTypeDef

DocumentAttributeTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentAttributeTypeDef

def get_value() -> DocumentAttributeTypeDef:
    return {
        "Key": ...,
        "Value": ...,
    }
Definition
class DocumentAttributeTypeDef(TypedDict):
    Key: str,
    Value: DocumentAttributeValueTypeDef,  # (1)
  1. See DocumentAttributeValueTypeDef

DocumentAttributeValueCountPairTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentAttributeValueCountPairTypeDef

def get_value() -> DocumentAttributeValueCountPairTypeDef:
    return {
        "DocumentAttributeValue": ...,
    }
Definition
class DocumentAttributeValueCountPairTypeDef(TypedDict):
    DocumentAttributeValue: NotRequired[DocumentAttributeValueTypeDef],  # (1)
    Count: NotRequired[int],
    FacetResults: NotRequired[List[FacetResultTypeDef]],  # (2)
  1. See DocumentAttributeValueTypeDef
  2. See FacetResultTypeDef

DocumentRelevanceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentRelevanceConfigurationTypeDef

def get_value() -> DocumentRelevanceConfigurationTypeDef:
    return {
        "Name": ...,
        "Relevance": ...,
    }
Definition
class DocumentRelevanceConfigurationTypeDef(TypedDict):
    Name: str,
    Relevance: RelevanceTypeDef,  # (1)
  1. See RelevanceTypeDef

DocumentMetadataConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentMetadataConfigurationTypeDef

def get_value() -> DocumentMetadataConfigurationTypeDef:
    return {
        "Name": ...,
        "Type": ...,
    }
Definition
class DocumentMetadataConfigurationTypeDef(TypedDict):
    Name: str,
    Type: DocumentAttributeValueTypeType,  # (1)
    Relevance: NotRequired[RelevanceTypeDef],  # (2)
    Search: NotRequired[SearchTypeDef],  # (3)
  1. See DocumentAttributeValueTypeType
  2. See RelevanceTypeDef
  3. See SearchTypeDef

S3DataSourceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import S3DataSourceConfigurationTypeDef

def get_value() -> S3DataSourceConfigurationTypeDef:
    return {
        "BucketName": ...,
    }
Definition
class S3DataSourceConfigurationTypeDef(TypedDict):
    BucketName: str,
    InclusionPrefixes: NotRequired[Sequence[str]],
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    DocumentsMetadataConfiguration: NotRequired[DocumentsMetadataConfigurationTypeDef],  # (1)
    AccessControlListConfiguration: NotRequired[AccessControlListConfigurationTypeDef],  # (2)
  1. See DocumentsMetadataConfigurationTypeDef
  2. See AccessControlListConfigurationTypeDef

ExperienceEntitiesSummaryTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ExperienceEntitiesSummaryTypeDef

def get_value() -> ExperienceEntitiesSummaryTypeDef:
    return {
        "EntityId": ...,
    }
Definition
class ExperienceEntitiesSummaryTypeDef(TypedDict):
    EntityId: NotRequired[str],
    EntityType: NotRequired[EntityTypeType],  # (1)
    DisplayData: NotRequired[EntityDisplayDataTypeDef],  # (2)
  1. See EntityTypeType
  2. See EntityDisplayDataTypeDef

ExperienceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ExperienceConfigurationTypeDef

def get_value() -> ExperienceConfigurationTypeDef:
    return {
        "ContentSourceConfiguration": ...,
    }
Definition
class ExperienceConfigurationTypeDef(TypedDict):
    ContentSourceConfiguration: NotRequired[ContentSourceConfigurationTypeDef],  # (1)
    UserIdentityConfiguration: NotRequired[UserIdentityConfigurationTypeDef],  # (2)
  1. See ContentSourceConfigurationTypeDef
  2. See UserIdentityConfigurationTypeDef

ListFaqsResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListFaqsResponseTypeDef

def get_value() -> ListFaqsResponseTypeDef:
    return {
        "NextToken": ...,
        "FaqSummaryItems": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListFaqsResponseTypeDef(TypedDict):
    NextToken: str,
    FaqSummaryItems: List[FaqSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See FaqSummaryTypeDef
  2. See ResponseMetadataTypeDef

GetSnapshotsResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GetSnapshotsResponseTypeDef

def get_value() -> GetSnapshotsResponseTypeDef:
    return {
        "SnapShotTimeFilter": ...,
        "SnapshotsDataHeader": ...,
        "SnapshotsData": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetSnapshotsResponseTypeDef(TypedDict):
    SnapShotTimeFilter: TimeRangeTypeDef,  # (1)
    SnapshotsDataHeader: List[str],
    SnapshotsData: List[List[str]],
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See TimeRangeTypeDef
  2. See ResponseMetadataTypeDef

ListDataSourceSyncJobsRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListDataSourceSyncJobsRequestRequestTypeDef

def get_value() -> ListDataSourceSyncJobsRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class ListDataSourceSyncJobsRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    NextToken: NotRequired[str],
    MaxResults: NotRequired[int],
    StartTimeFilter: NotRequired[TimeRangeTypeDef],  # (1)
    StatusFilter: NotRequired[DataSourceSyncJobStatusType],  # (2)
  1. See TimeRangeTypeDef
  2. See DataSourceSyncJobStatusType

GroupMembersTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GroupMembersTypeDef

def get_value() -> GroupMembersTypeDef:
    return {
        "MemberGroups": ...,
    }
Definition
class GroupMembersTypeDef(TypedDict):
    MemberGroups: NotRequired[Sequence[MemberGroupTypeDef]],  # (1)
    MemberUsers: NotRequired[Sequence[MemberUserTypeDef]],  # (2)
    S3PathforGroupMembers: NotRequired[S3PathTypeDef],  # (3)
  1. See MemberGroupTypeDef
  2. See MemberUserTypeDef
  3. See S3PathTypeDef

ListGroupsOlderThanOrderingIdResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListGroupsOlderThanOrderingIdResponseTypeDef

def get_value() -> ListGroupsOlderThanOrderingIdResponseTypeDef:
    return {
        "GroupsSummaries": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListGroupsOlderThanOrderingIdResponseTypeDef(TypedDict):
    GroupsSummaries: List[GroupSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See GroupSummaryTypeDef
  2. See ResponseMetadataTypeDef

TextWithHighlightsTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TextWithHighlightsTypeDef

def get_value() -> TextWithHighlightsTypeDef:
    return {
        "Text": ...,
    }
Definition
class TextWithHighlightsTypeDef(TypedDict):
    Text: NotRequired[str],
    Highlights: NotRequired[List[HighlightTypeDef]],  # (1)
  1. See HighlightTypeDef

ListIndicesResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListIndicesResponseTypeDef

def get_value() -> ListIndicesResponseTypeDef:
    return {
        "IndexConfigurationSummaryItems": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListIndicesResponseTypeDef(TypedDict):
    IndexConfigurationSummaryItems: List[IndexConfigurationSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See IndexConfigurationSummaryTypeDef
  2. See ResponseMetadataTypeDef

IndexStatisticsTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import IndexStatisticsTypeDef

def get_value() -> IndexStatisticsTypeDef:
    return {
        "FaqStatistics": ...,
        "TextDocumentStatistics": ...,
    }
Definition
class IndexStatisticsTypeDef(TypedDict):
    FaqStatistics: FaqStatisticsTypeDef,  # (1)
    TextDocumentStatistics: TextDocumentStatisticsTypeDef,  # (2)
  1. See FaqStatisticsTypeDef
  2. See TextDocumentStatisticsTypeDef

UserTokenConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UserTokenConfigurationTypeDef

def get_value() -> UserTokenConfigurationTypeDef:
    return {
        "JwtTokenTypeConfiguration": ...,
    }
Definition
class UserTokenConfigurationTypeDef(TypedDict):
    JwtTokenTypeConfiguration: NotRequired[JwtTokenTypeConfigurationTypeDef],  # (1)
    JsonTokenTypeConfiguration: NotRequired[JsonTokenTypeConfigurationTypeDef],  # (2)
  1. See JwtTokenTypeConfigurationTypeDef
  2. See JsonTokenTypeConfigurationTypeDef

ListEntityPersonasResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListEntityPersonasResponseTypeDef

def get_value() -> ListEntityPersonasResponseTypeDef:
    return {
        "SummaryItems": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListEntityPersonasResponseTypeDef(TypedDict):
    SummaryItems: List[PersonasSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See PersonasSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListQuerySuggestionsBlockListsResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListQuerySuggestionsBlockListsResponseTypeDef

def get_value() -> ListQuerySuggestionsBlockListsResponseTypeDef:
    return {
        "BlockListSummaryItems": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListQuerySuggestionsBlockListsResponseTypeDef(TypedDict):
    BlockListSummaryItems: List[QuerySuggestionsBlockListSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See QuerySuggestionsBlockListSummaryTypeDef
  2. See ResponseMetadataTypeDef

ListThesauriResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListThesauriResponseTypeDef

def get_value() -> ListThesauriResponseTypeDef:
    return {
        "NextToken": ...,
        "ThesaurusSummaryItems": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListThesauriResponseTypeDef(TypedDict):
    NextToken: str,
    ThesaurusSummaryItems: List[ThesaurusSummaryTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ThesaurusSummaryTypeDef
  2. See ResponseMetadataTypeDef

SubmitFeedbackRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SubmitFeedbackRequestRequestTypeDef

def get_value() -> SubmitFeedbackRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "QueryId": ...,
    }
Definition
class SubmitFeedbackRequestRequestTypeDef(TypedDict):
    IndexId: str,
    QueryId: str,
    ClickFeedbackItems: NotRequired[Sequence[ClickFeedbackTypeDef]],  # (1)
    RelevanceFeedbackItems: NotRequired[Sequence[RelevanceFeedbackTypeDef]],  # (2)
  1. See ClickFeedbackTypeDef
  2. See RelevanceFeedbackTypeDef

UrlsTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UrlsTypeDef

def get_value() -> UrlsTypeDef:
    return {
        "SeedUrlConfiguration": ...,
    }
Definition
class UrlsTypeDef(TypedDict):
    SeedUrlConfiguration: NotRequired[SeedUrlConfigurationTypeDef],  # (1)
    SiteMapsConfiguration: NotRequired[SiteMapsConfigurationTypeDef],  # (2)
  1. See SeedUrlConfigurationTypeDef
  2. See SiteMapsConfigurationTypeDef

SuggestionTextWithHighlightsTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SuggestionTextWithHighlightsTypeDef

def get_value() -> SuggestionTextWithHighlightsTypeDef:
    return {
        "Text": ...,
    }
Definition
class SuggestionTextWithHighlightsTypeDef(TypedDict):
    Text: NotRequired[str],
    Highlights: NotRequired[List[SuggestionHighlightTypeDef]],  # (1)
  1. See SuggestionHighlightTypeDef

TableRowTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TableRowTypeDef

def get_value() -> TableRowTypeDef:
    return {
        "Cells": ...,
    }
Definition
class TableRowTypeDef(TypedDict):
    Cells: NotRequired[List[TableCellTypeDef]],  # (1)
  1. See TableCellTypeDef

DatabaseConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DatabaseConfigurationTypeDef

def get_value() -> DatabaseConfigurationTypeDef:
    return {
        "DatabaseEngineType": ...,
        "ConnectionConfiguration": ...,
        "ColumnConfiguration": ...,
    }
Definition
class DatabaseConfigurationTypeDef(TypedDict):
    DatabaseEngineType: DatabaseEngineTypeType,  # (1)
    ConnectionConfiguration: ConnectionConfigurationTypeDef,  # (2)
    ColumnConfiguration: ColumnConfigurationTypeDef,  # (4)
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (3)
    AclConfiguration: NotRequired[AclConfigurationTypeDef],  # (5)
    SqlConfiguration: NotRequired[SqlConfigurationTypeDef],  # (6)
  1. See DatabaseEngineTypeType
  2. See ConnectionConfigurationTypeDef
  3. See DataSourceVpcConfigurationTypeDef
  4. See ColumnConfigurationTypeDef
  5. See AclConfigurationTypeDef
  6. See SqlConfigurationTypeDef

SalesforceKnowledgeArticleConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SalesforceKnowledgeArticleConfigurationTypeDef

def get_value() -> SalesforceKnowledgeArticleConfigurationTypeDef:
    return {
        "IncludedStates": ...,
    }
Definition
class SalesforceKnowledgeArticleConfigurationTypeDef(TypedDict):
    IncludedStates: Sequence[SalesforceKnowledgeArticleStateType],  # (1)
    StandardKnowledgeArticleTypeConfiguration: NotRequired[SalesforceStandardKnowledgeArticleTypeConfigurationTypeDef],  # (2)
    CustomKnowledgeArticleTypeConfigurations: NotRequired[Sequence[SalesforceCustomKnowledgeArticleTypeConfigurationTypeDef]],  # (3)
  1. See SalesforceKnowledgeArticleStateType
  2. See SalesforceStandardKnowledgeArticleTypeConfigurationTypeDef
  3. See SalesforceCustomKnowledgeArticleTypeConfigurationTypeDef

ServiceNowConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ServiceNowConfigurationTypeDef

def get_value() -> ServiceNowConfigurationTypeDef:
    return {
        "HostUrl": ...,
        "SecretArn": ...,
        "ServiceNowBuildVersion": ...,
    }
Definition
class ServiceNowConfigurationTypeDef(TypedDict):
    HostUrl: str,
    SecretArn: str,
    ServiceNowBuildVersion: ServiceNowBuildVersionTypeType,  # (1)
    KnowledgeArticleConfiguration: NotRequired[ServiceNowKnowledgeArticleConfigurationTypeDef],  # (2)
    ServiceCatalogConfiguration: NotRequired[ServiceNowServiceCatalogConfigurationTypeDef],  # (3)
    AuthenticationType: NotRequired[ServiceNowAuthenticationTypeType],  # (4)
  1. See ServiceNowBuildVersionTypeType
  2. See ServiceNowKnowledgeArticleConfigurationTypeDef
  3. See ServiceNowServiceCatalogConfigurationTypeDef
  4. See ServiceNowAuthenticationTypeType

GitHubConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GitHubConfigurationTypeDef

def get_value() -> GitHubConfigurationTypeDef:
    return {
        "SecretArn": ...,
    }
Definition
class GitHubConfigurationTypeDef(TypedDict):
    SecretArn: str,
    SaaSConfiguration: NotRequired[SaaSConfigurationTypeDef],  # (1)
    OnPremiseConfiguration: NotRequired[OnPremiseConfigurationTypeDef],  # (2)
    Type: NotRequired[TypeType],  # (3)
    UseChangeLog: NotRequired[bool],
    GitHubDocumentCrawlProperties: NotRequired[GitHubDocumentCrawlPropertiesTypeDef],  # (4)
    RepositoryFilter: NotRequired[Sequence[str]],
    InclusionFolderNamePatterns: NotRequired[Sequence[str]],
    InclusionFileTypePatterns: NotRequired[Sequence[str]],
    InclusionFileNamePatterns: NotRequired[Sequence[str]],
    ExclusionFolderNamePatterns: NotRequired[Sequence[str]],
    ExclusionFileTypePatterns: NotRequired[Sequence[str]],
    ExclusionFileNamePatterns: NotRequired[Sequence[str]],
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (5)
    GitHubRepositoryConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
    GitHubCommitConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
    GitHubIssueDocumentConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
    GitHubIssueCommentConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
    GitHubIssueAttachmentConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
    GitHubPullRequestCommentConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
    GitHubPullRequestDocumentConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
    GitHubPullRequestDocumentAttachmentConfigurationFieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (6)
  1. See SaaSConfigurationTypeDef
  2. See OnPremiseConfigurationTypeDef
  3. See TypeType
  4. See GitHubDocumentCrawlPropertiesTypeDef
  5. See DataSourceVpcConfigurationTypeDef
  6. See DataSourceToIndexFieldMappingTypeDef
  7. See DataSourceToIndexFieldMappingTypeDef
  8. See DataSourceToIndexFieldMappingTypeDef
  9. See DataSourceToIndexFieldMappingTypeDef
  10. See DataSourceToIndexFieldMappingTypeDef
  11. See DataSourceToIndexFieldMappingTypeDef
  12. See DataSourceToIndexFieldMappingTypeDef
  13. See DataSourceToIndexFieldMappingTypeDef

OneDriveConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import OneDriveConfigurationTypeDef

def get_value() -> OneDriveConfigurationTypeDef:
    return {
        "TenantDomain": ...,
        "SecretArn": ...,
        "OneDriveUsers": ...,
    }
Definition
class OneDriveConfigurationTypeDef(TypedDict):
    TenantDomain: str,
    SecretArn: str,
    OneDriveUsers: OneDriveUsersTypeDef,  # (1)
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    FieldMappings: NotRequired[Sequence[DataSourceToIndexFieldMappingTypeDef]],  # (2)
    DisableLocalGroups: NotRequired[bool],
  1. See OneDriveUsersTypeDef
  2. See DataSourceToIndexFieldMappingTypeDef

ConfluenceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ConfluenceConfigurationTypeDef

def get_value() -> ConfluenceConfigurationTypeDef:
    return {
        "ServerUrl": ...,
        "SecretArn": ...,
        "Version": ...,
    }
Definition
class ConfluenceConfigurationTypeDef(TypedDict):
    ServerUrl: str,
    SecretArn: str,
    Version: ConfluenceVersionType,  # (1)
    SpaceConfiguration: NotRequired[ConfluenceSpaceConfigurationTypeDef],  # (2)
    PageConfiguration: NotRequired[ConfluencePageConfigurationTypeDef],  # (3)
    BlogConfiguration: NotRequired[ConfluenceBlogConfigurationTypeDef],  # (4)
    AttachmentConfiguration: NotRequired[ConfluenceAttachmentConfigurationTypeDef],  # (5)
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (6)
    InclusionPatterns: NotRequired[Sequence[str]],
    ExclusionPatterns: NotRequired[Sequence[str]],
    ProxyConfiguration: NotRequired[ProxyConfigurationTypeDef],  # (7)
    AuthenticationType: NotRequired[ConfluenceAuthenticationTypeType],  # (8)
  1. See ConfluenceVersionType
  2. See ConfluenceSpaceConfigurationTypeDef
  3. See ConfluencePageConfigurationTypeDef
  4. See ConfluenceBlogConfigurationTypeDef
  5. See ConfluenceAttachmentConfigurationTypeDef
  6. See DataSourceVpcConfigurationTypeDef
  7. See ProxyConfigurationTypeDef
  8. See ConfluenceAuthenticationTypeType

CreateAccessControlConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateAccessControlConfigurationRequestRequestTypeDef

def get_value() -> CreateAccessControlConfigurationRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Name": ...,
    }
Definition
class CreateAccessControlConfigurationRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Name: str,
    Description: NotRequired[str],
    AccessControlList: NotRequired[Sequence[PrincipalTypeDef]],  # (1)
    HierarchicalAccessControlList: NotRequired[Sequence[HierarchicalPrincipalTypeDef]],  # (2)
    ClientToken: NotRequired[str],
  1. See PrincipalTypeDef
  2. See HierarchicalPrincipalTypeDef

DescribeAccessControlConfigurationResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeAccessControlConfigurationResponseTypeDef

def get_value() -> DescribeAccessControlConfigurationResponseTypeDef:
    return {
        "Name": ...,
        "Description": ...,
        "ErrorMessage": ...,
        "AccessControlList": ...,
        "HierarchicalAccessControlList": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeAccessControlConfigurationResponseTypeDef(TypedDict):
    Name: str,
    Description: str,
    ErrorMessage: str,
    AccessControlList: List[PrincipalTypeDef],  # (1)
    HierarchicalAccessControlList: List[HierarchicalPrincipalTypeDef],  # (2)
    ResponseMetadata: ResponseMetadataTypeDef,  # (3)
  1. See PrincipalTypeDef
  2. See HierarchicalPrincipalTypeDef
  3. See ResponseMetadataTypeDef

UpdateAccessControlConfigurationRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UpdateAccessControlConfigurationRequestRequestTypeDef

def get_value() -> UpdateAccessControlConfigurationRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Id": ...,
    }
Definition
class UpdateAccessControlConfigurationRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Id: str,
    Name: NotRequired[str],
    Description: NotRequired[str],
    AccessControlList: NotRequired[Sequence[PrincipalTypeDef]],  # (1)
    HierarchicalAccessControlList: NotRequired[Sequence[HierarchicalPrincipalTypeDef]],  # (2)
  1. See PrincipalTypeDef
  2. See HierarchicalPrincipalTypeDef

ListDataSourceSyncJobsResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListDataSourceSyncJobsResponseTypeDef

def get_value() -> ListDataSourceSyncJobsResponseTypeDef:
    return {
        "History": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListDataSourceSyncJobsResponseTypeDef(TypedDict):
    History: List[DataSourceSyncJobTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See DataSourceSyncJobTypeDef
  2. See ResponseMetadataTypeDef

ListExperiencesResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListExperiencesResponseTypeDef

def get_value() -> ListExperiencesResponseTypeDef:
    return {
        "SummaryItems": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListExperiencesResponseTypeDef(TypedDict):
    SummaryItems: List[ExperiencesSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExperiencesSummaryTypeDef
  2. See ResponseMetadataTypeDef

HookConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import HookConfigurationTypeDef

def get_value() -> HookConfigurationTypeDef:
    return {
        "LambdaArn": ...,
        "S3Bucket": ...,
    }
Definition
class HookConfigurationTypeDef(TypedDict):
    LambdaArn: str,
    S3Bucket: str,
    InvocationCondition: NotRequired[DocumentAttributeConditionTypeDef],  # (1)
  1. See DocumentAttributeConditionTypeDef

InlineCustomDocumentEnrichmentConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import InlineCustomDocumentEnrichmentConfigurationTypeDef

def get_value() -> InlineCustomDocumentEnrichmentConfigurationTypeDef:
    return {
        "Condition": ...,
    }
Definition
class InlineCustomDocumentEnrichmentConfigurationTypeDef(TypedDict):
    Condition: NotRequired[DocumentAttributeConditionTypeDef],  # (1)
    Target: NotRequired[DocumentAttributeTargetTypeDef],  # (2)
    DocumentContentDeletion: NotRequired[bool],
  1. See DocumentAttributeConditionTypeDef
  2. See DocumentAttributeTargetTypeDef

AttributeFilterTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AttributeFilterTypeDef

def get_value() -> AttributeFilterTypeDef:
    return {
        "AndAllFilters": ...,
    }
Definition
class AttributeFilterTypeDef(TypedDict):
    AndAllFilters: NotRequired[Sequence[AttributeFilterTypeDef]],  # (1)
    OrAllFilters: NotRequired[Sequence[AttributeFilterTypeDef]],  # (1)
    NotFilter: NotRequired[AttributeFilterTypeDef],  # (3)
    EqualsTo: NotRequired[DocumentAttributeTypeDef],  # (4)
    ContainsAll: NotRequired[DocumentAttributeTypeDef],  # (4)
    ContainsAny: NotRequired[DocumentAttributeTypeDef],  # (4)
    GreaterThan: NotRequired[DocumentAttributeTypeDef],  # (4)
    GreaterThanOrEquals: NotRequired[DocumentAttributeTypeDef],  # (4)
    LessThan: NotRequired[DocumentAttributeTypeDef],  # (4)
    LessThanOrEquals: NotRequired[DocumentAttributeTypeDef],  # (4)
  1. See AttributeFilterTypeDef
  2. See AttributeFilterTypeDef
  3. See AttributeFilterTypeDef
  4. See DocumentAttributeTypeDef
  5. See DocumentAttributeTypeDef
  6. See DocumentAttributeTypeDef
  7. See DocumentAttributeTypeDef
  8. See DocumentAttributeTypeDef
  9. See DocumentAttributeTypeDef
  10. See DocumentAttributeTypeDef

DocumentInfoTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentInfoTypeDef

def get_value() -> DocumentInfoTypeDef:
    return {
        "DocumentId": ...,
    }
Definition
class DocumentInfoTypeDef(TypedDict):
    DocumentId: str,
    Attributes: NotRequired[Sequence[DocumentAttributeTypeDef]],  # (1)
  1. See DocumentAttributeTypeDef

DocumentTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DocumentTypeDef

def get_value() -> DocumentTypeDef:
    return {
        "Id": ...,
    }
Definition
class DocumentTypeDef(TypedDict):
    Id: str,
    Title: NotRequired[str],
    Blob: NotRequired[Union[str, bytes, IO[Any], StreamingBody]],
    S3Path: NotRequired[S3PathTypeDef],  # (1)
    Attributes: NotRequired[Sequence[DocumentAttributeTypeDef]],  # (2)
    AccessControlList: NotRequired[Sequence[PrincipalTypeDef]],  # (3)
    HierarchicalAccessControlList: NotRequired[Sequence[HierarchicalPrincipalTypeDef]],  # (4)
    ContentType: NotRequired[ContentTypeType],  # (5)
    AccessControlConfigurationId: NotRequired[str],
  1. See S3PathTypeDef
  2. See DocumentAttributeTypeDef
  3. See PrincipalTypeDef
  4. See HierarchicalPrincipalTypeDef
  5. See ContentTypeType

QueryRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import QueryRequestRequestTypeDef

def get_value() -> QueryRequestRequestTypeDef:
    return {
        "IndexId": ...,
    }
Definition
class QueryRequestRequestTypeDef(TypedDict):
    IndexId: str,
    QueryText: NotRequired[str],
    AttributeFilter: NotRequired[AttributeFilterTypeDef],  # (1)
    Facets: NotRequired[Sequence[FacetTypeDef]],  # (2)
    RequestedDocumentAttributes: NotRequired[Sequence[str]],
    QueryResultTypeFilter: NotRequired[QueryResultTypeType],  # (3)
    DocumentRelevanceOverrideConfigurations: NotRequired[Sequence[DocumentRelevanceConfigurationTypeDef]],  # (4)
    PageNumber: NotRequired[int],
    PageSize: NotRequired[int],
    SortingConfiguration: NotRequired[SortingConfigurationTypeDef],  # (5)
    UserContext: NotRequired[UserContextTypeDef],  # (6)
    VisitorId: NotRequired[str],
    SpellCorrectionConfiguration: NotRequired[SpellCorrectionConfigurationTypeDef],  # (7)
  1. See AttributeFilterTypeDef
  2. See FacetTypeDef
  3. See QueryResultTypeType
  4. See DocumentRelevanceConfigurationTypeDef
  5. See SortingConfigurationTypeDef
  6. See UserContextTypeDef
  7. See SpellCorrectionConfigurationTypeDef

ListExperienceEntitiesResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import ListExperienceEntitiesResponseTypeDef

def get_value() -> ListExperienceEntitiesResponseTypeDef:
    return {
        "SummaryItems": ...,
        "NextToken": ...,
        "ResponseMetadata": ...,
    }
Definition
class ListExperienceEntitiesResponseTypeDef(TypedDict):
    SummaryItems: List[ExperienceEntitiesSummaryTypeDef],  # (1)
    NextToken: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See ExperienceEntitiesSummaryTypeDef
  2. See ResponseMetadataTypeDef

CreateExperienceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateExperienceRequestRequestTypeDef

def get_value() -> CreateExperienceRequestRequestTypeDef:
    return {
        "Name": ...,
        "IndexId": ...,
    }
Definition
class CreateExperienceRequestRequestTypeDef(TypedDict):
    Name: str,
    IndexId: str,
    RoleArn: NotRequired[str],
    Configuration: NotRequired[ExperienceConfigurationTypeDef],  # (1)
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
  1. See ExperienceConfigurationTypeDef

DescribeExperienceResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeExperienceResponseTypeDef

def get_value() -> DescribeExperienceResponseTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "Name": ...,
        "Endpoints": ...,
        "Configuration": ...,
        "CreatedAt": ...,
        "UpdatedAt": ...,
        "Description": ...,
        "Status": ...,
        "RoleArn": ...,
        "ErrorMessage": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeExperienceResponseTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Name: str,
    Endpoints: List[ExperienceEndpointTypeDef],  # (1)
    Configuration: ExperienceConfigurationTypeDef,  # (2)
    CreatedAt: datetime,
    UpdatedAt: datetime,
    Description: str,
    Status: ExperienceStatusType,  # (3)
    RoleArn: str,
    ErrorMessage: str,
    ResponseMetadata: ResponseMetadataTypeDef,  # (4)
  1. See ExperienceEndpointTypeDef
  2. See ExperienceConfigurationTypeDef
  3. See ExperienceStatusType
  4. See ResponseMetadataTypeDef

UpdateExperienceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UpdateExperienceRequestRequestTypeDef

def get_value() -> UpdateExperienceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class UpdateExperienceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Name: NotRequired[str],
    RoleArn: NotRequired[str],
    Configuration: NotRequired[ExperienceConfigurationTypeDef],  # (1)
    Description: NotRequired[str],
  1. See ExperienceConfigurationTypeDef

PutPrincipalMappingRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import PutPrincipalMappingRequestRequestTypeDef

def get_value() -> PutPrincipalMappingRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "GroupId": ...,
        "GroupMembers": ...,
    }
Definition
class PutPrincipalMappingRequestRequestTypeDef(TypedDict):
    IndexId: str,
    GroupId: str,
    GroupMembers: GroupMembersTypeDef,  # (1)
    DataSourceId: NotRequired[str],
    OrderingId: NotRequired[int],
    RoleArn: NotRequired[str],
  1. See GroupMembersTypeDef

AdditionalResultAttributeValueTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AdditionalResultAttributeValueTypeDef

def get_value() -> AdditionalResultAttributeValueTypeDef:
    return {
        "TextWithHighlightsValue": ...,
    }
Definition
class AdditionalResultAttributeValueTypeDef(TypedDict):
    TextWithHighlightsValue: NotRequired[TextWithHighlightsTypeDef],  # (1)
  1. See TextWithHighlightsTypeDef

CreateIndexRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateIndexRequestRequestTypeDef

def get_value() -> CreateIndexRequestRequestTypeDef:
    return {
        "Name": ...,
        "RoleArn": ...,
    }
Definition
class CreateIndexRequestRequestTypeDef(TypedDict):
    Name: str,
    RoleArn: str,
    Edition: NotRequired[IndexEditionType],  # (1)
    ServerSideEncryptionConfiguration: NotRequired[ServerSideEncryptionConfigurationTypeDef],  # (2)
    Description: NotRequired[str],
    ClientToken: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (3)
    UserTokenConfigurations: NotRequired[Sequence[UserTokenConfigurationTypeDef]],  # (4)
    UserContextPolicy: NotRequired[UserContextPolicyType],  # (5)
    UserGroupResolutionConfiguration: NotRequired[UserGroupResolutionConfigurationTypeDef],  # (6)
  1. See IndexEditionType
  2. See ServerSideEncryptionConfigurationTypeDef
  3. See TagTypeDef
  4. See UserTokenConfigurationTypeDef
  5. See UserContextPolicyType
  6. See UserGroupResolutionConfigurationTypeDef

DescribeIndexResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeIndexResponseTypeDef

def get_value() -> DescribeIndexResponseTypeDef:
    return {
        "Name": ...,
        "Id": ...,
        "Edition": ...,
        "RoleArn": ...,
        "ServerSideEncryptionConfiguration": ...,
        "Status": ...,
        "Description": ...,
        "CreatedAt": ...,
        "UpdatedAt": ...,
        "DocumentMetadataConfigurations": ...,
        "IndexStatistics": ...,
        "ErrorMessage": ...,
        "CapacityUnits": ...,
        "UserTokenConfigurations": ...,
        "UserContextPolicy": ...,
        "UserGroupResolutionConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeIndexResponseTypeDef(TypedDict):
    Name: str,
    Id: str,
    Edition: IndexEditionType,  # (1)
    RoleArn: str,
    ServerSideEncryptionConfiguration: ServerSideEncryptionConfigurationTypeDef,  # (2)
    Status: IndexStatusType,  # (3)
    Description: str,
    CreatedAt: datetime,
    UpdatedAt: datetime,
    DocumentMetadataConfigurations: List[DocumentMetadataConfigurationTypeDef],  # (4)
    IndexStatistics: IndexStatisticsTypeDef,  # (5)
    ErrorMessage: str,
    CapacityUnits: CapacityUnitsConfigurationTypeDef,  # (6)
    UserTokenConfigurations: List[UserTokenConfigurationTypeDef],  # (7)
    UserContextPolicy: UserContextPolicyType,  # (8)
    UserGroupResolutionConfiguration: UserGroupResolutionConfigurationTypeDef,  # (9)
    ResponseMetadata: ResponseMetadataTypeDef,  # (10)
  1. See IndexEditionType
  2. See ServerSideEncryptionConfigurationTypeDef
  3. See IndexStatusType
  4. See DocumentMetadataConfigurationTypeDef
  5. See IndexStatisticsTypeDef
  6. See CapacityUnitsConfigurationTypeDef
  7. See UserTokenConfigurationTypeDef
  8. See UserContextPolicyType
  9. See UserGroupResolutionConfigurationTypeDef
  10. See ResponseMetadataTypeDef

UpdateIndexRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UpdateIndexRequestRequestTypeDef

def get_value() -> UpdateIndexRequestRequestTypeDef:
    return {
        "Id": ...,
    }
Definition
class UpdateIndexRequestRequestTypeDef(TypedDict):
    Id: str,
    Name: NotRequired[str],
    RoleArn: NotRequired[str],
    Description: NotRequired[str],
    DocumentMetadataConfigurationUpdates: NotRequired[Sequence[DocumentMetadataConfigurationTypeDef]],  # (1)
    CapacityUnits: NotRequired[CapacityUnitsConfigurationTypeDef],  # (2)
    UserTokenConfigurations: NotRequired[Sequence[UserTokenConfigurationTypeDef]],  # (3)
    UserContextPolicy: NotRequired[UserContextPolicyType],  # (4)
    UserGroupResolutionConfiguration: NotRequired[UserGroupResolutionConfigurationTypeDef],  # (5)
  1. See DocumentMetadataConfigurationTypeDef
  2. See CapacityUnitsConfigurationTypeDef
  3. See UserTokenConfigurationTypeDef
  4. See UserContextPolicyType
  5. See UserGroupResolutionConfigurationTypeDef

WebCrawlerConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import WebCrawlerConfigurationTypeDef

def get_value() -> WebCrawlerConfigurationTypeDef:
    return {
        "Urls": ...,
    }
Definition
class WebCrawlerConfigurationTypeDef(TypedDict):
    Urls: UrlsTypeDef,  # (1)
    CrawlDepth: NotRequired[int],
    MaxLinksPerPage: NotRequired[int],
    MaxContentSizePerPageInMegaBytes: NotRequired[float],
    MaxUrlsPerMinuteCrawlRate: NotRequired[int],
    UrlInclusionPatterns: NotRequired[Sequence[str]],
    UrlExclusionPatterns: NotRequired[Sequence[str]],
    ProxyConfiguration: NotRequired[ProxyConfigurationTypeDef],  # (2)
    AuthenticationConfiguration: NotRequired[AuthenticationConfigurationTypeDef],  # (3)
  1. See UrlsTypeDef
  2. See ProxyConfigurationTypeDef
  3. See AuthenticationConfigurationTypeDef

SuggestionValueTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SuggestionValueTypeDef

def get_value() -> SuggestionValueTypeDef:
    return {
        "Text": ...,
    }
Definition
class SuggestionValueTypeDef(TypedDict):
    Text: NotRequired[SuggestionTextWithHighlightsTypeDef],  # (1)
  1. See SuggestionTextWithHighlightsTypeDef

TableExcerptTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import TableExcerptTypeDef

def get_value() -> TableExcerptTypeDef:
    return {
        "Rows": ...,
    }
Definition
class TableExcerptTypeDef(TypedDict):
    Rows: NotRequired[List[TableRowTypeDef]],  # (1)
    TotalNumberOfRows: NotRequired[int],
  1. See TableRowTypeDef

SalesforceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SalesforceConfigurationTypeDef

def get_value() -> SalesforceConfigurationTypeDef:
    return {
        "ServerUrl": ...,
        "SecretArn": ...,
    }
Definition
class SalesforceConfigurationTypeDef(TypedDict):
    ServerUrl: str,
    SecretArn: str,
    StandardObjectConfigurations: NotRequired[Sequence[SalesforceStandardObjectConfigurationTypeDef]],  # (1)
    KnowledgeArticleConfiguration: NotRequired[SalesforceKnowledgeArticleConfigurationTypeDef],  # (2)
    ChatterFeedConfiguration: NotRequired[SalesforceChatterFeedConfigurationTypeDef],  # (3)
    CrawlAttachments: NotRequired[bool],
    StandardObjectAttachmentConfiguration: NotRequired[SalesforceStandardObjectAttachmentConfigurationTypeDef],  # (4)
    IncludeAttachmentFilePatterns: NotRequired[Sequence[str]],
    ExcludeAttachmentFilePatterns: NotRequired[Sequence[str]],
  1. See SalesforceStandardObjectConfigurationTypeDef
  2. See SalesforceKnowledgeArticleConfigurationTypeDef
  3. See SalesforceChatterFeedConfigurationTypeDef
  4. See SalesforceStandardObjectAttachmentConfigurationTypeDef

CustomDocumentEnrichmentConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CustomDocumentEnrichmentConfigurationTypeDef

def get_value() -> CustomDocumentEnrichmentConfigurationTypeDef:
    return {
        "InlineConfigurations": ...,
    }
Definition
class CustomDocumentEnrichmentConfigurationTypeDef(TypedDict):
    InlineConfigurations: NotRequired[Sequence[InlineCustomDocumentEnrichmentConfigurationTypeDef]],  # (1)
    PreExtractionHookConfiguration: NotRequired[HookConfigurationTypeDef],  # (2)
    PostExtractionHookConfiguration: NotRequired[HookConfigurationTypeDef],  # (2)
    RoleArn: NotRequired[str],
  1. See InlineCustomDocumentEnrichmentConfigurationTypeDef
  2. See HookConfigurationTypeDef
  3. See HookConfigurationTypeDef

BatchGetDocumentStatusRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchGetDocumentStatusRequestRequestTypeDef

def get_value() -> BatchGetDocumentStatusRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "DocumentInfoList": ...,
    }
Definition
class BatchGetDocumentStatusRequestRequestTypeDef(TypedDict):
    IndexId: str,
    DocumentInfoList: Sequence[DocumentInfoTypeDef],  # (1)
  1. See DocumentInfoTypeDef

AdditionalResultAttributeTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import AdditionalResultAttributeTypeDef

def get_value() -> AdditionalResultAttributeTypeDef:
    return {
        "Key": ...,
        "ValueType": ...,
        "Value": ...,
    }
Definition
class AdditionalResultAttributeTypeDef(TypedDict):
    Key: str,
    ValueType: AdditionalResultAttributeValueTypeType,  # (1)
    Value: AdditionalResultAttributeValueTypeDef,  # (2)
  1. See AdditionalResultAttributeValueTypeType
  2. See AdditionalResultAttributeValueTypeDef

SuggestionTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import SuggestionTypeDef

def get_value() -> SuggestionTypeDef:
    return {
        "Id": ...,
    }
Definition
class SuggestionTypeDef(TypedDict):
    Id: NotRequired[str],
    Value: NotRequired[SuggestionValueTypeDef],  # (1)
  1. See SuggestionValueTypeDef

DataSourceConfigurationTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DataSourceConfigurationTypeDef

def get_value() -> DataSourceConfigurationTypeDef:
    return {
        "S3Configuration": ...,
    }
Definition
class DataSourceConfigurationTypeDef(TypedDict):
    S3Configuration: NotRequired[S3DataSourceConfigurationTypeDef],  # (1)
    SharePointConfiguration: NotRequired[SharePointConfigurationTypeDef],  # (2)
    DatabaseConfiguration: NotRequired[DatabaseConfigurationTypeDef],  # (3)
    SalesforceConfiguration: NotRequired[SalesforceConfigurationTypeDef],  # (4)
    OneDriveConfiguration: NotRequired[OneDriveConfigurationTypeDef],  # (5)
    ServiceNowConfiguration: NotRequired[ServiceNowConfigurationTypeDef],  # (6)
    ConfluenceConfiguration: NotRequired[ConfluenceConfigurationTypeDef],  # (7)
    GoogleDriveConfiguration: NotRequired[GoogleDriveConfigurationTypeDef],  # (8)
    WebCrawlerConfiguration: NotRequired[WebCrawlerConfigurationTypeDef],  # (9)
    WorkDocsConfiguration: NotRequired[WorkDocsConfigurationTypeDef],  # (10)
    FsxConfiguration: NotRequired[FsxConfigurationTypeDef],  # (11)
    SlackConfiguration: NotRequired[SlackConfigurationTypeDef],  # (12)
    BoxConfiguration: NotRequired[BoxConfigurationTypeDef],  # (13)
    QuipConfiguration: NotRequired[QuipConfigurationTypeDef],  # (14)
    JiraConfiguration: NotRequired[JiraConfigurationTypeDef],  # (15)
    GitHubConfiguration: NotRequired[GitHubConfigurationTypeDef],  # (16)
    AlfrescoConfiguration: NotRequired[AlfrescoConfigurationTypeDef],  # (17)
    TemplateConfiguration: NotRequired[TemplateConfigurationTypeDef],  # (18)
  1. See S3DataSourceConfigurationTypeDef
  2. See SharePointConfigurationTypeDef
  3. See DatabaseConfigurationTypeDef
  4. See SalesforceConfigurationTypeDef
  5. See OneDriveConfigurationTypeDef
  6. See ServiceNowConfigurationTypeDef
  7. See ConfluenceConfigurationTypeDef
  8. See GoogleDriveConfigurationTypeDef
  9. See WebCrawlerConfigurationTypeDef
  10. See WorkDocsConfigurationTypeDef
  11. See FsxConfigurationTypeDef
  12. See SlackConfigurationTypeDef
  13. See BoxConfigurationTypeDef
  14. See QuipConfigurationTypeDef
  15. See JiraConfigurationTypeDef
  16. See GitHubConfigurationTypeDef
  17. See AlfrescoConfigurationTypeDef
  18. See TemplateConfigurationTypeDef

BatchPutDocumentRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import BatchPutDocumentRequestRequestTypeDef

def get_value() -> BatchPutDocumentRequestRequestTypeDef:
    return {
        "IndexId": ...,
        "Documents": ...,
    }
Definition
class BatchPutDocumentRequestRequestTypeDef(TypedDict):
    IndexId: str,
    Documents: Sequence[DocumentTypeDef],  # (1)
    RoleArn: NotRequired[str],
    CustomDocumentEnrichmentConfiguration: NotRequired[CustomDocumentEnrichmentConfigurationTypeDef],  # (2)
  1. See DocumentTypeDef
  2. See CustomDocumentEnrichmentConfigurationTypeDef

QueryResultItemTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import QueryResultItemTypeDef

def get_value() -> QueryResultItemTypeDef:
    return {
        "Id": ...,
    }
Definition
class QueryResultItemTypeDef(TypedDict):
    Id: NotRequired[str],
    Type: NotRequired[QueryResultTypeType],  # (1)
    Format: NotRequired[QueryResultFormatType],  # (2)
    AdditionalAttributes: NotRequired[List[AdditionalResultAttributeTypeDef]],  # (3)
    DocumentId: NotRequired[str],
    DocumentTitle: NotRequired[TextWithHighlightsTypeDef],  # (4)
    DocumentExcerpt: NotRequired[TextWithHighlightsTypeDef],  # (4)
    DocumentURI: NotRequired[str],
    DocumentAttributes: NotRequired[List[DocumentAttributeTypeDef]],  # (6)
    ScoreAttributes: NotRequired[ScoreAttributesTypeDef],  # (7)
    FeedbackToken: NotRequired[str],
    TableExcerpt: NotRequired[TableExcerptTypeDef],  # (8)
  1. See QueryResultTypeType
  2. See QueryResultFormatType
  3. See AdditionalResultAttributeTypeDef
  4. See TextWithHighlightsTypeDef
  5. See TextWithHighlightsTypeDef
  6. See DocumentAttributeTypeDef
  7. See ScoreAttributesTypeDef
  8. See TableExcerptTypeDef

GetQuerySuggestionsResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import GetQuerySuggestionsResponseTypeDef

def get_value() -> GetQuerySuggestionsResponseTypeDef:
    return {
        "QuerySuggestionsId": ...,
        "Suggestions": ...,
        "ResponseMetadata": ...,
    }
Definition
class GetQuerySuggestionsResponseTypeDef(TypedDict):
    QuerySuggestionsId: str,
    Suggestions: List[SuggestionTypeDef],  # (1)
    ResponseMetadata: ResponseMetadataTypeDef,  # (2)
  1. See SuggestionTypeDef
  2. See ResponseMetadataTypeDef

CreateDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import CreateDataSourceRequestRequestTypeDef

def get_value() -> CreateDataSourceRequestRequestTypeDef:
    return {
        "Name": ...,
        "IndexId": ...,
        "Type": ...,
    }
Definition
class CreateDataSourceRequestRequestTypeDef(TypedDict):
    Name: str,
    IndexId: str,
    Type: DataSourceTypeType,  # (1)
    Configuration: NotRequired[DataSourceConfigurationTypeDef],  # (2)
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (3)
    Description: NotRequired[str],
    Schedule: NotRequired[str],
    RoleArn: NotRequired[str],
    Tags: NotRequired[Sequence[TagTypeDef]],  # (4)
    ClientToken: NotRequired[str],
    LanguageCode: NotRequired[str],
    CustomDocumentEnrichmentConfiguration: NotRequired[CustomDocumentEnrichmentConfigurationTypeDef],  # (5)
  1. See DataSourceTypeType
  2. See DataSourceConfigurationTypeDef
  3. See DataSourceVpcConfigurationTypeDef
  4. See TagTypeDef
  5. See CustomDocumentEnrichmentConfigurationTypeDef

DescribeDataSourceResponseTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import DescribeDataSourceResponseTypeDef

def get_value() -> DescribeDataSourceResponseTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
        "Name": ...,
        "Type": ...,
        "Configuration": ...,
        "VpcConfiguration": ...,
        "CreatedAt": ...,
        "UpdatedAt": ...,
        "Description": ...,
        "Status": ...,
        "Schedule": ...,
        "RoleArn": ...,
        "ErrorMessage": ...,
        "LanguageCode": ...,
        "CustomDocumentEnrichmentConfiguration": ...,
        "ResponseMetadata": ...,
    }
Definition
class DescribeDataSourceResponseTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Name: str,
    Type: DataSourceTypeType,  # (1)
    Configuration: DataSourceConfigurationTypeDef,  # (2)
    VpcConfiguration: DataSourceVpcConfigurationTypeDef,  # (3)
    CreatedAt: datetime,
    UpdatedAt: datetime,
    Description: str,
    Status: DataSourceStatusType,  # (4)
    Schedule: str,
    RoleArn: str,
    ErrorMessage: str,
    LanguageCode: str,
    CustomDocumentEnrichmentConfiguration: CustomDocumentEnrichmentConfigurationTypeDef,  # (5)
    ResponseMetadata: ResponseMetadataTypeDef,  # (6)
  1. See DataSourceTypeType
  2. See DataSourceConfigurationTypeDef
  3. See DataSourceVpcConfigurationTypeDef
  4. See DataSourceStatusType
  5. See CustomDocumentEnrichmentConfigurationTypeDef
  6. See ResponseMetadataTypeDef

UpdateDataSourceRequestRequestTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import UpdateDataSourceRequestRequestTypeDef

def get_value() -> UpdateDataSourceRequestRequestTypeDef:
    return {
        "Id": ...,
        "IndexId": ...,
    }
Definition
class UpdateDataSourceRequestRequestTypeDef(TypedDict):
    Id: str,
    IndexId: str,
    Name: NotRequired[str],
    Configuration: NotRequired[DataSourceConfigurationTypeDef],  # (1)
    VpcConfiguration: NotRequired[DataSourceVpcConfigurationTypeDef],  # (2)
    Description: NotRequired[str],
    Schedule: NotRequired[str],
    RoleArn: NotRequired[str],
    LanguageCode: NotRequired[str],
    CustomDocumentEnrichmentConfiguration: NotRequired[CustomDocumentEnrichmentConfigurationTypeDef],  # (3)
  1. See DataSourceConfigurationTypeDef
  2. See DataSourceVpcConfigurationTypeDef
  3. See CustomDocumentEnrichmentConfigurationTypeDef

QueryResultTypeDef

Usage Example
from mypy_boto3_kendra.type_defs import QueryResultTypeDef

def get_value() -> QueryResultTypeDef:
    return {
        "QueryId": ...,
        "ResultItems": ...,
        "FacetResults": ...,
        "TotalNumberOfResults": ...,
        "Warnings": ...,
        "SpellCorrectedQueries": ...,
        "ResponseMetadata": ...,
    }
Definition
class QueryResultTypeDef(TypedDict):
    QueryId: str,
    ResultItems: List[QueryResultItemTypeDef],  # (1)
    FacetResults: List[FacetResultTypeDef],  # (2)
    TotalNumberOfResults: int,
    Warnings: List[WarningTypeDef],  # (3)
    SpellCorrectedQueries: List[SpellCorrectedQueryTypeDef],  # (4)
    ResponseMetadata: ResponseMetadataTypeDef,  # (5)
  1. See QueryResultItemTypeDef
  2. See FacetResultTypeDef
  3. See WarningTypeDef
  4. See SpellCorrectedQueryTypeDef
  5. See ResponseMetadataTypeDef