@aws-sdk/client-bedrock-runtime 3.758.0 → 3.772.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 (2) hide show
  1. package/dist-cjs/index.js +214 -318
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
25
  ApplyGuardrailCommand: () => ApplyGuardrailCommand,
26
26
  ApplyGuardrailRequestFilterSensitiveLog: () => ApplyGuardrailRequestFilterSensitiveLog,
@@ -131,7 +131,7 @@ __export(src_exports, {
131
131
  __Client: () => import_smithy_client.Client,
132
132
  paginateListAsyncInvokes: () => paginateListAsyncInvokes
133
133
  });
134
- module.exports = __toCommonJS(src_exports);
134
+ module.exports = __toCommonJS(index_exports);
135
135
 
136
136
  // src/BedrockRuntimeClient.ts
137
137
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -260,9 +260,9 @@ var BedrockRuntimeClient = class extends import_smithy_client.Client {
260
260
  this.middlewareStack.use(
261
261
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
262
262
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultBedrockRuntimeHttpAuthSchemeParametersProvider,
263
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
263
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
264
264
  "aws.auth#sigv4": config.credentials
265
- })
265
+ }), "identityProviderConfigProvider")
266
266
  })
267
267
  );
268
268
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -325,8 +325,7 @@ var AccessDeniedException = class _AccessDeniedException extends BedrockRuntimeS
325
325
  var AsyncInvokeOutputDataConfig;
326
326
  ((AsyncInvokeOutputDataConfig3) => {
327
327
  AsyncInvokeOutputDataConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
328
- if (value.s3OutputDataConfig !== void 0)
329
- return visitor.s3OutputDataConfig(value.s3OutputDataConfig);
328
+ if (value.s3OutputDataConfig !== void 0) return visitor.s3OutputDataConfig(value.s3OutputDataConfig);
330
329
  return visitor._(value.$unknown[0], value.$unknown[1]);
331
330
  }, "visit");
332
331
  })(AsyncInvokeOutputDataConfig || (AsyncInvokeOutputDataConfig = {}));
@@ -475,8 +474,7 @@ var GuardrailImageFormat = {
475
474
  var GuardrailImageSource;
476
475
  ((GuardrailImageSource2) => {
477
476
  GuardrailImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
478
- if (value.bytes !== void 0)
479
- return visitor.bytes(value.bytes);
477
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
480
478
  return visitor._(value.$unknown[0], value.$unknown[1]);
481
479
  }, "visit");
482
480
  })(GuardrailImageSource || (GuardrailImageSource = {}));
@@ -488,10 +486,8 @@ var GuardrailContentQualifier = {
488
486
  var GuardrailContentBlock;
489
487
  ((GuardrailContentBlock2) => {
490
488
  GuardrailContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
491
- if (value.text !== void 0)
492
- return visitor.text(value.text);
493
- if (value.image !== void 0)
494
- return visitor.image(value.image);
489
+ if (value.text !== void 0) return visitor.text(value.text);
490
+ if (value.image !== void 0) return visitor.image(value.image);
495
491
  return visitor._(value.$unknown[0], value.$unknown[1]);
496
492
  }, "visit");
497
493
  })(GuardrailContentBlock || (GuardrailContentBlock = {}));
@@ -601,8 +597,7 @@ var DocumentFormat = {
601
597
  var DocumentSource;
602
598
  ((DocumentSource2) => {
603
599
  DocumentSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
604
- if (value.bytes !== void 0)
605
- return visitor.bytes(value.bytes);
600
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
606
601
  return visitor._(value.$unknown[0], value.$unknown[1]);
607
602
  }, "visit");
608
603
  })(DocumentSource || (DocumentSource = {}));
@@ -613,8 +608,7 @@ var GuardrailConverseImageFormat = {
613
608
  var GuardrailConverseImageSource;
614
609
  ((GuardrailConverseImageSource2) => {
615
610
  GuardrailConverseImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
616
- if (value.bytes !== void 0)
617
- return visitor.bytes(value.bytes);
611
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
618
612
  return visitor._(value.$unknown[0], value.$unknown[1]);
619
613
  }, "visit");
620
614
  })(GuardrailConverseImageSource || (GuardrailConverseImageSource = {}));
@@ -626,10 +620,8 @@ var GuardrailConverseContentQualifier = {
626
620
  var GuardrailConverseContentBlock;
627
621
  ((GuardrailConverseContentBlock2) => {
628
622
  GuardrailConverseContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
629
- if (value.text !== void 0)
630
- return visitor.text(value.text);
631
- if (value.image !== void 0)
632
- return visitor.image(value.image);
623
+ if (value.text !== void 0) return visitor.text(value.text);
624
+ if (value.image !== void 0) return visitor.image(value.image);
633
625
  return visitor._(value.$unknown[0], value.$unknown[1]);
634
626
  }, "visit");
635
627
  })(GuardrailConverseContentBlock || (GuardrailConverseContentBlock = {}));
@@ -642,18 +634,15 @@ var ImageFormat = {
642
634
  var ImageSource;
643
635
  ((ImageSource2) => {
644
636
  ImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
645
- if (value.bytes !== void 0)
646
- return visitor.bytes(value.bytes);
637
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
647
638
  return visitor._(value.$unknown[0], value.$unknown[1]);
648
639
  }, "visit");
649
640
  })(ImageSource || (ImageSource = {}));
650
641
  var ReasoningContentBlock;
651
642
  ((ReasoningContentBlock2) => {
652
643
  ReasoningContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
653
- if (value.reasoningText !== void 0)
654
- return visitor.reasoningText(value.reasoningText);
655
- if (value.redactedContent !== void 0)
656
- return visitor.redactedContent(value.redactedContent);
644
+ if (value.reasoningText !== void 0) return visitor.reasoningText(value.reasoningText);
645
+ if (value.redactedContent !== void 0) return visitor.redactedContent(value.redactedContent);
657
646
  return visitor._(value.$unknown[0], value.$unknown[1]);
658
647
  }, "visit");
659
648
  })(ReasoningContentBlock || (ReasoningContentBlock = {}));
@@ -671,26 +660,19 @@ var VideoFormat = {
671
660
  var VideoSource;
672
661
  ((VideoSource2) => {
673
662
  VideoSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
674
- if (value.bytes !== void 0)
675
- return visitor.bytes(value.bytes);
676
- if (value.s3Location !== void 0)
677
- return visitor.s3Location(value.s3Location);
663
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
664
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
678
665
  return visitor._(value.$unknown[0], value.$unknown[1]);
679
666
  }, "visit");
680
667
  })(VideoSource || (VideoSource = {}));
681
668
  var ToolResultContentBlock;
682
669
  ((ToolResultContentBlock2) => {
683
670
  ToolResultContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
684
- if (value.json !== void 0)
685
- return visitor.json(value.json);
686
- if (value.text !== void 0)
687
- return visitor.text(value.text);
688
- if (value.image !== void 0)
689
- return visitor.image(value.image);
690
- if (value.document !== void 0)
691
- return visitor.document(value.document);
692
- if (value.video !== void 0)
693
- return visitor.video(value.video);
671
+ if (value.json !== void 0) return visitor.json(value.json);
672
+ if (value.text !== void 0) return visitor.text(value.text);
673
+ if (value.image !== void 0) return visitor.image(value.image);
674
+ if (value.document !== void 0) return visitor.document(value.document);
675
+ if (value.video !== void 0) return visitor.video(value.video);
694
676
  return visitor._(value.$unknown[0], value.$unknown[1]);
695
677
  }, "visit");
696
678
  })(ToolResultContentBlock || (ToolResultContentBlock = {}));
@@ -701,22 +683,14 @@ var ToolResultStatus = {
701
683
  var ContentBlock;
702
684
  ((ContentBlock2) => {
703
685
  ContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
704
- if (value.text !== void 0)
705
- return visitor.text(value.text);
706
- if (value.image !== void 0)
707
- return visitor.image(value.image);
708
- if (value.document !== void 0)
709
- return visitor.document(value.document);
710
- if (value.video !== void 0)
711
- return visitor.video(value.video);
712
- if (value.toolUse !== void 0)
713
- return visitor.toolUse(value.toolUse);
714
- if (value.toolResult !== void 0)
715
- return visitor.toolResult(value.toolResult);
716
- if (value.guardContent !== void 0)
717
- return visitor.guardContent(value.guardContent);
718
- if (value.reasoningContent !== void 0)
719
- return visitor.reasoningContent(value.reasoningContent);
686
+ if (value.text !== void 0) return visitor.text(value.text);
687
+ if (value.image !== void 0) return visitor.image(value.image);
688
+ if (value.document !== void 0) return visitor.document(value.document);
689
+ if (value.video !== void 0) return visitor.video(value.video);
690
+ if (value.toolUse !== void 0) return visitor.toolUse(value.toolUse);
691
+ if (value.toolResult !== void 0) return visitor.toolResult(value.toolResult);
692
+ if (value.guardContent !== void 0) return visitor.guardContent(value.guardContent);
693
+ if (value.reasoningContent !== void 0) return visitor.reasoningContent(value.reasoningContent);
720
694
  return visitor._(value.$unknown[0], value.$unknown[1]);
721
695
  }, "visit");
722
696
  })(ContentBlock || (ContentBlock = {}));
@@ -731,54 +705,45 @@ var PerformanceConfigLatency = {
731
705
  var PromptVariableValues;
732
706
  ((PromptVariableValues3) => {
733
707
  PromptVariableValues3.visit = /* @__PURE__ */ __name((value, visitor) => {
734
- if (value.text !== void 0)
735
- return visitor.text(value.text);
708
+ if (value.text !== void 0) return visitor.text(value.text);
736
709
  return visitor._(value.$unknown[0], value.$unknown[1]);
737
710
  }, "visit");
738
711
  })(PromptVariableValues || (PromptVariableValues = {}));
739
712
  var SystemContentBlock;
740
713
  ((SystemContentBlock2) => {
741
714
  SystemContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
742
- if (value.text !== void 0)
743
- return visitor.text(value.text);
744
- if (value.guardContent !== void 0)
745
- return visitor.guardContent(value.guardContent);
715
+ if (value.text !== void 0) return visitor.text(value.text);
716
+ if (value.guardContent !== void 0) return visitor.guardContent(value.guardContent);
746
717
  return visitor._(value.$unknown[0], value.$unknown[1]);
747
718
  }, "visit");
748
719
  })(SystemContentBlock || (SystemContentBlock = {}));
749
720
  var ToolChoice;
750
721
  ((ToolChoice3) => {
751
722
  ToolChoice3.visit = /* @__PURE__ */ __name((value, visitor) => {
752
- if (value.auto !== void 0)
753
- return visitor.auto(value.auto);
754
- if (value.any !== void 0)
755
- return visitor.any(value.any);
756
- if (value.tool !== void 0)
757
- return visitor.tool(value.tool);
723
+ if (value.auto !== void 0) return visitor.auto(value.auto);
724
+ if (value.any !== void 0) return visitor.any(value.any);
725
+ if (value.tool !== void 0) return visitor.tool(value.tool);
758
726
  return visitor._(value.$unknown[0], value.$unknown[1]);
759
727
  }, "visit");
760
728
  })(ToolChoice || (ToolChoice = {}));
761
729
  var ToolInputSchema;
762
730
  ((ToolInputSchema2) => {
763
731
  ToolInputSchema2.visit = /* @__PURE__ */ __name((value, visitor) => {
764
- if (value.json !== void 0)
765
- return visitor.json(value.json);
732
+ if (value.json !== void 0) return visitor.json(value.json);
766
733
  return visitor._(value.$unknown[0], value.$unknown[1]);
767
734
  }, "visit");
768
735
  })(ToolInputSchema || (ToolInputSchema = {}));
769
736
  var Tool;
770
737
  ((Tool2) => {
771
738
  Tool2.visit = /* @__PURE__ */ __name((value, visitor) => {
772
- if (value.toolSpec !== void 0)
773
- return visitor.toolSpec(value.toolSpec);
739
+ if (value.toolSpec !== void 0) return visitor.toolSpec(value.toolSpec);
774
740
  return visitor._(value.$unknown[0], value.$unknown[1]);
775
741
  }, "visit");
776
742
  })(Tool || (Tool = {}));
777
743
  var ConverseOutput;
778
744
  ((ConverseOutput3) => {
779
745
  ConverseOutput3.visit = /* @__PURE__ */ __name((value, visitor) => {
780
- if (value.message !== void 0)
781
- return visitor.message(value.message);
746
+ if (value.message !== void 0) return visitor.message(value.message);
782
747
  return visitor._(value.$unknown[0], value.$unknown[1]);
783
748
  }, "visit");
784
749
  })(ConverseOutput || (ConverseOutput = {}));
@@ -864,32 +829,25 @@ var GuardrailStreamProcessingMode = {
864
829
  var ReasoningContentBlockDelta;
865
830
  ((ReasoningContentBlockDelta3) => {
866
831
  ReasoningContentBlockDelta3.visit = /* @__PURE__ */ __name((value, visitor) => {
867
- if (value.text !== void 0)
868
- return visitor.text(value.text);
869
- if (value.redactedContent !== void 0)
870
- return visitor.redactedContent(value.redactedContent);
871
- if (value.signature !== void 0)
872
- return visitor.signature(value.signature);
832
+ if (value.text !== void 0) return visitor.text(value.text);
833
+ if (value.redactedContent !== void 0) return visitor.redactedContent(value.redactedContent);
834
+ if (value.signature !== void 0) return visitor.signature(value.signature);
873
835
  return visitor._(value.$unknown[0], value.$unknown[1]);
874
836
  }, "visit");
875
837
  })(ReasoningContentBlockDelta || (ReasoningContentBlockDelta = {}));
876
838
  var ContentBlockDelta;
877
839
  ((ContentBlockDelta3) => {
878
840
  ContentBlockDelta3.visit = /* @__PURE__ */ __name((value, visitor) => {
879
- if (value.text !== void 0)
880
- return visitor.text(value.text);
881
- if (value.toolUse !== void 0)
882
- return visitor.toolUse(value.toolUse);
883
- if (value.reasoningContent !== void 0)
884
- return visitor.reasoningContent(value.reasoningContent);
841
+ if (value.text !== void 0) return visitor.text(value.text);
842
+ if (value.toolUse !== void 0) return visitor.toolUse(value.toolUse);
843
+ if (value.reasoningContent !== void 0) return visitor.reasoningContent(value.reasoningContent);
885
844
  return visitor._(value.$unknown[0], value.$unknown[1]);
886
845
  }, "visit");
887
846
  })(ContentBlockDelta || (ContentBlockDelta = {}));
888
847
  var ContentBlockStart;
889
848
  ((ContentBlockStart2) => {
890
849
  ContentBlockStart2.visit = /* @__PURE__ */ __name((value, visitor) => {
891
- if (value.toolUse !== void 0)
892
- return visitor.toolUse(value.toolUse);
850
+ if (value.toolUse !== void 0) return visitor.toolUse(value.toolUse);
893
851
  return visitor._(value.$unknown[0], value.$unknown[1]);
894
852
  }, "visit");
895
853
  })(ContentBlockStart || (ContentBlockStart = {}));
@@ -926,26 +884,18 @@ var ModelStreamErrorException = class _ModelStreamErrorException extends Bedrock
926
884
  var ConverseStreamOutput;
927
885
  ((ConverseStreamOutput3) => {
928
886
  ConverseStreamOutput3.visit = /* @__PURE__ */ __name((value, visitor) => {
929
- if (value.messageStart !== void 0)
930
- return visitor.messageStart(value.messageStart);
931
- if (value.contentBlockStart !== void 0)
932
- return visitor.contentBlockStart(value.contentBlockStart);
933
- if (value.contentBlockDelta !== void 0)
934
- return visitor.contentBlockDelta(value.contentBlockDelta);
935
- if (value.contentBlockStop !== void 0)
936
- return visitor.contentBlockStop(value.contentBlockStop);
937
- if (value.messageStop !== void 0)
938
- return visitor.messageStop(value.messageStop);
939
- if (value.metadata !== void 0)
940
- return visitor.metadata(value.metadata);
887
+ if (value.messageStart !== void 0) return visitor.messageStart(value.messageStart);
888
+ if (value.contentBlockStart !== void 0) return visitor.contentBlockStart(value.contentBlockStart);
889
+ if (value.contentBlockDelta !== void 0) return visitor.contentBlockDelta(value.contentBlockDelta);
890
+ if (value.contentBlockStop !== void 0) return visitor.contentBlockStop(value.contentBlockStop);
891
+ if (value.messageStop !== void 0) return visitor.messageStop(value.messageStop);
892
+ if (value.metadata !== void 0) return visitor.metadata(value.metadata);
941
893
  if (value.internalServerException !== void 0)
942
894
  return visitor.internalServerException(value.internalServerException);
943
895
  if (value.modelStreamErrorException !== void 0)
944
896
  return visitor.modelStreamErrorException(value.modelStreamErrorException);
945
- if (value.validationException !== void 0)
946
- return visitor.validationException(value.validationException);
947
- if (value.throttlingException !== void 0)
948
- return visitor.throttlingException(value.throttlingException);
897
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
898
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
949
899
  if (value.serviceUnavailableException !== void 0)
950
900
  return visitor.serviceUnavailableException(value.serviceUnavailableException);
951
901
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -958,18 +908,14 @@ var Trace = {
958
908
  var ResponseStream;
959
909
  ((ResponseStream3) => {
960
910
  ResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
961
- if (value.chunk !== void 0)
962
- return visitor.chunk(value.chunk);
911
+ if (value.chunk !== void 0) return visitor.chunk(value.chunk);
963
912
  if (value.internalServerException !== void 0)
964
913
  return visitor.internalServerException(value.internalServerException);
965
914
  if (value.modelStreamErrorException !== void 0)
966
915
  return visitor.modelStreamErrorException(value.modelStreamErrorException);
967
- if (value.validationException !== void 0)
968
- return visitor.validationException(value.validationException);
969
- if (value.throttlingException !== void 0)
970
- return visitor.throttlingException(value.throttlingException);
971
- if (value.modelTimeoutException !== void 0)
972
- return visitor.modelTimeoutException(value.modelTimeoutException);
916
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
917
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
918
+ if (value.modelTimeoutException !== void 0) return visitor.modelTimeoutException(value.modelTimeoutException);
973
919
  if (value.serviceUnavailableException !== void 0)
974
920
  return visitor.serviceUnavailableException(value.serviceUnavailableException);
975
921
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -997,87 +943,64 @@ var StartAsyncInvokeRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
997
943
  ...obj.outputDataConfig && { outputDataConfig: obj.outputDataConfig }
998
944
  }), "StartAsyncInvokeRequestFilterSensitiveLog");
999
945
  var GuardrailImageSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1000
- if (obj.bytes !== void 0)
1001
- return { bytes: obj.bytes };
1002
- if (obj.$unknown !== void 0)
1003
- return { [obj.$unknown[0]]: "UNKNOWN" };
946
+ if (obj.bytes !== void 0) return { bytes: obj.bytes };
947
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1004
948
  }, "GuardrailImageSourceFilterSensitiveLog");
1005
949
  var GuardrailImageBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1006
950
  ...obj,
1007
951
  ...obj.source && { source: import_smithy_client.SENSITIVE_STRING }
1008
952
  }), "GuardrailImageBlockFilterSensitiveLog");
1009
953
  var GuardrailContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1010
- if (obj.text !== void 0)
1011
- return { text: obj.text };
1012
- if (obj.image !== void 0)
1013
- return { image: import_smithy_client.SENSITIVE_STRING };
1014
- if (obj.$unknown !== void 0)
1015
- return { [obj.$unknown[0]]: "UNKNOWN" };
954
+ if (obj.text !== void 0) return { text: obj.text };
955
+ if (obj.image !== void 0) return { image: import_smithy_client.SENSITIVE_STRING };
956
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1016
957
  }, "GuardrailContentBlockFilterSensitiveLog");
1017
958
  var ApplyGuardrailRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1018
959
  ...obj,
1019
960
  ...obj.content && { content: obj.content.map((item) => GuardrailContentBlockFilterSensitiveLog(item)) }
1020
961
  }), "ApplyGuardrailRequestFilterSensitiveLog");
1021
962
  var GuardrailConverseImageSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1022
- if (obj.bytes !== void 0)
1023
- return { bytes: obj.bytes };
1024
- if (obj.$unknown !== void 0)
1025
- return { [obj.$unknown[0]]: "UNKNOWN" };
963
+ if (obj.bytes !== void 0) return { bytes: obj.bytes };
964
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1026
965
  }, "GuardrailConverseImageSourceFilterSensitiveLog");
1027
966
  var GuardrailConverseImageBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1028
967
  ...obj,
1029
968
  ...obj.source && { source: import_smithy_client.SENSITIVE_STRING }
1030
969
  }), "GuardrailConverseImageBlockFilterSensitiveLog");
1031
970
  var GuardrailConverseContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1032
- if (obj.text !== void 0)
1033
- return { text: obj.text };
1034
- if (obj.image !== void 0)
1035
- return { image: import_smithy_client.SENSITIVE_STRING };
1036
- if (obj.$unknown !== void 0)
1037
- return { [obj.$unknown[0]]: "UNKNOWN" };
971
+ if (obj.text !== void 0) return { text: obj.text };
972
+ if (obj.image !== void 0) return { image: import_smithy_client.SENSITIVE_STRING };
973
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1038
974
  }, "GuardrailConverseContentBlockFilterSensitiveLog");
1039
975
  var ReasoningTextBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1040
976
  ...obj
1041
977
  }), "ReasoningTextBlockFilterSensitiveLog");
1042
978
  var ReasoningContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1043
- if (obj.reasoningText !== void 0)
1044
- return { reasoningText: import_smithy_client.SENSITIVE_STRING };
1045
- if (obj.redactedContent !== void 0)
1046
- return { redactedContent: obj.redactedContent };
1047
- if (obj.$unknown !== void 0)
1048
- return { [obj.$unknown[0]]: "UNKNOWN" };
979
+ if (obj.reasoningText !== void 0) return { reasoningText: import_smithy_client.SENSITIVE_STRING };
980
+ if (obj.redactedContent !== void 0) return { redactedContent: obj.redactedContent };
981
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1049
982
  }, "ReasoningContentBlockFilterSensitiveLog");
1050
983
  var ContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1051
- if (obj.text !== void 0)
1052
- return { text: obj.text };
1053
- if (obj.image !== void 0)
1054
- return { image: obj.image };
1055
- if (obj.document !== void 0)
1056
- return { document: obj.document };
1057
- if (obj.video !== void 0)
1058
- return { video: obj.video };
1059
- if (obj.toolUse !== void 0)
1060
- return { toolUse: obj.toolUse };
1061
- if (obj.toolResult !== void 0)
1062
- return { toolResult: obj.toolResult };
984
+ if (obj.text !== void 0) return { text: obj.text };
985
+ if (obj.image !== void 0) return { image: obj.image };
986
+ if (obj.document !== void 0) return { document: obj.document };
987
+ if (obj.video !== void 0) return { video: obj.video };
988
+ if (obj.toolUse !== void 0) return { toolUse: obj.toolUse };
989
+ if (obj.toolResult !== void 0) return { toolResult: obj.toolResult };
1063
990
  if (obj.guardContent !== void 0)
1064
991
  return { guardContent: GuardrailConverseContentBlockFilterSensitiveLog(obj.guardContent) };
1065
- if (obj.reasoningContent !== void 0)
1066
- return { reasoningContent: import_smithy_client.SENSITIVE_STRING };
1067
- if (obj.$unknown !== void 0)
1068
- return { [obj.$unknown[0]]: "UNKNOWN" };
992
+ if (obj.reasoningContent !== void 0) return { reasoningContent: import_smithy_client.SENSITIVE_STRING };
993
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1069
994
  }, "ContentBlockFilterSensitiveLog");
1070
995
  var MessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1071
996
  ...obj,
1072
997
  ...obj.content && { content: obj.content.map((item) => ContentBlockFilterSensitiveLog(item)) }
1073
998
  }), "MessageFilterSensitiveLog");
1074
999
  var SystemContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1075
- if (obj.text !== void 0)
1076
- return { text: obj.text };
1000
+ if (obj.text !== void 0) return { text: obj.text };
1077
1001
  if (obj.guardContent !== void 0)
1078
1002
  return { guardContent: GuardrailConverseContentBlockFilterSensitiveLog(obj.guardContent) };
1079
- if (obj.$unknown !== void 0)
1080
- return { [obj.$unknown[0]]: "UNKNOWN" };
1003
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1081
1004
  }, "SystemContentBlockFilterSensitiveLog");
1082
1005
  var ConverseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1083
1006
  ...obj,
@@ -1088,10 +1011,8 @@ var ConverseRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1088
1011
  ...obj.requestMetadata && { requestMetadata: import_smithy_client.SENSITIVE_STRING }
1089
1012
  }), "ConverseRequestFilterSensitiveLog");
1090
1013
  var ConverseOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1091
- if (obj.message !== void 0)
1092
- return { message: MessageFilterSensitiveLog(obj.message) };
1093
- if (obj.$unknown !== void 0)
1094
- return { [obj.$unknown[0]]: "UNKNOWN" };
1014
+ if (obj.message !== void 0) return { message: MessageFilterSensitiveLog(obj.message) };
1015
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1095
1016
  }, "ConverseOutputFilterSensitiveLog");
1096
1017
  var ConverseResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1097
1018
  ...obj,
@@ -1106,54 +1027,36 @@ var ConverseStreamRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1106
1027
  ...obj.requestMetadata && { requestMetadata: import_smithy_client.SENSITIVE_STRING }
1107
1028
  }), "ConverseStreamRequestFilterSensitiveLog");
1108
1029
  var ReasoningContentBlockDeltaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1109
- if (obj.text !== void 0)
1110
- return { text: obj.text };
1111
- if (obj.redactedContent !== void 0)
1112
- return { redactedContent: obj.redactedContent };
1113
- if (obj.signature !== void 0)
1114
- return { signature: obj.signature };
1115
- if (obj.$unknown !== void 0)
1116
- return { [obj.$unknown[0]]: "UNKNOWN" };
1030
+ if (obj.text !== void 0) return { text: obj.text };
1031
+ if (obj.redactedContent !== void 0) return { redactedContent: obj.redactedContent };
1032
+ if (obj.signature !== void 0) return { signature: obj.signature };
1033
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1117
1034
  }, "ReasoningContentBlockDeltaFilterSensitiveLog");
1118
1035
  var ContentBlockDeltaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1119
- if (obj.text !== void 0)
1120
- return { text: obj.text };
1121
- if (obj.toolUse !== void 0)
1122
- return { toolUse: obj.toolUse };
1123
- if (obj.reasoningContent !== void 0)
1124
- return { reasoningContent: import_smithy_client.SENSITIVE_STRING };
1125
- if (obj.$unknown !== void 0)
1126
- return { [obj.$unknown[0]]: "UNKNOWN" };
1036
+ if (obj.text !== void 0) return { text: obj.text };
1037
+ if (obj.toolUse !== void 0) return { toolUse: obj.toolUse };
1038
+ if (obj.reasoningContent !== void 0) return { reasoningContent: import_smithy_client.SENSITIVE_STRING };
1039
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1127
1040
  }, "ContentBlockDeltaFilterSensitiveLog");
1128
1041
  var ContentBlockDeltaEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1129
1042
  ...obj,
1130
1043
  ...obj.delta && { delta: ContentBlockDeltaFilterSensitiveLog(obj.delta) }
1131
1044
  }), "ContentBlockDeltaEventFilterSensitiveLog");
1132
1045
  var ConverseStreamOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1133
- if (obj.messageStart !== void 0)
1134
- return { messageStart: obj.messageStart };
1135
- if (obj.contentBlockStart !== void 0)
1136
- return { contentBlockStart: obj.contentBlockStart };
1046
+ if (obj.messageStart !== void 0) return { messageStart: obj.messageStart };
1047
+ if (obj.contentBlockStart !== void 0) return { contentBlockStart: obj.contentBlockStart };
1137
1048
  if (obj.contentBlockDelta !== void 0)
1138
1049
  return { contentBlockDelta: ContentBlockDeltaEventFilterSensitiveLog(obj.contentBlockDelta) };
1139
- if (obj.contentBlockStop !== void 0)
1140
- return { contentBlockStop: obj.contentBlockStop };
1141
- if (obj.messageStop !== void 0)
1142
- return { messageStop: obj.messageStop };
1143
- if (obj.metadata !== void 0)
1144
- return { metadata: obj.metadata };
1145
- if (obj.internalServerException !== void 0)
1146
- return { internalServerException: obj.internalServerException };
1147
- if (obj.modelStreamErrorException !== void 0)
1148
- return { modelStreamErrorException: obj.modelStreamErrorException };
1149
- if (obj.validationException !== void 0)
1150
- return { validationException: obj.validationException };
1151
- if (obj.throttlingException !== void 0)
1152
- return { throttlingException: obj.throttlingException };
1050
+ if (obj.contentBlockStop !== void 0) return { contentBlockStop: obj.contentBlockStop };
1051
+ if (obj.messageStop !== void 0) return { messageStop: obj.messageStop };
1052
+ if (obj.metadata !== void 0) return { metadata: obj.metadata };
1053
+ if (obj.internalServerException !== void 0) return { internalServerException: obj.internalServerException };
1054
+ if (obj.modelStreamErrorException !== void 0) return { modelStreamErrorException: obj.modelStreamErrorException };
1055
+ if (obj.validationException !== void 0) return { validationException: obj.validationException };
1056
+ if (obj.throttlingException !== void 0) return { throttlingException: obj.throttlingException };
1153
1057
  if (obj.serviceUnavailableException !== void 0)
1154
1058
  return { serviceUnavailableException: obj.serviceUnavailableException };
1155
- if (obj.$unknown !== void 0)
1156
- return { [obj.$unknown[0]]: "UNKNOWN" };
1059
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1157
1060
  }, "ConverseStreamOutputFilterSensitiveLog");
1158
1061
  var ConverseStreamResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1159
1062
  ...obj,
@@ -1176,22 +1079,15 @@ var PayloadPartFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1176
1079
  ...obj.bytes && { bytes: import_smithy_client.SENSITIVE_STRING }
1177
1080
  }), "PayloadPartFilterSensitiveLog");
1178
1081
  var ResponseStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1179
- if (obj.chunk !== void 0)
1180
- return { chunk: import_smithy_client.SENSITIVE_STRING };
1181
- if (obj.internalServerException !== void 0)
1182
- return { internalServerException: obj.internalServerException };
1183
- if (obj.modelStreamErrorException !== void 0)
1184
- return { modelStreamErrorException: obj.modelStreamErrorException };
1185
- if (obj.validationException !== void 0)
1186
- return { validationException: obj.validationException };
1187
- if (obj.throttlingException !== void 0)
1188
- return { throttlingException: obj.throttlingException };
1189
- if (obj.modelTimeoutException !== void 0)
1190
- return { modelTimeoutException: obj.modelTimeoutException };
1082
+ if (obj.chunk !== void 0) return { chunk: import_smithy_client.SENSITIVE_STRING };
1083
+ if (obj.internalServerException !== void 0) return { internalServerException: obj.internalServerException };
1084
+ if (obj.modelStreamErrorException !== void 0) return { modelStreamErrorException: obj.modelStreamErrorException };
1085
+ if (obj.validationException !== void 0) return { validationException: obj.validationException };
1086
+ if (obj.throttlingException !== void 0) return { throttlingException: obj.throttlingException };
1087
+ if (obj.modelTimeoutException !== void 0) return { modelTimeoutException: obj.modelTimeoutException };
1191
1088
  if (obj.serviceUnavailableException !== void 0)
1192
1089
  return { serviceUnavailableException: obj.serviceUnavailableException };
1193
- if (obj.$unknown !== void 0)
1194
- return { [obj.$unknown[0]]: "UNKNOWN" };
1090
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1195
1091
  }, "ResponseStreamFilterSensitiveLog");
1196
1092
  var InvokeModelWithResponseStreamResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1197
1093
  ...obj,
@@ -1214,7 +1110,7 @@ var se_ApplyGuardrailCommand = /* @__PURE__ */ __name(async (input, context) =>
1214
1110
  let body;
1215
1111
  body = JSON.stringify(
1216
1112
  (0, import_smithy_client.take)(input, {
1217
- content: (_) => se_GuardrailContentBlockList(_, context),
1113
+ content: /* @__PURE__ */ __name((_) => se_GuardrailContentBlockList(_, context), "content"),
1218
1114
  source: []
1219
1115
  })
1220
1116
  );
@@ -1231,16 +1127,16 @@ var se_ConverseCommand = /* @__PURE__ */ __name(async (input, context) => {
1231
1127
  let body;
1232
1128
  body = JSON.stringify(
1233
1129
  (0, import_smithy_client.take)(input, {
1234
- additionalModelRequestFields: (_) => se_Document(_, context),
1235
- additionalModelResponseFieldPaths: (_) => (0, import_smithy_client._json)(_),
1236
- guardrailConfig: (_) => (0, import_smithy_client._json)(_),
1237
- inferenceConfig: (_) => se_InferenceConfiguration(_, context),
1238
- messages: (_) => se_Messages(_, context),
1239
- performanceConfig: (_) => (0, import_smithy_client._json)(_),
1240
- promptVariables: (_) => (0, import_smithy_client._json)(_),
1241
- requestMetadata: (_) => (0, import_smithy_client._json)(_),
1242
- system: (_) => se_SystemContentBlocks(_, context),
1243
- toolConfig: (_) => se_ToolConfiguration(_, context)
1130
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
1131
+ additionalModelResponseFieldPaths: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "additionalModelResponseFieldPaths"),
1132
+ guardrailConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfig"),
1133
+ inferenceConfig: /* @__PURE__ */ __name((_) => se_InferenceConfiguration(_, context), "inferenceConfig"),
1134
+ messages: /* @__PURE__ */ __name((_) => se_Messages(_, context), "messages"),
1135
+ performanceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "performanceConfig"),
1136
+ promptVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "promptVariables"),
1137
+ requestMetadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "requestMetadata"),
1138
+ system: /* @__PURE__ */ __name((_) => se_SystemContentBlocks(_, context), "system"),
1139
+ toolConfig: /* @__PURE__ */ __name((_) => se_ToolConfiguration(_, context), "toolConfig")
1244
1140
  })
1245
1141
  );
1246
1142
  b.m("POST").h(headers).b(body);
@@ -1256,16 +1152,16 @@ var se_ConverseStreamCommand = /* @__PURE__ */ __name(async (input, context) =>
1256
1152
  let body;
1257
1153
  body = JSON.stringify(
1258
1154
  (0, import_smithy_client.take)(input, {
1259
- additionalModelRequestFields: (_) => se_Document(_, context),
1260
- additionalModelResponseFieldPaths: (_) => (0, import_smithy_client._json)(_),
1261
- guardrailConfig: (_) => (0, import_smithy_client._json)(_),
1262
- inferenceConfig: (_) => se_InferenceConfiguration(_, context),
1263
- messages: (_) => se_Messages(_, context),
1264
- performanceConfig: (_) => (0, import_smithy_client._json)(_),
1265
- promptVariables: (_) => (0, import_smithy_client._json)(_),
1266
- requestMetadata: (_) => (0, import_smithy_client._json)(_),
1267
- system: (_) => se_SystemContentBlocks(_, context),
1268
- toolConfig: (_) => se_ToolConfiguration(_, context)
1155
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
1156
+ additionalModelResponseFieldPaths: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "additionalModelResponseFieldPaths"),
1157
+ guardrailConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfig"),
1158
+ inferenceConfig: /* @__PURE__ */ __name((_) => se_InferenceConfiguration(_, context), "inferenceConfig"),
1159
+ messages: /* @__PURE__ */ __name((_) => se_Messages(_, context), "messages"),
1160
+ performanceConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "performanceConfig"),
1161
+ promptVariables: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "promptVariables"),
1162
+ requestMetadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "requestMetadata"),
1163
+ system: /* @__PURE__ */ __name((_) => se_SystemContentBlocks(_, context), "system"),
1164
+ toolConfig: /* @__PURE__ */ __name((_) => se_ToolConfiguration(_, context), "toolConfig")
1269
1165
  })
1270
1166
  );
1271
1167
  b.m("POST").h(headers).b(body);
@@ -1346,9 +1242,9 @@ var se_StartAsyncInvokeCommand = /* @__PURE__ */ __name(async (input, context) =
1346
1242
  (0, import_smithy_client.take)(input, {
1347
1243
  clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1348
1244
  modelId: [],
1349
- modelInput: (_) => se_ModelInputPayload(_, context),
1350
- outputDataConfig: (_) => (0, import_smithy_client._json)(_),
1351
- tags: (_) => (0, import_smithy_client._json)(_)
1245
+ modelInput: /* @__PURE__ */ __name((_) => se_ModelInputPayload(_, context), "modelInput"),
1246
+ outputDataConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "outputDataConfig"),
1247
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1352
1248
  })
1353
1249
  );
1354
1250
  b.m("POST").h(headers).b(body);
@@ -1364,7 +1260,7 @@ var de_ApplyGuardrailCommand = /* @__PURE__ */ __name(async (output, context) =>
1364
1260
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1365
1261
  const doc = (0, import_smithy_client.take)(data, {
1366
1262
  action: import_smithy_client.expectString,
1367
- assessments: (_) => de_GuardrailAssessmentList(_, context),
1263
+ assessments: /* @__PURE__ */ __name((_) => de_GuardrailAssessmentList(_, context), "assessments"),
1368
1264
  guardrailCoverage: import_smithy_client._json,
1369
1265
  outputs: import_smithy_client._json,
1370
1266
  usage: import_smithy_client._json
@@ -1381,12 +1277,12 @@ var de_ConverseCommand = /* @__PURE__ */ __name(async (output, context) => {
1381
1277
  });
1382
1278
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1383
1279
  const doc = (0, import_smithy_client.take)(data, {
1384
- additionalModelResponseFields: (_) => de_Document(_, context),
1280
+ additionalModelResponseFields: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalModelResponseFields"),
1385
1281
  metrics: import_smithy_client._json,
1386
- output: (_) => de_ConverseOutput((0, import_core2.awsExpectUnion)(_), context),
1282
+ output: /* @__PURE__ */ __name((_) => de_ConverseOutput((0, import_core2.awsExpectUnion)(_), context), "output"),
1387
1283
  performanceConfig: import_smithy_client._json,
1388
1284
  stopReason: import_smithy_client.expectString,
1389
- trace: (_) => de_ConverseTrace(_, context),
1285
+ trace: /* @__PURE__ */ __name((_) => de_ConverseTrace(_, context), "trace"),
1390
1286
  usage: import_smithy_client._json
1391
1287
  });
1392
1288
  Object.assign(contents, doc);
@@ -1413,14 +1309,14 @@ var de_GetAsyncInvokeCommand = /* @__PURE__ */ __name(async (output, context) =>
1413
1309
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1414
1310
  const doc = (0, import_smithy_client.take)(data, {
1415
1311
  clientRequestToken: import_smithy_client.expectString,
1416
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1312
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
1417
1313
  failureMessage: import_smithy_client.expectString,
1418
1314
  invocationArn: import_smithy_client.expectString,
1419
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1315
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
1420
1316
  modelArn: import_smithy_client.expectString,
1421
- outputDataConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
1317
+ outputDataConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "outputDataConfig"),
1422
1318
  status: import_smithy_client.expectString,
1423
- submitTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
1319
+ submitTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "submitTime")
1424
1320
  });
1425
1321
  Object.assign(contents, doc);
1426
1322
  return contents;
@@ -1460,7 +1356,7 @@ var de_ListAsyncInvokesCommand = /* @__PURE__ */ __name(async (output, context)
1460
1356
  });
1461
1357
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
1462
1358
  const doc = (0, import_smithy_client.take)(data, {
1463
- asyncInvokeSummaries: (_) => de_AsyncInvokeSummaries(_, context),
1359
+ asyncInvokeSummaries: /* @__PURE__ */ __name((_) => de_AsyncInvokeSummaries(_, context), "asyncInvokeSummaries"),
1464
1360
  nextToken: import_smithy_client.expectString
1465
1361
  });
1466
1362
  Object.assign(contents, doc);
@@ -1891,15 +1787,15 @@ var de_ValidationException_event = /* @__PURE__ */ __name(async (output, context
1891
1787
  }, "de_ValidationException_event");
1892
1788
  var se_ContentBlock = /* @__PURE__ */ __name((input, context) => {
1893
1789
  return ContentBlock.visit(input, {
1894
- document: (value) => ({ document: se_DocumentBlock(value, context) }),
1895
- guardContent: (value) => ({ guardContent: se_GuardrailConverseContentBlock(value, context) }),
1896
- image: (value) => ({ image: se_ImageBlock(value, context) }),
1897
- reasoningContent: (value) => ({ reasoningContent: se_ReasoningContentBlock(value, context) }),
1898
- text: (value) => ({ text: value }),
1899
- toolResult: (value) => ({ toolResult: se_ToolResultBlock(value, context) }),
1900
- toolUse: (value) => ({ toolUse: se_ToolUseBlock(value, context) }),
1901
- video: (value) => ({ video: se_VideoBlock(value, context) }),
1902
- _: (name, value) => ({ [name]: value })
1790
+ document: /* @__PURE__ */ __name((value) => ({ document: se_DocumentBlock(value, context) }), "document"),
1791
+ guardContent: /* @__PURE__ */ __name((value) => ({ guardContent: se_GuardrailConverseContentBlock(value, context) }), "guardContent"),
1792
+ image: /* @__PURE__ */ __name((value) => ({ image: se_ImageBlock(value, context) }), "image"),
1793
+ reasoningContent: /* @__PURE__ */ __name((value) => ({ reasoningContent: se_ReasoningContentBlock(value, context) }), "reasoningContent"),
1794
+ text: /* @__PURE__ */ __name((value) => ({ text: value }), "text"),
1795
+ toolResult: /* @__PURE__ */ __name((value) => ({ toolResult: se_ToolResultBlock(value, context) }), "toolResult"),
1796
+ toolUse: /* @__PURE__ */ __name((value) => ({ toolUse: se_ToolUseBlock(value, context) }), "toolUse"),
1797
+ video: /* @__PURE__ */ __name((value) => ({ video: se_VideoBlock(value, context) }), "video"),
1798
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1903
1799
  });
1904
1800
  }, "se_ContentBlock");
1905
1801
  var se_ContentBlocks = /* @__PURE__ */ __name((input, context) => {
@@ -1911,20 +1807,20 @@ var se_DocumentBlock = /* @__PURE__ */ __name((input, context) => {
1911
1807
  return (0, import_smithy_client.take)(input, {
1912
1808
  format: [],
1913
1809
  name: [],
1914
- source: (_) => se_DocumentSource(_, context)
1810
+ source: /* @__PURE__ */ __name((_) => se_DocumentSource(_, context), "source")
1915
1811
  });
1916
1812
  }, "se_DocumentBlock");
1917
1813
  var se_DocumentSource = /* @__PURE__ */ __name((input, context) => {
1918
1814
  return DocumentSource.visit(input, {
1919
- bytes: (value) => ({ bytes: context.base64Encoder(value) }),
1920
- _: (name, value) => ({ [name]: value })
1815
+ bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
1816
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1921
1817
  });
1922
1818
  }, "se_DocumentSource");
1923
1819
  var se_GuardrailContentBlock = /* @__PURE__ */ __name((input, context) => {
1924
1820
  return GuardrailContentBlock.visit(input, {
1925
- image: (value) => ({ image: se_GuardrailImageBlock(value, context) }),
1926
- text: (value) => ({ text: (0, import_smithy_client._json)(value) }),
1927
- _: (name, value) => ({ [name]: value })
1821
+ image: /* @__PURE__ */ __name((value) => ({ image: se_GuardrailImageBlock(value, context) }), "image"),
1822
+ text: /* @__PURE__ */ __name((value) => ({ text: (0, import_smithy_client._json)(value) }), "text"),
1823
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1928
1824
  });
1929
1825
  }, "se_GuardrailContentBlock");
1930
1826
  var se_GuardrailContentBlockList = /* @__PURE__ */ __name((input, context) => {
@@ -1934,45 +1830,45 @@ var se_GuardrailContentBlockList = /* @__PURE__ */ __name((input, context) => {
1934
1830
  }, "se_GuardrailContentBlockList");
1935
1831
  var se_GuardrailConverseContentBlock = /* @__PURE__ */ __name((input, context) => {
1936
1832
  return GuardrailConverseContentBlock.visit(input, {
1937
- image: (value) => ({ image: se_GuardrailConverseImageBlock(value, context) }),
1938
- text: (value) => ({ text: (0, import_smithy_client._json)(value) }),
1939
- _: (name, value) => ({ [name]: value })
1833
+ image: /* @__PURE__ */ __name((value) => ({ image: se_GuardrailConverseImageBlock(value, context) }), "image"),
1834
+ text: /* @__PURE__ */ __name((value) => ({ text: (0, import_smithy_client._json)(value) }), "text"),
1835
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1940
1836
  });
1941
1837
  }, "se_GuardrailConverseContentBlock");
1942
1838
  var se_GuardrailConverseImageBlock = /* @__PURE__ */ __name((input, context) => {
1943
1839
  return (0, import_smithy_client.take)(input, {
1944
1840
  format: [],
1945
- source: (_) => se_GuardrailConverseImageSource(_, context)
1841
+ source: /* @__PURE__ */ __name((_) => se_GuardrailConverseImageSource(_, context), "source")
1946
1842
  });
1947
1843
  }, "se_GuardrailConverseImageBlock");
1948
1844
  var se_GuardrailConverseImageSource = /* @__PURE__ */ __name((input, context) => {
1949
1845
  return GuardrailConverseImageSource.visit(input, {
1950
- bytes: (value) => ({ bytes: context.base64Encoder(value) }),
1951
- _: (name, value) => ({ [name]: value })
1846
+ bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
1847
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1952
1848
  });
1953
1849
  }, "se_GuardrailConverseImageSource");
1954
1850
  var se_GuardrailImageBlock = /* @__PURE__ */ __name((input, context) => {
1955
1851
  return (0, import_smithy_client.take)(input, {
1956
1852
  format: [],
1957
- source: (_) => se_GuardrailImageSource(_, context)
1853
+ source: /* @__PURE__ */ __name((_) => se_GuardrailImageSource(_, context), "source")
1958
1854
  });
1959
1855
  }, "se_GuardrailImageBlock");
1960
1856
  var se_GuardrailImageSource = /* @__PURE__ */ __name((input, context) => {
1961
1857
  return GuardrailImageSource.visit(input, {
1962
- bytes: (value) => ({ bytes: context.base64Encoder(value) }),
1963
- _: (name, value) => ({ [name]: value })
1858
+ bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
1859
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1964
1860
  });
1965
1861
  }, "se_GuardrailImageSource");
1966
1862
  var se_ImageBlock = /* @__PURE__ */ __name((input, context) => {
1967
1863
  return (0, import_smithy_client.take)(input, {
1968
1864
  format: [],
1969
- source: (_) => se_ImageSource(_, context)
1865
+ source: /* @__PURE__ */ __name((_) => se_ImageSource(_, context), "source")
1970
1866
  });
1971
1867
  }, "se_ImageBlock");
1972
1868
  var se_ImageSource = /* @__PURE__ */ __name((input, context) => {
1973
1869
  return ImageSource.visit(input, {
1974
- bytes: (value) => ({ bytes: context.base64Encoder(value) }),
1975
- _: (name, value) => ({ [name]: value })
1870
+ bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
1871
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
1976
1872
  });
1977
1873
  }, "se_ImageSource");
1978
1874
  var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
@@ -1985,7 +1881,7 @@ var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
1985
1881
  }, "se_InferenceConfiguration");
1986
1882
  var se_Message = /* @__PURE__ */ __name((input, context) => {
1987
1883
  return (0, import_smithy_client.take)(input, {
1988
- content: (_) => se_ContentBlocks(_, context),
1884
+ content: /* @__PURE__ */ __name((_) => se_ContentBlocks(_, context), "content"),
1989
1885
  role: []
1990
1886
  });
1991
1887
  }, "se_Message");
@@ -1999,16 +1895,16 @@ var se_ModelInputPayload = /* @__PURE__ */ __name((input, context) => {
1999
1895
  }, "se_ModelInputPayload");
2000
1896
  var se_ReasoningContentBlock = /* @__PURE__ */ __name((input, context) => {
2001
1897
  return ReasoningContentBlock.visit(input, {
2002
- reasoningText: (value) => ({ reasoningText: (0, import_smithy_client._json)(value) }),
2003
- redactedContent: (value) => ({ redactedContent: context.base64Encoder(value) }),
2004
- _: (name, value) => ({ [name]: value })
1898
+ reasoningText: /* @__PURE__ */ __name((value) => ({ reasoningText: (0, import_smithy_client._json)(value) }), "reasoningText"),
1899
+ redactedContent: /* @__PURE__ */ __name((value) => ({ redactedContent: context.base64Encoder(value) }), "redactedContent"),
1900
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
2005
1901
  });
2006
1902
  }, "se_ReasoningContentBlock");
2007
1903
  var se_SystemContentBlock = /* @__PURE__ */ __name((input, context) => {
2008
1904
  return SystemContentBlock.visit(input, {
2009
- guardContent: (value) => ({ guardContent: se_GuardrailConverseContentBlock(value, context) }),
2010
- text: (value) => ({ text: value }),
2011
- _: (name, value) => ({ [name]: value })
1905
+ guardContent: /* @__PURE__ */ __name((value) => ({ guardContent: se_GuardrailConverseContentBlock(value, context) }), "guardContent"),
1906
+ text: /* @__PURE__ */ __name((value) => ({ text: value }), "text"),
1907
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
2012
1908
  });
2013
1909
  }, "se_SystemContentBlock");
2014
1910
  var se_SystemContentBlocks = /* @__PURE__ */ __name((input, context) => {
@@ -2018,37 +1914,37 @@ var se_SystemContentBlocks = /* @__PURE__ */ __name((input, context) => {
2018
1914
  }, "se_SystemContentBlocks");
2019
1915
  var se_Tool = /* @__PURE__ */ __name((input, context) => {
2020
1916
  return Tool.visit(input, {
2021
- toolSpec: (value) => ({ toolSpec: se_ToolSpecification(value, context) }),
2022
- _: (name, value) => ({ [name]: value })
1917
+ toolSpec: /* @__PURE__ */ __name((value) => ({ toolSpec: se_ToolSpecification(value, context) }), "toolSpec"),
1918
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
2023
1919
  });
2024
1920
  }, "se_Tool");
2025
1921
  var se_ToolConfiguration = /* @__PURE__ */ __name((input, context) => {
2026
1922
  return (0, import_smithy_client.take)(input, {
2027
1923
  toolChoice: import_smithy_client._json,
2028
- tools: (_) => se_Tools(_, context)
1924
+ tools: /* @__PURE__ */ __name((_) => se_Tools(_, context), "tools")
2029
1925
  });
2030
1926
  }, "se_ToolConfiguration");
2031
1927
  var se_ToolInputSchema = /* @__PURE__ */ __name((input, context) => {
2032
1928
  return ToolInputSchema.visit(input, {
2033
- json: (value) => ({ json: se_Document(value, context) }),
2034
- _: (name, value) => ({ [name]: value })
1929
+ json: /* @__PURE__ */ __name((value) => ({ json: se_Document(value, context) }), "json"),
1930
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
2035
1931
  });
2036
1932
  }, "se_ToolInputSchema");
2037
1933
  var se_ToolResultBlock = /* @__PURE__ */ __name((input, context) => {
2038
1934
  return (0, import_smithy_client.take)(input, {
2039
- content: (_) => se_ToolResultContentBlocks(_, context),
1935
+ content: /* @__PURE__ */ __name((_) => se_ToolResultContentBlocks(_, context), "content"),
2040
1936
  status: [],
2041
1937
  toolUseId: []
2042
1938
  });
2043
1939
  }, "se_ToolResultBlock");
2044
1940
  var se_ToolResultContentBlock = /* @__PURE__ */ __name((input, context) => {
2045
1941
  return ToolResultContentBlock.visit(input, {
2046
- document: (value) => ({ document: se_DocumentBlock(value, context) }),
2047
- image: (value) => ({ image: se_ImageBlock(value, context) }),
2048
- json: (value) => ({ json: se_Document(value, context) }),
2049
- text: (value) => ({ text: value }),
2050
- video: (value) => ({ video: se_VideoBlock(value, context) }),
2051
- _: (name, value) => ({ [name]: value })
1942
+ document: /* @__PURE__ */ __name((value) => ({ document: se_DocumentBlock(value, context) }), "document"),
1943
+ image: /* @__PURE__ */ __name((value) => ({ image: se_ImageBlock(value, context) }), "image"),
1944
+ json: /* @__PURE__ */ __name((value) => ({ json: se_Document(value, context) }), "json"),
1945
+ text: /* @__PURE__ */ __name((value) => ({ text: value }), "text"),
1946
+ video: /* @__PURE__ */ __name((value) => ({ video: se_VideoBlock(value, context) }), "video"),
1947
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
2052
1948
  });
2053
1949
  }, "se_ToolResultContentBlock");
2054
1950
  var se_ToolResultContentBlocks = /* @__PURE__ */ __name((input, context) => {
@@ -2064,13 +1960,13 @@ var se_Tools = /* @__PURE__ */ __name((input, context) => {
2064
1960
  var se_ToolSpecification = /* @__PURE__ */ __name((input, context) => {
2065
1961
  return (0, import_smithy_client.take)(input, {
2066
1962
  description: [],
2067
- inputSchema: (_) => se_ToolInputSchema(_, context),
1963
+ inputSchema: /* @__PURE__ */ __name((_) => se_ToolInputSchema(_, context), "inputSchema"),
2068
1964
  name: []
2069
1965
  });
2070
1966
  }, "se_ToolSpecification");
2071
1967
  var se_ToolUseBlock = /* @__PURE__ */ __name((input, context) => {
2072
1968
  return (0, import_smithy_client.take)(input, {
2073
- input: (_) => se_Document(_, context),
1969
+ input: /* @__PURE__ */ __name((_) => se_Document(_, context), "input"),
2074
1970
  name: [],
2075
1971
  toolUseId: []
2076
1972
  });
@@ -2078,14 +1974,14 @@ var se_ToolUseBlock = /* @__PURE__ */ __name((input, context) => {
2078
1974
  var se_VideoBlock = /* @__PURE__ */ __name((input, context) => {
2079
1975
  return (0, import_smithy_client.take)(input, {
2080
1976
  format: [],
2081
- source: (_) => se_VideoSource(_, context)
1977
+ source: /* @__PURE__ */ __name((_) => se_VideoSource(_, context), "source")
2082
1978
  });
2083
1979
  }, "se_VideoBlock");
2084
1980
  var se_VideoSource = /* @__PURE__ */ __name((input, context) => {
2085
1981
  return VideoSource.visit(input, {
2086
- bytes: (value) => ({ bytes: context.base64Encoder(value) }),
2087
- s3Location: (value) => ({ s3Location: (0, import_smithy_client._json)(value) }),
2088
- _: (name, value) => ({ [name]: value })
1982
+ bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
1983
+ s3Location: /* @__PURE__ */ __name((value) => ({ s3Location: (0, import_smithy_client._json)(value) }), "s3Location"),
1984
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
2089
1985
  });
2090
1986
  }, "se_VideoSource");
2091
1987
  var se_Document = /* @__PURE__ */ __name((input, context) => {
@@ -2100,14 +1996,14 @@ var de_AsyncInvokeSummaries = /* @__PURE__ */ __name((output, context) => {
2100
1996
  var de_AsyncInvokeSummary = /* @__PURE__ */ __name((output, context) => {
2101
1997
  return (0, import_smithy_client.take)(output, {
2102
1998
  clientRequestToken: import_smithy_client.expectString,
2103
- endTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
1999
+ endTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endTime"),
2104
2000
  failureMessage: import_smithy_client.expectString,
2105
2001
  invocationArn: import_smithy_client.expectString,
2106
- lastModifiedTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2002
+ lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
2107
2003
  modelArn: import_smithy_client.expectString,
2108
- outputDataConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
2004
+ outputDataConfig: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "outputDataConfig"),
2109
2005
  status: import_smithy_client.expectString,
2110
- submitTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2006
+ submitTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "submitTime")
2111
2007
  });
2112
2008
  }, "de_AsyncInvokeSummary");
2113
2009
  var de_ContentBlock = /* @__PURE__ */ __name((output, context) => {
@@ -2170,7 +2066,7 @@ var de_ContentBlockDelta = /* @__PURE__ */ __name((output, context) => {
2170
2066
  var de_ContentBlockDeltaEvent = /* @__PURE__ */ __name((output, context) => {
2171
2067
  return (0, import_smithy_client.take)(output, {
2172
2068
  contentBlockIndex: import_smithy_client.expectInt32,
2173
- delta: (_) => de_ContentBlockDelta((0, import_core2.awsExpectUnion)(_), context)
2069
+ delta: /* @__PURE__ */ __name((_) => de_ContentBlockDelta((0, import_core2.awsExpectUnion)(_), context), "delta")
2174
2070
  });
2175
2071
  }, "de_ContentBlockDeltaEvent");
2176
2072
  var de_ContentBlocks = /* @__PURE__ */ __name((output, context) => {
@@ -2191,19 +2087,19 @@ var de_ConverseStreamMetadataEvent = /* @__PURE__ */ __name((output, context) =>
2191
2087
  return (0, import_smithy_client.take)(output, {
2192
2088
  metrics: import_smithy_client._json,
2193
2089
  performanceConfig: import_smithy_client._json,
2194
- trace: (_) => de_ConverseStreamTrace(_, context),
2090
+ trace: /* @__PURE__ */ __name((_) => de_ConverseStreamTrace(_, context), "trace"),
2195
2091
  usage: import_smithy_client._json
2196
2092
  });
2197
2093
  }, "de_ConverseStreamMetadataEvent");
2198
2094
  var de_ConverseStreamTrace = /* @__PURE__ */ __name((output, context) => {
2199
2095
  return (0, import_smithy_client.take)(output, {
2200
- guardrail: (_) => de_GuardrailTraceAssessment(_, context),
2096
+ guardrail: /* @__PURE__ */ __name((_) => de_GuardrailTraceAssessment(_, context), "guardrail"),
2201
2097
  promptRouter: import_smithy_client._json
2202
2098
  });
2203
2099
  }, "de_ConverseStreamTrace");
2204
2100
  var de_ConverseTrace = /* @__PURE__ */ __name((output, context) => {
2205
2101
  return (0, import_smithy_client.take)(output, {
2206
- guardrail: (_) => de_GuardrailTraceAssessment(_, context),
2102
+ guardrail: /* @__PURE__ */ __name((_) => de_GuardrailTraceAssessment(_, context), "guardrail"),
2207
2103
  promptRouter: import_smithy_client._json
2208
2104
  });
2209
2105
  }, "de_ConverseTrace");
@@ -2211,7 +2107,7 @@ var de_DocumentBlock = /* @__PURE__ */ __name((output, context) => {
2211
2107
  return (0, import_smithy_client.take)(output, {
2212
2108
  format: import_smithy_client.expectString,
2213
2109
  name: import_smithy_client.expectString,
2214
- source: (_) => de_DocumentSource((0, import_core2.awsExpectUnion)(_), context)
2110
+ source: /* @__PURE__ */ __name((_) => de_DocumentSource((0, import_core2.awsExpectUnion)(_), context), "source")
2215
2111
  });
2216
2112
  }, "de_DocumentBlock");
2217
2113
  var de_DocumentSource = /* @__PURE__ */ __name((output, context) => {
@@ -2225,7 +2121,7 @@ var de_DocumentSource = /* @__PURE__ */ __name((output, context) => {
2225
2121
  var de_GuardrailAssessment = /* @__PURE__ */ __name((output, context) => {
2226
2122
  return (0, import_smithy_client.take)(output, {
2227
2123
  contentPolicy: import_smithy_client._json,
2228
- contextualGroundingPolicy: (_) => de_GuardrailContextualGroundingPolicyAssessment(_, context),
2124
+ contextualGroundingPolicy: /* @__PURE__ */ __name((_) => de_GuardrailContextualGroundingPolicyAssessment(_, context), "contextualGroundingPolicy"),
2229
2125
  invocationMetrics: import_smithy_client._json,
2230
2126
  sensitiveInformationPolicy: import_smithy_client._json,
2231
2127
  topicPolicy: import_smithy_client._json,
@@ -2272,7 +2168,7 @@ var de_GuardrailContextualGroundingFilters = /* @__PURE__ */ __name((output, con
2272
2168
  }, "de_GuardrailContextualGroundingFilters");
2273
2169
  var de_GuardrailContextualGroundingPolicyAssessment = /* @__PURE__ */ __name((output, context) => {
2274
2170
  return (0, import_smithy_client.take)(output, {
2275
- filters: (_) => de_GuardrailContextualGroundingFilters(_, context)
2171
+ filters: /* @__PURE__ */ __name((_) => de_GuardrailContextualGroundingFilters(_, context), "filters")
2276
2172
  });
2277
2173
  }, "de_GuardrailContextualGroundingPolicyAssessment");
2278
2174
  var de_GuardrailConverseContentBlock = /* @__PURE__ */ __name((output, context) => {
@@ -2291,7 +2187,7 @@ var de_GuardrailConverseContentBlock = /* @__PURE__ */ __name((output, context)
2291
2187
  var de_GuardrailConverseImageBlock = /* @__PURE__ */ __name((output, context) => {
2292
2188
  return (0, import_smithy_client.take)(output, {
2293
2189
  format: import_smithy_client.expectString,
2294
- source: (_) => de_GuardrailConverseImageSource((0, import_core2.awsExpectUnion)(_), context)
2190
+ source: /* @__PURE__ */ __name((_) => de_GuardrailConverseImageSource((0, import_core2.awsExpectUnion)(_), context), "source")
2295
2191
  });
2296
2192
  }, "de_GuardrailConverseImageBlock");
2297
2193
  var de_GuardrailConverseImageSource = /* @__PURE__ */ __name((output, context) => {
@@ -2304,15 +2200,15 @@ var de_GuardrailConverseImageSource = /* @__PURE__ */ __name((output, context) =
2304
2200
  }, "de_GuardrailConverseImageSource");
2305
2201
  var de_GuardrailTraceAssessment = /* @__PURE__ */ __name((output, context) => {
2306
2202
  return (0, import_smithy_client.take)(output, {
2307
- inputAssessment: (_) => de_GuardrailAssessmentMap(_, context),
2203
+ inputAssessment: /* @__PURE__ */ __name((_) => de_GuardrailAssessmentMap(_, context), "inputAssessment"),
2308
2204
  modelOutput: import_smithy_client._json,
2309
- outputAssessments: (_) => de_GuardrailAssessmentListMap(_, context)
2205
+ outputAssessments: /* @__PURE__ */ __name((_) => de_GuardrailAssessmentListMap(_, context), "outputAssessments")
2310
2206
  });
2311
2207
  }, "de_GuardrailTraceAssessment");
2312
2208
  var de_ImageBlock = /* @__PURE__ */ __name((output, context) => {
2313
2209
  return (0, import_smithy_client.take)(output, {
2314
2210
  format: import_smithy_client.expectString,
2315
- source: (_) => de_ImageSource((0, import_core2.awsExpectUnion)(_), context)
2211
+ source: /* @__PURE__ */ __name((_) => de_ImageSource((0, import_core2.awsExpectUnion)(_), context), "source")
2316
2212
  });
2317
2213
  }, "de_ImageBlock");
2318
2214
  var de_ImageSource = /* @__PURE__ */ __name((output, context) => {
@@ -2325,13 +2221,13 @@ var de_ImageSource = /* @__PURE__ */ __name((output, context) => {
2325
2221
  }, "de_ImageSource");
2326
2222
  var de_Message = /* @__PURE__ */ __name((output, context) => {
2327
2223
  return (0, import_smithy_client.take)(output, {
2328
- content: (_) => de_ContentBlocks(_, context),
2224
+ content: /* @__PURE__ */ __name((_) => de_ContentBlocks(_, context), "content"),
2329
2225
  role: import_smithy_client.expectString
2330
2226
  });
2331
2227
  }, "de_Message");
2332
2228
  var de_MessageStopEvent = /* @__PURE__ */ __name((output, context) => {
2333
2229
  return (0, import_smithy_client.take)(output, {
2334
- additionalModelResponseFields: (_) => de_Document(_, context),
2230
+ additionalModelResponseFields: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalModelResponseFields"),
2335
2231
  stopReason: import_smithy_client.expectString
2336
2232
  });
2337
2233
  }, "de_MessageStopEvent");
@@ -2369,7 +2265,7 @@ var de_ReasoningContentBlockDelta = /* @__PURE__ */ __name((output, context) =>
2369
2265
  }, "de_ReasoningContentBlockDelta");
2370
2266
  var de_ToolResultBlock = /* @__PURE__ */ __name((output, context) => {
2371
2267
  return (0, import_smithy_client.take)(output, {
2372
- content: (_) => de_ToolResultContentBlocks(_, context),
2268
+ content: /* @__PURE__ */ __name((_) => de_ToolResultContentBlocks(_, context), "content"),
2373
2269
  status: import_smithy_client.expectString,
2374
2270
  toolUseId: import_smithy_client.expectString
2375
2271
  });
@@ -2408,7 +2304,7 @@ var de_ToolResultContentBlocks = /* @__PURE__ */ __name((output, context) => {
2408
2304
  }, "de_ToolResultContentBlocks");
2409
2305
  var de_ToolUseBlock = /* @__PURE__ */ __name((output, context) => {
2410
2306
  return (0, import_smithy_client.take)(output, {
2411
- input: (_) => de_Document(_, context),
2307
+ input: /* @__PURE__ */ __name((_) => de_Document(_, context), "input"),
2412
2308
  name: import_smithy_client.expectString,
2413
2309
  toolUseId: import_smithy_client.expectString
2414
2310
  });
@@ -2416,7 +2312,7 @@ var de_ToolUseBlock = /* @__PURE__ */ __name((output, context) => {
2416
2312
  var de_VideoBlock = /* @__PURE__ */ __name((output, context) => {
2417
2313
  return (0, import_smithy_client.take)(output, {
2418
2314
  format: import_smithy_client.expectString,
2419
- source: (_) => de_VideoSource((0, import_core2.awsExpectUnion)(_), context)
2315
+ source: /* @__PURE__ */ __name((_) => de_VideoSource((0, import_core2.awsExpectUnion)(_), context), "source")
2420
2316
  });
2421
2317
  }, "de_VideoBlock");
2422
2318
  var de_VideoSource = /* @__PURE__ */ __name((output, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-bedrock-runtime",
3
3
  "description": "AWS SDK for JavaScript Bedrock Runtime Client for Node.js, Browser and React Native",
4
- "version": "3.758.0",
4
+ "version": "3.772.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock-runtime",
@@ -21,10 +21,10 @@
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
23
  "@aws-sdk/core": "3.758.0",
24
- "@aws-sdk/credential-provider-node": "3.758.0",
24
+ "@aws-sdk/credential-provider-node": "3.772.0",
25
25
  "@aws-sdk/middleware-host-header": "3.734.0",
26
26
  "@aws-sdk/middleware-logger": "3.734.0",
27
- "@aws-sdk/middleware-recursion-detection": "3.734.0",
27
+ "@aws-sdk/middleware-recursion-detection": "3.772.0",
28
28
  "@aws-sdk/middleware-user-agent": "3.758.0",
29
29
  "@aws-sdk/region-config-resolver": "3.734.0",
30
30
  "@aws-sdk/types": "3.734.0",