Type definitions#
Auto-generated documentation for QConnect type annotations stubs module mypy-boto3-qconnect.
TimestampTypeDef#
# TimestampTypeDef definition
TimestampTypeDef = Union[
datetime,
str,
]
AppIntegrationsConfigurationUnionTypeDef#
# AppIntegrationsConfigurationUnionTypeDef definition
AppIntegrationsConfigurationUnionTypeDef = Union[
AppIntegrationsConfigurationTypeDef, # (1)
AppIntegrationsConfigurationOutputTypeDef, # (2)
]
CustomerProfileAttributesUnionTypeDef#
# CustomerProfileAttributesUnionTypeDef definition
CustomerProfileAttributesUnionTypeDef = Union[
CustomerProfileAttributesTypeDef, # (1)
CustomerProfileAttributesOutputTypeDef, # (2)
]
HierarchicalChunkingConfigurationUnionTypeDef#
# HierarchicalChunkingConfigurationUnionTypeDef definition
HierarchicalChunkingConfigurationUnionTypeDef = Union[
HierarchicalChunkingConfigurationTypeDef, # (1)
HierarchicalChunkingConfigurationOutputTypeDef, # (2)
]
OrConditionUnionTypeDef#
# OrConditionUnionTypeDef definition
OrConditionUnionTypeDef = Union[
OrConditionTypeDef, # (1)
OrConditionOutputTypeDef, # (2)
]
UrlConfigurationUnionTypeDef#
# UrlConfigurationUnionTypeDef definition
UrlConfigurationUnionTypeDef = Union[
UrlConfigurationTypeDef, # (1)
UrlConfigurationOutputTypeDef, # (2)
]
EmailMessageTemplateContentUnionTypeDef#
# EmailMessageTemplateContentUnionTypeDef definition
EmailMessageTemplateContentUnionTypeDef = Union[
EmailMessageTemplateContentTypeDef, # (1)
EmailMessageTemplateContentOutputTypeDef, # (2)
]
ChunkingConfigurationUnionTypeDef#
# ChunkingConfigurationUnionTypeDef definition
ChunkingConfigurationUnionTypeDef = Union[
ChunkingConfigurationTypeDef, # (1)
ChunkingConfigurationOutputTypeDef, # (2)
]
TagFilterUnionTypeDef#
# TagFilterUnionTypeDef definition
TagFilterUnionTypeDef = Union[
TagFilterTypeDef, # (1)
TagFilterOutputTypeDef, # (2)
]
WebCrawlerConfigurationUnionTypeDef#
# WebCrawlerConfigurationUnionTypeDef definition
WebCrawlerConfigurationUnionTypeDef = Union[
WebCrawlerConfigurationTypeDef, # (1)
WebCrawlerConfigurationOutputTypeDef, # (2)
]
KnowledgeBaseAssociationConfigurationDataUnionTypeDef#
# KnowledgeBaseAssociationConfigurationDataUnionTypeDef definition
KnowledgeBaseAssociationConfigurationDataUnionTypeDef = Union[
KnowledgeBaseAssociationConfigurationDataTypeDef, # (1)
KnowledgeBaseAssociationConfigurationDataOutputTypeDef, # (2)
]
- See KnowledgeBaseAssociationConfigurationDataTypeDef
- See KnowledgeBaseAssociationConfigurationDataOutputTypeDef
ManagedSourceConfigurationUnionTypeDef#
# ManagedSourceConfigurationUnionTypeDef definition
ManagedSourceConfigurationUnionTypeDef = Union[
ManagedSourceConfigurationTypeDef, # (1)
ManagedSourceConfigurationOutputTypeDef, # (2)
]
AssociationConfigurationDataUnionTypeDef#
# AssociationConfigurationDataUnionTypeDef definition
AssociationConfigurationDataUnionTypeDef = Union[
AssociationConfigurationDataTypeDef, # (1)
AssociationConfigurationDataOutputTypeDef, # (2)
]
AssociationConfigurationUnionTypeDef#
# AssociationConfigurationUnionTypeDef definition
AssociationConfigurationUnionTypeDef = Union[
AssociationConfigurationTypeDef, # (1)
AssociationConfigurationOutputTypeDef, # (2)
]
ManualSearchAIAgentConfigurationUnionTypeDef#
# ManualSearchAIAgentConfigurationUnionTypeDef definition
ManualSearchAIAgentConfigurationUnionTypeDef = Union[
ManualSearchAIAgentConfigurationTypeDef, # (1)
ManualSearchAIAgentConfigurationOutputTypeDef, # (2)
]
AnswerRecommendationAIAgentConfigurationUnionTypeDef#
# AnswerRecommendationAIAgentConfigurationUnionTypeDef definition
AnswerRecommendationAIAgentConfigurationUnionTypeDef = Union[
AnswerRecommendationAIAgentConfigurationTypeDef, # (1)
AnswerRecommendationAIAgentConfigurationOutputTypeDef, # (2)
]
- See AnswerRecommendationAIAgentConfigurationTypeDef
- See AnswerRecommendationAIAgentConfigurationOutputTypeDef
AIAgentConfigurationDataTypeDef#
# AIAgentConfigurationDataTypeDef definition
class AIAgentConfigurationDataTypeDef(TypedDict):
aiAgentId: str,
AIPromptSummaryTypeDef#
# AIPromptSummaryTypeDef definition
class AIPromptSummaryTypeDef(TypedDict):
aiPromptArn: str,
aiPromptId: str,
apiFormat: AIPromptAPIFormatType, # (1)
assistantArn: str,
assistantId: str,
modelId: str,
name: str,
templateType: AIPromptTemplateTypeType, # (4)
type: AIPromptTypeType, # (5)
visibilityStatus: VisibilityStatusType, # (6)
description: NotRequired[str],
modifiedTime: NotRequired[datetime],
origin: NotRequired[OriginType], # (2)
status: NotRequired[StatusType], # (3)
tags: NotRequired[Dict[str, str]],
- See AIPromptAPIFormatType
- See OriginType
- See StatusType
- See AIPromptTemplateTypeType
- See AIPromptTypeType
- See VisibilityStatusType
TextFullAIPromptEditTemplateConfigurationTypeDef#
# TextFullAIPromptEditTemplateConfigurationTypeDef definition
class TextFullAIPromptEditTemplateConfigurationTypeDef(TypedDict):
text: str,
ActivateMessageTemplateRequestRequestTypeDef#
# ActivateMessageTemplateRequestRequestTypeDef definition
class ActivateMessageTemplateRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
versionNumber: int,
ResponseMetadataTypeDef#
# ResponseMetadataTypeDef definition
class ResponseMetadataTypeDef(TypedDict):
RequestId: str,
HTTPStatusCode: int,
HTTPHeaders: Dict[str, str],
RetryAttempts: int,
HostId: NotRequired[str],
AgentAttributesTypeDef#
# AgentAttributesTypeDef definition
class AgentAttributesTypeDef(TypedDict):
firstName: NotRequired[str],
lastName: NotRequired[str],
AmazonConnectGuideAssociationDataTypeDef#
# AmazonConnectGuideAssociationDataTypeDef definition
class AmazonConnectGuideAssociationDataTypeDef(TypedDict):
flowId: NotRequired[str],
AppIntegrationsConfigurationOutputTypeDef#
# AppIntegrationsConfigurationOutputTypeDef definition
class AppIntegrationsConfigurationOutputTypeDef(TypedDict):
appIntegrationArn: str,
objectFields: NotRequired[List[str]],
AppIntegrationsConfigurationTypeDef#
# AppIntegrationsConfigurationTypeDef definition
class AppIntegrationsConfigurationTypeDef(TypedDict):
appIntegrationArn: str,
objectFields: NotRequired[Sequence[str]],
AssistantAssociationInputDataTypeDef#
# AssistantAssociationInputDataTypeDef definition
class AssistantAssociationInputDataTypeDef(TypedDict):
knowledgeBaseId: NotRequired[str],
KnowledgeBaseAssociationDataTypeDef#
# KnowledgeBaseAssociationDataTypeDef definition
class KnowledgeBaseAssociationDataTypeDef(TypedDict):
knowledgeBaseArn: NotRequired[str],
knowledgeBaseId: NotRequired[str],
AssistantCapabilityConfigurationTypeDef#
# AssistantCapabilityConfigurationTypeDef definition
class AssistantCapabilityConfigurationTypeDef(TypedDict):
type: NotRequired[AssistantCapabilityTypeType], # (1)
AssistantIntegrationConfigurationTypeDef#
# AssistantIntegrationConfigurationTypeDef definition
class AssistantIntegrationConfigurationTypeDef(TypedDict):
topicIntegrationArn: NotRequired[str],
ServerSideEncryptionConfigurationTypeDef#
# ServerSideEncryptionConfigurationTypeDef definition
class ServerSideEncryptionConfigurationTypeDef(TypedDict):
kmsKeyId: NotRequired[str],
ParsingPromptTypeDef#
# ParsingPromptTypeDef definition
class ParsingPromptTypeDef(TypedDict):
parsingPromptText: str,
FixedSizeChunkingConfigurationTypeDef#
# FixedSizeChunkingConfigurationTypeDef definition
class FixedSizeChunkingConfigurationTypeDef(TypedDict):
maxTokens: int,
overlapPercentage: int,
SemanticChunkingConfigurationTypeDef#
# SemanticChunkingConfigurationTypeDef definition
class SemanticChunkingConfigurationTypeDef(TypedDict):
breakpointPercentileThreshold: int,
bufferSize: int,
maxTokens: int,
CitationSpanTypeDef#
# CitationSpanTypeDef definition
class CitationSpanTypeDef(TypedDict):
beginOffsetInclusive: NotRequired[int],
endOffsetExclusive: NotRequired[int],
ConnectConfigurationTypeDef#
# ConnectConfigurationTypeDef definition
class ConnectConfigurationTypeDef(TypedDict):
instanceId: NotRequired[str],
RankingDataTypeDef#
# RankingDataTypeDef definition
class RankingDataTypeDef(TypedDict):
relevanceLevel: NotRequired[RelevanceLevelType], # (1)
relevanceScore: NotRequired[float],
ContentDataTypeDef#
# ContentDataTypeDef definition
class ContentDataTypeDef(TypedDict):
contentArn: str,
contentId: str,
contentType: str,
knowledgeBaseArn: str,
knowledgeBaseId: str,
metadata: Dict[str, str],
name: str,
revisionId: str,
status: ContentStatusType, # (1)
title: str,
url: str,
urlExpiry: datetime,
linkOutUri: NotRequired[str],
tags: NotRequired[Dict[str, str]],
GenerativeContentFeedbackDataTypeDef#
# GenerativeContentFeedbackDataTypeDef definition
class GenerativeContentFeedbackDataTypeDef(TypedDict):
relevance: RelevanceType, # (1)
- See RelevanceType
ContentReferenceTypeDef#
# ContentReferenceTypeDef definition
class ContentReferenceTypeDef(TypedDict):
contentArn: NotRequired[str],
contentId: NotRequired[str],
knowledgeBaseArn: NotRequired[str],
knowledgeBaseId: NotRequired[str],
referenceType: NotRequired[ReferenceTypeType], # (1)
sourceURL: NotRequired[str],
ContentSummaryTypeDef#
# ContentSummaryTypeDef definition
class ContentSummaryTypeDef(TypedDict):
contentArn: str,
contentId: str,
contentType: str,
knowledgeBaseArn: str,
knowledgeBaseId: str,
metadata: Dict[str, str],
name: str,
revisionId: str,
status: ContentStatusType, # (1)
title: str,
tags: NotRequired[Dict[str, str]],
CreateContentRequestRequestTypeDef#
# CreateContentRequestRequestTypeDef definition
class CreateContentRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
name: str,
uploadId: str,
clientToken: NotRequired[str],
metadata: NotRequired[Mapping[str, str]],
overrideLinkOutUri: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
title: NotRequired[str],
RenderingConfigurationTypeDef#
# RenderingConfigurationTypeDef definition
class RenderingConfigurationTypeDef(TypedDict):
templateUri: NotRequired[str],
CreateMessageTemplateAttachmentRequestRequestTypeDef#
# CreateMessageTemplateAttachmentRequestRequestTypeDef definition
class CreateMessageTemplateAttachmentRequestRequestTypeDef(TypedDict):
body: str,
contentDisposition: ContentDispositionType, # (1)
knowledgeBaseId: str,
messageTemplateId: str,
name: str,
clientToken: NotRequired[str],
MessageTemplateAttachmentTypeDef#
# MessageTemplateAttachmentTypeDef definition
class MessageTemplateAttachmentTypeDef(TypedDict):
attachmentId: str,
contentDisposition: ContentDispositionType, # (1)
name: str,
uploadedTime: datetime,
url: str,
urlExpiry: datetime,
GroupingConfigurationTypeDef#
# GroupingConfigurationTypeDef definition
class GroupingConfigurationTypeDef(TypedDict):
criteria: NotRequired[str],
values: NotRequired[Sequence[str]],
CreateMessageTemplateVersionRequestRequestTypeDef#
# CreateMessageTemplateVersionRequestRequestTypeDef definition
class CreateMessageTemplateVersionRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
messageTemplateContentSha256: NotRequired[str],
QuickResponseDataProviderTypeDef#
# QuickResponseDataProviderTypeDef definition
class QuickResponseDataProviderTypeDef(TypedDict):
content: NotRequired[str],
CustomerProfileAttributesOutputTypeDef#
# CustomerProfileAttributesOutputTypeDef definition
class CustomerProfileAttributesOutputTypeDef(TypedDict):
accountNumber: NotRequired[str],
additionalInformation: NotRequired[str],
address1: NotRequired[str],
address2: NotRequired[str],
address3: NotRequired[str],
address4: NotRequired[str],
billingAddress1: NotRequired[str],
billingAddress2: NotRequired[str],
billingAddress3: NotRequired[str],
billingAddress4: NotRequired[str],
billingCity: NotRequired[str],
billingCountry: NotRequired[str],
billingCounty: NotRequired[str],
billingPostalCode: NotRequired[str],
billingProvince: NotRequired[str],
billingState: NotRequired[str],
birthDate: NotRequired[str],
businessEmailAddress: NotRequired[str],
businessName: NotRequired[str],
businessPhoneNumber: NotRequired[str],
city: NotRequired[str],
country: NotRequired[str],
county: NotRequired[str],
custom: NotRequired[Dict[str, str]],
emailAddress: NotRequired[str],
firstName: NotRequired[str],
gender: NotRequired[str],
homePhoneNumber: NotRequired[str],
lastName: NotRequired[str],
mailingAddress1: NotRequired[str],
mailingAddress2: NotRequired[str],
mailingAddress3: NotRequired[str],
mailingAddress4: NotRequired[str],
mailingCity: NotRequired[str],
mailingCountry: NotRequired[str],
mailingCounty: NotRequired[str],
mailingPostalCode: NotRequired[str],
mailingProvince: NotRequired[str],
mailingState: NotRequired[str],
middleName: NotRequired[str],
mobilePhoneNumber: NotRequired[str],
partyType: NotRequired[str],
phoneNumber: NotRequired[str],
postalCode: NotRequired[str],
profileARN: NotRequired[str],
profileId: NotRequired[str],
province: NotRequired[str],
shippingAddress1: NotRequired[str],
shippingAddress2: NotRequired[str],
shippingAddress3: NotRequired[str],
shippingAddress4: NotRequired[str],
shippingCity: NotRequired[str],
shippingCountry: NotRequired[str],
shippingCounty: NotRequired[str],
shippingPostalCode: NotRequired[str],
shippingProvince: NotRequired[str],
shippingState: NotRequired[str],
state: NotRequired[str],
CustomerProfileAttributesTypeDef#
# CustomerProfileAttributesTypeDef definition
class CustomerProfileAttributesTypeDef(TypedDict):
accountNumber: NotRequired[str],
additionalInformation: NotRequired[str],
address1: NotRequired[str],
address2: NotRequired[str],
address3: NotRequired[str],
address4: NotRequired[str],
billingAddress1: NotRequired[str],
billingAddress2: NotRequired[str],
billingAddress3: NotRequired[str],
billingAddress4: NotRequired[str],
billingCity: NotRequired[str],
billingCountry: NotRequired[str],
billingCounty: NotRequired[str],
billingPostalCode: NotRequired[str],
billingProvince: NotRequired[str],
billingState: NotRequired[str],
birthDate: NotRequired[str],
businessEmailAddress: NotRequired[str],
businessName: NotRequired[str],
businessPhoneNumber: NotRequired[str],
city: NotRequired[str],
country: NotRequired[str],
county: NotRequired[str],
custom: NotRequired[Mapping[str, str]],
emailAddress: NotRequired[str],
firstName: NotRequired[str],
gender: NotRequired[str],
homePhoneNumber: NotRequired[str],
lastName: NotRequired[str],
mailingAddress1: NotRequired[str],
mailingAddress2: NotRequired[str],
mailingAddress3: NotRequired[str],
mailingAddress4: NotRequired[str],
mailingCity: NotRequired[str],
mailingCountry: NotRequired[str],
mailingCounty: NotRequired[str],
mailingPostalCode: NotRequired[str],
mailingProvince: NotRequired[str],
mailingState: NotRequired[str],
middleName: NotRequired[str],
mobilePhoneNumber: NotRequired[str],
partyType: NotRequired[str],
phoneNumber: NotRequired[str],
postalCode: NotRequired[str],
profileARN: NotRequired[str],
profileId: NotRequired[str],
province: NotRequired[str],
shippingAddress1: NotRequired[str],
shippingAddress2: NotRequired[str],
shippingAddress3: NotRequired[str],
shippingAddress4: NotRequired[str],
shippingCity: NotRequired[str],
shippingCountry: NotRequired[str],
shippingCounty: NotRequired[str],
shippingPostalCode: NotRequired[str],
shippingProvince: NotRequired[str],
shippingState: NotRequired[str],
state: NotRequired[str],
IntentDetectedDataDetailsTypeDef#
# IntentDetectedDataDetailsTypeDef definition
class IntentDetectedDataDetailsTypeDef(TypedDict):
intent: str,
intentId: str,
GenerativeReferenceTypeDef#
# GenerativeReferenceTypeDef definition
class GenerativeReferenceTypeDef(TypedDict):
generationId: NotRequired[str],
modelId: NotRequired[str],
DeactivateMessageTemplateRequestRequestTypeDef#
# DeactivateMessageTemplateRequestRequestTypeDef definition
class DeactivateMessageTemplateRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
versionNumber: int,
DeleteAIAgentRequestRequestTypeDef#
# DeleteAIAgentRequestRequestTypeDef definition
class DeleteAIAgentRequestRequestTypeDef(TypedDict):
aiAgentId: str,
assistantId: str,
DeleteAIAgentVersionRequestRequestTypeDef#
# DeleteAIAgentVersionRequestRequestTypeDef definition
class DeleteAIAgentVersionRequestRequestTypeDef(TypedDict):
aiAgentId: str,
assistantId: str,
versionNumber: int,
DeleteAIPromptRequestRequestTypeDef#
# DeleteAIPromptRequestRequestTypeDef definition
class DeleteAIPromptRequestRequestTypeDef(TypedDict):
aiPromptId: str,
assistantId: str,
DeleteAIPromptVersionRequestRequestTypeDef#
# DeleteAIPromptVersionRequestRequestTypeDef definition
class DeleteAIPromptVersionRequestRequestTypeDef(TypedDict):
aiPromptId: str,
assistantId: str,
versionNumber: int,
DeleteAssistantAssociationRequestRequestTypeDef#
# DeleteAssistantAssociationRequestRequestTypeDef definition
class DeleteAssistantAssociationRequestRequestTypeDef(TypedDict):
assistantAssociationId: str,
assistantId: str,
DeleteAssistantRequestRequestTypeDef#
# DeleteAssistantRequestRequestTypeDef definition
class DeleteAssistantRequestRequestTypeDef(TypedDict):
assistantId: str,
DeleteContentAssociationRequestRequestTypeDef#
# DeleteContentAssociationRequestRequestTypeDef definition
class DeleteContentAssociationRequestRequestTypeDef(TypedDict):
contentAssociationId: str,
contentId: str,
knowledgeBaseId: str,
DeleteContentRequestRequestTypeDef#
# DeleteContentRequestRequestTypeDef definition
class DeleteContentRequestRequestTypeDef(TypedDict):
contentId: str,
knowledgeBaseId: str,
DeleteImportJobRequestRequestTypeDef#
# DeleteImportJobRequestRequestTypeDef definition
class DeleteImportJobRequestRequestTypeDef(TypedDict):
importJobId: str,
knowledgeBaseId: str,
DeleteKnowledgeBaseRequestRequestTypeDef#
# DeleteKnowledgeBaseRequestRequestTypeDef definition
class DeleteKnowledgeBaseRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
DeleteMessageTemplateAttachmentRequestRequestTypeDef#
# DeleteMessageTemplateAttachmentRequestRequestTypeDef definition
class DeleteMessageTemplateAttachmentRequestRequestTypeDef(TypedDict):
attachmentId: str,
knowledgeBaseId: str,
messageTemplateId: str,
DeleteMessageTemplateRequestRequestTypeDef#
# DeleteMessageTemplateRequestRequestTypeDef definition
class DeleteMessageTemplateRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
DeleteQuickResponseRequestRequestTypeDef#
# DeleteQuickResponseRequestRequestTypeDef definition
class DeleteQuickResponseRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
quickResponseId: str,
HighlightTypeDef#
# HighlightTypeDef definition
class HighlightTypeDef(TypedDict):
beginOffsetInclusive: NotRequired[int],
endOffsetExclusive: NotRequired[int],
EmailHeaderTypeDef#
# EmailHeaderTypeDef definition
class EmailHeaderTypeDef(TypedDict):
name: NotRequired[str],
value: NotRequired[str],
MessageTemplateBodyContentProviderTypeDef#
# MessageTemplateBodyContentProviderTypeDef definition
class MessageTemplateBodyContentProviderTypeDef(TypedDict):
content: NotRequired[str],
GroupingConfigurationOutputTypeDef#
# GroupingConfigurationOutputTypeDef definition
class GroupingConfigurationOutputTypeDef(TypedDict):
criteria: NotRequired[str],
values: NotRequired[List[str]],
FilterTypeDef#
# FilterTypeDef definition
class FilterTypeDef(TypedDict):
field: FilterFieldType, # (1)
operator: FilterOperatorType, # (2)
value: str,
- See FilterFieldType
- See FilterOperatorType
GetAIAgentRequestRequestTypeDef#
# GetAIAgentRequestRequestTypeDef definition
class GetAIAgentRequestRequestTypeDef(TypedDict):
aiAgentId: str,
assistantId: str,
GetAIPromptRequestRequestTypeDef#
# GetAIPromptRequestRequestTypeDef definition
class GetAIPromptRequestRequestTypeDef(TypedDict):
aiPromptId: str,
assistantId: str,
GetAssistantAssociationRequestRequestTypeDef#
# GetAssistantAssociationRequestRequestTypeDef definition
class GetAssistantAssociationRequestRequestTypeDef(TypedDict):
assistantAssociationId: str,
assistantId: str,
GetAssistantRequestRequestTypeDef#
# GetAssistantRequestRequestTypeDef definition
class GetAssistantRequestRequestTypeDef(TypedDict):
assistantId: str,
GetContentAssociationRequestRequestTypeDef#
# GetContentAssociationRequestRequestTypeDef definition
class GetContentAssociationRequestRequestTypeDef(TypedDict):
contentAssociationId: str,
contentId: str,
knowledgeBaseId: str,
GetContentRequestRequestTypeDef#
# GetContentRequestRequestTypeDef definition
class GetContentRequestRequestTypeDef(TypedDict):
contentId: str,
knowledgeBaseId: str,
GetContentSummaryRequestRequestTypeDef#
# GetContentSummaryRequestRequestTypeDef definition
class GetContentSummaryRequestRequestTypeDef(TypedDict):
contentId: str,
knowledgeBaseId: str,
GetImportJobRequestRequestTypeDef#
# GetImportJobRequestRequestTypeDef definition
class GetImportJobRequestRequestTypeDef(TypedDict):
importJobId: str,
knowledgeBaseId: str,
GetKnowledgeBaseRequestRequestTypeDef#
# GetKnowledgeBaseRequestRequestTypeDef definition
class GetKnowledgeBaseRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
GetMessageTemplateRequestRequestTypeDef#
# GetMessageTemplateRequestRequestTypeDef definition
class GetMessageTemplateRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
GetQuickResponseRequestRequestTypeDef#
# GetQuickResponseRequestRequestTypeDef definition
class GetQuickResponseRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
quickResponseId: str,
GetRecommendationsRequestRequestTypeDef#
# GetRecommendationsRequestRequestTypeDef definition
class GetRecommendationsRequestRequestTypeDef(TypedDict):
assistantId: str,
sessionId: str,
maxResults: NotRequired[int],
waitTimeSeconds: NotRequired[int],
GetSessionRequestRequestTypeDef#
# GetSessionRequestRequestTypeDef definition
class GetSessionRequestRequestTypeDef(TypedDict):
assistantId: str,
sessionId: str,
HierarchicalChunkingLevelConfigurationTypeDef#
# HierarchicalChunkingLevelConfigurationTypeDef definition
class HierarchicalChunkingLevelConfigurationTypeDef(TypedDict):
maxTokens: int,
IntentInputDataTypeDef#
# IntentInputDataTypeDef definition
class IntentInputDataTypeDef(TypedDict):
intentId: str,
PaginatorConfigTypeDef#
# PaginatorConfigTypeDef definition
class PaginatorConfigTypeDef(TypedDict):
MaxItems: NotRequired[int],
PageSize: NotRequired[int],
StartingToken: NotRequired[str],
ListAIAgentVersionsRequestRequestTypeDef#
# ListAIAgentVersionsRequestRequestTypeDef definition
class ListAIAgentVersionsRequestRequestTypeDef(TypedDict):
aiAgentId: str,
assistantId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
origin: NotRequired[OriginType], # (1)
- See OriginType
ListAIAgentsRequestRequestTypeDef#
# ListAIAgentsRequestRequestTypeDef definition
class ListAIAgentsRequestRequestTypeDef(TypedDict):
assistantId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
origin: NotRequired[OriginType], # (1)
- See OriginType
ListAIPromptVersionsRequestRequestTypeDef#
# ListAIPromptVersionsRequestRequestTypeDef definition
class ListAIPromptVersionsRequestRequestTypeDef(TypedDict):
aiPromptId: str,
assistantId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
origin: NotRequired[OriginType], # (1)
- See OriginType
ListAIPromptsRequestRequestTypeDef#
# ListAIPromptsRequestRequestTypeDef definition
class ListAIPromptsRequestRequestTypeDef(TypedDict):
assistantId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
origin: NotRequired[OriginType], # (1)
- See OriginType
ListAssistantAssociationsRequestRequestTypeDef#
# ListAssistantAssociationsRequestRequestTypeDef definition
class ListAssistantAssociationsRequestRequestTypeDef(TypedDict):
assistantId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListAssistantsRequestRequestTypeDef#
# ListAssistantsRequestRequestTypeDef definition
class ListAssistantsRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListContentAssociationsRequestRequestTypeDef#
# ListContentAssociationsRequestRequestTypeDef definition
class ListContentAssociationsRequestRequestTypeDef(TypedDict):
contentId: str,
knowledgeBaseId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListContentsRequestRequestTypeDef#
# ListContentsRequestRequestTypeDef definition
class ListContentsRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListImportJobsRequestRequestTypeDef#
# ListImportJobsRequestRequestTypeDef definition
class ListImportJobsRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListKnowledgeBasesRequestRequestTypeDef#
# ListKnowledgeBasesRequestRequestTypeDef definition
class ListKnowledgeBasesRequestRequestTypeDef(TypedDict):
maxResults: NotRequired[int],
nextToken: NotRequired[str],
ListMessageTemplateVersionsRequestRequestTypeDef#
# ListMessageTemplateVersionsRequestRequestTypeDef definition
class ListMessageTemplateVersionsRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
MessageTemplateVersionSummaryTypeDef#
# MessageTemplateVersionSummaryTypeDef definition
class MessageTemplateVersionSummaryTypeDef(TypedDict):
channelSubtype: ChannelSubtypeType, # (1)
isActive: bool,
knowledgeBaseArn: str,
knowledgeBaseId: str,
messageTemplateArn: str,
messageTemplateId: str,
name: str,
versionNumber: int,
ListMessageTemplatesRequestRequestTypeDef#
# ListMessageTemplatesRequestRequestTypeDef definition
class ListMessageTemplatesRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
MessageTemplateSummaryTypeDef#
# MessageTemplateSummaryTypeDef definition
class MessageTemplateSummaryTypeDef(TypedDict):
channelSubtype: ChannelSubtypeType, # (1)
createdTime: datetime,
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedBy: str,
lastModifiedTime: datetime,
messageTemplateArn: str,
messageTemplateId: str,
name: str,
activeVersionNumber: NotRequired[int],
description: NotRequired[str],
tags: NotRequired[Dict[str, str]],
ListQuickResponsesRequestRequestTypeDef#
# ListQuickResponsesRequestRequestTypeDef definition
class ListQuickResponsesRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
QuickResponseSummaryTypeDef#
# QuickResponseSummaryTypeDef definition
class QuickResponseSummaryTypeDef(TypedDict):
contentType: str,
createdTime: datetime,
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedTime: datetime,
name: str,
quickResponseArn: str,
quickResponseId: str,
status: QuickResponseStatusType, # (1)
channels: NotRequired[List[str]],
description: NotRequired[str],
isActive: NotRequired[bool],
lastModifiedBy: NotRequired[str],
tags: NotRequired[Dict[str, str]],
ListTagsForResourceRequestRequestTypeDef#
# ListTagsForResourceRequestRequestTypeDef definition
class ListTagsForResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
MessageTemplateFilterFieldTypeDef#
# MessageTemplateFilterFieldTypeDef definition
class MessageTemplateFilterFieldTypeDef(TypedDict):
name: str,
operator: MessageTemplateFilterOperatorType, # (1)
includeNoExistence: NotRequired[bool],
values: NotRequired[Sequence[str]],
MessageTemplateOrderFieldTypeDef#
# MessageTemplateOrderFieldTypeDef definition
class MessageTemplateOrderFieldTypeDef(TypedDict):
name: str,
order: NotRequired[OrderType], # (1)
- See OrderType
MessageTemplateQueryFieldTypeDef#
# MessageTemplateQueryFieldTypeDef definition
class MessageTemplateQueryFieldTypeDef(TypedDict):
name: str,
operator: MessageTemplateQueryOperatorType, # (1)
values: Sequence[str],
allowFuzziness: NotRequired[bool],
priority: NotRequired[PriorityType], # (2)
NotifyRecommendationsReceivedErrorTypeDef#
# NotifyRecommendationsReceivedErrorTypeDef definition
class NotifyRecommendationsReceivedErrorTypeDef(TypedDict):
message: NotRequired[str],
recommendationId: NotRequired[str],
NotifyRecommendationsReceivedRequestRequestTypeDef#
# NotifyRecommendationsReceivedRequestRequestTypeDef definition
class NotifyRecommendationsReceivedRequestRequestTypeDef(TypedDict):
assistantId: str,
recommendationIds: Sequence[str],
sessionId: str,
TagConditionTypeDef#
# TagConditionTypeDef definition
class TagConditionTypeDef(TypedDict):
key: str,
value: NotRequired[str],
QueryConditionItemTypeDef#
# QueryConditionItemTypeDef definition
class QueryConditionItemTypeDef(TypedDict):
comparator: QueryConditionComparisonOperatorType, # (1)
field: QueryConditionFieldNameType, # (2)
value: str,
QueryTextInputDataTypeDef#
# QueryTextInputDataTypeDef definition
class QueryTextInputDataTypeDef(TypedDict):
text: str,
QueryRecommendationTriggerDataTypeDef#
# QueryRecommendationTriggerDataTypeDef definition
class QueryRecommendationTriggerDataTypeDef(TypedDict):
text: NotRequired[str],
QuickResponseContentProviderTypeDef#
# QuickResponseContentProviderTypeDef definition
class QuickResponseContentProviderTypeDef(TypedDict):
content: NotRequired[str],
QuickResponseFilterFieldTypeDef#
# QuickResponseFilterFieldTypeDef definition
class QuickResponseFilterFieldTypeDef(TypedDict):
name: str,
operator: QuickResponseFilterOperatorType, # (1)
includeNoExistence: NotRequired[bool],
values: NotRequired[Sequence[str]],
QuickResponseOrderFieldTypeDef#
# QuickResponseOrderFieldTypeDef definition
class QuickResponseOrderFieldTypeDef(TypedDict):
name: str,
order: NotRequired[OrderType], # (1)
- See OrderType
QuickResponseQueryFieldTypeDef#
# QuickResponseQueryFieldTypeDef definition
class QuickResponseQueryFieldTypeDef(TypedDict):
name: str,
operator: QuickResponseQueryOperatorType, # (1)
values: Sequence[str],
allowFuzziness: NotRequired[bool],
priority: NotRequired[PriorityType], # (2)
RemoveAssistantAIAgentRequestRequestTypeDef#
# RemoveAssistantAIAgentRequestRequestTypeDef definition
class RemoveAssistantAIAgentRequestRequestTypeDef(TypedDict):
aiAgentType: AIAgentTypeType, # (1)
assistantId: str,
- See AIAgentTypeType
RemoveKnowledgeBaseTemplateUriRequestRequestTypeDef#
# RemoveKnowledgeBaseTemplateUriRequestRequestTypeDef definition
class RemoveKnowledgeBaseTemplateUriRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
RuntimeSessionDataValueTypeDef#
# RuntimeSessionDataValueTypeDef definition
class RuntimeSessionDataValueTypeDef(TypedDict):
stringValue: NotRequired[str],
SessionSummaryTypeDef#
# SessionSummaryTypeDef definition
class SessionSummaryTypeDef(TypedDict):
assistantArn: str,
assistantId: str,
sessionArn: str,
sessionId: str,
SeedUrlTypeDef#
# SeedUrlTypeDef definition
class SeedUrlTypeDef(TypedDict):
url: NotRequired[str],
SessionIntegrationConfigurationTypeDef#
# SessionIntegrationConfigurationTypeDef definition
class SessionIntegrationConfigurationTypeDef(TypedDict):
topicIntegrationArn: NotRequired[str],
StartContentUploadRequestRequestTypeDef#
# StartContentUploadRequestRequestTypeDef definition
class StartContentUploadRequestRequestTypeDef(TypedDict):
contentType: str,
knowledgeBaseId: str,
presignedUrlTimeToLive: NotRequired[int],
SystemEndpointAttributesTypeDef#
# SystemEndpointAttributesTypeDef definition
class SystemEndpointAttributesTypeDef(TypedDict):
address: NotRequired[str],
TagResourceRequestRequestTypeDef#
# TagResourceRequestRequestTypeDef definition
class TagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tags: Mapping[str, str],
UntagResourceRequestRequestTypeDef#
# UntagResourceRequestRequestTypeDef definition
class UntagResourceRequestRequestTypeDef(TypedDict):
resourceArn: str,
tagKeys: Sequence[str],
UpdateContentRequestRequestTypeDef#
# UpdateContentRequestRequestTypeDef definition
class UpdateContentRequestRequestTypeDef(TypedDict):
contentId: str,
knowledgeBaseId: str,
metadata: NotRequired[Mapping[str, str]],
overrideLinkOutUri: NotRequired[str],
removeOverrideLinkOutUri: NotRequired[bool],
revisionId: NotRequired[str],
title: NotRequired[str],
uploadId: NotRequired[str],
UpdateKnowledgeBaseTemplateUriRequestRequestTypeDef#
# UpdateKnowledgeBaseTemplateUriRequestRequestTypeDef definition
class UpdateKnowledgeBaseTemplateUriRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
templateUri: str,
WebCrawlerLimitsTypeDef#
# WebCrawlerLimitsTypeDef definition
class WebCrawlerLimitsTypeDef(TypedDict):
rateLimit: NotRequired[int],
UpdateAssistantAIAgentRequestRequestTypeDef#
# UpdateAssistantAIAgentRequestRequestTypeDef definition
class UpdateAssistantAIAgentRequestRequestTypeDef(TypedDict):
aiAgentType: AIAgentTypeType, # (1)
assistantId: str,
configuration: AIAgentConfigurationDataTypeDef, # (2)
AIPromptVersionSummaryTypeDef#
# AIPromptVersionSummaryTypeDef definition
class AIPromptVersionSummaryTypeDef(TypedDict):
aiPromptSummary: NotRequired[AIPromptSummaryTypeDef], # (1)
versionNumber: NotRequired[int],
AIPromptTemplateConfigurationTypeDef#
# AIPromptTemplateConfigurationTypeDef definition
class AIPromptTemplateConfigurationTypeDef(TypedDict):
textFullAIPromptEditTemplateConfiguration: NotRequired[TextFullAIPromptEditTemplateConfigurationTypeDef], # (1)
ActivateMessageTemplateResponseTypeDef#
# ActivateMessageTemplateResponseTypeDef definition
class ActivateMessageTemplateResponseTypeDef(TypedDict):
messageTemplateArn: str,
messageTemplateId: str,
versionNumber: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
DeactivateMessageTemplateResponseTypeDef#
# DeactivateMessageTemplateResponseTypeDef definition
class DeactivateMessageTemplateResponseTypeDef(TypedDict):
messageTemplateArn: str,
messageTemplateId: str,
versionNumber: int,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ListAIPromptsResponseTypeDef#
# ListAIPromptsResponseTypeDef definition
class ListAIPromptsResponseTypeDef(TypedDict):
aiPromptSummaries: List[AIPromptSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListTagsForResourceResponseTypeDef#
# ListTagsForResourceResponseTypeDef definition
class ListTagsForResourceResponseTypeDef(TypedDict):
tags: Dict[str, str],
ResponseMetadata: ResponseMetadataTypeDef, # (1)
StartContentUploadResponseTypeDef#
# StartContentUploadResponseTypeDef definition
class StartContentUploadResponseTypeDef(TypedDict):
headersToInclude: Dict[str, str],
uploadId: str,
url: str,
urlExpiry: datetime,
ResponseMetadata: ResponseMetadataTypeDef, # (1)
ContentAssociationContentsTypeDef#
# ContentAssociationContentsTypeDef definition
class ContentAssociationContentsTypeDef(TypedDict):
amazonConnectGuideAssociation: NotRequired[AmazonConnectGuideAssociationDataTypeDef], # (1)
CreateAssistantAssociationRequestRequestTypeDef#
# CreateAssistantAssociationRequestRequestTypeDef definition
class CreateAssistantAssociationRequestRequestTypeDef(TypedDict):
assistantId: str,
association: AssistantAssociationInputDataTypeDef, # (1)
associationType: AssociationTypeType, # (2)
clientToken: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
AssistantAssociationOutputDataTypeDef#
# AssistantAssociationOutputDataTypeDef definition
class AssistantAssociationOutputDataTypeDef(TypedDict):
knowledgeBaseAssociation: NotRequired[KnowledgeBaseAssociationDataTypeDef], # (1)
AssistantDataTypeDef#
# AssistantDataTypeDef definition
class AssistantDataTypeDef(TypedDict):
assistantArn: str,
assistantId: str,
name: str,
status: AssistantStatusType, # (5)
type: AssistantTypeType, # (6)
aiAgentConfiguration: NotRequired[Dict[AIAgentTypeType, AIAgentConfigurationDataTypeDef]], # (1)
capabilityConfiguration: NotRequired[AssistantCapabilityConfigurationTypeDef], # (2)
description: NotRequired[str],
integrationConfiguration: NotRequired[AssistantIntegrationConfigurationTypeDef], # (3)
serverSideEncryptionConfiguration: NotRequired[ServerSideEncryptionConfigurationTypeDef], # (4)
tags: NotRequired[Dict[str, str]],
- See AIAgentTypeType AIAgentConfigurationDataTypeDef
- See AssistantCapabilityConfigurationTypeDef
- See AssistantIntegrationConfigurationTypeDef
- See ServerSideEncryptionConfigurationTypeDef
- See AssistantStatusType
- See AssistantTypeType
AssistantSummaryTypeDef#
# AssistantSummaryTypeDef definition
class AssistantSummaryTypeDef(TypedDict):
assistantArn: str,
assistantId: str,
name: str,
status: AssistantStatusType, # (5)
type: AssistantTypeType, # (6)
aiAgentConfiguration: NotRequired[Dict[AIAgentTypeType, AIAgentConfigurationDataTypeDef]], # (1)
capabilityConfiguration: NotRequired[AssistantCapabilityConfigurationTypeDef], # (2)
description: NotRequired[str],
integrationConfiguration: NotRequired[AssistantIntegrationConfigurationTypeDef], # (3)
serverSideEncryptionConfiguration: NotRequired[ServerSideEncryptionConfigurationTypeDef], # (4)
tags: NotRequired[Dict[str, str]],
- See AIAgentTypeType AIAgentConfigurationDataTypeDef
- See AssistantCapabilityConfigurationTypeDef
- See AssistantIntegrationConfigurationTypeDef
- See ServerSideEncryptionConfigurationTypeDef
- See AssistantStatusType
- See AssistantTypeType
CreateAssistantRequestRequestTypeDef#
# CreateAssistantRequestRequestTypeDef definition
class CreateAssistantRequestRequestTypeDef(TypedDict):
name: str,
type: AssistantTypeType, # (1)
clientToken: NotRequired[str],
description: NotRequired[str],
serverSideEncryptionConfiguration: NotRequired[ServerSideEncryptionConfigurationTypeDef], # (2)
tags: NotRequired[Mapping[str, str]],
BedrockFoundationModelConfigurationForParsingTypeDef#
# BedrockFoundationModelConfigurationForParsingTypeDef definition
class BedrockFoundationModelConfigurationForParsingTypeDef(TypedDict):
modelArn: str,
parsingPrompt: NotRequired[ParsingPromptTypeDef], # (1)
ConfigurationTypeDef#
# ConfigurationTypeDef definition
class ConfigurationTypeDef(TypedDict):
connectConfiguration: NotRequired[ConnectConfigurationTypeDef], # (1)
GenerativeDataDetailsPaginatorTypeDef#
# GenerativeDataDetailsPaginatorTypeDef definition
class GenerativeDataDetailsPaginatorTypeDef(TypedDict):
completion: str,
rankingData: RankingDataTypeDef, # (1)
references: List[Dict[str, Any]],
GenerativeDataDetailsTypeDef#
# GenerativeDataDetailsTypeDef definition
class GenerativeDataDetailsTypeDef(TypedDict):
completion: str,
rankingData: RankingDataTypeDef, # (1)
references: List[Dict[str, Any]],
CreateContentResponseTypeDef#
# CreateContentResponseTypeDef definition
class CreateContentResponseTypeDef(TypedDict):
content: ContentDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetContentResponseTypeDef#
# GetContentResponseTypeDef definition
class GetContentResponseTypeDef(TypedDict):
content: ContentDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateContentResponseTypeDef#
# UpdateContentResponseTypeDef definition
class UpdateContentResponseTypeDef(TypedDict):
content: ContentDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ContentFeedbackDataTypeDef#
# ContentFeedbackDataTypeDef definition
class ContentFeedbackDataTypeDef(TypedDict):
generativeContentFeedbackData: NotRequired[GenerativeContentFeedbackDataTypeDef], # (1)
GetContentSummaryResponseTypeDef#
# GetContentSummaryResponseTypeDef definition
class GetContentSummaryResponseTypeDef(TypedDict):
contentSummary: ContentSummaryTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListContentsResponseTypeDef#
# ListContentsResponseTypeDef definition
class ListContentsResponseTypeDef(TypedDict):
contentSummaries: List[ContentSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
SearchContentResponseTypeDef#
# SearchContentResponseTypeDef definition
class SearchContentResponseTypeDef(TypedDict):
contentSummaries: List[ContentSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
CreateAIAgentVersionRequestRequestTypeDef#
# CreateAIAgentVersionRequestRequestTypeDef definition
class CreateAIAgentVersionRequestRequestTypeDef(TypedDict):
aiAgentId: str,
assistantId: str,
clientToken: NotRequired[str],
modifiedTime: NotRequired[TimestampTypeDef],
CreateAIPromptVersionRequestRequestTypeDef#
# CreateAIPromptVersionRequestRequestTypeDef definition
class CreateAIPromptVersionRequestRequestTypeDef(TypedDict):
aiPromptId: str,
assistantId: str,
clientToken: NotRequired[str],
modifiedTime: NotRequired[TimestampTypeDef],
CreateMessageTemplateAttachmentResponseTypeDef#
# CreateMessageTemplateAttachmentResponseTypeDef definition
class CreateMessageTemplateAttachmentResponseTypeDef(TypedDict):
attachment: MessageTemplateAttachmentTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateMessageTemplateMetadataRequestRequestTypeDef#
# UpdateMessageTemplateMetadataRequestRequestTypeDef definition
class UpdateMessageTemplateMetadataRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationTypeDef], # (1)
name: NotRequired[str],
CreateQuickResponseRequestRequestTypeDef#
# CreateQuickResponseRequestRequestTypeDef definition
class CreateQuickResponseRequestRequestTypeDef(TypedDict):
content: QuickResponseDataProviderTypeDef, # (1)
knowledgeBaseId: str,
name: str,
channels: NotRequired[Sequence[str]],
clientToken: NotRequired[str],
contentType: NotRequired[str],
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationTypeDef], # (2)
isActive: NotRequired[bool],
language: NotRequired[str],
shortcutKey: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
UpdateQuickResponseRequestRequestTypeDef#
# UpdateQuickResponseRequestRequestTypeDef definition
class UpdateQuickResponseRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
quickResponseId: str,
channels: NotRequired[Sequence[str]],
content: NotRequired[QuickResponseDataProviderTypeDef], # (1)
contentType: NotRequired[str],
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationTypeDef], # (2)
isActive: NotRequired[bool],
language: NotRequired[str],
name: NotRequired[str],
removeDescription: NotRequired[bool],
removeGroupingConfiguration: NotRequired[bool],
removeShortcutKey: NotRequired[bool],
shortcutKey: NotRequired[str],
DataReferenceTypeDef#
# DataReferenceTypeDef definition
class DataReferenceTypeDef(TypedDict):
contentReference: NotRequired[ContentReferenceTypeDef], # (1)
generativeReference: NotRequired[GenerativeReferenceTypeDef], # (2)
DocumentTextTypeDef#
# DocumentTextTypeDef definition
class DocumentTextTypeDef(TypedDict):
highlights: NotRequired[List[HighlightTypeDef]], # (1)
text: NotRequired[str],
- See HighlightTypeDef
EmailMessageTemplateContentBodyTypeDef#
# EmailMessageTemplateContentBodyTypeDef definition
class EmailMessageTemplateContentBodyTypeDef(TypedDict):
html: NotRequired[MessageTemplateBodyContentProviderTypeDef], # (1)
plainText: NotRequired[MessageTemplateBodyContentProviderTypeDef], # (1)
SMSMessageTemplateContentBodyTypeDef#
# SMSMessageTemplateContentBodyTypeDef definition
class SMSMessageTemplateContentBodyTypeDef(TypedDict):
plainText: NotRequired[MessageTemplateBodyContentProviderTypeDef], # (1)
MessageTemplateSearchResultDataTypeDef#
# MessageTemplateSearchResultDataTypeDef definition
class MessageTemplateSearchResultDataTypeDef(TypedDict):
channelSubtype: ChannelSubtypeType, # (1)
createdTime: datetime,
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedBy: str,
lastModifiedTime: datetime,
messageTemplateArn: str,
messageTemplateId: str,
name: str,
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationOutputTypeDef], # (2)
isActive: NotRequired[bool],
language: NotRequired[str],
tags: NotRequired[Dict[str, str]],
versionNumber: NotRequired[int],
SearchExpressionTypeDef#
# SearchExpressionTypeDef definition
class SearchExpressionTypeDef(TypedDict):
filters: Sequence[FilterTypeDef], # (1)
- See FilterTypeDef
HierarchicalChunkingConfigurationOutputTypeDef#
# HierarchicalChunkingConfigurationOutputTypeDef definition
class HierarchicalChunkingConfigurationOutputTypeDef(TypedDict):
levelConfigurations: List[HierarchicalChunkingLevelConfigurationTypeDef], # (1)
overlapTokens: int,
HierarchicalChunkingConfigurationTypeDef#
# HierarchicalChunkingConfigurationTypeDef definition
class HierarchicalChunkingConfigurationTypeDef(TypedDict):
levelConfigurations: Sequence[HierarchicalChunkingLevelConfigurationTypeDef], # (1)
overlapTokens: int,
ListAIAgentVersionsRequestListAIAgentVersionsPaginateTypeDef#
# ListAIAgentVersionsRequestListAIAgentVersionsPaginateTypeDef definition
class ListAIAgentVersionsRequestListAIAgentVersionsPaginateTypeDef(TypedDict):
aiAgentId: str,
assistantId: str,
origin: NotRequired[OriginType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See OriginType
- See PaginatorConfigTypeDef
ListAIAgentsRequestListAIAgentsPaginateTypeDef#
# ListAIAgentsRequestListAIAgentsPaginateTypeDef definition
class ListAIAgentsRequestListAIAgentsPaginateTypeDef(TypedDict):
assistantId: str,
origin: NotRequired[OriginType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See OriginType
- See PaginatorConfigTypeDef
ListAIPromptVersionsRequestListAIPromptVersionsPaginateTypeDef#
# ListAIPromptVersionsRequestListAIPromptVersionsPaginateTypeDef definition
class ListAIPromptVersionsRequestListAIPromptVersionsPaginateTypeDef(TypedDict):
aiPromptId: str,
assistantId: str,
origin: NotRequired[OriginType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See OriginType
- See PaginatorConfigTypeDef
ListAIPromptsRequestListAIPromptsPaginateTypeDef#
# ListAIPromptsRequestListAIPromptsPaginateTypeDef definition
class ListAIPromptsRequestListAIPromptsPaginateTypeDef(TypedDict):
assistantId: str,
origin: NotRequired[OriginType], # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
- See OriginType
- See PaginatorConfigTypeDef
ListAssistantAssociationsRequestListAssistantAssociationsPaginateTypeDef#
# ListAssistantAssociationsRequestListAssistantAssociationsPaginateTypeDef definition
class ListAssistantAssociationsRequestListAssistantAssociationsPaginateTypeDef(TypedDict):
assistantId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListAssistantsRequestListAssistantsPaginateTypeDef#
# ListAssistantsRequestListAssistantsPaginateTypeDef definition
class ListAssistantsRequestListAssistantsPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListContentAssociationsRequestListContentAssociationsPaginateTypeDef#
# ListContentAssociationsRequestListContentAssociationsPaginateTypeDef definition
class ListContentAssociationsRequestListContentAssociationsPaginateTypeDef(TypedDict):
contentId: str,
knowledgeBaseId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListContentsRequestListContentsPaginateTypeDef#
# ListContentsRequestListContentsPaginateTypeDef definition
class ListContentsRequestListContentsPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListImportJobsRequestListImportJobsPaginateTypeDef#
# ListImportJobsRequestListImportJobsPaginateTypeDef definition
class ListImportJobsRequestListImportJobsPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListKnowledgeBasesRequestListKnowledgeBasesPaginateTypeDef#
# ListKnowledgeBasesRequestListKnowledgeBasesPaginateTypeDef definition
class ListKnowledgeBasesRequestListKnowledgeBasesPaginateTypeDef(TypedDict):
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMessageTemplateVersionsRequestListMessageTemplateVersionsPaginateTypeDef#
# ListMessageTemplateVersionsRequestListMessageTemplateVersionsPaginateTypeDef definition
class ListMessageTemplateVersionsRequestListMessageTemplateVersionsPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMessageTemplatesRequestListMessageTemplatesPaginateTypeDef#
# ListMessageTemplatesRequestListMessageTemplatesPaginateTypeDef definition
class ListMessageTemplatesRequestListMessageTemplatesPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListQuickResponsesRequestListQuickResponsesPaginateTypeDef#
# ListQuickResponsesRequestListQuickResponsesPaginateTypeDef definition
class ListQuickResponsesRequestListQuickResponsesPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (1)
ListMessageTemplateVersionsResponseTypeDef#
# ListMessageTemplateVersionsResponseTypeDef definition
class ListMessageTemplateVersionsResponseTypeDef(TypedDict):
messageTemplateVersionSummaries: List[MessageTemplateVersionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListMessageTemplatesResponseTypeDef#
# ListMessageTemplatesResponseTypeDef definition
class ListMessageTemplatesResponseTypeDef(TypedDict):
messageTemplateSummaries: List[MessageTemplateSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ListQuickResponsesResponseTypeDef#
# ListQuickResponsesResponseTypeDef definition
class ListQuickResponsesResponseTypeDef(TypedDict):
quickResponseSummaries: List[QuickResponseSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
MessageTemplateSearchExpressionTypeDef#
# MessageTemplateSearchExpressionTypeDef definition
class MessageTemplateSearchExpressionTypeDef(TypedDict):
filters: NotRequired[Sequence[MessageTemplateFilterFieldTypeDef]], # (1)
orderOnField: NotRequired[MessageTemplateOrderFieldTypeDef], # (2)
queries: NotRequired[Sequence[MessageTemplateQueryFieldTypeDef]], # (3)
- See MessageTemplateFilterFieldTypeDef
- See MessageTemplateOrderFieldTypeDef
- See MessageTemplateQueryFieldTypeDef
NotifyRecommendationsReceivedResponseTypeDef#
# NotifyRecommendationsReceivedResponseTypeDef definition
class NotifyRecommendationsReceivedResponseTypeDef(TypedDict):
errors: List[NotifyRecommendationsReceivedErrorTypeDef], # (1)
recommendationIds: List[str],
ResponseMetadata: ResponseMetadataTypeDef, # (2)
OrConditionOutputTypeDef#
# OrConditionOutputTypeDef definition
class OrConditionOutputTypeDef(TypedDict):
andConditions: NotRequired[List[TagConditionTypeDef]], # (1)
tagCondition: NotRequired[TagConditionTypeDef], # (2)
OrConditionTypeDef#
# OrConditionTypeDef definition
class OrConditionTypeDef(TypedDict):
andConditions: NotRequired[Sequence[TagConditionTypeDef]], # (1)
tagCondition: NotRequired[TagConditionTypeDef], # (2)
QueryConditionTypeDef#
# QueryConditionTypeDef definition
class QueryConditionTypeDef(TypedDict):
single: NotRequired[QueryConditionItemTypeDef], # (1)
QueryInputDataTypeDef#
# QueryInputDataTypeDef definition
class QueryInputDataTypeDef(TypedDict):
intentInputData: NotRequired[IntentInputDataTypeDef], # (1)
queryTextInputData: NotRequired[QueryTextInputDataTypeDef], # (2)
RecommendationTriggerDataTypeDef#
# RecommendationTriggerDataTypeDef definition
class RecommendationTriggerDataTypeDef(TypedDict):
query: NotRequired[QueryRecommendationTriggerDataTypeDef], # (1)
QuickResponseContentsTypeDef#
# QuickResponseContentsTypeDef definition
class QuickResponseContentsTypeDef(TypedDict):
markdown: NotRequired[QuickResponseContentProviderTypeDef], # (1)
plainText: NotRequired[QuickResponseContentProviderTypeDef], # (1)
QuickResponseSearchExpressionTypeDef#
# QuickResponseSearchExpressionTypeDef definition
class QuickResponseSearchExpressionTypeDef(TypedDict):
filters: NotRequired[Sequence[QuickResponseFilterFieldTypeDef]], # (1)
orderOnField: NotRequired[QuickResponseOrderFieldTypeDef], # (2)
queries: NotRequired[Sequence[QuickResponseQueryFieldTypeDef]], # (3)
- See QuickResponseFilterFieldTypeDef
- See QuickResponseOrderFieldTypeDef
- See QuickResponseQueryFieldTypeDef
RuntimeSessionDataTypeDef#
# RuntimeSessionDataTypeDef definition
class RuntimeSessionDataTypeDef(TypedDict):
key: str,
value: RuntimeSessionDataValueTypeDef, # (1)
SearchSessionsResponseTypeDef#
# SearchSessionsResponseTypeDef definition
class SearchSessionsResponseTypeDef(TypedDict):
sessionSummaries: List[SessionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
UrlConfigurationOutputTypeDef#
# UrlConfigurationOutputTypeDef definition
class UrlConfigurationOutputTypeDef(TypedDict):
seedUrls: NotRequired[List[SeedUrlTypeDef]], # (1)
- See SeedUrlTypeDef
UrlConfigurationTypeDef#
# UrlConfigurationTypeDef definition
class UrlConfigurationTypeDef(TypedDict):
seedUrls: NotRequired[Sequence[SeedUrlTypeDef]], # (1)
- See SeedUrlTypeDef
SystemAttributesTypeDef#
# SystemAttributesTypeDef definition
class SystemAttributesTypeDef(TypedDict):
customerEndpoint: NotRequired[SystemEndpointAttributesTypeDef], # (1)
name: NotRequired[str],
systemEndpoint: NotRequired[SystemEndpointAttributesTypeDef], # (1)
ListAIPromptVersionsResponseTypeDef#
# ListAIPromptVersionsResponseTypeDef definition
class ListAIPromptVersionsResponseTypeDef(TypedDict):
aiPromptVersionSummaries: List[AIPromptVersionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
AIPromptDataTypeDef#
# AIPromptDataTypeDef definition
class AIPromptDataTypeDef(TypedDict):
aiPromptArn: str,
aiPromptId: str,
apiFormat: AIPromptAPIFormatType, # (1)
assistantArn: str,
assistantId: str,
modelId: str,
name: str,
templateConfiguration: AIPromptTemplateConfigurationTypeDef, # (4)
templateType: AIPromptTemplateTypeType, # (5)
type: AIPromptTypeType, # (6)
visibilityStatus: VisibilityStatusType, # (7)
description: NotRequired[str],
modifiedTime: NotRequired[datetime],
origin: NotRequired[OriginType], # (2)
status: NotRequired[StatusType], # (3)
tags: NotRequired[Dict[str, str]],
- See AIPromptAPIFormatType
- See OriginType
- See StatusType
- See AIPromptTemplateConfigurationTypeDef
- See AIPromptTemplateTypeType
- See AIPromptTypeType
- See VisibilityStatusType
CreateAIPromptRequestRequestTypeDef#
# CreateAIPromptRequestRequestTypeDef definition
class CreateAIPromptRequestRequestTypeDef(TypedDict):
apiFormat: AIPromptAPIFormatType, # (1)
assistantId: str,
modelId: str,
name: str,
templateConfiguration: AIPromptTemplateConfigurationTypeDef, # (2)
templateType: AIPromptTemplateTypeType, # (3)
type: AIPromptTypeType, # (4)
visibilityStatus: VisibilityStatusType, # (5)
clientToken: NotRequired[str],
description: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
- See AIPromptAPIFormatType
- See AIPromptTemplateConfigurationTypeDef
- See AIPromptTemplateTypeType
- See AIPromptTypeType
- See VisibilityStatusType
UpdateAIPromptRequestRequestTypeDef#
# UpdateAIPromptRequestRequestTypeDef definition
class UpdateAIPromptRequestRequestTypeDef(TypedDict):
aiPromptId: str,
assistantId: str,
visibilityStatus: VisibilityStatusType, # (1)
clientToken: NotRequired[str],
description: NotRequired[str],
templateConfiguration: NotRequired[AIPromptTemplateConfigurationTypeDef], # (2)
ContentAssociationDataTypeDef#
# ContentAssociationDataTypeDef definition
class ContentAssociationDataTypeDef(TypedDict):
associationData: ContentAssociationContentsTypeDef, # (1)
associationType: ContentAssociationTypeType, # (2)
contentArn: str,
contentAssociationArn: str,
contentAssociationId: str,
contentId: str,
knowledgeBaseArn: str,
knowledgeBaseId: str,
tags: NotRequired[Dict[str, str]],
ContentAssociationSummaryTypeDef#
# ContentAssociationSummaryTypeDef definition
class ContentAssociationSummaryTypeDef(TypedDict):
associationData: ContentAssociationContentsTypeDef, # (1)
associationType: ContentAssociationTypeType, # (2)
contentArn: str,
contentAssociationArn: str,
contentAssociationId: str,
contentId: str,
knowledgeBaseArn: str,
knowledgeBaseId: str,
tags: NotRequired[Dict[str, str]],
CreateContentAssociationRequestRequestTypeDef#
# CreateContentAssociationRequestRequestTypeDef definition
class CreateContentAssociationRequestRequestTypeDef(TypedDict):
association: ContentAssociationContentsTypeDef, # (1)
associationType: ContentAssociationTypeType, # (2)
contentId: str,
knowledgeBaseId: str,
clientToken: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
AssistantAssociationDataTypeDef#
# AssistantAssociationDataTypeDef definition
class AssistantAssociationDataTypeDef(TypedDict):
assistantArn: str,
assistantAssociationArn: str,
assistantAssociationId: str,
assistantId: str,
associationData: AssistantAssociationOutputDataTypeDef, # (1)
associationType: AssociationTypeType, # (2)
tags: NotRequired[Dict[str, str]],
AssistantAssociationSummaryTypeDef#
# AssistantAssociationSummaryTypeDef definition
class AssistantAssociationSummaryTypeDef(TypedDict):
assistantArn: str,
assistantAssociationArn: str,
assistantAssociationId: str,
assistantId: str,
associationData: AssistantAssociationOutputDataTypeDef, # (1)
associationType: AssociationTypeType, # (2)
tags: NotRequired[Dict[str, str]],
CreateAssistantResponseTypeDef#
# CreateAssistantResponseTypeDef definition
class CreateAssistantResponseTypeDef(TypedDict):
assistant: AssistantDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAssistantResponseTypeDef#
# GetAssistantResponseTypeDef definition
class GetAssistantResponseTypeDef(TypedDict):
assistant: AssistantDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateAssistantAIAgentResponseTypeDef#
# UpdateAssistantAIAgentResponseTypeDef definition
class UpdateAssistantAIAgentResponseTypeDef(TypedDict):
assistant: AssistantDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAssistantsResponseTypeDef#
# ListAssistantsResponseTypeDef definition
class ListAssistantsResponseTypeDef(TypedDict):
assistantSummaries: List[AssistantSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ParsingConfigurationTypeDef#
# ParsingConfigurationTypeDef definition
class ParsingConfigurationTypeDef(TypedDict):
parsingStrategy: ParsingStrategyType, # (2)
bedrockFoundationModelConfiguration: NotRequired[BedrockFoundationModelConfigurationForParsingTypeDef], # (1)
ExternalSourceConfigurationTypeDef#
# ExternalSourceConfigurationTypeDef definition
class ExternalSourceConfigurationTypeDef(TypedDict):
configuration: ConfigurationTypeDef, # (1)
source: ExternalSourceType, # (2)
PutFeedbackRequestRequestTypeDef#
# PutFeedbackRequestRequestTypeDef definition
class PutFeedbackRequestRequestTypeDef(TypedDict):
assistantId: str,
contentFeedback: ContentFeedbackDataTypeDef, # (1)
targetId: str,
targetType: TargetTypeType, # (2)
PutFeedbackResponseTypeDef#
# PutFeedbackResponseTypeDef definition
class PutFeedbackResponseTypeDef(TypedDict):
assistantArn: str,
assistantId: str,
contentFeedback: ContentFeedbackDataTypeDef, # (1)
targetId: str,
targetType: TargetTypeType, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
DocumentTypeDef#
# DocumentTypeDef definition
class DocumentTypeDef(TypedDict):
contentReference: ContentReferenceTypeDef, # (1)
excerpt: NotRequired[DocumentTextTypeDef], # (2)
title: NotRequired[DocumentTextTypeDef], # (2)
TextDataTypeDef#
# TextDataTypeDef definition
class TextDataTypeDef(TypedDict):
excerpt: NotRequired[DocumentTextTypeDef], # (1)
title: NotRequired[DocumentTextTypeDef], # (1)
EmailMessageTemplateContentOutputTypeDef#
# EmailMessageTemplateContentOutputTypeDef definition
class EmailMessageTemplateContentOutputTypeDef(TypedDict):
body: NotRequired[EmailMessageTemplateContentBodyTypeDef], # (1)
headers: NotRequired[List[EmailHeaderTypeDef]], # (2)
subject: NotRequired[str],
EmailMessageTemplateContentTypeDef#
# EmailMessageTemplateContentTypeDef definition
class EmailMessageTemplateContentTypeDef(TypedDict):
body: NotRequired[EmailMessageTemplateContentBodyTypeDef], # (1)
headers: NotRequired[Sequence[EmailHeaderTypeDef]], # (2)
subject: NotRequired[str],
SMSMessageTemplateContentTypeDef#
# SMSMessageTemplateContentTypeDef definition
class SMSMessageTemplateContentTypeDef(TypedDict):
body: NotRequired[SMSMessageTemplateContentBodyTypeDef], # (1)
SearchMessageTemplatesResponseTypeDef#
# SearchMessageTemplatesResponseTypeDef definition
class SearchMessageTemplatesResponseTypeDef(TypedDict):
results: List[MessageTemplateSearchResultDataTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
SearchContentRequestRequestTypeDef#
# SearchContentRequestRequestTypeDef definition
class SearchContentRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
searchExpression: SearchExpressionTypeDef, # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
SearchContentRequestSearchContentPaginateTypeDef#
# SearchContentRequestSearchContentPaginateTypeDef definition
class SearchContentRequestSearchContentPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
searchExpression: SearchExpressionTypeDef, # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
SearchSessionsRequestRequestTypeDef#
# SearchSessionsRequestRequestTypeDef definition
class SearchSessionsRequestRequestTypeDef(TypedDict):
assistantId: str,
searchExpression: SearchExpressionTypeDef, # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
SearchSessionsRequestSearchSessionsPaginateTypeDef#
# SearchSessionsRequestSearchSessionsPaginateTypeDef definition
class SearchSessionsRequestSearchSessionsPaginateTypeDef(TypedDict):
assistantId: str,
searchExpression: SearchExpressionTypeDef, # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
ChunkingConfigurationOutputTypeDef#
# ChunkingConfigurationOutputTypeDef definition
class ChunkingConfigurationOutputTypeDef(TypedDict):
chunkingStrategy: ChunkingStrategyType, # (1)
fixedSizeChunkingConfiguration: NotRequired[FixedSizeChunkingConfigurationTypeDef], # (2)
hierarchicalChunkingConfiguration: NotRequired[HierarchicalChunkingConfigurationOutputTypeDef], # (3)
semanticChunkingConfiguration: NotRequired[SemanticChunkingConfigurationTypeDef], # (4)
- See ChunkingStrategyType
- See FixedSizeChunkingConfigurationTypeDef
- See HierarchicalChunkingConfigurationOutputTypeDef
- See SemanticChunkingConfigurationTypeDef
SearchMessageTemplatesRequestRequestTypeDef#
# SearchMessageTemplatesRequestRequestTypeDef definition
class SearchMessageTemplatesRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
searchExpression: MessageTemplateSearchExpressionTypeDef, # (1)
maxResults: NotRequired[int],
nextToken: NotRequired[str],
SearchMessageTemplatesRequestSearchMessageTemplatesPaginateTypeDef#
# SearchMessageTemplatesRequestSearchMessageTemplatesPaginateTypeDef definition
class SearchMessageTemplatesRequestSearchMessageTemplatesPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
searchExpression: MessageTemplateSearchExpressionTypeDef, # (1)
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
TagFilterOutputTypeDef#
# TagFilterOutputTypeDef definition
class TagFilterOutputTypeDef(TypedDict):
andConditions: NotRequired[List[TagConditionTypeDef]], # (1)
orConditions: NotRequired[List[OrConditionOutputTypeDef]], # (2)
tagCondition: NotRequired[TagConditionTypeDef], # (3)
QueryAssistantRequestQueryAssistantPaginateTypeDef#
# QueryAssistantRequestQueryAssistantPaginateTypeDef definition
class QueryAssistantRequestQueryAssistantPaginateTypeDef(TypedDict):
assistantId: str,
overrideKnowledgeBaseSearchType: NotRequired[KnowledgeBaseSearchTypeType], # (1)
queryCondition: NotRequired[Sequence[QueryConditionTypeDef]], # (2)
queryInputData: NotRequired[QueryInputDataTypeDef], # (3)
queryText: NotRequired[str],
sessionId: NotRequired[str],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (4)
- See KnowledgeBaseSearchTypeType
- See QueryConditionTypeDef
- See QueryInputDataTypeDef
- See PaginatorConfigTypeDef
QueryAssistantRequestRequestTypeDef#
# QueryAssistantRequestRequestTypeDef definition
class QueryAssistantRequestRequestTypeDef(TypedDict):
assistantId: str,
maxResults: NotRequired[int],
nextToken: NotRequired[str],
overrideKnowledgeBaseSearchType: NotRequired[KnowledgeBaseSearchTypeType], # (1)
queryCondition: NotRequired[Sequence[QueryConditionTypeDef]], # (2)
queryInputData: NotRequired[QueryInputDataTypeDef], # (3)
queryText: NotRequired[str],
sessionId: NotRequired[str],
RecommendationTriggerTypeDef#
# RecommendationTriggerTypeDef definition
class RecommendationTriggerTypeDef(TypedDict):
data: RecommendationTriggerDataTypeDef, # (1)
id: str,
recommendationIds: List[str],
source: RecommendationSourceTypeType, # (2)
type: RecommendationTriggerTypeType, # (3)
- See RecommendationTriggerDataTypeDef
- See RecommendationSourceTypeType
- See RecommendationTriggerTypeType
QuickResponseDataTypeDef#
# QuickResponseDataTypeDef definition
class QuickResponseDataTypeDef(TypedDict):
contentType: str,
createdTime: datetime,
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedTime: datetime,
name: str,
quickResponseArn: str,
quickResponseId: str,
status: QuickResponseStatusType, # (3)
channels: NotRequired[List[str]],
contents: NotRequired[QuickResponseContentsTypeDef], # (1)
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationOutputTypeDef], # (2)
isActive: NotRequired[bool],
language: NotRequired[str],
lastModifiedBy: NotRequired[str],
shortcutKey: NotRequired[str],
tags: NotRequired[Dict[str, str]],
QuickResponseSearchResultDataTypeDef#
# QuickResponseSearchResultDataTypeDef definition
class QuickResponseSearchResultDataTypeDef(TypedDict):
contentType: str,
contents: QuickResponseContentsTypeDef, # (1)
createdTime: datetime,
isActive: bool,
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedTime: datetime,
name: str,
quickResponseArn: str,
quickResponseId: str,
status: QuickResponseStatusType, # (3)
attributesInterpolated: NotRequired[List[str]],
attributesNotInterpolated: NotRequired[List[str]],
channels: NotRequired[List[str]],
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationOutputTypeDef], # (2)
language: NotRequired[str],
lastModifiedBy: NotRequired[str],
shortcutKey: NotRequired[str],
tags: NotRequired[Dict[str, str]],
SearchQuickResponsesRequestRequestTypeDef#
# SearchQuickResponsesRequestRequestTypeDef definition
class SearchQuickResponsesRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
searchExpression: QuickResponseSearchExpressionTypeDef, # (1)
attributes: NotRequired[Mapping[str, str]],
maxResults: NotRequired[int],
nextToken: NotRequired[str],
SearchQuickResponsesRequestSearchQuickResponsesPaginateTypeDef#
# SearchQuickResponsesRequestSearchQuickResponsesPaginateTypeDef definition
class SearchQuickResponsesRequestSearchQuickResponsesPaginateTypeDef(TypedDict):
knowledgeBaseId: str,
searchExpression: QuickResponseSearchExpressionTypeDef, # (1)
attributes: NotRequired[Mapping[str, str]],
PaginationConfig: NotRequired[PaginatorConfigTypeDef], # (2)
UpdateSessionDataRequestRequestTypeDef#
# UpdateSessionDataRequestRequestTypeDef definition
class UpdateSessionDataRequestRequestTypeDef(TypedDict):
assistantId: str,
data: Sequence[RuntimeSessionDataTypeDef], # (1)
sessionId: str,
namespace: NotRequired[SessionDataNamespaceType], # (2)
UpdateSessionDataResponseTypeDef#
# UpdateSessionDataResponseTypeDef definition
class UpdateSessionDataResponseTypeDef(TypedDict):
data: List[RuntimeSessionDataTypeDef], # (1)
namespace: SessionDataNamespaceType, # (2)
sessionArn: str,
sessionId: str,
ResponseMetadata: ResponseMetadataTypeDef, # (3)
WebCrawlerConfigurationOutputTypeDef#
# WebCrawlerConfigurationOutputTypeDef definition
class WebCrawlerConfigurationOutputTypeDef(TypedDict):
urlConfiguration: UrlConfigurationOutputTypeDef, # (3)
crawlerLimits: NotRequired[WebCrawlerLimitsTypeDef], # (1)
exclusionFilters: NotRequired[List[str]],
inclusionFilters: NotRequired[List[str]],
scope: NotRequired[WebScopeTypeType], # (2)
MessageTemplateAttributesOutputTypeDef#
# MessageTemplateAttributesOutputTypeDef definition
class MessageTemplateAttributesOutputTypeDef(TypedDict):
agentAttributes: NotRequired[AgentAttributesTypeDef], # (1)
customAttributes: NotRequired[Dict[str, str]],
customerProfileAttributes: NotRequired[CustomerProfileAttributesOutputTypeDef], # (2)
systemAttributes: NotRequired[SystemAttributesTypeDef], # (3)
MessageTemplateAttributesTypeDef#
# MessageTemplateAttributesTypeDef definition
class MessageTemplateAttributesTypeDef(TypedDict):
agentAttributes: NotRequired[AgentAttributesTypeDef], # (1)
customAttributes: NotRequired[Mapping[str, str]],
customerProfileAttributes: NotRequired[CustomerProfileAttributesUnionTypeDef], # (2)
systemAttributes: NotRequired[SystemAttributesTypeDef], # (3)
- See AgentAttributesTypeDef
- See CustomerProfileAttributesTypeDef CustomerProfileAttributesOutputTypeDef
- See SystemAttributesTypeDef
CreateAIPromptResponseTypeDef#
# CreateAIPromptResponseTypeDef definition
class CreateAIPromptResponseTypeDef(TypedDict):
aiPrompt: AIPromptDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateAIPromptVersionResponseTypeDef#
# CreateAIPromptVersionResponseTypeDef definition
class CreateAIPromptVersionResponseTypeDef(TypedDict):
aiPrompt: AIPromptDataTypeDef, # (1)
versionNumber: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAIPromptResponseTypeDef#
# GetAIPromptResponseTypeDef definition
class GetAIPromptResponseTypeDef(TypedDict):
aiPrompt: AIPromptDataTypeDef, # (1)
versionNumber: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateAIPromptResponseTypeDef#
# UpdateAIPromptResponseTypeDef definition
class UpdateAIPromptResponseTypeDef(TypedDict):
aiPrompt: AIPromptDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateContentAssociationResponseTypeDef#
# CreateContentAssociationResponseTypeDef definition
class CreateContentAssociationResponseTypeDef(TypedDict):
contentAssociation: ContentAssociationDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetContentAssociationResponseTypeDef#
# GetContentAssociationResponseTypeDef definition
class GetContentAssociationResponseTypeDef(TypedDict):
contentAssociation: ContentAssociationDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListContentAssociationsResponseTypeDef#
# ListContentAssociationsResponseTypeDef definition
class ListContentAssociationsResponseTypeDef(TypedDict):
contentAssociationSummaries: List[ContentAssociationSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
CreateAssistantAssociationResponseTypeDef#
# CreateAssistantAssociationResponseTypeDef definition
class CreateAssistantAssociationResponseTypeDef(TypedDict):
assistantAssociation: AssistantAssociationDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAssistantAssociationResponseTypeDef#
# GetAssistantAssociationResponseTypeDef definition
class GetAssistantAssociationResponseTypeDef(TypedDict):
assistantAssociation: AssistantAssociationDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListAssistantAssociationsResponseTypeDef#
# ListAssistantAssociationsResponseTypeDef definition
class ListAssistantAssociationsResponseTypeDef(TypedDict):
assistantAssociationSummaries: List[AssistantAssociationSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ImportJobDataTypeDef#
# ImportJobDataTypeDef definition
class ImportJobDataTypeDef(TypedDict):
createdTime: datetime,
importJobId: str,
importJobType: ImportJobTypeType, # (2)
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedTime: datetime,
status: ImportJobStatusType, # (3)
uploadId: str,
url: str,
urlExpiry: datetime,
externalSourceConfiguration: NotRequired[ExternalSourceConfigurationTypeDef], # (1)
failedRecordReport: NotRequired[str],
metadata: NotRequired[Dict[str, str]],
ImportJobSummaryTypeDef#
# ImportJobSummaryTypeDef definition
class ImportJobSummaryTypeDef(TypedDict):
createdTime: datetime,
importJobId: str,
importJobType: ImportJobTypeType, # (2)
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedTime: datetime,
status: ImportJobStatusType, # (3)
uploadId: str,
externalSourceConfiguration: NotRequired[ExternalSourceConfigurationTypeDef], # (1)
metadata: NotRequired[Dict[str, str]],
StartImportJobRequestRequestTypeDef#
# StartImportJobRequestRequestTypeDef definition
class StartImportJobRequestRequestTypeDef(TypedDict):
importJobType: ImportJobTypeType, # (1)
knowledgeBaseId: str,
uploadId: str,
clientToken: NotRequired[str],
externalSourceConfiguration: NotRequired[ExternalSourceConfigurationTypeDef], # (2)
metadata: NotRequired[Mapping[str, str]],
ContentDataDetailsTypeDef#
# ContentDataDetailsTypeDef definition
class ContentDataDetailsTypeDef(TypedDict):
rankingData: RankingDataTypeDef, # (1)
textData: TextDataTypeDef, # (2)
- See RankingDataTypeDef
- See TextDataTypeDef
SourceContentDataDetailsTypeDef#
# SourceContentDataDetailsTypeDef definition
class SourceContentDataDetailsTypeDef(TypedDict):
id: str,
rankingData: RankingDataTypeDef, # (2)
textData: TextDataTypeDef, # (3)
type: SourceContentTypeType, # (4)
citationSpan: NotRequired[CitationSpanTypeDef], # (1)
- See CitationSpanTypeDef
- See RankingDataTypeDef
- See TextDataTypeDef
- See SourceContentTypeType
MessageTemplateContentProviderOutputTypeDef#
# MessageTemplateContentProviderOutputTypeDef definition
class MessageTemplateContentProviderOutputTypeDef(TypedDict):
email: NotRequired[EmailMessageTemplateContentOutputTypeDef], # (1)
sms: NotRequired[SMSMessageTemplateContentTypeDef], # (2)
VectorIngestionConfigurationOutputTypeDef#
# VectorIngestionConfigurationOutputTypeDef definition
class VectorIngestionConfigurationOutputTypeDef(TypedDict):
chunkingConfiguration: NotRequired[ChunkingConfigurationOutputTypeDef], # (1)
parsingConfiguration: NotRequired[ParsingConfigurationTypeDef], # (2)
ChunkingConfigurationTypeDef#
# ChunkingConfigurationTypeDef definition
class ChunkingConfigurationTypeDef(TypedDict):
chunkingStrategy: ChunkingStrategyType, # (1)
fixedSizeChunkingConfiguration: NotRequired[FixedSizeChunkingConfigurationTypeDef], # (2)
hierarchicalChunkingConfiguration: NotRequired[HierarchicalChunkingConfigurationUnionTypeDef], # (3)
semanticChunkingConfiguration: NotRequired[SemanticChunkingConfigurationTypeDef], # (4)
- See ChunkingStrategyType
- See FixedSizeChunkingConfigurationTypeDef
- See HierarchicalChunkingConfigurationTypeDef HierarchicalChunkingConfigurationOutputTypeDef
- See SemanticChunkingConfigurationTypeDef
KnowledgeBaseAssociationConfigurationDataOutputTypeDef#
# KnowledgeBaseAssociationConfigurationDataOutputTypeDef definition
class KnowledgeBaseAssociationConfigurationDataOutputTypeDef(TypedDict):
contentTagFilter: NotRequired[TagFilterOutputTypeDef], # (1)
maxResults: NotRequired[int],
overrideKnowledgeBaseSearchType: NotRequired[KnowledgeBaseSearchTypeType], # (2)
SessionDataTypeDef#
# SessionDataTypeDef definition
class SessionDataTypeDef(TypedDict):
name: str,
sessionArn: str,
sessionId: str,
aiAgentConfiguration: NotRequired[Dict[AIAgentTypeType, AIAgentConfigurationDataTypeDef]], # (1)
description: NotRequired[str],
integrationConfiguration: NotRequired[SessionIntegrationConfigurationTypeDef], # (2)
tagFilter: NotRequired[TagFilterOutputTypeDef], # (3)
tags: NotRequired[Dict[str, str]],
- See AIAgentTypeType AIAgentConfigurationDataTypeDef
- See SessionIntegrationConfigurationTypeDef
- See TagFilterOutputTypeDef
TagFilterTypeDef#
# TagFilterTypeDef definition
class TagFilterTypeDef(TypedDict):
andConditions: NotRequired[Sequence[TagConditionTypeDef]], # (1)
orConditions: NotRequired[Sequence[OrConditionUnionTypeDef]], # (2)
tagCondition: NotRequired[TagConditionTypeDef], # (3)
CreateQuickResponseResponseTypeDef#
# CreateQuickResponseResponseTypeDef definition
class CreateQuickResponseResponseTypeDef(TypedDict):
quickResponse: QuickResponseDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetQuickResponseResponseTypeDef#
# GetQuickResponseResponseTypeDef definition
class GetQuickResponseResponseTypeDef(TypedDict):
quickResponse: QuickResponseDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateQuickResponseResponseTypeDef#
# UpdateQuickResponseResponseTypeDef definition
class UpdateQuickResponseResponseTypeDef(TypedDict):
quickResponse: QuickResponseDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
SearchQuickResponsesResponseTypeDef#
# SearchQuickResponsesResponseTypeDef definition
class SearchQuickResponsesResponseTypeDef(TypedDict):
results: List[QuickResponseSearchResultDataTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ManagedSourceConfigurationOutputTypeDef#
# ManagedSourceConfigurationOutputTypeDef definition
class ManagedSourceConfigurationOutputTypeDef(TypedDict):
webCrawlerConfiguration: NotRequired[WebCrawlerConfigurationOutputTypeDef], # (1)
WebCrawlerConfigurationTypeDef#
# WebCrawlerConfigurationTypeDef definition
class WebCrawlerConfigurationTypeDef(TypedDict):
urlConfiguration: UrlConfigurationUnionTypeDef, # (3)
crawlerLimits: NotRequired[WebCrawlerLimitsTypeDef], # (1)
exclusionFilters: NotRequired[Sequence[str]],
inclusionFilters: NotRequired[Sequence[str]],
scope: NotRequired[WebScopeTypeType], # (2)
- See WebCrawlerLimitsTypeDef
- See WebScopeTypeType
- See UrlConfigurationTypeDef UrlConfigurationOutputTypeDef
RenderMessageTemplateRequestRequestTypeDef#
# RenderMessageTemplateRequestRequestTypeDef definition
class RenderMessageTemplateRequestRequestTypeDef(TypedDict):
attributes: MessageTemplateAttributesTypeDef, # (1)
knowledgeBaseId: str,
messageTemplateId: str,
GetImportJobResponseTypeDef#
# GetImportJobResponseTypeDef definition
class GetImportJobResponseTypeDef(TypedDict):
importJob: ImportJobDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
StartImportJobResponseTypeDef#
# StartImportJobResponseTypeDef definition
class StartImportJobResponseTypeDef(TypedDict):
importJob: ImportJobDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListImportJobsResponseTypeDef#
# ListImportJobsResponseTypeDef definition
class ListImportJobsResponseTypeDef(TypedDict):
importJobSummaries: List[ImportJobSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
DataDetailsPaginatorTypeDef#
# DataDetailsPaginatorTypeDef definition
class DataDetailsPaginatorTypeDef(TypedDict):
contentData: NotRequired[ContentDataDetailsTypeDef], # (1)
generativeData: NotRequired[GenerativeDataDetailsPaginatorTypeDef], # (2)
intentDetectedData: NotRequired[IntentDetectedDataDetailsTypeDef], # (3)
sourceContentData: NotRequired[SourceContentDataDetailsTypeDef], # (4)
- See ContentDataDetailsTypeDef
- See GenerativeDataDetailsPaginatorTypeDef
- See IntentDetectedDataDetailsTypeDef
- See SourceContentDataDetailsTypeDef
DataDetailsTypeDef#
# DataDetailsTypeDef definition
class DataDetailsTypeDef(TypedDict):
contentData: NotRequired[ContentDataDetailsTypeDef], # (1)
generativeData: NotRequired[GenerativeDataDetailsTypeDef], # (2)
intentDetectedData: NotRequired[IntentDetectedDataDetailsTypeDef], # (3)
sourceContentData: NotRequired[SourceContentDataDetailsTypeDef], # (4)
- See ContentDataDetailsTypeDef
- See GenerativeDataDetailsTypeDef
- See IntentDetectedDataDetailsTypeDef
- See SourceContentDataDetailsTypeDef
MessageTemplateContentProviderTypeDef#
# MessageTemplateContentProviderTypeDef definition
class MessageTemplateContentProviderTypeDef(TypedDict):
email: NotRequired[EmailMessageTemplateContentUnionTypeDef], # (1)
sms: NotRequired[SMSMessageTemplateContentTypeDef], # (2)
- See EmailMessageTemplateContentTypeDef EmailMessageTemplateContentOutputTypeDef
- See SMSMessageTemplateContentTypeDef
ExtendedMessageTemplateDataTypeDef#
# ExtendedMessageTemplateDataTypeDef definition
class ExtendedMessageTemplateDataTypeDef(TypedDict):
channelSubtype: ChannelSubtypeType, # (3)
content: MessageTemplateContentProviderOutputTypeDef, # (4)
createdTime: datetime,
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedBy: str,
lastModifiedTime: datetime,
messageTemplateArn: str,
messageTemplateContentSha256: str,
messageTemplateId: str,
name: str,
attachments: NotRequired[List[MessageTemplateAttachmentTypeDef]], # (1)
attributeTypes: NotRequired[List[MessageTemplateAttributeTypeType]], # (2)
defaultAttributes: NotRequired[MessageTemplateAttributesOutputTypeDef], # (5)
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationOutputTypeDef], # (6)
isActive: NotRequired[bool],
language: NotRequired[str],
tags: NotRequired[Dict[str, str]],
versionNumber: NotRequired[int],
- See MessageTemplateAttachmentTypeDef
- See MessageTemplateAttributeTypeType
- See ChannelSubtypeType
- See MessageTemplateContentProviderOutputTypeDef
- See MessageTemplateAttributesOutputTypeDef
- See GroupingConfigurationOutputTypeDef
MessageTemplateDataTypeDef#
# MessageTemplateDataTypeDef definition
class MessageTemplateDataTypeDef(TypedDict):
channelSubtype: ChannelSubtypeType, # (2)
content: MessageTemplateContentProviderOutputTypeDef, # (3)
createdTime: datetime,
knowledgeBaseArn: str,
knowledgeBaseId: str,
lastModifiedBy: str,
lastModifiedTime: datetime,
messageTemplateArn: str,
messageTemplateContentSha256: str,
messageTemplateId: str,
name: str,
attributeTypes: NotRequired[List[MessageTemplateAttributeTypeType]], # (1)
defaultAttributes: NotRequired[MessageTemplateAttributesOutputTypeDef], # (4)
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationOutputTypeDef], # (5)
language: NotRequired[str],
tags: NotRequired[Dict[str, str]],
- See MessageTemplateAttributeTypeType
- See ChannelSubtypeType
- See MessageTemplateContentProviderOutputTypeDef
- See MessageTemplateAttributesOutputTypeDef
- See GroupingConfigurationOutputTypeDef
RenderMessageTemplateResponseTypeDef#
# RenderMessageTemplateResponseTypeDef definition
class RenderMessageTemplateResponseTypeDef(TypedDict):
attachments: List[MessageTemplateAttachmentTypeDef], # (1)
attributesNotInterpolated: List[str],
content: MessageTemplateContentProviderOutputTypeDef, # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
- See MessageTemplateAttachmentTypeDef
- See MessageTemplateContentProviderOutputTypeDef
- See ResponseMetadataTypeDef
AssociationConfigurationDataOutputTypeDef#
# AssociationConfigurationDataOutputTypeDef definition
class AssociationConfigurationDataOutputTypeDef(TypedDict):
knowledgeBaseAssociationConfigurationData: NotRequired[KnowledgeBaseAssociationConfigurationDataOutputTypeDef], # (1)
CreateSessionResponseTypeDef#
# CreateSessionResponseTypeDef definition
class CreateSessionResponseTypeDef(TypedDict):
session: SessionDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetSessionResponseTypeDef#
# GetSessionResponseTypeDef definition
class GetSessionResponseTypeDef(TypedDict):
session: SessionDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateSessionResponseTypeDef#
# UpdateSessionResponseTypeDef definition
class UpdateSessionResponseTypeDef(TypedDict):
session: SessionDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateSessionRequestRequestTypeDef#
# CreateSessionRequestRequestTypeDef definition
class CreateSessionRequestRequestTypeDef(TypedDict):
assistantId: str,
name: str,
aiAgentConfiguration: NotRequired[Mapping[AIAgentTypeType, AIAgentConfigurationDataTypeDef]], # (1)
clientToken: NotRequired[str],
description: NotRequired[str],
tagFilter: NotRequired[TagFilterTypeDef], # (2)
tags: NotRequired[Mapping[str, str]],
UpdateSessionRequestRequestTypeDef#
# UpdateSessionRequestRequestTypeDef definition
class UpdateSessionRequestRequestTypeDef(TypedDict):
assistantId: str,
sessionId: str,
aiAgentConfiguration: NotRequired[Mapping[AIAgentTypeType, AIAgentConfigurationDataTypeDef]], # (1)
description: NotRequired[str],
tagFilter: NotRequired[TagFilterTypeDef], # (2)
SourceConfigurationOutputTypeDef#
# SourceConfigurationOutputTypeDef definition
class SourceConfigurationOutputTypeDef(TypedDict):
appIntegrations: NotRequired[AppIntegrationsConfigurationOutputTypeDef], # (1)
managedSourceConfiguration: NotRequired[ManagedSourceConfigurationOutputTypeDef], # (2)
DataSummaryPaginatorTypeDef#
# DataSummaryPaginatorTypeDef definition
class DataSummaryPaginatorTypeDef(TypedDict):
details: DataDetailsPaginatorTypeDef, # (1)
reference: DataReferenceTypeDef, # (2)
DataSummaryTypeDef#
# DataSummaryTypeDef definition
class DataSummaryTypeDef(TypedDict):
details: DataDetailsTypeDef, # (1)
reference: DataReferenceTypeDef, # (2)
CreateMessageTemplateRequestRequestTypeDef#
# CreateMessageTemplateRequestRequestTypeDef definition
class CreateMessageTemplateRequestRequestTypeDef(TypedDict):
channelSubtype: ChannelSubtypeType, # (1)
content: MessageTemplateContentProviderTypeDef, # (2)
knowledgeBaseId: str,
name: str,
clientToken: NotRequired[str],
defaultAttributes: NotRequired[MessageTemplateAttributesTypeDef], # (3)
description: NotRequired[str],
groupingConfiguration: NotRequired[GroupingConfigurationTypeDef], # (4)
language: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
- See ChannelSubtypeType
- See MessageTemplateContentProviderTypeDef
- See MessageTemplateAttributesTypeDef
- See GroupingConfigurationTypeDef
UpdateMessageTemplateRequestRequestTypeDef#
# UpdateMessageTemplateRequestRequestTypeDef definition
class UpdateMessageTemplateRequestRequestTypeDef(TypedDict):
knowledgeBaseId: str,
messageTemplateId: str,
content: NotRequired[MessageTemplateContentProviderTypeDef], # (1)
defaultAttributes: NotRequired[MessageTemplateAttributesTypeDef], # (2)
language: NotRequired[str],
CreateMessageTemplateVersionResponseTypeDef#
# CreateMessageTemplateVersionResponseTypeDef definition
class CreateMessageTemplateVersionResponseTypeDef(TypedDict):
messageTemplate: ExtendedMessageTemplateDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetMessageTemplateResponseTypeDef#
# GetMessageTemplateResponseTypeDef definition
class GetMessageTemplateResponseTypeDef(TypedDict):
messageTemplate: ExtendedMessageTemplateDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateMessageTemplateResponseTypeDef#
# CreateMessageTemplateResponseTypeDef definition
class CreateMessageTemplateResponseTypeDef(TypedDict):
messageTemplate: MessageTemplateDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateMessageTemplateMetadataResponseTypeDef#
# UpdateMessageTemplateMetadataResponseTypeDef definition
class UpdateMessageTemplateMetadataResponseTypeDef(TypedDict):
messageTemplate: MessageTemplateDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateMessageTemplateResponseTypeDef#
# UpdateMessageTemplateResponseTypeDef definition
class UpdateMessageTemplateResponseTypeDef(TypedDict):
messageTemplate: MessageTemplateDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
VectorIngestionConfigurationTypeDef#
# VectorIngestionConfigurationTypeDef definition
class VectorIngestionConfigurationTypeDef(TypedDict):
chunkingConfiguration: NotRequired[ChunkingConfigurationUnionTypeDef], # (1)
parsingConfiguration: NotRequired[ParsingConfigurationTypeDef], # (2)
AssociationConfigurationOutputTypeDef#
# AssociationConfigurationOutputTypeDef definition
class AssociationConfigurationOutputTypeDef(TypedDict):
associationConfigurationData: NotRequired[AssociationConfigurationDataOutputTypeDef], # (1)
associationId: NotRequired[str],
associationType: NotRequired[AIAgentAssociationConfigurationTypeType], # (2)
KnowledgeBaseAssociationConfigurationDataTypeDef#
# KnowledgeBaseAssociationConfigurationDataTypeDef definition
class KnowledgeBaseAssociationConfigurationDataTypeDef(TypedDict):
contentTagFilter: NotRequired[TagFilterUnionTypeDef], # (1)
maxResults: NotRequired[int],
overrideKnowledgeBaseSearchType: NotRequired[KnowledgeBaseSearchTypeType], # (2)
KnowledgeBaseDataTypeDef#
# KnowledgeBaseDataTypeDef definition
class KnowledgeBaseDataTypeDef(TypedDict):
knowledgeBaseArn: str,
knowledgeBaseId: str,
knowledgeBaseType: KnowledgeBaseTypeType, # (2)
name: str,
status: KnowledgeBaseStatusType, # (6)
description: NotRequired[str],
ingestionFailureReasons: NotRequired[List[str]],
ingestionStatus: NotRequired[SyncStatusType], # (1)
lastContentModificationTime: NotRequired[datetime],
renderingConfiguration: NotRequired[RenderingConfigurationTypeDef], # (3)
serverSideEncryptionConfiguration: NotRequired[ServerSideEncryptionConfigurationTypeDef], # (4)
sourceConfiguration: NotRequired[SourceConfigurationOutputTypeDef], # (5)
tags: NotRequired[Dict[str, str]],
vectorIngestionConfiguration: NotRequired[VectorIngestionConfigurationOutputTypeDef], # (7)
- See SyncStatusType
- See KnowledgeBaseTypeType
- See RenderingConfigurationTypeDef
- See ServerSideEncryptionConfigurationTypeDef
- See SourceConfigurationOutputTypeDef
- See KnowledgeBaseStatusType
- See VectorIngestionConfigurationOutputTypeDef
KnowledgeBaseSummaryTypeDef#
# KnowledgeBaseSummaryTypeDef definition
class KnowledgeBaseSummaryTypeDef(TypedDict):
knowledgeBaseArn: str,
knowledgeBaseId: str,
knowledgeBaseType: KnowledgeBaseTypeType, # (1)
name: str,
status: KnowledgeBaseStatusType, # (5)
description: NotRequired[str],
renderingConfiguration: NotRequired[RenderingConfigurationTypeDef], # (2)
serverSideEncryptionConfiguration: NotRequired[ServerSideEncryptionConfigurationTypeDef], # (3)
sourceConfiguration: NotRequired[SourceConfigurationOutputTypeDef], # (4)
tags: NotRequired[Dict[str, str]],
vectorIngestionConfiguration: NotRequired[VectorIngestionConfigurationOutputTypeDef], # (6)
- See KnowledgeBaseTypeType
- See RenderingConfigurationTypeDef
- See ServerSideEncryptionConfigurationTypeDef
- See SourceConfigurationOutputTypeDef
- See KnowledgeBaseStatusType
- See VectorIngestionConfigurationOutputTypeDef
ManagedSourceConfigurationTypeDef#
# ManagedSourceConfigurationTypeDef definition
class ManagedSourceConfigurationTypeDef(TypedDict):
webCrawlerConfiguration: NotRequired[WebCrawlerConfigurationUnionTypeDef], # (1)
ResultDataPaginatorTypeDef#
# ResultDataPaginatorTypeDef definition
class ResultDataPaginatorTypeDef(TypedDict):
resultId: str,
data: NotRequired[DataSummaryPaginatorTypeDef], # (1)
document: NotRequired[DocumentTypeDef], # (2)
relevanceScore: NotRequired[float],
type: NotRequired[QueryResultTypeType], # (3)
RecommendationDataTypeDef#
# RecommendationDataTypeDef definition
class RecommendationDataTypeDef(TypedDict):
recommendationId: str,
data: NotRequired[DataSummaryTypeDef], # (1)
document: NotRequired[DocumentTypeDef], # (2)
relevanceLevel: NotRequired[RelevanceLevelType], # (3)
relevanceScore: NotRequired[float],
type: NotRequired[RecommendationTypeType], # (4)
- See DataSummaryTypeDef
- See DocumentTypeDef
- See RelevanceLevelType
- See RecommendationTypeType
ResultDataTypeDef#
# ResultDataTypeDef definition
class ResultDataTypeDef(TypedDict):
resultId: str,
data: NotRequired[DataSummaryTypeDef], # (1)
document: NotRequired[DocumentTypeDef], # (2)
relevanceScore: NotRequired[float],
type: NotRequired[QueryResultTypeType], # (3)
- See DataSummaryTypeDef
- See DocumentTypeDef
- See QueryResultTypeType
AnswerRecommendationAIAgentConfigurationOutputTypeDef#
# AnswerRecommendationAIAgentConfigurationOutputTypeDef definition
class AnswerRecommendationAIAgentConfigurationOutputTypeDef(TypedDict):
answerGenerationAIPromptId: NotRequired[str],
associationConfigurations: NotRequired[List[AssociationConfigurationOutputTypeDef]], # (1)
intentLabelingGenerationAIPromptId: NotRequired[str],
queryReformulationAIPromptId: NotRequired[str],
ManualSearchAIAgentConfigurationOutputTypeDef#
# ManualSearchAIAgentConfigurationOutputTypeDef definition
class ManualSearchAIAgentConfigurationOutputTypeDef(TypedDict):
answerGenerationAIPromptId: NotRequired[str],
associationConfigurations: NotRequired[List[AssociationConfigurationOutputTypeDef]], # (1)
CreateKnowledgeBaseResponseTypeDef#
# CreateKnowledgeBaseResponseTypeDef definition
class CreateKnowledgeBaseResponseTypeDef(TypedDict):
knowledgeBase: KnowledgeBaseDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetKnowledgeBaseResponseTypeDef#
# GetKnowledgeBaseResponseTypeDef definition
class GetKnowledgeBaseResponseTypeDef(TypedDict):
knowledgeBase: KnowledgeBaseDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateKnowledgeBaseTemplateUriResponseTypeDef#
# UpdateKnowledgeBaseTemplateUriResponseTypeDef definition
class UpdateKnowledgeBaseTemplateUriResponseTypeDef(TypedDict):
knowledgeBase: KnowledgeBaseDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
ListKnowledgeBasesResponseTypeDef#
# ListKnowledgeBasesResponseTypeDef definition
class ListKnowledgeBasesResponseTypeDef(TypedDict):
knowledgeBaseSummaries: List[KnowledgeBaseSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
QueryAssistantResponsePaginatorTypeDef#
# QueryAssistantResponsePaginatorTypeDef definition
class QueryAssistantResponsePaginatorTypeDef(TypedDict):
results: List[ResultDataPaginatorTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
GetRecommendationsResponseTypeDef#
# GetRecommendationsResponseTypeDef definition
class GetRecommendationsResponseTypeDef(TypedDict):
recommendations: List[RecommendationDataTypeDef], # (1)
triggers: List[RecommendationTriggerTypeDef], # (2)
ResponseMetadata: ResponseMetadataTypeDef, # (3)
QueryAssistantResponseTypeDef#
# QueryAssistantResponseTypeDef definition
class QueryAssistantResponseTypeDef(TypedDict):
results: List[ResultDataTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
AIAgentConfigurationOutputTypeDef#
# AIAgentConfigurationOutputTypeDef definition
class AIAgentConfigurationOutputTypeDef(TypedDict):
answerRecommendationAIAgentConfiguration: NotRequired[AnswerRecommendationAIAgentConfigurationOutputTypeDef], # (1)
manualSearchAIAgentConfiguration: NotRequired[ManualSearchAIAgentConfigurationOutputTypeDef], # (2)
- See AnswerRecommendationAIAgentConfigurationOutputTypeDef
- See ManualSearchAIAgentConfigurationOutputTypeDef
AssociationConfigurationDataTypeDef#
# AssociationConfigurationDataTypeDef definition
class AssociationConfigurationDataTypeDef(TypedDict):
knowledgeBaseAssociationConfigurationData: NotRequired[KnowledgeBaseAssociationConfigurationDataUnionTypeDef], # (1)
- See KnowledgeBaseAssociationConfigurationDataTypeDef KnowledgeBaseAssociationConfigurationDataOutputTypeDef
SourceConfigurationTypeDef#
# SourceConfigurationTypeDef definition
class SourceConfigurationTypeDef(TypedDict):
appIntegrations: NotRequired[AppIntegrationsConfigurationUnionTypeDef], # (1)
managedSourceConfiguration: NotRequired[ManagedSourceConfigurationUnionTypeDef], # (2)
- See AppIntegrationsConfigurationTypeDef AppIntegrationsConfigurationOutputTypeDef
- See ManagedSourceConfigurationTypeDef ManagedSourceConfigurationOutputTypeDef
AIAgentDataTypeDef#
# AIAgentDataTypeDef definition
class AIAgentDataTypeDef(TypedDict):
aiAgentArn: str,
aiAgentId: str,
assistantArn: str,
assistantId: str,
configuration: AIAgentConfigurationOutputTypeDef, # (1)
name: str,
type: AIAgentTypeType, # (4)
visibilityStatus: VisibilityStatusType, # (5)
description: NotRequired[str],
modifiedTime: NotRequired[datetime],
origin: NotRequired[OriginType], # (2)
status: NotRequired[StatusType], # (3)
tags: NotRequired[Dict[str, str]],
- See AIAgentConfigurationOutputTypeDef
- See OriginType
- See StatusType
- See AIAgentTypeType
- See VisibilityStatusType
AIAgentSummaryTypeDef#
# AIAgentSummaryTypeDef definition
class AIAgentSummaryTypeDef(TypedDict):
aiAgentArn: str,
aiAgentId: str,
assistantArn: str,
assistantId: str,
name: str,
type: AIAgentTypeType, # (4)
visibilityStatus: VisibilityStatusType, # (5)
configuration: NotRequired[AIAgentConfigurationOutputTypeDef], # (1)
description: NotRequired[str],
modifiedTime: NotRequired[datetime],
origin: NotRequired[OriginType], # (2)
status: NotRequired[StatusType], # (3)
tags: NotRequired[Dict[str, str]],
- See AIAgentConfigurationOutputTypeDef
- See OriginType
- See StatusType
- See AIAgentTypeType
- See VisibilityStatusType
CreateKnowledgeBaseRequestRequestTypeDef#
# CreateKnowledgeBaseRequestRequestTypeDef definition
class CreateKnowledgeBaseRequestRequestTypeDef(TypedDict):
knowledgeBaseType: KnowledgeBaseTypeType, # (1)
name: str,
clientToken: NotRequired[str],
description: NotRequired[str],
renderingConfiguration: NotRequired[RenderingConfigurationTypeDef], # (2)
serverSideEncryptionConfiguration: NotRequired[ServerSideEncryptionConfigurationTypeDef], # (3)
sourceConfiguration: NotRequired[SourceConfigurationTypeDef], # (4)
tags: NotRequired[Mapping[str, str]],
vectorIngestionConfiguration: NotRequired[VectorIngestionConfigurationTypeDef], # (5)
- See KnowledgeBaseTypeType
- See RenderingConfigurationTypeDef
- See ServerSideEncryptionConfigurationTypeDef
- See SourceConfigurationTypeDef
- See VectorIngestionConfigurationTypeDef
CreateAIAgentResponseTypeDef#
# CreateAIAgentResponseTypeDef definition
class CreateAIAgentResponseTypeDef(TypedDict):
aiAgent: AIAgentDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
CreateAIAgentVersionResponseTypeDef#
# CreateAIAgentVersionResponseTypeDef definition
class CreateAIAgentVersionResponseTypeDef(TypedDict):
aiAgent: AIAgentDataTypeDef, # (1)
versionNumber: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
GetAIAgentResponseTypeDef#
# GetAIAgentResponseTypeDef definition
class GetAIAgentResponseTypeDef(TypedDict):
aiAgent: AIAgentDataTypeDef, # (1)
versionNumber: int,
ResponseMetadata: ResponseMetadataTypeDef, # (2)
UpdateAIAgentResponseTypeDef#
# UpdateAIAgentResponseTypeDef definition
class UpdateAIAgentResponseTypeDef(TypedDict):
aiAgent: AIAgentDataTypeDef, # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
AIAgentVersionSummaryTypeDef#
# AIAgentVersionSummaryTypeDef definition
class AIAgentVersionSummaryTypeDef(TypedDict):
aiAgentSummary: NotRequired[AIAgentSummaryTypeDef], # (1)
versionNumber: NotRequired[int],
ListAIAgentsResponseTypeDef#
# ListAIAgentsResponseTypeDef definition
class ListAIAgentsResponseTypeDef(TypedDict):
aiAgentSummaries: List[AIAgentSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
AssociationConfigurationTypeDef#
# AssociationConfigurationTypeDef definition
class AssociationConfigurationTypeDef(TypedDict):
associationConfigurationData: NotRequired[AssociationConfigurationDataUnionTypeDef], # (1)
associationId: NotRequired[str],
associationType: NotRequired[AIAgentAssociationConfigurationTypeType], # (2)
- See AssociationConfigurationDataTypeDef AssociationConfigurationDataOutputTypeDef
- See AIAgentAssociationConfigurationTypeType
ListAIAgentVersionsResponseTypeDef#
# ListAIAgentVersionsResponseTypeDef definition
class ListAIAgentVersionsResponseTypeDef(TypedDict):
aiAgentVersionSummaries: List[AIAgentVersionSummaryTypeDef], # (1)
ResponseMetadata: ResponseMetadataTypeDef, # (2)
nextToken: NotRequired[str],
ManualSearchAIAgentConfigurationTypeDef#
# ManualSearchAIAgentConfigurationTypeDef definition
class ManualSearchAIAgentConfigurationTypeDef(TypedDict):
answerGenerationAIPromptId: NotRequired[str],
associationConfigurations: NotRequired[Sequence[AssociationConfigurationTypeDef]], # (1)
AnswerRecommendationAIAgentConfigurationTypeDef#
# AnswerRecommendationAIAgentConfigurationTypeDef definition
class AnswerRecommendationAIAgentConfigurationTypeDef(TypedDict):
answerGenerationAIPromptId: NotRequired[str],
associationConfigurations: NotRequired[Sequence[AssociationConfigurationUnionTypeDef]], # (1)
intentLabelingGenerationAIPromptId: NotRequired[str],
queryReformulationAIPromptId: NotRequired[str],
AIAgentConfigurationTypeDef#
# AIAgentConfigurationTypeDef definition
class AIAgentConfigurationTypeDef(TypedDict):
answerRecommendationAIAgentConfiguration: NotRequired[AnswerRecommendationAIAgentConfigurationUnionTypeDef], # (1)
manualSearchAIAgentConfiguration: NotRequired[ManualSearchAIAgentConfigurationUnionTypeDef], # (2)
- See AnswerRecommendationAIAgentConfigurationTypeDef AnswerRecommendationAIAgentConfigurationOutputTypeDef
- See ManualSearchAIAgentConfigurationTypeDef ManualSearchAIAgentConfigurationOutputTypeDef
CreateAIAgentRequestRequestTypeDef#
# CreateAIAgentRequestRequestTypeDef definition
class CreateAIAgentRequestRequestTypeDef(TypedDict):
assistantId: str,
configuration: AIAgentConfigurationTypeDef, # (1)
name: str,
type: AIAgentTypeType, # (2)
visibilityStatus: VisibilityStatusType, # (3)
clientToken: NotRequired[str],
description: NotRequired[str],
tags: NotRequired[Mapping[str, str]],
UpdateAIAgentRequestRequestTypeDef#
# UpdateAIAgentRequestRequestTypeDef definition
class UpdateAIAgentRequestRequestTypeDef(TypedDict):
aiAgentId: str,
assistantId: str,
visibilityStatus: VisibilityStatusType, # (1)
clientToken: NotRequired[str],
configuration: NotRequired[AIAgentConfigurationTypeDef], # (2)
description: NotRequired[str],