@aws-sdk/client-bedrock-agent-runtime 3.1069.0 → 3.1071.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 (65) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +93 -8
  3. package/dist-cjs/models/errors.js +42 -42
  4. package/dist-cjs/runtimeConfig.js +5 -2
  5. package/dist-cjs/schemas/schemas_0.js +567 -139
  6. package/dist-es/BedrockAgentRuntime.js +4 -0
  7. package/dist-es/commands/AgenticRetrieveStreamCommand.js +20 -0
  8. package/dist-es/commands/GetDocumentContentCommand.js +16 -0
  9. package/dist-es/commands/index.js +2 -0
  10. package/dist-es/models/enums.js +50 -7
  11. package/dist-es/models/errors.js +42 -42
  12. package/dist-es/runtimeConfig.js +5 -2
  13. package/dist-es/schemas/schemas_0.js +521 -139
  14. package/dist-types/BedrockAgentRuntime.d.ts +14 -0
  15. package/dist-types/BedrockAgentRuntimeClient.d.ts +4 -2
  16. package/dist-types/commands/AgenticRetrieveStreamCommand.d.ts +338 -0
  17. package/dist-types/commands/GetDocumentContentCommand.d.ts +99 -0
  18. package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
  19. package/dist-types/commands/InvokeAgentCommand.d.ts +55 -4
  20. package/dist-types/commands/InvokeFlowCommand.d.ts +14 -2
  21. package/dist-types/commands/InvokeInlineAgentCommand.d.ts +78 -8
  22. package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +14 -2
  23. package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
  24. package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
  25. package/dist-types/commands/ListSessionsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  27. package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
  28. package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +45 -3
  29. package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +52 -4
  30. package/dist-types/commands/RetrieveCommand.d.ts +45 -2
  31. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UpdateSessionCommand.d.ts +1 -1
  34. package/dist-types/commands/index.d.ts +2 -0
  35. package/dist-types/models/enums.d.ts +163 -16
  36. package/dist-types/models/errors.d.ts +45 -45
  37. package/dist-types/models/models_0.d.ts +4105 -4355
  38. package/dist-types/models/models_1.d.ts +1396 -2
  39. package/dist-types/runtimeConfig.d.ts +1 -1
  40. package/dist-types/schemas/schemas_0.d.ts +48 -0
  41. package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
  42. package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
  43. package/dist-types/ts3.4/commands/AgenticRetrieveStreamCommand.d.ts +51 -0
  44. package/dist-types/ts3.4/commands/GetDocumentContentCommand.d.ts +53 -0
  45. package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +2 -1
  47. package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +2 -4
  53. package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -4
  54. package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +2 -1
  55. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  59. package/dist-types/ts3.4/models/enums.d.ts +74 -11
  60. package/dist-types/ts3.4/models/errors.d.ts +28 -28
  61. package/dist-types/ts3.4/models/models_0.d.ts +448 -541
  62. package/dist-types/ts3.4/models/models_1.d.ts +602 -3
  63. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  64. package/dist-types/ts3.4/schemas/schemas_0.d.ts +48 -0
  65. package/package.json +3 -3
@@ -1,4 +1,4 @@
1
- import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
1
+ import { NodeHttp2Handler as RequestHandler } from "@smithy/node-http-handler";
2
2
  import type { BedrockAgentRuntimeClientConfig } from "./BedrockAgentRuntimeClient";
3
3
  /**
4
4
  * @internal
@@ -24,6 +24,34 @@ export declare var AgentCollaboratorInputPayload$: StaticStructureSchema;
24
24
  export declare var AgentCollaboratorInvocationInput$: StaticStructureSchema;
25
25
  export declare var AgentCollaboratorInvocationOutput$: StaticStructureSchema;
26
26
  export declare var AgentCollaboratorOutputPayload$: StaticStructureSchema;
27
+ export declare var AgenticRetrieveAction$: StaticStructureSchema;
28
+ export declare var AgenticRetrieveActionDetails$: StaticStructureSchema;
29
+ export declare var AgenticRetrieveBedrockGuardrailConfiguration$: StaticStructureSchema;
30
+ export declare var AgenticRetrieveBedrockRerankingConfiguration$: StaticStructureSchema;
31
+ export declare var AgenticRetrieveBedrockRerankingModelConfiguration$: StaticStructureSchema;
32
+ export declare var AgenticRetrieveCitation$: StaticStructureSchema;
33
+ export declare var AgenticRetrieveCitationReference$: StaticStructureSchema;
34
+ export declare var AgenticRetrieveConfiguration$: StaticStructureSchema;
35
+ export declare var AgenticRetrieveFailure$: StaticStructureSchema;
36
+ export declare var AgenticRetrieveFullDocExpansionDetails$: StaticStructureSchema;
37
+ export declare var AgenticRetrieveGeneratedResponse$: StaticStructureSchema;
38
+ export declare var AgenticRetrieveGuardrailWarning$: StaticStructureSchema;
39
+ export declare var AgenticRetrieveMessage$: StaticStructureSchema;
40
+ export declare var AgenticRetrieveMessageContent$: StaticStructureSchema;
41
+ export declare var AgenticRetrievePolicyConfiguration$: StaticStructureSchema;
42
+ export declare var AgenticRetriever$: StaticStructureSchema;
43
+ export declare var AgenticRetrieveRerankingConfiguration$: StaticStructureSchema;
44
+ export declare var AgenticRetrieveResponseEvent$: StaticStructureSchema;
45
+ export declare var AgenticRetrieveResultEvent$: StaticStructureSchema;
46
+ export declare var AgenticRetrieveResultItem$: StaticStructureSchema;
47
+ export declare var AgenticRetrieveSourceMetadata$: StaticStructureSchema;
48
+ export declare var AgenticRetrieveSourceRetriever$: StaticStructureSchema;
49
+ export declare var AgenticRetrieveStreamRequest$: StaticStructureSchema;
50
+ export declare var AgenticRetrieveStreamResponse$: StaticStructureSchema;
51
+ export declare var AgenticRetrieveTraceEvent$: StaticStructureSchema;
52
+ export declare var AgenticRetrieveTraceEventAttributes$: StaticStructureSchema;
53
+ export declare var AgenticRetrieveTraceResultItem$: StaticStructureSchema;
54
+ export declare var AgenticRetrieveWarningMessage$: StaticStructureSchema;
27
55
  export declare var AnalyzePromptEvent$: StaticStructureSchema;
28
56
  export declare var ApiInvocationInput$: StaticStructureSchema;
29
57
  export declare var ApiParameter$: StaticStructureSchema;
@@ -31,6 +59,8 @@ export declare var ApiRequestBody$: StaticStructureSchema;
31
59
  export declare var ApiResult$: StaticStructureSchema;
32
60
  export declare var Attribution$: StaticStructureSchema;
33
61
  export declare var AudioSegment$: StaticStructureSchema;
62
+ export declare var BedrockFoundationModelConfiguration$: StaticStructureSchema;
63
+ export declare var BedrockFoundationModelModelConfiguration$: StaticStructureSchema;
34
64
  export declare var BedrockModelConfigurations$: StaticStructureSchema;
35
65
  export declare var BedrockRerankingConfiguration$: StaticStructureSchema;
36
66
  export declare var BedrockRerankingModelConfiguration$: StaticStructureSchema;
@@ -90,6 +120,7 @@ export declare var FlowTraceNodeInputSource$: StaticStructureSchema;
90
120
  export declare var FlowTraceNodeOutputEvent$: StaticStructureSchema;
91
121
  export declare var FlowTraceNodeOutputField$: StaticStructureSchema;
92
122
  export declare var FlowTraceNodeOutputNext$: StaticStructureSchema;
123
+ export declare var FoundationModelConfiguration$: StaticStructureSchema;
93
124
  export declare var FunctionDefinition$: StaticStructureSchema;
94
125
  export declare var FunctionInvocationInput$: StaticStructureSchema;
95
126
  export declare var FunctionParameter$: StaticStructureSchema;
@@ -101,6 +132,8 @@ export declare var GenerateQueryResponse$: StaticStructureSchema;
101
132
  export declare var GenerationConfiguration$: StaticStructureSchema;
102
133
  export declare var GetAgentMemoryRequest$: StaticStructureSchema;
103
134
  export declare var GetAgentMemoryResponse$: StaticStructureSchema;
135
+ export declare var GetDocumentContentRequest$: StaticStructureSchema;
136
+ export declare var GetDocumentContentResponse$: StaticStructureSchema;
104
137
  export declare var GetExecutionFlowSnapshotRequest$: StaticStructureSchema;
105
138
  export declare var GetExecutionFlowSnapshotResponse$: StaticStructureSchema;
106
139
  export declare var GetFlowExecutionRequest$: StaticStructureSchema;
@@ -155,6 +188,7 @@ export declare var KnowledgeBaseQuery$: StaticStructureSchema;
155
188
  export declare var KnowledgeBaseRetrievalConfiguration$: StaticStructureSchema;
156
189
  export declare var KnowledgeBaseRetrievalResult$: StaticStructureSchema;
157
190
  export declare var KnowledgeBaseRetrieveAndGenerateConfiguration$: StaticStructureSchema;
191
+ export declare var KnowledgeBaseRetrieverConfiguration$: StaticStructureSchema;
158
192
  export declare var KnowledgeBaseVectorSearchConfiguration$: StaticStructureSchema;
159
193
  export declare var ListFlowExecutionEventsRequest$: StaticStructureSchema;
160
194
  export declare var ListFlowExecutionEventsResponse$: StaticStructureSchema;
@@ -168,6 +202,10 @@ export declare var ListSessionsRequest$: StaticStructureSchema;
168
202
  export declare var ListSessionsResponse$: StaticStructureSchema;
169
203
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
170
204
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
205
+ export declare var ManagedSearchBedrockRerankingConfiguration$: StaticStructureSchema;
206
+ export declare var ManagedSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
207
+ export declare var ManagedSearchConfiguration$: StaticStructureSchema;
208
+ export declare var ManagedSearchRerankingConfiguration$: StaticStructureSchema;
171
209
  export declare var MemorySessionSummary$: StaticStructureSchema;
172
210
  export declare var Message$: StaticStructureSchema;
173
211
  export declare var Metadata$: StaticStructureSchema;
@@ -222,12 +260,16 @@ export declare var RerankResponse$: StaticStructureSchema;
222
260
  export declare var RerankResult$: StaticStructureSchema;
223
261
  export declare var RerankSource$: StaticStructureSchema;
224
262
  export declare var RerankTextDocument$: StaticStructureSchema;
263
+ export declare var RetrievalContent$: StaticStructureSchema;
264
+ export declare var RetrievalOverrides$: StaticStructureSchema;
225
265
  export declare var RetrievalResultConfluenceLocation$: StaticStructureSchema;
226
266
  export declare var RetrievalResultContent$: StaticStructureSchema;
227
267
  export declare var RetrievalResultContentColumn$: StaticStructureSchema;
228
268
  export declare var RetrievalResultCustomDocumentLocation$: StaticStructureSchema;
269
+ export declare var RetrievalResultGoogleDriveLocation$: StaticStructureSchema;
229
270
  export declare var RetrievalResultKendraDocumentLocation$: StaticStructureSchema;
230
271
  export declare var RetrievalResultLocation$: StaticStructureSchema;
272
+ export declare var RetrievalResultOneDriveLocation$: StaticStructureSchema;
231
273
  export declare var RetrievalResultS3Location$: StaticStructureSchema;
232
274
  export declare var RetrievalResultSalesforceLocation$: StaticStructureSchema;
233
275
  export declare var RetrievalResultSharePointLocation$: StaticStructureSchema;
@@ -275,11 +317,14 @@ export declare var UntagResourceResponse$: StaticStructureSchema;
275
317
  export declare var UpdateSessionRequest$: StaticStructureSchema;
276
318
  export declare var UpdateSessionResponse$: StaticStructureSchema;
277
319
  export declare var Usage$: StaticStructureSchema;
320
+ export declare var UserContext$: StaticStructureSchema;
278
321
  export declare var VectorSearchBedrockRerankingConfiguration$: StaticStructureSchema;
279
322
  export declare var VectorSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
280
323
  export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
281
324
  export declare var VideoSegment$: StaticStructureSchema;
282
325
  export declare var ActionGroupExecutor$: StaticUnionSchema;
326
+ export declare var AgenticRetrieveStreamResponseOutput$: StaticUnionSchema;
327
+ export declare var AgenticRetrieveWarning$: StaticUnionSchema;
283
328
  export declare var APISchema$: StaticUnionSchema;
284
329
  export declare var BedrockSessionContentBlock$: StaticUnionSchema;
285
330
  export declare var Caller$: StaticUnionSchema;
@@ -315,9 +360,11 @@ export declare var RerankingMetadataSelectiveModeConfiguration$: StaticUnionSche
315
360
  export declare var ResponseStream$: StaticUnionSchema;
316
361
  export declare var RetrievalFilter$: StaticUnionSchema;
317
362
  export declare var RetrieveAndGenerateStreamResponseOutput$: StaticUnionSchema;
363
+ export declare var RetrieverConfiguration$: StaticUnionSchema;
318
364
  export declare var RoutingClassifierTrace$: StaticUnionSchema;
319
365
  export declare var Trace$: StaticUnionSchema;
320
366
  export declare var TraceElements$: StaticUnionSchema;
367
+ export declare var AgenticRetrieveStream$: StaticOperationSchema;
321
368
  export declare var CreateInvocation$: StaticOperationSchema;
322
369
  export declare var CreateSession$: StaticOperationSchema;
323
370
  export declare var DeleteAgentMemory$: StaticOperationSchema;
@@ -325,6 +372,7 @@ export declare var DeleteSession$: StaticOperationSchema;
325
372
  export declare var EndSession$: StaticOperationSchema;
326
373
  export declare var GenerateQuery$: StaticOperationSchema;
327
374
  export declare var GetAgentMemory$: StaticOperationSchema;
375
+ export declare var GetDocumentContent$: StaticOperationSchema;
328
376
  export declare var GetExecutionFlowSnapshot$: StaticOperationSchema;
329
377
  export declare var GetFlowExecution$: StaticOperationSchema;
330
378
  export declare var GetInvocationStep$: StaticOperationSchema;
@@ -4,6 +4,10 @@ import {
4
4
  Paginator,
5
5
  } from "@smithy/types";
6
6
  import { BedrockAgentRuntimeClient } from "./BedrockAgentRuntimeClient";
7
+ import {
8
+ AgenticRetrieveStreamCommandInput,
9
+ AgenticRetrieveStreamCommandOutput,
10
+ } from "./commands/AgenticRetrieveStreamCommand";
7
11
  import {
8
12
  CreateInvocationCommandInput,
9
13
  CreateInvocationCommandOutput,
@@ -32,6 +36,10 @@ import {
32
36
  GetAgentMemoryCommandInput,
33
37
  GetAgentMemoryCommandOutput,
34
38
  } from "./commands/GetAgentMemoryCommand";
39
+ import {
40
+ GetDocumentContentCommandInput,
41
+ GetDocumentContentCommandOutput,
42
+ } from "./commands/GetDocumentContentCommand";
35
43
  import {
36
44
  GetExecutionFlowSnapshotCommandInput,
37
45
  GetExecutionFlowSnapshotCommandOutput,
@@ -129,6 +137,19 @@ import {
129
137
  UpdateSessionCommandOutput,
130
138
  } from "./commands/UpdateSessionCommand";
131
139
  export interface BedrockAgentRuntime {
140
+ agenticRetrieveStream(
141
+ args: AgenticRetrieveStreamCommandInput,
142
+ options?: __HttpHandlerOptions
143
+ ): Promise<AgenticRetrieveStreamCommandOutput>;
144
+ agenticRetrieveStream(
145
+ args: AgenticRetrieveStreamCommandInput,
146
+ cb: (err: any, data?: AgenticRetrieveStreamCommandOutput) => void
147
+ ): void;
148
+ agenticRetrieveStream(
149
+ args: AgenticRetrieveStreamCommandInput,
150
+ options: __HttpHandlerOptions,
151
+ cb: (err: any, data?: AgenticRetrieveStreamCommandOutput) => void
152
+ ): void;
132
153
  createInvocation(
133
154
  args: CreateInvocationCommandInput,
134
155
  options?: __HttpHandlerOptions
@@ -221,6 +242,19 @@ export interface BedrockAgentRuntime {
221
242
  options: __HttpHandlerOptions,
222
243
  cb: (err: any, data?: GetAgentMemoryCommandOutput) => void
223
244
  ): void;
245
+ getDocumentContent(
246
+ args: GetDocumentContentCommandInput,
247
+ options?: __HttpHandlerOptions
248
+ ): Promise<GetDocumentContentCommandOutput>;
249
+ getDocumentContent(
250
+ args: GetDocumentContentCommandInput,
251
+ cb: (err: any, data?: GetDocumentContentCommandOutput) => void
252
+ ): void;
253
+ getDocumentContent(
254
+ args: GetDocumentContentCommandInput,
255
+ options: __HttpHandlerOptions,
256
+ cb: (err: any, data?: GetDocumentContentCommandOutput) => void
257
+ ): void;
224
258
  getExecutionFlowSnapshot(
225
259
  args: GetExecutionFlowSnapshotCommandInput,
226
260
  options?: __HttpHandlerOptions
@@ -41,6 +41,10 @@ import {
41
41
  HttpAuthSchemeInputConfig,
42
42
  HttpAuthSchemeResolvedConfig,
43
43
  } from "./auth/httpAuthSchemeProvider";
44
+ import {
45
+ AgenticRetrieveStreamCommandInput,
46
+ AgenticRetrieveStreamCommandOutput,
47
+ } from "./commands/AgenticRetrieveStreamCommand";
44
48
  import {
45
49
  CreateInvocationCommandInput,
46
50
  CreateInvocationCommandOutput,
@@ -69,6 +73,10 @@ import {
69
73
  GetAgentMemoryCommandInput,
70
74
  GetAgentMemoryCommandOutput,
71
75
  } from "./commands/GetAgentMemoryCommand";
76
+ import {
77
+ GetDocumentContentCommandInput,
78
+ GetDocumentContentCommandOutput,
79
+ } from "./commands/GetDocumentContentCommand";
72
80
  import {
73
81
  GetExecutionFlowSnapshotCommandInput,
74
82
  GetExecutionFlowSnapshotCommandOutput,
@@ -173,6 +181,7 @@ import {
173
181
  import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
174
182
  export { __Client };
175
183
  export type ServiceInputTypes =
184
+ | AgenticRetrieveStreamCommandInput
176
185
  | CreateInvocationCommandInput
177
186
  | CreateSessionCommandInput
178
187
  | DeleteAgentMemoryCommandInput
@@ -180,6 +189,7 @@ export type ServiceInputTypes =
180
189
  | EndSessionCommandInput
181
190
  | GenerateQueryCommandInput
182
191
  | GetAgentMemoryCommandInput
192
+ | GetDocumentContentCommandInput
183
193
  | GetExecutionFlowSnapshotCommandInput
184
194
  | GetFlowExecutionCommandInput
185
195
  | GetInvocationStepCommandInput
@@ -205,6 +215,7 @@ export type ServiceInputTypes =
205
215
  | UntagResourceCommandInput
206
216
  | UpdateSessionCommandInput;
207
217
  export type ServiceOutputTypes =
218
+ | AgenticRetrieveStreamCommandOutput
208
219
  | CreateInvocationCommandOutput
209
220
  | CreateSessionCommandOutput
210
221
  | DeleteAgentMemoryCommandOutput
@@ -212,6 +223,7 @@ export type ServiceOutputTypes =
212
223
  | EndSessionCommandOutput
213
224
  | GenerateQueryCommandOutput
214
225
  | GetAgentMemoryCommandOutput
226
+ | GetDocumentContentCommandOutput
215
227
  | GetExecutionFlowSnapshotCommandOutput
216
228
  | GetFlowExecutionCommandOutput
217
229
  | GetInvocationStepCommandOutput
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentRuntimeClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentRuntimeClient";
8
+ import { AgenticRetrieveStreamResponse } from "../models/models_0";
9
+ import { AgenticRetrieveStreamRequest } from "../models/models_1";
10
+ export { __MetadataBearer };
11
+ export { $Command };
12
+ export interface AgenticRetrieveStreamCommandInput
13
+ extends AgenticRetrieveStreamRequest {}
14
+ export interface AgenticRetrieveStreamCommandOutput
15
+ extends AgenticRetrieveStreamResponse,
16
+ __MetadataBearer {}
17
+ declare const AgenticRetrieveStreamCommand_base: {
18
+ new (
19
+ input: AgenticRetrieveStreamCommandInput
20
+ ): import("@smithy/core/client").CommandImpl<
21
+ AgenticRetrieveStreamCommandInput,
22
+ AgenticRetrieveStreamCommandOutput,
23
+ BedrockAgentRuntimeClientResolvedConfig,
24
+ ServiceInputTypes,
25
+ ServiceOutputTypes
26
+ >;
27
+ new (
28
+ input: AgenticRetrieveStreamCommandInput
29
+ ): import("@smithy/core/client").CommandImpl<
30
+ AgenticRetrieveStreamCommandInput,
31
+ AgenticRetrieveStreamCommandOutput,
32
+ BedrockAgentRuntimeClientResolvedConfig,
33
+ ServiceInputTypes,
34
+ ServiceOutputTypes
35
+ >;
36
+ getEndpointParameterInstructions(): {
37
+ [x: string]: unknown;
38
+ };
39
+ };
40
+ export declare class AgenticRetrieveStreamCommand extends AgenticRetrieveStreamCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: AgenticRetrieveStreamRequest;
44
+ output: AgenticRetrieveStreamResponse;
45
+ };
46
+ sdk: {
47
+ input: AgenticRetrieveStreamCommandInput;
48
+ output: AgenticRetrieveStreamCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentRuntimeClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentRuntimeClient";
8
+ import {
9
+ GetDocumentContentRequest,
10
+ GetDocumentContentResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetDocumentContentCommandInput
15
+ extends GetDocumentContentRequest {}
16
+ export interface GetDocumentContentCommandOutput
17
+ extends GetDocumentContentResponse,
18
+ __MetadataBearer {}
19
+ declare const GetDocumentContentCommand_base: {
20
+ new (
21
+ input: GetDocumentContentCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ GetDocumentContentCommandInput,
24
+ GetDocumentContentCommandOutput,
25
+ BedrockAgentRuntimeClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetDocumentContentCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ GetDocumentContentCommandInput,
33
+ GetDocumentContentCommandOutput,
34
+ BedrockAgentRuntimeClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class GetDocumentContentCommand extends GetDocumentContentCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: GetDocumentContentRequest;
46
+ output: GetDocumentContentResponse;
47
+ };
48
+ sdk: {
49
+ input: GetDocumentContentCommandInput;
50
+ output: GetDocumentContentCommandOutput;
51
+ };
52
+ };
53
+ }
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  GetInvocationStepRequest,
10
10
  GetInvocationStepResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface GetInvocationStepCommandInput
@@ -5,7 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { InvokeAgentRequest, InvokeAgentResponse } from "../models/models_0";
8
+ import { InvokeAgentResponse } from "../models/models_0";
9
+ import { InvokeAgentRequest } from "../models/models_1";
9
10
  export { __MetadataBearer };
10
11
  export { $Command };
11
12
  export interface InvokeAgentCommandInput extends InvokeAgentRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListInvocationStepsRequest,
10
10
  ListInvocationStepsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListInvocationStepsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListInvocationsRequest,
10
10
  ListInvocationsResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListInvocationsCommandInput extends ListInvocationsRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { ListSessionsRequest, ListSessionsResponse } from "../models/models_0";
8
+ import { ListSessionsRequest, ListSessionsResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ListSessionsCommandInput extends ListSessionsRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ListTagsForResourceRequest,
10
10
  ListTagsForResourceResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ListTagsForResourceCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  PutInvocationStepRequest,
10
10
  PutInvocationStepResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface PutInvocationStepCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import {
9
- RetrieveAndGenerateRequest,
10
- RetrieveAndGenerateResponse,
11
- } from "../models/models_0";
8
+ import { RetrieveAndGenerateResponse } from "../models/models_0";
9
+ import { RetrieveAndGenerateRequest } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface RetrieveAndGenerateCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import {
9
- RetrieveAndGenerateStreamRequest,
10
- RetrieveAndGenerateStreamResponse,
11
- } from "../models/models_0";
8
+ import { RetrieveAndGenerateStreamResponse } from "../models/models_0";
9
+ import { RetrieveAndGenerateStreamRequest } from "../models/models_1";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface RetrieveAndGenerateStreamCommandInput
@@ -5,7 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { RetrieveRequest, RetrieveResponse } from "../models/models_0";
8
+ import { RetrieveResponse } from "../models/models_0";
9
+ import { RetrieveRequest } from "../models/models_1";
9
10
  export { __MetadataBearer };
10
11
  export { $Command };
11
12
  export interface RetrieveCommandInput extends RetrieveRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockAgentRuntimeClient";
8
- import { TagResourceRequest, TagResourceResponse } from "../models/models_0";
8
+ import { TagResourceRequest, TagResourceResponse } from "../models/models_1";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface TagResourceCommandInput extends TagResourceRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UntagResourceRequest,
10
10
  UntagResourceResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  UpdateSessionRequest,
10
10
  UpdateSessionResponse,
11
- } from "../models/models_0";
11
+ } from "../models/models_1";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface UpdateSessionCommandInput extends UpdateSessionRequest {}
@@ -1,3 +1,4 @@
1
+ export * from "./AgenticRetrieveStreamCommand";
1
2
  export * from "./CreateInvocationCommand";
2
3
  export * from "./CreateSessionCommand";
3
4
  export * from "./DeleteAgentMemoryCommand";
@@ -5,6 +6,7 @@ export * from "./DeleteSessionCommand";
5
6
  export * from "./EndSessionCommand";
6
7
  export * from "./GenerateQueryCommand";
7
8
  export * from "./GetAgentMemoryCommand";
9
+ export * from "./GetDocumentContentCommand";
8
10
  export * from "./GetExecutionFlowSnapshotCommand";
9
11
  export * from "./GetFlowExecutionCommand";
10
12
  export * from "./GetInvocationStepCommand";
@@ -69,12 +69,61 @@ export declare const PayloadType: {
69
69
  readonly TEXT: "TEXT";
70
70
  };
71
71
  export type PayloadType = (typeof PayloadType)[keyof typeof PayloadType];
72
+ export declare const FoundationModelConfigurationType: {
73
+ readonly BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL";
74
+ };
75
+ export type FoundationModelConfigurationType =
76
+ (typeof FoundationModelConfigurationType)[keyof typeof FoundationModelConfigurationType];
77
+ export declare const FoundationModelType: {
78
+ readonly CUSTOM: "CUSTOM";
79
+ readonly MANAGED: "MANAGED";
80
+ };
81
+ export type FoundationModelType =
82
+ (typeof FoundationModelType)[keyof typeof FoundationModelType];
83
+ export declare const AgenticRetrieveRerankingConfigurationType: {
84
+ readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
85
+ };
86
+ export type AgenticRetrieveRerankingConfigurationType =
87
+ (typeof AgenticRetrieveRerankingConfigurationType)[keyof typeof AgenticRetrieveRerankingConfigurationType];
88
+ export declare const AgenticRetrieveRerankingModelType: {
89
+ readonly CUSTOM: "CUSTOM";
90
+ readonly MANAGED: "MANAGED";
91
+ readonly NONE: "NONE";
92
+ };
93
+ export type AgenticRetrieveRerankingModelType =
94
+ (typeof AgenticRetrieveRerankingModelType)[keyof typeof AgenticRetrieveRerankingModelType];
72
95
  export declare const GuardrailAction: {
73
96
  readonly INTERVENED: "INTERVENED";
74
97
  readonly NONE: "NONE";
75
98
  };
76
99
  export type GuardrailAction =
77
100
  (typeof GuardrailAction)[keyof typeof GuardrailAction];
101
+ export declare const ConversationRole: {
102
+ readonly ASSISTANT: "assistant";
103
+ readonly USER: "user";
104
+ };
105
+ export type ConversationRole =
106
+ (typeof ConversationRole)[keyof typeof ConversationRole];
107
+ export declare const AgenticRetrieveType: {
108
+ readonly BEDROCK_KNOWLEDGE_BASE: "BedrockKnowledgeBase";
109
+ };
110
+ export type AgenticRetrieveType =
111
+ (typeof AgenticRetrieveType)[keyof typeof AgenticRetrieveType];
112
+ export declare const AgenticRetrieveStatus: {
113
+ readonly FAILED: "FAILED";
114
+ readonly IN_PROGRESS: "IN_PROGRESS";
115
+ readonly SUCCEEDED: "SUCCEEDED";
116
+ };
117
+ export type AgenticRetrieveStatus =
118
+ (typeof AgenticRetrieveStatus)[keyof typeof AgenticRetrieveStatus];
119
+ export declare const AgenticRetrieveStep: {
120
+ readonly FULL_DOCUMENT_EXPANSION: "FullDocumentExpansion";
121
+ readonly PLANNING: "Planning";
122
+ readonly RETRIEVAL: "Retrieval";
123
+ readonly SPECULATIVE_RETRIEVAL: "SpeculativeRetrieval";
124
+ };
125
+ export type AgenticRetrieveStep =
126
+ (typeof AgenticRetrieveStep)[keyof typeof AgenticRetrieveStep];
78
127
  export declare const GuardrailContentPolicyAction: {
79
128
  readonly BLOCKED: "BLOCKED";
80
129
  };
@@ -203,7 +252,9 @@ export type RetrievalResultContentType =
203
252
  export declare const RetrievalResultLocationType: {
204
253
  readonly CONFLUENCE: "CONFLUENCE";
205
254
  readonly CUSTOM: "CUSTOM";
255
+ readonly GOOGLEDRIVE: "GOOGLEDRIVE";
206
256
  readonly KENDRA: "KENDRA";
257
+ readonly ONEDRIVE: "ONEDRIVE";
207
258
  readonly S3: "S3";
208
259
  readonly SALESFORCE: "SALESFORCE";
209
260
  readonly SHAREPOINT: "SHAREPOINT";
@@ -324,12 +375,12 @@ export declare const GeneratedQueryType: {
324
375
  };
325
376
  export type GeneratedQueryType =
326
377
  (typeof GeneratedQueryType)[keyof typeof GeneratedQueryType];
327
- export declare const ConversationRole: {
328
- readonly ASSISTANT: "assistant";
329
- readonly USER: "user";
378
+ export declare const DocumentOutputFormat: {
379
+ readonly EXTRACTED: "EXTRACTED";
380
+ readonly RAW: "RAW";
330
381
  };
331
- export type ConversationRole =
332
- (typeof ConversationRole)[keyof typeof ConversationRole];
382
+ export type DocumentOutputFormat =
383
+ (typeof DocumentOutputFormat)[keyof typeof DocumentOutputFormat];
333
384
  export declare const FileSourceType: {
334
385
  readonly BYTE_CONTENT: "BYTE_CONTENT";
335
386
  readonly S3: "S3";
@@ -341,6 +392,24 @@ export declare const FileUseCase: {
341
392
  readonly CODE_INTERPRETER: "CODE_INTERPRETER";
342
393
  };
343
394
  export type FileUseCase = (typeof FileUseCase)[keyof typeof FileUseCase];
395
+ export declare const RerankingMetadataSelectionMode: {
396
+ readonly ALL: "ALL";
397
+ readonly SELECTIVE: "SELECTIVE";
398
+ };
399
+ export type RerankingMetadataSelectionMode =
400
+ (typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
401
+ export declare const ManagedSearchRerankingConfigurationType: {
402
+ readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
403
+ };
404
+ export type ManagedSearchRerankingConfigurationType =
405
+ (typeof ManagedSearchRerankingConfigurationType)[keyof typeof ManagedSearchRerankingConfigurationType];
406
+ export declare const RerankingModelType: {
407
+ readonly CUSTOM: "CUSTOM";
408
+ readonly MANAGED: "MANAGED";
409
+ readonly NONE: "NONE";
410
+ };
411
+ export type RerankingModelType =
412
+ (typeof RerankingModelType)[keyof typeof RerankingModelType];
344
413
  export declare const AttributeType: {
345
414
  readonly BOOLEAN: "BOOLEAN";
346
415
  readonly NUMBER: "NUMBER";
@@ -353,12 +422,6 @@ export declare const SearchType: {
353
422
  readonly SEMANTIC: "SEMANTIC";
354
423
  };
355
424
  export type SearchType = (typeof SearchType)[keyof typeof SearchType];
356
- export declare const RerankingMetadataSelectionMode: {
357
- readonly ALL: "ALL";
358
- readonly SELECTIVE: "SELECTIVE";
359
- };
360
- export type RerankingMetadataSelectionMode =
361
- (typeof RerankingMetadataSelectionMode)[keyof typeof RerankingMetadataSelectionMode];
362
425
  export declare const VectorSearchRerankingConfigurationType: {
363
426
  readonly BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL";
364
427
  };