@aws-sdk/client-bedrock-agent-runtime 3.810.0 → 3.815.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 +48 -0
- package/dist-cjs/index.js +829 -176
- package/dist-es/BedrockAgentRuntime.js +12 -0
- package/dist-es/commands/GetExecutionFlowSnapshotCommand.js +22 -0
- package/dist-es/commands/GetFlowExecutionCommand.js +22 -0
- package/dist-es/commands/GetInvocationStepCommand.js +1 -1
- package/dist-es/commands/ListFlowExecutionEventsCommand.js +23 -0
- package/dist-es/commands/ListFlowExecutionsCommand.js +22 -0
- package/dist-es/commands/PutInvocationStepCommand.js +1 -1
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +1 -2
- package/dist-es/commands/RetrieveCommand.js +1 -2
- package/dist-es/commands/StartFlowExecutionCommand.js +23 -0
- package/dist-es/commands/StopFlowExecutionCommand.js +22 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/models/models_0.js +202 -196
- package/dist-es/models/models_1.js +141 -1
- package/dist-es/pagination/ListFlowExecutionEventsPaginator.js +4 -0
- package/dist-es/pagination/ListFlowExecutionsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +370 -2
- package/dist-types/BedrockAgentRuntime.d.ts +42 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +8 -2
- package/dist-types/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/commands/GetExecutionFlowSnapshotCommand.d.ts +94 -0
- package/dist-types/commands/GetFlowExecutionCommand.d.ts +102 -0
- package/dist-types/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/commands/ListFlowExecutionEventsCommand.d.ts +164 -0
- package/dist-types/commands/ListFlowExecutionsCommand.d.ts +101 -0
- package/dist-types/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/commands/ListSessionsCommand.d.ts +1 -2
- package/dist-types/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +1 -2
- package/dist-types/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/commands/StartFlowExecutionCommand.d.ts +116 -0
- package/dist-types/commands/StopFlowExecutionCommand.d.ts +99 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/models/models_0.d.ts +3521 -3592
- package/dist-types/models/models_1.d.ts +972 -1
- package/dist-types/pagination/ListFlowExecutionEventsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListFlowExecutionsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +102 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateInvocationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/CreateSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/DeleteSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/EndSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetExecutionFlowSnapshotCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetFlowExecutionCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFlowExecutionEventsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListFlowExecutionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListInvocationStepsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListInvocationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListSessionsCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/PutInvocationStepCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +1 -2
- package/dist-types/ts3.4/commands/StartFlowExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/StopFlowExecutionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/models/models_0.d.ts +393 -507
- package/dist-types/ts3.4/models/models_1.d.ts +490 -2
- package/dist-types/ts3.4/pagination/ListFlowExecutionEventsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListFlowExecutionsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
- package/package.json +5 -5
|
@@ -2,8 +2,8 @@ import { awsExpectUnion as __expectUnion, loadRestJsonErrorCode, parseJsonBody a
|
|
|
2
2
|
import { requestBuilder as rb } from "@smithy/core";
|
|
3
3
|
import { _json, collectBody, decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectLong as __expectLong, expectNonNull as __expectNonNull, expectObject as __expectObject, expectString as __expectString, isSerializableHeaderValue, limitedParseDouble as __limitedParseDouble, limitedParseFloat32 as __limitedParseFloat32, map, parseRfc3339DateTimeWithOffset as __parseRfc3339DateTimeWithOffset, serializeDateTime as __serializeDateTime, serializeFloat as __serializeFloat, take, withBaseException, } from "@smithy/smithy-client";
|
|
4
4
|
import { BedrockAgentRuntimeServiceException as __BaseException } from "../models/BedrockAgentRuntimeServiceException";
|
|
5
|
-
import { AccessDeniedException, BadGatewayException,
|
|
6
|
-
import { RetrievalFilter, } from "../models/models_1";
|
|
5
|
+
import { AccessDeniedException, BadGatewayException, ConflictException, DependencyFailedException, FlowInputContent, ImageInputSource, InternalServerException, InvocationResultMember, ModelNotReadyException, ResourceNotFoundException, ServiceQuotaExceededException, ThrottlingException, ValidationException, } from "../models/models_0";
|
|
6
|
+
import { BedrockSessionContentBlock, ImageSource, InvocationStepPayload, RetrievalFilter, } from "../models/models_1";
|
|
7
7
|
export const se_CreateInvocationCommand = async (input, context) => {
|
|
8
8
|
const b = rb(input, context);
|
|
9
9
|
const headers = {
|
|
@@ -96,6 +96,28 @@ export const se_GetAgentMemoryCommand = async (input, context) => {
|
|
|
96
96
|
b.m("GET").h(headers).q(query).b(body);
|
|
97
97
|
return b.build();
|
|
98
98
|
};
|
|
99
|
+
export const se_GetExecutionFlowSnapshotCommand = async (input, context) => {
|
|
100
|
+
const b = rb(input, context);
|
|
101
|
+
const headers = {};
|
|
102
|
+
b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/flowsnapshot");
|
|
103
|
+
b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
|
|
104
|
+
b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
|
|
105
|
+
b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
|
|
106
|
+
let body;
|
|
107
|
+
b.m("GET").h(headers).b(body);
|
|
108
|
+
return b.build();
|
|
109
|
+
};
|
|
110
|
+
export const se_GetFlowExecutionCommand = async (input, context) => {
|
|
111
|
+
const b = rb(input, context);
|
|
112
|
+
const headers = {};
|
|
113
|
+
b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}");
|
|
114
|
+
b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
|
|
115
|
+
b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
|
|
116
|
+
b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
|
|
117
|
+
let body;
|
|
118
|
+
b.m("GET").h(headers).b(body);
|
|
119
|
+
return b.build();
|
|
120
|
+
};
|
|
99
121
|
export const se_GetInvocationStepCommand = async (input, context) => {
|
|
100
122
|
const b = rb(input, context);
|
|
101
123
|
const headers = {
|
|
@@ -194,6 +216,36 @@ export const se_InvokeInlineAgentCommand = async (input, context) => {
|
|
|
194
216
|
b.m("POST").h(headers).b(body);
|
|
195
217
|
return b.build();
|
|
196
218
|
};
|
|
219
|
+
export const se_ListFlowExecutionEventsCommand = async (input, context) => {
|
|
220
|
+
const b = rb(input, context);
|
|
221
|
+
const headers = {};
|
|
222
|
+
b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/events");
|
|
223
|
+
b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
|
|
224
|
+
b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
|
|
225
|
+
b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
|
|
226
|
+
const query = map({
|
|
227
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
228
|
+
[_nT]: [, input[_nT]],
|
|
229
|
+
[_eT]: [, __expectNonNull(input[_eT], `eventType`)],
|
|
230
|
+
});
|
|
231
|
+
let body;
|
|
232
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
233
|
+
return b.build();
|
|
234
|
+
};
|
|
235
|
+
export const se_ListFlowExecutionsCommand = async (input, context) => {
|
|
236
|
+
const b = rb(input, context);
|
|
237
|
+
const headers = {};
|
|
238
|
+
b.bp("/flows/{flowIdentifier}/executions");
|
|
239
|
+
b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
|
|
240
|
+
const query = map({
|
|
241
|
+
[_fAI]: [, input[_fAI]],
|
|
242
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
243
|
+
[_nT]: [, input[_nT]],
|
|
244
|
+
});
|
|
245
|
+
let body;
|
|
246
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
247
|
+
return b.build();
|
|
248
|
+
};
|
|
197
249
|
export const se_ListInvocationsCommand = async (input, context) => {
|
|
198
250
|
const b = rb(input, context);
|
|
199
251
|
const headers = {};
|
|
@@ -342,6 +394,34 @@ export const se_RetrieveAndGenerateStreamCommand = async (input, context) => {
|
|
|
342
394
|
b.m("POST").h(headers).b(body);
|
|
343
395
|
return b.build();
|
|
344
396
|
};
|
|
397
|
+
export const se_StartFlowExecutionCommand = async (input, context) => {
|
|
398
|
+
const b = rb(input, context);
|
|
399
|
+
const headers = {
|
|
400
|
+
"content-type": "application/json",
|
|
401
|
+
};
|
|
402
|
+
b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions");
|
|
403
|
+
b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
|
|
404
|
+
b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
|
|
405
|
+
let body;
|
|
406
|
+
body = JSON.stringify(take(input, {
|
|
407
|
+
flowExecutionName: [],
|
|
408
|
+
inputs: (_) => se_FlowInputs(_, context),
|
|
409
|
+
modelPerformanceConfiguration: (_) => _json(_),
|
|
410
|
+
}));
|
|
411
|
+
b.m("POST").h(headers).b(body);
|
|
412
|
+
return b.build();
|
|
413
|
+
};
|
|
414
|
+
export const se_StopFlowExecutionCommand = async (input, context) => {
|
|
415
|
+
const b = rb(input, context);
|
|
416
|
+
const headers = {};
|
|
417
|
+
b.bp("/flows/{flowIdentifier}/aliases/{flowAliasIdentifier}/executions/{executionIdentifier}/stop");
|
|
418
|
+
b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
|
|
419
|
+
b.p("flowAliasIdentifier", () => input.flowAliasIdentifier, "{flowAliasIdentifier}", false);
|
|
420
|
+
b.p("executionIdentifier", () => input.executionIdentifier, "{executionIdentifier}", false);
|
|
421
|
+
let body;
|
|
422
|
+
b.m("POST").h(headers).b(body);
|
|
423
|
+
return b.build();
|
|
424
|
+
};
|
|
345
425
|
export const se_TagResourceCommand = async (input, context) => {
|
|
346
426
|
const b = rb(input, context);
|
|
347
427
|
const headers = {
|
|
@@ -480,6 +560,46 @@ export const de_GetAgentMemoryCommand = async (output, context) => {
|
|
|
480
560
|
Object.assign(contents, doc);
|
|
481
561
|
return contents;
|
|
482
562
|
};
|
|
563
|
+
export const de_GetExecutionFlowSnapshotCommand = async (output, context) => {
|
|
564
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
565
|
+
return de_CommandError(output, context);
|
|
566
|
+
}
|
|
567
|
+
const contents = map({
|
|
568
|
+
$metadata: deserializeMetadata(output),
|
|
569
|
+
});
|
|
570
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
571
|
+
const doc = take(data, {
|
|
572
|
+
customerEncryptionKeyArn: __expectString,
|
|
573
|
+
definition: __expectString,
|
|
574
|
+
executionRoleArn: __expectString,
|
|
575
|
+
flowAliasIdentifier: __expectString,
|
|
576
|
+
flowIdentifier: __expectString,
|
|
577
|
+
flowVersion: __expectString,
|
|
578
|
+
});
|
|
579
|
+
Object.assign(contents, doc);
|
|
580
|
+
return contents;
|
|
581
|
+
};
|
|
582
|
+
export const de_GetFlowExecutionCommand = async (output, context) => {
|
|
583
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
584
|
+
return de_CommandError(output, context);
|
|
585
|
+
}
|
|
586
|
+
const contents = map({
|
|
587
|
+
$metadata: deserializeMetadata(output),
|
|
588
|
+
});
|
|
589
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
590
|
+
const doc = take(data, {
|
|
591
|
+
endedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
592
|
+
errors: _json,
|
|
593
|
+
executionArn: __expectString,
|
|
594
|
+
flowAliasIdentifier: __expectString,
|
|
595
|
+
flowIdentifier: __expectString,
|
|
596
|
+
flowVersion: __expectString,
|
|
597
|
+
startedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
598
|
+
status: __expectString,
|
|
599
|
+
});
|
|
600
|
+
Object.assign(contents, doc);
|
|
601
|
+
return contents;
|
|
602
|
+
};
|
|
483
603
|
export const de_GetInvocationStepCommand = async (output, context) => {
|
|
484
604
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
485
605
|
return de_CommandError(output, context);
|
|
@@ -553,6 +673,36 @@ export const de_InvokeInlineAgentCommand = async (output, context) => {
|
|
|
553
673
|
contents.completion = de_InlineAgentResponseStream(data, context);
|
|
554
674
|
return contents;
|
|
555
675
|
};
|
|
676
|
+
export const de_ListFlowExecutionEventsCommand = async (output, context) => {
|
|
677
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
678
|
+
return de_CommandError(output, context);
|
|
679
|
+
}
|
|
680
|
+
const contents = map({
|
|
681
|
+
$metadata: deserializeMetadata(output),
|
|
682
|
+
});
|
|
683
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
684
|
+
const doc = take(data, {
|
|
685
|
+
flowExecutionEvents: (_) => de_FlowExecutionEvents(_, context),
|
|
686
|
+
nextToken: __expectString,
|
|
687
|
+
});
|
|
688
|
+
Object.assign(contents, doc);
|
|
689
|
+
return contents;
|
|
690
|
+
};
|
|
691
|
+
export const de_ListFlowExecutionsCommand = async (output, context) => {
|
|
692
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
693
|
+
return de_CommandError(output, context);
|
|
694
|
+
}
|
|
695
|
+
const contents = map({
|
|
696
|
+
$metadata: deserializeMetadata(output),
|
|
697
|
+
});
|
|
698
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
699
|
+
const doc = take(data, {
|
|
700
|
+
flowExecutionSummaries: (_) => de_FlowExecutionSummaries(_, context),
|
|
701
|
+
nextToken: __expectString,
|
|
702
|
+
});
|
|
703
|
+
Object.assign(contents, doc);
|
|
704
|
+
return contents;
|
|
705
|
+
};
|
|
556
706
|
export const de_ListInvocationsCommand = async (output, context) => {
|
|
557
707
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
558
708
|
return de_CommandError(output, context);
|
|
@@ -697,6 +847,35 @@ export const de_RetrieveAndGenerateStreamCommand = async (output, context) => {
|
|
|
697
847
|
contents.stream = de_RetrieveAndGenerateStreamResponseOutput(data, context);
|
|
698
848
|
return contents;
|
|
699
849
|
};
|
|
850
|
+
export const de_StartFlowExecutionCommand = async (output, context) => {
|
|
851
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
852
|
+
return de_CommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const contents = map({
|
|
855
|
+
$metadata: deserializeMetadata(output),
|
|
856
|
+
});
|
|
857
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
858
|
+
const doc = take(data, {
|
|
859
|
+
executionArn: __expectString,
|
|
860
|
+
});
|
|
861
|
+
Object.assign(contents, doc);
|
|
862
|
+
return contents;
|
|
863
|
+
};
|
|
864
|
+
export const de_StopFlowExecutionCommand = async (output, context) => {
|
|
865
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
866
|
+
return de_CommandError(output, context);
|
|
867
|
+
}
|
|
868
|
+
const contents = map({
|
|
869
|
+
$metadata: deserializeMetadata(output),
|
|
870
|
+
});
|
|
871
|
+
const data = __expectNonNull(__expectObject(await parseBody(output.body, context)), "body");
|
|
872
|
+
const doc = take(data, {
|
|
873
|
+
executionArn: __expectString,
|
|
874
|
+
status: __expectString,
|
|
875
|
+
});
|
|
876
|
+
Object.assign(contents, doc);
|
|
877
|
+
return contents;
|
|
878
|
+
};
|
|
700
879
|
export const de_TagResourceCommand = async (output, context) => {
|
|
701
880
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
702
881
|
return de_CommandError(output, context);
|
|
@@ -1965,6 +2144,13 @@ const de_CodeInterpreterInvocationOutput = (output, context) => {
|
|
|
1965
2144
|
metadata: (_) => de_Metadata(_, context),
|
|
1966
2145
|
});
|
|
1967
2146
|
};
|
|
2147
|
+
const de_ConditionResultEvent = (output, context) => {
|
|
2148
|
+
return take(output, {
|
|
2149
|
+
nodeName: __expectString,
|
|
2150
|
+
satisfiedConditions: _json,
|
|
2151
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2152
|
+
});
|
|
2153
|
+
};
|
|
1968
2154
|
const de_ContentBody = (output, context) => {
|
|
1969
2155
|
return take(output, {
|
|
1970
2156
|
body: __expectString,
|
|
@@ -1990,6 +2176,114 @@ const de_FinalResponse = (output, context) => {
|
|
|
1990
2176
|
text: __expectString,
|
|
1991
2177
|
});
|
|
1992
2178
|
};
|
|
2179
|
+
const de_FlowExecutionContent = (output, context) => {
|
|
2180
|
+
if (output.document != null) {
|
|
2181
|
+
return {
|
|
2182
|
+
document: de_Document(output.document, context),
|
|
2183
|
+
};
|
|
2184
|
+
}
|
|
2185
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2186
|
+
};
|
|
2187
|
+
const de_FlowExecutionEvent = (output, context) => {
|
|
2188
|
+
if (output.conditionResultEvent != null) {
|
|
2189
|
+
return {
|
|
2190
|
+
conditionResultEvent: de_ConditionResultEvent(output.conditionResultEvent, context),
|
|
2191
|
+
};
|
|
2192
|
+
}
|
|
2193
|
+
if (output.flowFailureEvent != null) {
|
|
2194
|
+
return {
|
|
2195
|
+
flowFailureEvent: de_FlowFailureEvent(output.flowFailureEvent, context),
|
|
2196
|
+
};
|
|
2197
|
+
}
|
|
2198
|
+
if (output.flowInputEvent != null) {
|
|
2199
|
+
return {
|
|
2200
|
+
flowInputEvent: de_FlowExecutionInputEvent(output.flowInputEvent, context),
|
|
2201
|
+
};
|
|
2202
|
+
}
|
|
2203
|
+
if (output.flowOutputEvent != null) {
|
|
2204
|
+
return {
|
|
2205
|
+
flowOutputEvent: de_FlowExecutionOutputEvent(output.flowOutputEvent, context),
|
|
2206
|
+
};
|
|
2207
|
+
}
|
|
2208
|
+
if (output.nodeFailureEvent != null) {
|
|
2209
|
+
return {
|
|
2210
|
+
nodeFailureEvent: de_NodeFailureEvent(output.nodeFailureEvent, context),
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
if (output.nodeInputEvent != null) {
|
|
2214
|
+
return {
|
|
2215
|
+
nodeInputEvent: de_NodeInputEvent(output.nodeInputEvent, context),
|
|
2216
|
+
};
|
|
2217
|
+
}
|
|
2218
|
+
if (output.nodeOutputEvent != null) {
|
|
2219
|
+
return {
|
|
2220
|
+
nodeOutputEvent: de_NodeOutputEvent(output.nodeOutputEvent, context),
|
|
2221
|
+
};
|
|
2222
|
+
}
|
|
2223
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2224
|
+
};
|
|
2225
|
+
const de_FlowExecutionEvents = (output, context) => {
|
|
2226
|
+
const retVal = (output || [])
|
|
2227
|
+
.filter((e) => e != null)
|
|
2228
|
+
.map((entry) => {
|
|
2229
|
+
return de_FlowExecutionEvent(__expectUnion(entry), context);
|
|
2230
|
+
});
|
|
2231
|
+
return retVal;
|
|
2232
|
+
};
|
|
2233
|
+
const de_FlowExecutionInputEvent = (output, context) => {
|
|
2234
|
+
return take(output, {
|
|
2235
|
+
fields: (_) => de_FlowInputFields(_, context),
|
|
2236
|
+
nodeName: __expectString,
|
|
2237
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2238
|
+
});
|
|
2239
|
+
};
|
|
2240
|
+
const de_FlowExecutionOutputEvent = (output, context) => {
|
|
2241
|
+
return take(output, {
|
|
2242
|
+
fields: (_) => de_FlowOutputFields(_, context),
|
|
2243
|
+
nodeName: __expectString,
|
|
2244
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2245
|
+
});
|
|
2246
|
+
};
|
|
2247
|
+
const de_FlowExecutionSummaries = (output, context) => {
|
|
2248
|
+
const retVal = (output || [])
|
|
2249
|
+
.filter((e) => e != null)
|
|
2250
|
+
.map((entry) => {
|
|
2251
|
+
return de_FlowExecutionSummary(entry, context);
|
|
2252
|
+
});
|
|
2253
|
+
return retVal;
|
|
2254
|
+
};
|
|
2255
|
+
const de_FlowExecutionSummary = (output, context) => {
|
|
2256
|
+
return take(output, {
|
|
2257
|
+
createdAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2258
|
+
endedAt: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2259
|
+
executionArn: __expectString,
|
|
2260
|
+
flowAliasIdentifier: __expectString,
|
|
2261
|
+
flowIdentifier: __expectString,
|
|
2262
|
+
flowVersion: __expectString,
|
|
2263
|
+
status: __expectString,
|
|
2264
|
+
});
|
|
2265
|
+
};
|
|
2266
|
+
const de_FlowFailureEvent = (output, context) => {
|
|
2267
|
+
return take(output, {
|
|
2268
|
+
errorCode: __expectString,
|
|
2269
|
+
errorMessage: __expectString,
|
|
2270
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2271
|
+
});
|
|
2272
|
+
};
|
|
2273
|
+
const de_FlowInputField = (output, context) => {
|
|
2274
|
+
return take(output, {
|
|
2275
|
+
content: (_) => de_FlowExecutionContent(__expectUnion(_), context),
|
|
2276
|
+
name: __expectString,
|
|
2277
|
+
});
|
|
2278
|
+
};
|
|
2279
|
+
const de_FlowInputFields = (output, context) => {
|
|
2280
|
+
const retVal = (output || [])
|
|
2281
|
+
.filter((e) => e != null)
|
|
2282
|
+
.map((entry) => {
|
|
2283
|
+
return de_FlowInputField(entry, context);
|
|
2284
|
+
});
|
|
2285
|
+
return retVal;
|
|
2286
|
+
};
|
|
1993
2287
|
const de_FlowMultiTurnInputContent = (output, context) => {
|
|
1994
2288
|
if (output.document != null) {
|
|
1995
2289
|
return {
|
|
@@ -2020,6 +2314,20 @@ const de_FlowOutputEvent = (output, context) => {
|
|
|
2020
2314
|
nodeType: __expectString,
|
|
2021
2315
|
});
|
|
2022
2316
|
};
|
|
2317
|
+
const de_FlowOutputField = (output, context) => {
|
|
2318
|
+
return take(output, {
|
|
2319
|
+
content: (_) => de_FlowExecutionContent(__expectUnion(_), context),
|
|
2320
|
+
name: __expectString,
|
|
2321
|
+
});
|
|
2322
|
+
};
|
|
2323
|
+
const de_FlowOutputFields = (output, context) => {
|
|
2324
|
+
const retVal = (output || [])
|
|
2325
|
+
.filter((e) => e != null)
|
|
2326
|
+
.map((entry) => {
|
|
2327
|
+
return de_FlowOutputField(entry, context);
|
|
2328
|
+
});
|
|
2329
|
+
return retVal;
|
|
2330
|
+
};
|
|
2023
2331
|
const de_FlowTrace = (output, context) => {
|
|
2024
2332
|
if (output.conditionNodeResultTrace != null) {
|
|
2025
2333
|
return {
|
|
@@ -2351,6 +2659,64 @@ const de_ModelInvocationInput = (output, context) => {
|
|
|
2351
2659
|
type: __expectString,
|
|
2352
2660
|
});
|
|
2353
2661
|
};
|
|
2662
|
+
const de_NodeExecutionContent = (output, context) => {
|
|
2663
|
+
if (output.document != null) {
|
|
2664
|
+
return {
|
|
2665
|
+
document: de_Document(output.document, context),
|
|
2666
|
+
};
|
|
2667
|
+
}
|
|
2668
|
+
return { $unknown: Object.entries(output)[0] };
|
|
2669
|
+
};
|
|
2670
|
+
const de_NodeFailureEvent = (output, context) => {
|
|
2671
|
+
return take(output, {
|
|
2672
|
+
errorCode: __expectString,
|
|
2673
|
+
errorMessage: __expectString,
|
|
2674
|
+
nodeName: __expectString,
|
|
2675
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2676
|
+
});
|
|
2677
|
+
};
|
|
2678
|
+
const de_NodeInputEvent = (output, context) => {
|
|
2679
|
+
return take(output, {
|
|
2680
|
+
fields: (_) => de_NodeInputFields(_, context),
|
|
2681
|
+
nodeName: __expectString,
|
|
2682
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2683
|
+
});
|
|
2684
|
+
};
|
|
2685
|
+
const de_NodeInputField = (output, context) => {
|
|
2686
|
+
return take(output, {
|
|
2687
|
+
content: (_) => de_NodeExecutionContent(__expectUnion(_), context),
|
|
2688
|
+
name: __expectString,
|
|
2689
|
+
});
|
|
2690
|
+
};
|
|
2691
|
+
const de_NodeInputFields = (output, context) => {
|
|
2692
|
+
const retVal = (output || [])
|
|
2693
|
+
.filter((e) => e != null)
|
|
2694
|
+
.map((entry) => {
|
|
2695
|
+
return de_NodeInputField(entry, context);
|
|
2696
|
+
});
|
|
2697
|
+
return retVal;
|
|
2698
|
+
};
|
|
2699
|
+
const de_NodeOutputEvent = (output, context) => {
|
|
2700
|
+
return take(output, {
|
|
2701
|
+
fields: (_) => de_NodeOutputFields(_, context),
|
|
2702
|
+
nodeName: __expectString,
|
|
2703
|
+
timestamp: (_) => __expectNonNull(__parseRfc3339DateTimeWithOffset(_)),
|
|
2704
|
+
});
|
|
2705
|
+
};
|
|
2706
|
+
const de_NodeOutputField = (output, context) => {
|
|
2707
|
+
return take(output, {
|
|
2708
|
+
content: (_) => de_NodeExecutionContent(__expectUnion(_), context),
|
|
2709
|
+
name: __expectString,
|
|
2710
|
+
});
|
|
2711
|
+
};
|
|
2712
|
+
const de_NodeOutputFields = (output, context) => {
|
|
2713
|
+
const retVal = (output || [])
|
|
2714
|
+
.filter((e) => e != null)
|
|
2715
|
+
.map((entry) => {
|
|
2716
|
+
return de_NodeOutputField(entry, context);
|
|
2717
|
+
});
|
|
2718
|
+
return retVal;
|
|
2719
|
+
};
|
|
2354
2720
|
const de_Observation = (output, context) => {
|
|
2355
2721
|
return take(output, {
|
|
2356
2722
|
actionGroupInvocationOutput: (_) => de_ActionGroupInvocationOutput(_, context),
|
|
@@ -2658,6 +3024,8 @@ const deserializeMetadata = (output) => ({
|
|
|
2658
3024
|
const collectBodyString = (streamBody, context) => collectBody(streamBody, context).then((body) => context.utf8Encoder(body));
|
|
2659
3025
|
const _cT = "contentType";
|
|
2660
3026
|
const _eI = "executionId";
|
|
3027
|
+
const _eT = "eventType";
|
|
3028
|
+
const _fAI = "flowAliasIdentifier";
|
|
2661
3029
|
const _mI = "memoryId";
|
|
2662
3030
|
const _mIa = "maxItems";
|
|
2663
3031
|
const _mR = "maxResults";
|
|
@@ -7,11 +7,15 @@ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./command
|
|
|
7
7
|
import { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
|
|
8
8
|
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
9
9
|
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
|
|
10
|
+
import { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
11
|
+
import { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
|
|
10
12
|
import { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
|
|
11
13
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
12
14
|
import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
|
|
13
15
|
import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
|
|
14
16
|
import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
|
|
17
|
+
import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
|
|
18
|
+
import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
|
|
15
19
|
import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
|
|
16
20
|
import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
|
|
17
21
|
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
@@ -22,6 +26,8 @@ import { RerankCommandInput, RerankCommandOutput } from "./commands/RerankComman
|
|
|
22
26
|
import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
|
|
23
27
|
import { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
|
|
24
28
|
import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
29
|
+
import { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
|
|
30
|
+
import { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
|
|
25
31
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
26
32
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
27
33
|
import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
|
|
@@ -69,6 +75,18 @@ export interface BedrockAgentRuntime {
|
|
|
69
75
|
getAgentMemory(args: GetAgentMemoryCommandInput, options?: __HttpHandlerOptions): Promise<GetAgentMemoryCommandOutput>;
|
|
70
76
|
getAgentMemory(args: GetAgentMemoryCommandInput, cb: (err: any, data?: GetAgentMemoryCommandOutput) => void): void;
|
|
71
77
|
getAgentMemory(args: GetAgentMemoryCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetAgentMemoryCommandOutput) => void): void;
|
|
78
|
+
/**
|
|
79
|
+
* @see {@link GetExecutionFlowSnapshotCommand}
|
|
80
|
+
*/
|
|
81
|
+
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, options?: __HttpHandlerOptions): Promise<GetExecutionFlowSnapshotCommandOutput>;
|
|
82
|
+
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, cb: (err: any, data?: GetExecutionFlowSnapshotCommandOutput) => void): void;
|
|
83
|
+
getExecutionFlowSnapshot(args: GetExecutionFlowSnapshotCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetExecutionFlowSnapshotCommandOutput) => void): void;
|
|
84
|
+
/**
|
|
85
|
+
* @see {@link GetFlowExecutionCommand}
|
|
86
|
+
*/
|
|
87
|
+
getFlowExecution(args: GetFlowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<GetFlowExecutionCommandOutput>;
|
|
88
|
+
getFlowExecution(args: GetFlowExecutionCommandInput, cb: (err: any, data?: GetFlowExecutionCommandOutput) => void): void;
|
|
89
|
+
getFlowExecution(args: GetFlowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetFlowExecutionCommandOutput) => void): void;
|
|
72
90
|
/**
|
|
73
91
|
* @see {@link GetInvocationStepCommand}
|
|
74
92
|
*/
|
|
@@ -99,6 +117,18 @@ export interface BedrockAgentRuntime {
|
|
|
99
117
|
invokeInlineAgent(args: InvokeInlineAgentCommandInput, options?: __HttpHandlerOptions): Promise<InvokeInlineAgentCommandOutput>;
|
|
100
118
|
invokeInlineAgent(args: InvokeInlineAgentCommandInput, cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void): void;
|
|
101
119
|
invokeInlineAgent(args: InvokeInlineAgentCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: InvokeInlineAgentCommandOutput) => void): void;
|
|
120
|
+
/**
|
|
121
|
+
* @see {@link ListFlowExecutionEventsCommand}
|
|
122
|
+
*/
|
|
123
|
+
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowExecutionEventsCommandOutput>;
|
|
124
|
+
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, cb: (err: any, data?: ListFlowExecutionEventsCommandOutput) => void): void;
|
|
125
|
+
listFlowExecutionEvents(args: ListFlowExecutionEventsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowExecutionEventsCommandOutput) => void): void;
|
|
126
|
+
/**
|
|
127
|
+
* @see {@link ListFlowExecutionsCommand}
|
|
128
|
+
*/
|
|
129
|
+
listFlowExecutions(args: ListFlowExecutionsCommandInput, options?: __HttpHandlerOptions): Promise<ListFlowExecutionsCommandOutput>;
|
|
130
|
+
listFlowExecutions(args: ListFlowExecutionsCommandInput, cb: (err: any, data?: ListFlowExecutionsCommandOutput) => void): void;
|
|
131
|
+
listFlowExecutions(args: ListFlowExecutionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListFlowExecutionsCommandOutput) => void): void;
|
|
102
132
|
/**
|
|
103
133
|
* @see {@link ListInvocationsCommand}
|
|
104
134
|
*/
|
|
@@ -160,6 +190,18 @@ export interface BedrockAgentRuntime {
|
|
|
160
190
|
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, options?: __HttpHandlerOptions): Promise<RetrieveAndGenerateStreamCommandOutput>;
|
|
161
191
|
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, cb: (err: any, data?: RetrieveAndGenerateStreamCommandOutput) => void): void;
|
|
162
192
|
retrieveAndGenerateStream(args: RetrieveAndGenerateStreamCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetrieveAndGenerateStreamCommandOutput) => void): void;
|
|
193
|
+
/**
|
|
194
|
+
* @see {@link StartFlowExecutionCommand}
|
|
195
|
+
*/
|
|
196
|
+
startFlowExecution(args: StartFlowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StartFlowExecutionCommandOutput>;
|
|
197
|
+
startFlowExecution(args: StartFlowExecutionCommandInput, cb: (err: any, data?: StartFlowExecutionCommandOutput) => void): void;
|
|
198
|
+
startFlowExecution(args: StartFlowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartFlowExecutionCommandOutput) => void): void;
|
|
199
|
+
/**
|
|
200
|
+
* @see {@link StopFlowExecutionCommand}
|
|
201
|
+
*/
|
|
202
|
+
stopFlowExecution(args: StopFlowExecutionCommandInput, options?: __HttpHandlerOptions): Promise<StopFlowExecutionCommandOutput>;
|
|
203
|
+
stopFlowExecution(args: StopFlowExecutionCommandInput, cb: (err: any, data?: StopFlowExecutionCommandOutput) => void): void;
|
|
204
|
+
stopFlowExecution(args: StopFlowExecutionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StopFlowExecutionCommandOutput) => void): void;
|
|
163
205
|
/**
|
|
164
206
|
* @see {@link TagResourceCommand}
|
|
165
207
|
*/
|
|
@@ -15,11 +15,15 @@ import { DeleteSessionCommandInput, DeleteSessionCommandOutput } from "./command
|
|
|
15
15
|
import { EndSessionCommandInput, EndSessionCommandOutput } from "./commands/EndSessionCommand";
|
|
16
16
|
import { GenerateQueryCommandInput, GenerateQueryCommandOutput } from "./commands/GenerateQueryCommand";
|
|
17
17
|
import { GetAgentMemoryCommandInput, GetAgentMemoryCommandOutput } from "./commands/GetAgentMemoryCommand";
|
|
18
|
+
import { GetExecutionFlowSnapshotCommandInput, GetExecutionFlowSnapshotCommandOutput } from "./commands/GetExecutionFlowSnapshotCommand";
|
|
19
|
+
import { GetFlowExecutionCommandInput, GetFlowExecutionCommandOutput } from "./commands/GetFlowExecutionCommand";
|
|
18
20
|
import { GetInvocationStepCommandInput, GetInvocationStepCommandOutput } from "./commands/GetInvocationStepCommand";
|
|
19
21
|
import { GetSessionCommandInput, GetSessionCommandOutput } from "./commands/GetSessionCommand";
|
|
20
22
|
import { InvokeAgentCommandInput, InvokeAgentCommandOutput } from "./commands/InvokeAgentCommand";
|
|
21
23
|
import { InvokeFlowCommandInput, InvokeFlowCommandOutput } from "./commands/InvokeFlowCommand";
|
|
22
24
|
import { InvokeInlineAgentCommandInput, InvokeInlineAgentCommandOutput } from "./commands/InvokeInlineAgentCommand";
|
|
25
|
+
import { ListFlowExecutionEventsCommandInput, ListFlowExecutionEventsCommandOutput } from "./commands/ListFlowExecutionEventsCommand";
|
|
26
|
+
import { ListFlowExecutionsCommandInput, ListFlowExecutionsCommandOutput } from "./commands/ListFlowExecutionsCommand";
|
|
23
27
|
import { ListInvocationsCommandInput, ListInvocationsCommandOutput } from "./commands/ListInvocationsCommand";
|
|
24
28
|
import { ListInvocationStepsCommandInput, ListInvocationStepsCommandOutput } from "./commands/ListInvocationStepsCommand";
|
|
25
29
|
import { ListSessionsCommandInput, ListSessionsCommandOutput } from "./commands/ListSessionsCommand";
|
|
@@ -30,6 +34,8 @@ import { RerankCommandInput, RerankCommandOutput } from "./commands/RerankComman
|
|
|
30
34
|
import { RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput } from "./commands/RetrieveAndGenerateCommand";
|
|
31
35
|
import { RetrieveAndGenerateStreamCommandInput, RetrieveAndGenerateStreamCommandOutput } from "./commands/RetrieveAndGenerateStreamCommand";
|
|
32
36
|
import { RetrieveCommandInput, RetrieveCommandOutput } from "./commands/RetrieveCommand";
|
|
37
|
+
import { StartFlowExecutionCommandInput, StartFlowExecutionCommandOutput } from "./commands/StartFlowExecutionCommand";
|
|
38
|
+
import { StopFlowExecutionCommandInput, StopFlowExecutionCommandOutput } from "./commands/StopFlowExecutionCommand";
|
|
33
39
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
34
40
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
35
41
|
import { UpdateSessionCommandInput, UpdateSessionCommandOutput } from "./commands/UpdateSessionCommand";
|
|
@@ -39,11 +45,11 @@ export { __Client };
|
|
|
39
45
|
/**
|
|
40
46
|
* @public
|
|
41
47
|
*/
|
|
42
|
-
export type ServiceInputTypes = CreateInvocationCommandInput | CreateSessionCommandInput | DeleteAgentMemoryCommandInput | DeleteSessionCommandInput | EndSessionCommandInput | GenerateQueryCommandInput | GetAgentMemoryCommandInput | GetInvocationStepCommandInput | GetSessionCommandInput | InvokeAgentCommandInput | InvokeFlowCommandInput | InvokeInlineAgentCommandInput | ListInvocationStepsCommandInput | ListInvocationsCommandInput | ListSessionsCommandInput | ListTagsForResourceCommandInput | OptimizePromptCommandInput | PutInvocationStepCommandInput | RerankCommandInput | RetrieveAndGenerateCommandInput | RetrieveAndGenerateStreamCommandInput | RetrieveCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateSessionCommandInput;
|
|
48
|
+
export type ServiceInputTypes = CreateInvocationCommandInput | CreateSessionCommandInput | DeleteAgentMemoryCommandInput | DeleteSessionCommandInput | EndSessionCommandInput | GenerateQueryCommandInput | GetAgentMemoryCommandInput | GetExecutionFlowSnapshotCommandInput | GetFlowExecutionCommandInput | GetInvocationStepCommandInput | GetSessionCommandInput | InvokeAgentCommandInput | InvokeFlowCommandInput | InvokeInlineAgentCommandInput | ListFlowExecutionEventsCommandInput | ListFlowExecutionsCommandInput | ListInvocationStepsCommandInput | ListInvocationsCommandInput | ListSessionsCommandInput | ListTagsForResourceCommandInput | OptimizePromptCommandInput | PutInvocationStepCommandInput | RerankCommandInput | RetrieveAndGenerateCommandInput | RetrieveAndGenerateStreamCommandInput | RetrieveCommandInput | StartFlowExecutionCommandInput | StopFlowExecutionCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateSessionCommandInput;
|
|
43
49
|
/**
|
|
44
50
|
* @public
|
|
45
51
|
*/
|
|
46
|
-
export type ServiceOutputTypes = CreateInvocationCommandOutput | CreateSessionCommandOutput | DeleteAgentMemoryCommandOutput | DeleteSessionCommandOutput | EndSessionCommandOutput | GenerateQueryCommandOutput | GetAgentMemoryCommandOutput | GetInvocationStepCommandOutput | GetSessionCommandOutput | InvokeAgentCommandOutput | InvokeFlowCommandOutput | InvokeInlineAgentCommandOutput | ListInvocationStepsCommandOutput | ListInvocationsCommandOutput | ListSessionsCommandOutput | ListTagsForResourceCommandOutput | OptimizePromptCommandOutput | PutInvocationStepCommandOutput | RerankCommandOutput | RetrieveAndGenerateCommandOutput | RetrieveAndGenerateStreamCommandOutput | RetrieveCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateSessionCommandOutput;
|
|
52
|
+
export type ServiceOutputTypes = CreateInvocationCommandOutput | CreateSessionCommandOutput | DeleteAgentMemoryCommandOutput | DeleteSessionCommandOutput | EndSessionCommandOutput | GenerateQueryCommandOutput | GetAgentMemoryCommandOutput | GetExecutionFlowSnapshotCommandOutput | GetFlowExecutionCommandOutput | GetInvocationStepCommandOutput | GetSessionCommandOutput | InvokeAgentCommandOutput | InvokeFlowCommandOutput | InvokeInlineAgentCommandOutput | ListFlowExecutionEventsCommandOutput | ListFlowExecutionsCommandOutput | ListInvocationStepsCommandOutput | ListInvocationsCommandOutput | ListSessionsCommandOutput | ListTagsForResourceCommandOutput | OptimizePromptCommandOutput | PutInvocationStepCommandOutput | RerankCommandOutput | RetrieveAndGenerateCommandOutput | RetrieveAndGenerateStreamCommandOutput | RetrieveCommandOutput | StartFlowExecutionCommandOutput | StopFlowExecutionCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateSessionCommandOutput;
|
|
47
53
|
/**
|
|
48
54
|
* @public
|
|
49
55
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { CreateInvocationRequest, CreateInvocationResponse } from "../models/
|
|
4
|
+
import { CreateInvocationRequest, CreateInvocationResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { CreateSessionRequest, CreateSessionResponse } from "../models/
|
|
4
|
+
import { CreateSessionRequest, CreateSessionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { DeleteSessionRequest, DeleteSessionResponse } from "../models/
|
|
4
|
+
import { DeleteSessionRequest, DeleteSessionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
2
|
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
3
|
import { BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockAgentRuntimeClient";
|
|
4
|
-
import { EndSessionRequest, EndSessionResponse } from "../models/
|
|
4
|
+
import { EndSessionRequest, EndSessionResponse } from "../models/models_1";
|
|
5
5
|
/**
|
|
6
6
|
* @public
|
|
7
7
|
*/
|