@aws-sdk/client-bedrock-agent-runtime 3.697.0 → 3.701.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 +8 -0
- package/dist-cjs/index.js +505 -2
- package/dist-es/BedrockAgentRuntime.js +2 -0
- package/dist-es/commands/InvokeInlineAgentCommand.js +27 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/models_0.js +208 -0
- package/dist-es/protocols/Aws_restJson1.js +210 -0
- package/dist-types/BedrockAgentRuntime.d.ts +7 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +3 -2
- package/dist-types/commands/InvokeAgentCommand.d.ts +16 -6
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +761 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1227 -44
- package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +17 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +6 -0
- package/dist-types/ts3.4/commands/InvokeInlineAgentCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +527 -2
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
- package/package.json +4 -4
|
@@ -190,6 +190,10 @@ declare const InvokeAgentCommand_base: {
|
|
|
190
190
|
* enableTrace: true || false,
|
|
191
191
|
* inputText: "STRING_VALUE",
|
|
192
192
|
* memoryId: "STRING_VALUE",
|
|
193
|
+
* streamingConfigurations: { // StreamingConfigurations
|
|
194
|
+
* streamFinalResponse: true || false,
|
|
195
|
+
* applyGuardrailInterval: Number("int"),
|
|
196
|
+
* },
|
|
193
197
|
* };
|
|
194
198
|
* const command = new InvokeAgentCommand(input);
|
|
195
199
|
* const response = await client.send(command);
|
|
@@ -242,10 +246,7 @@ declare const InvokeAgentCommand_base: {
|
|
|
242
246
|
* // },
|
|
243
247
|
* // },
|
|
244
248
|
* // trace: { // TracePart
|
|
245
|
-
* // agentId: "STRING_VALUE",
|
|
246
|
-
* // agentAliasId: "STRING_VALUE",
|
|
247
249
|
* // sessionId: "STRING_VALUE",
|
|
248
|
-
* // agentVersion: "STRING_VALUE",
|
|
249
250
|
* // trace: { // Trace Union: only one key present
|
|
250
251
|
* // guardrailTrace: { // GuardrailTrace
|
|
251
252
|
* // action: "INTERVENED" || "NONE",
|
|
@@ -363,7 +364,7 @@ declare const InvokeAgentCommand_base: {
|
|
|
363
364
|
* // modelInvocationInput: { // ModelInvocationInput
|
|
364
365
|
* // traceId: "STRING_VALUE",
|
|
365
366
|
* // text: "STRING_VALUE",
|
|
366
|
-
* // type: "PRE_PROCESSING" || "ORCHESTRATION" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "POST_PROCESSING",
|
|
367
|
+
* // type: "PRE_PROCESSING" || "ORCHESTRATION" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "POST_PROCESSING" || "ROUTING_CLASSIFIER",
|
|
367
368
|
* // overrideLambda: "STRING_VALUE",
|
|
368
369
|
* // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
|
|
369
370
|
* // inferenceConfiguration: { // InferenceConfiguration
|
|
@@ -494,7 +495,7 @@ declare const InvokeAgentCommand_base: {
|
|
|
494
495
|
* // modelInvocationInput: {
|
|
495
496
|
* // traceId: "STRING_VALUE",
|
|
496
497
|
* // text: "STRING_VALUE",
|
|
497
|
-
* // type: "PRE_PROCESSING" || "ORCHESTRATION" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "POST_PROCESSING",
|
|
498
|
+
* // type: "PRE_PROCESSING" || "ORCHESTRATION" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "POST_PROCESSING" || "ROUTING_CLASSIFIER",
|
|
498
499
|
* // overrideLambda: "STRING_VALUE",
|
|
499
500
|
* // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
|
|
500
501
|
* // inferenceConfiguration: {
|
|
@@ -525,7 +526,7 @@ declare const InvokeAgentCommand_base: {
|
|
|
525
526
|
* // modelInvocationInput: {
|
|
526
527
|
* // traceId: "STRING_VALUE",
|
|
527
528
|
* // text: "STRING_VALUE",
|
|
528
|
-
* // type: "PRE_PROCESSING" || "ORCHESTRATION" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "POST_PROCESSING",
|
|
529
|
+
* // type: "PRE_PROCESSING" || "ORCHESTRATION" || "KNOWLEDGE_BASE_RESPONSE_GENERATION" || "POST_PROCESSING" || "ROUTING_CLASSIFIER",
|
|
529
530
|
* // overrideLambda: "STRING_VALUE",
|
|
530
531
|
* // promptCreationMode: "DEFAULT" || "OVERRIDDEN",
|
|
531
532
|
* // inferenceConfiguration: {
|
|
@@ -559,7 +560,16 @@ declare const InvokeAgentCommand_base: {
|
|
|
559
560
|
* // traceId: "STRING_VALUE",
|
|
560
561
|
* // failureReason: "STRING_VALUE",
|
|
561
562
|
* // },
|
|
563
|
+
* // customOrchestrationTrace: { // CustomOrchestrationTrace
|
|
564
|
+
* // traceId: "STRING_VALUE",
|
|
565
|
+
* // event: { // CustomOrchestrationTraceEvent
|
|
566
|
+
* // text: "STRING_VALUE",
|
|
567
|
+
* // },
|
|
568
|
+
* // },
|
|
562
569
|
* // },
|
|
570
|
+
* // agentId: "STRING_VALUE",
|
|
571
|
+
* // agentAliasId: "STRING_VALUE",
|
|
572
|
+
* // agentVersion: "STRING_VALUE",
|
|
563
573
|
* // },
|
|
564
574
|
* // returnControl: { // ReturnControlPayload
|
|
565
575
|
* // invocationInputs: [ // InvocationInputs
|