@aws-sdk/client-bedrock-agent-runtime 3.1110.0 → 3.1112.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/README.md +15 -1
- package/dist-cjs/index.js +302 -85
- package/dist-es/BedrockAgentRuntime.js +4 -0
- package/dist-es/commands/CheckIngestedDocumentAclCommand.js +4 -0
- package/dist-es/commands/GetIngestedDocumentAclCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +26 -0
- package/dist-es/schemas/schemas_0.js +243 -84
- package/dist-types/BedrockAgentRuntime.d.ts +15 -1
- package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -3
- package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +44 -2
- package/dist-types/commands/CheckIngestedDocumentAclCommand.d.ts +91 -0
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetIngestedDocumentAclCommand.d.ts +129 -0
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -2
- package/dist-types/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/index.d.ts +1 -1
- package/dist-types/models/enums.d.ts +100 -0
- package/dist-types/models/models_0.d.ts +454 -607
- package/dist-types/models/models_1.d.ts +582 -6
- package/dist-types/runtimeConfig.browser.d.ts +39 -39
- package/dist-types/runtimeConfig.d.ts +36 -36
- package/dist-types/runtimeConfig.native.d.ts +38 -38
- package/dist-types/runtimeConfig.shared.d.ts +2 -2
- package/dist-types/schemas/schemas_0.d.ts +19 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/CheckIngestedDocumentAclCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetIngestedDocumentAclCommand.d.ts +39 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +34 -0
- package/dist-types/ts3.4/models/models_0.d.ts +155 -302
- package/dist-types/ts3.4/models/models_1.d.ts +320 -1
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
- package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
- package/package.json +5 -5
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { createAggregatedClient } from "@smithy/core/client";
|
|
2
2
|
import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
|
|
3
3
|
import { AgenticRetrieveStreamCommand, } from "./commands/AgenticRetrieveStreamCommand";
|
|
4
|
+
import { CheckIngestedDocumentAclCommand, } from "./commands/CheckIngestedDocumentAclCommand";
|
|
4
5
|
import { CreateInvocationCommand, } from "./commands/CreateInvocationCommand";
|
|
5
6
|
import { CreateSessionCommand, } from "./commands/CreateSessionCommand";
|
|
6
7
|
import { DeleteAgentMemoryCommand, } from "./commands/DeleteAgentMemoryCommand";
|
|
@@ -11,6 +12,7 @@ import { GetAgentMemoryCommand, } from "./commands/GetAgentMemoryCommand";
|
|
|
11
12
|
import { GetDocumentContentCommand, } from "./commands/GetDocumentContentCommand";
|
|
12
13
|
import { GetExecutionFlowSnapshotCommand, } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
13
14
|
import { GetFlowExecutionCommand, } from "./commands/GetFlowExecutionCommand";
|
|
15
|
+
import { GetIngestedDocumentAclCommand, } from "./commands/GetIngestedDocumentAclCommand";
|
|
14
16
|
import { GetInvocationStepCommand, } from "./commands/GetInvocationStepCommand";
|
|
15
17
|
import { GetSessionCommand, } from "./commands/GetSessionCommand";
|
|
16
18
|
import { InvokeAgentCommand, } from "./commands/InvokeAgentCommand";
|
|
@@ -43,6 +45,7 @@ import { paginateRerank } from "./pagination/RerankPaginator";
|
|
|
43
45
|
import { paginateRetrieve } from "./pagination/RetrievePaginator";
|
|
44
46
|
const commands = {
|
|
45
47
|
AgenticRetrieveStreamCommand,
|
|
48
|
+
CheckIngestedDocumentAclCommand,
|
|
46
49
|
CreateInvocationCommand,
|
|
47
50
|
CreateSessionCommand,
|
|
48
51
|
DeleteAgentMemoryCommand,
|
|
@@ -53,6 +56,7 @@ const commands = {
|
|
|
53
56
|
GetDocumentContentCommand,
|
|
54
57
|
GetExecutionFlowSnapshotCommand,
|
|
55
58
|
GetFlowExecutionCommand,
|
|
59
|
+
GetIngestedDocumentAclCommand,
|
|
56
60
|
GetInvocationStepCommand,
|
|
57
61
|
GetSessionCommand,
|
|
58
62
|
InvokeAgentCommand,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from "./AgenticRetrieveStreamCommand";
|
|
2
|
+
export * from "./CheckIngestedDocumentAclCommand";
|
|
2
3
|
export * from "./CreateInvocationCommand";
|
|
3
4
|
export * from "./CreateSessionCommand";
|
|
4
5
|
export * from "./DeleteAgentMemoryCommand";
|
|
@@ -9,6 +10,7 @@ export * from "./GetAgentMemoryCommand";
|
|
|
9
10
|
export * from "./GetDocumentContentCommand";
|
|
10
11
|
export * from "./GetExecutionFlowSnapshotCommand";
|
|
11
12
|
export * from "./GetFlowExecutionCommand";
|
|
13
|
+
export * from "./GetIngestedDocumentAclCommand";
|
|
12
14
|
export * from "./GetInvocationStepCommand";
|
|
13
15
|
export * from "./GetSessionCommand";
|
|
14
16
|
export * from "./InvokeAgentCommand";
|
package/dist-es/models/enums.js
CHANGED
|
@@ -70,11 +70,28 @@ export const GuardrailAction = {
|
|
|
70
70
|
INTERVENED: "INTERVENED",
|
|
71
71
|
NONE: "NONE",
|
|
72
72
|
};
|
|
73
|
+
export const AgenticRetrieveMemoryPersistenceMode = {
|
|
74
|
+
DEFAULT: "DEFAULT",
|
|
75
|
+
NONE: "NONE",
|
|
76
|
+
};
|
|
77
|
+
export const AgenticRetrieveMemoryMetadataFilterOperator = {
|
|
78
|
+
AFTER: "AFTER",
|
|
79
|
+
BEFORE: "BEFORE",
|
|
80
|
+
CONTAINS: "CONTAINS",
|
|
81
|
+
EQUALS_TO: "EQUALS_TO",
|
|
82
|
+
EXISTS: "EXISTS",
|
|
83
|
+
GREATER_THAN: "GREATER_THAN",
|
|
84
|
+
GREATER_THAN_OR_EQUALS: "GREATER_THAN_OR_EQUALS",
|
|
85
|
+
LESS_THAN: "LESS_THAN",
|
|
86
|
+
LESS_THAN_OR_EQUALS: "LESS_THAN_OR_EQUALS",
|
|
87
|
+
NOT_EXISTS: "NOT_EXISTS",
|
|
88
|
+
};
|
|
73
89
|
export const ConversationRole = {
|
|
74
90
|
ASSISTANT: "assistant",
|
|
75
91
|
USER: "user",
|
|
76
92
|
};
|
|
77
93
|
export const AgenticRetrieveType = {
|
|
94
|
+
BEDROCK_AGENT_CORE_MEMORY: "BedrockAgentCoreMemory",
|
|
78
95
|
BEDROCK_KNOWLEDGE_BASE: "BedrockKnowledgeBase",
|
|
79
96
|
};
|
|
80
97
|
export const AgenticRetrieveStatus = {
|
|
@@ -86,6 +103,7 @@ export const AgenticRetrieveStep = {
|
|
|
86
103
|
FULL_DOCUMENT_EXPANSION: "FullDocumentExpansion",
|
|
87
104
|
PLANNING: "Planning",
|
|
88
105
|
RETRIEVAL: "Retrieval",
|
|
106
|
+
SESSION_HISTORY_LOAD: "SessionHistoryLoad",
|
|
89
107
|
SPECULATIVE_RETRIEVAL: "SpeculativeRetrieval",
|
|
90
108
|
};
|
|
91
109
|
export const GuardrailContentPolicyAction = {
|
|
@@ -286,6 +304,14 @@ export const DocumentOutputFormat = {
|
|
|
286
304
|
EXTRACTED: "EXTRACTED",
|
|
287
305
|
RAW: "RAW",
|
|
288
306
|
};
|
|
307
|
+
export const DocumentAclMemberRelation = {
|
|
308
|
+
AND: "AND",
|
|
309
|
+
OR: "OR",
|
|
310
|
+
};
|
|
311
|
+
export const DocumentAclMembershipType = {
|
|
312
|
+
DATA_SOURCE: "DATA_SOURCE",
|
|
313
|
+
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
314
|
+
};
|
|
289
315
|
export const FileSourceType = {
|
|
290
316
|
BYTE_CONTENT: "BYTE_CONTENT",
|
|
291
317
|
S3: "S3",
|