@aws-sdk/client-qconnect 3.1052.0 → 3.1053.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +20 -0
- package/dist-cjs/schemas/schemas_0.js +35 -10
- package/dist-es/models/enums.js +17 -0
- package/dist-es/schemas/schemas_0.js +27 -2
- package/dist-types/commands/ListSpansCommand.d.ts +15 -0
- package/dist-types/models/enums.d.ts +41 -0
- package/dist-types/models/models_0.d.ts +55 -115
- package/dist-types/models/models_1.d.ts +122 -5
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +23 -0
- package/dist-types/ts3.4/models/models_0.d.ts +15 -25
- package/dist-types/ts3.4/models/models_1.d.ts +27 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -1671,6 +1671,23 @@ const MessageFilterType = {
|
|
|
1671
1671
|
ALL: "ALL",
|
|
1672
1672
|
TEXT_ONLY: "TEXT_ONLY",
|
|
1673
1673
|
};
|
|
1674
|
+
const GuardrailAction = {
|
|
1675
|
+
BLOCKED: "BLOCKED",
|
|
1676
|
+
MASKED: "MASKED",
|
|
1677
|
+
NONE: "NONE",
|
|
1678
|
+
};
|
|
1679
|
+
const GuardrailPolicyType = {
|
|
1680
|
+
CONTENT_FILTER: "CONTENT_FILTER",
|
|
1681
|
+
CONTEXTUAL_GROUNDING: "CONTEXTUAL_GROUNDING",
|
|
1682
|
+
SENSITIVE_INFORMATION_PII: "SENSITIVE_INFORMATION_PII",
|
|
1683
|
+
SENSITIVE_INFORMATION_REGEX: "SENSITIVE_INFORMATION_REGEX",
|
|
1684
|
+
TOPIC: "TOPIC",
|
|
1685
|
+
WORD: "WORD",
|
|
1686
|
+
};
|
|
1687
|
+
const GuardrailSource = {
|
|
1688
|
+
INPUT: "INPUT",
|
|
1689
|
+
OUTPUT: "OUTPUT",
|
|
1690
|
+
};
|
|
1674
1691
|
const SpanType = {
|
|
1675
1692
|
CLIENT: "CLIENT",
|
|
1676
1693
|
INTERNAL: "INTERNAL",
|
|
@@ -1876,12 +1893,15 @@ exports.GetNextMessageCommand = GetNextMessageCommand;
|
|
|
1876
1893
|
exports.GetQuickResponseCommand = GetQuickResponseCommand;
|
|
1877
1894
|
exports.GetRecommendationsCommand = GetRecommendationsCommand;
|
|
1878
1895
|
exports.GetSessionCommand = GetSessionCommand;
|
|
1896
|
+
exports.GuardrailAction = GuardrailAction;
|
|
1879
1897
|
exports.GuardrailContentFilterType = GuardrailContentFilterType;
|
|
1880
1898
|
exports.GuardrailContextualGroundingFilterType = GuardrailContextualGroundingFilterType;
|
|
1881
1899
|
exports.GuardrailFilterStrength = GuardrailFilterStrength;
|
|
1882
1900
|
exports.GuardrailManagedWordsType = GuardrailManagedWordsType;
|
|
1883
1901
|
exports.GuardrailPiiEntityType = GuardrailPiiEntityType;
|
|
1902
|
+
exports.GuardrailPolicyType = GuardrailPolicyType;
|
|
1884
1903
|
exports.GuardrailSensitiveInformationAction = GuardrailSensitiveInformationAction;
|
|
1904
|
+
exports.GuardrailSource = GuardrailSource;
|
|
1885
1905
|
exports.GuardrailTopicType = GuardrailTopicType;
|
|
1886
1906
|
exports.ImportJobStatus = ImportJobStatus;
|
|
1887
1907
|
exports.ImportJobType = ImportJobType;
|
|
@@ -3,14 +3,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ChunkingConfiguration$ = exports.CaseSummarizationInputData$ = exports.CaseSummarizationChunkDataDetails$ = exports.CaseSummarizationAIAgentConfiguration$ = exports.BedrockFoundationModelConfigurationForParsing$ = exports.AssociationConfiguration$ = exports.AssistantSummary$ = exports.AssistantIntegrationConfiguration$ = exports.AssistantData$ = exports.AssistantCapabilityConfiguration$ = exports.AssistantAssociationSummary$ = exports.AssistantAssociationData$ = exports.AppIntegrationsConfiguration$ = exports.AnswerRecommendationAIAgentConfiguration$ = exports.Annotation$ = exports.AmazonConnectGuideAssociationData$ = exports.AIPromptVersionSummary$ = exports.AIPromptSummary$ = exports.AIPromptInferenceConfiguration$ = exports.AIPromptData$ = exports.AIGuardrailWordPolicyConfig$ = exports.AIGuardrailVersionSummary$ = exports.AIGuardrailTopicPolicyConfig$ = exports.AIGuardrailSummary$ = exports.AIGuardrailSensitiveInformationPolicyConfig$ = exports.AIGuardrailData$ = exports.AIGuardrailContextualGroundingPolicyConfig$ = exports.AIGuardrailContentPolicyConfig$ = exports.AIGuardrailAssessment$ = exports.AIAgentVersionSummary$ = exports.AIAgentSummary$ = exports.AIAgentData$ = exports.AIAgentConfigurationData$ = exports.AgentAttributes$ = exports.ActivateMessageTemplateResponse$ = exports.ActivateMessageTemplateRequest$ = exports.errorTypeRegistries = exports.ValidationException$ = exports.UnprocessableContentException$ = exports.UnauthorizedException$ = exports.TooManyTagsException$ = exports.ThrottlingException$ = exports.ServiceQuotaExceededException$ = exports.ResourceNotFoundException$ = exports.RequestTimeoutException$ = exports.PreconditionFailedException$ = exports.DependencyFailedException$ = exports.ConflictException$ = exports.AccessDeniedException$ = exports.QConnectServiceException$ = void 0;
|
|
4
4
|
exports.DeleteAIAgentVersionRequest$ = exports.DeleteAIAgentResponse$ = exports.DeleteAIAgentRequest$ = exports.DeactivateMessageTemplateResponse$ = exports.DeactivateMessageTemplateRequest$ = exports.DataSummary$ = exports.CustomerProfileAttributes$ = exports.CreateSessionResponse$ = exports.CreateSessionRequest$ = exports.CreateQuickResponseResponse$ = exports.CreateQuickResponseRequest$ = exports.CreateMessageTemplateVersionResponse$ = exports.CreateMessageTemplateVersionRequest$ = exports.CreateMessageTemplateResponse$ = exports.CreateMessageTemplateRequest$ = exports.CreateMessageTemplateAttachmentResponse$ = exports.CreateMessageTemplateAttachmentRequest$ = exports.CreateKnowledgeBaseResponse$ = exports.CreateKnowledgeBaseRequest$ = exports.CreateContentResponse$ = exports.CreateContentRequest$ = exports.CreateContentAssociationResponse$ = exports.CreateContentAssociationRequest$ = exports.CreateAssistantResponse$ = exports.CreateAssistantRequest$ = exports.CreateAssistantAssociationResponse$ = exports.CreateAssistantAssociationRequest$ = exports.CreateAIPromptVersionResponse$ = exports.CreateAIPromptVersionRequest$ = exports.CreateAIPromptResponse$ = exports.CreateAIPromptRequest$ = exports.CreateAIGuardrailVersionResponse$ = exports.CreateAIGuardrailVersionRequest$ = exports.CreateAIGuardrailResponse$ = exports.CreateAIGuardrailRequest$ = exports.CreateAIAgentVersionResponse$ = exports.CreateAIAgentVersionRequest$ = exports.CreateAIAgentResponse$ = exports.CreateAIAgentRequest$ = exports.ConversationState$ = exports.ConversationContext$ = exports.ContentSummary$ = exports.ContentReference$ = exports.ContentDataDetails$ = exports.ContentData$ = exports.ContentAssociationSummary$ = exports.ContentAssociationData$ = exports.ConnectConfiguration$ = exports.CitationSpan$ = exports.Citation$ = void 0;
|
|
5
5
|
exports.GetAIAgentResponse$ = exports.GetAIAgentRequest$ = exports.GenerativeReference$ = exports.GenerativeDataDetails$ = exports.GenerativeContentFeedbackData$ = exports.GenerativeChunkDataDetails$ = exports.FixedSizeChunkingConfiguration$ = exports.FilterAttribute$ = exports.Filter$ = exports.ExternalSourceConfiguration$ = exports.ExternalBedrockKnowledgeBaseConfig$ = exports.ExtendedMessageTemplateData$ = exports.EmailResponseChunkDataDetails$ = exports.EmailResponseAIAgentConfiguration$ = exports.EmailOverviewChunkDataDetails$ = exports.EmailOverviewAIAgentConfiguration$ = exports.EmailMessageTemplateContentBody$ = exports.EmailMessageTemplateContent$ = exports.EmailHeader$ = exports.EmailGenerativeAnswerChunkDataDetails$ = exports.EmailGenerativeAnswerAIAgentConfiguration$ = exports.DocumentText$ = exports.Document$ = exports.DeleteQuickResponseResponse$ = exports.DeleteQuickResponseRequest$ = exports.DeleteMessageTemplateResponse$ = exports.DeleteMessageTemplateRequest$ = exports.DeleteMessageTemplateAttachmentResponse$ = exports.DeleteMessageTemplateAttachmentRequest$ = exports.DeleteKnowledgeBaseResponse$ = exports.DeleteKnowledgeBaseRequest$ = exports.DeleteImportJobResponse$ = exports.DeleteImportJobRequest$ = exports.DeleteContentResponse$ = exports.DeleteContentRequest$ = exports.DeleteContentAssociationResponse$ = exports.DeleteContentAssociationRequest$ = exports.DeleteAssistantResponse$ = exports.DeleteAssistantRequest$ = exports.DeleteAssistantAssociationResponse$ = exports.DeleteAssistantAssociationRequest$ = exports.DeleteAIPromptVersionResponse$ = exports.DeleteAIPromptVersionRequest$ = exports.DeleteAIPromptResponse$ = exports.DeleteAIPromptRequest$ = exports.DeleteAIGuardrailVersionResponse$ = exports.DeleteAIGuardrailVersionRequest$ = exports.DeleteAIGuardrailResponse$ = exports.DeleteAIGuardrailRequest$ = exports.DeleteAIAgentVersionResponse$ = void 0;
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
9
|
-
exports.
|
|
10
|
-
exports.
|
|
11
|
-
exports.
|
|
12
|
-
exports.
|
|
13
|
-
exports.UpdateSessionData$ = exports.UpdateSession$ = void 0;
|
|
6
|
+
exports.ListAIAgentsResponse$ = exports.ListAIAgentsRequest$ = exports.KnowledgeBaseSummary$ = exports.KnowledgeBaseData$ = exports.KnowledgeBaseAssociationData$ = exports.KnowledgeBaseAssociationConfigurationData$ = exports.IntentInputData$ = exports.IntentDetectedDataDetails$ = exports.ImportJobSummary$ = exports.ImportJobData$ = exports.Highlight$ = exports.HierarchicalChunkingLevelConfiguration$ = exports.HierarchicalChunkingConfiguration$ = exports.GuardrailWordConfig$ = exports.GuardrailTopicConfig$ = exports.GuardrailRegexConfig$ = exports.GuardrailPolicyResult$ = exports.GuardrailPiiEntityConfig$ = exports.GuardrailManagedWordsConfig$ = exports.GuardrailContextualGroundingFilterConfig$ = exports.GuardrailContentFilterConfig$ = exports.GroupingConfiguration$ = exports.GetSessionResponse$ = exports.GetSessionRequest$ = exports.GetRecommendationsResponse$ = exports.GetRecommendationsRequest$ = exports.GetQuickResponseResponse$ = exports.GetQuickResponseRequest$ = exports.GetNextMessageResponse$ = exports.GetNextMessageRequest$ = exports.GetMessageTemplateResponse$ = exports.GetMessageTemplateRequest$ = exports.GetKnowledgeBaseResponse$ = exports.GetKnowledgeBaseRequest$ = exports.GetImportJobResponse$ = exports.GetImportJobRequest$ = exports.GetContentSummaryResponse$ = exports.GetContentSummaryRequest$ = exports.GetContentResponse$ = exports.GetContentRequest$ = exports.GetContentAssociationResponse$ = exports.GetContentAssociationRequest$ = exports.GetAssistantResponse$ = exports.GetAssistantRequest$ = exports.GetAssistantAssociationResponse$ = exports.GetAssistantAssociationRequest$ = exports.GetAIPromptResponse$ = exports.GetAIPromptRequest$ = exports.GetAIGuardrailResponse$ = exports.GetAIGuardrailRequest$ = void 0;
|
|
7
|
+
exports.MessageTemplateVersionSummary$ = exports.MessageTemplateSummary$ = exports.MessageTemplateSearchResultData$ = exports.MessageTemplateSearchExpression$ = exports.MessageTemplateQueryField$ = exports.MessageTemplateOrderField$ = exports.MessageTemplateFilterField$ = exports.MessageTemplateData$ = exports.MessageTemplateAttributes$ = exports.MessageTemplateAttachment$ = exports.MessageOutput$ = exports.MessageInput$ = exports.MessageConfiguration$ = exports.ManualSearchAIAgentConfiguration$ = exports.ListTagsForResourceResponse$ = exports.ListTagsForResourceRequest$ = exports.ListSpansResponse$ = exports.ListSpansRequest$ = exports.ListQuickResponsesResponse$ = exports.ListQuickResponsesRequest$ = exports.ListModelsResponse$ = exports.ListModelsRequest$ = exports.ListMessageTemplateVersionsResponse$ = exports.ListMessageTemplateVersionsRequest$ = exports.ListMessageTemplatesResponse$ = exports.ListMessageTemplatesRequest$ = exports.ListMessagesResponse$ = exports.ListMessagesRequest$ = exports.ListKnowledgeBasesResponse$ = exports.ListKnowledgeBasesRequest$ = exports.ListImportJobsResponse$ = exports.ListImportJobsRequest$ = exports.ListContentsResponse$ = exports.ListContentsRequest$ = exports.ListContentAssociationsResponse$ = exports.ListContentAssociationsRequest$ = exports.ListAssistantsResponse$ = exports.ListAssistantsRequest$ = exports.ListAssistantAssociationsResponse$ = exports.ListAssistantAssociationsRequest$ = exports.ListAIPromptVersionsResponse$ = exports.ListAIPromptVersionsRequest$ = exports.ListAIPromptsResponse$ = exports.ListAIPromptsRequest$ = exports.ListAIGuardrailVersionsResponse$ = exports.ListAIGuardrailVersionsRequest$ = exports.ListAIGuardrailsResponse$ = exports.ListAIGuardrailsRequest$ = exports.ListAIAgentVersionsResponse$ = exports.ListAIAgentVersionsRequest$ = void 0;
|
|
8
|
+
exports.SearchExpression$ = exports.SearchContentResponse$ = exports.SearchContentRequest$ = exports.RuntimeSessionData$ = exports.RetrieveResult$ = exports.RetrieveResponse$ = exports.RetrieveRequest$ = exports.RetrievalConfiguration$ = exports.ResultData$ = exports.RenderMessageTemplateResponse$ = exports.RenderMessageTemplateRequest$ = exports.RenderingConfiguration$ = exports.RemoveKnowledgeBaseTemplateUriResponse$ = exports.RemoveKnowledgeBaseTemplateUriRequest$ = exports.RemoveAssistantAIAgentResponse$ = exports.RemoveAssistantAIAgentRequest$ = exports.RecommendationTrigger$ = exports.RecommendationData$ = exports.RankingData$ = exports.QuickResponseSummary$ = exports.QuickResponseSearchResultData$ = exports.QuickResponseSearchExpression$ = exports.QuickResponseQueryField$ = exports.QuickResponseOrderField$ = exports.QuickResponseFilterField$ = exports.QuickResponseData$ = exports.QuickResponseContents$ = exports.QueryTextInputData$ = exports.QueryRecommendationTriggerData$ = exports.QueryConditionItem$ = exports.QueryAssistantResponse$ = exports.QueryAssistantRequest$ = exports.PutFeedbackResponse$ = exports.PutFeedbackRequest$ = exports.PushMessageTemplateContent$ = exports.PushFCMMessageTemplateContent$ = exports.PushBaiduMessageTemplateContent$ = exports.PushAPNSMessageTemplateContent$ = exports.PushADMMessageTemplateContent$ = exports.ParsingPrompt$ = exports.ParsingConfiguration$ = exports.OrchestratorConfigurationEntry$ = exports.OrchestrationAIAgentConfiguration$ = exports.NotifyRecommendationsReceivedResponse$ = exports.NotifyRecommendationsReceivedRequest$ = exports.NotifyRecommendationsReceivedError$ = exports.NoteTakingAIAgentConfiguration$ = exports.NotesDataDetails$ = exports.NotesChunkDataDetails$ = exports.ModelSummary$ = void 0;
|
|
9
|
+
exports.UntagResourceRequest$ = exports.ToolUseResultData$ = exports.ToolOverrideInputValue$ = exports.ToolOverrideConstantInputValue$ = exports.ToolOutputFilter$ = exports.ToolOutputConfiguration$ = exports.ToolInstruction$ = exports.ToolConfiguration$ = exports.TextMessage$ = exports.TextFullAIPromptEditTemplateConfiguration$ = exports.TextData$ = exports.TagResourceResponse$ = exports.TagResourceRequest$ = exports.TagCondition$ = exports.SystemEndpointAttributes$ = exports.SystemAttributes$ = exports.SuggestedMessageReference$ = exports.SuggestedMessageDataDetails$ = exports.StartImportJobResponse$ = exports.StartImportJobRequest$ = exports.StartContentUploadResponse$ = exports.StartContentUploadRequest$ = exports.SpanToolUseValue$ = exports.SpanToolResultValue$ = exports.SpanTextValue$ = exports.SpanReasoningValue$ = exports.SpanMessage$ = exports.SpanGuardrailAssessment$ = exports.SpanCitation$ = exports.SpanAttributes$ = exports.Span$ = exports.SourceContentDataDetails$ = exports.SMSMessageTemplateContentBody$ = exports.SMSMessageTemplateContent$ = exports.SessionSummary$ = exports.SessionIntegrationConfiguration$ = exports.SessionData$ = exports.ServerSideEncryptionConfiguration$ = exports.SendMessageResponse$ = exports.SendMessageRequest$ = exports.SemanticChunkingConfiguration$ = exports.SelfServiceConversationHistory$ = exports.SelfServiceAIAgentConfiguration$ = exports.SeedUrl$ = exports.SearchSessionsResponse$ = exports.SearchSessionsRequest$ = exports.SearchQuickResponsesResponse$ = exports.SearchQuickResponsesRequest$ = exports.SearchMessageTemplatesResponse$ = exports.SearchMessageTemplatesRequest$ = void 0;
|
|
10
|
+
exports.QueryCondition$ = exports.OrCondition$ = exports.MessageTemplateSourceConfigurationSummary$ = exports.MessageTemplateSourceConfiguration$ = exports.MessageTemplateContentProvider$ = exports.MessageTemplateBodyContentProvider$ = exports.MessageData$ = exports.ManagedSourceConfiguration$ = exports.KnowledgeSource$ = exports.DataReference$ = exports.DataDetails$ = exports.ContentFeedbackData$ = exports.ContentAssociationContents$ = exports.Configuration$ = exports.AssociationConfigurationData$ = exports.AssistantAssociationOutputData$ = exports.AssistantAssociationInputData$ = exports.AIPromptTemplateConfiguration$ = exports.AIAgentConfiguration$ = exports.WhatsAppMessageTemplateSourceConfigurationSummary$ = exports.WhatsAppMessageTemplateSourceConfiguration$ = exports.WhatsAppMessageTemplateContent$ = exports.WebCrawlerLimits$ = exports.WebCrawlerConfiguration$ = exports.VectorIngestionConfiguration$ = exports.UserInteractionConfiguration$ = exports.UrlConfiguration$ = exports.UpdateSessionResponse$ = exports.UpdateSessionRequest$ = exports.UpdateSessionDataResponse$ = exports.UpdateSessionDataRequest$ = exports.UpdateQuickResponseResponse$ = exports.UpdateQuickResponseRequest$ = exports.UpdateMessageTemplateResponse$ = exports.UpdateMessageTemplateRequest$ = exports.UpdateMessageTemplateMetadataResponse$ = exports.UpdateMessageTemplateMetadataRequest$ = exports.UpdateKnowledgeBaseTemplateUriResponse$ = exports.UpdateKnowledgeBaseTemplateUriRequest$ = exports.UpdateContentResponse$ = exports.UpdateContentRequest$ = exports.UpdateAssistantAIAgentResponse$ = exports.UpdateAssistantAIAgentRequest$ = exports.UpdateAIPromptResponse$ = exports.UpdateAIPromptRequest$ = exports.UpdateAIGuardrailResponse$ = exports.UpdateAIGuardrailRequest$ = exports.UpdateAIAgentResponse$ = exports.UpdateAIAgentRequest$ = exports.UntagResourceResponse$ = void 0;
|
|
11
|
+
exports.GetContentAssociation$ = exports.GetContent$ = exports.GetAssistantAssociation$ = exports.GetAssistant$ = exports.GetAIPrompt$ = exports.GetAIGuardrail$ = exports.GetAIAgent$ = exports.DeleteQuickResponse$ = exports.DeleteMessageTemplateAttachment$ = exports.DeleteMessageTemplate$ = exports.DeleteKnowledgeBase$ = exports.DeleteImportJob$ = exports.DeleteContentAssociation$ = exports.DeleteContent$ = exports.DeleteAssistantAssociation$ = exports.DeleteAssistant$ = exports.DeleteAIPromptVersion$ = exports.DeleteAIPrompt$ = exports.DeleteAIGuardrailVersion$ = exports.DeleteAIGuardrail$ = exports.DeleteAIAgentVersion$ = exports.DeleteAIAgent$ = exports.DeactivateMessageTemplate$ = exports.CreateSession$ = exports.CreateQuickResponse$ = exports.CreateMessageTemplateVersion$ = exports.CreateMessageTemplateAttachment$ = exports.CreateMessageTemplate$ = exports.CreateKnowledgeBase$ = exports.CreateContentAssociation$ = exports.CreateContent$ = exports.CreateAssistantAssociation$ = exports.CreateAssistant$ = exports.CreateAIPromptVersion$ = exports.CreateAIPrompt$ = exports.CreateAIGuardrailVersion$ = exports.CreateAIGuardrail$ = exports.CreateAIAgentVersion$ = exports.CreateAIAgent$ = exports.ActivateMessageTemplate$ = exports.ToolOverrideInputValueConfiguration$ = exports.TagFilter$ = exports.SpanMessageValue$ = exports.SourceConfiguration$ = exports.RuntimeSessionDataValue$ = exports.RetrievalFilterConfiguration$ = exports.RecommendationTriggerData$ = exports.QuickResponseDataProvider$ = exports.QuickResponseContentProvider$ = exports.QueryInputData$ = void 0;
|
|
12
|
+
exports.UpdateMessageTemplate$ = exports.UpdateKnowledgeBaseTemplateUri$ = exports.UpdateContent$ = exports.UpdateAssistantAIAgent$ = exports.UpdateAIPrompt$ = exports.UpdateAIGuardrail$ = exports.UpdateAIAgent$ = exports.UntagResource$ = exports.TagResource$ = exports.StartImportJob$ = exports.StartContentUpload$ = exports.SendMessage$ = exports.SearchSessions$ = exports.SearchQuickResponses$ = exports.SearchMessageTemplates$ = exports.SearchContent$ = exports.Retrieve$ = exports.RenderMessageTemplate$ = exports.RemoveKnowledgeBaseTemplateUri$ = exports.RemoveAssistantAIAgent$ = exports.QueryAssistant$ = exports.PutFeedback$ = exports.NotifyRecommendationsReceived$ = exports.ListTagsForResource$ = exports.ListSpans$ = exports.ListQuickResponses$ = exports.ListModels$ = exports.ListMessageTemplateVersions$ = exports.ListMessageTemplates$ = exports.ListMessages$ = exports.ListKnowledgeBases$ = exports.ListImportJobs$ = exports.ListContents$ = exports.ListContentAssociations$ = exports.ListAssistants$ = exports.ListAssistantAssociations$ = exports.ListAIPromptVersions$ = exports.ListAIPrompts$ = exports.ListAIGuardrailVersions$ = exports.ListAIGuardrails$ = exports.ListAIAgentVersions$ = exports.ListAIAgents$ = exports.GetSession$ = exports.GetRecommendations$ = exports.GetQuickResponse$ = exports.GetNextMessage$ = exports.GetMessageTemplate$ = exports.GetKnowledgeBase$ = exports.GetImportJob$ = exports.GetContentSummary$ = void 0;
|
|
13
|
+
exports.UpdateSessionData$ = exports.UpdateSession$ = exports.UpdateQuickResponse$ = exports.UpdateMessageTemplateMetadata$ = void 0;
|
|
14
14
|
const _A = "Annotation";
|
|
15
15
|
const _AA = "AgentAttributes";
|
|
16
16
|
const _AAD = "AssistantAssociationData";
|
|
@@ -268,6 +268,8 @@ const _GNMRe = "GetNextMessageResponse";
|
|
|
268
268
|
const _GPEC = "GuardrailPiiEntityConfig";
|
|
269
269
|
const _GPECu = "GuardrailPiiEntitiesConfig";
|
|
270
270
|
const _GPET = "GuardrailPiiEntityType";
|
|
271
|
+
const _GPR = "GuardrailPolicyResult";
|
|
272
|
+
const _GPRL = "GuardrailPolicyResultList";
|
|
271
273
|
const _GQR = "GetQuickResponse";
|
|
272
274
|
const _GQRR = "GetQuickResponseRequest";
|
|
273
275
|
const _GQRRe = "GetQuickResponseResponse";
|
|
@@ -502,6 +504,8 @@ const _SCo = "SourceConfiguration";
|
|
|
502
504
|
const _SD = "SessionData";
|
|
503
505
|
const _SE = "SearchExpression";
|
|
504
506
|
const _SEA = "SystemEndpointAttributes";
|
|
507
|
+
const _SGA = "SpanGuardrailAssessment";
|
|
508
|
+
const _SGAL = "SpanGuardrailAssessmentList";
|
|
505
509
|
const _SIC = "SessionIntegrationConfiguration";
|
|
506
510
|
const _SIJ = "StartImportJob";
|
|
507
511
|
const _SIJR = "StartImportJobRequest";
|
|
@@ -818,6 +822,7 @@ const _fc = "fcm";
|
|
|
818
822
|
const _fi = "filter";
|
|
819
823
|
const _fil = "filters";
|
|
820
824
|
const _g = "gender";
|
|
825
|
+
const _gA = "guardrailAssessments";
|
|
821
826
|
const _gC = "groupingConfiguration";
|
|
822
827
|
const _gCD = "generativeChunkData";
|
|
823
828
|
const _gCFD = "generativeContentFeedbackData";
|
|
@@ -825,6 +830,8 @@ const _gCM = "generateChunkedMessage";
|
|
|
825
830
|
const _gD = "generativeData";
|
|
826
831
|
const _gFM = "generateFillerMessage";
|
|
827
832
|
const _gI = "generationId";
|
|
833
|
+
const _gIu = "guardrailId";
|
|
834
|
+
const _gN = "guardrailName";
|
|
828
835
|
const _gR = "generativeReference";
|
|
829
836
|
const _gT = "greaterThan";
|
|
830
837
|
const _gTOE = "greaterThanOrEquals";
|
|
@@ -980,11 +987,13 @@ const _pS = "parsingStrategy";
|
|
|
980
987
|
const _pSI = "parentSpanId";
|
|
981
988
|
const _pT = "partyType";
|
|
982
989
|
const _pTl = "plainText";
|
|
990
|
+
const _pTo = "policyType";
|
|
983
991
|
const _pTr = "promptType";
|
|
984
992
|
const _pUTTL = "presignedUrlTimeToLive";
|
|
985
993
|
const _pV = "promptVersion";
|
|
986
994
|
const _pa = "pattern";
|
|
987
995
|
const _par = "participant";
|
|
996
|
+
const _po = "policies";
|
|
988
997
|
const _pr = "priority";
|
|
989
998
|
const _pu = "push";
|
|
990
999
|
const _q = "queries";
|
|
@@ -2111,6 +2120,11 @@ exports.GuardrailPiiEntityConfig$ = [3, n0, _GPEC,
|
|
|
2111
2120
|
[_t, _ac],
|
|
2112
2121
|
[[() => GuardrailPiiEntityType, 0], [() => GuardrailSensitiveInformationAction, 0]], 2
|
|
2113
2122
|
];
|
|
2123
|
+
exports.GuardrailPolicyResult$ = [3, n0, _GPR,
|
|
2124
|
+
0,
|
|
2125
|
+
[_pTo, _ac, _de],
|
|
2126
|
+
[0, 0, 0], 2
|
|
2127
|
+
];
|
|
2114
2128
|
exports.GuardrailRegexConfig$ = [3, n0, _GRC,
|
|
2115
2129
|
0,
|
|
2116
2130
|
[_n, _pa, _ac, _d],
|
|
@@ -2793,14 +2807,19 @@ exports.Span$ = [3, n0, _S,
|
|
|
2793
2807
|
];
|
|
2794
2808
|
exports.SpanAttributes$ = [3, n0, _SA,
|
|
2795
2809
|
0,
|
|
2796
|
-
[_oN, _pNr, _eTr, _aIg, _iAn, _cIo, _iCI, _sNe, _aAA, _aAT, _aAN, _aAI, _aAV, _aAIi, _aAOUC, _rM, _rMT, _te, _tP, _rMe, _rFR, _uIT, _uOT, _uTT, _cRIT, _cWIT, _iM, _oM, _sIy, _pA, _pIr, _pTr, _pNro, _pV, _tTFTM],
|
|
2797
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 64 | 0, 1, 1, 1, 1, 1, [() => SpanMessageList, 0], [() => SpanMessageList, 0], [() => SpanMessageValueList, 0], 0, 0, 0, 0, 1, 1]
|
|
2810
|
+
[_oN, _pNr, _eTr, _aIg, _iAn, _cIo, _iCI, _sNe, _aAA, _aAT, _aAN, _aAI, _aAV, _aAIi, _aAOUC, _rM, _rMT, _te, _tP, _rMe, _rFR, _uIT, _uOT, _uTT, _cRIT, _cWIT, _iM, _oM, _sIy, _pA, _pIr, _pTr, _pNro, _pV, _tTFTM, _gA],
|
|
2811
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 64 | 0, 1, 1, 1, 1, 1, [() => SpanMessageList, 0], [() => SpanMessageList, 0], [() => SpanMessageValueList, 0], 0, 0, 0, 0, 1, 1, () => SpanGuardrailAssessmentList]
|
|
2798
2812
|
];
|
|
2799
2813
|
exports.SpanCitation$ = [3, n0, _SC,
|
|
2800
2814
|
0,
|
|
2801
2815
|
[_cI, _ti, _kBI, _kBA],
|
|
2802
2816
|
[0, [() => SensitiveString, 0], 0, 0]
|
|
2803
2817
|
];
|
|
2818
|
+
exports.SpanGuardrailAssessment$ = [3, n0, _SGA,
|
|
2819
|
+
0,
|
|
2820
|
+
[_gIu, _gN, _so, _ac, _po],
|
|
2821
|
+
[0, 0, 0, 0, () => GuardrailPolicyResultList], 4
|
|
2822
|
+
];
|
|
2804
2823
|
exports.SpanMessage$ = [3, n0, _SM,
|
|
2805
2824
|
0,
|
|
2806
2825
|
[_mIe, _par, _tim, _va],
|
|
@@ -3176,6 +3195,9 @@ var GuardrailPiiEntitiesConfig = [1, n0, _GPECu,
|
|
|
3176
3195
|
0, [() => exports.GuardrailPiiEntityConfig$,
|
|
3177
3196
|
0]
|
|
3178
3197
|
];
|
|
3198
|
+
var GuardrailPolicyResultList = [1, n0, _GPRL,
|
|
3199
|
+
0, () => exports.GuardrailPolicyResult$
|
|
3200
|
+
];
|
|
3179
3201
|
var GuardrailRegexesConfig = [1, n0, _GRCu,
|
|
3180
3202
|
0, [() => exports.GuardrailRegexConfig$,
|
|
3181
3203
|
0]
|
|
@@ -3308,6 +3330,9 @@ var SpanCitationList = [1, n0, _SCL,
|
|
|
3308
3330
|
0]
|
|
3309
3331
|
];
|
|
3310
3332
|
var SpanFinishReasonList = 64 | 0;
|
|
3333
|
+
var SpanGuardrailAssessmentList = [1, n0, _SGAL,
|
|
3334
|
+
0, () => exports.SpanGuardrailAssessment$
|
|
3335
|
+
];
|
|
3311
3336
|
var SpanList = [1, n0, _SL,
|
|
3312
3337
|
0, [() => exports.Span$,
|
|
3313
3338
|
0]
|
package/dist-es/models/enums.js
CHANGED
|
@@ -262,6 +262,23 @@ export const MessageFilterType = {
|
|
|
262
262
|
ALL: "ALL",
|
|
263
263
|
TEXT_ONLY: "TEXT_ONLY",
|
|
264
264
|
};
|
|
265
|
+
export const GuardrailAction = {
|
|
266
|
+
BLOCKED: "BLOCKED",
|
|
267
|
+
MASKED: "MASKED",
|
|
268
|
+
NONE: "NONE",
|
|
269
|
+
};
|
|
270
|
+
export const GuardrailPolicyType = {
|
|
271
|
+
CONTENT_FILTER: "CONTENT_FILTER",
|
|
272
|
+
CONTEXTUAL_GROUNDING: "CONTEXTUAL_GROUNDING",
|
|
273
|
+
SENSITIVE_INFORMATION_PII: "SENSITIVE_INFORMATION_PII",
|
|
274
|
+
SENSITIVE_INFORMATION_REGEX: "SENSITIVE_INFORMATION_REGEX",
|
|
275
|
+
TOPIC: "TOPIC",
|
|
276
|
+
WORD: "WORD",
|
|
277
|
+
};
|
|
278
|
+
export const GuardrailSource = {
|
|
279
|
+
INPUT: "INPUT",
|
|
280
|
+
OUTPUT: "OUTPUT",
|
|
281
|
+
};
|
|
265
282
|
export const SpanType = {
|
|
266
283
|
CLIENT: "CLIENT",
|
|
267
284
|
INTERNAL: "INTERNAL",
|
|
@@ -255,6 +255,8 @@ const _GNMRe = "GetNextMessageResponse";
|
|
|
255
255
|
const _GPEC = "GuardrailPiiEntityConfig";
|
|
256
256
|
const _GPECu = "GuardrailPiiEntitiesConfig";
|
|
257
257
|
const _GPET = "GuardrailPiiEntityType";
|
|
258
|
+
const _GPR = "GuardrailPolicyResult";
|
|
259
|
+
const _GPRL = "GuardrailPolicyResultList";
|
|
258
260
|
const _GQR = "GetQuickResponse";
|
|
259
261
|
const _GQRR = "GetQuickResponseRequest";
|
|
260
262
|
const _GQRRe = "GetQuickResponseResponse";
|
|
@@ -489,6 +491,8 @@ const _SCo = "SourceConfiguration";
|
|
|
489
491
|
const _SD = "SessionData";
|
|
490
492
|
const _SE = "SearchExpression";
|
|
491
493
|
const _SEA = "SystemEndpointAttributes";
|
|
494
|
+
const _SGA = "SpanGuardrailAssessment";
|
|
495
|
+
const _SGAL = "SpanGuardrailAssessmentList";
|
|
492
496
|
const _SIC = "SessionIntegrationConfiguration";
|
|
493
497
|
const _SIJ = "StartImportJob";
|
|
494
498
|
const _SIJR = "StartImportJobRequest";
|
|
@@ -805,6 +809,7 @@ const _fc = "fcm";
|
|
|
805
809
|
const _fi = "filter";
|
|
806
810
|
const _fil = "filters";
|
|
807
811
|
const _g = "gender";
|
|
812
|
+
const _gA = "guardrailAssessments";
|
|
808
813
|
const _gC = "groupingConfiguration";
|
|
809
814
|
const _gCD = "generativeChunkData";
|
|
810
815
|
const _gCFD = "generativeContentFeedbackData";
|
|
@@ -812,6 +817,8 @@ const _gCM = "generateChunkedMessage";
|
|
|
812
817
|
const _gD = "generativeData";
|
|
813
818
|
const _gFM = "generateFillerMessage";
|
|
814
819
|
const _gI = "generationId";
|
|
820
|
+
const _gIu = "guardrailId";
|
|
821
|
+
const _gN = "guardrailName";
|
|
815
822
|
const _gR = "generativeReference";
|
|
816
823
|
const _gT = "greaterThan";
|
|
817
824
|
const _gTOE = "greaterThanOrEquals";
|
|
@@ -967,11 +974,13 @@ const _pS = "parsingStrategy";
|
|
|
967
974
|
const _pSI = "parentSpanId";
|
|
968
975
|
const _pT = "partyType";
|
|
969
976
|
const _pTl = "plainText";
|
|
977
|
+
const _pTo = "policyType";
|
|
970
978
|
const _pTr = "promptType";
|
|
971
979
|
const _pUTTL = "presignedUrlTimeToLive";
|
|
972
980
|
const _pV = "promptVersion";
|
|
973
981
|
const _pa = "pattern";
|
|
974
982
|
const _par = "participant";
|
|
983
|
+
const _po = "policies";
|
|
975
984
|
const _pr = "priority";
|
|
976
985
|
const _pu = "push";
|
|
977
986
|
const _q = "queries";
|
|
@@ -2098,6 +2107,11 @@ export var GuardrailPiiEntityConfig$ = [3, n0, _GPEC,
|
|
|
2098
2107
|
[_t, _ac],
|
|
2099
2108
|
[[() => GuardrailPiiEntityType, 0], [() => GuardrailSensitiveInformationAction, 0]], 2
|
|
2100
2109
|
];
|
|
2110
|
+
export var GuardrailPolicyResult$ = [3, n0, _GPR,
|
|
2111
|
+
0,
|
|
2112
|
+
[_pTo, _ac, _de],
|
|
2113
|
+
[0, 0, 0], 2
|
|
2114
|
+
];
|
|
2101
2115
|
export var GuardrailRegexConfig$ = [3, n0, _GRC,
|
|
2102
2116
|
0,
|
|
2103
2117
|
[_n, _pa, _ac, _d],
|
|
@@ -2780,14 +2794,19 @@ export var Span$ = [3, n0, _S,
|
|
|
2780
2794
|
];
|
|
2781
2795
|
export var SpanAttributes$ = [3, n0, _SA,
|
|
2782
2796
|
0,
|
|
2783
|
-
[_oN, _pNr, _eTr, _aIg, _iAn, _cIo, _iCI, _sNe, _aAA, _aAT, _aAN, _aAI, _aAV, _aAIi, _aAOUC, _rM, _rMT, _te, _tP, _rMe, _rFR, _uIT, _uOT, _uTT, _cRIT, _cWIT, _iM, _oM, _sIy, _pA, _pIr, _pTr, _pNro, _pV, _tTFTM],
|
|
2784
|
-
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 64 | 0, 1, 1, 1, 1, 1, [() => SpanMessageList, 0], [() => SpanMessageList, 0], [() => SpanMessageValueList, 0], 0, 0, 0, 0, 1, 1]
|
|
2797
|
+
[_oN, _pNr, _eTr, _aIg, _iAn, _cIo, _iCI, _sNe, _aAA, _aAT, _aAN, _aAI, _aAV, _aAIi, _aAOUC, _rM, _rMT, _te, _tP, _rMe, _rFR, _uIT, _uOT, _uTT, _cRIT, _cWIT, _iM, _oM, _sIy, _pA, _pIr, _pTr, _pNro, _pV, _tTFTM, _gA],
|
|
2798
|
+
[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 1, 0, 64 | 0, 1, 1, 1, 1, 1, [() => SpanMessageList, 0], [() => SpanMessageList, 0], [() => SpanMessageValueList, 0], 0, 0, 0, 0, 1, 1, () => SpanGuardrailAssessmentList]
|
|
2785
2799
|
];
|
|
2786
2800
|
export var SpanCitation$ = [3, n0, _SC,
|
|
2787
2801
|
0,
|
|
2788
2802
|
[_cI, _ti, _kBI, _kBA],
|
|
2789
2803
|
[0, [() => SensitiveString, 0], 0, 0]
|
|
2790
2804
|
];
|
|
2805
|
+
export var SpanGuardrailAssessment$ = [3, n0, _SGA,
|
|
2806
|
+
0,
|
|
2807
|
+
[_gIu, _gN, _so, _ac, _po],
|
|
2808
|
+
[0, 0, 0, 0, () => GuardrailPolicyResultList], 4
|
|
2809
|
+
];
|
|
2791
2810
|
export var SpanMessage$ = [3, n0, _SM,
|
|
2792
2811
|
0,
|
|
2793
2812
|
[_mIe, _par, _tim, _va],
|
|
@@ -3163,6 +3182,9 @@ var GuardrailPiiEntitiesConfig = [1, n0, _GPECu,
|
|
|
3163
3182
|
0, [() => GuardrailPiiEntityConfig$,
|
|
3164
3183
|
0]
|
|
3165
3184
|
];
|
|
3185
|
+
var GuardrailPolicyResultList = [1, n0, _GPRL,
|
|
3186
|
+
0, () => GuardrailPolicyResult$
|
|
3187
|
+
];
|
|
3166
3188
|
var GuardrailRegexesConfig = [1, n0, _GRCu,
|
|
3167
3189
|
0, [() => GuardrailRegexConfig$,
|
|
3168
3190
|
0]
|
|
@@ -3295,6 +3317,9 @@ var SpanCitationList = [1, n0, _SCL,
|
|
|
3295
3317
|
0]
|
|
3296
3318
|
];
|
|
3297
3319
|
var SpanFinishReasonList = 64 | 0;
|
|
3320
|
+
var SpanGuardrailAssessmentList = [1, n0, _SGAL,
|
|
3321
|
+
0, () => SpanGuardrailAssessment$
|
|
3322
|
+
];
|
|
3298
3323
|
var SpanList = [1, n0, _SL,
|
|
3299
3324
|
0, [() => Span$,
|
|
3300
3325
|
0]
|
|
@@ -174,6 +174,21 @@ declare const ListSpansCommand_base: {
|
|
|
174
174
|
* // promptName: "STRING_VALUE",
|
|
175
175
|
* // promptVersion: Number("int"),
|
|
176
176
|
* // timeToFirstTokenMs: Number("int"),
|
|
177
|
+
* // guardrailAssessments: [ // SpanGuardrailAssessmentList
|
|
178
|
+
* // { // SpanGuardrailAssessment
|
|
179
|
+
* // guardrailId: "STRING_VALUE", // required
|
|
180
|
+
* // guardrailName: "STRING_VALUE", // required
|
|
181
|
+
* // source: "STRING_VALUE", // required
|
|
182
|
+
* // action: "STRING_VALUE", // required
|
|
183
|
+
* // policies: [ // GuardrailPolicyResultList
|
|
184
|
+
* // { // GuardrailPolicyResult
|
|
185
|
+
* // policyType: "STRING_VALUE", // required
|
|
186
|
+
* // action: "STRING_VALUE", // required
|
|
187
|
+
* // details: "STRING_VALUE",
|
|
188
|
+
* // },
|
|
189
|
+
* // ],
|
|
190
|
+
* // },
|
|
191
|
+
* // ],
|
|
177
192
|
* // },
|
|
178
193
|
* // },
|
|
179
194
|
* // ],
|
|
@@ -598,6 +598,47 @@ export declare const MessageFilterType: {
|
|
|
598
598
|
* @public
|
|
599
599
|
*/
|
|
600
600
|
export type MessageFilterType = (typeof MessageFilterType)[keyof typeof MessageFilterType];
|
|
601
|
+
/**
|
|
602
|
+
* @public
|
|
603
|
+
* @enum
|
|
604
|
+
*/
|
|
605
|
+
export declare const GuardrailAction: {
|
|
606
|
+
readonly BLOCKED: "BLOCKED";
|
|
607
|
+
readonly MASKED: "MASKED";
|
|
608
|
+
readonly NONE: "NONE";
|
|
609
|
+
};
|
|
610
|
+
/**
|
|
611
|
+
* @public
|
|
612
|
+
*/
|
|
613
|
+
export type GuardrailAction = (typeof GuardrailAction)[keyof typeof GuardrailAction];
|
|
614
|
+
/**
|
|
615
|
+
* @public
|
|
616
|
+
* @enum
|
|
617
|
+
*/
|
|
618
|
+
export declare const GuardrailPolicyType: {
|
|
619
|
+
readonly CONTENT_FILTER: "CONTENT_FILTER";
|
|
620
|
+
readonly CONTEXTUAL_GROUNDING: "CONTEXTUAL_GROUNDING";
|
|
621
|
+
readonly SENSITIVE_INFORMATION_PII: "SENSITIVE_INFORMATION_PII";
|
|
622
|
+
readonly SENSITIVE_INFORMATION_REGEX: "SENSITIVE_INFORMATION_REGEX";
|
|
623
|
+
readonly TOPIC: "TOPIC";
|
|
624
|
+
readonly WORD: "WORD";
|
|
625
|
+
};
|
|
626
|
+
/**
|
|
627
|
+
* @public
|
|
628
|
+
*/
|
|
629
|
+
export type GuardrailPolicyType = (typeof GuardrailPolicyType)[keyof typeof GuardrailPolicyType];
|
|
630
|
+
/**
|
|
631
|
+
* @public
|
|
632
|
+
* @enum
|
|
633
|
+
*/
|
|
634
|
+
export declare const GuardrailSource: {
|
|
635
|
+
readonly INPUT: "INPUT";
|
|
636
|
+
readonly OUTPUT: "OUTPUT";
|
|
637
|
+
};
|
|
638
|
+
/**
|
|
639
|
+
* @public
|
|
640
|
+
*/
|
|
641
|
+
export type GuardrailSource = (typeof GuardrailSource)[keyof typeof GuardrailSource];
|
|
601
642
|
/**
|
|
602
643
|
* @public
|
|
603
644
|
* @enum
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DocumentType as __DocumentType } from "@smithy/types";
|
|
2
|
-
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName,
|
|
2
|
+
import type { AIAgentAssociationConfigurationType, AIAgentType, AIPromptAPIFormat, AIPromptTemplateType, AIPromptType, AssistantCapabilityType, AssistantStatus, AssistantType, AssociationType, ChannelSubtype, ChunkingStrategy, ContentAssociationType, ContentDisposition, ContentStatus, ConversationStatus, ConversationStatusReason, CrossRegionStatus, FilterField, FilterOperator, GuardrailAction, GuardrailContentFilterType, GuardrailContextualGroundingFilterType, GuardrailFilterStrength, GuardrailManagedWordsType, GuardrailPiiEntityType, GuardrailPolicyType, GuardrailSensitiveInformationAction, GuardrailSource, GuardrailTopicType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageFilterType, MessageTemplateAttributeType, MessageType, ModelLifecycle, Origin, ParsingStrategy, Participant, PushMessageAction, QueryConditionComparisonOperator, QueryConditionFieldName, RecommendationSourceType, RecommendationTriggerType, RecommendationType, ReferenceType, Relevance, RelevanceLevel, SessionDataNamespace, SourceContentType, Status, SyncStatus, TargetType, ToolOverrideInputValueType, ToolType, VisibilityStatus, WebScopeType, WhatsAppSourceConfigurationStatus } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -4925,12 +4925,64 @@ export interface ListSpansRequest {
|
|
|
4925
4925
|
maxResults?: number | undefined;
|
|
4926
4926
|
}
|
|
4927
4927
|
/**
|
|
4928
|
-
*
|
|
4928
|
+
* <p>Per-policy guardrail assessment result. Captures which policy triggered, its outcome, and a policy-specific detail string.</p>
|
|
4929
|
+
* @public
|
|
4930
|
+
*/
|
|
4931
|
+
export interface GuardrailPolicyResult {
|
|
4932
|
+
/**
|
|
4933
|
+
* <p>The type of guardrail policy that was evaluated.</p>
|
|
4934
|
+
* @public
|
|
4935
|
+
*/
|
|
4936
|
+
policyType: GuardrailPolicyType | undefined;
|
|
4937
|
+
/**
|
|
4938
|
+
* <p>Outcome of this specific policy.</p>
|
|
4939
|
+
* @public
|
|
4940
|
+
*/
|
|
4941
|
+
action: GuardrailAction | undefined;
|
|
4942
|
+
/**
|
|
4943
|
+
* <p>Policy-specific detail.</p>
|
|
4944
|
+
* @public
|
|
4945
|
+
*/
|
|
4946
|
+
details?: string | undefined;
|
|
4947
|
+
}
|
|
4948
|
+
/**
|
|
4949
|
+
* <p>Result of a single guardrail assessment, covering either the input (customer/user message) or the output (LLM response) of a Bedrock Converse call.</p>
|
|
4950
|
+
* @public
|
|
4951
|
+
*/
|
|
4952
|
+
export interface SpanGuardrailAssessment {
|
|
4953
|
+
/**
|
|
4954
|
+
* <p>Unique AI Guardrail identifier.</p>
|
|
4955
|
+
* @public
|
|
4956
|
+
*/
|
|
4957
|
+
guardrailId: string | undefined;
|
|
4958
|
+
/**
|
|
4959
|
+
* <p>Customer-defined display name of the AI Guardrail resource.</p>
|
|
4960
|
+
* @public
|
|
4961
|
+
*/
|
|
4962
|
+
guardrailName: string | undefined;
|
|
4963
|
+
/**
|
|
4964
|
+
* <p>Content source the guardrail was evaluated against.</p>
|
|
4965
|
+
* @public
|
|
4966
|
+
*/
|
|
4967
|
+
source: GuardrailSource | undefined;
|
|
4968
|
+
/**
|
|
4969
|
+
* <p>Outcome of the guardrail assessment.</p>
|
|
4970
|
+
* @public
|
|
4971
|
+
*/
|
|
4972
|
+
action: GuardrailAction | undefined;
|
|
4973
|
+
/**
|
|
4974
|
+
* <p>Per-policy assessment results. Absent or empty when action is NONE.</p>
|
|
4975
|
+
* @public
|
|
4976
|
+
*/
|
|
4977
|
+
policies?: GuardrailPolicyResult[] | undefined;
|
|
4978
|
+
}
|
|
4979
|
+
/**
|
|
4980
|
+
* <p>Model reasoning and it's internal decision making process</p>
|
|
4929
4981
|
* @public
|
|
4930
4982
|
*/
|
|
4931
4983
|
export interface SpanReasoningValue {
|
|
4932
4984
|
/**
|
|
4933
|
-
* The reasoning text content
|
|
4985
|
+
* <p>The reasoning text content</p>
|
|
4934
4986
|
* @public
|
|
4935
4987
|
*/
|
|
4936
4988
|
value: string | undefined;
|
|
@@ -7832,115 +7884,3 @@ export declare namespace QuickResponseContentProvider {
|
|
|
7832
7884
|
_: (name: string, value: any) => T;
|
|
7833
7885
|
}
|
|
7834
7886
|
}
|
|
7835
|
-
/**
|
|
7836
|
-
* <p>The content of the quick response stored in different media types.</p>
|
|
7837
|
-
* @public
|
|
7838
|
-
*/
|
|
7839
|
-
export interface QuickResponseContents {
|
|
7840
|
-
/**
|
|
7841
|
-
* <p>The container quick response content.</p>
|
|
7842
|
-
* @public
|
|
7843
|
-
*/
|
|
7844
|
-
plainText?: QuickResponseContentProvider | undefined;
|
|
7845
|
-
/**
|
|
7846
|
-
* <p>The container quick response content.</p>
|
|
7847
|
-
* @public
|
|
7848
|
-
*/
|
|
7849
|
-
markdown?: QuickResponseContentProvider | undefined;
|
|
7850
|
-
}
|
|
7851
|
-
/**
|
|
7852
|
-
* <p>Information about the quick response.</p>
|
|
7853
|
-
* @public
|
|
7854
|
-
*/
|
|
7855
|
-
export interface QuickResponseData {
|
|
7856
|
-
/**
|
|
7857
|
-
* <p>The Amazon Resource Name (ARN) of the quick response.</p>
|
|
7858
|
-
* @public
|
|
7859
|
-
*/
|
|
7860
|
-
quickResponseArn: string | undefined;
|
|
7861
|
-
/**
|
|
7862
|
-
* <p>The identifier of the quick response.</p>
|
|
7863
|
-
* @public
|
|
7864
|
-
*/
|
|
7865
|
-
quickResponseId: string | undefined;
|
|
7866
|
-
/**
|
|
7867
|
-
* <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
|
|
7868
|
-
* @public
|
|
7869
|
-
*/
|
|
7870
|
-
knowledgeBaseArn: string | undefined;
|
|
7871
|
-
/**
|
|
7872
|
-
* <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
7873
|
-
* @public
|
|
7874
|
-
*/
|
|
7875
|
-
knowledgeBaseId: string | undefined;
|
|
7876
|
-
/**
|
|
7877
|
-
* <p>The name of the quick response.</p>
|
|
7878
|
-
* @public
|
|
7879
|
-
*/
|
|
7880
|
-
name: string | undefined;
|
|
7881
|
-
/**
|
|
7882
|
-
* <p>The media type of the quick response content.</p> <ul> <li> <p>Use <code>application/x.quickresponse;format=plain</code> for quick response written in plain text.</p> </li> <li> <p>Use <code>application/x.quickresponse;format=markdown</code> for quick response written in richtext.</p> </li> </ul>
|
|
7883
|
-
* @public
|
|
7884
|
-
*/
|
|
7885
|
-
contentType: string | undefined;
|
|
7886
|
-
/**
|
|
7887
|
-
* <p>The status of the quick response data.</p>
|
|
7888
|
-
* @public
|
|
7889
|
-
*/
|
|
7890
|
-
status: QuickResponseStatus | undefined;
|
|
7891
|
-
/**
|
|
7892
|
-
* <p>The timestamp when the quick response was created.</p>
|
|
7893
|
-
* @public
|
|
7894
|
-
*/
|
|
7895
|
-
createdTime: Date | undefined;
|
|
7896
|
-
/**
|
|
7897
|
-
* <p>The timestamp when the quick response data was last modified.</p>
|
|
7898
|
-
* @public
|
|
7899
|
-
*/
|
|
7900
|
-
lastModifiedTime: Date | undefined;
|
|
7901
|
-
/**
|
|
7902
|
-
* <p>The contents of the quick response.</p>
|
|
7903
|
-
* @public
|
|
7904
|
-
*/
|
|
7905
|
-
contents?: QuickResponseContents | undefined;
|
|
7906
|
-
/**
|
|
7907
|
-
* <p>The description of the quick response.</p>
|
|
7908
|
-
* @public
|
|
7909
|
-
*/
|
|
7910
|
-
description?: string | undefined;
|
|
7911
|
-
/**
|
|
7912
|
-
* <p>The configuration information of the user groups that the quick response is accessible to.</p>
|
|
7913
|
-
* @public
|
|
7914
|
-
*/
|
|
7915
|
-
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
7916
|
-
/**
|
|
7917
|
-
* <p>The shortcut key of the quick response. The value should be unique across the knowledge base.</p>
|
|
7918
|
-
* @public
|
|
7919
|
-
*/
|
|
7920
|
-
shortcutKey?: string | undefined;
|
|
7921
|
-
/**
|
|
7922
|
-
* <p>The Amazon Resource Name (ARN) of the user who last updated the quick response data.</p>
|
|
7923
|
-
* @public
|
|
7924
|
-
*/
|
|
7925
|
-
lastModifiedBy?: string | undefined;
|
|
7926
|
-
/**
|
|
7927
|
-
* <p>Whether the quick response is active.</p>
|
|
7928
|
-
* @public
|
|
7929
|
-
*/
|
|
7930
|
-
isActive?: boolean | undefined;
|
|
7931
|
-
/**
|
|
7932
|
-
* <p>The Amazon Connect contact channels this quick response applies to. The supported contact channel types include <code>Chat</code>.</p>
|
|
7933
|
-
* @public
|
|
7934
|
-
*/
|
|
7935
|
-
channels?: string[] | undefined;
|
|
7936
|
-
/**
|
|
7937
|
-
* <p>The language code value for the language in which the quick response is written. The supported language codes include <code>de_DE</code>, <code>en_US</code>, <code>es_ES</code>, <code>fr_FR</code>, <code>id_ID</code>, <code>it_IT</code>, <code>ja_JP</code>, <code>ko_KR</code>, <code>pt_BR</code>, <code>zh_CN</code>, <code>zh_TW</code> </p>
|
|
7938
|
-
* @public
|
|
7939
|
-
*/
|
|
7940
|
-
language?: string | undefined;
|
|
7941
|
-
/**
|
|
7942
|
-
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
7943
|
-
* @public
|
|
7944
|
-
*/
|
|
7945
|
-
tags?: Record<string, string> | undefined;
|
|
7946
|
-
}
|
|
@@ -1,5 +1,117 @@
|
|
|
1
1
|
import type { AIAgentType, AIPromptType, ChannelSubtype, ExternalSource, ImportJobStatus, ImportJobType, KnowledgeBaseSearchType, KnowledgeBaseStatus, KnowledgeBaseType, MessageTemplateFilterOperator, MessageTemplateQueryOperator, Order, Participant, Priority, QueryResultType, QuickResponseFilterOperator, QuickResponseQueryOperator, QuickResponseStatus, RecommendationType, RelevanceLevel, SpanStatus, SpanType } from "./enums";
|
|
2
|
-
import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, ExtendedMessageTemplateData, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttachment, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateData, MessageTemplateSourceConfiguration, MessageTemplateSourceConfigurationSummary, NotesChunkDataDetails, NotesDataDetails,
|
|
2
|
+
import type { CaseSummarizationChunkDataDetails, Configuration, ContentDataDetails, ContentSummary, DataReference, Document, EmailOverviewChunkDataDetails, EmailResponseChunkDataDetails, ExtendedMessageTemplateData, FilterAttribute, GroupingConfiguration, IntentDetectedDataDetails, KnowledgeBaseData, KnowledgeSource, MessageTemplateAttachment, MessageTemplateAttributes, MessageTemplateContentProvider, MessageTemplateData, MessageTemplateSourceConfiguration, MessageTemplateSourceConfigurationSummary, NotesChunkDataDetails, NotesDataDetails, QuickResponseContentProvider, QuickResponseDataProvider, RankingData, RecommendationTrigger, RenderingConfiguration, SearchExpression, ServerSideEncryptionConfiguration, SourceConfiguration, SourceContentDataDetails, SpanGuardrailAssessment, SpanReasoningValue, SpanTextValue, SpanToolUseValue, SuggestedMessageDataDetails, VectorIngestionConfiguration } from "./models_0";
|
|
3
|
+
/**
|
|
4
|
+
* <p>The content of the quick response stored in different media types.</p>
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export interface QuickResponseContents {
|
|
8
|
+
/**
|
|
9
|
+
* <p>The container quick response content.</p>
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
plainText?: QuickResponseContentProvider | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* <p>The container quick response content.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
markdown?: QuickResponseContentProvider | undefined;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* <p>Information about the quick response.</p>
|
|
21
|
+
* @public
|
|
22
|
+
*/
|
|
23
|
+
export interface QuickResponseData {
|
|
24
|
+
/**
|
|
25
|
+
* <p>The Amazon Resource Name (ARN) of the quick response.</p>
|
|
26
|
+
* @public
|
|
27
|
+
*/
|
|
28
|
+
quickResponseArn: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* <p>The identifier of the quick response.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
quickResponseId: string | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The Amazon Resource Name (ARN) of the knowledge base.</p>
|
|
36
|
+
* @public
|
|
37
|
+
*/
|
|
38
|
+
knowledgeBaseArn: string | undefined;
|
|
39
|
+
/**
|
|
40
|
+
* <p>The identifier of the knowledge base. Can be either the ID or the ARN. URLs cannot contain the ARN.</p>
|
|
41
|
+
* @public
|
|
42
|
+
*/
|
|
43
|
+
knowledgeBaseId: string | undefined;
|
|
44
|
+
/**
|
|
45
|
+
* <p>The name of the quick response.</p>
|
|
46
|
+
* @public
|
|
47
|
+
*/
|
|
48
|
+
name: string | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* <p>The media type of the quick response content.</p> <ul> <li> <p>Use <code>application/x.quickresponse;format=plain</code> for quick response written in plain text.</p> </li> <li> <p>Use <code>application/x.quickresponse;format=markdown</code> for quick response written in richtext.</p> </li> </ul>
|
|
51
|
+
* @public
|
|
52
|
+
*/
|
|
53
|
+
contentType: string | undefined;
|
|
54
|
+
/**
|
|
55
|
+
* <p>The status of the quick response data.</p>
|
|
56
|
+
* @public
|
|
57
|
+
*/
|
|
58
|
+
status: QuickResponseStatus | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* <p>The timestamp when the quick response was created.</p>
|
|
61
|
+
* @public
|
|
62
|
+
*/
|
|
63
|
+
createdTime: Date | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* <p>The timestamp when the quick response data was last modified.</p>
|
|
66
|
+
* @public
|
|
67
|
+
*/
|
|
68
|
+
lastModifiedTime: Date | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* <p>The contents of the quick response.</p>
|
|
71
|
+
* @public
|
|
72
|
+
*/
|
|
73
|
+
contents?: QuickResponseContents | undefined;
|
|
74
|
+
/**
|
|
75
|
+
* <p>The description of the quick response.</p>
|
|
76
|
+
* @public
|
|
77
|
+
*/
|
|
78
|
+
description?: string | undefined;
|
|
79
|
+
/**
|
|
80
|
+
* <p>The configuration information of the user groups that the quick response is accessible to.</p>
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
84
|
+
/**
|
|
85
|
+
* <p>The shortcut key of the quick response. The value should be unique across the knowledge base.</p>
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
shortcutKey?: string | undefined;
|
|
89
|
+
/**
|
|
90
|
+
* <p>The Amazon Resource Name (ARN) of the user who last updated the quick response data.</p>
|
|
91
|
+
* @public
|
|
92
|
+
*/
|
|
93
|
+
lastModifiedBy?: string | undefined;
|
|
94
|
+
/**
|
|
95
|
+
* <p>Whether the quick response is active.</p>
|
|
96
|
+
* @public
|
|
97
|
+
*/
|
|
98
|
+
isActive?: boolean | undefined;
|
|
99
|
+
/**
|
|
100
|
+
* <p>The Amazon Connect contact channels this quick response applies to. The supported contact channel types include <code>Chat</code>.</p>
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
channels?: string[] | undefined;
|
|
104
|
+
/**
|
|
105
|
+
* <p>The language code value for the language in which the quick response is written. The supported language codes include <code>de_DE</code>, <code>en_US</code>, <code>es_ES</code>, <code>fr_FR</code>, <code>id_ID</code>, <code>it_IT</code>, <code>ja_JP</code>, <code>ko_KR</code>, <code>pt_BR</code>, <code>zh_CN</code>, <code>zh_TW</code> </p>
|
|
106
|
+
* @public
|
|
107
|
+
*/
|
|
108
|
+
language?: string | undefined;
|
|
109
|
+
/**
|
|
110
|
+
* <p>The tags used to organize, track, or control access for this resource.</p>
|
|
111
|
+
* @public
|
|
112
|
+
*/
|
|
113
|
+
tags?: Record<string, string> | undefined;
|
|
114
|
+
}
|
|
3
115
|
/**
|
|
4
116
|
* @public
|
|
5
117
|
*/
|
|
@@ -1785,7 +1897,7 @@ export declare namespace SpanMessageValue {
|
|
|
1785
1897
|
$unknown?: never;
|
|
1786
1898
|
}
|
|
1787
1899
|
/**
|
|
1788
|
-
* Model reasoning and it's internal decision making process
|
|
1900
|
+
* <p>Model reasoning and it's internal decision making process</p>
|
|
1789
1901
|
* @public
|
|
1790
1902
|
*/
|
|
1791
1903
|
interface ReasoningMember {
|
|
@@ -2816,10 +2928,15 @@ export interface SpanAttributes {
|
|
|
2816
2928
|
*/
|
|
2817
2929
|
promptVersion?: number | undefined;
|
|
2818
2930
|
/**
|
|
2819
|
-
* Time to first token in milliseconds, measured from when Amazon Bedrock was invoked to when the first token was returned
|
|
2931
|
+
* <p>Time to first token in milliseconds, measured from when Amazon Bedrock was invoked to when the first token was returned</p>
|
|
2820
2932
|
* @public
|
|
2821
2933
|
*/
|
|
2822
2934
|
timeToFirstTokenMs?: number | undefined;
|
|
2935
|
+
/**
|
|
2936
|
+
* <p>Guardrail assessments for the inference span. Absent on other span types and when no AI Guardrail is attached to the AI Agent.</p>
|
|
2937
|
+
* @public
|
|
2938
|
+
*/
|
|
2939
|
+
guardrailAssessments?: SpanGuardrailAssessment[] | undefined;
|
|
2823
2940
|
}
|
|
2824
2941
|
/**
|
|
2825
2942
|
* <p>A span represents a unit of work during AI agent execution, capturing timing, status, and contextual attributes.</p>
|
|
@@ -2872,7 +2989,7 @@ export interface Span {
|
|
|
2872
2989
|
*/
|
|
2873
2990
|
status: SpanStatus | undefined;
|
|
2874
2991
|
/**
|
|
2875
|
-
* Human-readable error description when status is ERROR or TIMEOUT
|
|
2992
|
+
* <p>Human-readable error description when status is ERROR or TIMEOUT</p>
|
|
2876
2993
|
* @public
|
|
2877
2994
|
*/
|
|
2878
2995
|
statusDescription?: string | undefined;
|
|
@@ -2882,7 +2999,7 @@ export interface Span {
|
|
|
2882
2999
|
*/
|
|
2883
3000
|
requestId: string | undefined;
|
|
2884
3001
|
/**
|
|
2885
|
-
* The origin request identifier for end-to-end tracing
|
|
3002
|
+
* <p>The origin request identifier for end-to-end tracing.</p>
|
|
2886
3003
|
* @public
|
|
2887
3004
|
*/
|
|
2888
3005
|
originRequestId?: string | undefined;
|
|
@@ -188,6 +188,7 @@ export declare var GuardrailContentFilterConfig$: StaticStructureSchema;
|
|
|
188
188
|
export declare var GuardrailContextualGroundingFilterConfig$: StaticStructureSchema;
|
|
189
189
|
export declare var GuardrailManagedWordsConfig$: StaticStructureSchema;
|
|
190
190
|
export declare var GuardrailPiiEntityConfig$: StaticStructureSchema;
|
|
191
|
+
export declare var GuardrailPolicyResult$: StaticStructureSchema;
|
|
191
192
|
export declare var GuardrailRegexConfig$: StaticStructureSchema;
|
|
192
193
|
export declare var GuardrailTopicConfig$: StaticStructureSchema;
|
|
193
194
|
export declare var GuardrailWordConfig$: StaticStructureSchema;
|
|
@@ -326,6 +327,7 @@ export declare var SourceContentDataDetails$: StaticStructureSchema;
|
|
|
326
327
|
export declare var Span$: StaticStructureSchema;
|
|
327
328
|
export declare var SpanAttributes$: StaticStructureSchema;
|
|
328
329
|
export declare var SpanCitation$: StaticStructureSchema;
|
|
330
|
+
export declare var SpanGuardrailAssessment$: StaticStructureSchema;
|
|
329
331
|
export declare var SpanMessage$: StaticStructureSchema;
|
|
330
332
|
export declare var SpanReasoningValue$: StaticStructureSchema;
|
|
331
333
|
export declare var SpanTextValue$: StaticStructureSchema;
|
|
@@ -334,6 +334,29 @@ export declare const MessageFilterType: {
|
|
|
334
334
|
};
|
|
335
335
|
export type MessageFilterType =
|
|
336
336
|
(typeof MessageFilterType)[keyof typeof MessageFilterType];
|
|
337
|
+
export declare const GuardrailAction: {
|
|
338
|
+
readonly BLOCKED: "BLOCKED";
|
|
339
|
+
readonly MASKED: "MASKED";
|
|
340
|
+
readonly NONE: "NONE";
|
|
341
|
+
};
|
|
342
|
+
export type GuardrailAction =
|
|
343
|
+
(typeof GuardrailAction)[keyof typeof GuardrailAction];
|
|
344
|
+
export declare const GuardrailPolicyType: {
|
|
345
|
+
readonly CONTENT_FILTER: "CONTENT_FILTER";
|
|
346
|
+
readonly CONTEXTUAL_GROUNDING: "CONTEXTUAL_GROUNDING";
|
|
347
|
+
readonly SENSITIVE_INFORMATION_PII: "SENSITIVE_INFORMATION_PII";
|
|
348
|
+
readonly SENSITIVE_INFORMATION_REGEX: "SENSITIVE_INFORMATION_REGEX";
|
|
349
|
+
readonly TOPIC: "TOPIC";
|
|
350
|
+
readonly WORD: "WORD";
|
|
351
|
+
};
|
|
352
|
+
export type GuardrailPolicyType =
|
|
353
|
+
(typeof GuardrailPolicyType)[keyof typeof GuardrailPolicyType];
|
|
354
|
+
export declare const GuardrailSource: {
|
|
355
|
+
readonly INPUT: "INPUT";
|
|
356
|
+
readonly OUTPUT: "OUTPUT";
|
|
357
|
+
};
|
|
358
|
+
export type GuardrailSource =
|
|
359
|
+
(typeof GuardrailSource)[keyof typeof GuardrailSource];
|
|
337
360
|
export declare const SpanType: {
|
|
338
361
|
readonly CLIENT: "CLIENT";
|
|
339
362
|
readonly INTERNAL: "INTERNAL";
|
|
@@ -19,12 +19,15 @@ import {
|
|
|
19
19
|
CrossRegionStatus,
|
|
20
20
|
FilterField,
|
|
21
21
|
FilterOperator,
|
|
22
|
+
GuardrailAction,
|
|
22
23
|
GuardrailContentFilterType,
|
|
23
24
|
GuardrailContextualGroundingFilterType,
|
|
24
25
|
GuardrailFilterStrength,
|
|
25
26
|
GuardrailManagedWordsType,
|
|
26
27
|
GuardrailPiiEntityType,
|
|
28
|
+
GuardrailPolicyType,
|
|
27
29
|
GuardrailSensitiveInformationAction,
|
|
30
|
+
GuardrailSource,
|
|
28
31
|
GuardrailTopicType,
|
|
29
32
|
KnowledgeBaseSearchType,
|
|
30
33
|
KnowledgeBaseStatus,
|
|
@@ -39,7 +42,6 @@ import {
|
|
|
39
42
|
PushMessageAction,
|
|
40
43
|
QueryConditionComparisonOperator,
|
|
41
44
|
QueryConditionFieldName,
|
|
42
|
-
QuickResponseStatus,
|
|
43
45
|
RecommendationSourceType,
|
|
44
46
|
RecommendationTriggerType,
|
|
45
47
|
RecommendationType,
|
|
@@ -1586,6 +1588,18 @@ export interface ListSpansRequest {
|
|
|
1586
1588
|
nextToken?: string | undefined;
|
|
1587
1589
|
maxResults?: number | undefined;
|
|
1588
1590
|
}
|
|
1591
|
+
export interface GuardrailPolicyResult {
|
|
1592
|
+
policyType: GuardrailPolicyType | undefined;
|
|
1593
|
+
action: GuardrailAction | undefined;
|
|
1594
|
+
details?: string | undefined;
|
|
1595
|
+
}
|
|
1596
|
+
export interface SpanGuardrailAssessment {
|
|
1597
|
+
guardrailId: string | undefined;
|
|
1598
|
+
guardrailName: string | undefined;
|
|
1599
|
+
source: GuardrailSource | undefined;
|
|
1600
|
+
action: GuardrailAction | undefined;
|
|
1601
|
+
policies?: GuardrailPolicyResult[] | undefined;
|
|
1602
|
+
}
|
|
1589
1603
|
export interface SpanReasoningValue {
|
|
1590
1604
|
value: string | undefined;
|
|
1591
1605
|
}
|
|
@@ -2393,27 +2407,3 @@ export declare namespace QuickResponseContentProvider {
|
|
|
2393
2407
|
_: (name: string, value: any) => T;
|
|
2394
2408
|
}
|
|
2395
2409
|
}
|
|
2396
|
-
export interface QuickResponseContents {
|
|
2397
|
-
plainText?: QuickResponseContentProvider | undefined;
|
|
2398
|
-
markdown?: QuickResponseContentProvider | undefined;
|
|
2399
|
-
}
|
|
2400
|
-
export interface QuickResponseData {
|
|
2401
|
-
quickResponseArn: string | undefined;
|
|
2402
|
-
quickResponseId: string | undefined;
|
|
2403
|
-
knowledgeBaseArn: string | undefined;
|
|
2404
|
-
knowledgeBaseId: string | undefined;
|
|
2405
|
-
name: string | undefined;
|
|
2406
|
-
contentType: string | undefined;
|
|
2407
|
-
status: QuickResponseStatus | undefined;
|
|
2408
|
-
createdTime: Date | undefined;
|
|
2409
|
-
lastModifiedTime: Date | undefined;
|
|
2410
|
-
contents?: QuickResponseContents | undefined;
|
|
2411
|
-
description?: string | undefined;
|
|
2412
|
-
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
2413
|
-
shortcutKey?: string | undefined;
|
|
2414
|
-
lastModifiedBy?: string | undefined;
|
|
2415
|
-
isActive?: boolean | undefined;
|
|
2416
|
-
channels?: string[] | undefined;
|
|
2417
|
-
language?: string | undefined;
|
|
2418
|
-
tags?: Record<string, string> | undefined;
|
|
2419
|
-
}
|
|
@@ -45,8 +45,7 @@ import {
|
|
|
45
45
|
MessageTemplateSourceConfigurationSummary,
|
|
46
46
|
NotesChunkDataDetails,
|
|
47
47
|
NotesDataDetails,
|
|
48
|
-
|
|
49
|
-
QuickResponseData,
|
|
48
|
+
QuickResponseContentProvider,
|
|
50
49
|
QuickResponseDataProvider,
|
|
51
50
|
RankingData,
|
|
52
51
|
RecommendationTrigger,
|
|
@@ -55,12 +54,37 @@ import {
|
|
|
55
54
|
ServerSideEncryptionConfiguration,
|
|
56
55
|
SourceConfiguration,
|
|
57
56
|
SourceContentDataDetails,
|
|
57
|
+
SpanGuardrailAssessment,
|
|
58
58
|
SpanReasoningValue,
|
|
59
59
|
SpanTextValue,
|
|
60
60
|
SpanToolUseValue,
|
|
61
61
|
SuggestedMessageDataDetails,
|
|
62
62
|
VectorIngestionConfiguration,
|
|
63
63
|
} from "./models_0";
|
|
64
|
+
export interface QuickResponseContents {
|
|
65
|
+
plainText?: QuickResponseContentProvider | undefined;
|
|
66
|
+
markdown?: QuickResponseContentProvider | undefined;
|
|
67
|
+
}
|
|
68
|
+
export interface QuickResponseData {
|
|
69
|
+
quickResponseArn: string | undefined;
|
|
70
|
+
quickResponseId: string | undefined;
|
|
71
|
+
knowledgeBaseArn: string | undefined;
|
|
72
|
+
knowledgeBaseId: string | undefined;
|
|
73
|
+
name: string | undefined;
|
|
74
|
+
contentType: string | undefined;
|
|
75
|
+
status: QuickResponseStatus | undefined;
|
|
76
|
+
createdTime: Date | undefined;
|
|
77
|
+
lastModifiedTime: Date | undefined;
|
|
78
|
+
contents?: QuickResponseContents | undefined;
|
|
79
|
+
description?: string | undefined;
|
|
80
|
+
groupingConfiguration?: GroupingConfiguration | undefined;
|
|
81
|
+
shortcutKey?: string | undefined;
|
|
82
|
+
lastModifiedBy?: string | undefined;
|
|
83
|
+
isActive?: boolean | undefined;
|
|
84
|
+
channels?: string[] | undefined;
|
|
85
|
+
language?: string | undefined;
|
|
86
|
+
tags?: Record<string, string> | undefined;
|
|
87
|
+
}
|
|
64
88
|
export interface CreateQuickResponseResponse {
|
|
65
89
|
quickResponse?: QuickResponseData | undefined;
|
|
66
90
|
}
|
|
@@ -1107,6 +1131,7 @@ export interface SpanAttributes {
|
|
|
1107
1131
|
promptName?: string | undefined;
|
|
1108
1132
|
promptVersion?: number | undefined;
|
|
1109
1133
|
timeToFirstTokenMs?: number | undefined;
|
|
1134
|
+
guardrailAssessments?: SpanGuardrailAssessment[] | undefined;
|
|
1110
1135
|
}
|
|
1111
1136
|
export interface Span {
|
|
1112
1137
|
spanId: string | undefined;
|
|
@@ -188,6 +188,7 @@ export declare var GuardrailContentFilterConfig$: StaticStructureSchema;
|
|
|
188
188
|
export declare var GuardrailContextualGroundingFilterConfig$: StaticStructureSchema;
|
|
189
189
|
export declare var GuardrailManagedWordsConfig$: StaticStructureSchema;
|
|
190
190
|
export declare var GuardrailPiiEntityConfig$: StaticStructureSchema;
|
|
191
|
+
export declare var GuardrailPolicyResult$: StaticStructureSchema;
|
|
191
192
|
export declare var GuardrailRegexConfig$: StaticStructureSchema;
|
|
192
193
|
export declare var GuardrailTopicConfig$: StaticStructureSchema;
|
|
193
194
|
export declare var GuardrailWordConfig$: StaticStructureSchema;
|
|
@@ -326,6 +327,7 @@ export declare var SourceContentDataDetails$: StaticStructureSchema;
|
|
|
326
327
|
export declare var Span$: StaticStructureSchema;
|
|
327
328
|
export declare var SpanAttributes$: StaticStructureSchema;
|
|
328
329
|
export declare var SpanCitation$: StaticStructureSchema;
|
|
330
|
+
export declare var SpanGuardrailAssessment$: StaticStructureSchema;
|
|
329
331
|
export declare var SpanMessage$: StaticStructureSchema;
|
|
330
332
|
export declare var SpanReasoningValue$: StaticStructureSchema;
|
|
331
333
|
export declare var SpanTextValue$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-qconnect",
|
|
3
3
|
"description": "AWS SDK for JavaScript Qconnect Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1053.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-qconnect",
|