<?php
// This file was auto-generated from sdk-root/src/data/qconnect/2020-10-19/api-2.json
return [ 'version' => '2.0', 'metadata' => [ 'apiVersion' => '2020-10-19', 'endpointPrefix' => 'wisdom', 'jsonVersion' => '1.1', 'protocol' => 'rest-json', 'protocols' => [ 'rest-json', ], 'serviceFullName' => 'Amazon Q Connect', 'serviceId' => 'QConnect', 'signatureVersion' => 'v4', 'signingName' => 'wisdom', 'uid' => 'qconnect-2020-10-19', 'auth' => [ 'aws.auth#sigv4', ], ], 'operations' => [ 'ActivateMessageTemplate' => [ 'name' => 'ActivateMessageTemplate', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/activate', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ActivateMessageTemplateRequest', ], 'output' => [ 'shape' => 'ActivateMessageTemplateResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'CreateAIAgent' => [ 'name' => 'CreateAIAgent', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiagents', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAIAgentRequest', ], 'output' => [ 'shape' => 'CreateAIAgentResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateAIAgentVersion' => [ 'name' => 'CreateAIAgentVersion', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiagents/{aiAgentId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAIAgentVersionRequest', ], 'output' => [ 'shape' => 'CreateAIAgentVersionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateAIGuardrail' => [ 'name' => 'CreateAIGuardrail', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiguardrails', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAIGuardrailRequest', ], 'output' => [ 'shape' => 'CreateAIGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateAIGuardrailVersion' => [ 'name' => 'CreateAIGuardrailVersion', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAIGuardrailVersionRequest', ], 'output' => [ 'shape' => 'CreateAIGuardrailVersionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateAIPrompt' => [ 'name' => 'CreateAIPrompt', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiprompts', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAIPromptRequest', ], 'output' => [ 'shape' => 'CreateAIPromptResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateAIPromptVersion' => [ 'name' => 'CreateAIPromptVersion', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiprompts/{aiPromptId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAIPromptVersionRequest', ], 'output' => [ 'shape' => 'CreateAIPromptVersionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateAssistant' => [ 'name' => 'CreateAssistant', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAssistantRequest', ], 'output' => [ 'shape' => 'CreateAssistantResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], ], 'idempotent' => true, ], 'CreateAssistantAssociation' => [ 'name' => 'CreateAssistantAssociation', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/associations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateAssistantAssociationRequest', ], 'output' => [ 'shape' => 'CreateAssistantAssociationResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'CreateContent' => [ 'name' => 'CreateContent', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateContentRequest', ], 'output' => [ 'shape' => 'CreateContentResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'CreateContentAssociation' => [ 'name' => 'CreateContentAssociation', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateContentAssociationRequest', ], 'output' => [ 'shape' => 'CreateContentAssociationResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'CreateKnowledgeBase' => [ 'name' => 'CreateKnowledgeBase', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateKnowledgeBaseRequest', ], 'output' => [ 'shape' => 'CreateKnowledgeBaseResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], ], 'idempotent' => true, ], 'CreateMessageTemplate' => [ 'name' => 'CreateMessageTemplate', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateMessageTemplateRequest', ], 'output' => [ 'shape' => 'CreateMessageTemplateResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateMessageTemplateAttachment' => [ 'name' => 'CreateMessageTemplateAttachment', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/attachments', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateMessageTemplateAttachmentRequest', ], 'output' => [ 'shape' => 'CreateMessageTemplateAttachmentResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'CreateMessageTemplateVersion' => [ 'name' => 'CreateMessageTemplateVersion', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateMessageTemplateVersionRequest', ], 'output' => [ 'shape' => 'CreateMessageTemplateVersionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'CreateQuickResponse' => [ 'name' => 'CreateQuickResponse', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/quickResponses', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateQuickResponseRequest', ], 'output' => [ 'shape' => 'CreateQuickResponseResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'CreateSession' => [ 'name' => 'CreateSession', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/sessions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'CreateSessionRequest', ], 'output' => [ 'shape' => 'CreateSessionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'DeactivateMessageTemplate' => [ 'name' => 'DeactivateMessageTemplate', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/deactivate', 'responseCode' => 200, ], 'input' => [ 'shape' => 'DeactivateMessageTemplateRequest', ], 'output' => [ 'shape' => 'DeactivateMessageTemplateResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'DeleteAIAgent' => [ 'name' => 'DeleteAIAgent', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/aiagents/{aiAgentId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteAIAgentRequest', ], 'output' => [ 'shape' => 'DeleteAIAgentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteAIAgentVersion' => [ 'name' => 'DeleteAIAgentVersion', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/aiagents/{aiAgentId}/versions/{versionNumber}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteAIAgentVersionRequest', ], 'output' => [ 'shape' => 'DeleteAIAgentVersionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteAIGuardrail' => [ 'name' => 'DeleteAIGuardrail', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/aiguardrails/{aiGuardrailId}', 'responseCode' => 202, ], 'input' => [ 'shape' => 'DeleteAIGuardrailRequest', ], 'output' => [ 'shape' => 'DeleteAIGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteAIGuardrailVersion' => [ 'name' => 'DeleteAIGuardrailVersion', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions/{versionNumber}', 'responseCode' => 202, ], 'input' => [ 'shape' => 'DeleteAIGuardrailVersionRequest', ], 'output' => [ 'shape' => 'DeleteAIGuardrailVersionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteAIPrompt' => [ 'name' => 'DeleteAIPrompt', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/aiprompts/{aiPromptId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteAIPromptRequest', ], 'output' => [ 'shape' => 'DeleteAIPromptResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteAIPromptVersion' => [ 'name' => 'DeleteAIPromptVersion', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/aiprompts/{aiPromptId}/versions/{versionNumber}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteAIPromptVersionRequest', ], 'output' => [ 'shape' => 'DeleteAIPromptVersionResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteAssistant' => [ 'name' => 'DeleteAssistant', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteAssistantRequest', ], 'output' => [ 'shape' => 'DeleteAssistantResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'DeleteAssistantAssociation' => [ 'name' => 'DeleteAssistantAssociation', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/associations/{assistantAssociationId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteAssistantAssociationRequest', ], 'output' => [ 'shape' => 'DeleteAssistantAssociationResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'DeleteContent' => [ 'name' => 'DeleteContent', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteContentRequest', ], 'output' => [ 'shape' => 'DeleteContentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'DeleteContentAssociation' => [ 'name' => 'DeleteContentAssociation', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteContentAssociationRequest', ], 'output' => [ 'shape' => 'DeleteContentAssociationResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'DeleteImportJob' => [ 'name' => 'DeleteImportJob', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteImportJobRequest', ], 'output' => [ 'shape' => 'DeleteImportJobResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'DeleteKnowledgeBase' => [ 'name' => 'DeleteKnowledgeBase', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteKnowledgeBaseRequest', ], 'output' => [ 'shape' => 'DeleteKnowledgeBaseResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'DeleteMessageTemplate' => [ 'name' => 'DeleteMessageTemplate', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteMessageTemplateRequest', ], 'output' => [ 'shape' => 'DeleteMessageTemplateResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteMessageTemplateAttachment' => [ 'name' => 'DeleteMessageTemplateAttachment', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/attachments/{attachmentId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteMessageTemplateAttachmentRequest', ], 'output' => [ 'shape' => 'DeleteMessageTemplateAttachmentResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'DeleteQuickResponse' => [ 'name' => 'DeleteQuickResponse', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}', 'responseCode' => 204, ], 'input' => [ 'shape' => 'DeleteQuickResponseRequest', ], 'output' => [ 'shape' => 'DeleteQuickResponseResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'GetAIAgent' => [ 'name' => 'GetAIAgent', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiagents/{aiAgentId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetAIAgentRequest', ], 'output' => [ 'shape' => 'GetAIAgentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetAIGuardrail' => [ 'name' => 'GetAIGuardrail', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiguardrails/{aiGuardrailId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetAIGuardrailRequest', ], 'output' => [ 'shape' => 'GetAIGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetAIPrompt' => [ 'name' => 'GetAIPrompt', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiprompts/{aiPromptId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetAIPromptRequest', ], 'output' => [ 'shape' => 'GetAIPromptResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetAssistant' => [ 'name' => 'GetAssistant', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetAssistantRequest', ], 'output' => [ 'shape' => 'GetAssistantResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetAssistantAssociation' => [ 'name' => 'GetAssistantAssociation', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/associations/{assistantAssociationId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetAssistantAssociationRequest', ], 'output' => [ 'shape' => 'GetAssistantAssociationResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetContent' => [ 'name' => 'GetContent', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetContentRequest', ], 'output' => [ 'shape' => 'GetContentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetContentAssociation' => [ 'name' => 'GetContentAssociation', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations/{contentAssociationId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetContentAssociationRequest', ], 'output' => [ 'shape' => 'GetContentAssociationResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetContentSummary' => [ 'name' => 'GetContentSummary', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/summary', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetContentSummaryRequest', ], 'output' => [ 'shape' => 'GetContentSummaryResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetImportJob' => [ 'name' => 'GetImportJob', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/importJobs/{importJobId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetImportJobRequest', ], 'output' => [ 'shape' => 'GetImportJobResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetKnowledgeBase' => [ 'name' => 'GetKnowledgeBase', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetKnowledgeBaseRequest', ], 'output' => [ 'shape' => 'GetKnowledgeBaseResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetMessageTemplate' => [ 'name' => 'GetMessageTemplate', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetMessageTemplateRequest', ], 'output' => [ 'shape' => 'GetMessageTemplateResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'GetNextMessage' => [ 'name' => 'GetNextMessage', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}/messages/next', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetNextMessageRequest', ], 'output' => [ 'shape' => 'GetNextMessageResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetQuickResponse' => [ 'name' => 'GetQuickResponse', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetQuickResponseRequest', ], 'output' => [ 'shape' => 'GetQuickResponseResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'GetRecommendations' => [ 'name' => 'GetRecommendations', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}/recommendations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetRecommendationsRequest', ], 'output' => [ 'shape' => 'GetRecommendationsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'deprecated' => true, 'deprecatedMessage' => 'GetRecommendations API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.', ], 'GetSession' => [ 'name' => 'GetSession', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'GetSessionRequest', ], 'output' => [ 'shape' => 'GetSessionResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListAIAgentVersions' => [ 'name' => 'ListAIAgentVersions', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiagents/{aiAgentId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAIAgentVersionsRequest', ], 'output' => [ 'shape' => 'ListAIAgentVersionsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListAIAgents' => [ 'name' => 'ListAIAgents', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiagents', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAIAgentsRequest', ], 'output' => [ 'shape' => 'ListAIAgentsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListAIGuardrailVersions' => [ 'name' => 'ListAIGuardrailVersions', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiguardrails/{aiGuardrailId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAIGuardrailVersionsRequest', ], 'output' => [ 'shape' => 'ListAIGuardrailVersionsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListAIGuardrails' => [ 'name' => 'ListAIGuardrails', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiguardrails', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAIGuardrailsRequest', ], 'output' => [ 'shape' => 'ListAIGuardrailsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListAIPromptVersions' => [ 'name' => 'ListAIPromptVersions', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiprompts/{aiPromptId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAIPromptVersionsRequest', ], 'output' => [ 'shape' => 'ListAIPromptVersionsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListAIPrompts' => [ 'name' => 'ListAIPrompts', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/aiprompts', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAIPromptsRequest', ], 'output' => [ 'shape' => 'ListAIPromptsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListAssistantAssociations' => [ 'name' => 'ListAssistantAssociations', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/associations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAssistantAssociationsRequest', ], 'output' => [ 'shape' => 'ListAssistantAssociationsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListAssistants' => [ 'name' => 'ListAssistants', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListAssistantsRequest', ], 'output' => [ 'shape' => 'ListAssistantsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'ListContentAssociations' => [ 'name' => 'ListContentAssociations', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}/associations', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListContentAssociationsRequest', ], 'output' => [ 'shape' => 'ListContentAssociationsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListContents' => [ 'name' => 'ListContents', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListContentsRequest', ], 'output' => [ 'shape' => 'ListContentsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListImportJobs' => [ 'name' => 'ListImportJobs', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/importJobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListImportJobsRequest', ], 'output' => [ 'shape' => 'ListImportJobsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'ListKnowledgeBases' => [ 'name' => 'ListKnowledgeBases', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListKnowledgeBasesRequest', ], 'output' => [ 'shape' => 'ListKnowledgeBasesResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], ], ], 'ListMessageTemplateVersions' => [ 'name' => 'ListMessageTemplateVersions', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/versions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListMessageTemplateVersionsRequest', ], 'output' => [ 'shape' => 'ListMessageTemplateVersionsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListMessageTemplates' => [ 'name' => 'ListMessageTemplates', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListMessageTemplatesRequest', ], 'output' => [ 'shape' => 'ListMessageTemplatesResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'ListMessages' => [ 'name' => 'ListMessages', 'http' => [ 'method' => 'GET', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}/messages', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListMessagesRequest', ], 'output' => [ 'shape' => 'ListMessagesResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListQuickResponses' => [ 'name' => 'ListQuickResponses', 'http' => [ 'method' => 'GET', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/quickResponses', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListQuickResponsesRequest', ], 'output' => [ 'shape' => 'ListQuickResponsesResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'ListTagsForResource' => [ 'name' => 'ListTagsForResource', 'http' => [ 'method' => 'GET', 'requestUri' => '/tags/{resourceArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'ListTagsForResourceRequest', ], 'output' => [ 'shape' => 'ListTagsForResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], ], ], 'NotifyRecommendationsReceived' => [ 'name' => 'NotifyRecommendationsReceived', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}/recommendations/notify', 'responseCode' => 200, ], 'input' => [ 'shape' => 'NotifyRecommendationsReceivedRequest', ], 'output' => [ 'shape' => 'NotifyRecommendationsReceivedResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'PutFeedback' => [ 'name' => 'PutFeedback', 'http' => [ 'method' => 'PUT', 'requestUri' => '/assistants/{assistantId}/feedback', 'responseCode' => 200, ], 'input' => [ 'shape' => 'PutFeedbackRequest', ], 'output' => [ 'shape' => 'PutFeedbackResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'QueryAssistant' => [ 'name' => 'QueryAssistant', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/query', 'responseCode' => 200, ], 'input' => [ 'shape' => 'QueryAssistantRequest', ], 'output' => [ 'shape' => 'QueryAssistantResponse', ], 'errors' => [ [ 'shape' => 'RequestTimeoutException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'deprecated' => true, 'deprecatedMessage' => 'QueryAssistant API will be discontinued starting June 1, 2024. To receive generative responses after March 1, 2024 you will need to create a new Assistant in the Connect console and integrate the Amazon Q in Connect JavaScript library (amazon-q-connectjs) into your applications.', ], 'RemoveAssistantAIAgent' => [ 'name' => 'RemoveAssistantAIAgent', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/assistants/{assistantId}/aiagentConfiguration', 'responseCode' => 204, ], 'input' => [ 'shape' => 'RemoveAssistantAIAgentRequest', ], 'output' => [ 'shape' => 'RemoveAssistantAIAgentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'RemoveKnowledgeBaseTemplateUri' => [ 'name' => 'RemoveKnowledgeBaseTemplateUri', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/templateUri', 'responseCode' => 204, ], 'input' => [ 'shape' => 'RemoveKnowledgeBaseTemplateUriRequest', ], 'output' => [ 'shape' => 'RemoveKnowledgeBaseTemplateUriResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'RenderMessageTemplate' => [ 'name' => 'RenderMessageTemplate', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/render', 'responseCode' => 200, ], 'input' => [ 'shape' => 'RenderMessageTemplateRequest', ], 'output' => [ 'shape' => 'RenderMessageTemplateResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'SearchContent' => [ 'name' => 'SearchContent', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/search', 'responseCode' => 200, ], 'input' => [ 'shape' => 'SearchContentRequest', ], 'output' => [ 'shape' => 'SearchContentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'SearchMessageTemplates' => [ 'name' => 'SearchMessageTemplates', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/search/messageTemplates', 'responseCode' => 200, ], 'input' => [ 'shape' => 'SearchMessageTemplatesRequest', ], 'output' => [ 'shape' => 'SearchMessageTemplatesResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'SearchQuickResponses' => [ 'name' => 'SearchQuickResponses', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/search/quickResponses', 'responseCode' => 200, ], 'input' => [ 'shape' => 'SearchQuickResponsesRequest', ], 'output' => [ 'shape' => 'SearchQuickResponsesResponse', ], 'errors' => [ [ 'shape' => 'RequestTimeoutException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'SearchSessions' => [ 'name' => 'SearchSessions', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/searchSessions', 'responseCode' => 200, ], 'input' => [ 'shape' => 'SearchSessionsRequest', ], 'output' => [ 'shape' => 'SearchSessionsResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'SendMessage' => [ 'name' => 'SendMessage', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}/message', 'responseCode' => 200, ], 'input' => [ 'shape' => 'SendMessageRequest', ], 'output' => [ 'shape' => 'SendMessageResponse', ], 'errors' => [ [ 'shape' => 'RequestTimeoutException', ], [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'StartContentUpload' => [ 'name' => 'StartContentUpload', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/upload', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StartContentUploadRequest', ], 'output' => [ 'shape' => 'StartContentUploadResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'StartImportJob' => [ 'name' => 'StartImportJob', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/importJobs', 'responseCode' => 200, ], 'input' => [ 'shape' => 'StartImportJobRequest', ], 'output' => [ 'shape' => 'StartImportJobResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'ServiceQuotaExceededException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'TagResource' => [ 'name' => 'TagResource', 'http' => [ 'method' => 'POST', 'requestUri' => '/tags/{resourceArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'TagResourceRequest', ], 'output' => [ 'shape' => 'TagResourceResponse', ], 'errors' => [ [ 'shape' => 'TooManyTagsException', ], [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'UntagResource' => [ 'name' => 'UntagResource', 'http' => [ 'method' => 'DELETE', 'requestUri' => '/tags/{resourceArn}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UntagResourceRequest', ], 'output' => [ 'shape' => 'UntagResourceResponse', ], 'errors' => [ [ 'shape' => 'ResourceNotFoundException', ], ], 'idempotent' => true, ], 'UpdateAIAgent' => [ 'name' => 'UpdateAIAgent', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiagents/{aiAgentId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateAIAgentRequest', ], 'output' => [ 'shape' => 'UpdateAIAgentResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'UpdateAIGuardrail' => [ 'name' => 'UpdateAIGuardrail', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiguardrails/{aiGuardrailId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateAIGuardrailRequest', ], 'output' => [ 'shape' => 'UpdateAIGuardrailResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'UpdateAIPrompt' => [ 'name' => 'UpdateAIPrompt', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiprompts/{aiPromptId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateAIPromptRequest', ], 'output' => [ 'shape' => 'UpdateAIPromptResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], 'idempotent' => true, ], 'UpdateAssistantAIAgent' => [ 'name' => 'UpdateAssistantAIAgent', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/aiagentConfiguration', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateAssistantAIAgentRequest', ], 'output' => [ 'shape' => 'UpdateAssistantAIAgentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'UpdateContent' => [ 'name' => 'UpdateContent', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/contents/{contentId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateContentRequest', ], 'output' => [ 'shape' => 'UpdateContentResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'PreconditionFailedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'UpdateKnowledgeBaseTemplateUri' => [ 'name' => 'UpdateKnowledgeBaseTemplateUri', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/templateUri', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateKnowledgeBaseTemplateUriRequest', ], 'output' => [ 'shape' => 'UpdateKnowledgeBaseTemplateUriResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'UpdateMessageTemplate' => [ 'name' => 'UpdateMessageTemplate', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateMessageTemplateRequest', ], 'output' => [ 'shape' => 'UpdateMessageTemplateResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'UpdateMessageTemplateMetadata' => [ 'name' => 'UpdateMessageTemplateMetadata', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/messageTemplates/{messageTemplateId}/metadata', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateMessageTemplateMetadataRequest', ], 'output' => [ 'shape' => 'UpdateMessageTemplateMetadataResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], [ 'shape' => 'ThrottlingException', ], ], ], 'UpdateQuickResponse' => [ 'name' => 'UpdateQuickResponse', 'http' => [ 'method' => 'POST', 'requestUri' => '/knowledgeBases/{knowledgeBaseId}/quickResponses/{quickResponseId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateQuickResponseRequest', ], 'output' => [ 'shape' => 'UpdateQuickResponseResponse', ], 'errors' => [ [ 'shape' => 'ConflictException', ], [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'PreconditionFailedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'UpdateSession' => [ 'name' => 'UpdateSession', 'http' => [ 'method' => 'POST', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateSessionRequest', ], 'output' => [ 'shape' => 'UpdateSessionResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], 'UpdateSessionData' => [ 'name' => 'UpdateSessionData', 'http' => [ 'method' => 'PATCH', 'requestUri' => '/assistants/{assistantId}/sessions/{sessionId}/data', 'responseCode' => 200, ], 'input' => [ 'shape' => 'UpdateSessionDataRequest', ], 'output' => [ 'shape' => 'UpdateSessionDataResponse', ], 'errors' => [ [ 'shape' => 'ValidationException', ], [ 'shape' => 'AccessDeniedException', ], [ 'shape' => 'ResourceNotFoundException', ], ], ], ], 'shapes' => [ 'AIAgentAssociationConfigurationType' => [ 'type' => 'string', 'enum' => [ 'KNOWLEDGE_BASE', ], ], 'AIAgentConfiguration' => [ 'type' => 'structure', 'members' => [ 'answerRecommendationAIAgentConfiguration' => [ 'shape' => 'AnswerRecommendationAIAgentConfiguration', ], 'manualSearchAIAgentConfiguration' => [ 'shape' => 'ManualSearchAIAgentConfiguration', ], 'selfServiceAIAgentConfiguration' => [ 'shape' => 'SelfServiceAIAgentConfiguration', ], ], 'union' => true, ], 'AIAgentConfigurationData' => [ 'type' => 'structure', 'required' => [ 'aiAgentId', ], 'members' => [ 'aiAgentId' => [ 'shape' => 'UuidWithQualifier', ], ], ], 'AIAgentConfigurationMap' => [ 'type' => 'map', 'key' => [ 'shape' => 'AIAgentType', ], 'value' => [ 'shape' => 'AIAgentConfigurationData', ], ], 'AIAgentData' => [ 'type' => 'structure', 'required' => [ 'aiAgentArn', 'aiAgentId', 'assistantArn', 'assistantId', 'configuration', 'name', 'type', 'visibilityStatus', ], 'members' => [ 'aiAgentArn' => [ 'shape' => 'Arn', ], 'aiAgentId' => [ 'shape' => 'Uuid', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'configuration' => [ 'shape' => 'AIAgentConfiguration', ], 'description' => [ 'shape' => 'Description', ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], 'name' => [ 'shape' => 'Name', ], 'origin' => [ 'shape' => 'Origin', ], 'status' => [ 'shape' => 'Status', ], 'tags' => [ 'shape' => 'Tags', ], 'type' => [ 'shape' => 'AIAgentType', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'AIAgentSummary' => [ 'type' => 'structure', 'required' => [ 'aiAgentArn', 'aiAgentId', 'assistantArn', 'assistantId', 'name', 'type', 'visibilityStatus', ], 'members' => [ 'aiAgentArn' => [ 'shape' => 'Arn', ], 'aiAgentId' => [ 'shape' => 'Uuid', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'configuration' => [ 'shape' => 'AIAgentConfiguration', ], 'description' => [ 'shape' => 'Description', ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], 'name' => [ 'shape' => 'Name', ], 'origin' => [ 'shape' => 'Origin', ], 'status' => [ 'shape' => 'Status', ], 'tags' => [ 'shape' => 'Tags', ], 'type' => [ 'shape' => 'AIAgentType', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'AIAgentSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AIAgentSummary', ], ], 'AIAgentType' => [ 'type' => 'string', 'enum' => [ 'MANUAL_SEARCH', 'ANSWER_RECOMMENDATION', 'SELF_SERVICE', ], ], 'AIAgentVersionSummariesList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AIAgentVersionSummary', ], ], 'AIAgentVersionSummary' => [ 'type' => 'structure', 'members' => [ 'aiAgentSummary' => [ 'shape' => 'AIAgentSummary', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'AIGuardrailBlockedMessaging' => [ 'type' => 'string', 'max' => 500, 'min' => 1, 'sensitive' => true, ], 'AIGuardrailContentPolicyConfig' => [ 'type' => 'structure', 'required' => [ 'filtersConfig', ], 'members' => [ 'filtersConfig' => [ 'shape' => 'GuardrailContentFiltersConfig', ], ], ], 'AIGuardrailContextualGroundingPolicyConfig' => [ 'type' => 'structure', 'required' => [ 'filtersConfig', ], 'members' => [ 'filtersConfig' => [ 'shape' => 'GuardrailContextualGroundingFiltersConfig', ], ], ], 'AIGuardrailData' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailArn', 'aiGuardrailId', 'assistantArn', 'assistantId', 'blockedInputMessaging', 'blockedOutputsMessaging', 'name', 'visibilityStatus', ], 'members' => [ 'aiGuardrailArn' => [ 'shape' => 'Arn', ], 'aiGuardrailId' => [ 'shape' => 'Uuid', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'blockedInputMessaging' => [ 'shape' => 'AIGuardrailBlockedMessaging', ], 'blockedOutputsMessaging' => [ 'shape' => 'AIGuardrailBlockedMessaging', ], 'contentPolicyConfig' => [ 'shape' => 'AIGuardrailContentPolicyConfig', ], 'contextualGroundingPolicyConfig' => [ 'shape' => 'AIGuardrailContextualGroundingPolicyConfig', ], 'description' => [ 'shape' => 'AIGuardrailDescription', ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], 'name' => [ 'shape' => 'Name', ], 'sensitiveInformationPolicyConfig' => [ 'shape' => 'AIGuardrailSensitiveInformationPolicyConfig', ], 'status' => [ 'shape' => 'Status', ], 'tags' => [ 'shape' => 'Tags', ], 'topicPolicyConfig' => [ 'shape' => 'AIGuardrailTopicPolicyConfig', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], 'wordPolicyConfig' => [ 'shape' => 'AIGuardrailWordPolicyConfig', ], ], ], 'AIGuardrailDescription' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'sensitive' => true, ], 'AIGuardrailSensitiveInformationPolicyConfig' => [ 'type' => 'structure', 'members' => [ 'piiEntitiesConfig' => [ 'shape' => 'GuardrailPiiEntitiesConfig', ], 'regexesConfig' => [ 'shape' => 'GuardrailRegexesConfig', ], ], ], 'AIGuardrailSummariesList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AIGuardrailSummary', ], ], 'AIGuardrailSummary' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailArn', 'aiGuardrailId', 'assistantArn', 'assistantId', 'name', 'visibilityStatus', ], 'members' => [ 'aiGuardrailArn' => [ 'shape' => 'Arn', ], 'aiGuardrailId' => [ 'shape' => 'Uuid', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'description' => [ 'shape' => 'AIGuardrailDescription', ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], 'name' => [ 'shape' => 'Name', ], 'status' => [ 'shape' => 'Status', ], 'tags' => [ 'shape' => 'Tags', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'AIGuardrailTopicPolicyConfig' => [ 'type' => 'structure', 'required' => [ 'topicsConfig', ], 'members' => [ 'topicsConfig' => [ 'shape' => 'GuardrailTopicsConfig', ], ], ], 'AIGuardrailVersionSummariesList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AIGuardrailVersionSummary', ], ], 'AIGuardrailVersionSummary' => [ 'type' => 'structure', 'members' => [ 'aiGuardrailSummary' => [ 'shape' => 'AIGuardrailSummary', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'AIGuardrailWordPolicyConfig' => [ 'type' => 'structure', 'members' => [ 'managedWordListsConfig' => [ 'shape' => 'GuardrailManagedWordListsConfig', ], 'wordsConfig' => [ 'shape' => 'GuardrailWordsConfig', ], ], ], 'AIPromptAPIFormat' => [ 'type' => 'string', 'enum' => [ 'ANTHROPIC_CLAUDE_MESSAGES', 'ANTHROPIC_CLAUDE_TEXT_COMPLETIONS', ], ], 'AIPromptData' => [ 'type' => 'structure', 'required' => [ 'aiPromptArn', 'aiPromptId', 'apiFormat', 'assistantArn', 'assistantId', 'modelId', 'name', 'templateConfiguration', 'templateType', 'type', 'visibilityStatus', ], 'members' => [ 'aiPromptArn' => [ 'shape' => 'Arn', ], 'aiPromptId' => [ 'shape' => 'Uuid', ], 'apiFormat' => [ 'shape' => 'AIPromptAPIFormat', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'description' => [ 'shape' => 'Description', ], 'modelId' => [ 'shape' => 'AIPromptModelIdentifier', ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], 'name' => [ 'shape' => 'Name', ], 'origin' => [ 'shape' => 'Origin', ], 'status' => [ 'shape' => 'Status', ], 'tags' => [ 'shape' => 'Tags', ], 'templateConfiguration' => [ 'shape' => 'AIPromptTemplateConfiguration', ], 'templateType' => [ 'shape' => 'AIPromptTemplateType', ], 'type' => [ 'shape' => 'AIPromptType', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'AIPromptModelIdentifier' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, ], 'AIPromptSummary' => [ 'type' => 'structure', 'required' => [ 'aiPromptArn', 'aiPromptId', 'apiFormat', 'assistantArn', 'assistantId', 'modelId', 'name', 'templateType', 'type', 'visibilityStatus', ], 'members' => [ 'aiPromptArn' => [ 'shape' => 'Arn', ], 'aiPromptId' => [ 'shape' => 'Uuid', ], 'apiFormat' => [ 'shape' => 'AIPromptAPIFormat', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'description' => [ 'shape' => 'Description', ], 'modelId' => [ 'shape' => 'AIPromptModelIdentifier', ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], 'name' => [ 'shape' => 'Name', ], 'origin' => [ 'shape' => 'Origin', ], 'status' => [ 'shape' => 'Status', ], 'tags' => [ 'shape' => 'Tags', ], 'templateType' => [ 'shape' => 'AIPromptTemplateType', ], 'type' => [ 'shape' => 'AIPromptType', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'AIPromptSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AIPromptSummary', ], ], 'AIPromptTemplateConfiguration' => [ 'type' => 'structure', 'members' => [ 'textFullAIPromptEditTemplateConfiguration' => [ 'shape' => 'TextFullAIPromptEditTemplateConfiguration', ], ], 'union' => true, ], 'AIPromptTemplateType' => [ 'type' => 'string', 'enum' => [ 'TEXT', ], ], 'AIPromptType' => [ 'type' => 'string', 'enum' => [ 'ANSWER_GENERATION', 'INTENT_LABELING_GENERATION', 'QUERY_REFORMULATION', 'SELF_SERVICE_PRE_PROCESSING', 'SELF_SERVICE_ANSWER_GENERATION', ], ], 'AIPromptVersionSummariesList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AIPromptVersionSummary', ], ], 'AIPromptVersionSummary' => [ 'type' => 'structure', 'members' => [ 'aiPromptSummary' => [ 'shape' => 'AIPromptSummary', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'AccessDeniedException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 403, 'senderFault' => true, ], 'exception' => true, ], 'ActivateMessageTemplateRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', 'versionNumber', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'ActivateMessageTemplateResponse' => [ 'type' => 'structure', 'required' => [ 'messageTemplateArn', 'messageTemplateId', 'versionNumber', ], 'members' => [ 'messageTemplateArn' => [ 'shape' => 'ArnWithQualifier', ], 'messageTemplateId' => [ 'shape' => 'Uuid', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'AgentAttributes' => [ 'type' => 'structure', 'members' => [ 'firstName' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'lastName' => [ 'shape' => 'MessageTemplateAttributeValue', ], ], ], 'AmazonConnectGuideAssociationData' => [ 'type' => 'structure', 'members' => [ 'flowId' => [ 'shape' => 'GenericArn', ], ], ], 'AndConditions' => [ 'type' => 'list', 'member' => [ 'shape' => 'TagCondition', ], ], 'AnswerRecommendationAIAgentConfiguration' => [ 'type' => 'structure', 'members' => [ 'answerGenerationAIGuardrailId' => [ 'shape' => 'UuidWithQualifier', ], 'answerGenerationAIPromptId' => [ 'shape' => 'UuidWithQualifier', ], 'associationConfigurations' => [ 'shape' => 'AssociationConfigurationList', ], 'intentLabelingGenerationAIPromptId' => [ 'shape' => 'UuidWithQualifier', ], 'locale' => [ 'shape' => 'NonEmptyString', ], 'queryReformulationAIPromptId' => [ 'shape' => 'UuidWithQualifier', ], ], ], 'AppIntegrationsConfiguration' => [ 'type' => 'structure', 'required' => [ 'appIntegrationArn', ], 'members' => [ 'appIntegrationArn' => [ 'shape' => 'GenericArn', ], 'objectFields' => [ 'shape' => 'ObjectFieldsList', ], ], ], 'Arn' => [ 'type' => 'string', 'pattern' => '^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$', ], 'ArnWithQualifier' => [ 'type' => 'string', 'pattern' => '^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}(:[A-Z0-9_$]+){0,1}$', ], 'AssistantAssociationData' => [ 'type' => 'structure', 'required' => [ 'assistantArn', 'assistantAssociationArn', 'assistantAssociationId', 'assistantId', 'associationData', 'associationType', ], 'members' => [ 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantAssociationArn' => [ 'shape' => 'Arn', ], 'assistantAssociationId' => [ 'shape' => 'Uuid', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'associationData' => [ 'shape' => 'AssistantAssociationOutputData', ], 'associationType' => [ 'shape' => 'AssociationType', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'AssistantAssociationInputData' => [ 'type' => 'structure', 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], ], 'union' => true, ], 'AssistantAssociationOutputData' => [ 'type' => 'structure', 'members' => [ 'knowledgeBaseAssociation' => [ 'shape' => 'KnowledgeBaseAssociationData', ], ], 'union' => true, ], 'AssistantAssociationSummary' => [ 'type' => 'structure', 'required' => [ 'assistantArn', 'assistantAssociationArn', 'assistantAssociationId', 'assistantId', 'associationData', 'associationType', ], 'members' => [ 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantAssociationArn' => [ 'shape' => 'Arn', ], 'assistantAssociationId' => [ 'shape' => 'Uuid', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'associationData' => [ 'shape' => 'AssistantAssociationOutputData', ], 'associationType' => [ 'shape' => 'AssociationType', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'AssistantAssociationSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AssistantAssociationSummary', ], ], 'AssistantCapabilityConfiguration' => [ 'type' => 'structure', 'members' => [ 'type' => [ 'shape' => 'AssistantCapabilityType', ], ], ], 'AssistantCapabilityType' => [ 'type' => 'string', 'enum' => [ 'V1', 'V2', ], ], 'AssistantData' => [ 'type' => 'structure', 'required' => [ 'assistantArn', 'assistantId', 'name', 'status', 'type', ], 'members' => [ 'aiAgentConfiguration' => [ 'shape' => 'AIAgentConfigurationMap', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'capabilityConfiguration' => [ 'shape' => 'AssistantCapabilityConfiguration', ], 'description' => [ 'shape' => 'Description', ], 'integrationConfiguration' => [ 'shape' => 'AssistantIntegrationConfiguration', ], 'name' => [ 'shape' => 'Name', ], 'serverSideEncryptionConfiguration' => [ 'shape' => 'ServerSideEncryptionConfiguration', ], 'status' => [ 'shape' => 'AssistantStatus', ], 'tags' => [ 'shape' => 'Tags', ], 'type' => [ 'shape' => 'AssistantType', ], ], ], 'AssistantIntegrationConfiguration' => [ 'type' => 'structure', 'members' => [ 'topicIntegrationArn' => [ 'shape' => 'GenericArn', ], ], ], 'AssistantList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AssistantSummary', ], ], 'AssistantStatus' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'CREATE_FAILED', 'ACTIVE', 'DELETE_IN_PROGRESS', 'DELETE_FAILED', 'DELETED', ], ], 'AssistantSummary' => [ 'type' => 'structure', 'required' => [ 'assistantArn', 'assistantId', 'name', 'status', 'type', ], 'members' => [ 'aiAgentConfiguration' => [ 'shape' => 'AIAgentConfigurationMap', ], 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'capabilityConfiguration' => [ 'shape' => 'AssistantCapabilityConfiguration', ], 'description' => [ 'shape' => 'Description', ], 'integrationConfiguration' => [ 'shape' => 'AssistantIntegrationConfiguration', ], 'name' => [ 'shape' => 'Name', ], 'serverSideEncryptionConfiguration' => [ 'shape' => 'ServerSideEncryptionConfiguration', ], 'status' => [ 'shape' => 'AssistantStatus', ], 'tags' => [ 'shape' => 'Tags', ], 'type' => [ 'shape' => 'AssistantType', ], ], ], 'AssistantType' => [ 'type' => 'string', 'enum' => [ 'AGENT', ], ], 'AssociationConfiguration' => [ 'type' => 'structure', 'members' => [ 'associationConfigurationData' => [ 'shape' => 'AssociationConfigurationData', ], 'associationId' => [ 'shape' => 'Uuid', ], 'associationType' => [ 'shape' => 'AIAgentAssociationConfigurationType', ], ], ], 'AssociationConfigurationData' => [ 'type' => 'structure', 'members' => [ 'knowledgeBaseAssociationConfigurationData' => [ 'shape' => 'KnowledgeBaseAssociationConfigurationData', ], ], 'union' => true, ], 'AssociationConfigurationList' => [ 'type' => 'list', 'member' => [ 'shape' => 'AssociationConfiguration', ], ], 'AssociationType' => [ 'type' => 'string', 'enum' => [ 'KNOWLEDGE_BASE', ], ], 'AttachmentFileName' => [ 'type' => 'string', 'max' => 256, 'min' => 1, 'pattern' => '^[\\p{L}\\p{M}\\p{N}_\\s&@()+,;=\\-]+\\.[A-Za-z0-9]+$', 'sensitive' => true, ], 'BedrockFoundationModelConfigurationForParsing' => [ 'type' => 'structure', 'required' => [ 'modelArn', ], 'members' => [ 'modelArn' => [ 'shape' => 'BedrockModelArnForParsing', ], 'parsingPrompt' => [ 'shape' => 'ParsingPrompt', ], ], ], 'BedrockModelArnForParsing' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/anthropic.claude-3-haiku-20240307-v1:0$', ], 'Boolean' => [ 'type' => 'boolean', 'box' => true, ], 'Channel' => [ 'type' => 'string', 'max' => 10, 'min' => 1, 'sensitive' => true, ], 'ChannelSubtype' => [ 'type' => 'string', 'enum' => [ 'EMAIL', 'SMS', ], ], 'Channels' => [ 'type' => 'list', 'member' => [ 'shape' => 'Channel', ], ], 'ChunkingConfiguration' => [ 'type' => 'structure', 'required' => [ 'chunkingStrategy', ], 'members' => [ 'chunkingStrategy' => [ 'shape' => 'ChunkingStrategy', ], 'fixedSizeChunkingConfiguration' => [ 'shape' => 'FixedSizeChunkingConfiguration', ], 'hierarchicalChunkingConfiguration' => [ 'shape' => 'HierarchicalChunkingConfiguration', ], 'semanticChunkingConfiguration' => [ 'shape' => 'SemanticChunkingConfiguration', ], ], ], 'ChunkingStrategy' => [ 'type' => 'string', 'enum' => [ 'FIXED_SIZE', 'NONE', 'HIERARCHICAL', 'SEMANTIC', ], ], 'CitationSpan' => [ 'type' => 'structure', 'members' => [ 'beginOffsetInclusive' => [ 'shape' => 'CitationSpanOffset', ], 'endOffsetExclusive' => [ 'shape' => 'CitationSpanOffset', ], ], ], 'CitationSpanOffset' => [ 'type' => 'integer', ], 'ClientToken' => [ 'type' => 'string', 'max' => 4096, 'min' => 1, ], 'Configuration' => [ 'type' => 'structure', 'members' => [ 'connectConfiguration' => [ 'shape' => 'ConnectConfiguration', ], ], 'union' => true, ], 'ConflictException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 409, 'senderFault' => true, ], 'exception' => true, ], 'ConnectConfiguration' => [ 'type' => 'structure', 'members' => [ 'instanceId' => [ 'shape' => 'NonEmptyString', ], ], ], 'ContactAttributeKey' => [ 'type' => 'string', ], 'ContactAttributeKeys' => [ 'type' => 'list', 'member' => [ 'shape' => 'ContactAttributeKey', ], 'sensitive' => true, ], 'ContactAttributeValue' => [ 'type' => 'string', ], 'ContactAttributes' => [ 'type' => 'map', 'key' => [ 'shape' => 'ContactAttributeKey', ], 'value' => [ 'shape' => 'ContactAttributeValue', ], 'sensitive' => true, ], 'ContentAssociationContents' => [ 'type' => 'structure', 'members' => [ 'amazonConnectGuideAssociation' => [ 'shape' => 'AmazonConnectGuideAssociationData', ], ], 'union' => true, ], 'ContentAssociationData' => [ 'type' => 'structure', 'required' => [ 'associationData', 'associationType', 'contentArn', 'contentAssociationArn', 'contentAssociationId', 'contentId', 'knowledgeBaseArn', 'knowledgeBaseId', ], 'members' => [ 'associationData' => [ 'shape' => 'ContentAssociationContents', ], 'associationType' => [ 'shape' => 'ContentAssociationType', ], 'contentArn' => [ 'shape' => 'Arn', ], 'contentAssociationArn' => [ 'shape' => 'Arn', ], 'contentAssociationId' => [ 'shape' => 'Uuid', ], 'contentId' => [ 'shape' => 'Uuid', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'ContentAssociationSummary' => [ 'type' => 'structure', 'required' => [ 'associationData', 'associationType', 'contentArn', 'contentAssociationArn', 'contentAssociationId', 'contentId', 'knowledgeBaseArn', 'knowledgeBaseId', ], 'members' => [ 'associationData' => [ 'shape' => 'ContentAssociationContents', ], 'associationType' => [ 'shape' => 'ContentAssociationType', ], 'contentArn' => [ 'shape' => 'Arn', ], 'contentAssociationArn' => [ 'shape' => 'Arn', ], 'contentAssociationId' => [ 'shape' => 'Uuid', ], 'contentId' => [ 'shape' => 'Uuid', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'ContentAssociationSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ContentAssociationSummary', ], ], 'ContentAssociationType' => [ 'type' => 'string', 'enum' => [ 'AMAZON_CONNECT_GUIDE', ], ], 'ContentData' => [ 'type' => 'structure', 'required' => [ 'contentArn', 'contentId', 'contentType', 'knowledgeBaseArn', 'knowledgeBaseId', 'metadata', 'name', 'revisionId', 'status', 'title', 'url', 'urlExpiry', ], 'members' => [ 'contentArn' => [ 'shape' => 'Arn', ], 'contentId' => [ 'shape' => 'Uuid', ], 'contentType' => [ 'shape' => 'ContentType', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'linkOutUri' => [ 'shape' => 'Uri', ], 'metadata' => [ 'shape' => 'ContentMetadata', ], 'name' => [ 'shape' => 'Name', ], 'revisionId' => [ 'shape' => 'NonEmptyString', ], 'status' => [ 'shape' => 'ContentStatus', ], 'tags' => [ 'shape' => 'Tags', ], 'title' => [ 'shape' => 'ContentTitle', ], 'url' => [ 'shape' => 'Url', ], 'urlExpiry' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], ], ], 'ContentDataDetails' => [ 'type' => 'structure', 'required' => [ 'rankingData', 'textData', ], 'members' => [ 'rankingData' => [ 'shape' => 'RankingData', ], 'textData' => [ 'shape' => 'TextData', ], ], ], 'ContentDisposition' => [ 'type' => 'string', 'enum' => [ 'ATTACHMENT', ], ], 'ContentFeedbackData' => [ 'type' => 'structure', 'members' => [ 'generativeContentFeedbackData' => [ 'shape' => 'GenerativeContentFeedbackData', ], ], 'union' => true, ], 'ContentMetadata' => [ 'type' => 'map', 'key' => [ 'shape' => 'NonEmptyString', ], 'value' => [ 'shape' => 'NonEmptyString', ], 'max' => 10, 'min' => 0, ], 'ContentReference' => [ 'type' => 'structure', 'members' => [ 'contentArn' => [ 'shape' => 'Arn', ], 'contentId' => [ 'shape' => 'Uuid', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'referenceType' => [ 'shape' => 'ReferenceType', ], 'sourceURL' => [ 'shape' => 'String', ], ], ], 'ContentStatus' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'CREATE_FAILED', 'ACTIVE', 'DELETE_IN_PROGRESS', 'DELETE_FAILED', 'DELETED', 'UPDATE_FAILED', ], ], 'ContentSummary' => [ 'type' => 'structure', 'required' => [ 'contentArn', 'contentId', 'contentType', 'knowledgeBaseArn', 'knowledgeBaseId', 'metadata', 'name', 'revisionId', 'status', 'title', ], 'members' => [ 'contentArn' => [ 'shape' => 'Arn', ], 'contentId' => [ 'shape' => 'Uuid', ], 'contentType' => [ 'shape' => 'ContentType', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'metadata' => [ 'shape' => 'ContentMetadata', ], 'name' => [ 'shape' => 'Name', ], 'revisionId' => [ 'shape' => 'NonEmptyString', ], 'status' => [ 'shape' => 'ContentStatus', ], 'tags' => [ 'shape' => 'Tags', ], 'title' => [ 'shape' => 'ContentTitle', ], ], ], 'ContentSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ContentSummary', ], ], 'ContentTitle' => [ 'type' => 'string', 'max' => 255, 'min' => 1, ], 'ContentType' => [ 'type' => 'string', 'pattern' => '^(text/(plain|html|csv))|(application/(pdf|vnd\\.openxmlformats-officedocument\\.wordprocessingml\\.document))|(application/x\\.wisdom-json;source=(salesforce|servicenow|zendesk))$', ], 'ConversationContext' => [ 'type' => 'structure', 'required' => [ 'selfServiceConversationHistory', ], 'members' => [ 'selfServiceConversationHistory' => [ 'shape' => 'SelfServiceConversationHistoryList', ], ], ], 'ConversationState' => [ 'type' => 'structure', 'required' => [ 'status', ], 'members' => [ 'reason' => [ 'shape' => 'ConversationStatusReason', ], 'status' => [ 'shape' => 'ConversationStatus', ], ], ], 'ConversationStatus' => [ 'type' => 'string', 'enum' => [ 'CLOSED', 'READY', 'PROCESSING', ], ], 'ConversationStatusReason' => [ 'type' => 'string', 'enum' => [ 'SUCCESS', 'FAILED', 'REJECTED', ], ], 'CreateAIAgentRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'configuration', 'name', 'type', 'visibilityStatus', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'configuration' => [ 'shape' => 'AIAgentConfiguration', ], 'description' => [ 'shape' => 'Description', ], 'name' => [ 'shape' => 'Name', ], 'tags' => [ 'shape' => 'Tags', ], 'type' => [ 'shape' => 'AIAgentType', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'CreateAIAgentResponse' => [ 'type' => 'structure', 'members' => [ 'aiAgent' => [ 'shape' => 'AIAgentData', ], ], ], 'CreateAIAgentVersionRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentId', 'assistantId', ], 'members' => [ 'aiAgentId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiAgentId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], ], ], 'CreateAIAgentVersionResponse' => [ 'type' => 'structure', 'members' => [ 'aiAgent' => [ 'shape' => 'AIAgentData', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'CreateAIGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'blockedInputMessaging', 'blockedOutputsMessaging', 'name', 'visibilityStatus', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'blockedInputMessaging' => [ 'shape' => 'AIGuardrailBlockedMessaging', ], 'blockedOutputsMessaging' => [ 'shape' => 'AIGuardrailBlockedMessaging', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'contentPolicyConfig' => [ 'shape' => 'AIGuardrailContentPolicyConfig', ], 'contextualGroundingPolicyConfig' => [ 'shape' => 'AIGuardrailContextualGroundingPolicyConfig', ], 'description' => [ 'shape' => 'AIGuardrailDescription', ], 'name' => [ 'shape' => 'Name', ], 'sensitiveInformationPolicyConfig' => [ 'shape' => 'AIGuardrailSensitiveInformationPolicyConfig', ], 'tags' => [ 'shape' => 'Tags', ], 'topicPolicyConfig' => [ 'shape' => 'AIGuardrailTopicPolicyConfig', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], 'wordPolicyConfig' => [ 'shape' => 'AIGuardrailWordPolicyConfig', ], ], ], 'CreateAIGuardrailResponse' => [ 'type' => 'structure', 'members' => [ 'aiGuardrail' => [ 'shape' => 'AIGuardrailData', ], ], ], 'CreateAIGuardrailVersionRequest' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailId', 'assistantId', ], 'members' => [ 'aiGuardrailId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiGuardrailId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], ], ], 'CreateAIGuardrailVersionResponse' => [ 'type' => 'structure', 'members' => [ 'aiGuardrail' => [ 'shape' => 'AIGuardrailData', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'CreateAIPromptRequest' => [ 'type' => 'structure', 'required' => [ 'apiFormat', 'assistantId', 'modelId', 'name', 'templateConfiguration', 'templateType', 'type', 'visibilityStatus', ], 'members' => [ 'apiFormat' => [ 'shape' => 'AIPromptAPIFormat', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'description' => [ 'shape' => 'Description', ], 'modelId' => [ 'shape' => 'AIPromptModelIdentifier', ], 'name' => [ 'shape' => 'Name', ], 'tags' => [ 'shape' => 'Tags', ], 'templateConfiguration' => [ 'shape' => 'AIPromptTemplateConfiguration', ], 'templateType' => [ 'shape' => 'AIPromptTemplateType', ], 'type' => [ 'shape' => 'AIPromptType', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'CreateAIPromptResponse' => [ 'type' => 'structure', 'members' => [ 'aiPrompt' => [ 'shape' => 'AIPromptData', ], ], ], 'CreateAIPromptVersionRequest' => [ 'type' => 'structure', 'required' => [ 'aiPromptId', 'assistantId', ], 'members' => [ 'aiPromptId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiPromptId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'modifiedTime' => [ 'shape' => 'Timestamp', ], ], ], 'CreateAIPromptVersionResponse' => [ 'type' => 'structure', 'members' => [ 'aiPrompt' => [ 'shape' => 'AIPromptData', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'CreateAssistantAssociationRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'association', 'associationType', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'association' => [ 'shape' => 'AssistantAssociationInputData', ], 'associationType' => [ 'shape' => 'AssociationType', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'CreateAssistantAssociationResponse' => [ 'type' => 'structure', 'members' => [ 'assistantAssociation' => [ 'shape' => 'AssistantAssociationData', ], ], ], 'CreateAssistantRequest' => [ 'type' => 'structure', 'required' => [ 'name', 'type', ], 'members' => [ 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'description' => [ 'shape' => 'Description', ], 'name' => [ 'shape' => 'Name', ], 'serverSideEncryptionConfiguration' => [ 'shape' => 'ServerSideEncryptionConfiguration', ], 'tags' => [ 'shape' => 'Tags', ], 'type' => [ 'shape' => 'AssistantType', ], ], ], 'CreateAssistantResponse' => [ 'type' => 'structure', 'members' => [ 'assistant' => [ 'shape' => 'AssistantData', ], ], ], 'CreateContentAssociationRequest' => [ 'type' => 'structure', 'required' => [ 'association', 'associationType', 'contentId', 'knowledgeBaseId', ], 'members' => [ 'association' => [ 'shape' => 'ContentAssociationContents', ], 'associationType' => [ 'shape' => 'ContentAssociationType', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'CreateContentAssociationResponse' => [ 'type' => 'structure', 'members' => [ 'contentAssociation' => [ 'shape' => 'ContentAssociationData', ], ], ], 'CreateContentRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'name', 'uploadId', ], 'members' => [ 'clientToken' => [ 'shape' => 'NonEmptyString', 'idempotencyToken' => true, ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'metadata' => [ 'shape' => 'ContentMetadata', ], 'name' => [ 'shape' => 'Name', ], 'overrideLinkOutUri' => [ 'shape' => 'Uri', ], 'tags' => [ 'shape' => 'Tags', ], 'title' => [ 'shape' => 'ContentTitle', ], 'uploadId' => [ 'shape' => 'UploadId', ], ], ], 'CreateContentResponse' => [ 'type' => 'structure', 'members' => [ 'content' => [ 'shape' => 'ContentData', ], ], ], 'CreateKnowledgeBaseRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseType', 'name', ], 'members' => [ 'clientToken' => [ 'shape' => 'NonEmptyString', 'idempotencyToken' => true, ], 'description' => [ 'shape' => 'Description', ], 'knowledgeBaseType' => [ 'shape' => 'KnowledgeBaseType', ], 'name' => [ 'shape' => 'Name', ], 'renderingConfiguration' => [ 'shape' => 'RenderingConfiguration', ], 'serverSideEncryptionConfiguration' => [ 'shape' => 'ServerSideEncryptionConfiguration', ], 'sourceConfiguration' => [ 'shape' => 'SourceConfiguration', ], 'tags' => [ 'shape' => 'Tags', ], 'vectorIngestionConfiguration' => [ 'shape' => 'VectorIngestionConfiguration', ], ], ], 'CreateKnowledgeBaseResponse' => [ 'type' => 'structure', 'members' => [ 'knowledgeBase' => [ 'shape' => 'KnowledgeBaseData', ], ], ], 'CreateMessageTemplateAttachmentRequest' => [ 'type' => 'structure', 'required' => [ 'body', 'contentDisposition', 'knowledgeBaseId', 'messageTemplateId', 'name', ], 'members' => [ 'body' => [ 'shape' => 'NonEmptyUnlimitedString', ], 'clientToken' => [ 'shape' => 'ClientToken', ], 'contentDisposition' => [ 'shape' => 'ContentDisposition', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], 'name' => [ 'shape' => 'AttachmentFileName', ], ], ], 'CreateMessageTemplateAttachmentResponse' => [ 'type' => 'structure', 'members' => [ 'attachment' => [ 'shape' => 'MessageTemplateAttachment', ], ], ], 'CreateMessageTemplateRequest' => [ 'type' => 'structure', 'required' => [ 'channelSubtype', 'content', 'knowledgeBaseId', 'name', ], 'members' => [ 'channelSubtype' => [ 'shape' => 'ChannelSubtype', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'content' => [ 'shape' => 'MessageTemplateContentProvider', ], 'defaultAttributes' => [ 'shape' => 'MessageTemplateAttributes', ], 'description' => [ 'shape' => 'Description', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'language' => [ 'shape' => 'LanguageCode', ], 'name' => [ 'shape' => 'Name', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'CreateMessageTemplateResponse' => [ 'type' => 'structure', 'members' => [ 'messageTemplate' => [ 'shape' => 'MessageTemplateData', ], ], ], 'CreateMessageTemplateVersionRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateContentSha256' => [ 'shape' => 'MessageTemplateContentSha256', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], ], ], 'CreateMessageTemplateVersionResponse' => [ 'type' => 'structure', 'members' => [ 'messageTemplate' => [ 'shape' => 'ExtendedMessageTemplateData', ], ], ], 'CreateQuickResponseRequest' => [ 'type' => 'structure', 'required' => [ 'content', 'knowledgeBaseId', 'name', ], 'members' => [ 'channels' => [ 'shape' => 'Channels', ], 'clientToken' => [ 'shape' => 'NonEmptyString', 'idempotencyToken' => true, ], 'content' => [ 'shape' => 'QuickResponseDataProvider', ], 'contentType' => [ 'shape' => 'QuickResponseType', ], 'description' => [ 'shape' => 'QuickResponseDescription', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'language' => [ 'shape' => 'LanguageCode', ], 'name' => [ 'shape' => 'QuickResponseName', ], 'shortcutKey' => [ 'shape' => 'ShortCutKey', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'CreateQuickResponseResponse' => [ 'type' => 'structure', 'members' => [ 'quickResponse' => [ 'shape' => 'QuickResponseData', ], ], ], 'CreateSessionRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'name', ], 'members' => [ 'aiAgentConfiguration' => [ 'shape' => 'AIAgentConfigurationMap', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'description' => [ 'shape' => 'Description', ], 'name' => [ 'shape' => 'Name', ], 'tagFilter' => [ 'shape' => 'TagFilter', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'CreateSessionResponse' => [ 'type' => 'structure', 'members' => [ 'session' => [ 'shape' => 'SessionData', ], ], ], 'CustomAttributes' => [ 'type' => 'map', 'key' => [ 'shape' => 'MessageTemplateAttributeKey', ], 'value' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'sensitive' => true, ], 'CustomerProfileAttributes' => [ 'type' => 'structure', 'members' => [ 'accountNumber' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'additionalInformation' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'address1' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'address2' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'address3' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'address4' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingAddress1' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingAddress2' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingAddress3' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingAddress4' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingCity' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingCountry' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingCounty' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingPostalCode' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingProvince' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'billingState' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'birthDate' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'businessEmailAddress' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'businessName' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'businessPhoneNumber' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'city' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'country' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'county' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'custom' => [ 'shape' => 'CustomAttributes', ], 'emailAddress' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'firstName' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'gender' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'homePhoneNumber' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'lastName' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingAddress1' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingAddress2' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingAddress3' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingAddress4' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingCity' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingCountry' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingCounty' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingPostalCode' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingProvince' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mailingState' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'middleName' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'mobilePhoneNumber' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'partyType' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'phoneNumber' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'postalCode' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'profileARN' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'profileId' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'province' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingAddress1' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingAddress2' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingAddress3' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingAddress4' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingCity' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingCountry' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingCounty' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingPostalCode' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingProvince' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'shippingState' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'state' => [ 'shape' => 'MessageTemplateAttributeValue', ], ], ], 'DataDetails' => [ 'type' => 'structure', 'members' => [ 'contentData' => [ 'shape' => 'ContentDataDetails', ], 'generativeData' => [ 'shape' => 'GenerativeDataDetails', ], 'intentDetectedData' => [ 'shape' => 'IntentDetectedDataDetails', ], 'sourceContentData' => [ 'shape' => 'SourceContentDataDetails', ], ], 'union' => true, ], 'DataReference' => [ 'type' => 'structure', 'members' => [ 'contentReference' => [ 'shape' => 'ContentReference', ], 'generativeReference' => [ 'shape' => 'GenerativeReference', ], ], 'union' => true, ], 'DataSummary' => [ 'type' => 'structure', 'required' => [ 'details', 'reference', ], 'members' => [ 'details' => [ 'shape' => 'DataDetails', ], 'reference' => [ 'shape' => 'DataReference', ], ], ], 'DataSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'DataSummary', ], ], 'DeactivateMessageTemplateRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', 'versionNumber', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'DeactivateMessageTemplateResponse' => [ 'type' => 'structure', 'required' => [ 'messageTemplateArn', 'messageTemplateId', 'versionNumber', ], 'members' => [ 'messageTemplateArn' => [ 'shape' => 'ArnWithQualifier', ], 'messageTemplateId' => [ 'shape' => 'Uuid', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'DeleteAIAgentRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentId', 'assistantId', ], 'members' => [ 'aiAgentId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiAgentId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'DeleteAIAgentResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteAIAgentVersionRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentId', 'assistantId', 'versionNumber', ], 'members' => [ 'aiAgentId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiAgentId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'versionNumber' => [ 'shape' => 'Version', 'location' => 'uri', 'locationName' => 'versionNumber', ], ], ], 'DeleteAIAgentVersionResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteAIGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailId', 'assistantId', ], 'members' => [ 'aiGuardrailId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiGuardrailId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'DeleteAIGuardrailResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteAIGuardrailVersionRequest' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailId', 'assistantId', 'versionNumber', ], 'members' => [ 'aiGuardrailId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiGuardrailId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'versionNumber' => [ 'shape' => 'Version', 'location' => 'uri', 'locationName' => 'versionNumber', ], ], ], 'DeleteAIGuardrailVersionResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteAIPromptRequest' => [ 'type' => 'structure', 'required' => [ 'aiPromptId', 'assistantId', ], 'members' => [ 'aiPromptId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiPromptId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'DeleteAIPromptResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteAIPromptVersionRequest' => [ 'type' => 'structure', 'required' => [ 'aiPromptId', 'assistantId', 'versionNumber', ], 'members' => [ 'aiPromptId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiPromptId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'versionNumber' => [ 'shape' => 'Version', 'location' => 'uri', 'locationName' => 'versionNumber', ], ], ], 'DeleteAIPromptVersionResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteAssistantAssociationRequest' => [ 'type' => 'structure', 'required' => [ 'assistantAssociationId', 'assistantId', ], 'members' => [ 'assistantAssociationId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantAssociationId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'DeleteAssistantAssociationResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteAssistantRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'DeleteAssistantResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteContentAssociationRequest' => [ 'type' => 'structure', 'required' => [ 'contentAssociationId', 'contentId', 'knowledgeBaseId', ], 'members' => [ 'contentAssociationId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentAssociationId', ], 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'DeleteContentAssociationResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteContentRequest' => [ 'type' => 'structure', 'required' => [ 'contentId', 'knowledgeBaseId', ], 'members' => [ 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'DeleteContentResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteImportJobRequest' => [ 'type' => 'structure', 'required' => [ 'importJobId', 'knowledgeBaseId', ], 'members' => [ 'importJobId' => [ 'shape' => 'Uuid', 'location' => 'uri', 'locationName' => 'importJobId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'DeleteImportJobResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteKnowledgeBaseRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'DeleteKnowledgeBaseResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteMessageTemplateAttachmentRequest' => [ 'type' => 'structure', 'required' => [ 'attachmentId', 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'attachmentId' => [ 'shape' => 'Uuid', 'location' => 'uri', 'locationName' => 'attachmentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], ], ], 'DeleteMessageTemplateAttachmentResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteMessageTemplateRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], ], ], 'DeleteMessageTemplateResponse' => [ 'type' => 'structure', 'members' => [], ], 'DeleteQuickResponseRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'quickResponseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'quickResponseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'quickResponseId', ], ], ], 'DeleteQuickResponseResponse' => [ 'type' => 'structure', 'members' => [], ], 'Description' => [ 'type' => 'string', 'max' => 255, 'min' => 1, 'pattern' => '^[a-zA-Z0-9\\s_.,-]+', ], 'Document' => [ 'type' => 'structure', 'required' => [ 'contentReference', ], 'members' => [ 'contentReference' => [ 'shape' => 'ContentReference', ], 'excerpt' => [ 'shape' => 'DocumentText', ], 'title' => [ 'shape' => 'DocumentText', ], ], ], 'DocumentText' => [ 'type' => 'structure', 'members' => [ 'highlights' => [ 'shape' => 'Highlights', ], 'text' => [ 'shape' => 'SensitiveString', ], ], ], 'EmailHeader' => [ 'type' => 'structure', 'members' => [ 'name' => [ 'shape' => 'EmailHeaderKey', ], 'value' => [ 'shape' => 'EmailHeaderValue', ], ], ], 'EmailHeaderKey' => [ 'type' => 'string', 'max' => 126, 'min' => 1, 'pattern' => '^[!-9;-@A-~]+$', ], 'EmailHeaderValue' => [ 'type' => 'string', 'max' => 870, 'min' => 1, 'pattern' => '[ -~]*', 'sensitive' => true, ], 'EmailHeaders' => [ 'type' => 'list', 'member' => [ 'shape' => 'EmailHeader', ], 'max' => 15, 'min' => 0, ], 'EmailMessageTemplateContent' => [ 'type' => 'structure', 'members' => [ 'body' => [ 'shape' => 'EmailMessageTemplateContentBody', ], 'headers' => [ 'shape' => 'EmailHeaders', ], 'subject' => [ 'shape' => 'NonEmptyUnlimitedString', ], ], ], 'EmailMessageTemplateContentBody' => [ 'type' => 'structure', 'members' => [ 'html' => [ 'shape' => 'MessageTemplateBodyContentProvider', ], 'plainText' => [ 'shape' => 'MessageTemplateBodyContentProvider', ], ], ], 'ExtendedMessageTemplateData' => [ 'type' => 'structure', 'required' => [ 'channelSubtype', 'content', 'createdTime', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedBy', 'lastModifiedTime', 'messageTemplateArn', 'messageTemplateContentSha256', 'messageTemplateId', 'name', ], 'members' => [ 'attachments' => [ 'shape' => 'MessageTemplateAttachmentList', ], 'attributeTypes' => [ 'shape' => 'MessageTemplateAttributeTypeList', ], 'channelSubtype' => [ 'shape' => 'ChannelSubtype', ], 'content' => [ 'shape' => 'MessageTemplateContentProvider', ], 'createdTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'defaultAttributes' => [ 'shape' => 'MessageTemplateAttributes', ], 'description' => [ 'shape' => 'Description', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'language' => [ 'shape' => 'LanguageCode', ], 'lastModifiedBy' => [ 'shape' => 'GenericArn', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'messageTemplateArn' => [ 'shape' => 'ArnWithQualifier', ], 'messageTemplateContentSha256' => [ 'shape' => 'MessageTemplateContentSha256', ], 'messageTemplateId' => [ 'shape' => 'Uuid', ], 'name' => [ 'shape' => 'Name', ], 'tags' => [ 'shape' => 'Tags', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'ExternalSource' => [ 'type' => 'string', 'enum' => [ 'AMAZON_CONNECT', ], ], 'ExternalSourceConfiguration' => [ 'type' => 'structure', 'required' => [ 'configuration', 'source', ], 'members' => [ 'configuration' => [ 'shape' => 'Configuration', ], 'source' => [ 'shape' => 'ExternalSource', ], ], ], 'FailureReason' => [ 'type' => 'list', 'member' => [ 'shape' => 'NonEmptyString', ], ], 'Filter' => [ 'type' => 'structure', 'required' => [ 'field', 'operator', 'value', ], 'members' => [ 'field' => [ 'shape' => 'FilterField', ], 'operator' => [ 'shape' => 'FilterOperator', ], 'value' => [ 'shape' => 'NonEmptyString', ], ], ], 'FilterField' => [ 'type' => 'string', 'enum' => [ 'NAME', ], ], 'FilterList' => [ 'type' => 'list', 'member' => [ 'shape' => 'Filter', ], ], 'FilterOperator' => [ 'type' => 'string', 'enum' => [ 'EQUALS', ], ], 'FixedSizeChunkingConfiguration' => [ 'type' => 'structure', 'required' => [ 'maxTokens', 'overlapPercentage', ], 'members' => [ 'maxTokens' => [ 'shape' => 'FixedSizeChunkingConfigurationMaxTokensInteger', ], 'overlapPercentage' => [ 'shape' => 'FixedSizeChunkingConfigurationOverlapPercentageInteger', ], ], ], 'FixedSizeChunkingConfigurationMaxTokensInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'FixedSizeChunkingConfigurationOverlapPercentageInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 99, 'min' => 1, ], 'GenerativeContentFeedbackData' => [ 'type' => 'structure', 'required' => [ 'relevance', ], 'members' => [ 'relevance' => [ 'shape' => 'Relevance', ], ], ], 'GenerativeDataDetails' => [ 'type' => 'structure', 'required' => [ 'completion', 'rankingData', 'references', ], 'members' => [ 'completion' => [ 'shape' => 'SensitiveString', ], 'rankingData' => [ 'shape' => 'RankingData', ], 'references' => [ 'shape' => 'DataSummaryList', ], ], ], 'GenerativeReference' => [ 'type' => 'structure', 'members' => [ 'generationId' => [ 'shape' => 'Uuid', ], 'modelId' => [ 'shape' => 'LlmModelId', ], ], ], 'GenericArn' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'pattern' => '^arn:[a-z-]+?:[a-z-]+?:[a-z0-9-]*?:([0-9]{12})?:[a-zA-Z0-9-:/]+$', ], 'GetAIAgentRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentId', 'assistantId', ], 'members' => [ 'aiAgentId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiAgentId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'GetAIAgentResponse' => [ 'type' => 'structure', 'members' => [ 'aiAgent' => [ 'shape' => 'AIAgentData', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'GetAIGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailId', 'assistantId', ], 'members' => [ 'aiGuardrailId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiGuardrailId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'GetAIGuardrailResponse' => [ 'type' => 'structure', 'members' => [ 'aiGuardrail' => [ 'shape' => 'AIGuardrailData', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'GetAIPromptRequest' => [ 'type' => 'structure', 'required' => [ 'aiPromptId', 'assistantId', ], 'members' => [ 'aiPromptId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiPromptId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'GetAIPromptResponse' => [ 'type' => 'structure', 'members' => [ 'aiPrompt' => [ 'shape' => 'AIPromptData', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'GetAssistantAssociationRequest' => [ 'type' => 'structure', 'required' => [ 'assistantAssociationId', 'assistantId', ], 'members' => [ 'assistantAssociationId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantAssociationId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'GetAssistantAssociationResponse' => [ 'type' => 'structure', 'members' => [ 'assistantAssociation' => [ 'shape' => 'AssistantAssociationData', ], ], ], 'GetAssistantRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'GetAssistantResponse' => [ 'type' => 'structure', 'members' => [ 'assistant' => [ 'shape' => 'AssistantData', ], ], ], 'GetContentAssociationRequest' => [ 'type' => 'structure', 'required' => [ 'contentAssociationId', 'contentId', 'knowledgeBaseId', ], 'members' => [ 'contentAssociationId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentAssociationId', ], 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'GetContentAssociationResponse' => [ 'type' => 'structure', 'members' => [ 'contentAssociation' => [ 'shape' => 'ContentAssociationData', ], ], ], 'GetContentRequest' => [ 'type' => 'structure', 'required' => [ 'contentId', 'knowledgeBaseId', ], 'members' => [ 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'GetContentResponse' => [ 'type' => 'structure', 'members' => [ 'content' => [ 'shape' => 'ContentData', ], ], ], 'GetContentSummaryRequest' => [ 'type' => 'structure', 'required' => [ 'contentId', 'knowledgeBaseId', ], 'members' => [ 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'GetContentSummaryResponse' => [ 'type' => 'structure', 'members' => [ 'contentSummary' => [ 'shape' => 'ContentSummary', ], ], ], 'GetImportJobRequest' => [ 'type' => 'structure', 'required' => [ 'importJobId', 'knowledgeBaseId', ], 'members' => [ 'importJobId' => [ 'shape' => 'Uuid', 'location' => 'uri', 'locationName' => 'importJobId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'GetImportJobResponse' => [ 'type' => 'structure', 'members' => [ 'importJob' => [ 'shape' => 'ImportJobData', ], ], ], 'GetKnowledgeBaseRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'GetKnowledgeBaseResponse' => [ 'type' => 'structure', 'members' => [ 'knowledgeBase' => [ 'shape' => 'KnowledgeBaseData', ], ], ], 'GetMessageTemplateRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], ], ], 'GetMessageTemplateResponse' => [ 'type' => 'structure', 'members' => [ 'messageTemplate' => [ 'shape' => 'ExtendedMessageTemplateData', ], ], ], 'GetNextMessageRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'nextMessageToken', 'sessionId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'nextMessageToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextMessageToken', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], ], ], 'GetNextMessageResponse' => [ 'type' => 'structure', 'required' => [ 'conversationState', 'requestMessageId', 'response', 'type', ], 'members' => [ 'conversationSessionData' => [ 'shape' => 'RuntimeSessionDataList', ], 'conversationState' => [ 'shape' => 'ConversationState', ], 'nextMessageToken' => [ 'shape' => 'NextToken', ], 'requestMessageId' => [ 'shape' => 'Uuid', ], 'response' => [ 'shape' => 'MessageOutput', ], 'type' => [ 'shape' => 'MessageType', ], ], ], 'GetQuickResponseRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'quickResponseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'quickResponseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'quickResponseId', ], ], ], 'GetQuickResponseResponse' => [ 'type' => 'structure', 'members' => [ 'quickResponse' => [ 'shape' => 'QuickResponseData', ], ], ], 'GetRecommendationsRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'sessionId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], 'waitTimeSeconds' => [ 'shape' => 'WaitTimeSeconds', 'location' => 'querystring', 'locationName' => 'waitTimeSeconds', ], ], ], 'GetRecommendationsResponse' => [ 'type' => 'structure', 'required' => [ 'recommendations', ], 'members' => [ 'recommendations' => [ 'shape' => 'RecommendationList', ], 'triggers' => [ 'shape' => 'RecommendationTriggerList', ], ], ], 'GetSessionRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'sessionId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], ], ], 'GetSessionResponse' => [ 'type' => 'structure', 'members' => [ 'session' => [ 'shape' => 'SessionData', ], ], ], 'GroupingConfiguration' => [ 'type' => 'structure', 'members' => [ 'criteria' => [ 'shape' => 'GroupingCriteria', ], 'values' => [ 'shape' => 'GroupingValues', ], ], ], 'GroupingCriteria' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'sensitive' => true, ], 'GroupingValue' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, 'sensitive' => true, ], 'GroupingValues' => [ 'type' => 'list', 'member' => [ 'shape' => 'GroupingValue', ], ], 'GuardrailContentFilterConfig' => [ 'type' => 'structure', 'required' => [ 'inputStrength', 'outputStrength', 'type', ], 'members' => [ 'inputStrength' => [ 'shape' => 'GuardrailFilterStrength', ], 'outputStrength' => [ 'shape' => 'GuardrailFilterStrength', ], 'type' => [ 'shape' => 'GuardrailContentFilterType', ], ], ], 'GuardrailContentFilterType' => [ 'type' => 'string', 'enum' => [ 'SEXUAL', 'VIOLENCE', 'HATE', 'INSULTS', 'MISCONDUCT', 'PROMPT_ATTACK', ], 'sensitive' => true, ], 'GuardrailContentFiltersConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailContentFilterConfig', ], 'max' => 6, 'min' => 1, ], 'GuardrailContextualGroundingFilterConfig' => [ 'type' => 'structure', 'required' => [ 'threshold', 'type', ], 'members' => [ 'threshold' => [ 'shape' => 'GuardrailContextualGroundingFilterThreshold', ], 'type' => [ 'shape' => 'GuardrailContextualGroundingFilterType', ], ], ], 'GuardrailContextualGroundingFilterThreshold' => [ 'type' => 'double', 'min' => 0, 'sensitive' => true, ], 'GuardrailContextualGroundingFilterType' => [ 'type' => 'string', 'enum' => [ 'GROUNDING', 'RELEVANCE', ], 'sensitive' => true, ], 'GuardrailContextualGroundingFiltersConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailContextualGroundingFilterConfig', ], 'min' => 1, ], 'GuardrailFilterStrength' => [ 'type' => 'string', 'enum' => [ 'NONE', 'LOW', 'MEDIUM', 'HIGH', ], 'sensitive' => true, ], 'GuardrailManagedWordListsConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailManagedWordsConfig', ], ], 'GuardrailManagedWordsConfig' => [ 'type' => 'structure', 'required' => [ 'type', ], 'members' => [ 'type' => [ 'shape' => 'GuardrailManagedWordsType', ], ], ], 'GuardrailManagedWordsType' => [ 'type' => 'string', 'enum' => [ 'PROFANITY', ], 'sensitive' => true, ], 'GuardrailPiiEntitiesConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailPiiEntityConfig', ], 'min' => 1, ], 'GuardrailPiiEntityConfig' => [ 'type' => 'structure', 'required' => [ 'action', 'type', ], 'members' => [ 'action' => [ 'shape' => 'GuardrailSensitiveInformationAction', ], 'type' => [ 'shape' => 'GuardrailPiiEntityType', ], ], ], 'GuardrailPiiEntityType' => [ 'type' => 'string', 'enum' => [ 'ADDRESS', 'AGE', 'AWS_ACCESS_KEY', 'AWS_SECRET_KEY', 'CA_HEALTH_NUMBER', 'CA_SOCIAL_INSURANCE_NUMBER', 'CREDIT_DEBIT_CARD_CVV', 'CREDIT_DEBIT_CARD_EXPIRY', 'CREDIT_DEBIT_CARD_NUMBER', 'DRIVER_ID', 'EMAIL', 'INTERNATIONAL_BANK_ACCOUNT_NUMBER', 'IP_ADDRESS', 'LICENSE_PLATE', 'MAC_ADDRESS', 'NAME', 'PASSWORD', 'PHONE', 'PIN', 'SWIFT_CODE', 'UK_NATIONAL_HEALTH_SERVICE_NUMBER', 'UK_NATIONAL_INSURANCE_NUMBER', 'UK_UNIQUE_TAXPAYER_REFERENCE_NUMBER', 'URL', 'USERNAME', 'US_BANK_ACCOUNT_NUMBER', 'US_BANK_ROUTING_NUMBER', 'US_INDIVIDUAL_TAX_IDENTIFICATION_NUMBER', 'US_PASSPORT_NUMBER', 'US_SOCIAL_SECURITY_NUMBER', 'VEHICLE_IDENTIFICATION_NUMBER', ], 'sensitive' => true, ], 'GuardrailRegexConfig' => [ 'type' => 'structure', 'required' => [ 'action', 'name', 'pattern', ], 'members' => [ 'action' => [ 'shape' => 'GuardrailSensitiveInformationAction', ], 'description' => [ 'shape' => 'GuardrailRegexDescription', ], 'name' => [ 'shape' => 'GuardrailRegexName', ], 'pattern' => [ 'shape' => 'GuardrailRegexPattern', ], ], ], 'GuardrailRegexDescription' => [ 'type' => 'string', 'max' => 1000, 'min' => 1, 'sensitive' => true, ], 'GuardrailRegexName' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'sensitive' => true, ], 'GuardrailRegexPattern' => [ 'type' => 'string', 'min' => 1, 'sensitive' => true, ], 'GuardrailRegexesConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailRegexConfig', ], 'min' => 1, ], 'GuardrailSensitiveInformationAction' => [ 'type' => 'string', 'enum' => [ 'BLOCK', 'ANONYMIZE', ], 'sensitive' => true, ], 'GuardrailTopicConfig' => [ 'type' => 'structure', 'required' => [ 'definition', 'name', 'type', ], 'members' => [ 'definition' => [ 'shape' => 'GuardrailTopicDefinition', ], 'examples' => [ 'shape' => 'GuardrailTopicExamples', ], 'name' => [ 'shape' => 'GuardrailTopicName', ], 'type' => [ 'shape' => 'GuardrailTopicType', ], ], ], 'GuardrailTopicDefinition' => [ 'type' => 'string', 'max' => 200, 'min' => 1, 'sensitive' => true, ], 'GuardrailTopicExample' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'sensitive' => true, ], 'GuardrailTopicExamples' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailTopicExample', ], 'min' => 0, ], 'GuardrailTopicName' => [ 'type' => 'string', 'max' => 100, 'min' => 1, 'pattern' => '^[0-9a-zA-Z-_ !?.]+$', 'sensitive' => true, ], 'GuardrailTopicType' => [ 'type' => 'string', 'enum' => [ 'DENY', ], 'sensitive' => true, ], 'GuardrailTopicsConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailTopicConfig', ], 'min' => 1, ], 'GuardrailWordConfig' => [ 'type' => 'structure', 'required' => [ 'text', ], 'members' => [ 'text' => [ 'shape' => 'GuardrailWordText', ], ], ], 'GuardrailWordText' => [ 'type' => 'string', 'min' => 1, 'sensitive' => true, ], 'GuardrailWordsConfig' => [ 'type' => 'list', 'member' => [ 'shape' => 'GuardrailWordConfig', ], 'min' => 1, ], 'Headers' => [ 'type' => 'map', 'key' => [ 'shape' => 'NonEmptyString', ], 'value' => [ 'shape' => 'NonEmptyString', ], ], 'HierarchicalChunkingConfiguration' => [ 'type' => 'structure', 'required' => [ 'levelConfigurations', 'overlapTokens', ], 'members' => [ 'levelConfigurations' => [ 'shape' => 'HierarchicalChunkingLevelConfigurations', ], 'overlapTokens' => [ 'shape' => 'HierarchicalChunkingConfigurationOverlapTokensInteger', ], ], ], 'HierarchicalChunkingConfigurationOverlapTokensInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'HierarchicalChunkingLevelConfiguration' => [ 'type' => 'structure', 'required' => [ 'maxTokens', ], 'members' => [ 'maxTokens' => [ 'shape' => 'HierarchicalChunkingLevelConfigurationMaxTokensInteger', ], ], ], 'HierarchicalChunkingLevelConfigurationMaxTokensInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 8192, 'min' => 1, ], 'HierarchicalChunkingLevelConfigurations' => [ 'type' => 'list', 'member' => [ 'shape' => 'HierarchicalChunkingLevelConfiguration', ], 'max' => 2, 'min' => 2, ], 'Highlight' => [ 'type' => 'structure', 'members' => [ 'beginOffsetInclusive' => [ 'shape' => 'HighlightOffset', ], 'endOffsetExclusive' => [ 'shape' => 'HighlightOffset', ], ], ], 'HighlightOffset' => [ 'type' => 'integer', ], 'Highlights' => [ 'type' => 'list', 'member' => [ 'shape' => 'Highlight', ], ], 'ImportJobData' => [ 'type' => 'structure', 'required' => [ 'createdTime', 'importJobId', 'importJobType', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedTime', 'status', 'uploadId', 'url', 'urlExpiry', ], 'members' => [ 'createdTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'externalSourceConfiguration' => [ 'shape' => 'ExternalSourceConfiguration', ], 'failedRecordReport' => [ 'shape' => 'Url', ], 'importJobId' => [ 'shape' => 'Uuid', ], 'importJobType' => [ 'shape' => 'ImportJobType', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'metadata' => [ 'shape' => 'ContentMetadata', ], 'status' => [ 'shape' => 'ImportJobStatus', ], 'uploadId' => [ 'shape' => 'UploadId', ], 'url' => [ 'shape' => 'Url', ], 'urlExpiry' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], ], ], 'ImportJobList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ImportJobSummary', ], ], 'ImportJobStatus' => [ 'type' => 'string', 'enum' => [ 'START_IN_PROGRESS', 'FAILED', 'COMPLETE', 'DELETE_IN_PROGRESS', 'DELETE_FAILED', 'DELETED', ], ], 'ImportJobSummary' => [ 'type' => 'structure', 'required' => [ 'createdTime', 'importJobId', 'importJobType', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedTime', 'status', 'uploadId', ], 'members' => [ 'createdTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'externalSourceConfiguration' => [ 'shape' => 'ExternalSourceConfiguration', ], 'importJobId' => [ 'shape' => 'Uuid', ], 'importJobType' => [ 'shape' => 'ImportJobType', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'metadata' => [ 'shape' => 'ContentMetadata', ], 'status' => [ 'shape' => 'ImportJobStatus', ], 'uploadId' => [ 'shape' => 'UploadId', ], ], ], 'ImportJobType' => [ 'type' => 'string', 'enum' => [ 'QUICK_RESPONSES', ], ], 'Integer' => [ 'type' => 'integer', 'box' => true, ], 'IntentDetectedDataDetails' => [ 'type' => 'structure', 'required' => [ 'intent', 'intentId', ], 'members' => [ 'intent' => [ 'shape' => 'SensitiveString', ], 'intentId' => [ 'shape' => 'Uuid', ], ], ], 'IntentInputData' => [ 'type' => 'structure', 'required' => [ 'intentId', ], 'members' => [ 'intentId' => [ 'shape' => 'Uuid', ], ], ], 'KnowledgeBaseAssociationConfigurationData' => [ 'type' => 'structure', 'members' => [ 'contentTagFilter' => [ 'shape' => 'TagFilter', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'overrideKnowledgeBaseSearchType' => [ 'shape' => 'KnowledgeBaseSearchType', ], ], ], 'KnowledgeBaseAssociationData' => [ 'type' => 'structure', 'members' => [ 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], ], ], 'KnowledgeBaseData' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseArn', 'knowledgeBaseId', 'knowledgeBaseType', 'name', 'status', ], 'members' => [ 'description' => [ 'shape' => 'Description', ], 'ingestionFailureReasons' => [ 'shape' => 'FailureReason', ], 'ingestionStatus' => [ 'shape' => 'SyncStatus', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'knowledgeBaseType' => [ 'shape' => 'KnowledgeBaseType', ], 'lastContentModificationTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'name' => [ 'shape' => 'Name', ], 'renderingConfiguration' => [ 'shape' => 'RenderingConfiguration', ], 'serverSideEncryptionConfiguration' => [ 'shape' => 'ServerSideEncryptionConfiguration', ], 'sourceConfiguration' => [ 'shape' => 'SourceConfiguration', ], 'status' => [ 'shape' => 'KnowledgeBaseStatus', ], 'tags' => [ 'shape' => 'Tags', ], 'vectorIngestionConfiguration' => [ 'shape' => 'VectorIngestionConfiguration', ], ], ], 'KnowledgeBaseList' => [ 'type' => 'list', 'member' => [ 'shape' => 'KnowledgeBaseSummary', ], ], 'KnowledgeBaseSearchType' => [ 'type' => 'string', 'enum' => [ 'HYBRID', 'SEMANTIC', ], ], 'KnowledgeBaseStatus' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'CREATE_FAILED', 'ACTIVE', 'DELETE_IN_PROGRESS', 'DELETE_FAILED', 'DELETED', ], ], 'KnowledgeBaseSummary' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseArn', 'knowledgeBaseId', 'knowledgeBaseType', 'name', 'status', ], 'members' => [ 'description' => [ 'shape' => 'Description', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'knowledgeBaseType' => [ 'shape' => 'KnowledgeBaseType', ], 'name' => [ 'shape' => 'Name', ], 'renderingConfiguration' => [ 'shape' => 'RenderingConfiguration', ], 'serverSideEncryptionConfiguration' => [ 'shape' => 'ServerSideEncryptionConfiguration', ], 'sourceConfiguration' => [ 'shape' => 'SourceConfiguration', ], 'status' => [ 'shape' => 'KnowledgeBaseStatus', ], 'tags' => [ 'shape' => 'Tags', ], 'vectorIngestionConfiguration' => [ 'shape' => 'VectorIngestionConfiguration', ], ], ], 'KnowledgeBaseType' => [ 'type' => 'string', 'enum' => [ 'EXTERNAL', 'CUSTOM', 'QUICK_RESPONSES', 'MESSAGE_TEMPLATES', 'MANAGED', ], ], 'LanguageCode' => [ 'type' => 'string', 'max' => 5, 'min' => 2, ], 'ListAIAgentVersionsRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentId', 'assistantId', ], 'members' => [ 'aiAgentId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiAgentId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'origin' => [ 'shape' => 'Origin', 'location' => 'querystring', 'locationName' => 'origin', ], ], ], 'ListAIAgentVersionsResponse' => [ 'type' => 'structure', 'required' => [ 'aiAgentVersionSummaries', ], 'members' => [ 'aiAgentVersionSummaries' => [ 'shape' => 'AIAgentVersionSummariesList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListAIAgentsRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'origin' => [ 'shape' => 'Origin', 'location' => 'querystring', 'locationName' => 'origin', ], ], ], 'ListAIAgentsResponse' => [ 'type' => 'structure', 'required' => [ 'aiAgentSummaries', ], 'members' => [ 'aiAgentSummaries' => [ 'shape' => 'AIAgentSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListAIGuardrailVersionsRequest' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailId', 'assistantId', ], 'members' => [ 'aiGuardrailId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiGuardrailId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListAIGuardrailVersionsResponse' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailVersionSummaries', ], 'members' => [ 'aiGuardrailVersionSummaries' => [ 'shape' => 'AIGuardrailVersionSummariesList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListAIGuardrailsRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListAIGuardrailsResponse' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailSummaries', ], 'members' => [ 'aiGuardrailSummaries' => [ 'shape' => 'AIGuardrailSummariesList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListAIPromptVersionsRequest' => [ 'type' => 'structure', 'required' => [ 'aiPromptId', 'assistantId', ], 'members' => [ 'aiPromptId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiPromptId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'origin' => [ 'shape' => 'Origin', 'location' => 'querystring', 'locationName' => 'origin', ], ], ], 'ListAIPromptVersionsResponse' => [ 'type' => 'structure', 'required' => [ 'aiPromptVersionSummaries', ], 'members' => [ 'aiPromptVersionSummaries' => [ 'shape' => 'AIPromptVersionSummariesList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListAIPromptsRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'origin' => [ 'shape' => 'Origin', 'location' => 'querystring', 'locationName' => 'origin', ], ], ], 'ListAIPromptsResponse' => [ 'type' => 'structure', 'required' => [ 'aiPromptSummaries', ], 'members' => [ 'aiPromptSummaries' => [ 'shape' => 'AIPromptSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListAssistantAssociationsRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListAssistantAssociationsResponse' => [ 'type' => 'structure', 'required' => [ 'assistantAssociationSummaries', ], 'members' => [ 'assistantAssociationSummaries' => [ 'shape' => 'AssistantAssociationSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListAssistantsRequest' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListAssistantsResponse' => [ 'type' => 'structure', 'required' => [ 'assistantSummaries', ], 'members' => [ 'assistantSummaries' => [ 'shape' => 'AssistantList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListContentAssociationsRequest' => [ 'type' => 'structure', 'required' => [ 'contentId', 'knowledgeBaseId', ], 'members' => [ 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListContentAssociationsResponse' => [ 'type' => 'structure', 'required' => [ 'contentAssociationSummaries', ], 'members' => [ 'contentAssociationSummaries' => [ 'shape' => 'ContentAssociationSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListContentsRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListContentsResponse' => [ 'type' => 'structure', 'required' => [ 'contentSummaries', ], 'members' => [ 'contentSummaries' => [ 'shape' => 'ContentSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListImportJobsRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NonEmptyString', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListImportJobsResponse' => [ 'type' => 'structure', 'required' => [ 'importJobSummaries', ], 'members' => [ 'importJobSummaries' => [ 'shape' => 'ImportJobList', ], 'nextToken' => [ 'shape' => 'NonEmptyString', ], ], ], 'ListKnowledgeBasesRequest' => [ 'type' => 'structure', 'members' => [ 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NonEmptyString', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListKnowledgeBasesResponse' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseSummaries', ], 'members' => [ 'knowledgeBaseSummaries' => [ 'shape' => 'KnowledgeBaseList', ], 'nextToken' => [ 'shape' => 'NonEmptyString', ], ], ], 'ListMessageTemplateVersionsRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListMessageTemplateVersionsResponse' => [ 'type' => 'structure', 'required' => [ 'messageTemplateVersionSummaries', ], 'members' => [ 'messageTemplateVersionSummaries' => [ 'shape' => 'MessageTemplateVersionSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListMessageTemplatesRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListMessageTemplatesResponse' => [ 'type' => 'structure', 'required' => [ 'messageTemplateSummaries', ], 'members' => [ 'messageTemplateSummaries' => [ 'shape' => 'MessageTemplateSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListMessagesRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'sessionId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], ], ], 'ListMessagesResponse' => [ 'type' => 'structure', 'required' => [ 'messages', ], 'members' => [ 'messages' => [ 'shape' => 'MessageList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'ListQuickResponsesRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NonEmptyString', 'location' => 'querystring', 'locationName' => 'nextToken', ], ], ], 'ListQuickResponsesResponse' => [ 'type' => 'structure', 'required' => [ 'quickResponseSummaries', ], 'members' => [ 'nextToken' => [ 'shape' => 'NonEmptyString', ], 'quickResponseSummaries' => [ 'shape' => 'QuickResponseSummaryList', ], ], ], 'ListTagsForResourceRequest' => [ 'type' => 'structure', 'required' => [ 'resourceArn', ], 'members' => [ 'resourceArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'resourceArn', ], ], ], 'ListTagsForResourceResponse' => [ 'type' => 'structure', 'members' => [ 'tags' => [ 'shape' => 'Tags', ], ], ], 'LlmModelId' => [ 'type' => 'string', 'max' => 128, 'min' => 1, ], 'ManagedSourceConfiguration' => [ 'type' => 'structure', 'members' => [ 'webCrawlerConfiguration' => [ 'shape' => 'WebCrawlerConfiguration', ], ], 'union' => true, ], 'ManualSearchAIAgentConfiguration' => [ 'type' => 'structure', 'members' => [ 'answerGenerationAIGuardrailId' => [ 'shape' => 'UuidWithQualifier', ], 'answerGenerationAIPromptId' => [ 'shape' => 'UuidWithQualifier', ], 'associationConfigurations' => [ 'shape' => 'AssociationConfigurationList', ], 'locale' => [ 'shape' => 'NonEmptyString', ], ], ], 'MaxResults' => [ 'type' => 'integer', 'box' => true, 'max' => 100, 'min' => 1, ], 'MessageData' => [ 'type' => 'structure', 'members' => [ 'text' => [ 'shape' => 'TextMessage', ], ], 'union' => true, ], 'MessageInput' => [ 'type' => 'structure', 'required' => [ 'value', ], 'members' => [ 'value' => [ 'shape' => 'MessageData', ], ], ], 'MessageList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageOutput', ], ], 'MessageOutput' => [ 'type' => 'structure', 'required' => [ 'messageId', 'participant', 'timestamp', 'value', ], 'members' => [ 'messageId' => [ 'shape' => 'Uuid', ], 'participant' => [ 'shape' => 'Participant', ], 'timestamp' => [ 'shape' => 'Timestamp', ], 'value' => [ 'shape' => 'MessageData', ], ], ], 'MessageTemplateAttachment' => [ 'type' => 'structure', 'required' => [ 'attachmentId', 'contentDisposition', 'name', 'uploadedTime', 'url', 'urlExpiry', ], 'members' => [ 'attachmentId' => [ 'shape' => 'Uuid', ], 'contentDisposition' => [ 'shape' => 'ContentDisposition', ], 'name' => [ 'shape' => 'AttachmentFileName', ], 'uploadedTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'url' => [ 'shape' => 'Url', ], 'urlExpiry' => [ 'shape' => 'SyntheticTimestamp_date_time', ], ], ], 'MessageTemplateAttachmentList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateAttachment', ], ], 'MessageTemplateAttributeKey' => [ 'type' => 'string', 'max' => 32767, 'min' => 1, ], 'MessageTemplateAttributeKeyList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateAttributeKey', ], 'sensitive' => true, ], 'MessageTemplateAttributeType' => [ 'type' => 'string', 'enum' => [ 'SYSTEM', 'AGENT', 'CUSTOMER_PROFILE', 'CUSTOM', ], ], 'MessageTemplateAttributeTypeList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateAttributeType', ], ], 'MessageTemplateAttributeValue' => [ 'type' => 'string', 'max' => 32767, 'min' => 1, 'sensitive' => true, ], 'MessageTemplateAttributes' => [ 'type' => 'structure', 'members' => [ 'agentAttributes' => [ 'shape' => 'AgentAttributes', ], 'customAttributes' => [ 'shape' => 'CustomAttributes', ], 'customerProfileAttributes' => [ 'shape' => 'CustomerProfileAttributes', ], 'systemAttributes' => [ 'shape' => 'SystemAttributes', ], ], ], 'MessageTemplateBodyContentProvider' => [ 'type' => 'structure', 'members' => [ 'content' => [ 'shape' => 'NonEmptyUnlimitedString', ], ], 'union' => true, ], 'MessageTemplateContentProvider' => [ 'type' => 'structure', 'members' => [ 'email' => [ 'shape' => 'EmailMessageTemplateContent', ], 'sms' => [ 'shape' => 'SMSMessageTemplateContent', ], ], 'union' => true, ], 'MessageTemplateContentSha256' => [ 'type' => 'string', 'max' => 64, 'min' => 1, 'pattern' => '^[a-zA-Z0-9]+$', ], 'MessageTemplateData' => [ 'type' => 'structure', 'required' => [ 'channelSubtype', 'content', 'createdTime', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedBy', 'lastModifiedTime', 'messageTemplateArn', 'messageTemplateContentSha256', 'messageTemplateId', 'name', ], 'members' => [ 'attributeTypes' => [ 'shape' => 'MessageTemplateAttributeTypeList', ], 'channelSubtype' => [ 'shape' => 'ChannelSubtype', ], 'content' => [ 'shape' => 'MessageTemplateContentProvider', ], 'createdTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'defaultAttributes' => [ 'shape' => 'MessageTemplateAttributes', ], 'description' => [ 'shape' => 'Description', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'language' => [ 'shape' => 'LanguageCode', ], 'lastModifiedBy' => [ 'shape' => 'GenericArn', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'messageTemplateArn' => [ 'shape' => 'ArnWithQualifier', ], 'messageTemplateContentSha256' => [ 'shape' => 'MessageTemplateContentSha256', ], 'messageTemplateId' => [ 'shape' => 'Uuid', ], 'name' => [ 'shape' => 'Name', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'MessageTemplateFilterField' => [ 'type' => 'structure', 'required' => [ 'name', 'operator', ], 'members' => [ 'includeNoExistence' => [ 'shape' => 'Boolean', ], 'name' => [ 'shape' => 'NonEmptyString', ], 'operator' => [ 'shape' => 'MessageTemplateFilterOperator', ], 'values' => [ 'shape' => 'MessageTemplateFilterValueList', ], ], ], 'MessageTemplateFilterFieldList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateFilterField', ], 'max' => 10, 'min' => 0, ], 'MessageTemplateFilterOperator' => [ 'type' => 'string', 'enum' => [ 'EQUALS', 'PREFIX', ], ], 'MessageTemplateFilterValue' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, ], 'MessageTemplateFilterValueList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateFilterValue', ], 'max' => 5, 'min' => 1, ], 'MessageTemplateOrderField' => [ 'type' => 'structure', 'required' => [ 'name', ], 'members' => [ 'name' => [ 'shape' => 'NonEmptyString', ], 'order' => [ 'shape' => 'Order', ], ], ], 'MessageTemplateQueryField' => [ 'type' => 'structure', 'required' => [ 'name', 'operator', 'values', ], 'members' => [ 'allowFuzziness' => [ 'shape' => 'Boolean', ], 'name' => [ 'shape' => 'NonEmptyString', ], 'operator' => [ 'shape' => 'MessageTemplateQueryOperator', ], 'priority' => [ 'shape' => 'Priority', ], 'values' => [ 'shape' => 'MessageTemplateQueryValueList', ], ], ], 'MessageTemplateQueryFieldList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateQueryField', ], 'max' => 4, 'min' => 0, ], 'MessageTemplateQueryOperator' => [ 'type' => 'string', 'enum' => [ 'CONTAINS', 'CONTAINS_AND_PREFIX', ], ], 'MessageTemplateQueryValue' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, ], 'MessageTemplateQueryValueList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateQueryValue', ], 'max' => 5, 'min' => 1, ], 'MessageTemplateSearchExpression' => [ 'type' => 'structure', 'members' => [ 'filters' => [ 'shape' => 'MessageTemplateFilterFieldList', ], 'orderOnField' => [ 'shape' => 'MessageTemplateOrderField', ], 'queries' => [ 'shape' => 'MessageTemplateQueryFieldList', ], ], ], 'MessageTemplateSearchResultData' => [ 'type' => 'structure', 'required' => [ 'channelSubtype', 'createdTime', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedBy', 'lastModifiedTime', 'messageTemplateArn', 'messageTemplateId', 'name', ], 'members' => [ 'channelSubtype' => [ 'shape' => 'ChannelSubtype', ], 'createdTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'description' => [ 'shape' => 'Description', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'language' => [ 'shape' => 'LanguageCode', ], 'lastModifiedBy' => [ 'shape' => 'GenericArn', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'messageTemplateArn' => [ 'shape' => 'ArnWithQualifier', ], 'messageTemplateId' => [ 'shape' => 'Uuid', ], 'name' => [ 'shape' => 'Name', ], 'tags' => [ 'shape' => 'Tags', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'MessageTemplateSearchResultsList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateSearchResultData', ], ], 'MessageTemplateSummary' => [ 'type' => 'structure', 'required' => [ 'channelSubtype', 'createdTime', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedBy', 'lastModifiedTime', 'messageTemplateArn', 'messageTemplateId', 'name', ], 'members' => [ 'activeVersionNumber' => [ 'shape' => 'Version', ], 'channelSubtype' => [ 'shape' => 'ChannelSubtype', ], 'createdTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'description' => [ 'shape' => 'Description', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'lastModifiedBy' => [ 'shape' => 'GenericArn', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_date_time', ], 'messageTemplateArn' => [ 'shape' => 'ArnWithQualifier', ], 'messageTemplateId' => [ 'shape' => 'Uuid', ], 'name' => [ 'shape' => 'Name', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'MessageTemplateSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateSummary', ], ], 'MessageTemplateVersionSummary' => [ 'type' => 'structure', 'required' => [ 'channelSubtype', 'isActive', 'knowledgeBaseArn', 'knowledgeBaseId', 'messageTemplateArn', 'messageTemplateId', 'name', 'versionNumber', ], 'members' => [ 'channelSubtype' => [ 'shape' => 'ChannelSubtype', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'messageTemplateArn' => [ 'shape' => 'ArnWithQualifier', ], 'messageTemplateId' => [ 'shape' => 'Uuid', ], 'name' => [ 'shape' => 'Name', ], 'versionNumber' => [ 'shape' => 'Version', ], ], ], 'MessageTemplateVersionSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'MessageTemplateVersionSummary', ], ], 'MessageType' => [ 'type' => 'string', 'enum' => [ 'TEXT', ], ], 'Name' => [ 'type' => 'string', 'max' => 255, 'min' => 1, 'pattern' => '^[a-zA-Z0-9\\s_.,-]+', ], 'NextToken' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, ], 'NonEmptySensitiveString' => [ 'type' => 'string', 'max' => 4096, 'min' => 1, 'sensitive' => true, ], 'NonEmptyString' => [ 'type' => 'string', 'max' => 4096, 'min' => 1, ], 'NonEmptyUnlimitedString' => [ 'type' => 'string', 'min' => 1, 'sensitive' => true, ], 'NotifyRecommendationsReceivedError' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'NotifyRecommendationsReceivedErrorMessage', ], 'recommendationId' => [ 'shape' => 'RecommendationId', ], ], ], 'NotifyRecommendationsReceivedErrorList' => [ 'type' => 'list', 'member' => [ 'shape' => 'NotifyRecommendationsReceivedError', ], ], 'NotifyRecommendationsReceivedErrorMessage' => [ 'type' => 'string', ], 'NotifyRecommendationsReceivedRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'recommendationIds', 'sessionId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'recommendationIds' => [ 'shape' => 'RecommendationIdList', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], ], ], 'NotifyRecommendationsReceivedResponse' => [ 'type' => 'structure', 'members' => [ 'errors' => [ 'shape' => 'NotifyRecommendationsReceivedErrorList', ], 'recommendationIds' => [ 'shape' => 'RecommendationIdList', ], ], ], 'ObjectFieldsList' => [ 'type' => 'list', 'member' => [ 'shape' => 'NonEmptyString', ], 'max' => 100, 'min' => 1, ], 'OrCondition' => [ 'type' => 'structure', 'members' => [ 'andConditions' => [ 'shape' => 'AndConditions', ], 'tagCondition' => [ 'shape' => 'TagCondition', ], ], 'union' => true, ], 'OrConditions' => [ 'type' => 'list', 'member' => [ 'shape' => 'OrCondition', ], ], 'Order' => [ 'type' => 'string', 'enum' => [ 'ASC', 'DESC', ], ], 'Origin' => [ 'type' => 'string', 'enum' => [ 'SYSTEM', 'CUSTOMER', ], ], 'ParsingConfiguration' => [ 'type' => 'structure', 'required' => [ 'parsingStrategy', ], 'members' => [ 'bedrockFoundationModelConfiguration' => [ 'shape' => 'BedrockFoundationModelConfigurationForParsing', ], 'parsingStrategy' => [ 'shape' => 'ParsingStrategy', ], ], ], 'ParsingPrompt' => [ 'type' => 'structure', 'required' => [ 'parsingPromptText', ], 'members' => [ 'parsingPromptText' => [ 'shape' => 'ParsingPromptText', ], ], ], 'ParsingPromptText' => [ 'type' => 'string', 'max' => 10000, 'min' => 1, ], 'ParsingStrategy' => [ 'type' => 'string', 'enum' => [ 'BEDROCK_FOUNDATION_MODEL', ], ], 'Participant' => [ 'type' => 'string', 'enum' => [ 'CUSTOMER', 'AGENT', 'BOT', ], ], 'PreconditionFailedException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 412, 'senderFault' => true, ], 'exception' => true, ], 'Priority' => [ 'type' => 'string', 'enum' => [ 'HIGH', 'MEDIUM', 'LOW', ], ], 'PutFeedbackRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'contentFeedback', 'targetId', 'targetType', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'contentFeedback' => [ 'shape' => 'ContentFeedbackData', ], 'targetId' => [ 'shape' => 'Uuid', ], 'targetType' => [ 'shape' => 'TargetType', ], ], ], 'PutFeedbackResponse' => [ 'type' => 'structure', 'required' => [ 'assistantArn', 'assistantId', 'contentFeedback', 'targetId', 'targetType', ], 'members' => [ 'assistantArn' => [ 'shape' => 'UuidOrArn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'contentFeedback' => [ 'shape' => 'ContentFeedbackData', ], 'targetId' => [ 'shape' => 'Uuid', ], 'targetType' => [ 'shape' => 'TargetType', ], ], ], 'QueryAssistantRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', ], 'nextToken' => [ 'shape' => 'NextToken', ], 'overrideKnowledgeBaseSearchType' => [ 'shape' => 'KnowledgeBaseSearchType', ], 'queryCondition' => [ 'shape' => 'QueryConditionExpression', ], 'queryInputData' => [ 'shape' => 'QueryInputData', ], 'queryText' => [ 'shape' => 'QueryText', ], 'sessionId' => [ 'shape' => 'UuidOrArn', ], ], ], 'QueryAssistantResponse' => [ 'type' => 'structure', 'required' => [ 'results', ], 'members' => [ 'nextToken' => [ 'shape' => 'NextToken', ], 'results' => [ 'shape' => 'QueryResultsList', ], ], ], 'QueryCondition' => [ 'type' => 'structure', 'members' => [ 'single' => [ 'shape' => 'QueryConditionItem', ], ], 'union' => true, ], 'QueryConditionComparisonOperator' => [ 'type' => 'string', 'enum' => [ 'EQUALS', ], ], 'QueryConditionExpression' => [ 'type' => 'list', 'member' => [ 'shape' => 'QueryCondition', ], 'max' => 1, 'min' => 0, ], 'QueryConditionFieldName' => [ 'type' => 'string', 'enum' => [ 'RESULT_TYPE', ], ], 'QueryConditionItem' => [ 'type' => 'structure', 'required' => [ 'comparator', 'field', 'value', ], 'members' => [ 'comparator' => [ 'shape' => 'QueryConditionComparisonOperator', ], 'field' => [ 'shape' => 'QueryConditionFieldName', ], 'value' => [ 'shape' => 'NonEmptyString', ], ], ], 'QueryInputData' => [ 'type' => 'structure', 'members' => [ 'intentInputData' => [ 'shape' => 'IntentInputData', ], 'queryTextInputData' => [ 'shape' => 'QueryTextInputData', ], ], 'union' => true, ], 'QueryRecommendationTriggerData' => [ 'type' => 'structure', 'members' => [ 'text' => [ 'shape' => 'QueryText', ], ], ], 'QueryResultType' => [ 'type' => 'string', 'enum' => [ 'KNOWLEDGE_CONTENT', 'INTENT_ANSWER', 'GENERATIVE_ANSWER', ], ], 'QueryResultsList' => [ 'type' => 'list', 'member' => [ 'shape' => 'ResultData', ], ], 'QueryText' => [ 'type' => 'string', 'max' => 512, 'min' => 0, 'sensitive' => true, ], 'QueryTextInputData' => [ 'type' => 'structure', 'required' => [ 'text', ], 'members' => [ 'text' => [ 'shape' => 'QueryText', ], ], ], 'QuickResponseContent' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'sensitive' => true, ], 'QuickResponseContentProvider' => [ 'type' => 'structure', 'members' => [ 'content' => [ 'shape' => 'QuickResponseContent', ], ], 'union' => true, ], 'QuickResponseContents' => [ 'type' => 'structure', 'members' => [ 'markdown' => [ 'shape' => 'QuickResponseContentProvider', ], 'plainText' => [ 'shape' => 'QuickResponseContentProvider', ], ], ], 'QuickResponseData' => [ 'type' => 'structure', 'required' => [ 'contentType', 'createdTime', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedTime', 'name', 'quickResponseArn', 'quickResponseId', 'status', ], 'members' => [ 'channels' => [ 'shape' => 'Channels', ], 'contentType' => [ 'shape' => 'QuickResponseType', ], 'contents' => [ 'shape' => 'QuickResponseContents', ], 'createdTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'description' => [ 'shape' => 'QuickResponseDescription', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'language' => [ 'shape' => 'LanguageCode', ], 'lastModifiedBy' => [ 'shape' => 'GenericArn', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'name' => [ 'shape' => 'QuickResponseName', ], 'quickResponseArn' => [ 'shape' => 'Arn', ], 'quickResponseId' => [ 'shape' => 'Uuid', ], 'shortcutKey' => [ 'shape' => 'ShortCutKey', ], 'status' => [ 'shape' => 'QuickResponseStatus', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'QuickResponseDataProvider' => [ 'type' => 'structure', 'members' => [ 'content' => [ 'shape' => 'QuickResponseContent', ], ], 'union' => true, ], 'QuickResponseDescription' => [ 'type' => 'string', 'max' => 255, 'min' => 1, ], 'QuickResponseFilterField' => [ 'type' => 'structure', 'required' => [ 'name', 'operator', ], 'members' => [ 'includeNoExistence' => [ 'shape' => 'Boolean', ], 'name' => [ 'shape' => 'NonEmptyString', ], 'operator' => [ 'shape' => 'QuickResponseFilterOperator', ], 'values' => [ 'shape' => 'QuickResponseFilterValueList', ], ], ], 'QuickResponseFilterFieldList' => [ 'type' => 'list', 'member' => [ 'shape' => 'QuickResponseFilterField', ], 'max' => 10, 'min' => 0, ], 'QuickResponseFilterOperator' => [ 'type' => 'string', 'enum' => [ 'EQUALS', 'PREFIX', ], ], 'QuickResponseFilterValue' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, ], 'QuickResponseFilterValueList' => [ 'type' => 'list', 'member' => [ 'shape' => 'QuickResponseFilterValue', ], 'max' => 5, 'min' => 1, ], 'QuickResponseName' => [ 'type' => 'string', 'max' => 100, 'min' => 1, ], 'QuickResponseOrderField' => [ 'type' => 'structure', 'required' => [ 'name', ], 'members' => [ 'name' => [ 'shape' => 'NonEmptyString', ], 'order' => [ 'shape' => 'Order', ], ], ], 'QuickResponseQueryField' => [ 'type' => 'structure', 'required' => [ 'name', 'operator', 'values', ], 'members' => [ 'allowFuzziness' => [ 'shape' => 'Boolean', ], 'name' => [ 'shape' => 'NonEmptyString', ], 'operator' => [ 'shape' => 'QuickResponseQueryOperator', ], 'priority' => [ 'shape' => 'Priority', ], 'values' => [ 'shape' => 'QuickResponseQueryValueList', ], ], ], 'QuickResponseQueryFieldList' => [ 'type' => 'list', 'member' => [ 'shape' => 'QuickResponseQueryField', ], 'max' => 4, 'min' => 0, ], 'QuickResponseQueryOperator' => [ 'type' => 'string', 'enum' => [ 'CONTAINS', 'CONTAINS_AND_PREFIX', ], ], 'QuickResponseQueryValue' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, ], 'QuickResponseQueryValueList' => [ 'type' => 'list', 'member' => [ 'shape' => 'QuickResponseQueryValue', ], 'max' => 5, 'min' => 1, ], 'QuickResponseSearchExpression' => [ 'type' => 'structure', 'members' => [ 'filters' => [ 'shape' => 'QuickResponseFilterFieldList', ], 'orderOnField' => [ 'shape' => 'QuickResponseOrderField', ], 'queries' => [ 'shape' => 'QuickResponseQueryFieldList', ], ], ], 'QuickResponseSearchResultData' => [ 'type' => 'structure', 'required' => [ 'contentType', 'contents', 'createdTime', 'isActive', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedTime', 'name', 'quickResponseArn', 'quickResponseId', 'status', ], 'members' => [ 'attributesInterpolated' => [ 'shape' => 'ContactAttributeKeys', ], 'attributesNotInterpolated' => [ 'shape' => 'ContactAttributeKeys', ], 'channels' => [ 'shape' => 'Channels', ], 'contentType' => [ 'shape' => 'QuickResponseType', ], 'contents' => [ 'shape' => 'QuickResponseContents', ], 'createdTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'description' => [ 'shape' => 'QuickResponseDescription', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'language' => [ 'shape' => 'LanguageCode', ], 'lastModifiedBy' => [ 'shape' => 'GenericArn', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'name' => [ 'shape' => 'QuickResponseName', ], 'quickResponseArn' => [ 'shape' => 'Arn', ], 'quickResponseId' => [ 'shape' => 'Uuid', ], 'shortcutKey' => [ 'shape' => 'ShortCutKey', ], 'status' => [ 'shape' => 'QuickResponseStatus', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'QuickResponseSearchResultsList' => [ 'type' => 'list', 'member' => [ 'shape' => 'QuickResponseSearchResultData', ], ], 'QuickResponseStatus' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'CREATE_FAILED', 'CREATED', 'DELETE_IN_PROGRESS', 'DELETE_FAILED', 'DELETED', 'UPDATE_IN_PROGRESS', 'UPDATE_FAILED', ], ], 'QuickResponseSummary' => [ 'type' => 'structure', 'required' => [ 'contentType', 'createdTime', 'knowledgeBaseArn', 'knowledgeBaseId', 'lastModifiedTime', 'name', 'quickResponseArn', 'quickResponseId', 'status', ], 'members' => [ 'channels' => [ 'shape' => 'Channels', ], 'contentType' => [ 'shape' => 'QuickResponseType', ], 'createdTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'description' => [ 'shape' => 'QuickResponseDescription', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseArn' => [ 'shape' => 'Arn', ], 'knowledgeBaseId' => [ 'shape' => 'Uuid', ], 'lastModifiedBy' => [ 'shape' => 'GenericArn', ], 'lastModifiedTime' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], 'name' => [ 'shape' => 'QuickResponseName', ], 'quickResponseArn' => [ 'shape' => 'Arn', ], 'quickResponseId' => [ 'shape' => 'Uuid', ], 'status' => [ 'shape' => 'QuickResponseStatus', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'QuickResponseSummaryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'QuickResponseSummary', ], ], 'QuickResponseType' => [ 'type' => 'string', 'pattern' => '^(application/x\\.quickresponse;format=(plain|markdown))$', ], 'RankingData' => [ 'type' => 'structure', 'members' => [ 'relevanceLevel' => [ 'shape' => 'RelevanceLevel', ], 'relevanceScore' => [ 'shape' => 'RelevanceScore', ], ], ], 'RecommendationData' => [ 'type' => 'structure', 'required' => [ 'recommendationId', ], 'members' => [ 'data' => [ 'shape' => 'DataSummary', ], 'document' => [ 'shape' => 'Document', ], 'recommendationId' => [ 'shape' => 'RecommendationId', ], 'relevanceLevel' => [ 'shape' => 'RelevanceLevel', ], 'relevanceScore' => [ 'shape' => 'RelevanceScore', ], 'type' => [ 'shape' => 'RecommendationType', ], ], ], 'RecommendationId' => [ 'type' => 'string', 'max' => 2048, 'min' => 1, ], 'RecommendationIdList' => [ 'type' => 'list', 'member' => [ 'shape' => 'RecommendationId', ], 'max' => 25, 'min' => 0, ], 'RecommendationList' => [ 'type' => 'list', 'member' => [ 'shape' => 'RecommendationData', ], ], 'RecommendationSourceType' => [ 'type' => 'string', 'enum' => [ 'ISSUE_DETECTION', 'RULE_EVALUATION', 'OTHER', ], ], 'RecommendationTrigger' => [ 'type' => 'structure', 'required' => [ 'data', 'id', 'recommendationIds', 'source', 'type', ], 'members' => [ 'data' => [ 'shape' => 'RecommendationTriggerData', ], 'id' => [ 'shape' => 'Uuid', ], 'recommendationIds' => [ 'shape' => 'RecommendationIdList', ], 'source' => [ 'shape' => 'RecommendationSourceType', ], 'type' => [ 'shape' => 'RecommendationTriggerType', ], ], ], 'RecommendationTriggerData' => [ 'type' => 'structure', 'members' => [ 'query' => [ 'shape' => 'QueryRecommendationTriggerData', ], ], 'union' => true, ], 'RecommendationTriggerList' => [ 'type' => 'list', 'member' => [ 'shape' => 'RecommendationTrigger', ], ], 'RecommendationTriggerType' => [ 'type' => 'string', 'enum' => [ 'QUERY', 'GENERATIVE', ], ], 'RecommendationType' => [ 'type' => 'string', 'enum' => [ 'KNOWLEDGE_CONTENT', 'GENERATIVE_RESPONSE', 'GENERATIVE_ANSWER', 'DETECTED_INTENT', ], ], 'ReferenceType' => [ 'type' => 'string', 'enum' => [ 'WEB_CRAWLER', 'KNOWLEDGE_BASE', ], ], 'Relevance' => [ 'type' => 'string', 'enum' => [ 'HELPFUL', 'NOT_HELPFUL', ], ], 'RelevanceLevel' => [ 'type' => 'string', 'enum' => [ 'HIGH', 'MEDIUM', 'LOW', ], ], 'RelevanceScore' => [ 'type' => 'double', 'min' => 0.0, ], 'RemoveAssistantAIAgentRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentType', 'assistantId', ], 'members' => [ 'aiAgentType' => [ 'shape' => 'AIAgentType', 'location' => 'querystring', 'locationName' => 'aiAgentType', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], ], ], 'RemoveAssistantAIAgentResponse' => [ 'type' => 'structure', 'members' => [], ], 'RemoveKnowledgeBaseTemplateUriRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], ], ], 'RemoveKnowledgeBaseTemplateUriResponse' => [ 'type' => 'structure', 'members' => [], ], 'RenderMessageTemplateRequest' => [ 'type' => 'structure', 'required' => [ 'attributes', 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'attributes' => [ 'shape' => 'MessageTemplateAttributes', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], ], ], 'RenderMessageTemplateResponse' => [ 'type' => 'structure', 'required' => [ 'content', ], 'members' => [ 'attachments' => [ 'shape' => 'MessageTemplateAttachmentList', ], 'attributesNotInterpolated' => [ 'shape' => 'MessageTemplateAttributeKeyList', ], 'content' => [ 'shape' => 'MessageTemplateContentProvider', ], ], ], 'RenderingConfiguration' => [ 'type' => 'structure', 'members' => [ 'templateUri' => [ 'shape' => 'Uri', ], ], ], 'RequestTimeoutException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 408, 'senderFault' => true, ], 'exception' => true, 'retryable' => [ 'throttling' => false, ], ], 'ResourceNotFoundException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], 'resourceName' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 404, 'senderFault' => true, ], 'exception' => true, ], 'ResultData' => [ 'type' => 'structure', 'required' => [ 'resultId', ], 'members' => [ 'data' => [ 'shape' => 'DataSummary', ], 'document' => [ 'shape' => 'Document', ], 'relevanceScore' => [ 'shape' => 'RelevanceScore', ], 'resultId' => [ 'shape' => 'Uuid', ], 'type' => [ 'shape' => 'QueryResultType', ], ], ], 'RuntimeSessionData' => [ 'type' => 'structure', 'required' => [ 'key', 'value', ], 'members' => [ 'key' => [ 'shape' => 'NonEmptySensitiveString', ], 'value' => [ 'shape' => 'RuntimeSessionDataValue', ], ], ], 'RuntimeSessionDataList' => [ 'type' => 'list', 'member' => [ 'shape' => 'RuntimeSessionData', ], 'max' => 50, 'min' => 0, ], 'RuntimeSessionDataValue' => [ 'type' => 'structure', 'members' => [ 'stringValue' => [ 'shape' => 'NonEmptySensitiveString', ], ], 'union' => true, ], 'SMSMessageTemplateContent' => [ 'type' => 'structure', 'members' => [ 'body' => [ 'shape' => 'SMSMessageTemplateContentBody', ], ], ], 'SMSMessageTemplateContentBody' => [ 'type' => 'structure', 'members' => [ 'plainText' => [ 'shape' => 'MessageTemplateBodyContentProvider', ], ], ], 'SearchContentRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'searchExpression', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'searchExpression' => [ 'shape' => 'SearchExpression', ], ], ], 'SearchContentResponse' => [ 'type' => 'structure', 'required' => [ 'contentSummaries', ], 'members' => [ 'contentSummaries' => [ 'shape' => 'ContentSummaryList', ], 'nextToken' => [ 'shape' => 'NextToken', ], ], ], 'SearchExpression' => [ 'type' => 'structure', 'required' => [ 'filters', ], 'members' => [ 'filters' => [ 'shape' => 'FilterList', ], ], ], 'SearchMessageTemplatesRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'searchExpression', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'searchExpression' => [ 'shape' => 'MessageTemplateSearchExpression', ], ], ], 'SearchMessageTemplatesResponse' => [ 'type' => 'structure', 'required' => [ 'results', ], 'members' => [ 'nextToken' => [ 'shape' => 'NextToken', ], 'results' => [ 'shape' => 'MessageTemplateSearchResultsList', ], ], ], 'SearchQuickResponsesRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'searchExpression', ], 'members' => [ 'attributes' => [ 'shape' => 'ContactAttributes', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NonEmptyString', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'searchExpression' => [ 'shape' => 'QuickResponseSearchExpression', ], ], ], 'SearchQuickResponsesResponse' => [ 'type' => 'structure', 'required' => [ 'results', ], 'members' => [ 'nextToken' => [ 'shape' => 'NonEmptyString', ], 'results' => [ 'shape' => 'QuickResponseSearchResultsList', ], ], ], 'SearchSessionsRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'searchExpression', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'maxResults' => [ 'shape' => 'MaxResults', 'location' => 'querystring', 'locationName' => 'maxResults', ], 'nextToken' => [ 'shape' => 'NextToken', 'location' => 'querystring', 'locationName' => 'nextToken', ], 'searchExpression' => [ 'shape' => 'SearchExpression', ], ], ], 'SearchSessionsResponse' => [ 'type' => 'structure', 'required' => [ 'sessionSummaries', ], 'members' => [ 'nextToken' => [ 'shape' => 'NextToken', ], 'sessionSummaries' => [ 'shape' => 'SessionSummaries', ], ], ], 'SeedUrl' => [ 'type' => 'structure', 'members' => [ 'url' => [ 'shape' => 'WebUrl', ], ], ], 'SeedUrls' => [ 'type' => 'list', 'member' => [ 'shape' => 'SeedUrl', ], 'max' => 100, 'min' => 1, ], 'SelfServiceAIAgentConfiguration' => [ 'type' => 'structure', 'members' => [ 'associationConfigurations' => [ 'shape' => 'AssociationConfigurationList', ], 'selfServiceAIGuardrailId' => [ 'shape' => 'UuidWithQualifier', ], 'selfServiceAnswerGenerationAIPromptId' => [ 'shape' => 'UuidWithQualifier', ], 'selfServicePreProcessingAIPromptId' => [ 'shape' => 'UuidWithQualifier', ], ], ], 'SelfServiceConversationHistory' => [ 'type' => 'structure', 'required' => [ 'turnNumber', ], 'members' => [ 'botResponse' => [ 'shape' => 'SensitiveString', ], 'inputTranscript' => [ 'shape' => 'SensitiveString', ], 'turnNumber' => [ 'shape' => 'Integer', ], ], ], 'SelfServiceConversationHistoryList' => [ 'type' => 'list', 'member' => [ 'shape' => 'SelfServiceConversationHistory', ], 'max' => 10, 'min' => 0, ], 'SemanticChunkingConfiguration' => [ 'type' => 'structure', 'required' => [ 'breakpointPercentileThreshold', 'bufferSize', 'maxTokens', ], 'members' => [ 'breakpointPercentileThreshold' => [ 'shape' => 'SemanticChunkingConfigurationBreakpointPercentileThresholdInteger', ], 'bufferSize' => [ 'shape' => 'SemanticChunkingConfigurationBufferSizeInteger', ], 'maxTokens' => [ 'shape' => 'SemanticChunkingConfigurationMaxTokensInteger', ], ], ], 'SemanticChunkingConfigurationBreakpointPercentileThresholdInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 99, 'min' => 50, ], 'SemanticChunkingConfigurationBufferSizeInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 1, 'min' => 0, ], 'SemanticChunkingConfigurationMaxTokensInteger' => [ 'type' => 'integer', 'box' => true, 'min' => 1, ], 'SendMessageRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'message', 'sessionId', 'type', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'conversationContext' => [ 'shape' => 'ConversationContext', ], 'message' => [ 'shape' => 'MessageInput', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], 'type' => [ 'shape' => 'MessageType', ], ], ], 'SendMessageResponse' => [ 'type' => 'structure', 'required' => [ 'nextMessageToken', 'requestMessageId', ], 'members' => [ 'nextMessageToken' => [ 'shape' => 'NextToken', ], 'requestMessageId' => [ 'shape' => 'Uuid', ], ], ], 'SensitiveString' => [ 'type' => 'string', 'sensitive' => true, ], 'ServerSideEncryptionConfiguration' => [ 'type' => 'structure', 'members' => [ 'kmsKeyId' => [ 'shape' => 'NonEmptyString', ], ], ], 'ServiceQuotaExceededException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 402, 'senderFault' => true, ], 'exception' => true, ], 'SessionData' => [ 'type' => 'structure', 'required' => [ 'name', 'sessionArn', 'sessionId', ], 'members' => [ 'aiAgentConfiguration' => [ 'shape' => 'AIAgentConfigurationMap', ], 'description' => [ 'shape' => 'Description', ], 'integrationConfiguration' => [ 'shape' => 'SessionIntegrationConfiguration', ], 'name' => [ 'shape' => 'Name', ], 'sessionArn' => [ 'shape' => 'Arn', ], 'sessionId' => [ 'shape' => 'Uuid', ], 'tagFilter' => [ 'shape' => 'TagFilter', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'SessionDataNamespace' => [ 'type' => 'string', 'enum' => [ 'Custom', ], ], 'SessionIntegrationConfiguration' => [ 'type' => 'structure', 'members' => [ 'topicIntegrationArn' => [ 'shape' => 'GenericArn', ], ], ], 'SessionSummaries' => [ 'type' => 'list', 'member' => [ 'shape' => 'SessionSummary', ], ], 'SessionSummary' => [ 'type' => 'structure', 'required' => [ 'assistantArn', 'assistantId', 'sessionArn', 'sessionId', ], 'members' => [ 'assistantArn' => [ 'shape' => 'Arn', ], 'assistantId' => [ 'shape' => 'Uuid', ], 'sessionArn' => [ 'shape' => 'Arn', ], 'sessionId' => [ 'shape' => 'Uuid', ], ], ], 'ShortCutKey' => [ 'type' => 'string', 'max' => 10, 'min' => 1, ], 'SourceConfiguration' => [ 'type' => 'structure', 'members' => [ 'appIntegrations' => [ 'shape' => 'AppIntegrationsConfiguration', ], 'managedSourceConfiguration' => [ 'shape' => 'ManagedSourceConfiguration', ], ], 'union' => true, ], 'SourceContentDataDetails' => [ 'type' => 'structure', 'required' => [ 'id', 'rankingData', 'textData', 'type', ], 'members' => [ 'citationSpan' => [ 'shape' => 'CitationSpan', ], 'id' => [ 'shape' => 'Uuid', ], 'rankingData' => [ 'shape' => 'RankingData', ], 'textData' => [ 'shape' => 'TextData', ], 'type' => [ 'shape' => 'SourceContentType', ], ], ], 'SourceContentType' => [ 'type' => 'string', 'enum' => [ 'KNOWLEDGE_CONTENT', ], ], 'StartContentUploadRequest' => [ 'type' => 'structure', 'required' => [ 'contentType', 'knowledgeBaseId', ], 'members' => [ 'contentType' => [ 'shape' => 'ContentType', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'presignedUrlTimeToLive' => [ 'shape' => 'TimeToLive', ], ], ], 'StartContentUploadResponse' => [ 'type' => 'structure', 'required' => [ 'headersToInclude', 'uploadId', 'url', 'urlExpiry', ], 'members' => [ 'headersToInclude' => [ 'shape' => 'Headers', ], 'uploadId' => [ 'shape' => 'UploadId', ], 'url' => [ 'shape' => 'Url', ], 'urlExpiry' => [ 'shape' => 'SyntheticTimestamp_epoch_seconds', ], ], ], 'StartImportJobRequest' => [ 'type' => 'structure', 'required' => [ 'importJobType', 'knowledgeBaseId', 'uploadId', ], 'members' => [ 'clientToken' => [ 'shape' => 'NonEmptyString', 'idempotencyToken' => true, ], 'externalSourceConfiguration' => [ 'shape' => 'ExternalSourceConfiguration', ], 'importJobType' => [ 'shape' => 'ImportJobType', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'metadata' => [ 'shape' => 'ContentMetadata', ], 'uploadId' => [ 'shape' => 'UploadId', ], ], ], 'StartImportJobResponse' => [ 'type' => 'structure', 'members' => [ 'importJob' => [ 'shape' => 'ImportJobData', ], ], ], 'Status' => [ 'type' => 'string', 'enum' => [ 'CREATE_IN_PROGRESS', 'CREATE_FAILED', 'ACTIVE', 'DELETE_IN_PROGRESS', 'DELETE_FAILED', 'DELETED', ], ], 'String' => [ 'type' => 'string', ], 'SyncStatus' => [ 'type' => 'string', 'enum' => [ 'SYNC_FAILED', 'SYNCING_IN_PROGRESS', 'SYNC_SUCCESS', 'CREATE_IN_PROGRESS', ], ], 'SyntheticTimestamp_date_time' => [ 'type' => 'timestamp', 'timestampFormat' => 'iso8601', ], 'SyntheticTimestamp_epoch_seconds' => [ 'type' => 'timestamp', 'timestampFormat' => 'unixTimestamp', ], 'SystemAttributes' => [ 'type' => 'structure', 'members' => [ 'customerEndpoint' => [ 'shape' => 'SystemEndpointAttributes', ], 'name' => [ 'shape' => 'MessageTemplateAttributeValue', ], 'systemEndpoint' => [ 'shape' => 'SystemEndpointAttributes', ], ], ], 'SystemEndpointAttributes' => [ 'type' => 'structure', 'members' => [ 'address' => [ 'shape' => 'MessageTemplateAttributeValue', ], ], ], 'TagCondition' => [ 'type' => 'structure', 'required' => [ 'key', ], 'members' => [ 'key' => [ 'shape' => 'TagKey', ], 'value' => [ 'shape' => 'TagValue', ], ], ], 'TagFilter' => [ 'type' => 'structure', 'members' => [ 'andConditions' => [ 'shape' => 'AndConditions', ], 'orConditions' => [ 'shape' => 'OrConditions', ], 'tagCondition' => [ 'shape' => 'TagCondition', ], ], 'union' => true, ], 'TagKey' => [ 'type' => 'string', 'max' => 128, 'min' => 1, 'pattern' => '^(?!aws:)[a-zA-Z+-=._:/]+$', ], 'TagKeyList' => [ 'type' => 'list', 'member' => [ 'shape' => 'TagKey', ], 'max' => 50, 'min' => 1, ], 'TagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'resourceArn', 'tags', ], 'members' => [ 'resourceArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'resourceArn', ], 'tags' => [ 'shape' => 'Tags', ], ], ], 'TagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'TagValue' => [ 'type' => 'string', 'max' => 256, 'min' => 1, ], 'Tags' => [ 'type' => 'map', 'key' => [ 'shape' => 'TagKey', ], 'value' => [ 'shape' => 'TagValue', ], ], 'TargetType' => [ 'type' => 'string', 'enum' => [ 'RECOMMENDATION', 'RESULT', ], ], 'TextAIPrompt' => [ 'type' => 'string', 'max' => 200000, 'min' => 1, 'sensitive' => true, ], 'TextData' => [ 'type' => 'structure', 'members' => [ 'excerpt' => [ 'shape' => 'DocumentText', ], 'title' => [ 'shape' => 'DocumentText', ], ], ], 'TextFullAIPromptEditTemplateConfiguration' => [ 'type' => 'structure', 'required' => [ 'text', ], 'members' => [ 'text' => [ 'shape' => 'TextAIPrompt', ], ], ], 'TextMessage' => [ 'type' => 'structure', 'members' => [ 'value' => [ 'shape' => 'TextMessageValueString', ], ], ], 'TextMessageValueString' => [ 'type' => 'string', 'max' => 1024, 'min' => 1, 'sensitive' => true, ], 'ThrottlingException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, 'retryable' => [ 'throttling' => false, ], ], 'TimeToLive' => [ 'type' => 'integer', 'box' => true, 'max' => 60, 'min' => 1, ], 'Timestamp' => [ 'type' => 'timestamp', ], 'TooManyTagsException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], 'resourceName' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'UntagResourceRequest' => [ 'type' => 'structure', 'required' => [ 'resourceArn', 'tagKeys', ], 'members' => [ 'resourceArn' => [ 'shape' => 'Arn', 'location' => 'uri', 'locationName' => 'resourceArn', ], 'tagKeys' => [ 'shape' => 'TagKeyList', 'location' => 'querystring', 'locationName' => 'tagKeys', ], ], ], 'UntagResourceResponse' => [ 'type' => 'structure', 'members' => [], ], 'UpdateAIAgentRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentId', 'assistantId', 'visibilityStatus', ], 'members' => [ 'aiAgentId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiAgentId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'configuration' => [ 'shape' => 'AIAgentConfiguration', ], 'description' => [ 'shape' => 'Description', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'UpdateAIAgentResponse' => [ 'type' => 'structure', 'members' => [ 'aiAgent' => [ 'shape' => 'AIAgentData', ], ], ], 'UpdateAIGuardrailRequest' => [ 'type' => 'structure', 'required' => [ 'aiGuardrailId', 'assistantId', 'blockedInputMessaging', 'blockedOutputsMessaging', 'visibilityStatus', ], 'members' => [ 'aiGuardrailId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiGuardrailId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'blockedInputMessaging' => [ 'shape' => 'AIGuardrailBlockedMessaging', ], 'blockedOutputsMessaging' => [ 'shape' => 'AIGuardrailBlockedMessaging', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'contentPolicyConfig' => [ 'shape' => 'AIGuardrailContentPolicyConfig', ], 'contextualGroundingPolicyConfig' => [ 'shape' => 'AIGuardrailContextualGroundingPolicyConfig', ], 'description' => [ 'shape' => 'AIGuardrailDescription', ], 'sensitiveInformationPolicyConfig' => [ 'shape' => 'AIGuardrailSensitiveInformationPolicyConfig', ], 'topicPolicyConfig' => [ 'shape' => 'AIGuardrailTopicPolicyConfig', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], 'wordPolicyConfig' => [ 'shape' => 'AIGuardrailWordPolicyConfig', ], ], ], 'UpdateAIGuardrailResponse' => [ 'type' => 'structure', 'members' => [ 'aiGuardrail' => [ 'shape' => 'AIGuardrailData', ], ], ], 'UpdateAIPromptRequest' => [ 'type' => 'structure', 'required' => [ 'aiPromptId', 'assistantId', 'visibilityStatus', ], 'members' => [ 'aiPromptId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'aiPromptId', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'clientToken' => [ 'shape' => 'ClientToken', 'idempotencyToken' => true, ], 'description' => [ 'shape' => 'Description', ], 'templateConfiguration' => [ 'shape' => 'AIPromptTemplateConfiguration', ], 'visibilityStatus' => [ 'shape' => 'VisibilityStatus', ], ], ], 'UpdateAIPromptResponse' => [ 'type' => 'structure', 'members' => [ 'aiPrompt' => [ 'shape' => 'AIPromptData', ], ], ], 'UpdateAssistantAIAgentRequest' => [ 'type' => 'structure', 'required' => [ 'aiAgentType', 'assistantId', 'configuration', ], 'members' => [ 'aiAgentType' => [ 'shape' => 'AIAgentType', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'configuration' => [ 'shape' => 'AIAgentConfigurationData', ], ], ], 'UpdateAssistantAIAgentResponse' => [ 'type' => 'structure', 'members' => [ 'assistant' => [ 'shape' => 'AssistantData', ], ], ], 'UpdateContentRequest' => [ 'type' => 'structure', 'required' => [ 'contentId', 'knowledgeBaseId', ], 'members' => [ 'contentId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'contentId', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'metadata' => [ 'shape' => 'ContentMetadata', ], 'overrideLinkOutUri' => [ 'shape' => 'Uri', ], 'removeOverrideLinkOutUri' => [ 'shape' => 'Boolean', ], 'revisionId' => [ 'shape' => 'NonEmptyString', ], 'title' => [ 'shape' => 'ContentTitle', ], 'uploadId' => [ 'shape' => 'UploadId', ], ], ], 'UpdateContentResponse' => [ 'type' => 'structure', 'members' => [ 'content' => [ 'shape' => 'ContentData', ], ], ], 'UpdateKnowledgeBaseTemplateUriRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'templateUri', ], 'members' => [ 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'templateUri' => [ 'shape' => 'Uri', ], ], ], 'UpdateKnowledgeBaseTemplateUriResponse' => [ 'type' => 'structure', 'members' => [ 'knowledgeBase' => [ 'shape' => 'KnowledgeBaseData', ], ], ], 'UpdateMessageTemplateMetadataRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'description' => [ 'shape' => 'Description', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], 'name' => [ 'shape' => 'Name', ], ], ], 'UpdateMessageTemplateMetadataResponse' => [ 'type' => 'structure', 'members' => [ 'messageTemplate' => [ 'shape' => 'MessageTemplateData', ], ], ], 'UpdateMessageTemplateRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'messageTemplateId', ], 'members' => [ 'content' => [ 'shape' => 'MessageTemplateContentProvider', ], 'defaultAttributes' => [ 'shape' => 'MessageTemplateAttributes', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'language' => [ 'shape' => 'LanguageCode', ], 'messageTemplateId' => [ 'shape' => 'UuidOrArnOrEitherWithQualifier', 'location' => 'uri', 'locationName' => 'messageTemplateId', ], ], ], 'UpdateMessageTemplateResponse' => [ 'type' => 'structure', 'members' => [ 'messageTemplate' => [ 'shape' => 'MessageTemplateData', ], ], ], 'UpdateQuickResponseRequest' => [ 'type' => 'structure', 'required' => [ 'knowledgeBaseId', 'quickResponseId', ], 'members' => [ 'channels' => [ 'shape' => 'Channels', ], 'content' => [ 'shape' => 'QuickResponseDataProvider', ], 'contentType' => [ 'shape' => 'QuickResponseType', ], 'description' => [ 'shape' => 'QuickResponseDescription', ], 'groupingConfiguration' => [ 'shape' => 'GroupingConfiguration', ], 'isActive' => [ 'shape' => 'Boolean', ], 'knowledgeBaseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'knowledgeBaseId', ], 'language' => [ 'shape' => 'LanguageCode', ], 'name' => [ 'shape' => 'QuickResponseName', ], 'quickResponseId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'quickResponseId', ], 'removeDescription' => [ 'shape' => 'Boolean', ], 'removeGroupingConfiguration' => [ 'shape' => 'Boolean', ], 'removeShortcutKey' => [ 'shape' => 'Boolean', ], 'shortcutKey' => [ 'shape' => 'ShortCutKey', ], ], ], 'UpdateQuickResponseResponse' => [ 'type' => 'structure', 'members' => [ 'quickResponse' => [ 'shape' => 'QuickResponseData', ], ], ], 'UpdateSessionDataRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'data', 'sessionId', ], 'members' => [ 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'data' => [ 'shape' => 'RuntimeSessionDataList', ], 'namespace' => [ 'shape' => 'SessionDataNamespace', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], ], ], 'UpdateSessionDataResponse' => [ 'type' => 'structure', 'required' => [ 'data', 'namespace', 'sessionArn', 'sessionId', ], 'members' => [ 'data' => [ 'shape' => 'RuntimeSessionDataList', ], 'namespace' => [ 'shape' => 'SessionDataNamespace', ], 'sessionArn' => [ 'shape' => 'Arn', ], 'sessionId' => [ 'shape' => 'Uuid', ], ], ], 'UpdateSessionRequest' => [ 'type' => 'structure', 'required' => [ 'assistantId', 'sessionId', ], 'members' => [ 'aiAgentConfiguration' => [ 'shape' => 'AIAgentConfigurationMap', ], 'assistantId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'assistantId', ], 'description' => [ 'shape' => 'Description', ], 'sessionId' => [ 'shape' => 'UuidOrArn', 'location' => 'uri', 'locationName' => 'sessionId', ], 'tagFilter' => [ 'shape' => 'TagFilter', ], ], ], 'UpdateSessionResponse' => [ 'type' => 'structure', 'members' => [ 'session' => [ 'shape' => 'SessionData', ], ], ], 'UploadId' => [ 'type' => 'string', 'max' => 1200, 'min' => 1, ], 'Uri' => [ 'type' => 'string', 'max' => 4096, 'min' => 1, ], 'Url' => [ 'type' => 'string', 'max' => 4096, 'min' => 1, 'sensitive' => true, ], 'UrlConfiguration' => [ 'type' => 'structure', 'members' => [ 'seedUrls' => [ 'shape' => 'SeedUrls', ], ], ], 'UrlFilterList' => [ 'type' => 'list', 'member' => [ 'shape' => 'UrlFilterPattern', ], 'max' => 25, 'min' => 1, 'sensitive' => true, ], 'UrlFilterPattern' => [ 'type' => 'string', 'max' => 1000, 'min' => 1, 'sensitive' => true, ], 'Uuid' => [ 'type' => 'string', 'pattern' => '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$', ], 'UuidOrArn' => [ 'type' => 'string', 'pattern' => '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}$', ], 'UuidOrArnOrEitherWithQualifier' => [ 'type' => 'string', 'pattern' => '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$|^arn:[a-z-]*?:wisdom:[a-z0-9-]*?:[0-9]{12}:[a-z-]*?/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(?:/[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}){0,2}(:[A-Z0-9_$]+){0,1}$', ], 'UuidWithQualifier' => [ 'type' => 'string', 'pattern' => '^[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}(:[A-Z0-9_$]+){0,1}$', ], 'ValidationException' => [ 'type' => 'structure', 'members' => [ 'message' => [ 'shape' => 'String', ], ], 'error' => [ 'httpStatusCode' => 400, 'senderFault' => true, ], 'exception' => true, ], 'VectorIngestionConfiguration' => [ 'type' => 'structure', 'members' => [ 'chunkingConfiguration' => [ 'shape' => 'ChunkingConfiguration', ], 'parsingConfiguration' => [ 'shape' => 'ParsingConfiguration', ], ], ], 'Version' => [ 'type' => 'long', 'box' => true, 'min' => 1, ], 'VisibilityStatus' => [ 'type' => 'string', 'enum' => [ 'SAVED', 'PUBLISHED', ], ], 'WaitTimeSeconds' => [ 'type' => 'integer', 'max' => 20, 'min' => 0, ], 'WebCrawlerConfiguration' => [ 'type' => 'structure', 'required' => [ 'urlConfiguration', ], 'members' => [ 'crawlerLimits' => [ 'shape' => 'WebCrawlerLimits', ], 'exclusionFilters' => [ 'shape' => 'UrlFilterList', ], 'inclusionFilters' => [ 'shape' => 'UrlFilterList', ], 'scope' => [ 'shape' => 'WebScopeType', ], 'urlConfiguration' => [ 'shape' => 'UrlConfiguration', ], ], ], 'WebCrawlerLimits' => [ 'type' => 'structure', 'members' => [ 'rateLimit' => [ 'shape' => 'WebCrawlerLimitsRateLimitInteger', ], ], ], 'WebCrawlerLimitsRateLimitInteger' => [ 'type' => 'integer', 'box' => true, 'max' => 300, 'min' => 1, ], 'WebScopeType' => [ 'type' => 'string', 'enum' => [ 'HOST_ONLY', 'SUBDOMAINS', ], ], 'WebUrl' => [ 'type' => 'string', 'pattern' => '^https?://[A-Za-z0-9][^\\s]*$', ], ],];
|