@aws-sdk/client-bedrock-agentcore 3.899.0 → 3.904.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/README.md +40 -0
  2. package/dist-cjs/endpoint/ruleset.js +1 -1
  3. package/dist-cjs/index.js +432 -77
  4. package/dist-es/BedrockAgentCore.js +10 -0
  5. package/dist-es/commands/BatchCreateMemoryRecordsCommand.js +23 -0
  6. package/dist-es/commands/BatchDeleteMemoryRecordsCommand.js +22 -0
  7. package/dist-es/commands/BatchUpdateMemoryRecordsCommand.js +23 -0
  8. package/dist-es/commands/GetAgentCardCommand.js +22 -0
  9. package/dist-es/commands/StopRuntimeSessionCommand.js +22 -0
  10. package/dist-es/commands/index.js +5 -0
  11. package/dist-es/endpoint/ruleset.js +1 -1
  12. package/dist-es/models/models_0.js +111 -56
  13. package/dist-es/protocols/Aws_restJson1.js +193 -6
  14. package/dist-types/BedrockAgentCore.d.ts +35 -0
  15. package/dist-types/BedrockAgentCoreClient.d.ts +7 -2
  16. package/dist-types/commands/BatchCreateMemoryRecordsCommand.d.ts +123 -0
  17. package/dist-types/commands/BatchDeleteMemoryRecordsCommand.d.ts +114 -0
  18. package/dist-types/commands/BatchUpdateMemoryRecordsCommand.d.ts +122 -0
  19. package/dist-types/commands/CreateEventCommand.d.ts +10 -0
  20. package/dist-types/commands/GetAgentCardCommand.d.ts +99 -0
  21. package/dist-types/commands/GetEventCommand.d.ts +5 -0
  22. package/dist-types/commands/GetResourceApiKeyCommand.d.ts +1 -1
  23. package/dist-types/commands/GetResourceOauth2TokenCommand.d.ts +1 -1
  24. package/dist-types/commands/GetWorkloadAccessTokenCommand.d.ts +1 -1
  25. package/dist-types/commands/GetWorkloadAccessTokenForJWTCommand.d.ts +1 -1
  26. package/dist-types/commands/GetWorkloadAccessTokenForUserIdCommand.d.ts +1 -1
  27. package/dist-types/commands/ListEventsCommand.d.ts +18 -0
  28. package/dist-types/commands/StopRuntimeSessionCommand.d.ts +105 -0
  29. package/dist-types/commands/index.d.ts +5 -0
  30. package/dist-types/models/models_0.d.ts +632 -186
  31. package/dist-types/protocols/Aws_restJson1.d.ts +45 -0
  32. package/dist-types/ts3.4/BedrockAgentCore.d.ts +85 -0
  33. package/dist-types/ts3.4/BedrockAgentCoreClient.d.ts +30 -0
  34. package/dist-types/ts3.4/commands/BatchCreateMemoryRecordsCommand.d.ts +51 -0
  35. package/dist-types/ts3.4/commands/BatchDeleteMemoryRecordsCommand.d.ts +51 -0
  36. package/dist-types/ts3.4/commands/BatchUpdateMemoryRecordsCommand.d.ts +51 -0
  37. package/dist-types/ts3.4/commands/GetAgentCardCommand.d.ts +47 -0
  38. package/dist-types/ts3.4/commands/StopRuntimeSessionCommand.d.ts +51 -0
  39. package/dist-types/ts3.4/commands/index.d.ts +5 -0
  40. package/dist-types/ts3.4/models/models_0.d.ts +225 -70
  41. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +60 -0
  42. package/package.json +42 -42
package/dist-cjs/index.js CHANGED
@@ -23,6 +23,11 @@ var index_exports = {};
23
23
  __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  AutomationStreamStatus: () => AutomationStreamStatus,
26
+ BatchCreateMemoryRecordsCommand: () => BatchCreateMemoryRecordsCommand,
27
+ BatchCreateMemoryRecordsInputFilterSensitiveLog: () => BatchCreateMemoryRecordsInputFilterSensitiveLog,
28
+ BatchDeleteMemoryRecordsCommand: () => BatchDeleteMemoryRecordsCommand,
29
+ BatchUpdateMemoryRecordsCommand: () => BatchUpdateMemoryRecordsCommand,
30
+ BatchUpdateMemoryRecordsInputFilterSensitiveLog: () => BatchUpdateMemoryRecordsInputFilterSensitiveLog,
26
31
  BedrockAgentCore: () => BedrockAgentCore,
27
32
  BedrockAgentCoreClient: () => BedrockAgentCoreClient,
28
33
  BedrockAgentCoreServiceException: () => BedrockAgentCoreServiceException,
@@ -41,6 +46,7 @@ __export(index_exports, {
41
46
  DeleteEventCommand: () => DeleteEventCommand,
42
47
  DeleteMemoryRecordCommand: () => DeleteMemoryRecordCommand,
43
48
  EventFilterSensitiveLog: () => EventFilterSensitiveLog,
49
+ GetAgentCardCommand: () => GetAgentCardCommand,
44
50
  GetBrowserSessionCommand: () => GetBrowserSessionCommand,
45
51
  GetCodeInterpreterSessionCommand: () => GetCodeInterpreterSessionCommand,
46
52
  GetEventCommand: () => GetEventCommand,
@@ -69,6 +75,7 @@ __export(index_exports, {
69
75
  InvokeCodeInterpreterCommand: () => InvokeCodeInterpreterCommand,
70
76
  InvokeCodeInterpreterRequestFilterSensitiveLog: () => InvokeCodeInterpreterRequestFilterSensitiveLog,
71
77
  InvokeCodeInterpreterResponseFilterSensitiveLog: () => InvokeCodeInterpreterResponseFilterSensitiveLog,
78
+ LeftExpression: () => LeftExpression,
72
79
  ListActorsCommand: () => ListActorsCommand,
73
80
  ListBrowserSessionsCommand: () => ListBrowserSessionsCommand,
74
81
  ListCodeInterpreterSessionsCommand: () => ListCodeInterpreterSessionsCommand,
@@ -79,9 +86,14 @@ __export(index_exports, {
79
86
  ListSessionsCommand: () => ListSessionsCommand,
80
87
  MemoryContent: () => MemoryContent,
81
88
  MemoryContentFilterSensitiveLog: () => MemoryContentFilterSensitiveLog,
89
+ MemoryRecordCreateInputFilterSensitiveLog: () => MemoryRecordCreateInputFilterSensitiveLog,
82
90
  MemoryRecordFilterSensitiveLog: () => MemoryRecordFilterSensitiveLog,
91
+ MemoryRecordStatus: () => MemoryRecordStatus,
83
92
  MemoryRecordSummaryFilterSensitiveLog: () => MemoryRecordSummaryFilterSensitiveLog,
93
+ MemoryRecordUpdateInputFilterSensitiveLog: () => MemoryRecordUpdateInputFilterSensitiveLog,
94
+ MetadataValue: () => MetadataValue,
84
95
  Oauth2FlowType: () => Oauth2FlowType,
96
+ OperatorType: () => OperatorType,
85
97
  PayloadType: () => PayloadType,
86
98
  PayloadTypeFilterSensitiveLog: () => PayloadTypeFilterSensitiveLog,
87
99
  ProgrammingLanguage: () => ProgrammingLanguage,
@@ -90,6 +102,7 @@ __export(index_exports, {
90
102
  RetrieveMemoryRecordsCommand: () => RetrieveMemoryRecordsCommand,
91
103
  RetrieveMemoryRecordsInputFilterSensitiveLog: () => RetrieveMemoryRecordsInputFilterSensitiveLog,
92
104
  RetrieveMemoryRecordsOutputFilterSensitiveLog: () => RetrieveMemoryRecordsOutputFilterSensitiveLog,
105
+ RightExpression: () => RightExpression,
93
106
  Role: () => Role,
94
107
  RuntimeClientError: () => RuntimeClientError,
95
108
  SearchCriteriaFilterSensitiveLog: () => SearchCriteriaFilterSensitiveLog,
@@ -99,6 +112,7 @@ __export(index_exports, {
99
112
  StartCodeInterpreterSessionCommand: () => StartCodeInterpreterSessionCommand,
100
113
  StopBrowserSessionCommand: () => StopBrowserSessionCommand,
101
114
  StopCodeInterpreterSessionCommand: () => StopCodeInterpreterSessionCommand,
115
+ StopRuntimeSessionCommand: () => StopRuntimeSessionCommand,
102
116
  StreamUpdate: () => StreamUpdate,
103
117
  TaskStatus: () => TaskStatus,
104
118
  ThrottledException: () => ThrottledException,
@@ -264,7 +278,7 @@ var BedrockAgentCoreClient = class extends import_smithy_client.Client {
264
278
  // src/BedrockAgentCore.ts
265
279
 
266
280
 
267
- // src/commands/CreateEventCommand.ts
281
+ // src/commands/BatchCreateMemoryRecordsCommand.ts
268
282
 
269
283
  var import_middleware_serde = require("@smithy/middleware-serde");
270
284
 
@@ -425,14 +439,6 @@ var ValidationException = class _ValidationException extends BedrockAgentCoreSer
425
439
  this.fieldList = opts.fieldList;
426
440
  }
427
441
  };
428
- var BrowserSessionStatus = {
429
- READY: "READY",
430
- TERMINATED: "TERMINATED"
431
- };
432
- var AutomationStreamStatus = {
433
- DISABLED: "DISABLED",
434
- ENABLED: "ENABLED"
435
- };
436
442
  var ConflictException = class _ConflictException extends BedrockAgentCoreServiceException {
437
443
  static {
438
444
  __name(this, "ConflictException");
@@ -451,17 +457,6 @@ var ConflictException = class _ConflictException extends BedrockAgentCoreService
451
457
  Object.setPrototypeOf(this, _ConflictException.prototype);
452
458
  }
453
459
  };
454
- var StreamUpdate;
455
- ((StreamUpdate3) => {
456
- StreamUpdate3.visit = /* @__PURE__ */ __name((value, visitor) => {
457
- if (value.automationStreamUpdate !== void 0) return visitor.automationStreamUpdate(value.automationStreamUpdate);
458
- return visitor._(value.$unknown[0], value.$unknown[1]);
459
- }, "visit");
460
- })(StreamUpdate || (StreamUpdate = {}));
461
- var CodeInterpreterSessionStatus = {
462
- READY: "READY",
463
- TERMINATED: "TERMINATED"
464
- };
465
460
  var UnauthorizedException = class _UnauthorizedException extends BedrockAgentCoreServiceException {
466
461
  static {
467
462
  __name(this, "UnauthorizedException");
@@ -480,6 +475,25 @@ var UnauthorizedException = class _UnauthorizedException extends BedrockAgentCor
480
475
  Object.setPrototypeOf(this, _UnauthorizedException.prototype);
481
476
  }
482
477
  };
478
+ var BrowserSessionStatus = {
479
+ READY: "READY",
480
+ TERMINATED: "TERMINATED"
481
+ };
482
+ var AutomationStreamStatus = {
483
+ DISABLED: "DISABLED",
484
+ ENABLED: "ENABLED"
485
+ };
486
+ var StreamUpdate;
487
+ ((StreamUpdate3) => {
488
+ StreamUpdate3.visit = /* @__PURE__ */ __name((value, visitor) => {
489
+ if (value.automationStreamUpdate !== void 0) return visitor.automationStreamUpdate(value.automationStreamUpdate);
490
+ return visitor._(value.$unknown[0], value.$unknown[1]);
491
+ }, "visit");
492
+ })(StreamUpdate || (StreamUpdate = {}));
493
+ var CodeInterpreterSessionStatus = {
494
+ READY: "READY",
495
+ TERMINATED: "TERMINATED"
496
+ };
483
497
  var Oauth2FlowType = {
484
498
  M2M: "M2M",
485
499
  USER_FEDERATION: "USER_FEDERATION"
@@ -534,44 +548,16 @@ var CodeInterpreterStreamOutput;
534
548
  return visitor._(value.$unknown[0], value.$unknown[1]);
535
549
  }, "visit");
536
550
  })(CodeInterpreterStreamOutput || (CodeInterpreterStreamOutput = {}));
537
- var Content;
538
- ((Content3) => {
539
- Content3.visit = /* @__PURE__ */ __name((value, visitor) => {
551
+ var MemoryContent;
552
+ ((MemoryContent3) => {
553
+ MemoryContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
540
554
  if (value.text !== void 0) return visitor.text(value.text);
541
555
  return visitor._(value.$unknown[0], value.$unknown[1]);
542
556
  }, "visit");
543
- })(Content || (Content = {}));
544
- var Role = {
545
- ASSISTANT: "ASSISTANT",
546
- OTHER: "OTHER",
547
- TOOL: "TOOL",
548
- USER: "USER"
549
- };
550
- var PayloadType;
551
- ((PayloadType2) => {
552
- PayloadType2.visit = /* @__PURE__ */ __name((value, visitor) => {
553
- if (value.conversational !== void 0) return visitor.conversational(value.conversational);
554
- if (value.blob !== void 0) return visitor.blob(value.blob);
555
- return visitor._(value.$unknown[0], value.$unknown[1]);
556
- }, "visit");
557
- })(PayloadType || (PayloadType = {}));
558
- var InvalidInputException = class _InvalidInputException extends BedrockAgentCoreServiceException {
559
- static {
560
- __name(this, "InvalidInputException");
561
- }
562
- name = "InvalidInputException";
563
- $fault = "client";
564
- /**
565
- * @internal
566
- */
567
- constructor(opts) {
568
- super({
569
- name: "InvalidInputException",
570
- $fault: "client",
571
- ...opts
572
- });
573
- Object.setPrototypeOf(this, _InvalidInputException.prototype);
574
- }
557
+ })(MemoryContent || (MemoryContent = {}));
558
+ var MemoryRecordStatus = {
559
+ FAILED: "FAILED",
560
+ SUCCEEDED: "SUCCEEDED"
575
561
  };
576
562
  var ServiceException = class _ServiceException extends BedrockAgentCoreServiceException {
577
563
  static {
@@ -609,13 +595,71 @@ var ThrottledException = class _ThrottledException extends BedrockAgentCoreServi
609
595
  Object.setPrototypeOf(this, _ThrottledException.prototype);
610
596
  }
611
597
  };
612
- var MemoryContent;
613
- ((MemoryContent2) => {
614
- MemoryContent2.visit = /* @__PURE__ */ __name((value, visitor) => {
598
+ var MetadataValue;
599
+ ((MetadataValue3) => {
600
+ MetadataValue3.visit = /* @__PURE__ */ __name((value, visitor) => {
601
+ if (value.stringValue !== void 0) return visitor.stringValue(value.stringValue);
602
+ return visitor._(value.$unknown[0], value.$unknown[1]);
603
+ }, "visit");
604
+ })(MetadataValue || (MetadataValue = {}));
605
+ var Content;
606
+ ((Content3) => {
607
+ Content3.visit = /* @__PURE__ */ __name((value, visitor) => {
615
608
  if (value.text !== void 0) return visitor.text(value.text);
616
609
  return visitor._(value.$unknown[0], value.$unknown[1]);
617
610
  }, "visit");
618
- })(MemoryContent || (MemoryContent = {}));
611
+ })(Content || (Content = {}));
612
+ var Role = {
613
+ ASSISTANT: "ASSISTANT",
614
+ OTHER: "OTHER",
615
+ TOOL: "TOOL",
616
+ USER: "USER"
617
+ };
618
+ var PayloadType;
619
+ ((PayloadType2) => {
620
+ PayloadType2.visit = /* @__PURE__ */ __name((value, visitor) => {
621
+ if (value.conversational !== void 0) return visitor.conversational(value.conversational);
622
+ if (value.blob !== void 0) return visitor.blob(value.blob);
623
+ return visitor._(value.$unknown[0], value.$unknown[1]);
624
+ }, "visit");
625
+ })(PayloadType || (PayloadType = {}));
626
+ var InvalidInputException = class _InvalidInputException extends BedrockAgentCoreServiceException {
627
+ static {
628
+ __name(this, "InvalidInputException");
629
+ }
630
+ name = "InvalidInputException";
631
+ $fault = "client";
632
+ /**
633
+ * @internal
634
+ */
635
+ constructor(opts) {
636
+ super({
637
+ name: "InvalidInputException",
638
+ $fault: "client",
639
+ ...opts
640
+ });
641
+ Object.setPrototypeOf(this, _InvalidInputException.prototype);
642
+ }
643
+ };
644
+ var LeftExpression;
645
+ ((LeftExpression3) => {
646
+ LeftExpression3.visit = /* @__PURE__ */ __name((value, visitor) => {
647
+ if (value.metadataKey !== void 0) return visitor.metadataKey(value.metadataKey);
648
+ return visitor._(value.$unknown[0], value.$unknown[1]);
649
+ }, "visit");
650
+ })(LeftExpression || (LeftExpression = {}));
651
+ var OperatorType = {
652
+ EQUALS_TO: "EQUALS_TO",
653
+ EXISTS: "EXISTS",
654
+ NOT_EXISTS: "NOT_EXISTS"
655
+ };
656
+ var RightExpression;
657
+ ((RightExpression3) => {
658
+ RightExpression3.visit = /* @__PURE__ */ __name((value, visitor) => {
659
+ if (value.metadataValue !== void 0) return visitor.metadataValue(value.metadataValue);
660
+ return visitor._(value.$unknown[0], value.$unknown[1]);
661
+ }, "visit");
662
+ })(RightExpression || (RightExpression = {}));
619
663
  var InvokeAgentRuntimeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
620
664
  ...obj,
621
665
  ...obj.payload && { payload: import_smithy_client.SENSITIVE_STRING }
@@ -685,6 +729,26 @@ var InvokeCodeInterpreterResponseFilterSensitiveLog = /* @__PURE__ */ __name((ob
685
729
  ...obj,
686
730
  ...obj.stream && { stream: "STREAMING_CONTENT" }
687
731
  }), "InvokeCodeInterpreterResponseFilterSensitiveLog");
732
+ var MemoryContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
733
+ if (obj.text !== void 0) return { text: import_smithy_client.SENSITIVE_STRING };
734
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
735
+ }, "MemoryContentFilterSensitiveLog");
736
+ var MemoryRecordCreateInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
737
+ ...obj,
738
+ ...obj.content && { content: MemoryContentFilterSensitiveLog(obj.content) }
739
+ }), "MemoryRecordCreateInputFilterSensitiveLog");
740
+ var BatchCreateMemoryRecordsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
741
+ ...obj,
742
+ ...obj.records && { records: obj.records.map((item) => MemoryRecordCreateInputFilterSensitiveLog(item)) }
743
+ }), "BatchCreateMemoryRecordsInputFilterSensitiveLog");
744
+ var MemoryRecordUpdateInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
745
+ ...obj,
746
+ ...obj.content && { content: MemoryContentFilterSensitiveLog(obj.content) }
747
+ }), "MemoryRecordUpdateInputFilterSensitiveLog");
748
+ var BatchUpdateMemoryRecordsInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
749
+ ...obj,
750
+ ...obj.records && { records: obj.records.map((item) => MemoryRecordUpdateInputFilterSensitiveLog(item)) }
751
+ }), "BatchUpdateMemoryRecordsInputFilterSensitiveLog");
688
752
  var ContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
689
753
  if (obj.text !== void 0) return { text: import_smithy_client.SENSITIVE_STRING };
690
754
  if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
@@ -700,11 +764,23 @@ var PayloadTypeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
700
764
  }, "PayloadTypeFilterSensitiveLog");
701
765
  var CreateEventInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
702
766
  ...obj,
703
- ...obj.payload && { payload: obj.payload.map((item) => PayloadTypeFilterSensitiveLog(item)) }
767
+ ...obj.payload && { payload: obj.payload.map((item) => PayloadTypeFilterSensitiveLog(item)) },
768
+ ...obj.metadata && {
769
+ metadata: Object.entries(obj.metadata).reduce(
770
+ (acc, [key, value]) => (acc[key] = value, acc),
771
+ {}
772
+ )
773
+ }
704
774
  }), "CreateEventInputFilterSensitiveLog");
705
775
  var EventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
706
776
  ...obj,
707
- ...obj.payload && { payload: obj.payload.map((item) => PayloadTypeFilterSensitiveLog(item)) }
777
+ ...obj.payload && { payload: obj.payload.map((item) => PayloadTypeFilterSensitiveLog(item)) },
778
+ ...obj.metadata && {
779
+ metadata: Object.entries(obj.metadata).reduce(
780
+ (acc, [key, value]) => (acc[key] = value, acc),
781
+ {}
782
+ )
783
+ }
708
784
  }), "EventFilterSensitiveLog");
709
785
  var CreateEventOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
710
786
  ...obj,
@@ -714,10 +790,6 @@ var GetEventOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
714
790
  ...obj,
715
791
  ...obj.event && { event: EventFilterSensitiveLog(obj.event) }
716
792
  }), "GetEventOutputFilterSensitiveLog");
717
- var MemoryContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
718
- if (obj.text !== void 0) return { text: import_smithy_client.SENSITIVE_STRING };
719
- if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
720
- }, "MemoryContentFilterSensitiveLog");
721
793
  var MemoryRecordFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
722
794
  ...obj,
723
795
  ...obj.content && { content: MemoryContentFilterSensitiveLog(obj.content) }
@@ -760,6 +832,55 @@ var import_core2 = require("@aws-sdk/core");
760
832
 
761
833
 
762
834
  var import_uuid = require("@smithy/uuid");
835
+ var se_BatchCreateMemoryRecordsCommand = /* @__PURE__ */ __name(async (input, context) => {
836
+ const b = (0, import_core.requestBuilder)(input, context);
837
+ const headers = {
838
+ "content-type": "application/json"
839
+ };
840
+ b.bp("/memories/{memoryId}/memoryRecords/batchCreate");
841
+ b.p("memoryId", () => input.memoryId, "{memoryId}", false);
842
+ let body;
843
+ body = JSON.stringify(
844
+ (0, import_smithy_client.take)(input, {
845
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
846
+ records: /* @__PURE__ */ __name((_) => se_MemoryRecordsCreateInputList(_, context), "records")
847
+ })
848
+ );
849
+ b.m("POST").h(headers).b(body);
850
+ return b.build();
851
+ }, "se_BatchCreateMemoryRecordsCommand");
852
+ var se_BatchDeleteMemoryRecordsCommand = /* @__PURE__ */ __name(async (input, context) => {
853
+ const b = (0, import_core.requestBuilder)(input, context);
854
+ const headers = {
855
+ "content-type": "application/json"
856
+ };
857
+ b.bp("/memories/{memoryId}/memoryRecords/batchDelete");
858
+ b.p("memoryId", () => input.memoryId, "{memoryId}", false);
859
+ let body;
860
+ body = JSON.stringify(
861
+ (0, import_smithy_client.take)(input, {
862
+ records: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "records")
863
+ })
864
+ );
865
+ b.m("POST").h(headers).b(body);
866
+ return b.build();
867
+ }, "se_BatchDeleteMemoryRecordsCommand");
868
+ var se_BatchUpdateMemoryRecordsCommand = /* @__PURE__ */ __name(async (input, context) => {
869
+ const b = (0, import_core.requestBuilder)(input, context);
870
+ const headers = {
871
+ "content-type": "application/json"
872
+ };
873
+ b.bp("/memories/{memoryId}/memoryRecords/batchUpdate");
874
+ b.p("memoryId", () => input.memoryId, "{memoryId}", false);
875
+ let body;
876
+ body = JSON.stringify(
877
+ (0, import_smithy_client.take)(input, {
878
+ records: /* @__PURE__ */ __name((_) => se_MemoryRecordsUpdateInputList(_, context), "records")
879
+ })
880
+ );
881
+ b.m("POST").h(headers).b(body);
882
+ return b.build();
883
+ }, "se_BatchUpdateMemoryRecordsCommand");
763
884
  var se_CreateEventCommand = /* @__PURE__ */ __name(async (input, context) => {
764
885
  const b = (0, import_core.requestBuilder)(input, context);
765
886
  const headers = {
@@ -774,6 +895,7 @@ var se_CreateEventCommand = /* @__PURE__ */ __name(async (input, context) => {
774
895
  branch: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "branch"),
775
896
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
776
897
  eventTimestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "eventTimestamp"),
898
+ metadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "metadata"),
777
899
  payload: /* @__PURE__ */ __name((_) => se_PayloadTypeList(_, context), "payload"),
778
900
  sessionId: []
779
901
  })
@@ -803,6 +925,20 @@ var se_DeleteMemoryRecordCommand = /* @__PURE__ */ __name(async (input, context)
803
925
  b.m("DELETE").h(headers).b(body);
804
926
  return b.build();
805
927
  }, "se_DeleteMemoryRecordCommand");
928
+ var se_GetAgentCardCommand = /* @__PURE__ */ __name(async (input, context) => {
929
+ const b = (0, import_core.requestBuilder)(input, context);
930
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
931
+ [_xabarsi]: input[_rSI] ?? (0, import_uuid.v4)()
932
+ });
933
+ b.bp("/runtimes/{agentRuntimeArn}/invocations/.well-known/agent-card.json");
934
+ b.p("agentRuntimeArn", () => input.agentRuntimeArn, "{agentRuntimeArn}", false);
935
+ const query = (0, import_smithy_client.map)({
936
+ [_q]: [, input[_q]]
937
+ });
938
+ let body;
939
+ b.m("GET").h(headers).q(query).b(body);
940
+ return b.build();
941
+ }, "se_GetAgentCardCommand");
806
942
  var se_GetBrowserSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
807
943
  const b = (0, import_core.requestBuilder)(input, context);
808
944
  const headers = {};
@@ -1182,6 +1318,26 @@ var se_StopCodeInterpreterSessionCommand = /* @__PURE__ */ __name(async (input,
1182
1318
  b.m("PUT").h(headers).q(query).b(body);
1183
1319
  return b.build();
1184
1320
  }, "se_StopCodeInterpreterSessionCommand");
1321
+ var se_StopRuntimeSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
1322
+ const b = (0, import_core.requestBuilder)(input, context);
1323
+ const headers = (0, import_smithy_client.map)({}, import_smithy_client.isSerializableHeaderValue, {
1324
+ "content-type": "application/json",
1325
+ [_xabarsi]: input[_rSI]
1326
+ });
1327
+ b.bp("/runtimes/{agentRuntimeArn}/stopruntimesession");
1328
+ b.p("agentRuntimeArn", () => input.agentRuntimeArn, "{agentRuntimeArn}", false);
1329
+ const query = (0, import_smithy_client.map)({
1330
+ [_q]: [, input[_q]]
1331
+ });
1332
+ let body;
1333
+ body = JSON.stringify(
1334
+ (0, import_smithy_client.take)(input, {
1335
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
1336
+ })
1337
+ );
1338
+ b.m("POST").h(headers).q(query).b(body);
1339
+ return b.build();
1340
+ }, "se_StopRuntimeSessionCommand");
1185
1341
  var se_UpdateBrowserStreamCommand = /* @__PURE__ */ __name(async (input, context) => {
1186
1342
  const b = (0, import_core.requestBuilder)(input, context);
1187
1343
  const headers = {
@@ -1202,6 +1358,51 @@ var se_UpdateBrowserStreamCommand = /* @__PURE__ */ __name(async (input, context
1202
1358
  b.m("PUT").h(headers).q(query).b(body);
1203
1359
  return b.build();
1204
1360
  }, "se_UpdateBrowserStreamCommand");
1361
+ var de_BatchCreateMemoryRecordsCommand = /* @__PURE__ */ __name(async (output, context) => {
1362
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1363
+ return de_CommandError(output, context);
1364
+ }
1365
+ const contents = (0, import_smithy_client.map)({
1366
+ $metadata: deserializeMetadata(output)
1367
+ });
1368
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1369
+ const doc = (0, import_smithy_client.take)(data, {
1370
+ failedRecords: import_smithy_client._json,
1371
+ successfulRecords: import_smithy_client._json
1372
+ });
1373
+ Object.assign(contents, doc);
1374
+ return contents;
1375
+ }, "de_BatchCreateMemoryRecordsCommand");
1376
+ var de_BatchDeleteMemoryRecordsCommand = /* @__PURE__ */ __name(async (output, context) => {
1377
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1378
+ return de_CommandError(output, context);
1379
+ }
1380
+ const contents = (0, import_smithy_client.map)({
1381
+ $metadata: deserializeMetadata(output)
1382
+ });
1383
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1384
+ const doc = (0, import_smithy_client.take)(data, {
1385
+ failedRecords: import_smithy_client._json,
1386
+ successfulRecords: import_smithy_client._json
1387
+ });
1388
+ Object.assign(contents, doc);
1389
+ return contents;
1390
+ }, "de_BatchDeleteMemoryRecordsCommand");
1391
+ var de_BatchUpdateMemoryRecordsCommand = /* @__PURE__ */ __name(async (output, context) => {
1392
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1393
+ return de_CommandError(output, context);
1394
+ }
1395
+ const contents = (0, import_smithy_client.map)({
1396
+ $metadata: deserializeMetadata(output)
1397
+ });
1398
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1399
+ const doc = (0, import_smithy_client.take)(data, {
1400
+ failedRecords: import_smithy_client._json,
1401
+ successfulRecords: import_smithy_client._json
1402
+ });
1403
+ Object.assign(contents, doc);
1404
+ return contents;
1405
+ }, "de_BatchUpdateMemoryRecordsCommand");
1205
1406
  var de_CreateEventCommand = /* @__PURE__ */ __name(async (output, context) => {
1206
1407
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1207
1408
  return de_CommandError(output, context);
@@ -1244,6 +1445,22 @@ var de_DeleteMemoryRecordCommand = /* @__PURE__ */ __name(async (output, context
1244
1445
  Object.assign(contents, doc);
1245
1446
  return contents;
1246
1447
  }, "de_DeleteMemoryRecordCommand");
1448
+ var de_GetAgentCardCommand = /* @__PURE__ */ __name(async (output, context) => {
1449
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1450
+ return de_CommandError(output, context);
1451
+ }
1452
+ const contents = (0, import_smithy_client.map)({
1453
+ $metadata: deserializeMetadata(output),
1454
+ [_rSI]: [, output.headers[_xabarsi]]
1455
+ });
1456
+ const data = await collectBodyString(output.body, context);
1457
+ contents.agentCard = data;
1458
+ contents.agentCard = JSON.parse(data);
1459
+ (0, import_smithy_client.map)(contents, {
1460
+ statusCode: [, output.statusCode]
1461
+ });
1462
+ return contents;
1463
+ }, "de_GetAgentCardCommand");
1247
1464
  var de_GetBrowserSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
1248
1465
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1249
1466
  return de_CommandError(output, context);
@@ -1590,6 +1807,20 @@ var de_StopCodeInterpreterSessionCommand = /* @__PURE__ */ __name(async (output,
1590
1807
  Object.assign(contents, doc);
1591
1808
  return contents;
1592
1809
  }, "de_StopCodeInterpreterSessionCommand");
1810
+ var de_StopRuntimeSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
1811
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
1812
+ return de_CommandError(output, context);
1813
+ }
1814
+ const contents = (0, import_smithy_client.map)({
1815
+ $metadata: deserializeMetadata(output),
1816
+ [_rSI]: [, output.headers[_xabarsi]]
1817
+ });
1818
+ (0, import_smithy_client.map)(contents, {
1819
+ statusCode: [, output.statusCode]
1820
+ });
1821
+ await (0, import_smithy_client.collectBody)(output.body, context);
1822
+ return contents;
1823
+ }, "de_StopRuntimeSessionCommand");
1593
1824
  var de_UpdateBrowserStreamCommand = /* @__PURE__ */ __name(async (output, context) => {
1594
1825
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1595
1826
  return de_CommandError(output, context);
@@ -1617,9 +1848,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1617
1848
  case "AccessDeniedException":
1618
1849
  case "com.amazonaws.bedrockagentcore#AccessDeniedException":
1619
1850
  throw await de_AccessDeniedExceptionRes(parsedOutput, context);
1620
- case "InvalidInputException":
1621
- case "com.amazonaws.bedrockagentcore#InvalidInputException":
1622
- throw await de_InvalidInputExceptionRes(parsedOutput, context);
1623
1851
  case "ResourceNotFoundException":
1624
1852
  case "com.amazonaws.bedrockagentcore#ResourceNotFoundException":
1625
1853
  throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
@@ -1635,18 +1863,21 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1635
1863
  case "ValidationException":
1636
1864
  case "com.amazonaws.bedrockagentcore#ValidationException":
1637
1865
  throw await de_ValidationExceptionRes(parsedOutput, context);
1866
+ case "InvalidInputException":
1867
+ case "com.amazonaws.bedrockagentcore#InvalidInputException":
1868
+ throw await de_InvalidInputExceptionRes(parsedOutput, context);
1638
1869
  case "InternalServerException":
1639
1870
  case "com.amazonaws.bedrockagentcore#InternalServerException":
1640
1871
  throw await de_InternalServerExceptionRes(parsedOutput, context);
1872
+ case "RuntimeClientError":
1873
+ case "com.amazonaws.bedrockagentcore#RuntimeClientError":
1874
+ throw await de_RuntimeClientErrorRes(parsedOutput, context);
1641
1875
  case "ThrottlingException":
1642
1876
  case "com.amazonaws.bedrockagentcore#ThrottlingException":
1643
1877
  throw await de_ThrottlingExceptionRes(parsedOutput, context);
1644
1878
  case "UnauthorizedException":
1645
1879
  case "com.amazonaws.bedrockagentcore#UnauthorizedException":
1646
1880
  throw await de_UnauthorizedExceptionRes(parsedOutput, context);
1647
- case "RuntimeClientError":
1648
- case "com.amazonaws.bedrockagentcore#RuntimeClientError":
1649
- throw await de_RuntimeClientErrorRes(parsedOutput, context);
1650
1881
  case "ConflictException":
1651
1882
  case "com.amazonaws.bedrockagentcore#ConflictException":
1652
1883
  throw await de_ConflictExceptionRes(parsedOutput, context);
@@ -1939,6 +2170,34 @@ var se_InputContentBlockList = /* @__PURE__ */ __name((input, context) => {
1939
2170
  return se_InputContentBlock(entry, context);
1940
2171
  });
1941
2172
  }, "se_InputContentBlockList");
2173
+ var se_MemoryRecordCreateInput = /* @__PURE__ */ __name((input, context) => {
2174
+ return (0, import_smithy_client.take)(input, {
2175
+ content: import_smithy_client._json,
2176
+ memoryStrategyId: [],
2177
+ namespaces: import_smithy_client._json,
2178
+ requestIdentifier: [],
2179
+ timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "timestamp")
2180
+ });
2181
+ }, "se_MemoryRecordCreateInput");
2182
+ var se_MemoryRecordsCreateInputList = /* @__PURE__ */ __name((input, context) => {
2183
+ return input.filter((e) => e != null).map((entry) => {
2184
+ return se_MemoryRecordCreateInput(entry, context);
2185
+ });
2186
+ }, "se_MemoryRecordsCreateInputList");
2187
+ var se_MemoryRecordsUpdateInputList = /* @__PURE__ */ __name((input, context) => {
2188
+ return input.filter((e) => e != null).map((entry) => {
2189
+ return se_MemoryRecordUpdateInput(entry, context);
2190
+ });
2191
+ }, "se_MemoryRecordsUpdateInputList");
2192
+ var se_MemoryRecordUpdateInput = /* @__PURE__ */ __name((input, context) => {
2193
+ return (0, import_smithy_client.take)(input, {
2194
+ content: import_smithy_client._json,
2195
+ memoryRecordId: [],
2196
+ memoryStrategyId: [],
2197
+ namespaces: import_smithy_client._json,
2198
+ timestamp: /* @__PURE__ */ __name((_) => _.getTime() / 1e3, "timestamp")
2199
+ });
2200
+ }, "se_MemoryRecordUpdateInput");
1942
2201
  var se_PayloadType = /* @__PURE__ */ __name((input, context) => {
1943
2202
  return PayloadType.visit(input, {
1944
2203
  blob: /* @__PURE__ */ __name((value) => ({ blob: se_Document(value, context) }), "blob"),
@@ -2032,6 +2291,7 @@ var de_Event = /* @__PURE__ */ __name((output, context) => {
2032
2291
  eventId: import_smithy_client.expectString,
2033
2292
  eventTimestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))), "eventTimestamp"),
2034
2293
  memoryId: import_smithy_client.expectString,
2294
+ metadata: import_smithy_client._json,
2035
2295
  payload: /* @__PURE__ */ __name((_) => de_PayloadTypeList(_, context), "payload"),
2036
2296
  sessionId: import_smithy_client.expectString
2037
2297
  });
@@ -2124,6 +2384,7 @@ var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2124
2384
  extendedRequestId: output.headers["x-amz-id-2"],
2125
2385
  cfId: output.headers["x-amz-cf-id"]
2126
2386
  }), "deserializeMetadata");
2387
+ var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
2127
2388
  var _a = "accept";
2128
2389
  var _b = "baggage";
2129
2390
  var _cT = "contentType";
@@ -2146,7 +2407,52 @@ var _xabarui = "x-amzn-bedrock-agentcore-runtime-user-id";
2146
2407
  var _xacisi = "x-amzn-code-interpreter-session-id";
2147
2408
  var _xati = "x-amzn-trace-id";
2148
2409
 
2410
+ // src/commands/BatchCreateMemoryRecordsCommand.ts
2411
+ var BatchCreateMemoryRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2412
+ return [
2413
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2414
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2415
+ ];
2416
+ }).s("AmazonBedrockAgentCore", "BatchCreateMemoryRecords", {}).n("BedrockAgentCoreClient", "BatchCreateMemoryRecordsCommand").f(BatchCreateMemoryRecordsInputFilterSensitiveLog, void 0).ser(se_BatchCreateMemoryRecordsCommand).de(de_BatchCreateMemoryRecordsCommand).build() {
2417
+ static {
2418
+ __name(this, "BatchCreateMemoryRecordsCommand");
2419
+ }
2420
+ };
2421
+
2422
+ // src/commands/BatchDeleteMemoryRecordsCommand.ts
2423
+
2424
+
2425
+
2426
+ var BatchDeleteMemoryRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2427
+ return [
2428
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2429
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2430
+ ];
2431
+ }).s("AmazonBedrockAgentCore", "BatchDeleteMemoryRecords", {}).n("BedrockAgentCoreClient", "BatchDeleteMemoryRecordsCommand").f(void 0, void 0).ser(se_BatchDeleteMemoryRecordsCommand).de(de_BatchDeleteMemoryRecordsCommand).build() {
2432
+ static {
2433
+ __name(this, "BatchDeleteMemoryRecordsCommand");
2434
+ }
2435
+ };
2436
+
2437
+ // src/commands/BatchUpdateMemoryRecordsCommand.ts
2438
+
2439
+
2440
+
2441
+ var BatchUpdateMemoryRecordsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2442
+ return [
2443
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2444
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2445
+ ];
2446
+ }).s("AmazonBedrockAgentCore", "BatchUpdateMemoryRecords", {}).n("BedrockAgentCoreClient", "BatchUpdateMemoryRecordsCommand").f(BatchUpdateMemoryRecordsInputFilterSensitiveLog, void 0).ser(se_BatchUpdateMemoryRecordsCommand).de(de_BatchUpdateMemoryRecordsCommand).build() {
2447
+ static {
2448
+ __name(this, "BatchUpdateMemoryRecordsCommand");
2449
+ }
2450
+ };
2451
+
2149
2452
  // src/commands/CreateEventCommand.ts
2453
+
2454
+
2455
+
2150
2456
  var CreateEventCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2151
2457
  return [
2152
2458
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
@@ -2188,6 +2494,21 @@ var DeleteMemoryRecordCommand = class extends import_smithy_client.Command.class
2188
2494
  }
2189
2495
  };
2190
2496
 
2497
+ // src/commands/GetAgentCardCommand.ts
2498
+
2499
+
2500
+
2501
+ var GetAgentCardCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2502
+ return [
2503
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2504
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2505
+ ];
2506
+ }).s("AmazonBedrockAgentCore", "GetAgentCard", {}).n("BedrockAgentCoreClient", "GetAgentCardCommand").f(void 0, void 0).ser(se_GetAgentCardCommand).de(de_GetAgentCardCommand).build() {
2507
+ static {
2508
+ __name(this, "GetAgentCardCommand");
2509
+ }
2510
+ };
2511
+
2191
2512
  // src/commands/GetBrowserSessionCommand.ts
2192
2513
 
2193
2514
 
@@ -2525,6 +2846,21 @@ var StopCodeInterpreterSessionCommand = class extends import_smithy_client.Comma
2525
2846
  }
2526
2847
  };
2527
2848
 
2849
+ // src/commands/StopRuntimeSessionCommand.ts
2850
+
2851
+
2852
+
2853
+ var StopRuntimeSessionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
2854
+ return [
2855
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2856
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2857
+ ];
2858
+ }).s("AmazonBedrockAgentCore", "StopRuntimeSession", {}).n("BedrockAgentCoreClient", "StopRuntimeSessionCommand").f(void 0, void 0).ser(se_StopRuntimeSessionCommand).de(de_StopRuntimeSessionCommand).build() {
2859
+ static {
2860
+ __name(this, "StopRuntimeSessionCommand");
2861
+ }
2862
+ };
2863
+
2528
2864
  // src/commands/UpdateBrowserStreamCommand.ts
2529
2865
 
2530
2866
 
@@ -2542,9 +2878,13 @@ var UpdateBrowserStreamCommand = class extends import_smithy_client.Command.clas
2542
2878
 
2543
2879
  // src/BedrockAgentCore.ts
2544
2880
  var commands = {
2881
+ BatchCreateMemoryRecordsCommand,
2882
+ BatchDeleteMemoryRecordsCommand,
2883
+ BatchUpdateMemoryRecordsCommand,
2545
2884
  CreateEventCommand,
2546
2885
  DeleteEventCommand,
2547
2886
  DeleteMemoryRecordCommand,
2887
+ GetAgentCardCommand,
2548
2888
  GetBrowserSessionCommand,
2549
2889
  GetCodeInterpreterSessionCommand,
2550
2890
  GetEventCommand,
@@ -2567,6 +2907,7 @@ var commands = {
2567
2907
  StartCodeInterpreterSessionCommand,
2568
2908
  StopBrowserSessionCommand,
2569
2909
  StopCodeInterpreterSessionCommand,
2910
+ StopRuntimeSessionCommand,
2570
2911
  UpdateBrowserStreamCommand
2571
2912
  };
2572
2913
  var BedrockAgentCore = class extends BedrockAgentCoreClient {
@@ -2603,9 +2944,13 @@ var paginateRetrieveMemoryRecords = (0, import_core.createPaginator)(BedrockAgen
2603
2944
  BedrockAgentCoreClient,
2604
2945
  BedrockAgentCore,
2605
2946
  $Command,
2947
+ BatchCreateMemoryRecordsCommand,
2948
+ BatchDeleteMemoryRecordsCommand,
2949
+ BatchUpdateMemoryRecordsCommand,
2606
2950
  CreateEventCommand,
2607
2951
  DeleteEventCommand,
2608
2952
  DeleteMemoryRecordCommand,
2953
+ GetAgentCardCommand,
2609
2954
  GetBrowserSessionCommand,
2610
2955
  GetCodeInterpreterSessionCommand,
2611
2956
  GetEventCommand,
@@ -2628,6 +2973,7 @@ var paginateRetrieveMemoryRecords = (0, import_core.createPaginator)(BedrockAgen
2628
2973
  StartCodeInterpreterSessionCommand,
2629
2974
  StopBrowserSessionCommand,
2630
2975
  StopCodeInterpreterSessionCommand,
2976
+ StopRuntimeSessionCommand,
2631
2977
  UpdateBrowserStreamCommand,
2632
2978
  paginateListActors,
2633
2979
  paginateListEvents,
@@ -2642,12 +2988,12 @@ var paginateRetrieveMemoryRecords = (0, import_core.createPaginator)(BedrockAgen
2642
2988
  ThrottlingException,
2643
2989
  ValidationExceptionReason,
2644
2990
  ValidationException,
2991
+ ConflictException,
2992
+ UnauthorizedException,
2645
2993
  BrowserSessionStatus,
2646
2994
  AutomationStreamStatus,
2647
- ConflictException,
2648
2995
  StreamUpdate,
2649
2996
  CodeInterpreterSessionStatus,
2650
- UnauthorizedException,
2651
2997
  Oauth2FlowType,
2652
2998
  ProgrammingLanguage,
2653
2999
  ToolName,
@@ -2655,13 +3001,18 @@ var paginateRetrieveMemoryRecords = (0, import_core.createPaginator)(BedrockAgen
2655
3001
  ContentBlockType,
2656
3002
  TaskStatus,
2657
3003
  CodeInterpreterStreamOutput,
3004
+ MemoryContent,
3005
+ MemoryRecordStatus,
3006
+ ServiceException,
3007
+ ThrottledException,
3008
+ MetadataValue,
2658
3009
  Content,
2659
3010
  Role,
2660
3011
  PayloadType,
2661
3012
  InvalidInputException,
2662
- ServiceException,
2663
- ThrottledException,
2664
- MemoryContent,
3013
+ LeftExpression,
3014
+ OperatorType,
3015
+ RightExpression,
2665
3016
  InvokeAgentRuntimeRequestFilterSensitiveLog,
2666
3017
  InvokeAgentRuntimeResponseFilterSensitiveLog,
2667
3018
  GetResourceApiKeyRequestFilterSensitiveLog,
@@ -2677,6 +3028,11 @@ var paginateRetrieveMemoryRecords = (0, import_core.createPaginator)(BedrockAgen
2677
3028
  InvokeCodeInterpreterRequestFilterSensitiveLog,
2678
3029
  CodeInterpreterStreamOutputFilterSensitiveLog,
2679
3030
  InvokeCodeInterpreterResponseFilterSensitiveLog,
3031
+ MemoryContentFilterSensitiveLog,
3032
+ MemoryRecordCreateInputFilterSensitiveLog,
3033
+ BatchCreateMemoryRecordsInputFilterSensitiveLog,
3034
+ MemoryRecordUpdateInputFilterSensitiveLog,
3035
+ BatchUpdateMemoryRecordsInputFilterSensitiveLog,
2680
3036
  ContentFilterSensitiveLog,
2681
3037
  ConversationalFilterSensitiveLog,
2682
3038
  PayloadTypeFilterSensitiveLog,
@@ -2684,7 +3040,6 @@ var paginateRetrieveMemoryRecords = (0, import_core.createPaginator)(BedrockAgen
2684
3040
  EventFilterSensitiveLog,
2685
3041
  CreateEventOutputFilterSensitiveLog,
2686
3042
  GetEventOutputFilterSensitiveLog,
2687
- MemoryContentFilterSensitiveLog,
2688
3043
  MemoryRecordFilterSensitiveLog,
2689
3044
  GetMemoryRecordOutputFilterSensitiveLog,
2690
3045
  ListEventsOutputFilterSensitiveLog,