@aws-sdk/client-bedrock-agent-runtime 3.765.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 +415 -651
  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
  APISchema: () => APISchema,
25
25
  APISchemaFilterSensitiveLog: () => APISchemaFilterSensitiveLog,
26
26
  AccessDeniedException: () => AccessDeniedException,
@@ -320,7 +320,7 @@ __export(src_exports, {
320
320
  paginateRerank: () => paginateRerank,
321
321
  paginateRetrieve: () => paginateRetrieve
322
322
  });
323
- module.exports = __toCommonJS(src_exports);
323
+ module.exports = __toCommonJS(index_exports);
324
324
 
325
325
  // src/BedrockAgentRuntimeClient.ts
326
326
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -449,9 +449,9 @@ var BedrockAgentRuntimeClient = class extends import_smithy_client.Client {
449
449
  this.middlewareStack.use(
450
450
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
451
451
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultBedrockAgentRuntimeHttpAuthSchemeParametersProvider,
452
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
452
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
453
453
  "aws.auth#sigv4": config.credentials
454
- })
454
+ }), "identityProviderConfigProvider")
455
455
  })
456
456
  );
457
457
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -520,10 +520,8 @@ var CustomControlMethod = {
520
520
  var ActionGroupExecutor;
521
521
  ((ActionGroupExecutor3) => {
522
522
  ActionGroupExecutor3.visit = /* @__PURE__ */ __name((value, visitor) => {
523
- if (value.lambda !== void 0)
524
- return visitor.lambda(value.lambda);
525
- if (value.customControl !== void 0)
526
- return visitor.customControl(value.customControl);
523
+ if (value.lambda !== void 0) return visitor.lambda(value.lambda);
524
+ if (value.customControl !== void 0) return visitor.customControl(value.customControl);
527
525
  return visitor._(value.$unknown[0], value.$unknown[1]);
528
526
  }, "visit");
529
527
  })(ActionGroupExecutor || (ActionGroupExecutor = {}));
@@ -546,10 +544,8 @@ var ActionInvocationType = {
546
544
  var APISchema;
547
545
  ((APISchema3) => {
548
546
  APISchema3.visit = /* @__PURE__ */ __name((value, visitor) => {
549
- if (value.s3 !== void 0)
550
- return visitor.s3(value.s3);
551
- if (value.payload !== void 0)
552
- return visitor.payload(value.payload);
547
+ if (value.s3 !== void 0) return visitor.s3(value.s3);
548
+ if (value.payload !== void 0) return visitor.payload(value.payload);
553
549
  return visitor._(value.$unknown[0], value.$unknown[1]);
554
550
  }, "visit");
555
551
  })(APISchema || (APISchema = {}));
@@ -567,8 +563,7 @@ var RequireConfirmation = {
567
563
  var FunctionSchema;
568
564
  ((FunctionSchema3) => {
569
565
  FunctionSchema3.visit = /* @__PURE__ */ __name((value, visitor) => {
570
- if (value.functions !== void 0)
571
- return visitor.functions(value.functions);
566
+ if (value.functions !== void 0) return visitor.functions(value.functions);
572
567
  return visitor._(value.$unknown[0], value.$unknown[1]);
573
568
  }, "visit");
574
569
  })(FunctionSchema || (FunctionSchema = {}));
@@ -590,8 +585,7 @@ var ImageInputFormat = {
590
585
  var ImageInputSource;
591
586
  ((ImageInputSource2) => {
592
587
  ImageInputSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
593
- if (value.bytes !== void 0)
594
- return visitor.bytes(value.bytes);
588
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
595
589
  return visitor._(value.$unknown[0], value.$unknown[1]);
596
590
  }, "visit");
597
591
  })(ImageInputSource || (ImageInputSource = {}));
@@ -602,10 +596,8 @@ var ResponseState = {
602
596
  var InvocationResultMember;
603
597
  ((InvocationResultMember3) => {
604
598
  InvocationResultMember3.visit = /* @__PURE__ */ __name((value, visitor) => {
605
- if (value.apiResult !== void 0)
606
- return visitor.apiResult(value.apiResult);
607
- if (value.functionResult !== void 0)
608
- return visitor.functionResult(value.functionResult);
599
+ if (value.apiResult !== void 0) return visitor.apiResult(value.apiResult);
600
+ if (value.functionResult !== void 0) return visitor.functionResult(value.functionResult);
609
601
  return visitor._(value.$unknown[0], value.$unknown[1]);
610
602
  }, "visit");
611
603
  })(InvocationResultMember || (InvocationResultMember = {}));
@@ -616,8 +608,7 @@ var PayloadType = {
616
608
  var InvocationInputMember;
617
609
  ((InvocationInputMember2) => {
618
610
  InvocationInputMember2.visit = /* @__PURE__ */ __name((value, visitor) => {
619
- if (value.apiInvocationInput !== void 0)
620
- return visitor.apiInvocationInput(value.apiInvocationInput);
611
+ if (value.apiInvocationInput !== void 0) return visitor.apiInvocationInput(value.apiInvocationInput);
621
612
  if (value.functionInvocationInput !== void 0)
622
613
  return visitor.functionInvocationInput(value.functionInvocationInput);
623
614
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -716,8 +707,7 @@ var InternalServerException = class _InternalServerException extends BedrockAgen
716
707
  var FlowInputContent;
717
708
  ((FlowInputContent2) => {
718
709
  FlowInputContent2.visit = /* @__PURE__ */ __name((value, visitor) => {
719
- if (value.document !== void 0)
720
- return visitor.document(value.document);
710
+ if (value.document !== void 0) return visitor.document(value.document);
721
711
  return visitor._(value.$unknown[0], value.$unknown[1]);
722
712
  }, "visit");
723
713
  })(FlowInputContent || (FlowInputContent = {}));
@@ -732,8 +722,7 @@ var FlowCompletionReason = {
732
722
  var FlowMultiTurnInputContent;
733
723
  ((FlowMultiTurnInputContent3) => {
734
724
  FlowMultiTurnInputContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
735
- if (value.document !== void 0)
736
- return visitor.document(value.document);
725
+ if (value.document !== void 0) return visitor.document(value.document);
737
726
  return visitor._(value.$unknown[0], value.$unknown[1]);
738
727
  }, "visit");
739
728
  })(FlowMultiTurnInputContent || (FlowMultiTurnInputContent = {}));
@@ -749,34 +738,29 @@ var NodeType = {
749
738
  var FlowOutputContent;
750
739
  ((FlowOutputContent3) => {
751
740
  FlowOutputContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
752
- if (value.document !== void 0)
753
- return visitor.document(value.document);
741
+ if (value.document !== void 0) return visitor.document(value.document);
754
742
  return visitor._(value.$unknown[0], value.$unknown[1]);
755
743
  }, "visit");
756
744
  })(FlowOutputContent || (FlowOutputContent = {}));
757
745
  var FlowTraceNodeInputContent;
758
746
  ((FlowTraceNodeInputContent3) => {
759
747
  FlowTraceNodeInputContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
760
- if (value.document !== void 0)
761
- return visitor.document(value.document);
748
+ if (value.document !== void 0) return visitor.document(value.document);
762
749
  return visitor._(value.$unknown[0], value.$unknown[1]);
763
750
  }, "visit");
764
751
  })(FlowTraceNodeInputContent || (FlowTraceNodeInputContent = {}));
765
752
  var FlowTraceNodeOutputContent;
766
753
  ((FlowTraceNodeOutputContent3) => {
767
754
  FlowTraceNodeOutputContent3.visit = /* @__PURE__ */ __name((value, visitor) => {
768
- if (value.document !== void 0)
769
- return visitor.document(value.document);
755
+ if (value.document !== void 0) return visitor.document(value.document);
770
756
  return visitor._(value.$unknown[0], value.$unknown[1]);
771
757
  }, "visit");
772
758
  })(FlowTraceNodeOutputContent || (FlowTraceNodeOutputContent = {}));
773
759
  var FlowTrace;
774
760
  ((FlowTrace3) => {
775
761
  FlowTrace3.visit = /* @__PURE__ */ __name((value, visitor) => {
776
- if (value.nodeInputTrace !== void 0)
777
- return visitor.nodeInputTrace(value.nodeInputTrace);
778
- if (value.nodeOutputTrace !== void 0)
779
- return visitor.nodeOutputTrace(value.nodeOutputTrace);
762
+ if (value.nodeInputTrace !== void 0) return visitor.nodeInputTrace(value.nodeInputTrace);
763
+ if (value.nodeOutputTrace !== void 0) return visitor.nodeOutputTrace(value.nodeOutputTrace);
780
764
  if (value.conditionNodeResultTrace !== void 0)
781
765
  return visitor.conditionNodeResultTrace(value.conditionNodeResultTrace);
782
766
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -857,30 +841,22 @@ var ValidationException = class _ValidationException extends BedrockAgentRuntime
857
841
  var FlowResponseStream;
858
842
  ((FlowResponseStream3) => {
859
843
  FlowResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
860
- if (value.flowOutputEvent !== void 0)
861
- return visitor.flowOutputEvent(value.flowOutputEvent);
862
- if (value.flowCompletionEvent !== void 0)
863
- return visitor.flowCompletionEvent(value.flowCompletionEvent);
864
- if (value.flowTraceEvent !== void 0)
865
- return visitor.flowTraceEvent(value.flowTraceEvent);
844
+ if (value.flowOutputEvent !== void 0) return visitor.flowOutputEvent(value.flowOutputEvent);
845
+ if (value.flowCompletionEvent !== void 0) return visitor.flowCompletionEvent(value.flowCompletionEvent);
846
+ if (value.flowTraceEvent !== void 0) return visitor.flowTraceEvent(value.flowTraceEvent);
866
847
  if (value.internalServerException !== void 0)
867
848
  return visitor.internalServerException(value.internalServerException);
868
- if (value.validationException !== void 0)
869
- return visitor.validationException(value.validationException);
849
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
870
850
  if (value.resourceNotFoundException !== void 0)
871
851
  return visitor.resourceNotFoundException(value.resourceNotFoundException);
872
852
  if (value.serviceQuotaExceededException !== void 0)
873
853
  return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
874
- if (value.throttlingException !== void 0)
875
- return visitor.throttlingException(value.throttlingException);
876
- if (value.accessDeniedException !== void 0)
877
- return visitor.accessDeniedException(value.accessDeniedException);
878
- if (value.conflictException !== void 0)
879
- return visitor.conflictException(value.conflictException);
854
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
855
+ if (value.accessDeniedException !== void 0) return visitor.accessDeniedException(value.accessDeniedException);
856
+ if (value.conflictException !== void 0) return visitor.conflictException(value.conflictException);
880
857
  if (value.dependencyFailedException !== void 0)
881
858
  return visitor.dependencyFailedException(value.dependencyFailedException);
882
- if (value.badGatewayException !== void 0)
883
- return visitor.badGatewayException(value.badGatewayException);
859
+ if (value.badGatewayException !== void 0) return visitor.badGatewayException(value.badGatewayException);
884
860
  if (value.flowMultiTurnInputRequestEvent !== void 0)
885
861
  return visitor.flowMultiTurnInputRequestEvent(value.flowMultiTurnInputRequestEvent);
886
862
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -901,8 +877,7 @@ var GeneratedQueryType = {
901
877
  var ContentBlock;
902
878
  ((ContentBlock3) => {
903
879
  ContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
904
- if (value.text !== void 0)
905
- return visitor.text(value.text);
880
+ if (value.text !== void 0) return visitor.text(value.text);
906
881
  return visitor._(value.$unknown[0], value.$unknown[1]);
907
882
  }, "visit");
908
883
  })(ContentBlock || (ContentBlock = {}));
@@ -935,10 +910,8 @@ var RerankingMetadataSelectionMode = {
935
910
  var RerankingMetadataSelectiveModeConfiguration;
936
911
  ((RerankingMetadataSelectiveModeConfiguration3) => {
937
912
  RerankingMetadataSelectiveModeConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
938
- if (value.fieldsToInclude !== void 0)
939
- return visitor.fieldsToInclude(value.fieldsToInclude);
940
- if (value.fieldsToExclude !== void 0)
941
- return visitor.fieldsToExclude(value.fieldsToExclude);
913
+ if (value.fieldsToInclude !== void 0) return visitor.fieldsToInclude(value.fieldsToInclude);
914
+ if (value.fieldsToExclude !== void 0) return visitor.fieldsToExclude(value.fieldsToExclude);
942
915
  return visitor._(value.$unknown[0], value.$unknown[1]);
943
916
  }, "visit");
944
917
  })(RerankingMetadataSelectiveModeConfiguration || (RerankingMetadataSelectiveModeConfiguration = {}));
@@ -989,8 +962,7 @@ var ModelNotReadyException = class _ModelNotReadyException extends BedrockAgentR
989
962
  var Caller;
990
963
  ((Caller2) => {
991
964
  Caller2.visit = /* @__PURE__ */ __name((value, visitor) => {
992
- if (value.agentAliasArn !== void 0)
993
- return visitor.agentAliasArn(value.agentAliasArn);
965
+ if (value.agentAliasArn !== void 0) return visitor.agentAliasArn(value.agentAliasArn);
994
966
  return visitor._(value.$unknown[0], value.$unknown[1]);
995
967
  }, "visit");
996
968
  })(Caller || (Caller = {}));
@@ -1085,10 +1057,8 @@ var PromptType = {
1085
1057
  var ReasoningContentBlock;
1086
1058
  ((ReasoningContentBlock3) => {
1087
1059
  ReasoningContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
1088
- if (value.reasoningText !== void 0)
1089
- return visitor.reasoningText(value.reasoningText);
1090
- if (value.redactedContent !== void 0)
1091
- return visitor.redactedContent(value.redactedContent);
1060
+ if (value.reasoningText !== void 0) return visitor.reasoningText(value.reasoningText);
1061
+ if (value.redactedContent !== void 0) return visitor.redactedContent(value.redactedContent);
1092
1062
  return visitor._(value.$unknown[0], value.$unknown[1]);
1093
1063
  }, "visit");
1094
1064
  })(ReasoningContentBlock || (ReasoningContentBlock = {}));
@@ -1108,68 +1078,49 @@ var Type = {
1108
1078
  var OrchestrationTrace;
1109
1079
  ((OrchestrationTrace3) => {
1110
1080
  OrchestrationTrace3.visit = /* @__PURE__ */ __name((value, visitor) => {
1111
- if (value.rationale !== void 0)
1112
- return visitor.rationale(value.rationale);
1113
- if (value.invocationInput !== void 0)
1114
- return visitor.invocationInput(value.invocationInput);
1115
- if (value.observation !== void 0)
1116
- return visitor.observation(value.observation);
1117
- if (value.modelInvocationInput !== void 0)
1118
- return visitor.modelInvocationInput(value.modelInvocationInput);
1119
- if (value.modelInvocationOutput !== void 0)
1120
- return visitor.modelInvocationOutput(value.modelInvocationOutput);
1081
+ if (value.rationale !== void 0) return visitor.rationale(value.rationale);
1082
+ if (value.invocationInput !== void 0) return visitor.invocationInput(value.invocationInput);
1083
+ if (value.observation !== void 0) return visitor.observation(value.observation);
1084
+ if (value.modelInvocationInput !== void 0) return visitor.modelInvocationInput(value.modelInvocationInput);
1085
+ if (value.modelInvocationOutput !== void 0) return visitor.modelInvocationOutput(value.modelInvocationOutput);
1121
1086
  return visitor._(value.$unknown[0], value.$unknown[1]);
1122
1087
  }, "visit");
1123
1088
  })(OrchestrationTrace || (OrchestrationTrace = {}));
1124
1089
  var PostProcessingTrace;
1125
1090
  ((PostProcessingTrace3) => {
1126
1091
  PostProcessingTrace3.visit = /* @__PURE__ */ __name((value, visitor) => {
1127
- if (value.modelInvocationInput !== void 0)
1128
- return visitor.modelInvocationInput(value.modelInvocationInput);
1129
- if (value.modelInvocationOutput !== void 0)
1130
- return visitor.modelInvocationOutput(value.modelInvocationOutput);
1092
+ if (value.modelInvocationInput !== void 0) return visitor.modelInvocationInput(value.modelInvocationInput);
1093
+ if (value.modelInvocationOutput !== void 0) return visitor.modelInvocationOutput(value.modelInvocationOutput);
1131
1094
  return visitor._(value.$unknown[0], value.$unknown[1]);
1132
1095
  }, "visit");
1133
1096
  })(PostProcessingTrace || (PostProcessingTrace = {}));
1134
1097
  var PreProcessingTrace;
1135
1098
  ((PreProcessingTrace3) => {
1136
1099
  PreProcessingTrace3.visit = /* @__PURE__ */ __name((value, visitor) => {
1137
- if (value.modelInvocationInput !== void 0)
1138
- return visitor.modelInvocationInput(value.modelInvocationInput);
1139
- if (value.modelInvocationOutput !== void 0)
1140
- return visitor.modelInvocationOutput(value.modelInvocationOutput);
1100
+ if (value.modelInvocationInput !== void 0) return visitor.modelInvocationInput(value.modelInvocationInput);
1101
+ if (value.modelInvocationOutput !== void 0) return visitor.modelInvocationOutput(value.modelInvocationOutput);
1141
1102
  return visitor._(value.$unknown[0], value.$unknown[1]);
1142
1103
  }, "visit");
1143
1104
  })(PreProcessingTrace || (PreProcessingTrace = {}));
1144
1105
  var RoutingClassifierTrace;
1145
1106
  ((RoutingClassifierTrace3) => {
1146
1107
  RoutingClassifierTrace3.visit = /* @__PURE__ */ __name((value, visitor) => {
1147
- if (value.invocationInput !== void 0)
1148
- return visitor.invocationInput(value.invocationInput);
1149
- if (value.observation !== void 0)
1150
- return visitor.observation(value.observation);
1151
- if (value.modelInvocationInput !== void 0)
1152
- return visitor.modelInvocationInput(value.modelInvocationInput);
1153
- if (value.modelInvocationOutput !== void 0)
1154
- return visitor.modelInvocationOutput(value.modelInvocationOutput);
1108
+ if (value.invocationInput !== void 0) return visitor.invocationInput(value.invocationInput);
1109
+ if (value.observation !== void 0) return visitor.observation(value.observation);
1110
+ if (value.modelInvocationInput !== void 0) return visitor.modelInvocationInput(value.modelInvocationInput);
1111
+ if (value.modelInvocationOutput !== void 0) return visitor.modelInvocationOutput(value.modelInvocationOutput);
1155
1112
  return visitor._(value.$unknown[0], value.$unknown[1]);
1156
1113
  }, "visit");
1157
1114
  })(RoutingClassifierTrace || (RoutingClassifierTrace = {}));
1158
1115
  var Trace;
1159
1116
  ((Trace3) => {
1160
1117
  Trace3.visit = /* @__PURE__ */ __name((value, visitor) => {
1161
- if (value.guardrailTrace !== void 0)
1162
- return visitor.guardrailTrace(value.guardrailTrace);
1163
- if (value.preProcessingTrace !== void 0)
1164
- return visitor.preProcessingTrace(value.preProcessingTrace);
1165
- if (value.orchestrationTrace !== void 0)
1166
- return visitor.orchestrationTrace(value.orchestrationTrace);
1167
- if (value.postProcessingTrace !== void 0)
1168
- return visitor.postProcessingTrace(value.postProcessingTrace);
1169
- if (value.routingClassifierTrace !== void 0)
1170
- return visitor.routingClassifierTrace(value.routingClassifierTrace);
1171
- if (value.failureTrace !== void 0)
1172
- return visitor.failureTrace(value.failureTrace);
1118
+ if (value.guardrailTrace !== void 0) return visitor.guardrailTrace(value.guardrailTrace);
1119
+ if (value.preProcessingTrace !== void 0) return visitor.preProcessingTrace(value.preProcessingTrace);
1120
+ if (value.orchestrationTrace !== void 0) return visitor.orchestrationTrace(value.orchestrationTrace);
1121
+ if (value.postProcessingTrace !== void 0) return visitor.postProcessingTrace(value.postProcessingTrace);
1122
+ if (value.routingClassifierTrace !== void 0) return visitor.routingClassifierTrace(value.routingClassifierTrace);
1123
+ if (value.failureTrace !== void 0) return visitor.failureTrace(value.failureTrace);
1173
1124
  if (value.customOrchestrationTrace !== void 0)
1174
1125
  return visitor.customOrchestrationTrace(value.customOrchestrationTrace);
1175
1126
  return visitor._(value.$unknown[0], value.$unknown[1]);
@@ -1178,34 +1129,24 @@ var Trace;
1178
1129
  var ResponseStream;
1179
1130
  ((ResponseStream3) => {
1180
1131
  ResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
1181
- if (value.chunk !== void 0)
1182
- return visitor.chunk(value.chunk);
1183
- if (value.trace !== void 0)
1184
- return visitor.trace(value.trace);
1185
- if (value.returnControl !== void 0)
1186
- return visitor.returnControl(value.returnControl);
1132
+ if (value.chunk !== void 0) return visitor.chunk(value.chunk);
1133
+ if (value.trace !== void 0) return visitor.trace(value.trace);
1134
+ if (value.returnControl !== void 0) return visitor.returnControl(value.returnControl);
1187
1135
  if (value.internalServerException !== void 0)
1188
1136
  return visitor.internalServerException(value.internalServerException);
1189
- if (value.validationException !== void 0)
1190
- return visitor.validationException(value.validationException);
1137
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
1191
1138
  if (value.resourceNotFoundException !== void 0)
1192
1139
  return visitor.resourceNotFoundException(value.resourceNotFoundException);
1193
1140
  if (value.serviceQuotaExceededException !== void 0)
1194
1141
  return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
1195
- if (value.throttlingException !== void 0)
1196
- return visitor.throttlingException(value.throttlingException);
1197
- if (value.accessDeniedException !== void 0)
1198
- return visitor.accessDeniedException(value.accessDeniedException);
1199
- if (value.conflictException !== void 0)
1200
- return visitor.conflictException(value.conflictException);
1142
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
1143
+ if (value.accessDeniedException !== void 0) return visitor.accessDeniedException(value.accessDeniedException);
1144
+ if (value.conflictException !== void 0) return visitor.conflictException(value.conflictException);
1201
1145
  if (value.dependencyFailedException !== void 0)
1202
1146
  return visitor.dependencyFailedException(value.dependencyFailedException);
1203
- if (value.badGatewayException !== void 0)
1204
- return visitor.badGatewayException(value.badGatewayException);
1205
- if (value.modelNotReadyException !== void 0)
1206
- return visitor.modelNotReadyException(value.modelNotReadyException);
1207
- if (value.files !== void 0)
1208
- return visitor.files(value.files);
1147
+ if (value.badGatewayException !== void 0) return visitor.badGatewayException(value.badGatewayException);
1148
+ if (value.modelNotReadyException !== void 0) return visitor.modelNotReadyException(value.modelNotReadyException);
1149
+ if (value.files !== void 0) return visitor.files(value.files);
1209
1150
  return visitor._(value.$unknown[0], value.$unknown[1]);
1210
1151
  }, "visit");
1211
1152
  })(ResponseStream || (ResponseStream = {}));
@@ -1220,32 +1161,23 @@ var PromptState = {
1220
1161
  var InlineAgentResponseStream;
1221
1162
  ((InlineAgentResponseStream3) => {
1222
1163
  InlineAgentResponseStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
1223
- if (value.chunk !== void 0)
1224
- return visitor.chunk(value.chunk);
1225
- if (value.trace !== void 0)
1226
- return visitor.trace(value.trace);
1227
- if (value.returnControl !== void 0)
1228
- return visitor.returnControl(value.returnControl);
1164
+ if (value.chunk !== void 0) return visitor.chunk(value.chunk);
1165
+ if (value.trace !== void 0) return visitor.trace(value.trace);
1166
+ if (value.returnControl !== void 0) return visitor.returnControl(value.returnControl);
1229
1167
  if (value.internalServerException !== void 0)
1230
1168
  return visitor.internalServerException(value.internalServerException);
1231
- if (value.validationException !== void 0)
1232
- return visitor.validationException(value.validationException);
1169
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
1233
1170
  if (value.resourceNotFoundException !== void 0)
1234
1171
  return visitor.resourceNotFoundException(value.resourceNotFoundException);
1235
1172
  if (value.serviceQuotaExceededException !== void 0)
1236
1173
  return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
1237
- if (value.throttlingException !== void 0)
1238
- return visitor.throttlingException(value.throttlingException);
1239
- if (value.accessDeniedException !== void 0)
1240
- return visitor.accessDeniedException(value.accessDeniedException);
1241
- if (value.conflictException !== void 0)
1242
- return visitor.conflictException(value.conflictException);
1174
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
1175
+ if (value.accessDeniedException !== void 0) return visitor.accessDeniedException(value.accessDeniedException);
1176
+ if (value.conflictException !== void 0) return visitor.conflictException(value.conflictException);
1243
1177
  if (value.dependencyFailedException !== void 0)
1244
1178
  return visitor.dependencyFailedException(value.dependencyFailedException);
1245
- if (value.badGatewayException !== void 0)
1246
- return visitor.badGatewayException(value.badGatewayException);
1247
- if (value.files !== void 0)
1248
- return visitor.files(value.files);
1179
+ if (value.badGatewayException !== void 0) return visitor.badGatewayException(value.badGatewayException);
1180
+ if (value.files !== void 0) return visitor.files(value.files);
1249
1181
  return visitor._(value.$unknown[0], value.$unknown[1]);
1250
1182
  }, "visit");
1251
1183
  })(InlineAgentResponseStream || (InlineAgentResponseStream = {}));
@@ -1255,46 +1187,37 @@ var MemoryType = {
1255
1187
  var Memory;
1256
1188
  ((Memory3) => {
1257
1189
  Memory3.visit = /* @__PURE__ */ __name((value, visitor) => {
1258
- if (value.sessionSummary !== void 0)
1259
- return visitor.sessionSummary(value.sessionSummary);
1190
+ if (value.sessionSummary !== void 0) return visitor.sessionSummary(value.sessionSummary);
1260
1191
  return visitor._(value.$unknown[0], value.$unknown[1]);
1261
1192
  }, "visit");
1262
1193
  })(Memory || (Memory = {}));
1263
1194
  var InputPrompt;
1264
1195
  ((InputPrompt3) => {
1265
1196
  InputPrompt3.visit = /* @__PURE__ */ __name((value, visitor) => {
1266
- if (value.textPrompt !== void 0)
1267
- return visitor.textPrompt(value.textPrompt);
1197
+ if (value.textPrompt !== void 0) return visitor.textPrompt(value.textPrompt);
1268
1198
  return visitor._(value.$unknown[0], value.$unknown[1]);
1269
1199
  }, "visit");
1270
1200
  })(InputPrompt || (InputPrompt = {}));
1271
1201
  var OptimizedPrompt;
1272
1202
  ((OptimizedPrompt2) => {
1273
1203
  OptimizedPrompt2.visit = /* @__PURE__ */ __name((value, visitor) => {
1274
- if (value.textPrompt !== void 0)
1275
- return visitor.textPrompt(value.textPrompt);
1204
+ if (value.textPrompt !== void 0) return visitor.textPrompt(value.textPrompt);
1276
1205
  return visitor._(value.$unknown[0], value.$unknown[1]);
1277
1206
  }, "visit");
1278
1207
  })(OptimizedPrompt || (OptimizedPrompt = {}));
1279
1208
  var OptimizedPromptStream;
1280
1209
  ((OptimizedPromptStream3) => {
1281
1210
  OptimizedPromptStream3.visit = /* @__PURE__ */ __name((value, visitor) => {
1282
- if (value.optimizedPromptEvent !== void 0)
1283
- return visitor.optimizedPromptEvent(value.optimizedPromptEvent);
1284
- if (value.analyzePromptEvent !== void 0)
1285
- return visitor.analyzePromptEvent(value.analyzePromptEvent);
1211
+ if (value.optimizedPromptEvent !== void 0) return visitor.optimizedPromptEvent(value.optimizedPromptEvent);
1212
+ if (value.analyzePromptEvent !== void 0) return visitor.analyzePromptEvent(value.analyzePromptEvent);
1286
1213
  if (value.internalServerException !== void 0)
1287
1214
  return visitor.internalServerException(value.internalServerException);
1288
- if (value.throttlingException !== void 0)
1289
- return visitor.throttlingException(value.throttlingException);
1290
- if (value.validationException !== void 0)
1291
- return visitor.validationException(value.validationException);
1215
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
1216
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
1292
1217
  if (value.dependencyFailedException !== void 0)
1293
1218
  return visitor.dependencyFailedException(value.dependencyFailedException);
1294
- if (value.accessDeniedException !== void 0)
1295
- return visitor.accessDeniedException(value.accessDeniedException);
1296
- if (value.badGatewayException !== void 0)
1297
- return visitor.badGatewayException(value.badGatewayException);
1219
+ if (value.accessDeniedException !== void 0) return visitor.accessDeniedException(value.accessDeniedException);
1220
+ if (value.badGatewayException !== void 0) return visitor.badGatewayException(value.badGatewayException);
1298
1221
  return visitor._(value.$unknown[0], value.$unknown[1]);
1299
1222
  }, "visit");
1300
1223
  })(OptimizedPromptStream || (OptimizedPromptStream = {}));
@@ -1329,30 +1252,22 @@ var GuadrailAction = {
1329
1252
  var RetrieveAndGenerateStreamResponseOutput;
1330
1253
  ((RetrieveAndGenerateStreamResponseOutput3) => {
1331
1254
  RetrieveAndGenerateStreamResponseOutput3.visit = /* @__PURE__ */ __name((value, visitor) => {
1332
- if (value.output !== void 0)
1333
- return visitor.output(value.output);
1334
- if (value.citation !== void 0)
1335
- return visitor.citation(value.citation);
1336
- if (value.guardrail !== void 0)
1337
- return visitor.guardrail(value.guardrail);
1255
+ if (value.output !== void 0) return visitor.output(value.output);
1256
+ if (value.citation !== void 0) return visitor.citation(value.citation);
1257
+ if (value.guardrail !== void 0) return visitor.guardrail(value.guardrail);
1338
1258
  if (value.internalServerException !== void 0)
1339
1259
  return visitor.internalServerException(value.internalServerException);
1340
- if (value.validationException !== void 0)
1341
- return visitor.validationException(value.validationException);
1260
+ if (value.validationException !== void 0) return visitor.validationException(value.validationException);
1342
1261
  if (value.resourceNotFoundException !== void 0)
1343
1262
  return visitor.resourceNotFoundException(value.resourceNotFoundException);
1344
1263
  if (value.serviceQuotaExceededException !== void 0)
1345
1264
  return visitor.serviceQuotaExceededException(value.serviceQuotaExceededException);
1346
- if (value.throttlingException !== void 0)
1347
- return visitor.throttlingException(value.throttlingException);
1348
- if (value.accessDeniedException !== void 0)
1349
- return visitor.accessDeniedException(value.accessDeniedException);
1350
- if (value.conflictException !== void 0)
1351
- return visitor.conflictException(value.conflictException);
1265
+ if (value.throttlingException !== void 0) return visitor.throttlingException(value.throttlingException);
1266
+ if (value.accessDeniedException !== void 0) return visitor.accessDeniedException(value.accessDeniedException);
1267
+ if (value.conflictException !== void 0) return visitor.conflictException(value.conflictException);
1352
1268
  if (value.dependencyFailedException !== void 0)
1353
1269
  return visitor.dependencyFailedException(value.dependencyFailedException);
1354
- if (value.badGatewayException !== void 0)
1355
- return visitor.badGatewayException(value.badGatewayException);
1270
+ if (value.badGatewayException !== void 0) return visitor.badGatewayException(value.badGatewayException);
1356
1271
  return visitor._(value.$unknown[0], value.$unknown[1]);
1357
1272
  }, "visit");
1358
1273
  })(RetrieveAndGenerateStreamResponseOutput || (RetrieveAndGenerateStreamResponseOutput = {}));
@@ -1370,28 +1285,23 @@ var ImageFormat = {
1370
1285
  var ImageSource;
1371
1286
  ((ImageSource2) => {
1372
1287
  ImageSource2.visit = /* @__PURE__ */ __name((value, visitor) => {
1373
- if (value.bytes !== void 0)
1374
- return visitor.bytes(value.bytes);
1375
- if (value.s3Location !== void 0)
1376
- return visitor.s3Location(value.s3Location);
1288
+ if (value.bytes !== void 0) return visitor.bytes(value.bytes);
1289
+ if (value.s3Location !== void 0) return visitor.s3Location(value.s3Location);
1377
1290
  return visitor._(value.$unknown[0], value.$unknown[1]);
1378
1291
  }, "visit");
1379
1292
  })(ImageSource || (ImageSource = {}));
1380
1293
  var BedrockSessionContentBlock;
1381
1294
  ((BedrockSessionContentBlock2) => {
1382
1295
  BedrockSessionContentBlock2.visit = /* @__PURE__ */ __name((value, visitor) => {
1383
- if (value.text !== void 0)
1384
- return visitor.text(value.text);
1385
- if (value.image !== void 0)
1386
- return visitor.image(value.image);
1296
+ if (value.text !== void 0) return visitor.text(value.text);
1297
+ if (value.image !== void 0) return visitor.image(value.image);
1387
1298
  return visitor._(value.$unknown[0], value.$unknown[1]);
1388
1299
  }, "visit");
1389
1300
  })(BedrockSessionContentBlock || (BedrockSessionContentBlock = {}));
1390
1301
  var InvocationStepPayload;
1391
1302
  ((InvocationStepPayload2) => {
1392
1303
  InvocationStepPayload2.visit = /* @__PURE__ */ __name((value, visitor) => {
1393
- if (value.contentBlocks !== void 0)
1394
- return visitor.contentBlocks(value.contentBlocks);
1304
+ if (value.contentBlocks !== void 0) return visitor.contentBlocks(value.contentBlocks);
1395
1305
  return visitor._(value.$unknown[0], value.$unknown[1]);
1396
1306
  }, "visit");
1397
1307
  })(InvocationStepPayload || (InvocationStepPayload = {}));
@@ -1407,12 +1317,9 @@ var ActionGroupInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj)
1407
1317
  ...obj.text && { text: import_smithy_client.SENSITIVE_STRING }
1408
1318
  }), "ActionGroupInvocationOutputFilterSensitiveLog");
1409
1319
  var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1410
- if (obj.s3 !== void 0)
1411
- return { s3: obj.s3 };
1412
- if (obj.payload !== void 0)
1413
- return { payload: import_smithy_client.SENSITIVE_STRING };
1414
- if (obj.$unknown !== void 0)
1415
- return { [obj.$unknown[0]]: "UNKNOWN" };
1320
+ if (obj.s3 !== void 0) return { s3: obj.s3 };
1321
+ if (obj.payload !== void 0) return { payload: import_smithy_client.SENSITIVE_STRING };
1322
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1416
1323
  }, "APISchemaFilterSensitiveLog");
1417
1324
  var FunctionDefinitionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1418
1325
  ...obj,
@@ -1421,8 +1328,7 @@ var FunctionDefinitionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1421
1328
  var FunctionSchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1422
1329
  if (obj.functions !== void 0)
1423
1330
  return { functions: obj.functions.map((item) => FunctionDefinitionFilterSensitiveLog(item)) };
1424
- if (obj.$unknown !== void 0)
1425
- return { [obj.$unknown[0]]: "UNKNOWN" };
1331
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1426
1332
  }, "FunctionSchemaFilterSensitiveLog");
1427
1333
  var AgentActionGroupFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1428
1334
  ...obj,
@@ -1443,12 +1349,9 @@ var ApiResultFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1443
1349
  }
1444
1350
  }), "ApiResultFilterSensitiveLog");
1445
1351
  var InvocationResultMemberFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1446
- if (obj.apiResult !== void 0)
1447
- return { apiResult: ApiResultFilterSensitiveLog(obj.apiResult) };
1448
- if (obj.functionResult !== void 0)
1449
- return { functionResult: obj.functionResult };
1450
- if (obj.$unknown !== void 0)
1451
- return { [obj.$unknown[0]]: "UNKNOWN" };
1352
+ if (obj.apiResult !== void 0) return { apiResult: ApiResultFilterSensitiveLog(obj.apiResult) };
1353
+ if (obj.functionResult !== void 0) return { functionResult: obj.functionResult };
1354
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1452
1355
  }, "InvocationResultMemberFilterSensitiveLog");
1453
1356
  var ReturnControlResultsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1454
1357
  ...obj,
@@ -1483,8 +1386,7 @@ var InvocationInputMemberFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1483
1386
  return { apiInvocationInput: ApiInvocationInputFilterSensitiveLog(obj.apiInvocationInput) };
1484
1387
  if (obj.functionInvocationInput !== void 0)
1485
1388
  return { functionInvocationInput: FunctionInvocationInputFilterSensitiveLog(obj.functionInvocationInput) };
1486
- if (obj.$unknown !== void 0)
1487
- return { [obj.$unknown[0]]: "UNKNOWN" };
1389
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1488
1390
  }, "InvocationInputMemberFilterSensitiveLog");
1489
1391
  var ReturnControlPayloadFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1490
1392
  ...obj,
@@ -1502,10 +1404,8 @@ var AgentCollaboratorInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __name
1502
1404
  ...obj.output && { output: AgentCollaboratorOutputPayloadFilterSensitiveLog(obj.output) }
1503
1405
  }), "AgentCollaboratorInvocationOutputFilterSensitiveLog");
1504
1406
  var FlowInputContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1505
- if (obj.document !== void 0)
1506
- return { document: obj.document };
1507
- if (obj.$unknown !== void 0)
1508
- return { [obj.$unknown[0]]: "UNKNOWN" };
1407
+ if (obj.document !== void 0) return { document: obj.document };
1408
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1509
1409
  }, "FlowInputContentFilterSensitiveLog");
1510
1410
  var FlowInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1511
1411
  ...obj,
@@ -1534,10 +1434,8 @@ var FlowTraceConditionNodeResultEventFilterSensitiveLog = /* @__PURE__ */ __name
1534
1434
  ...obj.satisfiedConditions && { satisfiedConditions: import_smithy_client.SENSITIVE_STRING }
1535
1435
  }), "FlowTraceConditionNodeResultEventFilterSensitiveLog");
1536
1436
  var FlowTraceNodeInputContentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1537
- if (obj.document !== void 0)
1538
- return { document: obj.document };
1539
- if (obj.$unknown !== void 0)
1540
- return { [obj.$unknown[0]]: "UNKNOWN" };
1437
+ if (obj.document !== void 0) return { document: obj.document };
1438
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1541
1439
  }, "FlowTraceNodeInputContentFilterSensitiveLog");
1542
1440
  var FlowTraceNodeInputFieldFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1543
1441
  ...obj,
@@ -1556,48 +1454,31 @@ var FlowTraceNodeOutputEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
1556
1454
  ...obj.fields && { fields: import_smithy_client.SENSITIVE_STRING }
1557
1455
  }), "FlowTraceNodeOutputEventFilterSensitiveLog");
1558
1456
  var FlowTraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1559
- if (obj.nodeInputTrace !== void 0)
1560
- return { nodeInputTrace: import_smithy_client.SENSITIVE_STRING };
1561
- if (obj.nodeOutputTrace !== void 0)
1562
- return { nodeOutputTrace: import_smithy_client.SENSITIVE_STRING };
1563
- if (obj.conditionNodeResultTrace !== void 0)
1564
- return { conditionNodeResultTrace: import_smithy_client.SENSITIVE_STRING };
1565
- if (obj.$unknown !== void 0)
1566
- return { [obj.$unknown[0]]: "UNKNOWN" };
1457
+ if (obj.nodeInputTrace !== void 0) return { nodeInputTrace: import_smithy_client.SENSITIVE_STRING };
1458
+ if (obj.nodeOutputTrace !== void 0) return { nodeOutputTrace: import_smithy_client.SENSITIVE_STRING };
1459
+ if (obj.conditionNodeResultTrace !== void 0) return { conditionNodeResultTrace: import_smithy_client.SENSITIVE_STRING };
1460
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1567
1461
  }, "FlowTraceFilterSensitiveLog");
1568
1462
  var FlowTraceEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1569
1463
  ...obj,
1570
1464
  ...obj.trace && { trace: import_smithy_client.SENSITIVE_STRING }
1571
1465
  }), "FlowTraceEventFilterSensitiveLog");
1572
1466
  var FlowResponseStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1573
- if (obj.flowOutputEvent !== void 0)
1574
- return { flowOutputEvent: import_smithy_client.SENSITIVE_STRING };
1575
- if (obj.flowCompletionEvent !== void 0)
1576
- return { flowCompletionEvent: import_smithy_client.SENSITIVE_STRING };
1577
- if (obj.flowTraceEvent !== void 0)
1578
- return { flowTraceEvent: FlowTraceEventFilterSensitiveLog(obj.flowTraceEvent) };
1579
- if (obj.internalServerException !== void 0)
1580
- return { internalServerException: obj.internalServerException };
1581
- if (obj.validationException !== void 0)
1582
- return { validationException: obj.validationException };
1583
- if (obj.resourceNotFoundException !== void 0)
1584
- return { resourceNotFoundException: obj.resourceNotFoundException };
1467
+ if (obj.flowOutputEvent !== void 0) return { flowOutputEvent: import_smithy_client.SENSITIVE_STRING };
1468
+ if (obj.flowCompletionEvent !== void 0) return { flowCompletionEvent: import_smithy_client.SENSITIVE_STRING };
1469
+ if (obj.flowTraceEvent !== void 0) return { flowTraceEvent: FlowTraceEventFilterSensitiveLog(obj.flowTraceEvent) };
1470
+ if (obj.internalServerException !== void 0) return { internalServerException: obj.internalServerException };
1471
+ if (obj.validationException !== void 0) return { validationException: obj.validationException };
1472
+ if (obj.resourceNotFoundException !== void 0) return { resourceNotFoundException: obj.resourceNotFoundException };
1585
1473
  if (obj.serviceQuotaExceededException !== void 0)
1586
1474
  return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
1587
- if (obj.throttlingException !== void 0)
1588
- return { throttlingException: obj.throttlingException };
1589
- if (obj.accessDeniedException !== void 0)
1590
- return { accessDeniedException: obj.accessDeniedException };
1591
- if (obj.conflictException !== void 0)
1592
- return { conflictException: obj.conflictException };
1593
- if (obj.dependencyFailedException !== void 0)
1594
- return { dependencyFailedException: obj.dependencyFailedException };
1595
- if (obj.badGatewayException !== void 0)
1596
- return { badGatewayException: obj.badGatewayException };
1597
- if (obj.flowMultiTurnInputRequestEvent !== void 0)
1598
- return { flowMultiTurnInputRequestEvent: import_smithy_client.SENSITIVE_STRING };
1599
- if (obj.$unknown !== void 0)
1600
- return { [obj.$unknown[0]]: "UNKNOWN" };
1475
+ if (obj.throttlingException !== void 0) return { throttlingException: obj.throttlingException };
1476
+ if (obj.accessDeniedException !== void 0) return { accessDeniedException: obj.accessDeniedException };
1477
+ if (obj.conflictException !== void 0) return { conflictException: obj.conflictException };
1478
+ if (obj.dependencyFailedException !== void 0) return { dependencyFailedException: obj.dependencyFailedException };
1479
+ if (obj.badGatewayException !== void 0) return { badGatewayException: obj.badGatewayException };
1480
+ if (obj.flowMultiTurnInputRequestEvent !== void 0) return { flowMultiTurnInputRequestEvent: import_smithy_client.SENSITIVE_STRING };
1481
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1601
1482
  }, "FlowResponseStreamFilterSensitiveLog");
1602
1483
  var InvokeFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1603
1484
  ...obj,
@@ -1618,10 +1499,8 @@ var GenerateQueryResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1618
1499
  ...obj.queries && { queries: import_smithy_client.SENSITIVE_STRING }
1619
1500
  }), "GenerateQueryResponseFilterSensitiveLog");
1620
1501
  var ContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1621
- if (obj.text !== void 0)
1622
- return { text: obj.text };
1623
- if (obj.$unknown !== void 0)
1624
- return { [obj.$unknown[0]]: "UNKNOWN" };
1502
+ if (obj.text !== void 0) return { text: obj.text };
1503
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1625
1504
  }, "ContentBlockFilterSensitiveLog");
1626
1505
  var MessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1627
1506
  ...obj,
@@ -1651,12 +1530,9 @@ var ImplicitFilterConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj)
1651
1530
  ...obj.metadataAttributes && { metadataAttributes: import_smithy_client.SENSITIVE_STRING }
1652
1531
  }), "ImplicitFilterConfigurationFilterSensitiveLog");
1653
1532
  var RerankingMetadataSelectiveModeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1654
- if (obj.fieldsToInclude !== void 0)
1655
- return { fieldsToInclude: import_smithy_client.SENSITIVE_STRING };
1656
- if (obj.fieldsToExclude !== void 0)
1657
- return { fieldsToExclude: import_smithy_client.SENSITIVE_STRING };
1658
- if (obj.$unknown !== void 0)
1659
- return { [obj.$unknown[0]]: "UNKNOWN" };
1533
+ if (obj.fieldsToInclude !== void 0) return { fieldsToInclude: import_smithy_client.SENSITIVE_STRING };
1534
+ if (obj.fieldsToExclude !== void 0) return { fieldsToExclude: import_smithy_client.SENSITIVE_STRING };
1535
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1660
1536
  }, "RerankingMetadataSelectiveModeConfigurationFilterSensitiveLog");
1661
1537
  var MetadataConfigurationForRerankingFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1662
1538
  ...obj,
@@ -1825,12 +1701,9 @@ var ReasoningTextBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1825
1701
  ...obj
1826
1702
  }), "ReasoningTextBlockFilterSensitiveLog");
1827
1703
  var ReasoningContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1828
- if (obj.reasoningText !== void 0)
1829
- return { reasoningText: import_smithy_client.SENSITIVE_STRING };
1830
- if (obj.redactedContent !== void 0)
1831
- return { redactedContent: obj.redactedContent };
1832
- if (obj.$unknown !== void 0)
1833
- return { [obj.$unknown[0]]: "UNKNOWN" };
1704
+ if (obj.reasoningText !== void 0) return { reasoningText: import_smithy_client.SENSITIVE_STRING };
1705
+ if (obj.redactedContent !== void 0) return { redactedContent: obj.redactedContent };
1706
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1834
1707
  }, "ReasoningContentBlockFilterSensitiveLog");
1835
1708
  var OrchestrationModelInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1836
1709
  ...obj,
@@ -1873,18 +1746,12 @@ var RationaleFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1873
1746
  ...obj.text && { text: import_smithy_client.SENSITIVE_STRING }
1874
1747
  }), "RationaleFilterSensitiveLog");
1875
1748
  var OrchestrationTraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1876
- if (obj.rationale !== void 0)
1877
- return { rationale: import_smithy_client.SENSITIVE_STRING };
1878
- if (obj.invocationInput !== void 0)
1879
- return { invocationInput: import_smithy_client.SENSITIVE_STRING };
1880
- if (obj.observation !== void 0)
1881
- return { observation: import_smithy_client.SENSITIVE_STRING };
1882
- if (obj.modelInvocationInput !== void 0)
1883
- return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1884
- if (obj.modelInvocationOutput !== void 0)
1885
- return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1886
- if (obj.$unknown !== void 0)
1887
- return { [obj.$unknown[0]]: "UNKNOWN" };
1749
+ if (obj.rationale !== void 0) return { rationale: import_smithy_client.SENSITIVE_STRING };
1750
+ if (obj.invocationInput !== void 0) return { invocationInput: import_smithy_client.SENSITIVE_STRING };
1751
+ if (obj.observation !== void 0) return { observation: import_smithy_client.SENSITIVE_STRING };
1752
+ if (obj.modelInvocationInput !== void 0) return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1753
+ if (obj.modelInvocationOutput !== void 0) return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1754
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1888
1755
  }, "OrchestrationTraceFilterSensitiveLog");
1889
1756
  var PostProcessingParsedResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1890
1757
  ...obj,
@@ -1898,12 +1765,9 @@ var PostProcessingModelInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __na
1898
1765
  ...obj.reasoningContent && { reasoningContent: import_smithy_client.SENSITIVE_STRING }
1899
1766
  }), "PostProcessingModelInvocationOutputFilterSensitiveLog");
1900
1767
  var PostProcessingTraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1901
- if (obj.modelInvocationInput !== void 0)
1902
- return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1903
- if (obj.modelInvocationOutput !== void 0)
1904
- return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1905
- if (obj.$unknown !== void 0)
1906
- return { [obj.$unknown[0]]: "UNKNOWN" };
1768
+ if (obj.modelInvocationInput !== void 0) return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1769
+ if (obj.modelInvocationOutput !== void 0) return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1770
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1907
1771
  }, "PostProcessingTraceFilterSensitiveLog");
1908
1772
  var PreProcessingParsedResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1909
1773
  ...obj,
@@ -1917,12 +1781,9 @@ var PreProcessingModelInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __nam
1917
1781
  ...obj.reasoningContent && { reasoningContent: import_smithy_client.SENSITIVE_STRING }
1918
1782
  }), "PreProcessingModelInvocationOutputFilterSensitiveLog");
1919
1783
  var PreProcessingTraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1920
- if (obj.modelInvocationInput !== void 0)
1921
- return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1922
- if (obj.modelInvocationOutput !== void 0)
1923
- return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1924
- if (obj.$unknown !== void 0)
1925
- return { [obj.$unknown[0]]: "UNKNOWN" };
1784
+ if (obj.modelInvocationInput !== void 0) return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1785
+ if (obj.modelInvocationOutput !== void 0) return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1786
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1926
1787
  }, "PreProcessingTraceFilterSensitiveLog");
1927
1788
  var RoutingClassifierModelInvocationOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1928
1789
  ...obj,
@@ -1930,34 +1791,21 @@ var RoutingClassifierModelInvocationOutputFilterSensitiveLog = /* @__PURE__ */ _
1930
1791
  ...obj.metadata && { metadata: import_smithy_client.SENSITIVE_STRING }
1931
1792
  }), "RoutingClassifierModelInvocationOutputFilterSensitiveLog");
1932
1793
  var RoutingClassifierTraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1933
- if (obj.invocationInput !== void 0)
1934
- return { invocationInput: import_smithy_client.SENSITIVE_STRING };
1935
- if (obj.observation !== void 0)
1936
- return { observation: import_smithy_client.SENSITIVE_STRING };
1937
- if (obj.modelInvocationInput !== void 0)
1938
- return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1939
- if (obj.modelInvocationOutput !== void 0)
1940
- return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1941
- if (obj.$unknown !== void 0)
1942
- return { [obj.$unknown[0]]: "UNKNOWN" };
1794
+ if (obj.invocationInput !== void 0) return { invocationInput: import_smithy_client.SENSITIVE_STRING };
1795
+ if (obj.observation !== void 0) return { observation: import_smithy_client.SENSITIVE_STRING };
1796
+ if (obj.modelInvocationInput !== void 0) return { modelInvocationInput: import_smithy_client.SENSITIVE_STRING };
1797
+ if (obj.modelInvocationOutput !== void 0) return { modelInvocationOutput: import_smithy_client.SENSITIVE_STRING };
1798
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1943
1799
  }, "RoutingClassifierTraceFilterSensitiveLog");
1944
1800
  var TraceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1945
- if (obj.guardrailTrace !== void 0)
1946
- return { guardrailTrace: import_smithy_client.SENSITIVE_STRING };
1947
- if (obj.preProcessingTrace !== void 0)
1948
- return { preProcessingTrace: import_smithy_client.SENSITIVE_STRING };
1949
- if (obj.orchestrationTrace !== void 0)
1950
- return { orchestrationTrace: import_smithy_client.SENSITIVE_STRING };
1951
- if (obj.postProcessingTrace !== void 0)
1952
- return { postProcessingTrace: import_smithy_client.SENSITIVE_STRING };
1953
- if (obj.routingClassifierTrace !== void 0)
1954
- return { routingClassifierTrace: import_smithy_client.SENSITIVE_STRING };
1955
- if (obj.failureTrace !== void 0)
1956
- return { failureTrace: import_smithy_client.SENSITIVE_STRING };
1957
- if (obj.customOrchestrationTrace !== void 0)
1958
- return { customOrchestrationTrace: import_smithy_client.SENSITIVE_STRING };
1959
- if (obj.$unknown !== void 0)
1960
- return { [obj.$unknown[0]]: "UNKNOWN" };
1801
+ if (obj.guardrailTrace !== void 0) return { guardrailTrace: import_smithy_client.SENSITIVE_STRING };
1802
+ if (obj.preProcessingTrace !== void 0) return { preProcessingTrace: import_smithy_client.SENSITIVE_STRING };
1803
+ if (obj.orchestrationTrace !== void 0) return { orchestrationTrace: import_smithy_client.SENSITIVE_STRING };
1804
+ if (obj.postProcessingTrace !== void 0) return { postProcessingTrace: import_smithy_client.SENSITIVE_STRING };
1805
+ if (obj.routingClassifierTrace !== void 0) return { routingClassifierTrace: import_smithy_client.SENSITIVE_STRING };
1806
+ if (obj.failureTrace !== void 0) return { failureTrace: import_smithy_client.SENSITIVE_STRING };
1807
+ if (obj.customOrchestrationTrace !== void 0) return { customOrchestrationTrace: import_smithy_client.SENSITIVE_STRING };
1808
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1961
1809
  }, "TraceFilterSensitiveLog");
1962
1810
  var TracePartFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1963
1811
  ...obj,
@@ -1966,36 +1814,22 @@ var TracePartFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1966
1814
  ...obj.collaboratorName && { collaboratorName: import_smithy_client.SENSITIVE_STRING }
1967
1815
  }), "TracePartFilterSensitiveLog");
1968
1816
  var ResponseStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1969
- if (obj.chunk !== void 0)
1970
- return { chunk: import_smithy_client.SENSITIVE_STRING };
1971
- if (obj.trace !== void 0)
1972
- return { trace: import_smithy_client.SENSITIVE_STRING };
1973
- if (obj.returnControl !== void 0)
1974
- return { returnControl: import_smithy_client.SENSITIVE_STRING };
1975
- if (obj.internalServerException !== void 0)
1976
- return { internalServerException: obj.internalServerException };
1977
- if (obj.validationException !== void 0)
1978
- return { validationException: obj.validationException };
1979
- if (obj.resourceNotFoundException !== void 0)
1980
- return { resourceNotFoundException: obj.resourceNotFoundException };
1817
+ if (obj.chunk !== void 0) return { chunk: import_smithy_client.SENSITIVE_STRING };
1818
+ if (obj.trace !== void 0) return { trace: import_smithy_client.SENSITIVE_STRING };
1819
+ if (obj.returnControl !== void 0) return { returnControl: import_smithy_client.SENSITIVE_STRING };
1820
+ if (obj.internalServerException !== void 0) return { internalServerException: obj.internalServerException };
1821
+ if (obj.validationException !== void 0) return { validationException: obj.validationException };
1822
+ if (obj.resourceNotFoundException !== void 0) return { resourceNotFoundException: obj.resourceNotFoundException };
1981
1823
  if (obj.serviceQuotaExceededException !== void 0)
1982
1824
  return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
1983
- if (obj.throttlingException !== void 0)
1984
- return { throttlingException: obj.throttlingException };
1985
- if (obj.accessDeniedException !== void 0)
1986
- return { accessDeniedException: obj.accessDeniedException };
1987
- if (obj.conflictException !== void 0)
1988
- return { conflictException: obj.conflictException };
1989
- if (obj.dependencyFailedException !== void 0)
1990
- return { dependencyFailedException: obj.dependencyFailedException };
1991
- if (obj.badGatewayException !== void 0)
1992
- return { badGatewayException: obj.badGatewayException };
1993
- if (obj.modelNotReadyException !== void 0)
1994
- return { modelNotReadyException: obj.modelNotReadyException };
1995
- if (obj.files !== void 0)
1996
- return { files: FilePartFilterSensitiveLog(obj.files) };
1997
- if (obj.$unknown !== void 0)
1998
- return { [obj.$unknown[0]]: "UNKNOWN" };
1825
+ if (obj.throttlingException !== void 0) return { throttlingException: obj.throttlingException };
1826
+ if (obj.accessDeniedException !== void 0) return { accessDeniedException: obj.accessDeniedException };
1827
+ if (obj.conflictException !== void 0) return { conflictException: obj.conflictException };
1828
+ if (obj.dependencyFailedException !== void 0) return { dependencyFailedException: obj.dependencyFailedException };
1829
+ if (obj.badGatewayException !== void 0) return { badGatewayException: obj.badGatewayException };
1830
+ if (obj.modelNotReadyException !== void 0) return { modelNotReadyException: obj.modelNotReadyException };
1831
+ if (obj.files !== void 0) return { files: FilePartFilterSensitiveLog(obj.files) };
1832
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1999
1833
  }, "ResponseStreamFilterSensitiveLog");
2000
1834
  var InvokeAgentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2001
1835
  ...obj,
@@ -2048,34 +1882,21 @@ var InlineAgentTracePartFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2048
1882
  ...obj.trace && { trace: import_smithy_client.SENSITIVE_STRING }
2049
1883
  }), "InlineAgentTracePartFilterSensitiveLog");
2050
1884
  var InlineAgentResponseStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2051
- if (obj.chunk !== void 0)
2052
- return { chunk: import_smithy_client.SENSITIVE_STRING };
2053
- if (obj.trace !== void 0)
2054
- return { trace: import_smithy_client.SENSITIVE_STRING };
2055
- if (obj.returnControl !== void 0)
2056
- return { returnControl: import_smithy_client.SENSITIVE_STRING };
2057
- if (obj.internalServerException !== void 0)
2058
- return { internalServerException: obj.internalServerException };
2059
- if (obj.validationException !== void 0)
2060
- return { validationException: obj.validationException };
2061
- if (obj.resourceNotFoundException !== void 0)
2062
- return { resourceNotFoundException: obj.resourceNotFoundException };
1885
+ if (obj.chunk !== void 0) return { chunk: import_smithy_client.SENSITIVE_STRING };
1886
+ if (obj.trace !== void 0) return { trace: import_smithy_client.SENSITIVE_STRING };
1887
+ if (obj.returnControl !== void 0) return { returnControl: import_smithy_client.SENSITIVE_STRING };
1888
+ if (obj.internalServerException !== void 0) return { internalServerException: obj.internalServerException };
1889
+ if (obj.validationException !== void 0) return { validationException: obj.validationException };
1890
+ if (obj.resourceNotFoundException !== void 0) return { resourceNotFoundException: obj.resourceNotFoundException };
2063
1891
  if (obj.serviceQuotaExceededException !== void 0)
2064
1892
  return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
2065
- if (obj.throttlingException !== void 0)
2066
- return { throttlingException: obj.throttlingException };
2067
- if (obj.accessDeniedException !== void 0)
2068
- return { accessDeniedException: obj.accessDeniedException };
2069
- if (obj.conflictException !== void 0)
2070
- return { conflictException: obj.conflictException };
2071
- if (obj.dependencyFailedException !== void 0)
2072
- return { dependencyFailedException: obj.dependencyFailedException };
2073
- if (obj.badGatewayException !== void 0)
2074
- return { badGatewayException: obj.badGatewayException };
2075
- if (obj.files !== void 0)
2076
- return { files: InlineAgentFilePartFilterSensitiveLog(obj.files) };
2077
- if (obj.$unknown !== void 0)
2078
- return { [obj.$unknown[0]]: "UNKNOWN" };
1893
+ if (obj.throttlingException !== void 0) return { throttlingException: obj.throttlingException };
1894
+ if (obj.accessDeniedException !== void 0) return { accessDeniedException: obj.accessDeniedException };
1895
+ if (obj.conflictException !== void 0) return { conflictException: obj.conflictException };
1896
+ if (obj.dependencyFailedException !== void 0) return { dependencyFailedException: obj.dependencyFailedException };
1897
+ if (obj.badGatewayException !== void 0) return { badGatewayException: obj.badGatewayException };
1898
+ if (obj.files !== void 0) return { files: InlineAgentFilePartFilterSensitiveLog(obj.files) };
1899
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2079
1900
  }, "InlineAgentResponseStreamFilterSensitiveLog");
2080
1901
  var InvokeInlineAgentResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2081
1902
  ...obj,
@@ -2085,10 +1906,8 @@ var TextPromptFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2085
1906
  ...obj
2086
1907
  }), "TextPromptFilterSensitiveLog");
2087
1908
  var InputPromptFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2088
- if (obj.textPrompt !== void 0)
2089
- return { textPrompt: import_smithy_client.SENSITIVE_STRING };
2090
- if (obj.$unknown !== void 0)
2091
- return { [obj.$unknown[0]]: "UNKNOWN" };
1909
+ if (obj.textPrompt !== void 0) return { textPrompt: import_smithy_client.SENSITIVE_STRING };
1910
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2092
1911
  }, "InputPromptFilterSensitiveLog");
2093
1912
  var OptimizePromptRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2094
1913
  ...obj,
@@ -2098,34 +1917,23 @@ var AnalyzePromptEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2098
1917
  ...obj
2099
1918
  }), "AnalyzePromptEventFilterSensitiveLog");
2100
1919
  var OptimizedPromptFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2101
- if (obj.textPrompt !== void 0)
2102
- return { textPrompt: import_smithy_client.SENSITIVE_STRING };
2103
- if (obj.$unknown !== void 0)
2104
- return { [obj.$unknown[0]]: "UNKNOWN" };
1920
+ if (obj.textPrompt !== void 0) return { textPrompt: import_smithy_client.SENSITIVE_STRING };
1921
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2105
1922
  }, "OptimizedPromptFilterSensitiveLog");
2106
1923
  var OptimizedPromptEventFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2107
1924
  ...obj,
2108
1925
  ...obj.optimizedPrompt && { optimizedPrompt: OptimizedPromptFilterSensitiveLog(obj.optimizedPrompt) }
2109
1926
  }), "OptimizedPromptEventFilterSensitiveLog");
2110
1927
  var OptimizedPromptStreamFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2111
- if (obj.optimizedPromptEvent !== void 0)
2112
- return { optimizedPromptEvent: import_smithy_client.SENSITIVE_STRING };
2113
- if (obj.analyzePromptEvent !== void 0)
2114
- return { analyzePromptEvent: import_smithy_client.SENSITIVE_STRING };
2115
- if (obj.internalServerException !== void 0)
2116
- return { internalServerException: obj.internalServerException };
2117
- if (obj.throttlingException !== void 0)
2118
- return { throttlingException: obj.throttlingException };
2119
- if (obj.validationException !== void 0)
2120
- return { validationException: obj.validationException };
2121
- if (obj.dependencyFailedException !== void 0)
2122
- return { dependencyFailedException: obj.dependencyFailedException };
2123
- if (obj.accessDeniedException !== void 0)
2124
- return { accessDeniedException: obj.accessDeniedException };
2125
- if (obj.badGatewayException !== void 0)
2126
- return { badGatewayException: obj.badGatewayException };
2127
- if (obj.$unknown !== void 0)
2128
- return { [obj.$unknown[0]]: "UNKNOWN" };
1928
+ if (obj.optimizedPromptEvent !== void 0) return { optimizedPromptEvent: import_smithy_client.SENSITIVE_STRING };
1929
+ if (obj.analyzePromptEvent !== void 0) return { analyzePromptEvent: import_smithy_client.SENSITIVE_STRING };
1930
+ if (obj.internalServerException !== void 0) return { internalServerException: obj.internalServerException };
1931
+ if (obj.throttlingException !== void 0) return { throttlingException: obj.throttlingException };
1932
+ if (obj.validationException !== void 0) return { validationException: obj.validationException };
1933
+ if (obj.dependencyFailedException !== void 0) return { dependencyFailedException: obj.dependencyFailedException };
1934
+ if (obj.accessDeniedException !== void 0) return { accessDeniedException: obj.accessDeniedException };
1935
+ if (obj.badGatewayException !== void 0) return { badGatewayException: obj.badGatewayException };
1936
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2129
1937
  }, "OptimizedPromptStreamFilterSensitiveLog");
2130
1938
  var OptimizePromptResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2131
1939
  ...obj,
@@ -2216,32 +2024,20 @@ var RetrieveAndGenerateOutputEventFilterSensitiveLog = /* @__PURE__ */ __name((o
2216
2024
  ...obj
2217
2025
  }), "RetrieveAndGenerateOutputEventFilterSensitiveLog");
2218
2026
  var RetrieveAndGenerateStreamResponseOutputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2219
- if (obj.output !== void 0)
2220
- return { output: import_smithy_client.SENSITIVE_STRING };
2221
- if (obj.citation !== void 0)
2222
- return { citation: CitationEventFilterSensitiveLog(obj.citation) };
2223
- if (obj.guardrail !== void 0)
2224
- return { guardrail: obj.guardrail };
2225
- if (obj.internalServerException !== void 0)
2226
- return { internalServerException: obj.internalServerException };
2227
- if (obj.validationException !== void 0)
2228
- return { validationException: obj.validationException };
2229
- if (obj.resourceNotFoundException !== void 0)
2230
- return { resourceNotFoundException: obj.resourceNotFoundException };
2027
+ if (obj.output !== void 0) return { output: import_smithy_client.SENSITIVE_STRING };
2028
+ if (obj.citation !== void 0) return { citation: CitationEventFilterSensitiveLog(obj.citation) };
2029
+ if (obj.guardrail !== void 0) return { guardrail: obj.guardrail };
2030
+ if (obj.internalServerException !== void 0) return { internalServerException: obj.internalServerException };
2031
+ if (obj.validationException !== void 0) return { validationException: obj.validationException };
2032
+ if (obj.resourceNotFoundException !== void 0) return { resourceNotFoundException: obj.resourceNotFoundException };
2231
2033
  if (obj.serviceQuotaExceededException !== void 0)
2232
2034
  return { serviceQuotaExceededException: obj.serviceQuotaExceededException };
2233
- if (obj.throttlingException !== void 0)
2234
- return { throttlingException: obj.throttlingException };
2235
- if (obj.accessDeniedException !== void 0)
2236
- return { accessDeniedException: obj.accessDeniedException };
2237
- if (obj.conflictException !== void 0)
2238
- return { conflictException: obj.conflictException };
2239
- if (obj.dependencyFailedException !== void 0)
2240
- return { dependencyFailedException: obj.dependencyFailedException };
2241
- if (obj.badGatewayException !== void 0)
2242
- return { badGatewayException: obj.badGatewayException };
2243
- if (obj.$unknown !== void 0)
2244
- return { [obj.$unknown[0]]: "UNKNOWN" };
2035
+ if (obj.throttlingException !== void 0) return { throttlingException: obj.throttlingException };
2036
+ if (obj.accessDeniedException !== void 0) return { accessDeniedException: obj.accessDeniedException };
2037
+ if (obj.conflictException !== void 0) return { conflictException: obj.conflictException };
2038
+ if (obj.dependencyFailedException !== void 0) return { dependencyFailedException: obj.dependencyFailedException };
2039
+ if (obj.badGatewayException !== void 0) return { badGatewayException: obj.badGatewayException };
2040
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2245
2041
  }, "RetrieveAndGenerateStreamResponseOutputFilterSensitiveLog");
2246
2042
  var RetrieveAndGenerateStreamResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2247
2043
  ...obj,
@@ -2261,18 +2057,13 @@ var RetrieveResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2261
2057
  ...obj.retrievalResults && { retrievalResults: import_smithy_client.SENSITIVE_STRING }
2262
2058
  }), "RetrieveResponseFilterSensitiveLog");
2263
2059
  var BedrockSessionContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2264
- if (obj.text !== void 0)
2265
- return { text: obj.text };
2266
- if (obj.image !== void 0)
2267
- return { image: obj.image };
2268
- if (obj.$unknown !== void 0)
2269
- return { [obj.$unknown[0]]: "UNKNOWN" };
2060
+ if (obj.text !== void 0) return { text: obj.text };
2061
+ if (obj.image !== void 0) return { image: obj.image };
2062
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2270
2063
  }, "BedrockSessionContentBlockFilterSensitiveLog");
2271
2064
  var InvocationStepPayloadFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2272
- if (obj.contentBlocks !== void 0)
2273
- return { contentBlocks: import_smithy_client.SENSITIVE_STRING };
2274
- if (obj.$unknown !== void 0)
2275
- return { [obj.$unknown[0]]: "UNKNOWN" };
2065
+ if (obj.contentBlocks !== void 0) return { contentBlocks: import_smithy_client.SENSITIVE_STRING };
2066
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2276
2067
  }, "InvocationStepPayloadFilterSensitiveLog");
2277
2068
  var InvocationStepFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2278
2069
  ...obj,
@@ -2292,64 +2083,37 @@ var PutInvocationStepRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
2292
2083
  var RetrievalFilter;
2293
2084
  ((RetrievalFilter2) => {
2294
2085
  RetrievalFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
2295
- if (value.equals !== void 0)
2296
- return visitor.equals(value.equals);
2297
- if (value.notEquals !== void 0)
2298
- return visitor.notEquals(value.notEquals);
2299
- if (value.greaterThan !== void 0)
2300
- return visitor.greaterThan(value.greaterThan);
2301
- if (value.greaterThanOrEquals !== void 0)
2302
- return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
2303
- if (value.lessThan !== void 0)
2304
- return visitor.lessThan(value.lessThan);
2305
- if (value.lessThanOrEquals !== void 0)
2306
- return visitor.lessThanOrEquals(value.lessThanOrEquals);
2307
- if (value.in !== void 0)
2308
- return visitor.in(value.in);
2309
- if (value.notIn !== void 0)
2310
- return visitor.notIn(value.notIn);
2311
- if (value.startsWith !== void 0)
2312
- return visitor.startsWith(value.startsWith);
2313
- if (value.listContains !== void 0)
2314
- return visitor.listContains(value.listContains);
2315
- if (value.stringContains !== void 0)
2316
- return visitor.stringContains(value.stringContains);
2317
- if (value.andAll !== void 0)
2318
- return visitor.andAll(value.andAll);
2319
- if (value.orAll !== void 0)
2320
- return visitor.orAll(value.orAll);
2086
+ if (value.equals !== void 0) return visitor.equals(value.equals);
2087
+ if (value.notEquals !== void 0) return visitor.notEquals(value.notEquals);
2088
+ if (value.greaterThan !== void 0) return visitor.greaterThan(value.greaterThan);
2089
+ if (value.greaterThanOrEquals !== void 0) return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
2090
+ if (value.lessThan !== void 0) return visitor.lessThan(value.lessThan);
2091
+ if (value.lessThanOrEquals !== void 0) return visitor.lessThanOrEquals(value.lessThanOrEquals);
2092
+ if (value.in !== void 0) return visitor.in(value.in);
2093
+ if (value.notIn !== void 0) return visitor.notIn(value.notIn);
2094
+ if (value.startsWith !== void 0) return visitor.startsWith(value.startsWith);
2095
+ if (value.listContains !== void 0) return visitor.listContains(value.listContains);
2096
+ if (value.stringContains !== void 0) return visitor.stringContains(value.stringContains);
2097
+ if (value.andAll !== void 0) return visitor.andAll(value.andAll);
2098
+ if (value.orAll !== void 0) return visitor.orAll(value.orAll);
2321
2099
  return visitor._(value.$unknown[0], value.$unknown[1]);
2322
2100
  }, "visit");
2323
2101
  })(RetrievalFilter || (RetrievalFilter = {}));
2324
2102
  var RetrievalFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
2325
- if (obj.equals !== void 0)
2326
- return { equals: obj.equals };
2327
- if (obj.notEquals !== void 0)
2328
- return { notEquals: obj.notEquals };
2329
- if (obj.greaterThan !== void 0)
2330
- return { greaterThan: obj.greaterThan };
2331
- if (obj.greaterThanOrEquals !== void 0)
2332
- return { greaterThanOrEquals: obj.greaterThanOrEquals };
2333
- if (obj.lessThan !== void 0)
2334
- return { lessThan: obj.lessThan };
2335
- if (obj.lessThanOrEquals !== void 0)
2336
- return { lessThanOrEquals: obj.lessThanOrEquals };
2337
- if (obj.in !== void 0)
2338
- return { in: obj.in };
2339
- if (obj.notIn !== void 0)
2340
- return { notIn: obj.notIn };
2341
- if (obj.startsWith !== void 0)
2342
- return { startsWith: obj.startsWith };
2343
- if (obj.listContains !== void 0)
2344
- return { listContains: obj.listContains };
2345
- if (obj.stringContains !== void 0)
2346
- return { stringContains: obj.stringContains };
2347
- if (obj.andAll !== void 0)
2348
- return { andAll: import_smithy_client.SENSITIVE_STRING };
2349
- if (obj.orAll !== void 0)
2350
- return { orAll: import_smithy_client.SENSITIVE_STRING };
2351
- if (obj.$unknown !== void 0)
2352
- return { [obj.$unknown[0]]: "UNKNOWN" };
2103
+ if (obj.equals !== void 0) return { equals: obj.equals };
2104
+ if (obj.notEquals !== void 0) return { notEquals: obj.notEquals };
2105
+ if (obj.greaterThan !== void 0) return { greaterThan: obj.greaterThan };
2106
+ if (obj.greaterThanOrEquals !== void 0) return { greaterThanOrEquals: obj.greaterThanOrEquals };
2107
+ if (obj.lessThan !== void 0) return { lessThan: obj.lessThan };
2108
+ if (obj.lessThanOrEquals !== void 0) return { lessThanOrEquals: obj.lessThanOrEquals };
2109
+ if (obj.in !== void 0) return { in: obj.in };
2110
+ if (obj.notIn !== void 0) return { notIn: obj.notIn };
2111
+ if (obj.startsWith !== void 0) return { startsWith: obj.startsWith };
2112
+ if (obj.listContains !== void 0) return { listContains: obj.listContains };
2113
+ if (obj.stringContains !== void 0) return { stringContains: obj.stringContains };
2114
+ if (obj.andAll !== void 0) return { andAll: import_smithy_client.SENSITIVE_STRING };
2115
+ if (obj.orAll !== void 0) return { orAll: import_smithy_client.SENSITIVE_STRING };
2116
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
2353
2117
  }, "RetrievalFilterFilterSensitiveLog");
2354
2118
  var KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
2355
2119
  ...obj,
@@ -2513,8 +2277,8 @@ var se_CreateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
2513
2277
  body = JSON.stringify(
2514
2278
  (0, import_smithy_client.take)(input, {
2515
2279
  encryptionKeyArn: [],
2516
- sessionMetadata: (_) => (0, import_smithy_client._json)(_),
2517
- tags: (_) => (0, import_smithy_client._json)(_)
2280
+ sessionMetadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sessionMetadata"),
2281
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
2518
2282
  })
2519
2283
  );
2520
2284
  b.m("PUT").h(headers).b(body);
@@ -2561,8 +2325,8 @@ var se_GenerateQueryCommand = /* @__PURE__ */ __name(async (input, context) => {
2561
2325
  let body;
2562
2326
  body = JSON.stringify(
2563
2327
  (0, import_smithy_client.take)(input, {
2564
- queryGenerationInput: (_) => (0, import_smithy_client._json)(_),
2565
- transformationConfiguration: (_) => (0, import_smithy_client._json)(_)
2328
+ queryGenerationInput: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "queryGenerationInput"),
2329
+ transformationConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "transformationConfiguration")
2566
2330
  })
2567
2331
  );
2568
2332
  b.m("POST").h(headers).b(body);
@@ -2623,13 +2387,13 @@ var se_InvokeAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
2623
2387
  let body;
2624
2388
  body = JSON.stringify(
2625
2389
  (0, import_smithy_client.take)(input, {
2626
- bedrockModelConfigurations: (_) => (0, import_smithy_client._json)(_),
2390
+ bedrockModelConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "bedrockModelConfigurations"),
2627
2391
  enableTrace: [],
2628
2392
  endSession: [],
2629
2393
  inputText: [],
2630
2394
  memoryId: [],
2631
- sessionState: (_) => se_SessionState(_, context),
2632
- streamingConfigurations: (_) => (0, import_smithy_client._json)(_)
2395
+ sessionState: /* @__PURE__ */ __name((_) => se_SessionState(_, context), "sessionState"),
2396
+ streamingConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "streamingConfigurations")
2633
2397
  })
2634
2398
  );
2635
2399
  b.m("POST").h(headers).b(body);
@@ -2648,8 +2412,8 @@ var se_InvokeFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
2648
2412
  (0, import_smithy_client.take)(input, {
2649
2413
  enableTrace: [],
2650
2414
  executionId: [],
2651
- inputs: (_) => se_FlowInputs(_, context),
2652
- modelPerformanceConfiguration: (_) => (0, import_smithy_client._json)(_)
2415
+ inputs: /* @__PURE__ */ __name((_) => se_FlowInputs(_, context), "inputs"),
2416
+ modelPerformanceConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "modelPerformanceConfiguration")
2653
2417
  })
2654
2418
  );
2655
2419
  b.m("POST").h(headers).b(body);
@@ -2665,23 +2429,23 @@ var se_InvokeInlineAgentCommand = /* @__PURE__ */ __name(async (input, context)
2665
2429
  let body;
2666
2430
  body = JSON.stringify(
2667
2431
  (0, import_smithy_client.take)(input, {
2668
- actionGroups: (_) => (0, import_smithy_client._json)(_),
2432
+ actionGroups: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actionGroups"),
2669
2433
  agentCollaboration: [],
2670
- bedrockModelConfigurations: (_) => (0, import_smithy_client._json)(_),
2671
- collaboratorConfigurations: (_) => (0, import_smithy_client._json)(_),
2672
- collaborators: (_) => se_Collaborators(_, context),
2434
+ bedrockModelConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "bedrockModelConfigurations"),
2435
+ collaboratorConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "collaboratorConfigurations"),
2436
+ collaborators: /* @__PURE__ */ __name((_) => se_Collaborators(_, context), "collaborators"),
2673
2437
  customerEncryptionKeyArn: [],
2674
2438
  enableTrace: [],
2675
2439
  endSession: [],
2676
2440
  foundationModel: [],
2677
- guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
2441
+ guardrailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfiguration"),
2678
2442
  idleSessionTTLInSeconds: [],
2679
- inlineSessionState: (_) => se_InlineSessionState(_, context),
2443
+ inlineSessionState: /* @__PURE__ */ __name((_) => se_InlineSessionState(_, context), "inlineSessionState"),
2680
2444
  inputText: [],
2681
2445
  instruction: [],
2682
- knowledgeBases: (_) => se_KnowledgeBases(_, context),
2683
- promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context),
2684
- streamingConfigurations: (_) => (0, import_smithy_client._json)(_)
2446
+ knowledgeBases: /* @__PURE__ */ __name((_) => se_KnowledgeBases(_, context), "knowledgeBases"),
2447
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => se_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration"),
2448
+ streamingConfigurations: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "streamingConfigurations")
2685
2449
  })
2686
2450
  );
2687
2451
  b.m("POST").h(headers).b(body);
@@ -2750,7 +2514,7 @@ var se_OptimizePromptCommand = /* @__PURE__ */ __name(async (input, context) =>
2750
2514
  let body;
2751
2515
  body = JSON.stringify(
2752
2516
  (0, import_smithy_client.take)(input, {
2753
- input: (_) => (0, import_smithy_client._json)(_),
2517
+ input: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "input"),
2754
2518
  targetModelId: []
2755
2519
  })
2756
2520
  );
@@ -2769,8 +2533,8 @@ var se_PutInvocationStepCommand = /* @__PURE__ */ __name(async (input, context)
2769
2533
  (0, import_smithy_client.take)(input, {
2770
2534
  invocationIdentifier: [],
2771
2535
  invocationStepId: [],
2772
- invocationStepTime: (_) => (0, import_smithy_client.serializeDateTime)(_),
2773
- payload: (_) => se_InvocationStepPayload(_, context)
2536
+ invocationStepTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.serializeDateTime)(_), "invocationStepTime"),
2537
+ payload: /* @__PURE__ */ __name((_) => se_InvocationStepPayload(_, context), "payload")
2774
2538
  })
2775
2539
  );
2776
2540
  b.m("PUT").h(headers).b(body);
@@ -2786,9 +2550,9 @@ var se_RerankCommand = /* @__PURE__ */ __name(async (input, context) => {
2786
2550
  body = JSON.stringify(
2787
2551
  (0, import_smithy_client.take)(input, {
2788
2552
  nextToken: [],
2789
- queries: (_) => (0, import_smithy_client._json)(_),
2790
- rerankingConfiguration: (_) => se_RerankingConfiguration(_, context),
2791
- sources: (_) => se_RerankSourcesList(_, context)
2553
+ queries: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "queries"),
2554
+ rerankingConfiguration: /* @__PURE__ */ __name((_) => se_RerankingConfiguration(_, context), "rerankingConfiguration"),
2555
+ sources: /* @__PURE__ */ __name((_) => se_RerankSourcesList(_, context), "sources")
2792
2556
  })
2793
2557
  );
2794
2558
  b.m("POST").h(headers).b(body);
@@ -2804,10 +2568,10 @@ var se_RetrieveCommand = /* @__PURE__ */ __name(async (input, context) => {
2804
2568
  let body;
2805
2569
  body = JSON.stringify(
2806
2570
  (0, import_smithy_client.take)(input, {
2807
- guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
2571
+ guardrailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfiguration"),
2808
2572
  nextToken: [],
2809
- retrievalConfiguration: (_) => se_KnowledgeBaseRetrievalConfiguration(_, context),
2810
- retrievalQuery: (_) => (0, import_smithy_client._json)(_)
2573
+ retrievalConfiguration: /* @__PURE__ */ __name((_) => se_KnowledgeBaseRetrievalConfiguration(_, context), "retrievalConfiguration"),
2574
+ retrievalQuery: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "retrievalQuery")
2811
2575
  })
2812
2576
  );
2813
2577
  b.m("POST").h(headers).b(body);
@@ -2822,9 +2586,9 @@ var se_RetrieveAndGenerateCommand = /* @__PURE__ */ __name(async (input, context
2822
2586
  let body;
2823
2587
  body = JSON.stringify(
2824
2588
  (0, import_smithy_client.take)(input, {
2825
- input: (_) => (0, import_smithy_client._json)(_),
2826
- retrieveAndGenerateConfiguration: (_) => se_RetrieveAndGenerateConfiguration(_, context),
2827
- sessionConfiguration: (_) => (0, import_smithy_client._json)(_),
2589
+ input: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "input"),
2590
+ retrieveAndGenerateConfiguration: /* @__PURE__ */ __name((_) => se_RetrieveAndGenerateConfiguration(_, context), "retrieveAndGenerateConfiguration"),
2591
+ sessionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sessionConfiguration"),
2828
2592
  sessionId: []
2829
2593
  })
2830
2594
  );
@@ -2840,9 +2604,9 @@ var se_RetrieveAndGenerateStreamCommand = /* @__PURE__ */ __name(async (input, c
2840
2604
  let body;
2841
2605
  body = JSON.stringify(
2842
2606
  (0, import_smithy_client.take)(input, {
2843
- input: (_) => (0, import_smithy_client._json)(_),
2844
- retrieveAndGenerateConfiguration: (_) => se_RetrieveAndGenerateConfiguration(_, context),
2845
- sessionConfiguration: (_) => (0, import_smithy_client._json)(_),
2607
+ input: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "input"),
2608
+ retrieveAndGenerateConfiguration: /* @__PURE__ */ __name((_) => se_RetrieveAndGenerateConfiguration(_, context), "retrieveAndGenerateConfiguration"),
2609
+ sessionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sessionConfiguration"),
2846
2610
  sessionId: []
2847
2611
  })
2848
2612
  );
@@ -2859,7 +2623,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
2859
2623
  let body;
2860
2624
  body = JSON.stringify(
2861
2625
  (0, import_smithy_client.take)(input, {
2862
- tags: (_) => (0, import_smithy_client._json)(_)
2626
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
2863
2627
  })
2864
2628
  );
2865
2629
  b.m("POST").h(headers).b(body);
@@ -2887,7 +2651,7 @@ var se_UpdateSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
2887
2651
  let body;
2888
2652
  body = JSON.stringify(
2889
2653
  (0, import_smithy_client.take)(input, {
2890
- sessionMetadata: (_) => (0, import_smithy_client._json)(_)
2654
+ sessionMetadata: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sessionMetadata")
2891
2655
  })
2892
2656
  );
2893
2657
  b.m("PUT").h(headers).b(body);
@@ -2902,7 +2666,7 @@ var de_CreateInvocationCommand = /* @__PURE__ */ __name(async (output, context)
2902
2666
  });
2903
2667
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2904
2668
  const doc = (0, import_smithy_client.take)(data, {
2905
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2669
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
2906
2670
  invocationId: import_smithy_client.expectString,
2907
2671
  sessionId: import_smithy_client.expectString
2908
2672
  });
@@ -2918,7 +2682,7 @@ var de_CreateSessionCommand = /* @__PURE__ */ __name(async (output, context) =>
2918
2682
  });
2919
2683
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2920
2684
  const doc = (0, import_smithy_client.take)(data, {
2921
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2685
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
2922
2686
  sessionArn: import_smithy_client.expectString,
2923
2687
  sessionId: import_smithy_client.expectString,
2924
2688
  sessionStatus: import_smithy_client.expectString
@@ -2985,7 +2749,7 @@ var de_GetAgentMemoryCommand = /* @__PURE__ */ __name(async (output, context) =>
2985
2749
  });
2986
2750
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2987
2751
  const doc = (0, import_smithy_client.take)(data, {
2988
- memoryContents: (_) => de_Memories(_, context),
2752
+ memoryContents: /* @__PURE__ */ __name((_) => de_Memories(_, context), "memoryContents"),
2989
2753
  nextToken: import_smithy_client.expectString
2990
2754
  });
2991
2755
  Object.assign(contents, doc);
@@ -3000,7 +2764,7 @@ var de_GetInvocationStepCommand = /* @__PURE__ */ __name(async (output, context)
3000
2764
  });
3001
2765
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3002
2766
  const doc = (0, import_smithy_client.take)(data, {
3003
- invocationStep: (_) => de_InvocationStep(_, context)
2767
+ invocationStep: /* @__PURE__ */ __name((_) => de_InvocationStep(_, context), "invocationStep")
3004
2768
  });
3005
2769
  Object.assign(contents, doc);
3006
2770
  return contents;
@@ -3014,9 +2778,9 @@ var de_GetSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
3014
2778
  });
3015
2779
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3016
2780
  const doc = (0, import_smithy_client.take)(data, {
3017
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2781
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3018
2782
  encryptionKeyArn: import_smithy_client.expectString,
3019
- lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2783
+ lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
3020
2784
  sessionArn: import_smithy_client.expectString,
3021
2785
  sessionId: import_smithy_client.expectString,
3022
2786
  sessionMetadata: import_smithy_client._json,
@@ -3073,7 +2837,7 @@ var de_ListInvocationsCommand = /* @__PURE__ */ __name(async (output, context) =
3073
2837
  });
3074
2838
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3075
2839
  const doc = (0, import_smithy_client.take)(data, {
3076
- invocationSummaries: (_) => de_InvocationSummaries(_, context),
2840
+ invocationSummaries: /* @__PURE__ */ __name((_) => de_InvocationSummaries(_, context), "invocationSummaries"),
3077
2841
  nextToken: import_smithy_client.expectString
3078
2842
  });
3079
2843
  Object.assign(contents, doc);
@@ -3088,7 +2852,7 @@ var de_ListInvocationStepsCommand = /* @__PURE__ */ __name(async (output, contex
3088
2852
  });
3089
2853
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3090
2854
  const doc = (0, import_smithy_client.take)(data, {
3091
- invocationStepSummaries: (_) => de_InvocationStepSummaries(_, context),
2855
+ invocationStepSummaries: /* @__PURE__ */ __name((_) => de_InvocationStepSummaries(_, context), "invocationStepSummaries"),
3092
2856
  nextToken: import_smithy_client.expectString
3093
2857
  });
3094
2858
  Object.assign(contents, doc);
@@ -3104,7 +2868,7 @@ var de_ListSessionsCommand = /* @__PURE__ */ __name(async (output, context) => {
3104
2868
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3105
2869
  const doc = (0, import_smithy_client.take)(data, {
3106
2870
  nextToken: import_smithy_client.expectString,
3107
- sessionSummaries: (_) => de_SessionSummaries(_, context)
2871
+ sessionSummaries: /* @__PURE__ */ __name((_) => de_SessionSummaries(_, context), "sessionSummaries")
3108
2872
  });
3109
2873
  Object.assign(contents, doc);
3110
2874
  return contents;
@@ -3158,7 +2922,7 @@ var de_RerankCommand = /* @__PURE__ */ __name(async (output, context) => {
3158
2922
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3159
2923
  const doc = (0, import_smithy_client.take)(data, {
3160
2924
  nextToken: import_smithy_client.expectString,
3161
- results: (_) => de_RerankResultsList(_, context)
2925
+ results: /* @__PURE__ */ __name((_) => de_RerankResultsList(_, context), "results")
3162
2926
  });
3163
2927
  Object.assign(contents, doc);
3164
2928
  return contents;
@@ -3174,7 +2938,7 @@ var de_RetrieveCommand = /* @__PURE__ */ __name(async (output, context) => {
3174
2938
  const doc = (0, import_smithy_client.take)(data, {
3175
2939
  guardrailAction: import_smithy_client.expectString,
3176
2940
  nextToken: import_smithy_client.expectString,
3177
- retrievalResults: (_) => de_KnowledgeBaseRetrievalResults(_, context)
2941
+ retrievalResults: /* @__PURE__ */ __name((_) => de_KnowledgeBaseRetrievalResults(_, context), "retrievalResults")
3178
2942
  });
3179
2943
  Object.assign(contents, doc);
3180
2944
  return contents;
@@ -3188,7 +2952,7 @@ var de_RetrieveAndGenerateCommand = /* @__PURE__ */ __name(async (output, contex
3188
2952
  });
3189
2953
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3190
2954
  const doc = (0, import_smithy_client.take)(data, {
3191
- citations: (_) => de_Citations(_, context),
2955
+ citations: /* @__PURE__ */ __name((_) => de_Citations(_, context), "citations"),
3192
2956
  guardrailAction: import_smithy_client.expectString,
3193
2957
  output: import_smithy_client._json,
3194
2958
  sessionId: import_smithy_client.expectString
@@ -3237,8 +3001,8 @@ var de_UpdateSessionCommand = /* @__PURE__ */ __name(async (output, context) =>
3237
3001
  });
3238
3002
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3239
3003
  const doc = (0, import_smithy_client.take)(data, {
3240
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3241
- lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3004
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3005
+ lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
3242
3006
  sessionArn: import_smithy_client.expectString,
3243
3007
  sessionId: import_smithy_client.expectString,
3244
3008
  sessionStatus: import_smithy_client.expectString
@@ -3985,27 +3749,27 @@ var se_ApiResult = /* @__PURE__ */ __name((input, context) => {
3985
3749
  confirmationState: [],
3986
3750
  httpMethod: [],
3987
3751
  httpStatusCode: [],
3988
- responseBody: (_) => se_ResponseBody(_, context),
3752
+ responseBody: /* @__PURE__ */ __name((_) => se_ResponseBody(_, context), "responseBody"),
3989
3753
  responseState: []
3990
3754
  });
3991
3755
  }, "se_ApiResult");
3992
3756
  var se_BedrockRerankingConfiguration = /* @__PURE__ */ __name((input, context) => {
3993
3757
  return (0, import_smithy_client.take)(input, {
3994
- modelConfiguration: (_) => se_BedrockRerankingModelConfiguration(_, context),
3758
+ modelConfiguration: /* @__PURE__ */ __name((_) => se_BedrockRerankingModelConfiguration(_, context), "modelConfiguration"),
3995
3759
  numberOfResults: []
3996
3760
  });
3997
3761
  }, "se_BedrockRerankingConfiguration");
3998
3762
  var se_BedrockRerankingModelConfiguration = /* @__PURE__ */ __name((input, context) => {
3999
3763
  return (0, import_smithy_client.take)(input, {
4000
- additionalModelRequestFields: (_) => se_AdditionalModelRequestFields(_, context),
3764
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_AdditionalModelRequestFields(_, context), "additionalModelRequestFields"),
4001
3765
  modelArn: []
4002
3766
  });
4003
3767
  }, "se_BedrockRerankingModelConfiguration");
4004
3768
  var se_BedrockSessionContentBlock = /* @__PURE__ */ __name((input, context) => {
4005
3769
  return BedrockSessionContentBlock.visit(input, {
4006
- image: (value) => ({ image: se_ImageBlock(value, context) }),
4007
- text: (value) => ({ text: value }),
4008
- _: (name, value) => ({ [name]: value })
3770
+ image: /* @__PURE__ */ __name((value) => ({ image: se_ImageBlock(value, context) }), "image"),
3771
+ text: /* @__PURE__ */ __name((value) => ({ text: value }), "text"),
3772
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4009
3773
  });
4010
3774
  }, "se_BedrockSessionContentBlock");
4011
3775
  var se_BedrockSessionContentBlocks = /* @__PURE__ */ __name((input, context) => {
@@ -4037,8 +3801,8 @@ var se_Collaborator = /* @__PURE__ */ __name((input, context) => {
4037
3801
  guardrailConfiguration: import_smithy_client._json,
4038
3802
  idleSessionTTLInSeconds: [],
4039
3803
  instruction: [],
4040
- knowledgeBases: (_) => se_KnowledgeBases(_, context),
4041
- promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context)
3804
+ knowledgeBases: /* @__PURE__ */ __name((_) => se_KnowledgeBases(_, context), "knowledgeBases"),
3805
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => se_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration")
4042
3806
  });
4043
3807
  }, "se_Collaborator");
4044
3808
  var se_Collaborators = /* @__PURE__ */ __name((input, context) => {
@@ -4049,12 +3813,12 @@ var se_Collaborators = /* @__PURE__ */ __name((input, context) => {
4049
3813
  var se_ContentBody = /* @__PURE__ */ __name((input, context) => {
4050
3814
  return (0, import_smithy_client.take)(input, {
4051
3815
  body: [],
4052
- images: (_) => se_ImageInputs(_, context)
3816
+ images: /* @__PURE__ */ __name((_) => se_ImageInputs(_, context), "images")
4053
3817
  });
4054
3818
  }, "se_ContentBody");
4055
3819
  var se_ExternalSource = /* @__PURE__ */ __name((input, context) => {
4056
3820
  return (0, import_smithy_client.take)(input, {
4057
- byteContent: (_) => se_ByteContentDoc(_, context),
3821
+ byteContent: /* @__PURE__ */ __name((_) => se_ByteContentDoc(_, context), "byteContent"),
4058
3822
  s3Location: import_smithy_client._json,
4059
3823
  sourceType: []
4060
3824
  });
@@ -4066,23 +3830,23 @@ var se_ExternalSources = /* @__PURE__ */ __name((input, context) => {
4066
3830
  }, "se_ExternalSources");
4067
3831
  var se_ExternalSourcesGenerationConfiguration = /* @__PURE__ */ __name((input, context) => {
4068
3832
  return (0, import_smithy_client.take)(input, {
4069
- additionalModelRequestFields: (_) => se_AdditionalModelRequestFields(_, context),
3833
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_AdditionalModelRequestFields(_, context), "additionalModelRequestFields"),
4070
3834
  guardrailConfiguration: import_smithy_client._json,
4071
- inferenceConfig: (_) => se_InferenceConfig(_, context),
3835
+ inferenceConfig: /* @__PURE__ */ __name((_) => se_InferenceConfig(_, context), "inferenceConfig"),
4072
3836
  performanceConfig: import_smithy_client._json,
4073
3837
  promptTemplate: import_smithy_client._json
4074
3838
  });
4075
3839
  }, "se_ExternalSourcesGenerationConfiguration");
4076
3840
  var se_ExternalSourcesRetrieveAndGenerateConfiguration = /* @__PURE__ */ __name((input, context) => {
4077
3841
  return (0, import_smithy_client.take)(input, {
4078
- generationConfiguration: (_) => se_ExternalSourcesGenerationConfiguration(_, context),
3842
+ generationConfiguration: /* @__PURE__ */ __name((_) => se_ExternalSourcesGenerationConfiguration(_, context), "generationConfiguration"),
4079
3843
  modelArn: [],
4080
- sources: (_) => se_ExternalSources(_, context)
3844
+ sources: /* @__PURE__ */ __name((_) => se_ExternalSources(_, context), "sources")
4081
3845
  });
4082
3846
  }, "se_ExternalSourcesRetrieveAndGenerateConfiguration");
4083
3847
  var se_FileSource = /* @__PURE__ */ __name((input, context) => {
4084
3848
  return (0, import_smithy_client.take)(input, {
4085
- byteContent: (_) => se_ByteContentFile(_, context),
3849
+ byteContent: /* @__PURE__ */ __name((_) => se_ByteContentFile(_, context), "byteContent"),
4086
3850
  s3Location: import_smithy_client._json,
4087
3851
  sourceType: []
4088
3852
  });
@@ -4090,7 +3854,7 @@ var se_FileSource = /* @__PURE__ */ __name((input, context) => {
4090
3854
  var se_FilterAttribute = /* @__PURE__ */ __name((input, context) => {
4091
3855
  return (0, import_smithy_client.take)(input, {
4092
3856
  key: [],
4093
- value: (_) => se_FilterValue(_, context)
3857
+ value: /* @__PURE__ */ __name((_) => se_FilterValue(_, context), "value")
4094
3858
  });
4095
3859
  }, "se_FilterAttribute");
4096
3860
  var se_FilterValue = /* @__PURE__ */ __name((input, context) => {
@@ -4098,7 +3862,7 @@ var se_FilterValue = /* @__PURE__ */ __name((input, context) => {
4098
3862
  }, "se_FilterValue");
4099
3863
  var se_FlowInput = /* @__PURE__ */ __name((input, context) => {
4100
3864
  return (0, import_smithy_client.take)(input, {
4101
- content: (_) => se_FlowInputContent(_, context),
3865
+ content: /* @__PURE__ */ __name((_) => se_FlowInputContent(_, context), "content"),
4102
3866
  nodeInputName: [],
4103
3867
  nodeName: [],
4104
3868
  nodeOutputName: []
@@ -4106,8 +3870,8 @@ var se_FlowInput = /* @__PURE__ */ __name((input, context) => {
4106
3870
  }, "se_FlowInput");
4107
3871
  var se_FlowInputContent = /* @__PURE__ */ __name((input, context) => {
4108
3872
  return FlowInputContent.visit(input, {
4109
- document: (value) => ({ document: se_Document(value, context) }),
4110
- _: (name, value) => ({ [name]: value })
3873
+ document: /* @__PURE__ */ __name((value) => ({ document: se_Document(value, context) }), "document"),
3874
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4111
3875
  });
4112
3876
  }, "se_FlowInputContent");
4113
3877
  var se_FlowInputs = /* @__PURE__ */ __name((input, context) => {
@@ -4121,15 +3885,15 @@ var se_FunctionResult = /* @__PURE__ */ __name((input, context) => {
4121
3885
  agentId: [],
4122
3886
  confirmationState: [],
4123
3887
  function: [],
4124
- responseBody: (_) => se_ResponseBody(_, context),
3888
+ responseBody: /* @__PURE__ */ __name((_) => se_ResponseBody(_, context), "responseBody"),
4125
3889
  responseState: []
4126
3890
  });
4127
3891
  }, "se_FunctionResult");
4128
3892
  var se_GenerationConfiguration = /* @__PURE__ */ __name((input, context) => {
4129
3893
  return (0, import_smithy_client.take)(input, {
4130
- additionalModelRequestFields: (_) => se_AdditionalModelRequestFields(_, context),
3894
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_AdditionalModelRequestFields(_, context), "additionalModelRequestFields"),
4131
3895
  guardrailConfiguration: import_smithy_client._json,
4132
- inferenceConfig: (_) => se_InferenceConfig(_, context),
3896
+ inferenceConfig: /* @__PURE__ */ __name((_) => se_InferenceConfig(_, context), "inferenceConfig"),
4133
3897
  performanceConfig: import_smithy_client._json,
4134
3898
  promptTemplate: import_smithy_client._json
4135
3899
  });
@@ -4137,13 +3901,13 @@ var se_GenerationConfiguration = /* @__PURE__ */ __name((input, context) => {
4137
3901
  var se_ImageBlock = /* @__PURE__ */ __name((input, context) => {
4138
3902
  return (0, import_smithy_client.take)(input, {
4139
3903
  format: [],
4140
- source: (_) => se_ImageSource(_, context)
3904
+ source: /* @__PURE__ */ __name((_) => se_ImageSource(_, context), "source")
4141
3905
  });
4142
3906
  }, "se_ImageBlock");
4143
3907
  var se_ImageInput = /* @__PURE__ */ __name((input, context) => {
4144
3908
  return (0, import_smithy_client.take)(input, {
4145
3909
  format: [],
4146
- source: (_) => se_ImageInputSource(_, context)
3910
+ source: /* @__PURE__ */ __name((_) => se_ImageInputSource(_, context), "source")
4147
3911
  });
4148
3912
  }, "se_ImageInput");
4149
3913
  var se_ImageInputs = /* @__PURE__ */ __name((input, context) => {
@@ -4153,20 +3917,20 @@ var se_ImageInputs = /* @__PURE__ */ __name((input, context) => {
4153
3917
  }, "se_ImageInputs");
4154
3918
  var se_ImageInputSource = /* @__PURE__ */ __name((input, context) => {
4155
3919
  return ImageInputSource.visit(input, {
4156
- bytes: (value) => ({ bytes: context.base64Encoder(value) }),
4157
- _: (name, value) => ({ [name]: value })
3920
+ bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
3921
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4158
3922
  });
4159
3923
  }, "se_ImageInputSource");
4160
3924
  var se_ImageSource = /* @__PURE__ */ __name((input, context) => {
4161
3925
  return ImageSource.visit(input, {
4162
- bytes: (value) => ({ bytes: context.base64Encoder(value) }),
4163
- s3Location: (value) => ({ s3Location: (0, import_smithy_client._json)(value) }),
4164
- _: (name, value) => ({ [name]: value })
3926
+ bytes: /* @__PURE__ */ __name((value) => ({ bytes: context.base64Encoder(value) }), "bytes"),
3927
+ s3Location: /* @__PURE__ */ __name((value) => ({ s3Location: (0, import_smithy_client._json)(value) }), "s3Location"),
3928
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4165
3929
  });
4166
3930
  }, "se_ImageSource");
4167
3931
  var se_InferenceConfig = /* @__PURE__ */ __name((input, context) => {
4168
3932
  return (0, import_smithy_client.take)(input, {
4169
- textInferenceConfig: (_) => se_TextInferenceConfig(_, context)
3933
+ textInferenceConfig: /* @__PURE__ */ __name((_) => se_TextInferenceConfig(_, context), "textInferenceConfig")
4170
3934
  });
4171
3935
  }, "se_InferenceConfig");
4172
3936
  var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
@@ -4181,17 +3945,17 @@ var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
4181
3945
  var se_InlineSessionState = /* @__PURE__ */ __name((input, context) => {
4182
3946
  return (0, import_smithy_client.take)(input, {
4183
3947
  conversationHistory: import_smithy_client._json,
4184
- files: (_) => se_InputFiles(_, context),
3948
+ files: /* @__PURE__ */ __name((_) => se_InputFiles(_, context), "files"),
4185
3949
  invocationId: [],
4186
3950
  promptSessionAttributes: import_smithy_client._json,
4187
- returnControlInvocationResults: (_) => se_ReturnControlInvocationResults(_, context),
3951
+ returnControlInvocationResults: /* @__PURE__ */ __name((_) => se_ReturnControlInvocationResults(_, context), "returnControlInvocationResults"),
4188
3952
  sessionAttributes: import_smithy_client._json
4189
3953
  });
4190
3954
  }, "se_InlineSessionState");
4191
3955
  var se_InputFile = /* @__PURE__ */ __name((input, context) => {
4192
3956
  return (0, import_smithy_client.take)(input, {
4193
3957
  name: [],
4194
- source: (_) => se_FileSource(_, context),
3958
+ source: /* @__PURE__ */ __name((_) => se_FileSource(_, context), "source"),
4195
3959
  useCase: []
4196
3960
  });
4197
3961
  }, "se_InputFile");
@@ -4202,28 +3966,28 @@ var se_InputFiles = /* @__PURE__ */ __name((input, context) => {
4202
3966
  }, "se_InputFiles");
4203
3967
  var se_InvocationResultMember = /* @__PURE__ */ __name((input, context) => {
4204
3968
  return InvocationResultMember.visit(input, {
4205
- apiResult: (value) => ({ apiResult: se_ApiResult(value, context) }),
4206
- functionResult: (value) => ({ functionResult: se_FunctionResult(value, context) }),
4207
- _: (name, value) => ({ [name]: value })
3969
+ apiResult: /* @__PURE__ */ __name((value) => ({ apiResult: se_ApiResult(value, context) }), "apiResult"),
3970
+ functionResult: /* @__PURE__ */ __name((value) => ({ functionResult: se_FunctionResult(value, context) }), "functionResult"),
3971
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4208
3972
  });
4209
3973
  }, "se_InvocationResultMember");
4210
3974
  var se_InvocationStepPayload = /* @__PURE__ */ __name((input, context) => {
4211
3975
  return InvocationStepPayload.visit(input, {
4212
- contentBlocks: (value) => ({ contentBlocks: se_BedrockSessionContentBlocks(value, context) }),
4213
- _: (name, value) => ({ [name]: value })
3976
+ contentBlocks: /* @__PURE__ */ __name((value) => ({ contentBlocks: se_BedrockSessionContentBlocks(value, context) }), "contentBlocks"),
3977
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4214
3978
  });
4215
3979
  }, "se_InvocationStepPayload");
4216
3980
  var se_KnowledgeBase = /* @__PURE__ */ __name((input, context) => {
4217
3981
  return (0, import_smithy_client.take)(input, {
4218
3982
  description: [],
4219
3983
  knowledgeBaseId: [],
4220
- retrievalConfiguration: (_) => se_KnowledgeBaseRetrievalConfiguration(_, context)
3984
+ retrievalConfiguration: /* @__PURE__ */ __name((_) => se_KnowledgeBaseRetrievalConfiguration(_, context), "retrievalConfiguration")
4221
3985
  });
4222
3986
  }, "se_KnowledgeBase");
4223
3987
  var se_KnowledgeBaseConfiguration = /* @__PURE__ */ __name((input, context) => {
4224
3988
  return (0, import_smithy_client.take)(input, {
4225
3989
  knowledgeBaseId: [],
4226
- retrievalConfiguration: (_) => se_KnowledgeBaseRetrievalConfiguration(_, context)
3990
+ retrievalConfiguration: /* @__PURE__ */ __name((_) => se_KnowledgeBaseRetrievalConfiguration(_, context), "retrievalConfiguration")
4227
3991
  });
4228
3992
  }, "se_KnowledgeBaseConfiguration");
4229
3993
  var se_KnowledgeBaseConfigurations = /* @__PURE__ */ __name((input, context) => {
@@ -4233,16 +3997,16 @@ var se_KnowledgeBaseConfigurations = /* @__PURE__ */ __name((input, context) =>
4233
3997
  }, "se_KnowledgeBaseConfigurations");
4234
3998
  var se_KnowledgeBaseRetrievalConfiguration = /* @__PURE__ */ __name((input, context) => {
4235
3999
  return (0, import_smithy_client.take)(input, {
4236
- vectorSearchConfiguration: (_) => se_KnowledgeBaseVectorSearchConfiguration(_, context)
4000
+ vectorSearchConfiguration: /* @__PURE__ */ __name((_) => se_KnowledgeBaseVectorSearchConfiguration(_, context), "vectorSearchConfiguration")
4237
4001
  });
4238
4002
  }, "se_KnowledgeBaseRetrievalConfiguration");
4239
4003
  var se_KnowledgeBaseRetrieveAndGenerateConfiguration = /* @__PURE__ */ __name((input, context) => {
4240
4004
  return (0, import_smithy_client.take)(input, {
4241
- generationConfiguration: (_) => se_GenerationConfiguration(_, context),
4005
+ generationConfiguration: /* @__PURE__ */ __name((_) => se_GenerationConfiguration(_, context), "generationConfiguration"),
4242
4006
  knowledgeBaseId: [],
4243
4007
  modelArn: [],
4244
- orchestrationConfiguration: (_) => se_OrchestrationConfiguration(_, context),
4245
- retrievalConfiguration: (_) => se_KnowledgeBaseRetrievalConfiguration(_, context)
4008
+ orchestrationConfiguration: /* @__PURE__ */ __name((_) => se_OrchestrationConfiguration(_, context), "orchestrationConfiguration"),
4009
+ retrievalConfiguration: /* @__PURE__ */ __name((_) => se_KnowledgeBaseRetrievalConfiguration(_, context), "retrievalConfiguration")
4246
4010
  });
4247
4011
  }, "se_KnowledgeBaseRetrieveAndGenerateConfiguration");
4248
4012
  var se_KnowledgeBases = /* @__PURE__ */ __name((input, context) => {
@@ -4252,17 +4016,17 @@ var se_KnowledgeBases = /* @__PURE__ */ __name((input, context) => {
4252
4016
  }, "se_KnowledgeBases");
4253
4017
  var se_KnowledgeBaseVectorSearchConfiguration = /* @__PURE__ */ __name((input, context) => {
4254
4018
  return (0, import_smithy_client.take)(input, {
4255
- filter: (_) => se_RetrievalFilter(_, context),
4019
+ filter: /* @__PURE__ */ __name((_) => se_RetrievalFilter(_, context), "filter"),
4256
4020
  implicitFilterConfiguration: import_smithy_client._json,
4257
4021
  numberOfResults: [],
4258
4022
  overrideSearchType: [],
4259
- rerankingConfiguration: (_) => se_VectorSearchRerankingConfiguration(_, context)
4023
+ rerankingConfiguration: /* @__PURE__ */ __name((_) => se_VectorSearchRerankingConfiguration(_, context), "rerankingConfiguration")
4260
4024
  });
4261
4025
  }, "se_KnowledgeBaseVectorSearchConfiguration");
4262
4026
  var se_OrchestrationConfiguration = /* @__PURE__ */ __name((input, context) => {
4263
4027
  return (0, import_smithy_client.take)(input, {
4264
- additionalModelRequestFields: (_) => se_AdditionalModelRequestFields(_, context),
4265
- inferenceConfig: (_) => se_InferenceConfig(_, context),
4028
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_AdditionalModelRequestFields(_, context), "additionalModelRequestFields"),
4029
+ inferenceConfig: /* @__PURE__ */ __name((_) => se_InferenceConfig(_, context), "inferenceConfig"),
4266
4030
  performanceConfig: import_smithy_client._json,
4267
4031
  promptTemplate: import_smithy_client._json,
4268
4032
  queryTransformationConfiguration: import_smithy_client._json
@@ -4270,10 +4034,10 @@ var se_OrchestrationConfiguration = /* @__PURE__ */ __name((input, context) => {
4270
4034
  }, "se_OrchestrationConfiguration");
4271
4035
  var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
4272
4036
  return (0, import_smithy_client.take)(input, {
4273
- additionalModelRequestFields: (_) => se_Document(_, context),
4037
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
4274
4038
  basePromptTemplate: [],
4275
4039
  foundationModel: [],
4276
- inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
4040
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => se_InferenceConfiguration(_, context), "inferenceConfiguration"),
4277
4041
  parserMode: [],
4278
4042
  promptCreationMode: [],
4279
4043
  promptState: [],
@@ -4288,25 +4052,25 @@ var se_PromptConfigurations = /* @__PURE__ */ __name((input, context) => {
4288
4052
  var se_PromptOverrideConfiguration = /* @__PURE__ */ __name((input, context) => {
4289
4053
  return (0, import_smithy_client.take)(input, {
4290
4054
  overrideLambda: [],
4291
- promptConfigurations: (_) => se_PromptConfigurations(_, context)
4055
+ promptConfigurations: /* @__PURE__ */ __name((_) => se_PromptConfigurations(_, context), "promptConfigurations")
4292
4056
  });
4293
4057
  }, "se_PromptOverrideConfiguration");
4294
4058
  var se_RerankDocument = /* @__PURE__ */ __name((input, context) => {
4295
4059
  return (0, import_smithy_client.take)(input, {
4296
- jsonDocument: (_) => se_Document(_, context),
4060
+ jsonDocument: /* @__PURE__ */ __name((_) => se_Document(_, context), "jsonDocument"),
4297
4061
  textDocument: import_smithy_client._json,
4298
4062
  type: []
4299
4063
  });
4300
4064
  }, "se_RerankDocument");
4301
4065
  var se_RerankingConfiguration = /* @__PURE__ */ __name((input, context) => {
4302
4066
  return (0, import_smithy_client.take)(input, {
4303
- bedrockRerankingConfiguration: (_) => se_BedrockRerankingConfiguration(_, context),
4067
+ bedrockRerankingConfiguration: /* @__PURE__ */ __name((_) => se_BedrockRerankingConfiguration(_, context), "bedrockRerankingConfiguration"),
4304
4068
  type: []
4305
4069
  });
4306
4070
  }, "se_RerankingConfiguration");
4307
4071
  var se_RerankSource = /* @__PURE__ */ __name((input, context) => {
4308
4072
  return (0, import_smithy_client.take)(input, {
4309
- inlineDocumentSource: (_) => se_RerankDocument(_, context),
4073
+ inlineDocumentSource: /* @__PURE__ */ __name((_) => se_RerankDocument(_, context), "inlineDocumentSource"),
4310
4074
  type: []
4311
4075
  });
4312
4076
  }, "se_RerankSource");
@@ -4326,20 +4090,20 @@ var se_ResponseBody = /* @__PURE__ */ __name((input, context) => {
4326
4090
  }, "se_ResponseBody");
4327
4091
  var se_RetrievalFilter = /* @__PURE__ */ __name((input, context) => {
4328
4092
  return RetrievalFilter.visit(input, {
4329
- andAll: (value) => ({ andAll: se_RetrievalFilterList(value, context) }),
4330
- equals: (value) => ({ equals: se_FilterAttribute(value, context) }),
4331
- greaterThan: (value) => ({ greaterThan: se_FilterAttribute(value, context) }),
4332
- greaterThanOrEquals: (value) => ({ greaterThanOrEquals: se_FilterAttribute(value, context) }),
4333
- in: (value) => ({ in: se_FilterAttribute(value, context) }),
4334
- lessThan: (value) => ({ lessThan: se_FilterAttribute(value, context) }),
4335
- lessThanOrEquals: (value) => ({ lessThanOrEquals: se_FilterAttribute(value, context) }),
4336
- listContains: (value) => ({ listContains: se_FilterAttribute(value, context) }),
4337
- notEquals: (value) => ({ notEquals: se_FilterAttribute(value, context) }),
4338
- notIn: (value) => ({ notIn: se_FilterAttribute(value, context) }),
4339
- orAll: (value) => ({ orAll: se_RetrievalFilterList(value, context) }),
4340
- startsWith: (value) => ({ startsWith: se_FilterAttribute(value, context) }),
4341
- stringContains: (value) => ({ stringContains: se_FilterAttribute(value, context) }),
4342
- _: (name, value) => ({ [name]: value })
4093
+ andAll: /* @__PURE__ */ __name((value) => ({ andAll: se_RetrievalFilterList(value, context) }), "andAll"),
4094
+ equals: /* @__PURE__ */ __name((value) => ({ equals: se_FilterAttribute(value, context) }), "equals"),
4095
+ greaterThan: /* @__PURE__ */ __name((value) => ({ greaterThan: se_FilterAttribute(value, context) }), "greaterThan"),
4096
+ greaterThanOrEquals: /* @__PURE__ */ __name((value) => ({ greaterThanOrEquals: se_FilterAttribute(value, context) }), "greaterThanOrEquals"),
4097
+ in: /* @__PURE__ */ __name((value) => ({ in: se_FilterAttribute(value, context) }), "in"),
4098
+ lessThan: /* @__PURE__ */ __name((value) => ({ lessThan: se_FilterAttribute(value, context) }), "lessThan"),
4099
+ lessThanOrEquals: /* @__PURE__ */ __name((value) => ({ lessThanOrEquals: se_FilterAttribute(value, context) }), "lessThanOrEquals"),
4100
+ listContains: /* @__PURE__ */ __name((value) => ({ listContains: se_FilterAttribute(value, context) }), "listContains"),
4101
+ notEquals: /* @__PURE__ */ __name((value) => ({ notEquals: se_FilterAttribute(value, context) }), "notEquals"),
4102
+ notIn: /* @__PURE__ */ __name((value) => ({ notIn: se_FilterAttribute(value, context) }), "notIn"),
4103
+ orAll: /* @__PURE__ */ __name((value) => ({ orAll: se_RetrievalFilterList(value, context) }), "orAll"),
4104
+ startsWith: /* @__PURE__ */ __name((value) => ({ startsWith: se_FilterAttribute(value, context) }), "startsWith"),
4105
+ stringContains: /* @__PURE__ */ __name((value) => ({ stringContains: se_FilterAttribute(value, context) }), "stringContains"),
4106
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4343
4107
  });
4344
4108
  }, "se_RetrievalFilter");
4345
4109
  var se_RetrievalFilterList = /* @__PURE__ */ __name((input, context) => {
@@ -4349,8 +4113,8 @@ var se_RetrievalFilterList = /* @__PURE__ */ __name((input, context) => {
4349
4113
  }, "se_RetrievalFilterList");
4350
4114
  var se_RetrieveAndGenerateConfiguration = /* @__PURE__ */ __name((input, context) => {
4351
4115
  return (0, import_smithy_client.take)(input, {
4352
- externalSourcesConfiguration: (_) => se_ExternalSourcesRetrieveAndGenerateConfiguration(_, context),
4353
- knowledgeBaseConfiguration: (_) => se_KnowledgeBaseRetrieveAndGenerateConfiguration(_, context),
4116
+ externalSourcesConfiguration: /* @__PURE__ */ __name((_) => se_ExternalSourcesRetrieveAndGenerateConfiguration(_, context), "externalSourcesConfiguration"),
4117
+ knowledgeBaseConfiguration: /* @__PURE__ */ __name((_) => se_KnowledgeBaseRetrieveAndGenerateConfiguration(_, context), "knowledgeBaseConfiguration"),
4354
4118
  type: []
4355
4119
  });
4356
4120
  }, "se_RetrieveAndGenerateConfiguration");
@@ -4362,11 +4126,11 @@ var se_ReturnControlInvocationResults = /* @__PURE__ */ __name((input, context)
4362
4126
  var se_SessionState = /* @__PURE__ */ __name((input, context) => {
4363
4127
  return (0, import_smithy_client.take)(input, {
4364
4128
  conversationHistory: import_smithy_client._json,
4365
- files: (_) => se_InputFiles(_, context),
4129
+ files: /* @__PURE__ */ __name((_) => se_InputFiles(_, context), "files"),
4366
4130
  invocationId: [],
4367
- knowledgeBaseConfigurations: (_) => se_KnowledgeBaseConfigurations(_, context),
4131
+ knowledgeBaseConfigurations: /* @__PURE__ */ __name((_) => se_KnowledgeBaseConfigurations(_, context), "knowledgeBaseConfigurations"),
4368
4132
  promptSessionAttributes: import_smithy_client._json,
4369
- returnControlInvocationResults: (_) => se_ReturnControlInvocationResults(_, context),
4133
+ returnControlInvocationResults: /* @__PURE__ */ __name((_) => se_ReturnControlInvocationResults(_, context), "returnControlInvocationResults"),
4370
4134
  sessionAttributes: import_smithy_client._json
4371
4135
  });
4372
4136
  }, "se_SessionState");
@@ -4381,19 +4145,19 @@ var se_TextInferenceConfig = /* @__PURE__ */ __name((input, context) => {
4381
4145
  var se_VectorSearchBedrockRerankingConfiguration = /* @__PURE__ */ __name((input, context) => {
4382
4146
  return (0, import_smithy_client.take)(input, {
4383
4147
  metadataConfiguration: import_smithy_client._json,
4384
- modelConfiguration: (_) => se_VectorSearchBedrockRerankingModelConfiguration(_, context),
4148
+ modelConfiguration: /* @__PURE__ */ __name((_) => se_VectorSearchBedrockRerankingModelConfiguration(_, context), "modelConfiguration"),
4385
4149
  numberOfRerankedResults: []
4386
4150
  });
4387
4151
  }, "se_VectorSearchBedrockRerankingConfiguration");
4388
4152
  var se_VectorSearchBedrockRerankingModelConfiguration = /* @__PURE__ */ __name((input, context) => {
4389
4153
  return (0, import_smithy_client.take)(input, {
4390
- additionalModelRequestFields: (_) => se_AdditionalModelRequestFields(_, context),
4154
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_AdditionalModelRequestFields(_, context), "additionalModelRequestFields"),
4391
4155
  modelArn: []
4392
4156
  });
4393
4157
  }, "se_VectorSearchBedrockRerankingModelConfiguration");
4394
4158
  var se_VectorSearchRerankingConfiguration = /* @__PURE__ */ __name((input, context) => {
4395
4159
  return (0, import_smithy_client.take)(input, {
4396
- bedrockRerankingConfiguration: (_) => se_VectorSearchBedrockRerankingConfiguration(_, context),
4160
+ bedrockRerankingConfiguration: /* @__PURE__ */ __name((_) => se_VectorSearchBedrockRerankingConfiguration(_, context), "bedrockRerankingConfiguration"),
4397
4161
  type: []
4398
4162
  });
4399
4163
  }, "se_VectorSearchRerankingConfiguration");
@@ -4402,7 +4166,7 @@ var se_Document = /* @__PURE__ */ __name((input, context) => {
4402
4166
  }, "se_Document");
4403
4167
  var de_AgentCollaboratorInputPayload = /* @__PURE__ */ __name((output, context) => {
4404
4168
  return (0, import_smithy_client.take)(output, {
4405
- returnControlResults: (_) => de_ReturnControlResults(_, context),
4169
+ returnControlResults: /* @__PURE__ */ __name((_) => de_ReturnControlResults(_, context), "returnControlResults"),
4406
4170
  text: import_smithy_client.expectString,
4407
4171
  type: import_smithy_client.expectString
4408
4172
  });
@@ -4411,7 +4175,7 @@ var de_AgentCollaboratorInvocationInput = /* @__PURE__ */ __name((output, contex
4411
4175
  return (0, import_smithy_client.take)(output, {
4412
4176
  agentCollaboratorAliasArn: import_smithy_client.expectString,
4413
4177
  agentCollaboratorName: import_smithy_client.expectString,
4414
- input: (_) => de_AgentCollaboratorInputPayload(_, context)
4178
+ input: /* @__PURE__ */ __name((_) => de_AgentCollaboratorInputPayload(_, context), "input")
4415
4179
  });
4416
4180
  }, "de_AgentCollaboratorInvocationInput");
4417
4181
  var de_AgentCollaboratorInvocationOutput = /* @__PURE__ */ __name((output, context) => {
@@ -4429,13 +4193,13 @@ var de_ApiResult = /* @__PURE__ */ __name((output, context) => {
4429
4193
  confirmationState: import_smithy_client.expectString,
4430
4194
  httpMethod: import_smithy_client.expectString,
4431
4195
  httpStatusCode: import_smithy_client.expectInt32,
4432
- responseBody: (_) => de_ResponseBody(_, context),
4196
+ responseBody: /* @__PURE__ */ __name((_) => de_ResponseBody(_, context), "responseBody"),
4433
4197
  responseState: import_smithy_client.expectString
4434
4198
  });
4435
4199
  }, "de_ApiResult");
4436
4200
  var de_Attribution = /* @__PURE__ */ __name((output, context) => {
4437
4201
  return (0, import_smithy_client.take)(output, {
4438
- citations: (_) => de_Citations(_, context)
4202
+ citations: /* @__PURE__ */ __name((_) => de_Citations(_, context), "citations")
4439
4203
  });
4440
4204
  }, "de_Attribution");
4441
4205
  var de_BedrockSessionContentBlock = /* @__PURE__ */ __name((output, context) => {
@@ -4458,14 +4222,14 @@ var de_BedrockSessionContentBlocks = /* @__PURE__ */ __name((output, context) =>
4458
4222
  var de_Citation = /* @__PURE__ */ __name((output, context) => {
4459
4223
  return (0, import_smithy_client.take)(output, {
4460
4224
  generatedResponsePart: import_smithy_client._json,
4461
- retrievedReferences: (_) => de_RetrievedReferences(_, context)
4225
+ retrievedReferences: /* @__PURE__ */ __name((_) => de_RetrievedReferences(_, context), "retrievedReferences")
4462
4226
  });
4463
4227
  }, "de_Citation");
4464
4228
  var de_CitationEvent = /* @__PURE__ */ __name((output, context) => {
4465
4229
  return (0, import_smithy_client.take)(output, {
4466
- citation: (_) => de_Citation(_, context),
4230
+ citation: /* @__PURE__ */ __name((_) => de_Citation(_, context), "citation"),
4467
4231
  generatedResponsePart: import_smithy_client._json,
4468
- retrievedReferences: (_) => de_RetrievedReferences(_, context)
4232
+ retrievedReferences: /* @__PURE__ */ __name((_) => de_RetrievedReferences(_, context), "retrievedReferences")
4469
4233
  });
4470
4234
  }, "de_CitationEvent");
4471
4235
  var de_Citations = /* @__PURE__ */ __name((output, context) => {
@@ -4477,12 +4241,12 @@ var de_Citations = /* @__PURE__ */ __name((output, context) => {
4477
4241
  var de_ContentBody = /* @__PURE__ */ __name((output, context) => {
4478
4242
  return (0, import_smithy_client.take)(output, {
4479
4243
  body: import_smithy_client.expectString,
4480
- images: (_) => de_ImageInputs(_, context)
4244
+ images: /* @__PURE__ */ __name((_) => de_ImageInputs(_, context), "images")
4481
4245
  });
4482
4246
  }, "de_ContentBody");
4483
4247
  var de_FilePart = /* @__PURE__ */ __name((output, context) => {
4484
4248
  return (0, import_smithy_client.take)(output, {
4485
- files: (_) => de_OutputFiles(_, context)
4249
+ files: /* @__PURE__ */ __name((_) => de_OutputFiles(_, context), "files")
4486
4250
  });
4487
4251
  }, "de_FilePart");
4488
4252
  var de_FlowMultiTurnInputContent = /* @__PURE__ */ __name((output, context) => {
@@ -4495,7 +4259,7 @@ var de_FlowMultiTurnInputContent = /* @__PURE__ */ __name((output, context) => {
4495
4259
  }, "de_FlowMultiTurnInputContent");
4496
4260
  var de_FlowMultiTurnInputRequestEvent = /* @__PURE__ */ __name((output, context) => {
4497
4261
  return (0, import_smithy_client.take)(output, {
4498
- content: (_) => de_FlowMultiTurnInputContent((0, import_core2.awsExpectUnion)(_), context),
4262
+ content: /* @__PURE__ */ __name((_) => de_FlowMultiTurnInputContent((0, import_core2.awsExpectUnion)(_), context), "content"),
4499
4263
  nodeName: import_smithy_client.expectString,
4500
4264
  nodeType: import_smithy_client.expectString
4501
4265
  });
@@ -4510,7 +4274,7 @@ var de_FlowOutputContent = /* @__PURE__ */ __name((output, context) => {
4510
4274
  }, "de_FlowOutputContent");
4511
4275
  var de_FlowOutputEvent = /* @__PURE__ */ __name((output, context) => {
4512
4276
  return (0, import_smithy_client.take)(output, {
4513
- content: (_) => de_FlowOutputContent((0, import_core2.awsExpectUnion)(_), context),
4277
+ content: /* @__PURE__ */ __name((_) => de_FlowOutputContent((0, import_core2.awsExpectUnion)(_), context), "content"),
4514
4278
  nodeName: import_smithy_client.expectString,
4515
4279
  nodeType: import_smithy_client.expectString
4516
4280
  });
@@ -4537,12 +4301,12 @@ var de_FlowTraceConditionNodeResultEvent = /* @__PURE__ */ __name((output, conte
4537
4301
  return (0, import_smithy_client.take)(output, {
4538
4302
  nodeName: import_smithy_client.expectString,
4539
4303
  satisfiedConditions: import_smithy_client._json,
4540
- timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4304
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
4541
4305
  });
4542
4306
  }, "de_FlowTraceConditionNodeResultEvent");
4543
4307
  var de_FlowTraceEvent = /* @__PURE__ */ __name((output, context) => {
4544
4308
  return (0, import_smithy_client.take)(output, {
4545
- trace: (_) => de_FlowTrace((0, import_core2.awsExpectUnion)(_), context)
4309
+ trace: /* @__PURE__ */ __name((_) => de_FlowTrace((0, import_core2.awsExpectUnion)(_), context), "trace")
4546
4310
  });
4547
4311
  }, "de_FlowTraceEvent");
4548
4312
  var de_FlowTraceNodeInputContent = /* @__PURE__ */ __name((output, context) => {
@@ -4555,14 +4319,14 @@ var de_FlowTraceNodeInputContent = /* @__PURE__ */ __name((output, context) => {
4555
4319
  }, "de_FlowTraceNodeInputContent");
4556
4320
  var de_FlowTraceNodeInputEvent = /* @__PURE__ */ __name((output, context) => {
4557
4321
  return (0, import_smithy_client.take)(output, {
4558
- fields: (_) => de_FlowTraceNodeInputFields(_, context),
4322
+ fields: /* @__PURE__ */ __name((_) => de_FlowTraceNodeInputFields(_, context), "fields"),
4559
4323
  nodeName: import_smithy_client.expectString,
4560
- timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4324
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
4561
4325
  });
4562
4326
  }, "de_FlowTraceNodeInputEvent");
4563
4327
  var de_FlowTraceNodeInputField = /* @__PURE__ */ __name((output, context) => {
4564
4328
  return (0, import_smithy_client.take)(output, {
4565
- content: (_) => de_FlowTraceNodeInputContent((0, import_core2.awsExpectUnion)(_), context),
4329
+ content: /* @__PURE__ */ __name((_) => de_FlowTraceNodeInputContent((0, import_core2.awsExpectUnion)(_), context), "content"),
4566
4330
  nodeInputName: import_smithy_client.expectString
4567
4331
  });
4568
4332
  }, "de_FlowTraceNodeInputField");
@@ -4582,14 +4346,14 @@ var de_FlowTraceNodeOutputContent = /* @__PURE__ */ __name((output, context) =>
4582
4346
  }, "de_FlowTraceNodeOutputContent");
4583
4347
  var de_FlowTraceNodeOutputEvent = /* @__PURE__ */ __name((output, context) => {
4584
4348
  return (0, import_smithy_client.take)(output, {
4585
- fields: (_) => de_FlowTraceNodeOutputFields(_, context),
4349
+ fields: /* @__PURE__ */ __name((_) => de_FlowTraceNodeOutputFields(_, context), "fields"),
4586
4350
  nodeName: import_smithy_client.expectString,
4587
- timestamp: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4351
+ timestamp: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "timestamp")
4588
4352
  });
4589
4353
  }, "de_FlowTraceNodeOutputEvent");
4590
4354
  var de_FlowTraceNodeOutputField = /* @__PURE__ */ __name((output, context) => {
4591
4355
  return (0, import_smithy_client.take)(output, {
4592
- content: (_) => de_FlowTraceNodeOutputContent((0, import_core2.awsExpectUnion)(_), context),
4356
+ content: /* @__PURE__ */ __name((_) => de_FlowTraceNodeOutputContent((0, import_core2.awsExpectUnion)(_), context), "content"),
4593
4357
  nodeOutputName: import_smithy_client.expectString
4594
4358
  });
4595
4359
  }, "de_FlowTraceNodeOutputField");
@@ -4605,20 +4369,20 @@ var de_FunctionResult = /* @__PURE__ */ __name((output, context) => {
4605
4369
  agentId: import_smithy_client.expectString,
4606
4370
  confirmationState: import_smithy_client.expectString,
4607
4371
  function: import_smithy_client.expectString,
4608
- responseBody: (_) => de_ResponseBody(_, context),
4372
+ responseBody: /* @__PURE__ */ __name((_) => de_ResponseBody(_, context), "responseBody"),
4609
4373
  responseState: import_smithy_client.expectString
4610
4374
  });
4611
4375
  }, "de_FunctionResult");
4612
4376
  var de_ImageBlock = /* @__PURE__ */ __name((output, context) => {
4613
4377
  return (0, import_smithy_client.take)(output, {
4614
4378
  format: import_smithy_client.expectString,
4615
- source: (_) => de_ImageSource((0, import_core2.awsExpectUnion)(_), context)
4379
+ source: /* @__PURE__ */ __name((_) => de_ImageSource((0, import_core2.awsExpectUnion)(_), context), "source")
4616
4380
  });
4617
4381
  }, "de_ImageBlock");
4618
4382
  var de_ImageInput = /* @__PURE__ */ __name((output, context) => {
4619
4383
  return (0, import_smithy_client.take)(output, {
4620
4384
  format: import_smithy_client.expectString,
4621
- source: (_) => de_ImageInputSource((0, import_core2.awsExpectUnion)(_), context)
4385
+ source: /* @__PURE__ */ __name((_) => de_ImageInputSource((0, import_core2.awsExpectUnion)(_), context), "source")
4622
4386
  });
4623
4387
  }, "de_ImageInput");
4624
4388
  var de_ImageInputs = /* @__PURE__ */ __name((output, context) => {
@@ -4659,25 +4423,25 @@ var de_InferenceConfiguration = /* @__PURE__ */ __name((output, context) => {
4659
4423
  }, "de_InferenceConfiguration");
4660
4424
  var de_InlineAgentFilePart = /* @__PURE__ */ __name((output, context) => {
4661
4425
  return (0, import_smithy_client.take)(output, {
4662
- files: (_) => de_OutputFiles(_, context)
4426
+ files: /* @__PURE__ */ __name((_) => de_OutputFiles(_, context), "files")
4663
4427
  });
4664
4428
  }, "de_InlineAgentFilePart");
4665
4429
  var de_InlineAgentPayloadPart = /* @__PURE__ */ __name((output, context) => {
4666
4430
  return (0, import_smithy_client.take)(output, {
4667
- attribution: (_) => de_Attribution(_, context),
4431
+ attribution: /* @__PURE__ */ __name((_) => de_Attribution(_, context), "attribution"),
4668
4432
  bytes: context.base64Decoder
4669
4433
  });
4670
4434
  }, "de_InlineAgentPayloadPart");
4671
4435
  var de_InlineAgentTracePart = /* @__PURE__ */ __name((output, context) => {
4672
4436
  return (0, import_smithy_client.take)(output, {
4673
4437
  sessionId: import_smithy_client.expectString,
4674
- trace: (_) => de_Trace((0, import_core2.awsExpectUnion)(_), context)
4438
+ trace: /* @__PURE__ */ __name((_) => de_Trace((0, import_core2.awsExpectUnion)(_), context), "trace")
4675
4439
  });
4676
4440
  }, "de_InlineAgentTracePart");
4677
4441
  var de_InvocationInput = /* @__PURE__ */ __name((output, context) => {
4678
4442
  return (0, import_smithy_client.take)(output, {
4679
4443
  actionGroupInvocationInput: import_smithy_client._json,
4680
- agentCollaboratorInvocationInput: (_) => de_AgentCollaboratorInvocationInput(_, context),
4444
+ agentCollaboratorInvocationInput: /* @__PURE__ */ __name((_) => de_AgentCollaboratorInvocationInput(_, context), "agentCollaboratorInvocationInput"),
4681
4445
  codeInterpreterInvocationInput: import_smithy_client._json,
4682
4446
  invocationType: import_smithy_client.expectString,
4683
4447
  knowledgeBaseLookupInput: import_smithy_client._json,
@@ -4701,8 +4465,8 @@ var de_InvocationStep = /* @__PURE__ */ __name((output, context) => {
4701
4465
  return (0, import_smithy_client.take)(output, {
4702
4466
  invocationId: import_smithy_client.expectString,
4703
4467
  invocationStepId: import_smithy_client.expectString,
4704
- invocationStepTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4705
- payload: (_) => de_InvocationStepPayload((0, import_core2.awsExpectUnion)(_), context),
4468
+ invocationStepTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "invocationStepTime"),
4469
+ payload: /* @__PURE__ */ __name((_) => de_InvocationStepPayload((0, import_core2.awsExpectUnion)(_), context), "payload"),
4706
4470
  sessionId: import_smithy_client.expectString
4707
4471
  });
4708
4472
  }, "de_InvocationStep");
@@ -4724,7 +4488,7 @@ var de_InvocationStepSummary = /* @__PURE__ */ __name((output, context) => {
4724
4488
  return (0, import_smithy_client.take)(output, {
4725
4489
  invocationId: import_smithy_client.expectString,
4726
4490
  invocationStepId: import_smithy_client.expectString,
4727
- invocationStepTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4491
+ invocationStepTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "invocationStepTime"),
4728
4492
  sessionId: import_smithy_client.expectString
4729
4493
  });
4730
4494
  }, "de_InvocationStepSummary");
@@ -4736,21 +4500,21 @@ var de_InvocationSummaries = /* @__PURE__ */ __name((output, context) => {
4736
4500
  }, "de_InvocationSummaries");
4737
4501
  var de_InvocationSummary = /* @__PURE__ */ __name((output, context) => {
4738
4502
  return (0, import_smithy_client.take)(output, {
4739
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4503
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4740
4504
  invocationId: import_smithy_client.expectString,
4741
4505
  sessionId: import_smithy_client.expectString
4742
4506
  });
4743
4507
  }, "de_InvocationSummary");
4744
4508
  var de_KnowledgeBaseLookupOutput = /* @__PURE__ */ __name((output, context) => {
4745
4509
  return (0, import_smithy_client.take)(output, {
4746
- retrievedReferences: (_) => de_RetrievedReferences(_, context)
4510
+ retrievedReferences: /* @__PURE__ */ __name((_) => de_RetrievedReferences(_, context), "retrievedReferences")
4747
4511
  });
4748
4512
  }, "de_KnowledgeBaseLookupOutput");
4749
4513
  var de_KnowledgeBaseRetrievalResult = /* @__PURE__ */ __name((output, context) => {
4750
4514
  return (0, import_smithy_client.take)(output, {
4751
4515
  content: import_smithy_client._json,
4752
4516
  location: import_smithy_client._json,
4753
- metadata: (_) => de_RetrievalResultMetadata(_, context),
4517
+ metadata: /* @__PURE__ */ __name((_) => de_RetrievalResultMetadata(_, context), "metadata"),
4754
4518
  score: import_smithy_client.limitedParseDouble
4755
4519
  });
4756
4520
  }, "de_KnowledgeBaseRetrievalResult");
@@ -4777,16 +4541,16 @@ var de_Memory = /* @__PURE__ */ __name((output, context) => {
4777
4541
  var de_MemorySessionSummary = /* @__PURE__ */ __name((output, context) => {
4778
4542
  return (0, import_smithy_client.take)(output, {
4779
4543
  memoryId: import_smithy_client.expectString,
4780
- sessionExpiryTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4544
+ sessionExpiryTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "sessionExpiryTime"),
4781
4545
  sessionId: import_smithy_client.expectString,
4782
- sessionStartTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4546
+ sessionStartTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "sessionStartTime"),
4783
4547
  summaryText: import_smithy_client.expectString
4784
4548
  });
4785
4549
  }, "de_MemorySessionSummary");
4786
4550
  var de_ModelInvocationInput = /* @__PURE__ */ __name((output, context) => {
4787
4551
  return (0, import_smithy_client.take)(output, {
4788
4552
  foundationModel: import_smithy_client.expectString,
4789
- inferenceConfiguration: (_) => de_InferenceConfiguration(_, context),
4553
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => de_InferenceConfiguration(_, context), "inferenceConfiguration"),
4790
4554
  overrideLambda: import_smithy_client.expectString,
4791
4555
  parserMode: import_smithy_client.expectString,
4792
4556
  promptCreationMode: import_smithy_client.expectString,
@@ -4798,10 +4562,10 @@ var de_ModelInvocationInput = /* @__PURE__ */ __name((output, context) => {
4798
4562
  var de_Observation = /* @__PURE__ */ __name((output, context) => {
4799
4563
  return (0, import_smithy_client.take)(output, {
4800
4564
  actionGroupInvocationOutput: import_smithy_client._json,
4801
- agentCollaboratorInvocationOutput: (_) => de_AgentCollaboratorInvocationOutput(_, context),
4565
+ agentCollaboratorInvocationOutput: /* @__PURE__ */ __name((_) => de_AgentCollaboratorInvocationOutput(_, context), "agentCollaboratorInvocationOutput"),
4802
4566
  codeInterpreterInvocationOutput: import_smithy_client._json,
4803
4567
  finalResponse: import_smithy_client._json,
4804
- knowledgeBaseLookupOutput: (_) => de_KnowledgeBaseLookupOutput(_, context),
4568
+ knowledgeBaseLookupOutput: /* @__PURE__ */ __name((_) => de_KnowledgeBaseLookupOutput(_, context), "knowledgeBaseLookupOutput"),
4805
4569
  repromptResponse: import_smithy_client._json,
4806
4570
  traceId: import_smithy_client.expectString,
4807
4571
  type: import_smithy_client.expectString
@@ -4811,7 +4575,7 @@ var de_OrchestrationModelInvocationOutput = /* @__PURE__ */ __name((output, cont
4811
4575
  return (0, import_smithy_client.take)(output, {
4812
4576
  metadata: import_smithy_client._json,
4813
4577
  rawResponse: import_smithy_client._json,
4814
- reasoningContent: (_) => de_ReasoningContentBlock((0, import_core2.awsExpectUnion)(_), context),
4578
+ reasoningContent: /* @__PURE__ */ __name((_) => de_ReasoningContentBlock((0, import_core2.awsExpectUnion)(_), context), "reasoningContent"),
4815
4579
  traceId: import_smithy_client.expectString
4816
4580
  });
4817
4581
  }, "de_OrchestrationModelInvocationOutput");
@@ -4858,7 +4622,7 @@ var de_OutputFiles = /* @__PURE__ */ __name((output, context) => {
4858
4622
  }, "de_OutputFiles");
4859
4623
  var de_PayloadPart = /* @__PURE__ */ __name((output, context) => {
4860
4624
  return (0, import_smithy_client.take)(output, {
4861
- attribution: (_) => de_Attribution(_, context),
4625
+ attribution: /* @__PURE__ */ __name((_) => de_Attribution(_, context), "attribution"),
4862
4626
  bytes: context.base64Decoder
4863
4627
  });
4864
4628
  }, "de_PayloadPart");
@@ -4867,7 +4631,7 @@ var de_PostProcessingModelInvocationOutput = /* @__PURE__ */ __name((output, con
4867
4631
  metadata: import_smithy_client._json,
4868
4632
  parsedResponse: import_smithy_client._json,
4869
4633
  rawResponse: import_smithy_client._json,
4870
- reasoningContent: (_) => de_ReasoningContentBlock((0, import_core2.awsExpectUnion)(_), context),
4634
+ reasoningContent: /* @__PURE__ */ __name((_) => de_ReasoningContentBlock((0, import_core2.awsExpectUnion)(_), context), "reasoningContent"),
4871
4635
  traceId: import_smithy_client.expectString
4872
4636
  });
4873
4637
  }, "de_PostProcessingModelInvocationOutput");
@@ -4889,7 +4653,7 @@ var de_PreProcessingModelInvocationOutput = /* @__PURE__ */ __name((output, cont
4889
4653
  metadata: import_smithy_client._json,
4890
4654
  parsedResponse: import_smithy_client._json,
4891
4655
  rawResponse: import_smithy_client._json,
4892
- reasoningContent: (_) => de_ReasoningContentBlock((0, import_core2.awsExpectUnion)(_), context),
4656
+ reasoningContent: /* @__PURE__ */ __name((_) => de_ReasoningContentBlock((0, import_core2.awsExpectUnion)(_), context), "reasoningContent"),
4893
4657
  traceId: import_smithy_client.expectString
4894
4658
  });
4895
4659
  }, "de_PreProcessingModelInvocationOutput");
@@ -4921,14 +4685,14 @@ var de_ReasoningContentBlock = /* @__PURE__ */ __name((output, context) => {
4921
4685
  }, "de_ReasoningContentBlock");
4922
4686
  var de_RerankDocument = /* @__PURE__ */ __name((output, context) => {
4923
4687
  return (0, import_smithy_client.take)(output, {
4924
- jsonDocument: (_) => de_Document(_, context),
4688
+ jsonDocument: /* @__PURE__ */ __name((_) => de_Document(_, context), "jsonDocument"),
4925
4689
  textDocument: import_smithy_client._json,
4926
4690
  type: import_smithy_client.expectString
4927
4691
  });
4928
4692
  }, "de_RerankDocument");
4929
4693
  var de_RerankResult = /* @__PURE__ */ __name((output, context) => {
4930
4694
  return (0, import_smithy_client.take)(output, {
4931
- document: (_) => de_RerankDocument(_, context),
4695
+ document: /* @__PURE__ */ __name((_) => de_RerankDocument(_, context), "document"),
4932
4696
  index: import_smithy_client.expectInt32,
4933
4697
  relevanceScore: import_smithy_client.limitedParseFloat32
4934
4698
  });
@@ -4964,7 +4728,7 @@ var de_RetrievedReference = /* @__PURE__ */ __name((output, context) => {
4964
4728
  return (0, import_smithy_client.take)(output, {
4965
4729
  content: import_smithy_client._json,
4966
4730
  location: import_smithy_client._json,
4967
- metadata: (_) => de_RetrievalResultMetadata(_, context)
4731
+ metadata: /* @__PURE__ */ __name((_) => de_RetrievalResultMetadata(_, context), "metadata")
4968
4732
  });
4969
4733
  }, "de_RetrievedReference");
4970
4734
  var de_RetrievedReferences = /* @__PURE__ */ __name((output, context) => {
@@ -4982,7 +4746,7 @@ var de_ReturnControlInvocationResults = /* @__PURE__ */ __name((output, context)
4982
4746
  var de_ReturnControlResults = /* @__PURE__ */ __name((output, context) => {
4983
4747
  return (0, import_smithy_client.take)(output, {
4984
4748
  invocationId: import_smithy_client.expectString,
4985
- returnControlInvocationResults: (_) => de_ReturnControlInvocationResults(_, context)
4749
+ returnControlInvocationResults: /* @__PURE__ */ __name((_) => de_ReturnControlInvocationResults(_, context), "returnControlInvocationResults")
4986
4750
  });
4987
4751
  }, "de_ReturnControlResults");
4988
4752
  var de_RoutingClassifierTrace = /* @__PURE__ */ __name((output, context) => {
@@ -5016,8 +4780,8 @@ var de_SessionSummaries = /* @__PURE__ */ __name((output, context) => {
5016
4780
  }, "de_SessionSummaries");
5017
4781
  var de_SessionSummary = /* @__PURE__ */ __name((output, context) => {
5018
4782
  return (0, import_smithy_client.take)(output, {
5019
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
5020
- lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4783
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4784
+ lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
5021
4785
  sessionArn: import_smithy_client.expectString,
5022
4786
  sessionId: import_smithy_client.expectString,
5023
4787
  sessionStatus: import_smithy_client.expectString
@@ -5068,9 +4832,9 @@ var de_TracePart = /* @__PURE__ */ __name((output, context) => {
5068
4832
  agentVersion: import_smithy_client.expectString,
5069
4833
  callerChain: import_smithy_client._json,
5070
4834
  collaboratorName: import_smithy_client.expectString,
5071
- eventTime: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4835
+ eventTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "eventTime"),
5072
4836
  sessionId: import_smithy_client.expectString,
5073
- trace: (_) => de_Trace((0, import_core2.awsExpectUnion)(_), context)
4837
+ trace: /* @__PURE__ */ __name((_) => de_Trace((0, import_core2.awsExpectUnion)(_), context), "trace")
5074
4838
  });
5075
4839
  }, "de_TracePart");
5076
4840
  var de_Document = /* @__PURE__ */ __name((output, context) => {