@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.
Files changed (52) hide show
  1. package/README.md +15 -1
  2. package/dist-cjs/index.js +302 -85
  3. package/dist-es/BedrockAgentRuntime.js +4 -0
  4. package/dist-es/commands/CheckIngestedDocumentAclCommand.js +4 -0
  5. package/dist-es/commands/GetIngestedDocumentAclCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +26 -0
  8. package/dist-es/schemas/schemas_0.js +243 -84
  9. package/dist-types/BedrockAgentRuntime.d.ts +15 -1
  10. package/dist-types/BedrockAgentRuntimeClient.d.ts +5 -3
  11. package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +44 -2
  12. package/dist-types/commands/CheckIngestedDocumentAclCommand.d.ts +91 -0
  13. package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
  14. package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
  16. package/dist-types/commands/EndSessionCommand.d.ts +1 -1
  17. package/dist-types/commands/GetIngestedDocumentAclCommand.d.ts +129 -0
  18. package/dist-types/commands/GetSessionCommand.d.ts +1 -1
  19. package/dist-types/commands/InvokeAgentCommand.d.ts +1 -1
  20. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -2
  21. package/dist-types/commands/RetrieveCommand.d.ts +1 -2
  22. package/dist-types/commands/index.d.ts +2 -0
  23. package/dist-types/index.d.ts +1 -1
  24. package/dist-types/models/enums.d.ts +100 -0
  25. package/dist-types/models/models_0.d.ts +454 -607
  26. package/dist-types/models/models_1.d.ts +582 -6
  27. package/dist-types/runtimeConfig.browser.d.ts +39 -39
  28. package/dist-types/runtimeConfig.d.ts +36 -36
  29. package/dist-types/runtimeConfig.native.d.ts +38 -38
  30. package/dist-types/runtimeConfig.shared.d.ts +2 -2
  31. package/dist-types/schemas/schemas_0.d.ts +19 -0
  32. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
  33. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
  34. package/dist-types/ts3.4/commands/CheckIngestedDocumentAclCommand.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
  36. package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
  37. package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
  38. package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/GetIngestedDocumentAclCommand.d.ts +39 -0
  40. package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -2
  43. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  44. package/dist-types/ts3.4/models/enums.d.ts +34 -0
  45. package/dist-types/ts3.4/models/models_0.d.ts +155 -302
  46. package/dist-types/ts3.4/models/models_1.d.ts +320 -1
  47. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +55 -57
  48. package/dist-types/ts3.4/runtimeConfig.d.ts +58 -58
  49. package/dist-types/ts3.4/runtimeConfig.native.d.ts +59 -61
  50. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +3 -3
  51. package/dist-types/ts3.4/schemas/schemas_0.d.ts +19 -0
  52. 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,
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { CheckIngestedDocumentAcl$ } from "../schemas/schemas_0";
3
+ export class CheckIngestedDocumentAclCommand extends command(_ep0, _mw0, "CheckIngestedDocumentAcl", CheckIngestedDocumentAcl$) {
4
+ }
@@ -0,0 +1,4 @@
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
2
+ import { GetIngestedDocumentAcl$ } from "../schemas/schemas_0";
3
+ export class GetIngestedDocumentAclCommand extends command(_ep0, _mw0, "GetIngestedDocumentAcl", GetIngestedDocumentAcl$) {
4
+ }
@@ -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";
@@ -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",