@aws-sdk/client-bedrock-agent-runtime 3.755.0 → 3.764.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 +119 -7
- package/dist-cjs/index.js +1035 -78
- package/dist-es/BedrockAgentRuntime.js +28 -0
- package/dist-es/commands/CreateInvocationCommand.js +22 -0
- package/dist-es/commands/CreateSessionCommand.js +22 -0
- package/dist-es/commands/DeleteSessionCommand.js +22 -0
- package/dist-es/commands/EndSessionCommand.js +22 -0
- package/dist-es/commands/GetInvocationStepCommand.js +23 -0
- package/dist-es/commands/GetSessionCommand.js +22 -0
- package/dist-es/commands/InvokeAgentCommand.js +2 -1
- package/dist-es/commands/InvokeInlineAgentCommand.js +2 -1
- package/dist-es/commands/ListInvocationStepsCommand.js +22 -0
- package/dist-es/commands/ListInvocationsCommand.js +22 -0
- package/dist-es/commands/ListSessionsCommand.js +22 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/PutInvocationStepCommand.js +23 -0
- package/dist-es/commands/RetrieveAndGenerateCommand.js +2 -1
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +2 -1
- package/dist-es/commands/RetrieveCommand.js +2 -1
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/UpdateSessionCommand.js +22 -0
- package/dist-es/commands/index.js +14 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +76 -156
- package/dist-es/models/models_1.js +181 -0
- package/dist-es/pagination/ListInvocationStepsPaginator.js +4 -0
- package/dist-es/pagination/ListInvocationsPaginator.js +4 -0
- package/dist-es/pagination/ListSessionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +560 -8
- package/dist-types/BedrockAgentRuntime.d.ts +100 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +16 -2
- package/dist-types/commands/CreateInvocationCommand.d.ts +115 -0
- package/dist-types/commands/CreateSessionCommand.d.ts +133 -0
- package/dist-types/commands/DeleteSessionCommand.d.ts +89 -0
- package/dist-types/commands/EndSessionCommand.d.ts +93 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +109 -0
- package/dist-types/commands/GetSessionCommand.d.ts +94 -0
- package/dist-types/commands/InvokeAgentCommand.d.ts +3 -1
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +216 -64
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +97 -0
- package/dist-types/commands/ListInvocationsCommand.d.ts +95 -0
- package/dist-types/commands/ListSessionsCommand.d.ts +93 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +88 -0
- package/dist-types/commands/PutInvocationStepCommand.d.ts +134 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/commands/TagResourceCommand.d.ts +91 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/UpdateSessionCommand.d.ts +96 -0
- package/dist-types/commands/index.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +605 -684
- package/dist-types/models/models_1.d.ts +1055 -0
- package/dist-types/pagination/ListInvocationStepsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListInvocationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSessionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +126 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +240 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +86 -2
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +48 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateSessionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +14 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +250 -374
- package/dist-types/ts3.4/models/models_1.d.ts +441 -0
- package/dist-types/ts3.4/pagination/ListInvocationStepsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListInvocationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSessionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +168 -0
- package/package.json +12 -12
package/dist-cjs/index.js
CHANGED
|
@@ -30,6 +30,7 @@ __export(src_exports, {
|
|
|
30
30
|
ActionGroupSignature: () => ActionGroupSignature,
|
|
31
31
|
ActionInvocationType: () => ActionInvocationType,
|
|
32
32
|
AgentActionGroupFilterSensitiveLog: () => AgentActionGroupFilterSensitiveLog,
|
|
33
|
+
AgentCollaboration: () => AgentCollaboration,
|
|
33
34
|
AgentCollaboratorInputPayloadFilterSensitiveLog: () => AgentCollaboratorInputPayloadFilterSensitiveLog,
|
|
34
35
|
AgentCollaboratorInvocationInputFilterSensitiveLog: () => AgentCollaboratorInvocationInputFilterSensitiveLog,
|
|
35
36
|
AgentCollaboratorInvocationOutputFilterSensitiveLog: () => AgentCollaboratorInvocationOutputFilterSensitiveLog,
|
|
@@ -43,23 +44,31 @@ __export(src_exports, {
|
|
|
43
44
|
BedrockAgentRuntime: () => BedrockAgentRuntime,
|
|
44
45
|
BedrockAgentRuntimeClient: () => BedrockAgentRuntimeClient,
|
|
45
46
|
BedrockAgentRuntimeServiceException: () => BedrockAgentRuntimeServiceException,
|
|
47
|
+
BedrockSessionContentBlock: () => BedrockSessionContentBlock,
|
|
48
|
+
BedrockSessionContentBlockFilterSensitiveLog: () => BedrockSessionContentBlockFilterSensitiveLog,
|
|
46
49
|
ByteContentDocFilterSensitiveLog: () => ByteContentDocFilterSensitiveLog,
|
|
47
50
|
ByteContentFileFilterSensitiveLog: () => ByteContentFileFilterSensitiveLog,
|
|
48
51
|
Caller: () => Caller,
|
|
49
52
|
CitationEventFilterSensitiveLog: () => CitationEventFilterSensitiveLog,
|
|
50
53
|
CitationFilterSensitiveLog: () => CitationFilterSensitiveLog,
|
|
54
|
+
CollaboratorConfigurationFilterSensitiveLog: () => CollaboratorConfigurationFilterSensitiveLog,
|
|
55
|
+
CollaboratorFilterSensitiveLog: () => CollaboratorFilterSensitiveLog,
|
|
51
56
|
ConfirmationState: () => ConfirmationState,
|
|
52
57
|
ConflictException: () => ConflictException,
|
|
53
58
|
ContentBlock: () => ContentBlock,
|
|
54
59
|
ContentBlockFilterSensitiveLog: () => ContentBlockFilterSensitiveLog,
|
|
55
60
|
ConversationHistoryFilterSensitiveLog: () => ConversationHistoryFilterSensitiveLog,
|
|
56
61
|
ConversationRole: () => ConversationRole,
|
|
62
|
+
CreateInvocationCommand: () => CreateInvocationCommand,
|
|
63
|
+
CreateSessionCommand: () => CreateSessionCommand,
|
|
57
64
|
CreationMode: () => CreationMode,
|
|
58
65
|
CustomControlMethod: () => CustomControlMethod,
|
|
59
66
|
CustomOrchestrationTraceEventFilterSensitiveLog: () => CustomOrchestrationTraceEventFilterSensitiveLog,
|
|
60
67
|
CustomOrchestrationTraceFilterSensitiveLog: () => CustomOrchestrationTraceFilterSensitiveLog,
|
|
61
68
|
DeleteAgentMemoryCommand: () => DeleteAgentMemoryCommand,
|
|
69
|
+
DeleteSessionCommand: () => DeleteSessionCommand,
|
|
62
70
|
DependencyFailedException: () => DependencyFailedException,
|
|
71
|
+
EndSessionCommand: () => EndSessionCommand,
|
|
63
72
|
ExecutionType: () => ExecutionType,
|
|
64
73
|
ExternalSourceFilterSensitiveLog: () => ExternalSourceFilterSensitiveLog,
|
|
65
74
|
ExternalSourceType: () => ExternalSourceType,
|
|
@@ -106,6 +115,9 @@ __export(src_exports, {
|
|
|
106
115
|
GeneratedResponsePartFilterSensitiveLog: () => GeneratedResponsePartFilterSensitiveLog,
|
|
107
116
|
GenerationConfigurationFilterSensitiveLog: () => GenerationConfigurationFilterSensitiveLog,
|
|
108
117
|
GetAgentMemoryCommand: () => GetAgentMemoryCommand,
|
|
118
|
+
GetInvocationStepCommand: () => GetInvocationStepCommand,
|
|
119
|
+
GetInvocationStepResponseFilterSensitiveLog: () => GetInvocationStepResponseFilterSensitiveLog,
|
|
120
|
+
GetSessionCommand: () => GetSessionCommand,
|
|
109
121
|
GuadrailAction: () => GuadrailAction,
|
|
110
122
|
GuardrailAction: () => GuardrailAction,
|
|
111
123
|
GuardrailAssessmentFilterSensitiveLog: () => GuardrailAssessmentFilterSensitiveLog,
|
|
@@ -129,6 +141,8 @@ __export(src_exports, {
|
|
|
129
141
|
GuardrailTraceFilterSensitiveLog: () => GuardrailTraceFilterSensitiveLog,
|
|
130
142
|
GuardrailWordPolicyAction: () => GuardrailWordPolicyAction,
|
|
131
143
|
GuardrailWordPolicyAssessmentFilterSensitiveLog: () => GuardrailWordPolicyAssessmentFilterSensitiveLog,
|
|
144
|
+
ImageFormat: () => ImageFormat,
|
|
145
|
+
ImageSource: () => ImageSource,
|
|
132
146
|
ImplicitFilterConfigurationFilterSensitiveLog: () => ImplicitFilterConfigurationFilterSensitiveLog,
|
|
133
147
|
InlineAgentFilePartFilterSensitiveLog: () => InlineAgentFilePartFilterSensitiveLog,
|
|
134
148
|
InlineAgentPayloadPartFilterSensitiveLog: () => InlineAgentPayloadPartFilterSensitiveLog,
|
|
@@ -147,6 +161,9 @@ __export(src_exports, {
|
|
|
147
161
|
InvocationInputMemberFilterSensitiveLog: () => InvocationInputMemberFilterSensitiveLog,
|
|
148
162
|
InvocationResultMember: () => InvocationResultMember,
|
|
149
163
|
InvocationResultMemberFilterSensitiveLog: () => InvocationResultMemberFilterSensitiveLog,
|
|
164
|
+
InvocationStepFilterSensitiveLog: () => InvocationStepFilterSensitiveLog,
|
|
165
|
+
InvocationStepPayload: () => InvocationStepPayload,
|
|
166
|
+
InvocationStepPayloadFilterSensitiveLog: () => InvocationStepPayloadFilterSensitiveLog,
|
|
150
167
|
InvocationType: () => InvocationType,
|
|
151
168
|
InvokeAgentCommand: () => InvokeAgentCommand,
|
|
152
169
|
InvokeAgentRequestFilterSensitiveLog: () => InvokeAgentRequestFilterSensitiveLog,
|
|
@@ -166,6 +183,10 @@ __export(src_exports, {
|
|
|
166
183
|
KnowledgeBaseRetrievalResultFilterSensitiveLog: () => KnowledgeBaseRetrievalResultFilterSensitiveLog,
|
|
167
184
|
KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog: () => KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog,
|
|
168
185
|
KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: () => KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
|
|
186
|
+
ListInvocationStepsCommand: () => ListInvocationStepsCommand,
|
|
187
|
+
ListInvocationsCommand: () => ListInvocationsCommand,
|
|
188
|
+
ListSessionsCommand: () => ListSessionsCommand,
|
|
189
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
169
190
|
Memory: () => Memory,
|
|
170
191
|
MemoryType: () => MemoryType,
|
|
171
192
|
MessageFilterSensitiveLog: () => MessageFilterSensitiveLog,
|
|
@@ -206,6 +227,8 @@ __export(src_exports, {
|
|
|
206
227
|
PromptState: () => PromptState,
|
|
207
228
|
PromptTemplateFilterSensitiveLog: () => PromptTemplateFilterSensitiveLog,
|
|
208
229
|
PromptType: () => PromptType,
|
|
230
|
+
PutInvocationStepCommand: () => PutInvocationStepCommand,
|
|
231
|
+
PutInvocationStepRequestFilterSensitiveLog: () => PutInvocationStepRequestFilterSensitiveLog,
|
|
209
232
|
QueryGenerationInputFilterSensitiveLog: () => QueryGenerationInputFilterSensitiveLog,
|
|
210
233
|
QueryTransformationMode: () => QueryTransformationMode,
|
|
211
234
|
QueryTransformationType: () => QueryTransformationType,
|
|
@@ -214,6 +237,7 @@ __export(src_exports, {
|
|
|
214
237
|
ReasoningContentBlock: () => ReasoningContentBlock,
|
|
215
238
|
ReasoningContentBlockFilterSensitiveLog: () => ReasoningContentBlockFilterSensitiveLog,
|
|
216
239
|
ReasoningTextBlockFilterSensitiveLog: () => ReasoningTextBlockFilterSensitiveLog,
|
|
240
|
+
RelayConversationHistory: () => RelayConversationHistory,
|
|
217
241
|
RepromptResponseFilterSensitiveLog: () => RepromptResponseFilterSensitiveLog,
|
|
218
242
|
RequireConfirmation: () => RequireConfirmation,
|
|
219
243
|
RerankCommand: () => RerankCommand,
|
|
@@ -268,7 +292,9 @@ __export(src_exports, {
|
|
|
268
292
|
SearchType: () => SearchType,
|
|
269
293
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
270
294
|
SessionStateFilterSensitiveLog: () => SessionStateFilterSensitiveLog,
|
|
295
|
+
SessionStatus: () => SessionStatus,
|
|
271
296
|
Source: () => Source,
|
|
297
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
272
298
|
TextPromptFilterSensitiveLog: () => TextPromptFilterSensitiveLog,
|
|
273
299
|
TextResponsePartFilterSensitiveLog: () => TextResponsePartFilterSensitiveLog,
|
|
274
300
|
TextToSqlConfigurationType: () => TextToSqlConfigurationType,
|
|
@@ -277,6 +303,8 @@ __export(src_exports, {
|
|
|
277
303
|
TraceFilterSensitiveLog: () => TraceFilterSensitiveLog,
|
|
278
304
|
TracePartFilterSensitiveLog: () => TracePartFilterSensitiveLog,
|
|
279
305
|
Type: () => Type,
|
|
306
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
307
|
+
UpdateSessionCommand: () => UpdateSessionCommand,
|
|
280
308
|
UsageFilterSensitiveLog: () => UsageFilterSensitiveLog,
|
|
281
309
|
ValidationException: () => ValidationException,
|
|
282
310
|
VectorSearchBedrockRerankingConfigurationFilterSensitiveLog: () => VectorSearchBedrockRerankingConfigurationFilterSensitiveLog,
|
|
@@ -284,6 +312,9 @@ __export(src_exports, {
|
|
|
284
312
|
VectorSearchRerankingConfigurationType: () => VectorSearchRerankingConfigurationType,
|
|
285
313
|
__Client: () => import_smithy_client.Client,
|
|
286
314
|
paginateGetAgentMemory: () => paginateGetAgentMemory,
|
|
315
|
+
paginateListInvocationSteps: () => paginateListInvocationSteps,
|
|
316
|
+
paginateListInvocations: () => paginateListInvocations,
|
|
317
|
+
paginateListSessions: () => paginateListSessions,
|
|
287
318
|
paginateRerank: () => paginateRerank,
|
|
288
319
|
paginateRetrieve: () => paginateRetrieve
|
|
289
320
|
});
|
|
@@ -436,7 +467,7 @@ var BedrockAgentRuntimeClient = class extends import_smithy_client.Client {
|
|
|
436
467
|
// src/BedrockAgentRuntime.ts
|
|
437
468
|
|
|
438
469
|
|
|
439
|
-
// src/commands/
|
|
470
|
+
// src/commands/CreateInvocationCommand.ts
|
|
440
471
|
|
|
441
472
|
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
442
473
|
|
|
@@ -536,6 +567,11 @@ var FunctionSchema;
|
|
|
536
567
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
537
568
|
}, "visit");
|
|
538
569
|
})(FunctionSchema || (FunctionSchema = {}));
|
|
570
|
+
var AgentCollaboration = {
|
|
571
|
+
DISABLED: "DISABLED",
|
|
572
|
+
SUPERVISOR: "SUPERVISOR",
|
|
573
|
+
SUPERVISOR_ROUTER: "SUPERVISOR_ROUTER"
|
|
574
|
+
};
|
|
539
575
|
var ConfirmationState = {
|
|
540
576
|
CONFIRM: "CONFIRM",
|
|
541
577
|
DENY: "DENY"
|
|
@@ -545,8 +581,8 @@ var ResponseState = {
|
|
|
545
581
|
REPROMPT: "REPROMPT"
|
|
546
582
|
};
|
|
547
583
|
var InvocationResultMember;
|
|
548
|
-
((
|
|
549
|
-
|
|
584
|
+
((InvocationResultMember4) => {
|
|
585
|
+
InvocationResultMember4.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
550
586
|
if (value.apiResult !== void 0)
|
|
551
587
|
return visitor.apiResult(value.apiResult);
|
|
552
588
|
if (value.functionResult !== void 0)
|
|
@@ -1154,6 +1190,10 @@ var ResponseStream;
|
|
|
1154
1190
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1155
1191
|
}, "visit");
|
|
1156
1192
|
})(ResponseStream || (ResponseStream = {}));
|
|
1193
|
+
var RelayConversationHistory = {
|
|
1194
|
+
DISABLED: "DISABLED",
|
|
1195
|
+
TO_COLLABORATOR: "TO_COLLABORATOR"
|
|
1196
|
+
};
|
|
1157
1197
|
var PromptState = {
|
|
1158
1198
|
DISABLED: "DISABLED",
|
|
1159
1199
|
ENABLED: "ENABLED"
|
|
@@ -1297,38 +1337,45 @@ var RetrieveAndGenerateStreamResponseOutput;
|
|
|
1297
1337
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1298
1338
|
}, "visit");
|
|
1299
1339
|
})(RetrieveAndGenerateStreamResponseOutput || (RetrieveAndGenerateStreamResponseOutput = {}));
|
|
1300
|
-
var
|
|
1301
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
return visitor.notIn(value.notIn);
|
|
1319
|
-
if (value.startsWith !== void 0)
|
|
1320
|
-
return visitor.startsWith(value.startsWith);
|
|
1321
|
-
if (value.listContains !== void 0)
|
|
1322
|
-
return visitor.listContains(value.listContains);
|
|
1323
|
-
if (value.stringContains !== void 0)
|
|
1324
|
-
return visitor.stringContains(value.stringContains);
|
|
1325
|
-
if (value.andAll !== void 0)
|
|
1326
|
-
return visitor.andAll(value.andAll);
|
|
1327
|
-
if (value.orAll !== void 0)
|
|
1328
|
-
return visitor.orAll(value.orAll);
|
|
1340
|
+
var SessionStatus = {
|
|
1341
|
+
ACTIVE: "ACTIVE",
|
|
1342
|
+
ENDED: "ENDED",
|
|
1343
|
+
EXPIRED: "EXPIRED"
|
|
1344
|
+
};
|
|
1345
|
+
var ImageFormat = {
|
|
1346
|
+
GIF: "gif",
|
|
1347
|
+
JPEG: "jpeg",
|
|
1348
|
+
PNG: "png",
|
|
1349
|
+
WEBP: "webp"
|
|
1350
|
+
};
|
|
1351
|
+
var ImageSource;
|
|
1352
|
+
((ImageSource2) => {
|
|
1353
|
+
ImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
1354
|
+
if (value.bytes !== void 0)
|
|
1355
|
+
return visitor.bytes(value.bytes);
|
|
1356
|
+
if (value.s3Location !== void 0)
|
|
1357
|
+
return visitor.s3Location(value.s3Location);
|
|
1329
1358
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1330
1359
|
}, "visit");
|
|
1331
|
-
})(
|
|
1360
|
+
})(ImageSource || (ImageSource = {}));
|
|
1361
|
+
var BedrockSessionContentBlock;
|
|
1362
|
+
((BedrockSessionContentBlock2) => {
|
|
1363
|
+
BedrockSessionContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
1364
|
+
if (value.text !== void 0)
|
|
1365
|
+
return visitor.text(value.text);
|
|
1366
|
+
if (value.image !== void 0)
|
|
1367
|
+
return visitor.image(value.image);
|
|
1368
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1369
|
+
}, "visit");
|
|
1370
|
+
})(BedrockSessionContentBlock || (BedrockSessionContentBlock = {}));
|
|
1371
|
+
var InvocationStepPayload;
|
|
1372
|
+
((InvocationStepPayload2) => {
|
|
1373
|
+
InvocationStepPayload2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
1374
|
+
if (value.contentBlocks !== void 0)
|
|
1375
|
+
return visitor.contentBlocks(value.contentBlocks);
|
|
1376
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
1377
|
+
}, "visit");
|
|
1378
|
+
})(InvocationStepPayload || (InvocationStepPayload = {}));
|
|
1332
1379
|
var ActionGroupInvocationInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1333
1380
|
...obj,
|
|
1334
1381
|
...obj.actionGroupName && { actionGroupName: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1929,15 +1976,11 @@ var InvokeAgentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1929
1976
|
...obj,
|
|
1930
1977
|
...obj.completion && { completion: "STREAMING_CONTENT" }
|
|
1931
1978
|
}), "InvokeAgentResponseFilterSensitiveLog");
|
|
1932
|
-
var
|
|
1979
|
+
var CollaboratorConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1933
1980
|
...obj,
|
|
1934
|
-
...obj.
|
|
1935
|
-
|
|
1936
|
-
|
|
1937
|
-
)
|
|
1938
|
-
},
|
|
1939
|
-
...obj.files && { files: obj.files.map((item) => InputFileFilterSensitiveLog(item)) }
|
|
1940
|
-
}), "InlineSessionStateFilterSensitiveLog");
|
|
1981
|
+
...obj.collaboratorName && { collaboratorName: import_smithy_client.SENSITIVE_STRING },
|
|
1982
|
+
...obj.collaboratorInstruction && { collaboratorInstruction: import_smithy_client.SENSITIVE_STRING }
|
|
1983
|
+
}), "CollaboratorConfigurationFilterSensitiveLog");
|
|
1941
1984
|
var PromptConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1942
1985
|
...obj,
|
|
1943
1986
|
...obj.basePromptTemplate && { basePromptTemplate: import_smithy_client.SENSITIVE_STRING }
|
|
@@ -1948,6 +1991,18 @@ var PromptOverrideConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj)
|
|
|
1948
1991
|
promptConfigurations: obj.promptConfigurations.map((item) => PromptConfigurationFilterSensitiveLog(item))
|
|
1949
1992
|
}
|
|
1950
1993
|
}), "PromptOverrideConfigurationFilterSensitiveLog");
|
|
1994
|
+
var InlineSessionStateFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1995
|
+
...obj,
|
|
1996
|
+
...obj.returnControlInvocationResults && {
|
|
1997
|
+
returnControlInvocationResults: obj.returnControlInvocationResults.map(
|
|
1998
|
+
(item) => InvocationResultMemberFilterSensitiveLog(item)
|
|
1999
|
+
)
|
|
2000
|
+
},
|
|
2001
|
+
...obj.files && { files: obj.files.map((item) => InputFileFilterSensitiveLog(item)) },
|
|
2002
|
+
...obj.conversationHistory && {
|
|
2003
|
+
conversationHistory: ConversationHistoryFilterSensitiveLog(obj.conversationHistory)
|
|
2004
|
+
}
|
|
2005
|
+
}), "InlineSessionStateFilterSensitiveLog");
|
|
1951
2006
|
var InlineAgentPayloadPartFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1952
2007
|
...obj,
|
|
1953
2008
|
...obj.bytes && { bytes: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2180,6 +2235,67 @@ var RetrieveResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2180
2235
|
...obj,
|
|
2181
2236
|
...obj.retrievalResults && { retrievalResults: import_smithy_client.SENSITIVE_STRING }
|
|
2182
2237
|
}), "RetrieveResponseFilterSensitiveLog");
|
|
2238
|
+
var BedrockSessionContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
2239
|
+
if (obj.text !== void 0)
|
|
2240
|
+
return { text: obj.text };
|
|
2241
|
+
if (obj.image !== void 0)
|
|
2242
|
+
return { image: obj.image };
|
|
2243
|
+
if (obj.$unknown !== void 0)
|
|
2244
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
2245
|
+
}, "BedrockSessionContentBlockFilterSensitiveLog");
|
|
2246
|
+
var InvocationStepPayloadFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
2247
|
+
if (obj.contentBlocks !== void 0)
|
|
2248
|
+
return { contentBlocks: import_smithy_client.SENSITIVE_STRING };
|
|
2249
|
+
if (obj.$unknown !== void 0)
|
|
2250
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
2251
|
+
}, "InvocationStepPayloadFilterSensitiveLog");
|
|
2252
|
+
var InvocationStepFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2253
|
+
...obj,
|
|
2254
|
+
...obj.payload && { payload: InvocationStepPayloadFilterSensitiveLog(obj.payload) }
|
|
2255
|
+
}), "InvocationStepFilterSensitiveLog");
|
|
2256
|
+
var GetInvocationStepResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2257
|
+
...obj,
|
|
2258
|
+
...obj.invocationStep && { invocationStep: InvocationStepFilterSensitiveLog(obj.invocationStep) }
|
|
2259
|
+
}), "GetInvocationStepResponseFilterSensitiveLog");
|
|
2260
|
+
var PutInvocationStepRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2261
|
+
...obj,
|
|
2262
|
+
...obj.payload && { payload: InvocationStepPayloadFilterSensitiveLog(obj.payload) }
|
|
2263
|
+
}), "PutInvocationStepRequestFilterSensitiveLog");
|
|
2264
|
+
|
|
2265
|
+
// src/models/models_1.ts
|
|
2266
|
+
|
|
2267
|
+
var RetrievalFilter;
|
|
2268
|
+
((RetrievalFilter2) => {
|
|
2269
|
+
RetrievalFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
2270
|
+
if (value.equals !== void 0)
|
|
2271
|
+
return visitor.equals(value.equals);
|
|
2272
|
+
if (value.notEquals !== void 0)
|
|
2273
|
+
return visitor.notEquals(value.notEquals);
|
|
2274
|
+
if (value.greaterThan !== void 0)
|
|
2275
|
+
return visitor.greaterThan(value.greaterThan);
|
|
2276
|
+
if (value.greaterThanOrEquals !== void 0)
|
|
2277
|
+
return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
|
|
2278
|
+
if (value.lessThan !== void 0)
|
|
2279
|
+
return visitor.lessThan(value.lessThan);
|
|
2280
|
+
if (value.lessThanOrEquals !== void 0)
|
|
2281
|
+
return visitor.lessThanOrEquals(value.lessThanOrEquals);
|
|
2282
|
+
if (value.in !== void 0)
|
|
2283
|
+
return visitor.in(value.in);
|
|
2284
|
+
if (value.notIn !== void 0)
|
|
2285
|
+
return visitor.notIn(value.notIn);
|
|
2286
|
+
if (value.startsWith !== void 0)
|
|
2287
|
+
return visitor.startsWith(value.startsWith);
|
|
2288
|
+
if (value.listContains !== void 0)
|
|
2289
|
+
return visitor.listContains(value.listContains);
|
|
2290
|
+
if (value.stringContains !== void 0)
|
|
2291
|
+
return visitor.stringContains(value.stringContains);
|
|
2292
|
+
if (value.andAll !== void 0)
|
|
2293
|
+
return visitor.andAll(value.andAll);
|
|
2294
|
+
if (value.orAll !== void 0)
|
|
2295
|
+
return visitor.orAll(value.orAll);
|
|
2296
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
2297
|
+
}, "visit");
|
|
2298
|
+
})(RetrievalFilter || (RetrievalFilter = {}));
|
|
2183
2299
|
var RetrievalFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
|
|
2184
2300
|
if (obj.equals !== void 0)
|
|
2185
2301
|
return { equals: obj.equals };
|
|
@@ -2271,17 +2387,21 @@ var RetrieveAndGenerateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name(
|
|
|
2271
2387
|
)
|
|
2272
2388
|
}
|
|
2273
2389
|
}), "RetrieveAndGenerateConfigurationFilterSensitiveLog");
|
|
2274
|
-
var
|
|
2390
|
+
var CollaboratorFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2275
2391
|
...obj,
|
|
2276
|
-
...obj.inputText && { inputText: import_smithy_client.SENSITIVE_STRING },
|
|
2277
|
-
...obj.inlineSessionState && { inlineSessionState: InlineSessionStateFilterSensitiveLog(obj.inlineSessionState) },
|
|
2278
2392
|
...obj.instruction && { instruction: import_smithy_client.SENSITIVE_STRING },
|
|
2279
2393
|
...obj.actionGroups && { actionGroups: obj.actionGroups.map((item) => AgentActionGroupFilterSensitiveLog(item)) },
|
|
2280
2394
|
...obj.knowledgeBases && {
|
|
2281
2395
|
knowledgeBases: obj.knowledgeBases.map((item) => KnowledgeBaseFilterSensitiveLog(item))
|
|
2282
2396
|
},
|
|
2283
|
-
...obj.promptOverrideConfiguration && { promptOverrideConfiguration: import_smithy_client.SENSITIVE_STRING }
|
|
2284
|
-
|
|
2397
|
+
...obj.promptOverrideConfiguration && { promptOverrideConfiguration: import_smithy_client.SENSITIVE_STRING },
|
|
2398
|
+
...obj.collaboratorConfigurations && {
|
|
2399
|
+
collaboratorConfigurations: obj.collaboratorConfigurations.map(
|
|
2400
|
+
(item) => CollaboratorConfigurationFilterSensitiveLog(item)
|
|
2401
|
+
)
|
|
2402
|
+
},
|
|
2403
|
+
...obj.agentName && { agentName: import_smithy_client.SENSITIVE_STRING }
|
|
2404
|
+
}), "CollaboratorFilterSensitiveLog");
|
|
2285
2405
|
var RetrieveAndGenerateRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2286
2406
|
...obj,
|
|
2287
2407
|
...obj.input && { input: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -2322,8 +2442,59 @@ var InvokeAgentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
2322
2442
|
...obj.sessionState && { sessionState: SessionStateFilterSensitiveLog(obj.sessionState) },
|
|
2323
2443
|
...obj.inputText && { inputText: import_smithy_client.SENSITIVE_STRING }
|
|
2324
2444
|
}), "InvokeAgentRequestFilterSensitiveLog");
|
|
2445
|
+
var InvokeInlineAgentRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
2446
|
+
...obj,
|
|
2447
|
+
...obj.instruction && { instruction: import_smithy_client.SENSITIVE_STRING },
|
|
2448
|
+
...obj.actionGroups && { actionGroups: obj.actionGroups.map((item) => AgentActionGroupFilterSensitiveLog(item)) },
|
|
2449
|
+
...obj.knowledgeBases && {
|
|
2450
|
+
knowledgeBases: obj.knowledgeBases.map((item) => KnowledgeBaseFilterSensitiveLog(item))
|
|
2451
|
+
},
|
|
2452
|
+
...obj.promptOverrideConfiguration && { promptOverrideConfiguration: import_smithy_client.SENSITIVE_STRING },
|
|
2453
|
+
...obj.collaboratorConfigurations && {
|
|
2454
|
+
collaboratorConfigurations: obj.collaboratorConfigurations.map(
|
|
2455
|
+
(item) => CollaboratorConfigurationFilterSensitiveLog(item)
|
|
2456
|
+
)
|
|
2457
|
+
},
|
|
2458
|
+
...obj.inputText && { inputText: import_smithy_client.SENSITIVE_STRING },
|
|
2459
|
+
...obj.inlineSessionState && { inlineSessionState: InlineSessionStateFilterSensitiveLog(obj.inlineSessionState) },
|
|
2460
|
+
...obj.collaborators && { collaborators: obj.collaborators.map((item) => CollaboratorFilterSensitiveLog(item)) }
|
|
2461
|
+
}), "InvokeInlineAgentRequestFilterSensitiveLog");
|
|
2325
2462
|
|
|
2326
2463
|
// src/protocols/Aws_restJson1.ts
|
|
2464
|
+
var se_CreateInvocationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2465
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2466
|
+
const headers = {
|
|
2467
|
+
"content-type": "application/json"
|
|
2468
|
+
};
|
|
2469
|
+
b.bp("/sessions/{sessionIdentifier}/invocations");
|
|
2470
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2471
|
+
let body;
|
|
2472
|
+
body = JSON.stringify(
|
|
2473
|
+
(0, import_smithy_client.take)(input, {
|
|
2474
|
+
description: [],
|
|
2475
|
+
invocationId: []
|
|
2476
|
+
})
|
|
2477
|
+
);
|
|
2478
|
+
b.m("PUT").h(headers).b(body);
|
|
2479
|
+
return b.build();
|
|
2480
|
+
}, "se_CreateInvocationCommand");
|
|
2481
|
+
var se_CreateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2482
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2483
|
+
const headers = {
|
|
2484
|
+
"content-type": "application/json"
|
|
2485
|
+
};
|
|
2486
|
+
b.bp("/sessions");
|
|
2487
|
+
let body;
|
|
2488
|
+
body = JSON.stringify(
|
|
2489
|
+
(0, import_smithy_client.take)(input, {
|
|
2490
|
+
encryptionKeyArn: [],
|
|
2491
|
+
sessionMetadata: (_) => (0, import_smithy_client._json)(_),
|
|
2492
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
2493
|
+
})
|
|
2494
|
+
);
|
|
2495
|
+
b.m("PUT").h(headers).b(body);
|
|
2496
|
+
return b.build();
|
|
2497
|
+
}, "se_CreateSessionCommand");
|
|
2327
2498
|
var se_DeleteAgentMemoryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2328
2499
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2329
2500
|
const headers = {};
|
|
@@ -2338,6 +2509,24 @@ var se_DeleteAgentMemoryCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2338
2509
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
2339
2510
|
return b.build();
|
|
2340
2511
|
}, "se_DeleteAgentMemoryCommand");
|
|
2512
|
+
var se_DeleteSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2513
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2514
|
+
const headers = {};
|
|
2515
|
+
b.bp("/sessions/{sessionIdentifier}");
|
|
2516
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2517
|
+
let body;
|
|
2518
|
+
b.m("DELETE").h(headers).b(body);
|
|
2519
|
+
return b.build();
|
|
2520
|
+
}, "se_DeleteSessionCommand");
|
|
2521
|
+
var se_EndSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2522
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2523
|
+
const headers = {};
|
|
2524
|
+
b.bp("/sessions/{sessionIdentifier}");
|
|
2525
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2526
|
+
let body;
|
|
2527
|
+
b.m("PATCH").h(headers).b(body);
|
|
2528
|
+
return b.build();
|
|
2529
|
+
}, "se_EndSessionCommand");
|
|
2341
2530
|
var se_GenerateQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2342
2531
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2343
2532
|
const headers = {
|
|
@@ -2370,6 +2559,32 @@ var se_GetAgentMemoryCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
2370
2559
|
b.m("GET").h(headers).q(query).b(body);
|
|
2371
2560
|
return b.build();
|
|
2372
2561
|
}, "se_GetAgentMemoryCommand");
|
|
2562
|
+
var se_GetInvocationStepCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2563
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2564
|
+
const headers = {
|
|
2565
|
+
"content-type": "application/json"
|
|
2566
|
+
};
|
|
2567
|
+
b.bp("/sessions/{sessionIdentifier}/invocationSteps/{invocationStepId}");
|
|
2568
|
+
b.p("invocationStepId", () => input.invocationStepId, "{invocationStepId}", false);
|
|
2569
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2570
|
+
let body;
|
|
2571
|
+
body = JSON.stringify(
|
|
2572
|
+
(0, import_smithy_client.take)(input, {
|
|
2573
|
+
invocationIdentifier: []
|
|
2574
|
+
})
|
|
2575
|
+
);
|
|
2576
|
+
b.m("POST").h(headers).b(body);
|
|
2577
|
+
return b.build();
|
|
2578
|
+
}, "se_GetInvocationStepCommand");
|
|
2579
|
+
var se_GetSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2580
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2581
|
+
const headers = {};
|
|
2582
|
+
b.bp("/sessions/{sessionIdentifier}");
|
|
2583
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2584
|
+
let body;
|
|
2585
|
+
b.m("GET").h(headers).b(body);
|
|
2586
|
+
return b.build();
|
|
2587
|
+
}, "se_GetSessionCommand");
|
|
2373
2588
|
var se_InvokeAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2374
2589
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2375
2590
|
const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
|
|
@@ -2426,7 +2641,10 @@ var se_InvokeInlineAgentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2426
2641
|
body = JSON.stringify(
|
|
2427
2642
|
(0, import_smithy_client.take)(input, {
|
|
2428
2643
|
actionGroups: (_) => (0, import_smithy_client._json)(_),
|
|
2644
|
+
agentCollaboration: [],
|
|
2429
2645
|
bedrockModelConfigurations: (_) => (0, import_smithy_client._json)(_),
|
|
2646
|
+
collaboratorConfigurations: (_) => (0, import_smithy_client._json)(_),
|
|
2647
|
+
collaborators: (_) => se_Collaborators(_, context),
|
|
2430
2648
|
customerEncryptionKeyArn: [],
|
|
2431
2649
|
enableTrace: [],
|
|
2432
2650
|
endSession: [],
|
|
@@ -2444,6 +2662,60 @@ var se_InvokeInlineAgentCommand = /* @__PURE__ */ __name(async (input, context)
|
|
|
2444
2662
|
b.m("POST").h(headers).b(body);
|
|
2445
2663
|
return b.build();
|
|
2446
2664
|
}, "se_InvokeInlineAgentCommand");
|
|
2665
|
+
var se_ListInvocationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2666
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2667
|
+
const headers = {};
|
|
2668
|
+
b.bp("/sessions/{sessionIdentifier}/invocations");
|
|
2669
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2670
|
+
const query = (0, import_smithy_client.map)({
|
|
2671
|
+
[_nT]: [, input[_nT]],
|
|
2672
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
2673
|
+
});
|
|
2674
|
+
let body;
|
|
2675
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
2676
|
+
return b.build();
|
|
2677
|
+
}, "se_ListInvocationsCommand");
|
|
2678
|
+
var se_ListInvocationStepsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2679
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2680
|
+
const headers = {
|
|
2681
|
+
"content-type": "application/json"
|
|
2682
|
+
};
|
|
2683
|
+
b.bp("/sessions/{sessionIdentifier}/invocationSteps");
|
|
2684
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2685
|
+
const query = (0, import_smithy_client.map)({
|
|
2686
|
+
[_nT]: [, input[_nT]],
|
|
2687
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()]
|
|
2688
|
+
});
|
|
2689
|
+
let body;
|
|
2690
|
+
body = JSON.stringify(
|
|
2691
|
+
(0, import_smithy_client.take)(input, {
|
|
2692
|
+
invocationIdentifier: []
|
|
2693
|
+
})
|
|
2694
|
+
);
|
|
2695
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
2696
|
+
return b.build();
|
|
2697
|
+
}, "se_ListInvocationStepsCommand");
|
|
2698
|
+
var se_ListSessionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2699
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2700
|
+
const headers = {};
|
|
2701
|
+
b.bp("/sessions");
|
|
2702
|
+
const query = (0, import_smithy_client.map)({
|
|
2703
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
2704
|
+
[_nT]: [, input[_nT]]
|
|
2705
|
+
});
|
|
2706
|
+
let body;
|
|
2707
|
+
b.m("POST").h(headers).q(query).b(body);
|
|
2708
|
+
return b.build();
|
|
2709
|
+
}, "se_ListSessionsCommand");
|
|
2710
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2711
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2712
|
+
const headers = {};
|
|
2713
|
+
b.bp("/tags/{resourceArn}");
|
|
2714
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
2715
|
+
let body;
|
|
2716
|
+
b.m("GET").h(headers).b(body);
|
|
2717
|
+
return b.build();
|
|
2718
|
+
}, "se_ListTagsForResourceCommand");
|
|
2447
2719
|
var se_OptimizePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2448
2720
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2449
2721
|
const headers = {
|
|
@@ -2460,6 +2732,25 @@ var se_OptimizePromptCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
2460
2732
|
b.m("POST").h(headers).b(body);
|
|
2461
2733
|
return b.build();
|
|
2462
2734
|
}, "se_OptimizePromptCommand");
|
|
2735
|
+
var se_PutInvocationStepCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2736
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2737
|
+
const headers = {
|
|
2738
|
+
"content-type": "application/json"
|
|
2739
|
+
};
|
|
2740
|
+
b.bp("/sessions/{sessionIdentifier}/invocationSteps");
|
|
2741
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2742
|
+
let body;
|
|
2743
|
+
body = JSON.stringify(
|
|
2744
|
+
(0, import_smithy_client.take)(input, {
|
|
2745
|
+
invocationIdentifier: [],
|
|
2746
|
+
invocationStepId: [],
|
|
2747
|
+
invocationStepTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
|
|
2748
|
+
payload: (_) => se_InvocationStepPayload(_, context)
|
|
2749
|
+
})
|
|
2750
|
+
);
|
|
2751
|
+
b.m("PUT").h(headers).b(body);
|
|
2752
|
+
return b.build();
|
|
2753
|
+
}, "se_PutInvocationStepCommand");
|
|
2463
2754
|
var se_RerankCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2464
2755
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
2465
2756
|
const headers = {
|
|
@@ -2533,18 +2824,52 @@ var se_RetrieveAndGenerateStreamCommand = /* @__PURE__ */ __name(async (input, c
|
|
|
2533
2824
|
b.m("POST").h(headers).b(body);
|
|
2534
2825
|
return b.build();
|
|
2535
2826
|
}, "se_RetrieveAndGenerateStreamCommand");
|
|
2536
|
-
var
|
|
2537
|
-
|
|
2538
|
-
|
|
2539
|
-
|
|
2540
|
-
|
|
2541
|
-
|
|
2827
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2828
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2829
|
+
const headers = {
|
|
2830
|
+
"content-type": "application/json"
|
|
2831
|
+
};
|
|
2832
|
+
b.bp("/tags/{resourceArn}");
|
|
2833
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
2834
|
+
let body;
|
|
2835
|
+
body = JSON.stringify(
|
|
2836
|
+
(0, import_smithy_client.take)(input, {
|
|
2837
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
2838
|
+
})
|
|
2839
|
+
);
|
|
2840
|
+
b.m("POST").h(headers).b(body);
|
|
2841
|
+
return b.build();
|
|
2842
|
+
}, "se_TagResourceCommand");
|
|
2843
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2844
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2845
|
+
const headers = {};
|
|
2846
|
+
b.bp("/tags/{resourceArn}");
|
|
2847
|
+
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
2848
|
+
const query = (0, import_smithy_client.map)({
|
|
2849
|
+
[_tK]: [(0, import_smithy_client.expectNonNull)(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []]
|
|
2542
2850
|
});
|
|
2543
|
-
|
|
2544
|
-
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2851
|
+
let body;
|
|
2852
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
2853
|
+
return b.build();
|
|
2854
|
+
}, "se_UntagResourceCommand");
|
|
2855
|
+
var se_UpdateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2856
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2857
|
+
const headers = {
|
|
2858
|
+
"content-type": "application/json"
|
|
2859
|
+
};
|
|
2860
|
+
b.bp("/sessions/{sessionIdentifier}");
|
|
2861
|
+
b.p("sessionIdentifier", () => input.sessionIdentifier, "{sessionIdentifier}", false);
|
|
2862
|
+
let body;
|
|
2863
|
+
body = JSON.stringify(
|
|
2864
|
+
(0, import_smithy_client.take)(input, {
|
|
2865
|
+
sessionMetadata: (_) => (0, import_smithy_client._json)(_)
|
|
2866
|
+
})
|
|
2867
|
+
);
|
|
2868
|
+
b.m("PUT").h(headers).b(body);
|
|
2869
|
+
return b.build();
|
|
2870
|
+
}, "se_UpdateSessionCommand");
|
|
2871
|
+
var de_CreateInvocationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2872
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2548
2873
|
return de_CommandError(output, context);
|
|
2549
2874
|
}
|
|
2550
2875
|
const contents = (0, import_smithy_client.map)({
|
|
@@ -2552,13 +2877,15 @@ var de_GenerateQueryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2552
2877
|
});
|
|
2553
2878
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2554
2879
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2555
|
-
|
|
2880
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2881
|
+
invocationId: import_smithy_client.expectString,
|
|
2882
|
+
sessionId: import_smithy_client.expectString
|
|
2556
2883
|
});
|
|
2557
2884
|
Object.assign(contents, doc);
|
|
2558
2885
|
return contents;
|
|
2559
|
-
}, "
|
|
2560
|
-
var
|
|
2561
|
-
if (output.statusCode !==
|
|
2886
|
+
}, "de_CreateInvocationCommand");
|
|
2887
|
+
var de_CreateSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2888
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2562
2889
|
return de_CommandError(output, context);
|
|
2563
2890
|
}
|
|
2564
2891
|
const contents = (0, import_smithy_client.map)({
|
|
@@ -2566,15 +2893,116 @@ var de_GetAgentMemoryCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2566
2893
|
});
|
|
2567
2894
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2568
2895
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2569
|
-
|
|
2570
|
-
|
|
2896
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2897
|
+
sessionArn: import_smithy_client.expectString,
|
|
2898
|
+
sessionId: import_smithy_client.expectString,
|
|
2899
|
+
sessionStatus: import_smithy_client.expectString
|
|
2571
2900
|
});
|
|
2572
2901
|
Object.assign(contents, doc);
|
|
2573
2902
|
return contents;
|
|
2574
|
-
}, "
|
|
2575
|
-
var
|
|
2576
|
-
if (output.statusCode !==
|
|
2577
|
-
return de_CommandError(output, context);
|
|
2903
|
+
}, "de_CreateSessionCommand");
|
|
2904
|
+
var de_DeleteAgentMemoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2905
|
+
if (output.statusCode !== 202 && output.statusCode >= 300) {
|
|
2906
|
+
return de_CommandError(output, context);
|
|
2907
|
+
}
|
|
2908
|
+
const contents = (0, import_smithy_client.map)({
|
|
2909
|
+
$metadata: deserializeMetadata(output)
|
|
2910
|
+
});
|
|
2911
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2912
|
+
return contents;
|
|
2913
|
+
}, "de_DeleteAgentMemoryCommand");
|
|
2914
|
+
var de_DeleteSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2915
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2916
|
+
return de_CommandError(output, context);
|
|
2917
|
+
}
|
|
2918
|
+
const contents = (0, import_smithy_client.map)({
|
|
2919
|
+
$metadata: deserializeMetadata(output)
|
|
2920
|
+
});
|
|
2921
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2922
|
+
return contents;
|
|
2923
|
+
}, "de_DeleteSessionCommand");
|
|
2924
|
+
var de_EndSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2925
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2926
|
+
return de_CommandError(output, context);
|
|
2927
|
+
}
|
|
2928
|
+
const contents = (0, import_smithy_client.map)({
|
|
2929
|
+
$metadata: deserializeMetadata(output)
|
|
2930
|
+
});
|
|
2931
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2932
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2933
|
+
sessionArn: import_smithy_client.expectString,
|
|
2934
|
+
sessionId: import_smithy_client.expectString,
|
|
2935
|
+
sessionStatus: import_smithy_client.expectString
|
|
2936
|
+
});
|
|
2937
|
+
Object.assign(contents, doc);
|
|
2938
|
+
return contents;
|
|
2939
|
+
}, "de_EndSessionCommand");
|
|
2940
|
+
var de_GenerateQueryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2941
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2942
|
+
return de_CommandError(output, context);
|
|
2943
|
+
}
|
|
2944
|
+
const contents = (0, import_smithy_client.map)({
|
|
2945
|
+
$metadata: deserializeMetadata(output)
|
|
2946
|
+
});
|
|
2947
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2948
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2949
|
+
queries: import_smithy_client._json
|
|
2950
|
+
});
|
|
2951
|
+
Object.assign(contents, doc);
|
|
2952
|
+
return contents;
|
|
2953
|
+
}, "de_GenerateQueryCommand");
|
|
2954
|
+
var de_GetAgentMemoryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2955
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2956
|
+
return de_CommandError(output, context);
|
|
2957
|
+
}
|
|
2958
|
+
const contents = (0, import_smithy_client.map)({
|
|
2959
|
+
$metadata: deserializeMetadata(output)
|
|
2960
|
+
});
|
|
2961
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2962
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2963
|
+
memoryContents: (_) => de_Memories(_, context),
|
|
2964
|
+
nextToken: import_smithy_client.expectString
|
|
2965
|
+
});
|
|
2966
|
+
Object.assign(contents, doc);
|
|
2967
|
+
return contents;
|
|
2968
|
+
}, "de_GetAgentMemoryCommand");
|
|
2969
|
+
var de_GetInvocationStepCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2970
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2971
|
+
return de_CommandError(output, context);
|
|
2972
|
+
}
|
|
2973
|
+
const contents = (0, import_smithy_client.map)({
|
|
2974
|
+
$metadata: deserializeMetadata(output)
|
|
2975
|
+
});
|
|
2976
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2977
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2978
|
+
invocationStep: (_) => de_InvocationStep(_, context)
|
|
2979
|
+
});
|
|
2980
|
+
Object.assign(contents, doc);
|
|
2981
|
+
return contents;
|
|
2982
|
+
}, "de_GetInvocationStepCommand");
|
|
2983
|
+
var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2984
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2985
|
+
return de_CommandError(output, context);
|
|
2986
|
+
}
|
|
2987
|
+
const contents = (0, import_smithy_client.map)({
|
|
2988
|
+
$metadata: deserializeMetadata(output)
|
|
2989
|
+
});
|
|
2990
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2991
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2992
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2993
|
+
encryptionKeyArn: import_smithy_client.expectString,
|
|
2994
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2995
|
+
sessionArn: import_smithy_client.expectString,
|
|
2996
|
+
sessionId: import_smithy_client.expectString,
|
|
2997
|
+
sessionMetadata: import_smithy_client._json,
|
|
2998
|
+
sessionStatus: import_smithy_client.expectString
|
|
2999
|
+
});
|
|
3000
|
+
Object.assign(contents, doc);
|
|
3001
|
+
return contents;
|
|
3002
|
+
}, "de_GetSessionCommand");
|
|
3003
|
+
var de_InvokeAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3004
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3005
|
+
return de_CommandError(output, context);
|
|
2578
3006
|
}
|
|
2579
3007
|
const contents = (0, import_smithy_client.map)({
|
|
2580
3008
|
$metadata: deserializeMetadata(output),
|
|
@@ -2611,6 +3039,65 @@ var de_InvokeInlineAgentCommand = /* @__PURE__ */ __name(async (output, context)
|
|
|
2611
3039
|
contents.completion = de_InlineAgentResponseStream(data, context);
|
|
2612
3040
|
return contents;
|
|
2613
3041
|
}, "de_InvokeInlineAgentCommand");
|
|
3042
|
+
var de_ListInvocationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3043
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3044
|
+
return de_CommandError(output, context);
|
|
3045
|
+
}
|
|
3046
|
+
const contents = (0, import_smithy_client.map)({
|
|
3047
|
+
$metadata: deserializeMetadata(output)
|
|
3048
|
+
});
|
|
3049
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3050
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3051
|
+
invocationSummaries: (_) => de_InvocationSummaries(_, context),
|
|
3052
|
+
nextToken: import_smithy_client.expectString
|
|
3053
|
+
});
|
|
3054
|
+
Object.assign(contents, doc);
|
|
3055
|
+
return contents;
|
|
3056
|
+
}, "de_ListInvocationsCommand");
|
|
3057
|
+
var de_ListInvocationStepsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3058
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3059
|
+
return de_CommandError(output, context);
|
|
3060
|
+
}
|
|
3061
|
+
const contents = (0, import_smithy_client.map)({
|
|
3062
|
+
$metadata: deserializeMetadata(output)
|
|
3063
|
+
});
|
|
3064
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3065
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3066
|
+
invocationStepSummaries: (_) => de_InvocationStepSummaries(_, context),
|
|
3067
|
+
nextToken: import_smithy_client.expectString
|
|
3068
|
+
});
|
|
3069
|
+
Object.assign(contents, doc);
|
|
3070
|
+
return contents;
|
|
3071
|
+
}, "de_ListInvocationStepsCommand");
|
|
3072
|
+
var de_ListSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3073
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3074
|
+
return de_CommandError(output, context);
|
|
3075
|
+
}
|
|
3076
|
+
const contents = (0, import_smithy_client.map)({
|
|
3077
|
+
$metadata: deserializeMetadata(output)
|
|
3078
|
+
});
|
|
3079
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3080
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3081
|
+
nextToken: import_smithy_client.expectString,
|
|
3082
|
+
sessionSummaries: (_) => de_SessionSummaries(_, context)
|
|
3083
|
+
});
|
|
3084
|
+
Object.assign(contents, doc);
|
|
3085
|
+
return contents;
|
|
3086
|
+
}, "de_ListSessionsCommand");
|
|
3087
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3088
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3089
|
+
return de_CommandError(output, context);
|
|
3090
|
+
}
|
|
3091
|
+
const contents = (0, import_smithy_client.map)({
|
|
3092
|
+
$metadata: deserializeMetadata(output)
|
|
3093
|
+
});
|
|
3094
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3095
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3096
|
+
tags: import_smithy_client._json
|
|
3097
|
+
});
|
|
3098
|
+
Object.assign(contents, doc);
|
|
3099
|
+
return contents;
|
|
3100
|
+
}, "de_ListTagsForResourceCommand");
|
|
2614
3101
|
var de_OptimizePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2615
3102
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2616
3103
|
return de_CommandError(output, context);
|
|
@@ -2622,6 +3109,20 @@ var de_OptimizePromptCommand = /* @__PURE__ */ __name(async (output, context) =>
|
|
|
2622
3109
|
contents.optimizedPrompt = de_OptimizedPromptStream(data, context);
|
|
2623
3110
|
return contents;
|
|
2624
3111
|
}, "de_OptimizePromptCommand");
|
|
3112
|
+
var de_PutInvocationStepCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3113
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
3114
|
+
return de_CommandError(output, context);
|
|
3115
|
+
}
|
|
3116
|
+
const contents = (0, import_smithy_client.map)({
|
|
3117
|
+
$metadata: deserializeMetadata(output)
|
|
3118
|
+
});
|
|
3119
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3120
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3121
|
+
invocationStepId: import_smithy_client.expectString
|
|
3122
|
+
});
|
|
3123
|
+
Object.assign(contents, doc);
|
|
3124
|
+
return contents;
|
|
3125
|
+
}, "de_PutInvocationStepCommand");
|
|
2625
3126
|
var de_RerankCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2626
3127
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2627
3128
|
return de_CommandError(output, context);
|
|
@@ -2682,6 +3183,44 @@ var de_RetrieveAndGenerateStreamCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2682
3183
|
contents.stream = de_RetrieveAndGenerateStreamResponseOutput(data, context);
|
|
2683
3184
|
return contents;
|
|
2684
3185
|
}, "de_RetrieveAndGenerateStreamCommand");
|
|
3186
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3187
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3188
|
+
return de_CommandError(output, context);
|
|
3189
|
+
}
|
|
3190
|
+
const contents = (0, import_smithy_client.map)({
|
|
3191
|
+
$metadata: deserializeMetadata(output)
|
|
3192
|
+
});
|
|
3193
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3194
|
+
return contents;
|
|
3195
|
+
}, "de_TagResourceCommand");
|
|
3196
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3197
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3198
|
+
return de_CommandError(output, context);
|
|
3199
|
+
}
|
|
3200
|
+
const contents = (0, import_smithy_client.map)({
|
|
3201
|
+
$metadata: deserializeMetadata(output)
|
|
3202
|
+
});
|
|
3203
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3204
|
+
return contents;
|
|
3205
|
+
}, "de_UntagResourceCommand");
|
|
3206
|
+
var de_UpdateSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3207
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3208
|
+
return de_CommandError(output, context);
|
|
3209
|
+
}
|
|
3210
|
+
const contents = (0, import_smithy_client.map)({
|
|
3211
|
+
$metadata: deserializeMetadata(output)
|
|
3212
|
+
});
|
|
3213
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3214
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3215
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3216
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3217
|
+
sessionArn: import_smithy_client.expectString,
|
|
3218
|
+
sessionId: import_smithy_client.expectString,
|
|
3219
|
+
sessionStatus: import_smithy_client.expectString
|
|
3220
|
+
});
|
|
3221
|
+
Object.assign(contents, doc);
|
|
3222
|
+
return contents;
|
|
3223
|
+
}, "de_UpdateSessionCommand");
|
|
2685
3224
|
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2686
3225
|
const parsedOutput = {
|
|
2687
3226
|
...output,
|
|
@@ -2692,15 +3231,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2692
3231
|
case "AccessDeniedException":
|
|
2693
3232
|
case "com.amazonaws.bedrockagentruntime#AccessDeniedException":
|
|
2694
3233
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2695
|
-
case "BadGatewayException":
|
|
2696
|
-
case "com.amazonaws.bedrockagentruntime#BadGatewayException":
|
|
2697
|
-
throw await de_BadGatewayExceptionRes(parsedOutput, context);
|
|
2698
3234
|
case "ConflictException":
|
|
2699
3235
|
case "com.amazonaws.bedrockagentruntime#ConflictException":
|
|
2700
3236
|
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
2701
|
-
case "DependencyFailedException":
|
|
2702
|
-
case "com.amazonaws.bedrockagentruntime#DependencyFailedException":
|
|
2703
|
-
throw await de_DependencyFailedExceptionRes(parsedOutput, context);
|
|
2704
3237
|
case "InternalServerException":
|
|
2705
3238
|
case "com.amazonaws.bedrockagentruntime#InternalServerException":
|
|
2706
3239
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2716,6 +3249,12 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2716
3249
|
case "ValidationException":
|
|
2717
3250
|
case "com.amazonaws.bedrockagentruntime#ValidationException":
|
|
2718
3251
|
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
3252
|
+
case "BadGatewayException":
|
|
3253
|
+
case "com.amazonaws.bedrockagentruntime#BadGatewayException":
|
|
3254
|
+
throw await de_BadGatewayExceptionRes(parsedOutput, context);
|
|
3255
|
+
case "DependencyFailedException":
|
|
3256
|
+
case "com.amazonaws.bedrockagentruntime#DependencyFailedException":
|
|
3257
|
+
throw await de_DependencyFailedExceptionRes(parsedOutput, context);
|
|
2719
3258
|
case "ModelNotReadyException":
|
|
2720
3259
|
case "com.amazonaws.bedrockagentruntime#ModelNotReadyException":
|
|
2721
3260
|
throw await de_ModelNotReadyExceptionRes(parsedOutput, context);
|
|
@@ -3425,6 +3964,18 @@ var se_BedrockRerankingModelConfiguration = /* @__PURE__ */ __name((input, conte
|
|
|
3425
3964
|
modelArn: []
|
|
3426
3965
|
});
|
|
3427
3966
|
}, "se_BedrockRerankingModelConfiguration");
|
|
3967
|
+
var se_BedrockSessionContentBlock = /* @__PURE__ */ __name((input, context) => {
|
|
3968
|
+
return BedrockSessionContentBlock.visit(input, {
|
|
3969
|
+
image: (value) => ({ image: se_ImageBlock(value, context) }),
|
|
3970
|
+
text: (value) => ({ text: value }),
|
|
3971
|
+
_: (name, value) => ({ [name]: value })
|
|
3972
|
+
});
|
|
3973
|
+
}, "se_BedrockSessionContentBlock");
|
|
3974
|
+
var se_BedrockSessionContentBlocks = /* @__PURE__ */ __name((input, context) => {
|
|
3975
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
3976
|
+
return se_BedrockSessionContentBlock(entry, context);
|
|
3977
|
+
});
|
|
3978
|
+
}, "se_BedrockSessionContentBlocks");
|
|
3428
3979
|
var se_ByteContentDoc = /* @__PURE__ */ __name((input, context) => {
|
|
3429
3980
|
return (0, import_smithy_client.take)(input, {
|
|
3430
3981
|
contentType: [],
|
|
@@ -3438,6 +3989,26 @@ var se_ByteContentFile = /* @__PURE__ */ __name((input, context) => {
|
|
|
3438
3989
|
mediaType: []
|
|
3439
3990
|
});
|
|
3440
3991
|
}, "se_ByteContentFile");
|
|
3992
|
+
var se_Collaborator = /* @__PURE__ */ __name((input, context) => {
|
|
3993
|
+
return (0, import_smithy_client.take)(input, {
|
|
3994
|
+
actionGroups: import_smithy_client._json,
|
|
3995
|
+
agentCollaboration: [],
|
|
3996
|
+
agentName: [],
|
|
3997
|
+
collaboratorConfigurations: import_smithy_client._json,
|
|
3998
|
+
customerEncryptionKeyArn: [],
|
|
3999
|
+
foundationModel: [],
|
|
4000
|
+
guardrailConfiguration: import_smithy_client._json,
|
|
4001
|
+
idleSessionTTLInSeconds: [],
|
|
4002
|
+
instruction: [],
|
|
4003
|
+
knowledgeBases: (_) => se_KnowledgeBases(_, context),
|
|
4004
|
+
promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context)
|
|
4005
|
+
});
|
|
4006
|
+
}, "se_Collaborator");
|
|
4007
|
+
var se_Collaborators = /* @__PURE__ */ __name((input, context) => {
|
|
4008
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
4009
|
+
return se_Collaborator(entry, context);
|
|
4010
|
+
});
|
|
4011
|
+
}, "se_Collaborators");
|
|
3441
4012
|
var se_ExternalSource = /* @__PURE__ */ __name((input, context) => {
|
|
3442
4013
|
return (0, import_smithy_client.take)(input, {
|
|
3443
4014
|
byteContent: (_) => se_ByteContentDoc(_, context),
|
|
@@ -3510,6 +4081,19 @@ var se_GenerationConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
3510
4081
|
promptTemplate: import_smithy_client._json
|
|
3511
4082
|
});
|
|
3512
4083
|
}, "se_GenerationConfiguration");
|
|
4084
|
+
var se_ImageBlock = /* @__PURE__ */ __name((input, context) => {
|
|
4085
|
+
return (0, import_smithy_client.take)(input, {
|
|
4086
|
+
format: [],
|
|
4087
|
+
source: (_) => se_ImageSource(_, context)
|
|
4088
|
+
});
|
|
4089
|
+
}, "se_ImageBlock");
|
|
4090
|
+
var se_ImageSource = /* @__PURE__ */ __name((input, context) => {
|
|
4091
|
+
return ImageSource.visit(input, {
|
|
4092
|
+
bytes: (value) => ({ bytes: context.base64Encoder(value) }),
|
|
4093
|
+
s3Location: (value) => ({ s3Location: (0, import_smithy_client._json)(value) }),
|
|
4094
|
+
_: (name, value) => ({ [name]: value })
|
|
4095
|
+
});
|
|
4096
|
+
}, "se_ImageSource");
|
|
3513
4097
|
var se_InferenceConfig = /* @__PURE__ */ __name((input, context) => {
|
|
3514
4098
|
return (0, import_smithy_client.take)(input, {
|
|
3515
4099
|
textInferenceConfig: (_) => se_TextInferenceConfig(_, context)
|
|
@@ -3526,6 +4110,7 @@ var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
3526
4110
|
}, "se_InferenceConfiguration");
|
|
3527
4111
|
var se_InlineSessionState = /* @__PURE__ */ __name((input, context) => {
|
|
3528
4112
|
return (0, import_smithy_client.take)(input, {
|
|
4113
|
+
conversationHistory: import_smithy_client._json,
|
|
3529
4114
|
files: (_) => se_InputFiles(_, context),
|
|
3530
4115
|
invocationId: [],
|
|
3531
4116
|
promptSessionAttributes: import_smithy_client._json,
|
|
@@ -3545,6 +4130,12 @@ var se_InputFiles = /* @__PURE__ */ __name((input, context) => {
|
|
|
3545
4130
|
return se_InputFile(entry, context);
|
|
3546
4131
|
});
|
|
3547
4132
|
}, "se_InputFiles");
|
|
4133
|
+
var se_InvocationStepPayload = /* @__PURE__ */ __name((input, context) => {
|
|
4134
|
+
return InvocationStepPayload.visit(input, {
|
|
4135
|
+
contentBlocks: (value) => ({ contentBlocks: se_BedrockSessionContentBlocks(value, context) }),
|
|
4136
|
+
_: (name, value) => ({ [name]: value })
|
|
4137
|
+
});
|
|
4138
|
+
}, "se_InvocationStepPayload");
|
|
3548
4139
|
var se_KnowledgeBase = /* @__PURE__ */ __name((input, context) => {
|
|
3549
4140
|
return (0, import_smithy_client.take)(input, {
|
|
3550
4141
|
description: [],
|
|
@@ -3604,6 +4195,7 @@ var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
3604
4195
|
return (0, import_smithy_client.take)(input, {
|
|
3605
4196
|
additionalModelRequestFields: (_) => se_Document(_, context),
|
|
3606
4197
|
basePromptTemplate: [],
|
|
4198
|
+
foundationModel: [],
|
|
3607
4199
|
inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
|
|
3608
4200
|
parserMode: [],
|
|
3609
4201
|
promptCreationMode: [],
|
|
@@ -3729,6 +4321,23 @@ var de_Attribution = /* @__PURE__ */ __name((output, context) => {
|
|
|
3729
4321
|
citations: (_) => de_Citations(_, context)
|
|
3730
4322
|
});
|
|
3731
4323
|
}, "de_Attribution");
|
|
4324
|
+
var de_BedrockSessionContentBlock = /* @__PURE__ */ __name((output, context) => {
|
|
4325
|
+
if (output.image != null) {
|
|
4326
|
+
return {
|
|
4327
|
+
image: de_ImageBlock(output.image, context)
|
|
4328
|
+
};
|
|
4329
|
+
}
|
|
4330
|
+
if ((0, import_smithy_client.expectString)(output.text) !== void 0) {
|
|
4331
|
+
return { text: (0, import_smithy_client.expectString)(output.text) };
|
|
4332
|
+
}
|
|
4333
|
+
return { $unknown: Object.entries(output)[0] };
|
|
4334
|
+
}, "de_BedrockSessionContentBlock");
|
|
4335
|
+
var de_BedrockSessionContentBlocks = /* @__PURE__ */ __name((output, context) => {
|
|
4336
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4337
|
+
return de_BedrockSessionContentBlock((0, import_core2.awsExpectUnion)(entry), context);
|
|
4338
|
+
});
|
|
4339
|
+
return retVal;
|
|
4340
|
+
}, "de_BedrockSessionContentBlocks");
|
|
3732
4341
|
var de_Citation = /* @__PURE__ */ __name((output, context) => {
|
|
3733
4342
|
return (0, import_smithy_client.take)(output, {
|
|
3734
4343
|
generatedResponsePart: import_smithy_client._json,
|
|
@@ -3867,6 +4476,25 @@ var de_FlowTraceNodeOutputFields = /* @__PURE__ */ __name((output, context) => {
|
|
|
3867
4476
|
});
|
|
3868
4477
|
return retVal;
|
|
3869
4478
|
}, "de_FlowTraceNodeOutputFields");
|
|
4479
|
+
var de_ImageBlock = /* @__PURE__ */ __name((output, context) => {
|
|
4480
|
+
return (0, import_smithy_client.take)(output, {
|
|
4481
|
+
format: import_smithy_client.expectString,
|
|
4482
|
+
source: (_) => de_ImageSource((0, import_core2.awsExpectUnion)(_), context)
|
|
4483
|
+
});
|
|
4484
|
+
}, "de_ImageBlock");
|
|
4485
|
+
var de_ImageSource = /* @__PURE__ */ __name((output, context) => {
|
|
4486
|
+
if (output.bytes != null) {
|
|
4487
|
+
return {
|
|
4488
|
+
bytes: context.base64Decoder(output.bytes)
|
|
4489
|
+
};
|
|
4490
|
+
}
|
|
4491
|
+
if (output.s3Location != null) {
|
|
4492
|
+
return {
|
|
4493
|
+
s3Location: (0, import_smithy_client._json)(output.s3Location)
|
|
4494
|
+
};
|
|
4495
|
+
}
|
|
4496
|
+
return { $unknown: Object.entries(output)[0] };
|
|
4497
|
+
}, "de_ImageSource");
|
|
3870
4498
|
var de_InferenceConfiguration = /* @__PURE__ */ __name((output, context) => {
|
|
3871
4499
|
return (0, import_smithy_client.take)(output, {
|
|
3872
4500
|
maximumLength: import_smithy_client.expectInt32,
|
|
@@ -3893,6 +4521,50 @@ var de_InlineAgentTracePart = /* @__PURE__ */ __name((output, context) => {
|
|
|
3893
4521
|
trace: (_) => de_Trace((0, import_core2.awsExpectUnion)(_), context)
|
|
3894
4522
|
});
|
|
3895
4523
|
}, "de_InlineAgentTracePart");
|
|
4524
|
+
var de_InvocationStep = /* @__PURE__ */ __name((output, context) => {
|
|
4525
|
+
return (0, import_smithy_client.take)(output, {
|
|
4526
|
+
invocationId: import_smithy_client.expectString,
|
|
4527
|
+
invocationStepId: import_smithy_client.expectString,
|
|
4528
|
+
invocationStepTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4529
|
+
payload: (_) => de_InvocationStepPayload((0, import_core2.awsExpectUnion)(_), context),
|
|
4530
|
+
sessionId: import_smithy_client.expectString
|
|
4531
|
+
});
|
|
4532
|
+
}, "de_InvocationStep");
|
|
4533
|
+
var de_InvocationStepPayload = /* @__PURE__ */ __name((output, context) => {
|
|
4534
|
+
if (output.contentBlocks != null) {
|
|
4535
|
+
return {
|
|
4536
|
+
contentBlocks: de_BedrockSessionContentBlocks(output.contentBlocks, context)
|
|
4537
|
+
};
|
|
4538
|
+
}
|
|
4539
|
+
return { $unknown: Object.entries(output)[0] };
|
|
4540
|
+
}, "de_InvocationStepPayload");
|
|
4541
|
+
var de_InvocationStepSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
4542
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4543
|
+
return de_InvocationStepSummary(entry, context);
|
|
4544
|
+
});
|
|
4545
|
+
return retVal;
|
|
4546
|
+
}, "de_InvocationStepSummaries");
|
|
4547
|
+
var de_InvocationStepSummary = /* @__PURE__ */ __name((output, context) => {
|
|
4548
|
+
return (0, import_smithy_client.take)(output, {
|
|
4549
|
+
invocationId: import_smithy_client.expectString,
|
|
4550
|
+
invocationStepId: import_smithy_client.expectString,
|
|
4551
|
+
invocationStepTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4552
|
+
sessionId: import_smithy_client.expectString
|
|
4553
|
+
});
|
|
4554
|
+
}, "de_InvocationStepSummary");
|
|
4555
|
+
var de_InvocationSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
4556
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4557
|
+
return de_InvocationSummary(entry, context);
|
|
4558
|
+
});
|
|
4559
|
+
return retVal;
|
|
4560
|
+
}, "de_InvocationSummaries");
|
|
4561
|
+
var de_InvocationSummary = /* @__PURE__ */ __name((output, context) => {
|
|
4562
|
+
return (0, import_smithy_client.take)(output, {
|
|
4563
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4564
|
+
invocationId: import_smithy_client.expectString,
|
|
4565
|
+
sessionId: import_smithy_client.expectString
|
|
4566
|
+
});
|
|
4567
|
+
}, "de_InvocationSummary");
|
|
3896
4568
|
var de_KnowledgeBaseLookupOutput = /* @__PURE__ */ __name((output, context) => {
|
|
3897
4569
|
return (0, import_smithy_client.take)(output, {
|
|
3898
4570
|
retrievedReferences: (_) => de_RetrievedReferences(_, context)
|
|
@@ -4139,6 +4811,21 @@ var de_RoutingClassifierTrace = /* @__PURE__ */ __name((output, context) => {
|
|
|
4139
4811
|
}
|
|
4140
4812
|
return { $unknown: Object.entries(output)[0] };
|
|
4141
4813
|
}, "de_RoutingClassifierTrace");
|
|
4814
|
+
var de_SessionSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
4815
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4816
|
+
return de_SessionSummary(entry, context);
|
|
4817
|
+
});
|
|
4818
|
+
return retVal;
|
|
4819
|
+
}, "de_SessionSummaries");
|
|
4820
|
+
var de_SessionSummary = /* @__PURE__ */ __name((output, context) => {
|
|
4821
|
+
return (0, import_smithy_client.take)(output, {
|
|
4822
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4823
|
+
lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4824
|
+
sessionArn: import_smithy_client.expectString,
|
|
4825
|
+
sessionId: import_smithy_client.expectString,
|
|
4826
|
+
sessionStatus: import_smithy_client.expectString
|
|
4827
|
+
});
|
|
4828
|
+
}, "de_SessionSummary");
|
|
4142
4829
|
var de_Trace = /* @__PURE__ */ __name((output, context) => {
|
|
4143
4830
|
if (output.customOrchestrationTrace != null) {
|
|
4144
4831
|
return {
|
|
@@ -4184,6 +4871,7 @@ var de_TracePart = /* @__PURE__ */ __name((output, context) => {
|
|
|
4184
4871
|
agentVersion: import_smithy_client.expectString,
|
|
4185
4872
|
callerChain: import_smithy_client._json,
|
|
4186
4873
|
collaboratorName: import_smithy_client.expectString,
|
|
4874
|
+
eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
4187
4875
|
sessionId: import_smithy_client.expectString,
|
|
4188
4876
|
trace: (_) => de_Trace((0, import_core2.awsExpectUnion)(_), context)
|
|
4189
4877
|
});
|
|
@@ -4201,10 +4889,12 @@ var _cT = "contentType";
|
|
|
4201
4889
|
var _eI = "executionId";
|
|
4202
4890
|
var _mI = "memoryId";
|
|
4203
4891
|
var _mIa = "maxItems";
|
|
4892
|
+
var _mR = "maxResults";
|
|
4204
4893
|
var _mT = "memoryType";
|
|
4205
4894
|
var _nT = "nextToken";
|
|
4206
4895
|
var _sA = "sourceArn";
|
|
4207
4896
|
var _sI = "sessionId";
|
|
4897
|
+
var _tK = "tagKeys";
|
|
4208
4898
|
var _xabact = "x-amzn-bedrock-agent-content-type";
|
|
4209
4899
|
var _xabami = "x-amz-bedrock-agent-memory-id";
|
|
4210
4900
|
var _xabasi = "x-amz-bedrock-agent-session-id";
|
|
@@ -4212,7 +4902,37 @@ var _xabfei = "x-amz-bedrock-flow-execution-id";
|
|
|
4212
4902
|
var _xabkbsi = "x-amzn-bedrock-knowledge-base-session-id";
|
|
4213
4903
|
var _xasa = "x-amz-source-arn";
|
|
4214
4904
|
|
|
4905
|
+
// src/commands/CreateInvocationCommand.ts
|
|
4906
|
+
var CreateInvocationCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4907
|
+
return [
|
|
4908
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4909
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4910
|
+
];
|
|
4911
|
+
}).s("AmazonBedrockAgentRunTimeService", "CreateInvocation", {}).n("BedrockAgentRuntimeClient", "CreateInvocationCommand").f(void 0, void 0).ser(se_CreateInvocationCommand).de(de_CreateInvocationCommand).build() {
|
|
4912
|
+
static {
|
|
4913
|
+
__name(this, "CreateInvocationCommand");
|
|
4914
|
+
}
|
|
4915
|
+
};
|
|
4916
|
+
|
|
4917
|
+
// src/commands/CreateSessionCommand.ts
|
|
4918
|
+
|
|
4919
|
+
|
|
4920
|
+
|
|
4921
|
+
var CreateSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4922
|
+
return [
|
|
4923
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4924
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4925
|
+
];
|
|
4926
|
+
}).s("AmazonBedrockAgentRunTimeService", "CreateSession", {}).n("BedrockAgentRuntimeClient", "CreateSessionCommand").f(void 0, void 0).ser(se_CreateSessionCommand).de(de_CreateSessionCommand).build() {
|
|
4927
|
+
static {
|
|
4928
|
+
__name(this, "CreateSessionCommand");
|
|
4929
|
+
}
|
|
4930
|
+
};
|
|
4931
|
+
|
|
4215
4932
|
// src/commands/DeleteAgentMemoryCommand.ts
|
|
4933
|
+
|
|
4934
|
+
|
|
4935
|
+
|
|
4216
4936
|
var DeleteAgentMemoryCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4217
4937
|
return [
|
|
4218
4938
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
@@ -4224,6 +4944,36 @@ var DeleteAgentMemoryCommand = class extends import_smithy_client.Command.classB
|
|
|
4224
4944
|
}
|
|
4225
4945
|
};
|
|
4226
4946
|
|
|
4947
|
+
// src/commands/DeleteSessionCommand.ts
|
|
4948
|
+
|
|
4949
|
+
|
|
4950
|
+
|
|
4951
|
+
var DeleteSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4952
|
+
return [
|
|
4953
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4954
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4955
|
+
];
|
|
4956
|
+
}).s("AmazonBedrockAgentRunTimeService", "DeleteSession", {}).n("BedrockAgentRuntimeClient", "DeleteSessionCommand").f(void 0, void 0).ser(se_DeleteSessionCommand).de(de_DeleteSessionCommand).build() {
|
|
4957
|
+
static {
|
|
4958
|
+
__name(this, "DeleteSessionCommand");
|
|
4959
|
+
}
|
|
4960
|
+
};
|
|
4961
|
+
|
|
4962
|
+
// src/commands/EndSessionCommand.ts
|
|
4963
|
+
|
|
4964
|
+
|
|
4965
|
+
|
|
4966
|
+
var EndSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4967
|
+
return [
|
|
4968
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4969
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4970
|
+
];
|
|
4971
|
+
}).s("AmazonBedrockAgentRunTimeService", "EndSession", {}).n("BedrockAgentRuntimeClient", "EndSessionCommand").f(void 0, void 0).ser(se_EndSessionCommand).de(de_EndSessionCommand).build() {
|
|
4972
|
+
static {
|
|
4973
|
+
__name(this, "EndSessionCommand");
|
|
4974
|
+
}
|
|
4975
|
+
};
|
|
4976
|
+
|
|
4227
4977
|
// src/commands/GenerateQueryCommand.ts
|
|
4228
4978
|
|
|
4229
4979
|
|
|
@@ -4254,6 +5004,36 @@ var GetAgentMemoryCommand = class extends import_smithy_client.Command.classBuil
|
|
|
4254
5004
|
}
|
|
4255
5005
|
};
|
|
4256
5006
|
|
|
5007
|
+
// src/commands/GetInvocationStepCommand.ts
|
|
5008
|
+
|
|
5009
|
+
|
|
5010
|
+
|
|
5011
|
+
var GetInvocationStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5012
|
+
return [
|
|
5013
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5014
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5015
|
+
];
|
|
5016
|
+
}).s("AmazonBedrockAgentRunTimeService", "GetInvocationStep", {}).n("BedrockAgentRuntimeClient", "GetInvocationStepCommand").f(void 0, GetInvocationStepResponseFilterSensitiveLog).ser(se_GetInvocationStepCommand).de(de_GetInvocationStepCommand).build() {
|
|
5017
|
+
static {
|
|
5018
|
+
__name(this, "GetInvocationStepCommand");
|
|
5019
|
+
}
|
|
5020
|
+
};
|
|
5021
|
+
|
|
5022
|
+
// src/commands/GetSessionCommand.ts
|
|
5023
|
+
|
|
5024
|
+
|
|
5025
|
+
|
|
5026
|
+
var GetSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5027
|
+
return [
|
|
5028
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5029
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5030
|
+
];
|
|
5031
|
+
}).s("AmazonBedrockAgentRunTimeService", "GetSession", {}).n("BedrockAgentRuntimeClient", "GetSessionCommand").f(void 0, void 0).ser(se_GetSessionCommand).de(de_GetSessionCommand).build() {
|
|
5032
|
+
static {
|
|
5033
|
+
__name(this, "GetSessionCommand");
|
|
5034
|
+
}
|
|
5035
|
+
};
|
|
5036
|
+
|
|
4257
5037
|
// src/commands/InvokeAgentCommand.ts
|
|
4258
5038
|
|
|
4259
5039
|
|
|
@@ -4320,6 +5100,66 @@ var InvokeInlineAgentCommand = class extends import_smithy_client.Command.classB
|
|
|
4320
5100
|
}
|
|
4321
5101
|
};
|
|
4322
5102
|
|
|
5103
|
+
// src/commands/ListInvocationsCommand.ts
|
|
5104
|
+
|
|
5105
|
+
|
|
5106
|
+
|
|
5107
|
+
var ListInvocationsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5108
|
+
return [
|
|
5109
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5110
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5111
|
+
];
|
|
5112
|
+
}).s("AmazonBedrockAgentRunTimeService", "ListInvocations", {}).n("BedrockAgentRuntimeClient", "ListInvocationsCommand").f(void 0, void 0).ser(se_ListInvocationsCommand).de(de_ListInvocationsCommand).build() {
|
|
5113
|
+
static {
|
|
5114
|
+
__name(this, "ListInvocationsCommand");
|
|
5115
|
+
}
|
|
5116
|
+
};
|
|
5117
|
+
|
|
5118
|
+
// src/commands/ListInvocationStepsCommand.ts
|
|
5119
|
+
|
|
5120
|
+
|
|
5121
|
+
|
|
5122
|
+
var ListInvocationStepsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5123
|
+
return [
|
|
5124
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5125
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5126
|
+
];
|
|
5127
|
+
}).s("AmazonBedrockAgentRunTimeService", "ListInvocationSteps", {}).n("BedrockAgentRuntimeClient", "ListInvocationStepsCommand").f(void 0, void 0).ser(se_ListInvocationStepsCommand).de(de_ListInvocationStepsCommand).build() {
|
|
5128
|
+
static {
|
|
5129
|
+
__name(this, "ListInvocationStepsCommand");
|
|
5130
|
+
}
|
|
5131
|
+
};
|
|
5132
|
+
|
|
5133
|
+
// src/commands/ListSessionsCommand.ts
|
|
5134
|
+
|
|
5135
|
+
|
|
5136
|
+
|
|
5137
|
+
var ListSessionsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5138
|
+
return [
|
|
5139
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5140
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5141
|
+
];
|
|
5142
|
+
}).s("AmazonBedrockAgentRunTimeService", "ListSessions", {}).n("BedrockAgentRuntimeClient", "ListSessionsCommand").f(void 0, void 0).ser(se_ListSessionsCommand).de(de_ListSessionsCommand).build() {
|
|
5143
|
+
static {
|
|
5144
|
+
__name(this, "ListSessionsCommand");
|
|
5145
|
+
}
|
|
5146
|
+
};
|
|
5147
|
+
|
|
5148
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
5149
|
+
|
|
5150
|
+
|
|
5151
|
+
|
|
5152
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5153
|
+
return [
|
|
5154
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5155
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5156
|
+
];
|
|
5157
|
+
}).s("AmazonBedrockAgentRunTimeService", "ListTagsForResource", {}).n("BedrockAgentRuntimeClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
5158
|
+
static {
|
|
5159
|
+
__name(this, "ListTagsForResourceCommand");
|
|
5160
|
+
}
|
|
5161
|
+
};
|
|
5162
|
+
|
|
4323
5163
|
// src/commands/OptimizePromptCommand.ts
|
|
4324
5164
|
|
|
4325
5165
|
|
|
@@ -4342,6 +5182,21 @@ var OptimizePromptCommand = class extends import_smithy_client.Command.classBuil
|
|
|
4342
5182
|
}
|
|
4343
5183
|
};
|
|
4344
5184
|
|
|
5185
|
+
// src/commands/PutInvocationStepCommand.ts
|
|
5186
|
+
|
|
5187
|
+
|
|
5188
|
+
|
|
5189
|
+
var PutInvocationStepCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5190
|
+
return [
|
|
5191
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5192
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5193
|
+
];
|
|
5194
|
+
}).s("AmazonBedrockAgentRunTimeService", "PutInvocationStep", {}).n("BedrockAgentRuntimeClient", "PutInvocationStepCommand").f(PutInvocationStepRequestFilterSensitiveLog, void 0).ser(se_PutInvocationStepCommand).de(de_PutInvocationStepCommand).build() {
|
|
5195
|
+
static {
|
|
5196
|
+
__name(this, "PutInvocationStepCommand");
|
|
5197
|
+
}
|
|
5198
|
+
};
|
|
5199
|
+
|
|
4345
5200
|
// src/commands/RerankCommand.ts
|
|
4346
5201
|
|
|
4347
5202
|
|
|
@@ -4409,19 +5264,78 @@ var RetrieveCommand = class extends import_smithy_client.Command.classBuilder().
|
|
|
4409
5264
|
}
|
|
4410
5265
|
};
|
|
4411
5266
|
|
|
5267
|
+
// src/commands/TagResourceCommand.ts
|
|
5268
|
+
|
|
5269
|
+
|
|
5270
|
+
|
|
5271
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5272
|
+
return [
|
|
5273
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5274
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5275
|
+
];
|
|
5276
|
+
}).s("AmazonBedrockAgentRunTimeService", "TagResource", {}).n("BedrockAgentRuntimeClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
5277
|
+
static {
|
|
5278
|
+
__name(this, "TagResourceCommand");
|
|
5279
|
+
}
|
|
5280
|
+
};
|
|
5281
|
+
|
|
5282
|
+
// src/commands/UntagResourceCommand.ts
|
|
5283
|
+
|
|
5284
|
+
|
|
5285
|
+
|
|
5286
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5287
|
+
return [
|
|
5288
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5289
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5290
|
+
];
|
|
5291
|
+
}).s("AmazonBedrockAgentRunTimeService", "UntagResource", {}).n("BedrockAgentRuntimeClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
5292
|
+
static {
|
|
5293
|
+
__name(this, "UntagResourceCommand");
|
|
5294
|
+
}
|
|
5295
|
+
};
|
|
5296
|
+
|
|
5297
|
+
// src/commands/UpdateSessionCommand.ts
|
|
5298
|
+
|
|
5299
|
+
|
|
5300
|
+
|
|
5301
|
+
var UpdateSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
5302
|
+
return [
|
|
5303
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5304
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5305
|
+
];
|
|
5306
|
+
}).s("AmazonBedrockAgentRunTimeService", "UpdateSession", {}).n("BedrockAgentRuntimeClient", "UpdateSessionCommand").f(void 0, void 0).ser(se_UpdateSessionCommand).de(de_UpdateSessionCommand).build() {
|
|
5307
|
+
static {
|
|
5308
|
+
__name(this, "UpdateSessionCommand");
|
|
5309
|
+
}
|
|
5310
|
+
};
|
|
5311
|
+
|
|
4412
5312
|
// src/BedrockAgentRuntime.ts
|
|
4413
5313
|
var commands = {
|
|
5314
|
+
CreateInvocationCommand,
|
|
5315
|
+
CreateSessionCommand,
|
|
4414
5316
|
DeleteAgentMemoryCommand,
|
|
5317
|
+
DeleteSessionCommand,
|
|
5318
|
+
EndSessionCommand,
|
|
4415
5319
|
GenerateQueryCommand,
|
|
4416
5320
|
GetAgentMemoryCommand,
|
|
5321
|
+
GetInvocationStepCommand,
|
|
5322
|
+
GetSessionCommand,
|
|
4417
5323
|
InvokeAgentCommand,
|
|
4418
5324
|
InvokeFlowCommand,
|
|
4419
5325
|
InvokeInlineAgentCommand,
|
|
5326
|
+
ListInvocationsCommand,
|
|
5327
|
+
ListInvocationStepsCommand,
|
|
5328
|
+
ListSessionsCommand,
|
|
5329
|
+
ListTagsForResourceCommand,
|
|
4420
5330
|
OptimizePromptCommand,
|
|
5331
|
+
PutInvocationStepCommand,
|
|
4421
5332
|
RerankCommand,
|
|
4422
5333
|
RetrieveCommand,
|
|
4423
5334
|
RetrieveAndGenerateCommand,
|
|
4424
|
-
RetrieveAndGenerateStreamCommand
|
|
5335
|
+
RetrieveAndGenerateStreamCommand,
|
|
5336
|
+
TagResourceCommand,
|
|
5337
|
+
UntagResourceCommand,
|
|
5338
|
+
UpdateSessionCommand
|
|
4425
5339
|
};
|
|
4426
5340
|
var BedrockAgentRuntime = class extends BedrockAgentRuntimeClient {
|
|
4427
5341
|
static {
|
|
@@ -4434,6 +5348,18 @@ var BedrockAgentRuntime = class extends BedrockAgentRuntimeClient {
|
|
|
4434
5348
|
|
|
4435
5349
|
var paginateGetAgentMemory = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, GetAgentMemoryCommand, "nextToken", "nextToken", "maxItems");
|
|
4436
5350
|
|
|
5351
|
+
// src/pagination/ListInvocationStepsPaginator.ts
|
|
5352
|
+
|
|
5353
|
+
var paginateListInvocationSteps = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, ListInvocationStepsCommand, "nextToken", "nextToken", "maxResults");
|
|
5354
|
+
|
|
5355
|
+
// src/pagination/ListInvocationsPaginator.ts
|
|
5356
|
+
|
|
5357
|
+
var paginateListInvocations = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, ListInvocationsCommand, "nextToken", "nextToken", "maxResults");
|
|
5358
|
+
|
|
5359
|
+
// src/pagination/ListSessionsPaginator.ts
|
|
5360
|
+
|
|
5361
|
+
var paginateListSessions = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, ListSessionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5362
|
+
|
|
4437
5363
|
// src/pagination/RerankPaginator.ts
|
|
4438
5364
|
|
|
4439
5365
|
var paginateRerank = (0, import_core.createPaginator)(BedrockAgentRuntimeClient, RerankCommand, "nextToken", "nextToken", "");
|
|
@@ -4449,18 +5375,35 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
4449
5375
|
BedrockAgentRuntimeClient,
|
|
4450
5376
|
BedrockAgentRuntime,
|
|
4451
5377
|
$Command,
|
|
5378
|
+
CreateInvocationCommand,
|
|
5379
|
+
CreateSessionCommand,
|
|
4452
5380
|
DeleteAgentMemoryCommand,
|
|
5381
|
+
DeleteSessionCommand,
|
|
5382
|
+
EndSessionCommand,
|
|
4453
5383
|
GenerateQueryCommand,
|
|
4454
5384
|
GetAgentMemoryCommand,
|
|
5385
|
+
GetInvocationStepCommand,
|
|
5386
|
+
GetSessionCommand,
|
|
4455
5387
|
InvokeAgentCommand,
|
|
4456
5388
|
InvokeFlowCommand,
|
|
4457
5389
|
InvokeInlineAgentCommand,
|
|
5390
|
+
ListInvocationStepsCommand,
|
|
5391
|
+
ListInvocationsCommand,
|
|
5392
|
+
ListSessionsCommand,
|
|
5393
|
+
ListTagsForResourceCommand,
|
|
4458
5394
|
OptimizePromptCommand,
|
|
5395
|
+
PutInvocationStepCommand,
|
|
4459
5396
|
RerankCommand,
|
|
4460
5397
|
RetrieveAndGenerateCommand,
|
|
4461
5398
|
RetrieveAndGenerateStreamCommand,
|
|
4462
5399
|
RetrieveCommand,
|
|
5400
|
+
TagResourceCommand,
|
|
5401
|
+
UntagResourceCommand,
|
|
5402
|
+
UpdateSessionCommand,
|
|
4463
5403
|
paginateGetAgentMemory,
|
|
5404
|
+
paginateListInvocationSteps,
|
|
5405
|
+
paginateListInvocations,
|
|
5406
|
+
paginateListSessions,
|
|
4464
5407
|
paginateRerank,
|
|
4465
5408
|
paginateRetrieve,
|
|
4466
5409
|
AccessDeniedException,
|
|
@@ -4473,6 +5416,7 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
4473
5416
|
ParameterType,
|
|
4474
5417
|
RequireConfirmation,
|
|
4475
5418
|
FunctionSchema,
|
|
5419
|
+
AgentCollaboration,
|
|
4476
5420
|
ConfirmationState,
|
|
4477
5421
|
ResponseState,
|
|
4478
5422
|
InvocationResultMember,
|
|
@@ -4536,6 +5480,7 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
4536
5480
|
RoutingClassifierTrace,
|
|
4537
5481
|
Trace,
|
|
4538
5482
|
ResponseStream,
|
|
5483
|
+
RelayConversationHistory,
|
|
4539
5484
|
PromptState,
|
|
4540
5485
|
InlineAgentResponseStream,
|
|
4541
5486
|
MemoryType,
|
|
@@ -4552,7 +5497,11 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
4552
5497
|
RetrieveAndGenerateType,
|
|
4553
5498
|
GuadrailAction,
|
|
4554
5499
|
RetrieveAndGenerateStreamResponseOutput,
|
|
4555
|
-
|
|
5500
|
+
SessionStatus,
|
|
5501
|
+
ImageFormat,
|
|
5502
|
+
ImageSource,
|
|
5503
|
+
BedrockSessionContentBlock,
|
|
5504
|
+
InvocationStepPayload,
|
|
4556
5505
|
ActionGroupInvocationInputFilterSensitiveLog,
|
|
4557
5506
|
ActionGroupInvocationOutputFilterSensitiveLog,
|
|
4558
5507
|
APISchemaFilterSensitiveLog,
|
|
@@ -4656,9 +5605,10 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
4656
5605
|
TracePartFilterSensitiveLog,
|
|
4657
5606
|
ResponseStreamFilterSensitiveLog,
|
|
4658
5607
|
InvokeAgentResponseFilterSensitiveLog,
|
|
4659
|
-
|
|
5608
|
+
CollaboratorConfigurationFilterSensitiveLog,
|
|
4660
5609
|
PromptConfigurationFilterSensitiveLog,
|
|
4661
5610
|
PromptOverrideConfigurationFilterSensitiveLog,
|
|
5611
|
+
InlineSessionStateFilterSensitiveLog,
|
|
4662
5612
|
InlineAgentPayloadPartFilterSensitiveLog,
|
|
4663
5613
|
InlineAgentFilePartFilterSensitiveLog,
|
|
4664
5614
|
InlineAgentReturnControlPayloadFilterSensitiveLog,
|
|
@@ -4697,6 +5647,12 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
4697
5647
|
KnowledgeBaseQueryFilterSensitiveLog,
|
|
4698
5648
|
KnowledgeBaseRetrievalResultFilterSensitiveLog,
|
|
4699
5649
|
RetrieveResponseFilterSensitiveLog,
|
|
5650
|
+
BedrockSessionContentBlockFilterSensitiveLog,
|
|
5651
|
+
InvocationStepPayloadFilterSensitiveLog,
|
|
5652
|
+
InvocationStepFilterSensitiveLog,
|
|
5653
|
+
GetInvocationStepResponseFilterSensitiveLog,
|
|
5654
|
+
PutInvocationStepRequestFilterSensitiveLog,
|
|
5655
|
+
RetrievalFilter,
|
|
4700
5656
|
RetrievalFilterFilterSensitiveLog,
|
|
4701
5657
|
KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
|
|
4702
5658
|
KnowledgeBaseRetrievalConfigurationFilterSensitiveLog,
|
|
@@ -4705,10 +5661,11 @@ var paginateRetrieve = (0, import_core.createPaginator)(BedrockAgentRuntimeClien
|
|
|
4705
5661
|
KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog,
|
|
4706
5662
|
RetrieveRequestFilterSensitiveLog,
|
|
4707
5663
|
RetrieveAndGenerateConfigurationFilterSensitiveLog,
|
|
4708
|
-
|
|
5664
|
+
CollaboratorFilterSensitiveLog,
|
|
4709
5665
|
RetrieveAndGenerateRequestFilterSensitiveLog,
|
|
4710
5666
|
RetrieveAndGenerateStreamRequestFilterSensitiveLog,
|
|
4711
5667
|
SessionStateFilterSensitiveLog,
|
|
4712
|
-
InvokeAgentRequestFilterSensitiveLog
|
|
5668
|
+
InvokeAgentRequestFilterSensitiveLog,
|
|
5669
|
+
InvokeInlineAgentRequestFilterSensitiveLog
|
|
4713
5670
|
});
|
|
4714
5671
|
|