import { DocumentType as __DocumentType } from "@smithy/types"; import { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GuardrailAction, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailPolicyType, GuardrailSensitiveInformationAction, GuardrailSource, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus, } from "./enums"; export interface ActivateMessageTemplateRequest { knowledgeBaseId: string | undefined; messageTemplateId: string | undefined; versionNumber: number | undefined; } export interface ActivateMessageTemplateResponse { messageTemplateArn: string | undefined; messageTemplateId: string | undefined; versionNumber: number | undefined; } export interface AgentAttributes { firstName?: string | undefined; lastName?: string | undefined; } export interface TagCondition { key: string | undefined; value?: string | undefined; } export type OrCondition = | OrCondition.AndConditionsMember | OrCondition.TagConditionMember | OrCondition.$UnknownMember; export declare namespace OrCondition { interface AndConditionsMember { andConditions: TagCondition[]; tagCondition?: never; $unknown?: never; } interface TagConditionMember { andConditions?: never; tagCondition: TagCondition; $unknown?: never; } interface $UnknownMember { andConditions?: never; tagCondition?: never; $unknown: [string, any]; } interface Visitor { andConditions: (value: TagCondition[]) => T; tagCondition: (value: TagCondition) => T; _: (name: string, value: any) => T; } } export type TagFilter = | TagFilter.AndConditionsMember | TagFilter.OrConditionsMember | TagFilter.TagConditionMember | TagFilter.$UnknownMember; export declare namespace TagFilter { interface TagConditionMember { tagCondition: TagCondition; andConditions?: never; orConditions?: never; $unknown?: never; } interface AndConditionsMember { tagCondition?: never; andConditions: TagCondition[]; orConditions?: never; $unknown?: never; } interface OrConditionsMember { tagCondition?: never; andConditions?: never; orConditions: OrCondition[]; $unknown?: never; } interface $UnknownMember { tagCondition?: never; andConditions?: never; orConditions?: never; $unknown: [string, any]; } interface Visitor { tagCondition: (value: TagCondition) => T; andConditions: (value: TagCondition[]) => T; orConditions: (value: OrCondition[]) => T; _: (name: string, value: any) => T; } } export interface KnowledgeBaseAssociationConfigurationData { contentTagFilter?: TagFilter | undefined; maxResults?: number | undefined; overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType | undefined; } export type AssociationConfigurationData = | AssociationConfigurationData.KnowledgeBaseAssociationConfigurationDataMember | AssociationConfigurationData.$UnknownMember; export declare namespace AssociationConfigurationData { interface KnowledgeBaseAssociationConfigurationDataMember { knowledgeBaseAssociationConfigurationData: KnowledgeBaseAssociationConfigurationData; $unknown?: never; } interface $UnknownMember { knowledgeBaseAssociationConfigurationData?: never; $unknown: [string, any]; } interface Visitor { knowledgeBaseAssociationConfigurationData: ( value: KnowledgeBaseAssociationConfigurationData, ) => T; _: (name: string, value: any) => T; } } export interface AssociationConfiguration { associationId?: string | undefined; associationType?: AIAgentAssociationConfigurationType | undefined; associationConfigurationData?: AssociationConfigurationData | undefined; } export interface AnswerRecommendationAIAgentConfiguration { intentLabelingGenerationAIPromptId?: string | undefined; queryReformulationAIPromptId?: string | undefined; answerGenerationAIPromptId?: string | undefined; answerGenerationAIGuardrailId?: string | undefined; associationConfigurations?: AssociationConfiguration[] | undefined; locale?: string | undefined; suggestedMessages?: string[] | undefined; } export interface CaseSummarizationAIAgentConfiguration { caseSummarizationAIPromptId?: string | undefined; caseSummarizationAIGuardrailId?: string | undefined; locale?: string | undefined; } export interface EmailGenerativeAnswerAIAgentConfiguration { emailGenerativeAnswerAIPromptId?: string | undefined; emailQueryReformulationAIPromptId?: string | undefined; locale?: string | undefined; associationConfigurations?: AssociationConfiguration[] | undefined; } export interface EmailOverviewAIAgentConfiguration { emailOverviewAIPromptId?: string | undefined; locale?: string | undefined; } export interface EmailResponseAIAgentConfiguration { emailResponseAIPromptId?: string | undefined; emailQueryReformulationAIPromptId?: string | undefined; locale?: string | undefined; associationConfigurations?: AssociationConfiguration[] | undefined; } export interface ManualSearchAIAgentConfiguration { answerGenerationAIPromptId?: string | undefined; answerGenerationAIGuardrailId?: string | undefined; associationConfigurations?: AssociationConfiguration[] | undefined; locale?: string | undefined; } export interface NoteTakingAIAgentConfiguration { noteTakingAIPromptId?: string | undefined; noteTakingAIGuardrailId?: string | undefined; locale?: string | undefined; } export interface Annotation { title?: string | undefined; destructiveHint?: boolean | undefined; } export interface ToolInstruction { instruction?: string | undefined; examples?: string[] | undefined; } export interface ToolOutputConfiguration { outputVariableNameOverride?: string | undefined; sessionDataNamespace?: string | undefined; } export interface ToolOutputFilter { jsonPath: string | undefined; outputConfiguration?: ToolOutputConfiguration | undefined; } export interface ToolOverrideConstantInputValue { type: ToolOverrideInputValueType | undefined; value: string | undefined; } export type ToolOverrideInputValueConfiguration = | ToolOverrideInputValueConfiguration.ConstantMember | ToolOverrideInputValueConfiguration.$UnknownMember; export declare namespace ToolOverrideInputValueConfiguration { interface ConstantMember { constant: ToolOverrideConstantInputValue; $unknown?: never; } interface $UnknownMember { constant?: never; $unknown: [string, any]; } interface Visitor { constant: (value: ToolOverrideConstantInputValue) => T; _: (name: string, value: any) => T; } } export interface ToolOverrideInputValue { jsonPath: string | undefined; value: ToolOverrideInputValueConfiguration | undefined; } export interface UserInteractionConfiguration { isUserConfirmationRequired?: boolean | undefined; } export interface ToolConfiguration { toolName: string | undefined; toolType: ToolType | undefined; title?: string | undefined; toolId?: string | undefined; description?: string | undefined; instruction?: ToolInstruction | undefined; overrideInputValues?: ToolOverrideInputValue[] | undefined; outputFilters?: ToolOutputFilter[] | undefined; inputSchema?: __DocumentType | undefined; outputSchema?: __DocumentType | undefined; annotations?: Annotation | undefined; userInteractionConfiguration?: UserInteractionConfiguration | undefined; } export interface OrchestrationAIAgentConfiguration { orchestrationAIPromptId: string | undefined; orchestrationAIGuardrailId?: string | undefined; toolConfigurations?: ToolConfiguration[] | undefined; connectInstanceArn?: string | undefined; locale?: string | undefined; } export interface SelfServiceAIAgentConfiguration { selfServicePreProcessingAIPromptId?: string | undefined; selfServiceAnswerGenerationAIPromptId?: string | undefined; selfServiceAIGuardrailId?: string | undefined; associationConfigurations?: AssociationConfiguration[] | undefined; } export type AIAgentConfiguration = | AIAgentConfiguration.AnswerRecommendationAIAgentConfigurationMember | AIAgentConfiguration.CaseSummarizationAIAgentConfigurationMember | AIAgentConfiguration.EmailGenerativeAnswerAIAgentConfigurationMember | AIAgentConfiguration.EmailOverviewAIAgentConfigurationMember | AIAgentConfiguration.EmailResponseAIAgentConfigurationMember | AIAgentConfiguration.ManualSearchAIAgentConfigurationMember | AIAgentConfiguration.NoteTakingAIAgentConfigurationMember | AIAgentConfiguration.OrchestrationAIAgentConfigurationMember | AIAgentConfiguration.SelfServiceAIAgentConfigurationMember | AIAgentConfiguration.$UnknownMember; export declare namespace AIAgentConfiguration { interface ManualSearchAIAgentConfigurationMember { manualSearchAIAgentConfiguration: ManualSearchAIAgentConfiguration; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface AnswerRecommendationAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration: AnswerRecommendationAIAgentConfiguration; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface SelfServiceAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration: SelfServiceAIAgentConfiguration; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface EmailResponseAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration: EmailResponseAIAgentConfiguration; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface EmailOverviewAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration: EmailOverviewAIAgentConfiguration; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface EmailGenerativeAnswerAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration: EmailGenerativeAnswerAIAgentConfiguration; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface OrchestrationAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration: OrchestrationAIAgentConfiguration; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface NoteTakingAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration: NoteTakingAIAgentConfiguration; caseSummarizationAIAgentConfiguration?: never; $unknown?: never; } interface CaseSummarizationAIAgentConfigurationMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration: CaseSummarizationAIAgentConfiguration; $unknown?: never; } interface $UnknownMember { manualSearchAIAgentConfiguration?: never; answerRecommendationAIAgentConfiguration?: never; selfServiceAIAgentConfiguration?: never; emailResponseAIAgentConfiguration?: never; emailOverviewAIAgentConfiguration?: never; emailGenerativeAnswerAIAgentConfiguration?: never; orchestrationAIAgentConfiguration?: never; noteTakingAIAgentConfiguration?: never; caseSummarizationAIAgentConfiguration?: never; $unknown: [string, any]; } interface Visitor { manualSearchAIAgentConfiguration: (value: ManualSearchAIAgentConfiguration) => T; answerRecommendationAIAgentConfiguration: ( value: AnswerRecommendationAIAgentConfiguration, ) => T; selfServiceAIAgentConfiguration: (value: SelfServiceAIAgentConfiguration) => T; emailResponseAIAgentConfiguration: (value: EmailResponseAIAgentConfiguration) => T; emailOverviewAIAgentConfiguration: (value: EmailOverviewAIAgentConfiguration) => T; emailGenerativeAnswerAIAgentConfiguration: ( value: EmailGenerativeAnswerAIAgentConfiguration, ) => T; orchestrationAIAgentConfiguration: (value: OrchestrationAIAgentConfiguration) => T; noteTakingAIAgentConfiguration: (value: NoteTakingAIAgentConfiguration) => T; caseSummarizationAIAgentConfiguration: (value: CaseSummarizationAIAgentConfiguration) => T; _: (name: string, value: any) => T; } } export interface CreateAIAgentRequest { clientToken?: string | undefined; assistantId: string | undefined; name: string | undefined; type: AIAgentType | undefined; configuration: AIAgentConfiguration | undefined; visibilityStatus: VisibilityStatus | undefined; tags?: Record | undefined; description?: string | undefined; } export interface AIAgentData { assistantId: string | undefined; assistantArn: string | undefined; aiAgentId: string | undefined; aiAgentArn: string | undefined; name: string | undefined; type: AIAgentType | undefined; configuration: AIAgentConfiguration | undefined; modifiedTime?: Date | undefined; description?: string | undefined; visibilityStatus: VisibilityStatus | undefined; tags?: Record | undefined; origin?: Origin | undefined; status?: Status | undefined; } export interface CreateAIAgentResponse { aiAgent?: AIAgentData | undefined; } export interface CreateAIAgentVersionRequest { assistantId: string | undefined; aiAgentId: string | undefined; modifiedTime?: Date | undefined; clientToken?: string | undefined; } export interface CreateAIAgentVersionResponse { aiAgent?: AIAgentData | undefined; versionNumber?: number | undefined; } export interface DeleteAIAgentRequest { assistantId: string | undefined; aiAgentId: string | undefined; } export interface DeleteAIAgentResponse {} export interface DeleteAIAgentVersionRequest { assistantId: string | undefined; aiAgentId: string | undefined; versionNumber: number | undefined; } export interface DeleteAIAgentVersionResponse {} export interface GetAIAgentRequest { assistantId: string | undefined; aiAgentId: string | undefined; } export interface GetAIAgentResponse { aiAgent?: AIAgentData | undefined; versionNumber?: number | undefined; } export interface ListAIAgentsRequest { assistantId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; origin?: Origin | undefined; } export interface AIAgentSummary { name: string | undefined; assistantId: string | undefined; assistantArn: string | undefined; aiAgentId: string | undefined; type: AIAgentType | undefined; aiAgentArn: string | undefined; modifiedTime?: Date | undefined; visibilityStatus: VisibilityStatus | undefined; configuration?: AIAgentConfiguration | undefined; origin?: Origin | undefined; description?: string | undefined; status?: Status | undefined; tags?: Record | undefined; } export interface ListAIAgentsResponse { aiAgentSummaries: AIAgentSummary[] | undefined; nextToken?: string | undefined; } export interface ListAIAgentVersionsRequest { assistantId: string | undefined; aiAgentId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; origin?: Origin | undefined; } export interface AIAgentVersionSummary { aiAgentSummary?: AIAgentSummary | undefined; versionNumber?: number | undefined; } export interface ListAIAgentVersionsResponse { aiAgentVersionSummaries: AIAgentVersionSummary[] | undefined; nextToken?: string | undefined; } export interface UpdateAIAgentRequest { clientToken?: string | undefined; assistantId: string | undefined; aiAgentId: string | undefined; visibilityStatus: VisibilityStatus | undefined; configuration?: AIAgentConfiguration | undefined; description?: string | undefined; } export interface UpdateAIAgentResponse { aiAgent?: AIAgentData | undefined; } export interface AIAgentConfigurationData { aiAgentId: string | undefined; } export interface GuardrailContentFilterConfig { type: GuardrailContentFilterType | undefined; inputStrength: GuardrailFilterStrength | undefined; outputStrength: GuardrailFilterStrength | undefined; } export interface AIGuardrailContentPolicyConfig { filtersConfig: GuardrailContentFilterConfig[] | undefined; } export interface GuardrailContextualGroundingFilterConfig { type: GuardrailContextualGroundingFilterType | undefined; threshold: number | undefined; } export interface AIGuardrailContextualGroundingPolicyConfig { filtersConfig: GuardrailContextualGroundingFilterConfig[] | undefined; } export interface GuardrailPiiEntityConfig { type: GuardrailPiiEntityType | undefined; action: GuardrailSensitiveInformationAction | undefined; } export interface GuardrailRegexConfig { name: string | undefined; description?: string | undefined; pattern: string | undefined; action: GuardrailSensitiveInformationAction | undefined; } export interface AIGuardrailSensitiveInformationPolicyConfig { piiEntitiesConfig?: GuardrailPiiEntityConfig[] | undefined; regexesConfig?: GuardrailRegexConfig[] | undefined; } export interface GuardrailTopicConfig { name: string | undefined; definition: string | undefined; examples?: string[] | undefined; type: GuardrailTopicType | undefined; } export interface AIGuardrailTopicPolicyConfig { topicsConfig: GuardrailTopicConfig[] | undefined; } export interface GuardrailManagedWordsConfig { type: GuardrailManagedWordsType | undefined; } export interface GuardrailWordConfig { text: string | undefined; } export interface AIGuardrailWordPolicyConfig { wordsConfig?: GuardrailWordConfig[] | undefined; managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined; } export interface CreateAIGuardrailRequest { clientToken?: string | undefined; assistantId: string | undefined; name: string | undefined; blockedInputMessaging: string | undefined; blockedOutputsMessaging: string | undefined; visibilityStatus: VisibilityStatus | undefined; description?: string | undefined; topicPolicyConfig?: AIGuardrailTopicPolicyConfig | undefined; contentPolicyConfig?: AIGuardrailContentPolicyConfig | undefined; wordPolicyConfig?: AIGuardrailWordPolicyConfig | undefined; sensitiveInformationPolicyConfig?: AIGuardrailSensitiveInformationPolicyConfig | undefined; contextualGroundingPolicyConfig?: AIGuardrailContextualGroundingPolicyConfig | undefined; tags?: Record | undefined; } export interface AIGuardrailData { assistantId: string | undefined; assistantArn: string | undefined; aiGuardrailArn: string | undefined; aiGuardrailId: string | undefined; name: string | undefined; visibilityStatus: VisibilityStatus | undefined; blockedInputMessaging: string | undefined; blockedOutputsMessaging: string | undefined; description?: string | undefined; topicPolicyConfig?: AIGuardrailTopicPolicyConfig | undefined; contentPolicyConfig?: AIGuardrailContentPolicyConfig | undefined; wordPolicyConfig?: AIGuardrailWordPolicyConfig | undefined; sensitiveInformationPolicyConfig?: AIGuardrailSensitiveInformationPolicyConfig | undefined; contextualGroundingPolicyConfig?: AIGuardrailContextualGroundingPolicyConfig | undefined; tags?: Record | undefined; status?: Status | undefined; modifiedTime?: Date | undefined; } export interface CreateAIGuardrailResponse { aiGuardrail?: AIGuardrailData | undefined; } export interface CreateAIGuardrailVersionRequest { assistantId: string | undefined; aiGuardrailId: string | undefined; modifiedTime?: Date | undefined; clientToken?: string | undefined; } export interface CreateAIGuardrailVersionResponse { aiGuardrail?: AIGuardrailData | undefined; versionNumber?: number | undefined; } export interface DeleteAIGuardrailRequest { assistantId: string | undefined; aiGuardrailId: string | undefined; } export interface DeleteAIGuardrailResponse {} export interface DeleteAIGuardrailVersionRequest { assistantId: string | undefined; aiGuardrailId: string | undefined; versionNumber: number | undefined; } export interface DeleteAIGuardrailVersionResponse {} export interface GetAIGuardrailRequest { assistantId: string | undefined; aiGuardrailId: string | undefined; } export interface GetAIGuardrailResponse { aiGuardrail?: AIGuardrailData | undefined; versionNumber?: number | undefined; } export interface ListAIGuardrailsRequest { assistantId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; } export interface AIGuardrailSummary { name: string | undefined; assistantId: string | undefined; assistantArn: string | undefined; aiGuardrailId: string | undefined; aiGuardrailArn: string | undefined; modifiedTime?: Date | undefined; visibilityStatus: VisibilityStatus | undefined; description?: string | undefined; status?: Status | undefined; tags?: Record | undefined; } export interface ListAIGuardrailsResponse { aiGuardrailSummaries: AIGuardrailSummary[] | undefined; nextToken?: string | undefined; } export interface ListAIGuardrailVersionsRequest { assistantId: string | undefined; aiGuardrailId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; } export interface AIGuardrailVersionSummary { aiGuardrailSummary?: AIGuardrailSummary | undefined; versionNumber?: number | undefined; } export interface ListAIGuardrailVersionsResponse { aiGuardrailVersionSummaries: AIGuardrailVersionSummary[] | undefined; nextToken?: string | undefined; } export interface UpdateAIGuardrailRequest { clientToken?: string | undefined; assistantId: string | undefined; aiGuardrailId: string | undefined; visibilityStatus: VisibilityStatus | undefined; blockedInputMessaging: string | undefined; blockedOutputsMessaging: string | undefined; description?: string | undefined; topicPolicyConfig?: AIGuardrailTopicPolicyConfig | undefined; contentPolicyConfig?: AIGuardrailContentPolicyConfig | undefined; wordPolicyConfig?: AIGuardrailWordPolicyConfig | undefined; sensitiveInformationPolicyConfig?: AIGuardrailSensitiveInformationPolicyConfig | undefined; contextualGroundingPolicyConfig?: AIGuardrailContextualGroundingPolicyConfig | undefined; } export interface UpdateAIGuardrailResponse { aiGuardrail?: AIGuardrailData | undefined; } export interface AIGuardrailAssessment { blocked: boolean | undefined; } export interface AIPromptInferenceConfiguration { temperature?: number | undefined; topP?: number | undefined; topK?: number | undefined; maxTokensToSample?: number | undefined; } export interface TextFullAIPromptEditTemplateConfiguration { text: string | undefined; } export type AIPromptTemplateConfiguration = | AIPromptTemplateConfiguration.TextFullAIPromptEditTemplateConfigurationMember | AIPromptTemplateConfiguration.$UnknownMember; export declare namespace AIPromptTemplateConfiguration { interface TextFullAIPromptEditTemplateConfigurationMember { textFullAIPromptEditTemplateConfiguration: TextFullAIPromptEditTemplateConfiguration; $unknown?: never; } interface $UnknownMember { textFullAIPromptEditTemplateConfiguration?: never; $unknown: [string, any]; } interface Visitor { textFullAIPromptEditTemplateConfiguration: ( value: TextFullAIPromptEditTemplateConfiguration, ) => T; _: (name: string, value: any) => T; } } export interface CreateAIPromptRequest { clientToken?: string | undefined; assistantId: string | undefined; name: string | undefined; type: AIPromptType | undefined; templateConfiguration: AIPromptTemplateConfiguration | undefined; visibilityStatus: VisibilityStatus | undefined; templateType: AIPromptTemplateType | undefined; modelId: string | undefined; apiFormat: AIPromptAPIFormat | undefined; tags?: Record | undefined; description?: string | undefined; inferenceConfiguration?: AIPromptInferenceConfiguration | undefined; } export interface AIPromptData { assistantId: string | undefined; assistantArn: string | undefined; aiPromptId: string | undefined; aiPromptArn: string | undefined; name: string | undefined; type: AIPromptType | undefined; templateType: AIPromptTemplateType | undefined; modelId: string | undefined; apiFormat: AIPromptAPIFormat | undefined; templateConfiguration: AIPromptTemplateConfiguration | undefined; inferenceConfiguration?: AIPromptInferenceConfiguration | undefined; modifiedTime?: Date | undefined; description?: string | undefined; visibilityStatus: VisibilityStatus | undefined; tags?: Record | undefined; origin?: Origin | undefined; status?: Status | undefined; } export interface CreateAIPromptResponse { aiPrompt?: AIPromptData | undefined; } export interface CreateAIPromptVersionRequest { assistantId: string | undefined; aiPromptId: string | undefined; modifiedTime?: Date | undefined; clientToken?: string | undefined; } export interface CreateAIPromptVersionResponse { aiPrompt?: AIPromptData | undefined; versionNumber?: number | undefined; } export interface DeleteAIPromptRequest { assistantId: string | undefined; aiPromptId: string | undefined; } export interface DeleteAIPromptResponse {} export interface DeleteAIPromptVersionRequest { assistantId: string | undefined; aiPromptId: string | undefined; versionNumber: number | undefined; } export interface DeleteAIPromptVersionResponse {} export interface GetAIPromptRequest { assistantId: string | undefined; aiPromptId: string | undefined; } export interface GetAIPromptResponse { aiPrompt?: AIPromptData | undefined; versionNumber?: number | undefined; } export interface ListAIPromptsRequest { assistantId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; origin?: Origin | undefined; } export interface AIPromptSummary { name: string | undefined; assistantId: string | undefined; assistantArn: string | undefined; aiPromptId: string | undefined; type: AIPromptType | undefined; aiPromptArn: string | undefined; modifiedTime?: Date | undefined; templateType: AIPromptTemplateType | undefined; modelId: string | undefined; apiFormat: AIPromptAPIFormat | undefined; visibilityStatus: VisibilityStatus | undefined; origin?: Origin | undefined; description?: string | undefined; status?: Status | undefined; tags?: Record | undefined; } export interface ListAIPromptsResponse { aiPromptSummaries: AIPromptSummary[] | undefined; nextToken?: string | undefined; } export interface ListAIPromptVersionsRequest { assistantId: string | undefined; aiPromptId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; origin?: Origin | undefined; } export interface AIPromptVersionSummary { aiPromptSummary?: AIPromptSummary | undefined; versionNumber?: number | undefined; } export interface ListAIPromptVersionsResponse { aiPromptVersionSummaries: AIPromptVersionSummary[] | undefined; nextToken?: string | undefined; } export interface UpdateAIPromptRequest { clientToken?: string | undefined; assistantId: string | undefined; aiPromptId: string | undefined; visibilityStatus: VisibilityStatus | undefined; templateConfiguration?: AIPromptTemplateConfiguration | undefined; description?: string | undefined; modelId?: string | undefined; inferenceConfiguration?: AIPromptInferenceConfiguration | undefined; } export interface UpdateAIPromptResponse { aiPrompt?: AIPromptData | undefined; } export interface AmazonConnectGuideAssociationData { flowId?: string | undefined; } export interface AppIntegrationsConfiguration { appIntegrationArn: string | undefined; objectFields?: string[] | undefined; } export interface ExternalBedrockKnowledgeBaseConfig { bedrockKnowledgeBaseArn: string | undefined; accessRoleArn: string | undefined; } export type AssistantAssociationInputData = | AssistantAssociationInputData.ExternalBedrockKnowledgeBaseConfigMember | AssistantAssociationInputData.KnowledgeBaseIdMember | AssistantAssociationInputData.$UnknownMember; export declare namespace AssistantAssociationInputData { interface KnowledgeBaseIdMember { knowledgeBaseId: string; externalBedrockKnowledgeBaseConfig?: never; $unknown?: never; } interface ExternalBedrockKnowledgeBaseConfigMember { knowledgeBaseId?: never; externalBedrockKnowledgeBaseConfig: ExternalBedrockKnowledgeBaseConfig; $unknown?: never; } interface $UnknownMember { knowledgeBaseId?: never; externalBedrockKnowledgeBaseConfig?: never; $unknown: [string, any]; } interface Visitor { knowledgeBaseId: (value: string) => T; externalBedrockKnowledgeBaseConfig: (value: ExternalBedrockKnowledgeBaseConfig) => T; _: (name: string, value: any) => T; } } export interface CreateAssistantAssociationRequest { assistantId: string | undefined; associationType: AssociationType | undefined; association: AssistantAssociationInputData | undefined; clientToken?: string | undefined; tags?: Record | undefined; } export interface KnowledgeBaseAssociationData { knowledgeBaseId?: string | undefined; knowledgeBaseArn?: string | undefined; } export type AssistantAssociationOutputData = | AssistantAssociationOutputData.ExternalBedrockKnowledgeBaseConfigMember | AssistantAssociationOutputData.KnowledgeBaseAssociationMember | AssistantAssociationOutputData.$UnknownMember; export declare namespace AssistantAssociationOutputData { interface KnowledgeBaseAssociationMember { knowledgeBaseAssociation: KnowledgeBaseAssociationData; externalBedrockKnowledgeBaseConfig?: never; $unknown?: never; } interface ExternalBedrockKnowledgeBaseConfigMember { knowledgeBaseAssociation?: never; externalBedrockKnowledgeBaseConfig: ExternalBedrockKnowledgeBaseConfig; $unknown?: never; } interface $UnknownMember { knowledgeBaseAssociation?: never; externalBedrockKnowledgeBaseConfig?: never; $unknown: [string, any]; } interface Visitor { knowledgeBaseAssociation: (value: KnowledgeBaseAssociationData) => T; externalBedrockKnowledgeBaseConfig: (value: ExternalBedrockKnowledgeBaseConfig) => T; _: (name: string, value: any) => T; } } export interface AssistantAssociationData { assistantAssociationId: string | undefined; assistantAssociationArn: string | undefined; assistantId: string | undefined; assistantArn: string | undefined; associationType: AssociationType | undefined; associationData: AssistantAssociationOutputData | undefined; tags?: Record | undefined; } export interface CreateAssistantAssociationResponse { assistantAssociation?: AssistantAssociationData | undefined; } export interface DeleteAssistantAssociationRequest { assistantAssociationId: string | undefined; assistantId: string | undefined; } export interface DeleteAssistantAssociationResponse {} export interface GetAssistantAssociationRequest { assistantAssociationId: string | undefined; assistantId: string | undefined; } export interface GetAssistantAssociationResponse { assistantAssociation?: AssistantAssociationData | undefined; } export interface ListAssistantAssociationsRequest { nextToken?: string | undefined; maxResults?: number | undefined; assistantId: string | undefined; } export interface AssistantAssociationSummary { assistantAssociationId: string | undefined; assistantAssociationArn: string | undefined; assistantId: string | undefined; assistantArn: string | undefined; associationType: AssociationType | undefined; associationData: AssistantAssociationOutputData | undefined; tags?: Record | undefined; } export interface ListAssistantAssociationsResponse { assistantAssociationSummaries: AssistantAssociationSummary[] | undefined; nextToken?: string | undefined; } export interface ServerSideEncryptionConfiguration { kmsKeyId?: string | undefined; } export interface CreateAssistantRequest { clientToken?: string | undefined; name: string | undefined; type: AssistantType | undefined; description?: string | undefined; tags?: Record | undefined; serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined; } export interface AssistantCapabilityConfiguration { type?: AssistantCapabilityType | undefined; } export interface AssistantIntegrationConfiguration { topicIntegrationArn?: string | undefined; } export interface OrchestratorConfigurationEntry { aiAgentId?: string | undefined; orchestratorUseCase: string | undefined; } export interface AssistantData { assistantId: string | undefined; assistantArn: string | undefined; name: string | undefined; type: AssistantType | undefined; status: AssistantStatus | undefined; description?: string | undefined; tags?: Record | undefined; serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined; integrationConfiguration?: AssistantIntegrationConfiguration | undefined; capabilityConfiguration?: AssistantCapabilityConfiguration | undefined; aiAgentConfiguration?: Partial> | undefined; orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined; } export interface CreateAssistantResponse { assistant?: AssistantData | undefined; } export interface DeleteAssistantRequest { assistantId: string | undefined; } export interface DeleteAssistantResponse {} export interface GetAssistantRequest { assistantId: string | undefined; } export interface GetAssistantResponse { assistant?: AssistantData | undefined; } export interface GetRecommendationsRequest { assistantId: string | undefined; sessionId: string | undefined; maxResults?: number | undefined; waitTimeSeconds?: number | undefined; nextChunkToken?: string | undefined; recommendationType?: RecommendationType | undefined; } export interface CaseSummarizationChunkDataDetails { completion?: string | undefined; nextChunkToken?: string | undefined; } export interface RankingData { relevanceScore?: number | undefined; relevanceLevel?: RelevanceLevel | undefined; } export interface Highlight { beginOffsetInclusive?: number | undefined; endOffsetExclusive?: number | undefined; } export interface DocumentText { text?: string | undefined; highlights?: Highlight[] | undefined; } export interface TextData { title?: DocumentText | undefined; excerpt?: DocumentText | undefined; } export interface ContentDataDetails { textData: TextData | undefined; rankingData: RankingData | undefined; } export interface EmailOverviewChunkDataDetails { completion?: string | undefined; nextChunkToken?: string | undefined; } export interface EmailResponseChunkDataDetails { completion?: string | undefined; nextChunkToken?: string | undefined; } export interface IntentDetectedDataDetails { intent: string | undefined; intentId: string | undefined; relevanceLevel?: RelevanceLevel | undefined; } export interface NotesChunkDataDetails { completion?: string | undefined; nextChunkToken?: string | undefined; } export interface NotesDataDetails { completion?: string | undefined; } export interface CitationSpan { beginOffsetInclusive?: number | undefined; endOffsetExclusive?: number | undefined; } export interface SourceContentDataDetails { id: string | undefined; type: SourceContentType | undefined; textData: TextData | undefined; rankingData: RankingData | undefined; citationSpan?: CitationSpan | undefined; } export interface SuggestedMessageDataDetails { messageText: string | undefined; } export interface ContentReference { knowledgeBaseArn?: string | undefined; knowledgeBaseId?: string | undefined; contentArn?: string | undefined; contentId?: string | undefined; sourceURL?: string | undefined; referenceType?: ReferenceType | undefined; } export interface GenerativeReference { modelId?: string | undefined; generationId?: string | undefined; } export interface SuggestedMessageReference { aiAgentId: string | undefined; aiAgentArn: string | undefined; } export type DataReference = | DataReference.ContentReferenceMember | DataReference.GenerativeReferenceMember | DataReference.SuggestedMessageReferenceMember | DataReference.$UnknownMember; export declare namespace DataReference { interface ContentReferenceMember { contentReference: ContentReference; generativeReference?: never; suggestedMessageReference?: never; $unknown?: never; } interface GenerativeReferenceMember { contentReference?: never; generativeReference: GenerativeReference; suggestedMessageReference?: never; $unknown?: never; } interface SuggestedMessageReferenceMember { contentReference?: never; generativeReference?: never; suggestedMessageReference: SuggestedMessageReference; $unknown?: never; } interface $UnknownMember { contentReference?: never; generativeReference?: never; suggestedMessageReference?: never; $unknown: [string, any]; } interface Visitor { contentReference: (value: ContentReference) => T; generativeReference: (value: GenerativeReference) => T; suggestedMessageReference: (value: SuggestedMessageReference) => T; _: (name: string, value: any) => T; } } export interface Document { contentReference: ContentReference | undefined; title?: DocumentText | undefined; excerpt?: DocumentText | undefined; } export interface QueryRecommendationTriggerData { text?: string | undefined; } export type RecommendationTriggerData = | RecommendationTriggerData.QueryMember | RecommendationTriggerData.$UnknownMember; export declare namespace RecommendationTriggerData { interface QueryMember { query: QueryRecommendationTriggerData; $unknown?: never; } interface $UnknownMember { query?: never; $unknown: [string, any]; } interface Visitor { query: (value: QueryRecommendationTriggerData) => T; _: (name: string, value: any) => T; } } export interface RecommendationTrigger { id: string | undefined; type: RecommendationTriggerType | undefined; source: RecommendationSourceType | undefined; data: RecommendationTriggerData | undefined; recommendationIds: string[] | undefined; } export interface ListAssistantsRequest { nextToken?: string | undefined; maxResults?: number | undefined; } export interface AssistantSummary { assistantId: string | undefined; assistantArn: string | undefined; name: string | undefined; type: AssistantType | undefined; status: AssistantStatus | undefined; description?: string | undefined; tags?: Record | undefined; serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined; integrationConfiguration?: AssistantIntegrationConfiguration | undefined; capabilityConfiguration?: AssistantCapabilityConfiguration | undefined; aiAgentConfiguration?: Partial> | undefined; orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined; } export interface ListAssistantsResponse { assistantSummaries: AssistantSummary[] | undefined; nextToken?: string | undefined; } export interface ListModelsRequest { assistantId: string | undefined; aiPromptType?: AIPromptType | undefined; modelLifecycle?: ModelLifecycle | undefined; nextToken?: string | undefined; maxResults?: number | undefined; } export interface ModelSummary { modelId: string | undefined; displayName: string | undefined; crossRegionStatus?: CrossRegionStatus | undefined; supportsPromptCaching?: boolean | undefined; supportedAIPromptTypes?: AIPromptType[] | undefined; modelLifecycle?: ModelLifecycle | undefined; legacyTimestamp?: Date | undefined; endOfLifeTimestamp?: Date | undefined; } export interface ListModelsResponse { modelSummaries: ModelSummary[] | undefined; nextToken?: string | undefined; } export interface NotifyRecommendationsReceivedRequest { assistantId: string | undefined; sessionId: string | undefined; recommendationIds: string[] | undefined; } export interface NotifyRecommendationsReceivedError { recommendationId?: string | undefined; message?: string | undefined; } export interface NotifyRecommendationsReceivedResponse { recommendationIds?: string[] | undefined; errors?: NotifyRecommendationsReceivedError[] | undefined; } export interface GenerativeContentFeedbackData { relevance: Relevance | undefined; } export type ContentFeedbackData = | ContentFeedbackData.GenerativeContentFeedbackDataMember | ContentFeedbackData.$UnknownMember; export declare namespace ContentFeedbackData { interface GenerativeContentFeedbackDataMember { generativeContentFeedbackData: GenerativeContentFeedbackData; $unknown?: never; } interface $UnknownMember { generativeContentFeedbackData?: never; $unknown: [string, any]; } interface Visitor { generativeContentFeedbackData: (value: GenerativeContentFeedbackData) => T; _: (name: string, value: any) => T; } } export interface PutFeedbackRequest { assistantId: string | undefined; targetId: string | undefined; targetType: TargetType | undefined; contentFeedback: ContentFeedbackData | undefined; } export interface PutFeedbackResponse { assistantId: string | undefined; assistantArn: string | undefined; targetId: string | undefined; targetType: TargetType | undefined; contentFeedback: ContentFeedbackData | undefined; } export interface QueryConditionItem { field: QueryConditionFieldName | undefined; comparator: QueryConditionComparisonOperator | undefined; value: string | undefined; } export type QueryCondition = QueryCondition.SingleMember | QueryCondition.$UnknownMember; export declare namespace QueryCondition { interface SingleMember { single: QueryConditionItem; $unknown?: never; } interface $UnknownMember { single?: never; $unknown: [string, any]; } interface Visitor { single: (value: QueryConditionItem) => T; _: (name: string, value: any) => T; } } export interface CaseSummarizationInputData { caseArn: string | undefined; } export interface IntentInputData { intentId: string | undefined; } export interface QueryTextInputData { text: string | undefined; } export type QueryInputData = | QueryInputData.CaseSummarizationInputDataMember | QueryInputData.IntentInputDataMember | QueryInputData.QueryTextInputDataMember | QueryInputData.$UnknownMember; export declare namespace QueryInputData { interface QueryTextInputDataMember { queryTextInputData: QueryTextInputData; intentInputData?: never; caseSummarizationInputData?: never; $unknown?: never; } interface IntentInputDataMember { queryTextInputData?: never; intentInputData: IntentInputData; caseSummarizationInputData?: never; $unknown?: never; } interface CaseSummarizationInputDataMember { queryTextInputData?: never; intentInputData?: never; caseSummarizationInputData: CaseSummarizationInputData; $unknown?: never; } interface $UnknownMember { queryTextInputData?: never; intentInputData?: never; caseSummarizationInputData?: never; $unknown: [string, any]; } interface Visitor { queryTextInputData: (value: QueryTextInputData) => T; intentInputData: (value: IntentInputData) => T; caseSummarizationInputData: (value: CaseSummarizationInputData) => T; _: (name: string, value: any) => T; } } export interface QueryAssistantRequest { assistantId: string | undefined; queryText?: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; sessionId?: string | undefined; queryCondition?: QueryCondition[] | undefined; queryInputData?: QueryInputData | undefined; overrideKnowledgeBaseSearchType?: KnowledgeBaseSearchType | undefined; } export interface RemoveAssistantAIAgentRequest { assistantId: string | undefined; aiAgentType: AIAgentType | undefined; orchestratorUseCase?: string | undefined; } export interface RemoveAssistantAIAgentResponse {} export interface FilterAttribute { key: string | undefined; value: __DocumentType | undefined; } export type KnowledgeSource = | KnowledgeSource.AssistantAssociationIdsMember | KnowledgeSource.$UnknownMember; export declare namespace KnowledgeSource { interface AssistantAssociationIdsMember { assistantAssociationIds: string[]; $unknown?: never; } interface $UnknownMember { assistantAssociationIds?: never; $unknown: [string, any]; } interface Visitor { assistantAssociationIds: (value: string[]) => T; _: (name: string, value: any) => T; } } export interface RetrieveResult { associationId: string | undefined; sourceId: string | undefined; referenceType: ReferenceType | undefined; contentText: string | undefined; } export interface RetrieveResponse { results: RetrieveResult[] | undefined; } export interface Filter { field: FilterField | undefined; operator: FilterOperator | undefined; value: string | undefined; } export interface SearchExpression { filters: Filter[] | undefined; } export interface SearchSessionsRequest { nextToken?: string | undefined; maxResults?: number | undefined; assistantId: string | undefined; searchExpression: SearchExpression | undefined; } export interface SessionSummary { sessionId: string | undefined; sessionArn: string | undefined; assistantId: string | undefined; assistantArn: string | undefined; } export interface SearchSessionsResponse { sessionSummaries: SessionSummary[] | undefined; nextToken?: string | undefined; } export interface CreateSessionRequest { clientToken?: string | undefined; assistantId: string | undefined; name: string | undefined; description?: string | undefined; tags?: Record | undefined; tagFilter?: TagFilter | undefined; aiAgentConfiguration?: Partial> | undefined; contactArn?: string | undefined; orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined; removeOrchestratorConfigurationList?: boolean | undefined; } export interface SessionIntegrationConfiguration { topicIntegrationArn?: string | undefined; } export interface SessionData { sessionArn: string | undefined; sessionId: string | undefined; name: string | undefined; description?: string | undefined; tags?: Record | undefined; integrationConfiguration?: SessionIntegrationConfiguration | undefined; tagFilter?: TagFilter | undefined; aiAgentConfiguration?: Partial> | undefined; origin?: Origin | undefined; orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined; } export interface CreateSessionResponse { session?: SessionData | undefined; } export interface GetNextMessageRequest { assistantId: string | undefined; sessionId: string | undefined; nextMessageToken: string | undefined; } export type RuntimeSessionDataValue = | RuntimeSessionDataValue.StringValueMember | RuntimeSessionDataValue.$UnknownMember; export declare namespace RuntimeSessionDataValue { interface StringValueMember { stringValue: string; $unknown?: never; } interface $UnknownMember { stringValue?: never; $unknown: [string, any]; } interface Visitor { stringValue: (value: string) => T; _: (name: string, value: any) => T; } } export interface RuntimeSessionData { key: string | undefined; value: RuntimeSessionDataValue | undefined; } export interface ConversationState { status: ConversationStatus | undefined; reason?: ConversationStatusReason | undefined; } export interface Citation { contentId?: string | undefined; title?: string | undefined; knowledgeBaseId?: string | undefined; citationSpan: CitationSpan | undefined; sourceURL?: string | undefined; referenceType: ReferenceType | undefined; } export interface TextMessage { value?: string | undefined; citations?: Citation[] | undefined; aiGuardrailAssessment?: AIGuardrailAssessment | undefined; } export interface ToolUseResultData { toolUseId: string | undefined; toolName: string | undefined; toolResult: __DocumentType | undefined; inputSchema?: __DocumentType | undefined; } export type MessageData = | MessageData.TextMember | MessageData.ToolUseResultMember | MessageData.$UnknownMember; export declare namespace MessageData { interface TextMember { text: TextMessage; toolUseResult?: never; $unknown?: never; } interface ToolUseResultMember { text?: never; toolUseResult: ToolUseResultData; $unknown?: never; } interface $UnknownMember { text?: never; toolUseResult?: never; $unknown: [string, any]; } interface Visitor { text: (value: TextMessage) => T; toolUseResult: (value: ToolUseResultData) => T; _: (name: string, value: any) => T; } } export interface MessageOutput { value: MessageData | undefined; messageId: string | undefined; participant: Participant | undefined; timestamp: Date | undefined; } export interface GetNextMessageResponse { type: MessageType | undefined; response: MessageOutput | undefined; requestMessageId: string | undefined; conversationState: ConversationState | undefined; nextMessageToken?: string | undefined; conversationSessionData?: RuntimeSessionData[] | undefined; chunkedResponseTerminated?: boolean | undefined; } export interface GetSessionRequest { assistantId: string | undefined; sessionId: string | undefined; } export interface GetSessionResponse { session?: SessionData | undefined; } export interface ListMessagesRequest { assistantId: string | undefined; sessionId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; filter?: MessageFilterType | undefined; } export interface ListMessagesResponse { messages: MessageOutput[] | undefined; nextToken?: string | undefined; } export interface ListSpansRequest { assistantId: string | undefined; sessionId: string | undefined; nextToken?: string | undefined; maxResults?: number | undefined; } export interface GuardrailPolicyResult { policyType: GuardrailPolicyType | undefined; action: GuardrailAction | undefined; details?: string | undefined; } export interface SpanGuardrailAssessment { guardrailId: string | undefined; guardrailName: string | undefined; source: GuardrailSource | undefined; action: GuardrailAction | undefined; policies?: GuardrailPolicyResult[] | undefined; } export interface SpanReasoningValue { value: string | undefined; } export interface SpanCitation { contentId?: string | undefined; title?: string | undefined; knowledgeBaseId?: string | undefined; knowledgeBaseArn?: string | undefined; } export interface SpanTextValue { value: string | undefined; citations?: SpanCitation[] | undefined; aiGuardrailAssessment?: AIGuardrailAssessment | undefined; } export interface SpanToolUseValue { toolUseId: string | undefined; name: string | undefined; arguments: __DocumentType | undefined; } export interface MessageConfiguration { generateFillerMessage?: boolean | undefined; generateChunkedMessage?: boolean | undefined; } export interface SelfServiceConversationHistory { turnNumber?: number | undefined; inputTranscript?: string | undefined; botResponse?: string | undefined; timestamp?: Date | undefined; } export interface ConversationContext { selfServiceConversationHistory: SelfServiceConversationHistory[] | undefined; } export interface MessageInput { value: MessageData | undefined; } export interface SendMessageRequest { assistantId: string | undefined; sessionId: string | undefined; type: MessageType | undefined; message: MessageInput | undefined; aiAgentId?: string | undefined; conversationContext?: ConversationContext | undefined; configuration?: MessageConfiguration | undefined; clientToken?: string | undefined; orchestratorUseCase?: string | undefined; metadata?: Record | undefined; originRequestId?: string | undefined; } export interface SendMessageResponse { requestMessageId: string | undefined; configuration?: MessageConfiguration | undefined; nextMessageToken: string | undefined; } export interface UpdateSessionRequest { assistantId: string | undefined; sessionId: string | undefined; description?: string | undefined; tagFilter?: TagFilter | undefined; aiAgentConfiguration?: Partial> | undefined; orchestratorConfigurationList?: OrchestratorConfigurationEntry[] | undefined; removeOrchestratorConfigurationList?: boolean | undefined; } export interface UpdateSessionResponse { session?: SessionData | undefined; } export interface UpdateSessionDataRequest { assistantId: string | undefined; sessionId: string | undefined; namespace?: SessionDataNamespace | undefined; data: RuntimeSessionData[] | undefined; } export interface UpdateSessionDataResponse { sessionArn: string | undefined; sessionId: string | undefined; namespace: SessionDataNamespace | undefined; data: RuntimeSessionData[] | undefined; } export interface UpdateAssistantAIAgentRequest { assistantId: string | undefined; aiAgentType: AIAgentType | undefined; configuration: AIAgentConfigurationData | undefined; orchestratorUseCase?: string | undefined; } export interface UpdateAssistantAIAgentResponse { assistant?: AssistantData | undefined; } export interface ParsingPrompt { parsingPromptText: string | undefined; } export interface BedrockFoundationModelConfigurationForParsing { modelArn: string | undefined; parsingPrompt?: ParsingPrompt | undefined; } export interface FixedSizeChunkingConfiguration { maxTokens: number | undefined; overlapPercentage: number | undefined; } export interface HierarchicalChunkingLevelConfiguration { maxTokens: number | undefined; } export interface HierarchicalChunkingConfiguration { levelConfigurations: HierarchicalChunkingLevelConfiguration[] | undefined; overlapTokens: number | undefined; } export interface SemanticChunkingConfiguration { maxTokens: number | undefined; bufferSize: number | undefined; breakpointPercentileThreshold: number | undefined; } export interface ChunkingConfiguration { chunkingStrategy: ChunkingStrategy | undefined; fixedSizeChunkingConfiguration?: FixedSizeChunkingConfiguration | undefined; hierarchicalChunkingConfiguration?: HierarchicalChunkingConfiguration | undefined; semanticChunkingConfiguration?: SemanticChunkingConfiguration | undefined; } export interface ConnectConfiguration { instanceId?: string | undefined; } export type Configuration = Configuration.ConnectConfigurationMember | Configuration.$UnknownMember; export declare namespace Configuration { interface ConnectConfigurationMember { connectConfiguration: ConnectConfiguration; $unknown?: never; } interface $UnknownMember { connectConfiguration?: never; $unknown: [string, any]; } interface Visitor { connectConfiguration: (value: ConnectConfiguration) => T; _: (name: string, value: any) => T; } } export type ContentAssociationContents = | ContentAssociationContents.AmazonConnectGuideAssociationMember | ContentAssociationContents.$UnknownMember; export declare namespace ContentAssociationContents { interface AmazonConnectGuideAssociationMember { amazonConnectGuideAssociation: AmazonConnectGuideAssociationData; $unknown?: never; } interface $UnknownMember { amazonConnectGuideAssociation?: never; $unknown: [string, any]; } interface Visitor { amazonConnectGuideAssociation: (value: AmazonConnectGuideAssociationData) => T; _: (name: string, value: any) => T; } } export interface CreateContentAssociationRequest { clientToken?: string | undefined; knowledgeBaseId: string | undefined; contentId: string | undefined; associationType: ContentAssociationType | undefined; association: ContentAssociationContents | undefined; tags?: Record | undefined; } export interface ContentAssociationData { knowledgeBaseId: string | undefined; knowledgeBaseArn: string | undefined; contentId: string | undefined; contentArn: string | undefined; contentAssociationId: string | undefined; contentAssociationArn: string | undefined; associationType: ContentAssociationType | undefined; associationData: ContentAssociationContents | undefined; tags?: Record | undefined; } export interface CreateContentAssociationResponse { contentAssociation?: ContentAssociationData | undefined; } export interface DeleteContentAssociationRequest { knowledgeBaseId: string | undefined; contentId: string | undefined; contentAssociationId: string | undefined; } export interface DeleteContentAssociationResponse {} export interface GetContentAssociationRequest { knowledgeBaseId: string | undefined; contentId: string | undefined; contentAssociationId: string | undefined; } export interface GetContentAssociationResponse { contentAssociation?: ContentAssociationData | undefined; } export interface ListContentAssociationsRequest { nextToken?: string | undefined; maxResults?: number | undefined; knowledgeBaseId: string | undefined; contentId: string | undefined; } export interface ContentAssociationSummary { knowledgeBaseId: string | undefined; knowledgeBaseArn: string | undefined; contentId: string | undefined; contentArn: string | undefined; contentAssociationId: string | undefined; contentAssociationArn: string | undefined; associationType: ContentAssociationType | undefined; associationData: ContentAssociationContents | undefined; tags?: Record | undefined; } export interface ListContentAssociationsResponse { contentAssociationSummaries: ContentAssociationSummary[] | undefined; nextToken?: string | undefined; } export interface CreateContentRequest { knowledgeBaseId: string | undefined; name: string | undefined; title?: string | undefined; overrideLinkOutUri?: string | undefined; metadata?: Record | undefined; uploadId: string | undefined; clientToken?: string | undefined; tags?: Record | undefined; } export interface ContentData { contentArn: string | undefined; contentId: string | undefined; knowledgeBaseArn: string | undefined; knowledgeBaseId: string | undefined; name: string | undefined; revisionId: string | undefined; title: string | undefined; contentType: string | undefined; status: ContentStatus | undefined; metadata: Record | undefined; tags?: Record | undefined; linkOutUri?: string | undefined; url: string | undefined; urlExpiry: Date | undefined; } export interface CreateContentResponse { content?: ContentData | undefined; } export interface DeleteContentRequest { knowledgeBaseId: string | undefined; contentId: string | undefined; } export interface DeleteContentResponse {} export interface GetContentRequest { contentId: string | undefined; knowledgeBaseId: string | undefined; } export interface GetContentResponse { content?: ContentData | undefined; } export interface GetContentSummaryRequest { contentId: string | undefined; knowledgeBaseId: string | undefined; } export interface ContentSummary { contentArn: string | undefined; contentId: string | undefined; knowledgeBaseArn: string | undefined; knowledgeBaseId: string | undefined; name: string | undefined; revisionId: string | undefined; title: string | undefined; contentType: string | undefined; status: ContentStatus | undefined; metadata: Record | undefined; tags?: Record | undefined; } export interface GetContentSummaryResponse { contentSummary?: ContentSummary | undefined; } export interface ListContentsRequest { nextToken?: string | undefined; maxResults?: number | undefined; knowledgeBaseId: string | undefined; } export interface ListContentsResponse { contentSummaries: ContentSummary[] | undefined; nextToken?: string | undefined; } export interface UpdateContentRequest { knowledgeBaseId: string | undefined; contentId: string | undefined; revisionId?: string | undefined; title?: string | undefined; overrideLinkOutUri?: string | undefined; removeOverrideLinkOutUri?: boolean | undefined; metadata?: Record | undefined; uploadId?: string | undefined; } export interface UpdateContentResponse { content?: ContentData | undefined; } export interface RenderingConfiguration { templateUri?: string | undefined; } export interface WebCrawlerLimits { rateLimit?: number | undefined; } export interface SeedUrl { url?: string | undefined; } export interface UrlConfiguration { seedUrls?: SeedUrl[] | undefined; } export interface WebCrawlerConfiguration { urlConfiguration: UrlConfiguration | undefined; crawlerLimits?: WebCrawlerLimits | undefined; inclusionFilters?: string[] | undefined; exclusionFilters?: string[] | undefined; scope?: WebScopeType | undefined; } export type ManagedSourceConfiguration = | ManagedSourceConfiguration.WebCrawlerConfigurationMember | ManagedSourceConfiguration.$UnknownMember; export declare namespace ManagedSourceConfiguration { interface WebCrawlerConfigurationMember { webCrawlerConfiguration: WebCrawlerConfiguration; $unknown?: never; } interface $UnknownMember { webCrawlerConfiguration?: never; $unknown: [string, any]; } interface Visitor { webCrawlerConfiguration: (value: WebCrawlerConfiguration) => T; _: (name: string, value: any) => T; } } export type SourceConfiguration = | SourceConfiguration.AppIntegrationsMember | SourceConfiguration.ManagedSourceConfigurationMember | SourceConfiguration.$UnknownMember; export declare namespace SourceConfiguration { interface AppIntegrationsMember { appIntegrations: AppIntegrationsConfiguration; managedSourceConfiguration?: never; $unknown?: never; } interface ManagedSourceConfigurationMember { appIntegrations?: never; managedSourceConfiguration: ManagedSourceConfiguration; $unknown?: never; } interface $UnknownMember { appIntegrations?: never; managedSourceConfiguration?: never; $unknown: [string, any]; } interface Visitor { appIntegrations: (value: AppIntegrationsConfiguration) => T; managedSourceConfiguration: (value: ManagedSourceConfiguration) => T; _: (name: string, value: any) => T; } } export interface ParsingConfiguration { parsingStrategy: ParsingStrategy | undefined; bedrockFoundationModelConfiguration?: BedrockFoundationModelConfigurationForParsing | undefined; } export interface VectorIngestionConfiguration { chunkingConfiguration?: ChunkingConfiguration | undefined; parsingConfiguration?: ParsingConfiguration | undefined; } export interface CreateKnowledgeBaseRequest { clientToken?: string | undefined; name: string | undefined; knowledgeBaseType: KnowledgeBaseType | undefined; sourceConfiguration?: SourceConfiguration | undefined; renderingConfiguration?: RenderingConfiguration | undefined; vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined; serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined; description?: string | undefined; tags?: Record | undefined; } export interface KnowledgeBaseData { knowledgeBaseId: string | undefined; knowledgeBaseArn: string | undefined; name: string | undefined; knowledgeBaseType: KnowledgeBaseType | undefined; status: KnowledgeBaseStatus | undefined; lastContentModificationTime?: Date | undefined; vectorIngestionConfiguration?: VectorIngestionConfiguration | undefined; sourceConfiguration?: SourceConfiguration | undefined; renderingConfiguration?: RenderingConfiguration | undefined; serverSideEncryptionConfiguration?: ServerSideEncryptionConfiguration | undefined; description?: string | undefined; tags?: Record | undefined; ingestionStatus?: SyncStatus | undefined; ingestionFailureReasons?: string[] | undefined; } export interface CreateKnowledgeBaseResponse { knowledgeBase?: KnowledgeBaseData | undefined; } export type MessageTemplateBodyContentProvider = | MessageTemplateBodyContentProvider.ContentMember | MessageTemplateBodyContentProvider.$UnknownMember; export declare namespace MessageTemplateBodyContentProvider { interface ContentMember { content: string; $unknown?: never; } interface $UnknownMember { content?: never; $unknown: [string, any]; } interface Visitor { content: (value: string) => T; _: (name: string, value: any) => T; } } export interface EmailMessageTemplateContentBody { plainText?: MessageTemplateBodyContentProvider | undefined; html?: MessageTemplateBodyContentProvider | undefined; } export interface EmailHeader { name?: string | undefined; value?: string | undefined; } export interface EmailMessageTemplateContent { subject?: string | undefined; body?: EmailMessageTemplateContentBody | undefined; headers?: EmailHeader[] | undefined; } export interface PushADMMessageTemplateContent { title?: string | undefined; body?: MessageTemplateBodyContentProvider | undefined; action?: PushMessageAction | undefined; sound?: string | undefined; url?: string | undefined; imageUrl?: string | undefined; imageIconUrl?: string | undefined; smallImageIconUrl?: string | undefined; rawContent?: MessageTemplateBodyContentProvider | undefined; } export interface PushAPNSMessageTemplateContent { title?: string | undefined; body?: MessageTemplateBodyContentProvider | undefined; action?: PushMessageAction | undefined; sound?: string | undefined; url?: string | undefined; mediaUrl?: string | undefined; rawContent?: MessageTemplateBodyContentProvider | undefined; } export interface PushBaiduMessageTemplateContent { title?: string | undefined; body?: MessageTemplateBodyContentProvider | undefined; action?: PushMessageAction | undefined; sound?: string | undefined; url?: string | undefined; imageUrl?: string | undefined; imageIconUrl?: string | undefined; smallImageIconUrl?: string | undefined; rawContent?: MessageTemplateBodyContentProvider | undefined; } export interface PushFCMMessageTemplateContent { title?: string | undefined; body?: MessageTemplateBodyContentProvider | undefined; action?: PushMessageAction | undefined; sound?: string | undefined; url?: string | undefined; imageUrl?: string | undefined; imageIconUrl?: string | undefined; smallImageIconUrl?: string | undefined; rawContent?: MessageTemplateBodyContentProvider | undefined; } export interface PushMessageTemplateContent { adm?: PushADMMessageTemplateContent | undefined; apns?: PushAPNSMessageTemplateContent | undefined; fcm?: PushFCMMessageTemplateContent | undefined; baidu?: PushBaiduMessageTemplateContent | undefined; } export interface SMSMessageTemplateContentBody { plainText?: MessageTemplateBodyContentProvider | undefined; } export interface SMSMessageTemplateContent { body?: SMSMessageTemplateContentBody | undefined; } export interface WhatsAppMessageTemplateContent { data?: string | undefined; } export type MessageTemplateContentProvider = | MessageTemplateContentProvider.EmailMember | MessageTemplateContentProvider.PushMember | MessageTemplateContentProvider.SmsMember | MessageTemplateContentProvider.WhatsAppMember | MessageTemplateContentProvider.$UnknownMember; export declare namespace MessageTemplateContentProvider { interface EmailMember { email: EmailMessageTemplateContent; sms?: never; whatsApp?: never; push?: never; $unknown?: never; } interface SmsMember { email?: never; sms: SMSMessageTemplateContent; whatsApp?: never; push?: never; $unknown?: never; } interface WhatsAppMember { email?: never; sms?: never; whatsApp: WhatsAppMessageTemplateContent; push?: never; $unknown?: never; } interface PushMember { email?: never; sms?: never; whatsApp?: never; push: PushMessageTemplateContent; $unknown?: never; } interface $UnknownMember { email?: never; sms?: never; whatsApp?: never; push?: never; $unknown: [string, any]; } interface Visitor { email: (value: EmailMessageTemplateContent) => T; sms: (value: SMSMessageTemplateContent) => T; whatsApp: (value: WhatsAppMessageTemplateContent) => T; push: (value: PushMessageTemplateContent) => T; _: (name: string, value: any) => T; } } export interface CustomerProfileAttributes { profileId?: string | undefined; profileARN?: string | undefined; firstName?: string | undefined; middleName?: string | undefined; lastName?: string | undefined; accountNumber?: string | undefined; emailAddress?: string | undefined; phoneNumber?: string | undefined; additionalInformation?: string | undefined; partyType?: string | undefined; businessName?: string | undefined; birthDate?: string | undefined; gender?: string | undefined; mobilePhoneNumber?: string | undefined; homePhoneNumber?: string | undefined; businessPhoneNumber?: string | undefined; businessEmailAddress?: string | undefined; address1?: string | undefined; address2?: string | undefined; address3?: string | undefined; address4?: string | undefined; city?: string | undefined; county?: string | undefined; country?: string | undefined; postalCode?: string | undefined; province?: string | undefined; state?: string | undefined; shippingAddress1?: string | undefined; shippingAddress2?: string | undefined; shippingAddress3?: string | undefined; shippingAddress4?: string | undefined; shippingCity?: string | undefined; shippingCounty?: string | undefined; shippingCountry?: string | undefined; shippingPostalCode?: string | undefined; shippingProvince?: string | undefined; shippingState?: string | undefined; mailingAddress1?: string | undefined; mailingAddress2?: string | undefined; mailingAddress3?: string | undefined; mailingAddress4?: string | undefined; mailingCity?: string | undefined; mailingCounty?: string | undefined; mailingCountry?: string | undefined; mailingPostalCode?: string | undefined; mailingProvince?: string | undefined; mailingState?: string | undefined; billingAddress1?: string | undefined; billingAddress2?: string | undefined; billingAddress3?: string | undefined; billingAddress4?: string | undefined; billingCity?: string | undefined; billingCounty?: string | undefined; billingCountry?: string | undefined; billingPostalCode?: string | undefined; billingProvince?: string | undefined; billingState?: string | undefined; custom?: Record | undefined; } export interface SystemEndpointAttributes { address?: string | undefined; } export interface SystemAttributes { name?: string | undefined; customerEndpoint?: SystemEndpointAttributes | undefined; systemEndpoint?: SystemEndpointAttributes | undefined; } export interface MessageTemplateAttributes { systemAttributes?: SystemAttributes | undefined; agentAttributes?: AgentAttributes | undefined; customerProfileAttributes?: CustomerProfileAttributes | undefined; customAttributes?: Record | undefined; } export interface GroupingConfiguration { criteria?: string | undefined; values?: string[] | undefined; } export interface WhatsAppMessageTemplateSourceConfiguration { businessAccountId: string | undefined; templateId: string | undefined; components?: string[] | undefined; } export type MessageTemplateSourceConfiguration = | MessageTemplateSourceConfiguration.WhatsAppMember | MessageTemplateSourceConfiguration.$UnknownMember; export declare namespace MessageTemplateSourceConfiguration { interface WhatsAppMember { whatsApp: WhatsAppMessageTemplateSourceConfiguration; $unknown?: never; } interface $UnknownMember { whatsApp?: never; $unknown: [string, any]; } interface Visitor { whatsApp: (value: WhatsAppMessageTemplateSourceConfiguration) => T; _: (name: string, value: any) => T; } } export interface CreateMessageTemplateRequest { knowledgeBaseId: string | undefined; name?: string | undefined; content?: MessageTemplateContentProvider | undefined; description?: string | undefined; channelSubtype: ChannelSubtype | undefined; language?: string | undefined; sourceConfiguration?: MessageTemplateSourceConfiguration | undefined; defaultAttributes?: MessageTemplateAttributes | undefined; groupingConfiguration?: GroupingConfiguration | undefined; clientToken?: string | undefined; tags?: Record | undefined; } export interface WhatsAppMessageTemplateSourceConfigurationSummary { businessAccountId: string | undefined; templateId: string | undefined; name?: string | undefined; language?: string | undefined; components?: string[] | undefined; status?: WhatsAppSourceConfigurationStatus | undefined; statusReason?: string | undefined; } export type MessageTemplateSourceConfigurationSummary = | MessageTemplateSourceConfigurationSummary.WhatsAppMember | MessageTemplateSourceConfigurationSummary.$UnknownMember; export declare namespace MessageTemplateSourceConfigurationSummary { interface WhatsAppMember { whatsApp: WhatsAppMessageTemplateSourceConfigurationSummary; $unknown?: never; } interface $UnknownMember { whatsApp?: never; $unknown: [string, any]; } interface Visitor { whatsApp: (value: WhatsAppMessageTemplateSourceConfigurationSummary) => T; _: (name: string, value: any) => T; } } export interface MessageTemplateData { messageTemplateArn: string | undefined; messageTemplateId: string | undefined; knowledgeBaseArn: string | undefined; knowledgeBaseId: string | undefined; name: string | undefined; channel?: string | undefined; channelSubtype: ChannelSubtype | undefined; createdTime: Date | undefined; lastModifiedTime: Date | undefined; lastModifiedBy: string | undefined; content?: MessageTemplateContentProvider | undefined; description?: string | undefined; language?: string | undefined; sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined; groupingConfiguration?: GroupingConfiguration | undefined; defaultAttributes?: MessageTemplateAttributes | undefined; attributeTypes?: MessageTemplateAttributeType[] | undefined; messageTemplateContentSha256: string | undefined; tags?: Record | undefined; } export interface CreateMessageTemplateResponse { messageTemplate?: MessageTemplateData | undefined; } export interface CreateMessageTemplateAttachmentRequest { knowledgeBaseId: string | undefined; messageTemplateId: string | undefined; contentDisposition: ContentDisposition | undefined; name: string | undefined; body: string | undefined; clientToken?: string | undefined; } export interface MessageTemplateAttachment { contentDisposition: ContentDisposition | undefined; name: string | undefined; uploadedTime: Date | undefined; url: string | undefined; urlExpiry: Date | undefined; attachmentId: string | undefined; } export interface CreateMessageTemplateAttachmentResponse { attachment?: MessageTemplateAttachment | undefined; } export interface CreateMessageTemplateVersionRequest { knowledgeBaseId: string | undefined; messageTemplateId: string | undefined; messageTemplateContentSha256?: string | undefined; } export interface ExtendedMessageTemplateData { messageTemplateArn: string | undefined; messageTemplateId: string | undefined; knowledgeBaseArn: string | undefined; knowledgeBaseId: string | undefined; name: string | undefined; channel?: string | undefined; channelSubtype: ChannelSubtype | undefined; createdTime: Date | undefined; lastModifiedTime: Date | undefined; lastModifiedBy: string | undefined; content?: MessageTemplateContentProvider | undefined; description?: string | undefined; language?: string | undefined; sourceConfigurationSummary?: MessageTemplateSourceConfigurationSummary | undefined; groupingConfiguration?: GroupingConfiguration | undefined; defaultAttributes?: MessageTemplateAttributes | undefined; attributeTypes?: MessageTemplateAttributeType[] | undefined; attachments?: MessageTemplateAttachment[] | undefined; isActive?: boolean | undefined; versionNumber?: number | undefined; messageTemplateContentSha256: string | undefined; tags?: Record | undefined; } export interface CreateMessageTemplateVersionResponse { messageTemplate?: ExtendedMessageTemplateData | undefined; } export type QuickResponseDataProvider = | QuickResponseDataProvider.ContentMember | QuickResponseDataProvider.$UnknownMember; export declare namespace QuickResponseDataProvider { interface ContentMember { content: string; $unknown?: never; } interface $UnknownMember { content?: never; $unknown: [string, any]; } interface Visitor { content: (value: string) => T; _: (name: string, value: any) => T; } } export interface CreateQuickResponseRequest { knowledgeBaseId: string | undefined; name: string | undefined; content: QuickResponseDataProvider | undefined; contentType?: string | undefined; groupingConfiguration?: GroupingConfiguration | undefined; description?: string | undefined; shortcutKey?: string | undefined; isActive?: boolean | undefined; channels?: string[] | undefined; language?: string | undefined; clientToken?: string | undefined; tags?: Record | undefined; } export type QuickResponseContentProvider = | QuickResponseContentProvider.ContentMember | QuickResponseContentProvider.$UnknownMember; export declare namespace QuickResponseContentProvider { interface ContentMember { content: string; $unknown?: never; } interface $UnknownMember { content?: never; $unknown: [string, any]; } interface Visitor { content: (value: string) => T; _: (name: string, value: any) => T; } }