@aws-sdk/client-bedrock-agent 3.764.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.
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,
@@ -305,7 +305,7 @@ __export(src_exports, {
305
305
  paginateListKnowledgeBases: () => paginateListKnowledgeBases,
306
306
  paginateListPrompts: () => paginateListPrompts
307
307
  });
308
- module.exports = __toCommonJS(src_exports);
308
+ module.exports = __toCommonJS(index_exports);
309
309
 
310
310
  // src/BedrockAgentClient.ts
311
311
  var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
@@ -432,9 +432,9 @@ var BedrockAgentClient = class extends import_smithy_client.Client {
432
432
  this.middlewareStack.use(
433
433
  (0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
434
434
  httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultBedrockAgentHttpAuthSchemeParametersProvider,
435
- identityProviderConfigProvider: async (config) => new import_core.DefaultIdentityProviderConfig({
435
+ identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
436
436
  "aws.auth#sigv4": config.credentials
437
- })
437
+ }), "identityProviderConfigProvider")
438
438
  })
439
439
  );
440
440
  this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
@@ -500,10 +500,8 @@ var CustomControlMethod = {
500
500
  var ActionGroupExecutor;
501
501
  ((ActionGroupExecutor3) => {
502
502
  ActionGroupExecutor3.visit = /* @__PURE__ */ __name((value, visitor) => {
503
- if (value.lambda !== void 0)
504
- return visitor.lambda(value.lambda);
505
- if (value.customControl !== void 0)
506
- return visitor.customControl(value.customControl);
503
+ if (value.lambda !== void 0) return visitor.lambda(value.lambda);
504
+ if (value.customControl !== void 0) return visitor.customControl(value.customControl);
507
505
  return visitor._(value.$unknown[0], value.$unknown[1]);
508
506
  }, "visit");
509
507
  })(ActionGroupExecutor || (ActionGroupExecutor = {}));
@@ -532,10 +530,8 @@ var ActionGroupState = {
532
530
  var APISchema;
533
531
  ((APISchema3) => {
534
532
  APISchema3.visit = /* @__PURE__ */ __name((value, visitor) => {
535
- if (value.s3 !== void 0)
536
- return visitor.s3(value.s3);
537
- if (value.payload !== void 0)
538
- return visitor.payload(value.payload);
533
+ if (value.s3 !== void 0) return visitor.s3(value.s3);
534
+ if (value.payload !== void 0) return visitor.payload(value.payload);
539
535
  return visitor._(value.$unknown[0], value.$unknown[1]);
540
536
  }, "visit");
541
537
  })(APISchema || (APISchema = {}));
@@ -553,14 +549,16 @@ var RequireConfirmation = {
553
549
  var FunctionSchema;
554
550
  ((FunctionSchema3) => {
555
551
  FunctionSchema3.visit = /* @__PURE__ */ __name((value, visitor) => {
556
- if (value.functions !== void 0)
557
- return visitor.functions(value.functions);
552
+ if (value.functions !== void 0) return visitor.functions(value.functions);
558
553
  return visitor._(value.$unknown[0], value.$unknown[1]);
559
554
  }, "visit");
560
555
  })(FunctionSchema || (FunctionSchema = {}));
561
556
  var ActionGroupSignature = {
562
557
  AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
563
- AMAZON_USERINPUT: "AMAZON.UserInput"
558
+ AMAZON_USERINPUT: "AMAZON.UserInput",
559
+ ANTHROPIC_BASH: "ANTHROPIC.Bash",
560
+ ANTHROPIC_COMPUTER: "ANTHROPIC.Computer",
561
+ ANTHROPIC_TEXTEDITOR: "ANTHROPIC.TextEditor"
564
562
  };
565
563
  var InternalServerException = class _InternalServerException extends BedrockAgentServiceException {
566
564
  static {
@@ -676,8 +674,7 @@ var AgentStatus = {
676
674
  var OrchestrationExecutor;
677
675
  ((OrchestrationExecutor3) => {
678
676
  OrchestrationExecutor3.visit = /* @__PURE__ */ __name((value, visitor) => {
679
- if (value.lambda !== void 0)
680
- return visitor.lambda(value.lambda);
677
+ if (value.lambda !== void 0) return visitor.lambda(value.lambda);
681
678
  return visitor._(value.$unknown[0], value.$unknown[1]);
682
679
  }, "visit");
683
680
  })(OrchestrationExecutor || (OrchestrationExecutor = {}));
@@ -786,10 +783,8 @@ var DataSourceStatus = {
786
783
  var FlowConnectionConfiguration;
787
784
  ((FlowConnectionConfiguration3) => {
788
785
  FlowConnectionConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
789
- if (value.data !== void 0)
790
- return visitor.data(value.data);
791
- if (value.conditional !== void 0)
792
- return visitor.conditional(value.conditional);
786
+ if (value.data !== void 0) return visitor.data(value.data);
787
+ if (value.conditional !== void 0) return visitor.conditional(value.conditional);
793
788
  return visitor._(value.$unknown[0], value.$unknown[1]);
794
789
  }, "visit");
795
790
  })(FlowConnectionConfiguration || (FlowConnectionConfiguration = {}));
@@ -800,8 +795,7 @@ var FlowConnectionType = {
800
795
  var PromptInferenceConfiguration;
801
796
  ((PromptInferenceConfiguration3) => {
802
797
  PromptInferenceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
803
- if (value.text !== void 0)
804
- return visitor.text(value.text);
798
+ if (value.text !== void 0) return visitor.text(value.text);
805
799
  return visitor._(value.$unknown[0], value.$unknown[1]);
806
800
  }, "visit");
807
801
  })(PromptInferenceConfiguration || (PromptInferenceConfiguration = {}));
@@ -811,10 +805,8 @@ var CachePointType = {
811
805
  var ContentBlock;
812
806
  ((ContentBlock3) => {
813
807
  ContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
814
- if (value.text !== void 0)
815
- return visitor.text(value.text);
816
- if (value.cachePoint !== void 0)
817
- return visitor.cachePoint(value.cachePoint);
808
+ if (value.text !== void 0) return visitor.text(value.text);
809
+ if (value.cachePoint !== void 0) return visitor.cachePoint(value.cachePoint);
818
810
  return visitor._(value.$unknown[0], value.$unknown[1]);
819
811
  }, "visit");
820
812
  })(ContentBlock || (ContentBlock = {}));
@@ -825,50 +817,40 @@ var ConversationRole = {
825
817
  var SystemContentBlock;
826
818
  ((SystemContentBlock3) => {
827
819
  SystemContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
828
- if (value.text !== void 0)
829
- return visitor.text(value.text);
830
- if (value.cachePoint !== void 0)
831
- return visitor.cachePoint(value.cachePoint);
820
+ if (value.text !== void 0) return visitor.text(value.text);
821
+ if (value.cachePoint !== void 0) return visitor.cachePoint(value.cachePoint);
832
822
  return visitor._(value.$unknown[0], value.$unknown[1]);
833
823
  }, "visit");
834
824
  })(SystemContentBlock || (SystemContentBlock = {}));
835
825
  var ToolChoice;
836
826
  ((ToolChoice3) => {
837
827
  ToolChoice3.visit = /* @__PURE__ */ __name((value, visitor) => {
838
- if (value.auto !== void 0)
839
- return visitor.auto(value.auto);
840
- if (value.any !== void 0)
841
- return visitor.any(value.any);
842
- if (value.tool !== void 0)
843
- return visitor.tool(value.tool);
828
+ if (value.auto !== void 0) return visitor.auto(value.auto);
829
+ if (value.any !== void 0) return visitor.any(value.any);
830
+ if (value.tool !== void 0) return visitor.tool(value.tool);
844
831
  return visitor._(value.$unknown[0], value.$unknown[1]);
845
832
  }, "visit");
846
833
  })(ToolChoice || (ToolChoice = {}));
847
834
  var ToolInputSchema;
848
835
  ((ToolInputSchema2) => {
849
836
  ToolInputSchema2.visit = /* @__PURE__ */ __name((value, visitor) => {
850
- if (value.json !== void 0)
851
- return visitor.json(value.json);
837
+ if (value.json !== void 0) return visitor.json(value.json);
852
838
  return visitor._(value.$unknown[0], value.$unknown[1]);
853
839
  }, "visit");
854
840
  })(ToolInputSchema || (ToolInputSchema = {}));
855
841
  var Tool;
856
842
  ((Tool2) => {
857
843
  Tool2.visit = /* @__PURE__ */ __name((value, visitor) => {
858
- if (value.toolSpec !== void 0)
859
- return visitor.toolSpec(value.toolSpec);
860
- if (value.cachePoint !== void 0)
861
- return visitor.cachePoint(value.cachePoint);
844
+ if (value.toolSpec !== void 0) return visitor.toolSpec(value.toolSpec);
845
+ if (value.cachePoint !== void 0) return visitor.cachePoint(value.cachePoint);
862
846
  return visitor._(value.$unknown[0], value.$unknown[1]);
863
847
  }, "visit");
864
848
  })(Tool || (Tool = {}));
865
849
  var PromptTemplateConfiguration;
866
850
  ((PromptTemplateConfiguration3) => {
867
851
  PromptTemplateConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
868
- if (value.text !== void 0)
869
- return visitor.text(value.text);
870
- if (value.chat !== void 0)
871
- return visitor.chat(value.chat);
852
+ if (value.text !== void 0) return visitor.text(value.text);
853
+ if (value.chat !== void 0) return visitor.chat(value.chat);
872
854
  return visitor._(value.$unknown[0], value.$unknown[1]);
873
855
  }, "visit");
874
856
  })(PromptTemplateConfiguration || (PromptTemplateConfiguration = {}));
@@ -879,56 +861,40 @@ var PromptTemplateType = {
879
861
  var PromptFlowNodeSourceConfiguration;
880
862
  ((PromptFlowNodeSourceConfiguration2) => {
881
863
  PromptFlowNodeSourceConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
882
- if (value.resource !== void 0)
883
- return visitor.resource(value.resource);
884
- if (value.inline !== void 0)
885
- return visitor.inline(value.inline);
864
+ if (value.resource !== void 0) return visitor.resource(value.resource);
865
+ if (value.inline !== void 0) return visitor.inline(value.inline);
886
866
  return visitor._(value.$unknown[0], value.$unknown[1]);
887
867
  }, "visit");
888
868
  })(PromptFlowNodeSourceConfiguration || (PromptFlowNodeSourceConfiguration = {}));
889
869
  var RetrievalFlowNodeServiceConfiguration;
890
870
  ((RetrievalFlowNodeServiceConfiguration3) => {
891
871
  RetrievalFlowNodeServiceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
892
- if (value.s3 !== void 0)
893
- return visitor.s3(value.s3);
872
+ if (value.s3 !== void 0) return visitor.s3(value.s3);
894
873
  return visitor._(value.$unknown[0], value.$unknown[1]);
895
874
  }, "visit");
896
875
  })(RetrievalFlowNodeServiceConfiguration || (RetrievalFlowNodeServiceConfiguration = {}));
897
876
  var StorageFlowNodeServiceConfiguration;
898
877
  ((StorageFlowNodeServiceConfiguration3) => {
899
878
  StorageFlowNodeServiceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
900
- if (value.s3 !== void 0)
901
- return visitor.s3(value.s3);
879
+ if (value.s3 !== void 0) return visitor.s3(value.s3);
902
880
  return visitor._(value.$unknown[0], value.$unknown[1]);
903
881
  }, "visit");
904
882
  })(StorageFlowNodeServiceConfiguration || (StorageFlowNodeServiceConfiguration = {}));
905
883
  var FlowNodeConfiguration;
906
884
  ((FlowNodeConfiguration2) => {
907
885
  FlowNodeConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
908
- if (value.input !== void 0)
909
- return visitor.input(value.input);
910
- if (value.output !== void 0)
911
- return visitor.output(value.output);
912
- if (value.knowledgeBase !== void 0)
913
- return visitor.knowledgeBase(value.knowledgeBase);
914
- if (value.condition !== void 0)
915
- return visitor.condition(value.condition);
916
- if (value.lex !== void 0)
917
- return visitor.lex(value.lex);
918
- if (value.prompt !== void 0)
919
- return visitor.prompt(value.prompt);
920
- if (value.lambdaFunction !== void 0)
921
- return visitor.lambdaFunction(value.lambdaFunction);
922
- if (value.storage !== void 0)
923
- return visitor.storage(value.storage);
924
- if (value.agent !== void 0)
925
- return visitor.agent(value.agent);
926
- if (value.retrieval !== void 0)
927
- return visitor.retrieval(value.retrieval);
928
- if (value.iterator !== void 0)
929
- return visitor.iterator(value.iterator);
930
- if (value.collector !== void 0)
931
- return visitor.collector(value.collector);
886
+ if (value.input !== void 0) return visitor.input(value.input);
887
+ if (value.output !== void 0) return visitor.output(value.output);
888
+ if (value.knowledgeBase !== void 0) return visitor.knowledgeBase(value.knowledgeBase);
889
+ if (value.condition !== void 0) return visitor.condition(value.condition);
890
+ if (value.lex !== void 0) return visitor.lex(value.lex);
891
+ if (value.prompt !== void 0) return visitor.prompt(value.prompt);
892
+ if (value.lambdaFunction !== void 0) return visitor.lambdaFunction(value.lambdaFunction);
893
+ if (value.storage !== void 0) return visitor.storage(value.storage);
894
+ if (value.agent !== void 0) return visitor.agent(value.agent);
895
+ if (value.retrieval !== void 0) return visitor.retrieval(value.retrieval);
896
+ if (value.iterator !== void 0) return visitor.iterator(value.iterator);
897
+ if (value.collector !== void 0) return visitor.collector(value.collector);
932
898
  return visitor._(value.$unknown[0], value.$unknown[1]);
933
899
  }, "visit");
934
900
  })(FlowNodeConfiguration || (FlowNodeConfiguration = {}));
@@ -962,14 +928,11 @@ var FlowStatus = {
962
928
  var FlowValidationDetails;
963
929
  ((FlowValidationDetails2) => {
964
930
  FlowValidationDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
965
- if (value.cyclicConnection !== void 0)
966
- return visitor.cyclicConnection(value.cyclicConnection);
967
- if (value.duplicateConnections !== void 0)
968
- return visitor.duplicateConnections(value.duplicateConnections);
931
+ if (value.cyclicConnection !== void 0) return visitor.cyclicConnection(value.cyclicConnection);
932
+ if (value.duplicateConnections !== void 0) return visitor.duplicateConnections(value.duplicateConnections);
969
933
  if (value.duplicateConditionExpression !== void 0)
970
934
  return visitor.duplicateConditionExpression(value.duplicateConditionExpression);
971
- if (value.unreachableNode !== void 0)
972
- return visitor.unreachableNode(value.unreachableNode);
935
+ if (value.unreachableNode !== void 0) return visitor.unreachableNode(value.unreachableNode);
973
936
  if (value.unknownConnectionSource !== void 0)
974
937
  return visitor.unknownConnectionSource(value.unknownConnectionSource);
975
938
  if (value.unknownConnectionSourceOutput !== void 0)
@@ -994,28 +957,20 @@ var FlowValidationDetails;
994
957
  return visitor.missingConnectionConfiguration(value.missingConnectionConfiguration);
995
958
  if (value.missingDefaultCondition !== void 0)
996
959
  return visitor.missingDefaultCondition(value.missingDefaultCondition);
997
- if (value.missingEndingNodes !== void 0)
998
- return visitor.missingEndingNodes(value.missingEndingNodes);
960
+ if (value.missingEndingNodes !== void 0) return visitor.missingEndingNodes(value.missingEndingNodes);
999
961
  if (value.missingNodeConfiguration !== void 0)
1000
962
  return visitor.missingNodeConfiguration(value.missingNodeConfiguration);
1001
- if (value.missingNodeInput !== void 0)
1002
- return visitor.missingNodeInput(value.missingNodeInput);
1003
- if (value.missingNodeOutput !== void 0)
1004
- return visitor.missingNodeOutput(value.missingNodeOutput);
1005
- if (value.missingStartingNodes !== void 0)
1006
- return visitor.missingStartingNodes(value.missingStartingNodes);
963
+ if (value.missingNodeInput !== void 0) return visitor.missingNodeInput(value.missingNodeInput);
964
+ if (value.missingNodeOutput !== void 0) return visitor.missingNodeOutput(value.missingNodeOutput);
965
+ if (value.missingStartingNodes !== void 0) return visitor.missingStartingNodes(value.missingStartingNodes);
1007
966
  if (value.multipleNodeInputConnections !== void 0)
1008
967
  return visitor.multipleNodeInputConnections(value.multipleNodeInputConnections);
1009
- if (value.unfulfilledNodeInput !== void 0)
1010
- return visitor.unfulfilledNodeInput(value.unfulfilledNodeInput);
968
+ if (value.unfulfilledNodeInput !== void 0) return visitor.unfulfilledNodeInput(value.unfulfilledNodeInput);
1011
969
  if (value.unsatisfiedConnectionConditions !== void 0)
1012
970
  return visitor.unsatisfiedConnectionConditions(value.unsatisfiedConnectionConditions);
1013
- if (value.unspecified !== void 0)
1014
- return visitor.unspecified(value.unspecified);
1015
- if (value.unknownNodeInput !== void 0)
1016
- return visitor.unknownNodeInput(value.unknownNodeInput);
1017
- if (value.unknownNodeOutput !== void 0)
1018
- return visitor.unknownNodeOutput(value.unknownNodeOutput);
971
+ if (value.unspecified !== void 0) return visitor.unspecified(value.unspecified);
972
+ if (value.unknownNodeInput !== void 0) return visitor.unknownNodeInput(value.unknownNodeInput);
973
+ if (value.unknownNodeOutput !== void 0) return visitor.unknownNodeOutput(value.unknownNodeOutput);
1019
974
  return visitor._(value.$unknown[0], value.$unknown[1]);
1020
975
  }, "visit");
1021
976
  })(FlowValidationDetails || (FlowValidationDetails = {}));
@@ -1075,12 +1030,9 @@ var SortOrder = {
1075
1030
  DESCENDING: "DESCENDING"
1076
1031
  };
1077
1032
  var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1078
- if (obj.s3 !== void 0)
1079
- return { s3: obj.s3 };
1080
- if (obj.payload !== void 0)
1081
- return { payload: import_smithy_client.SENSITIVE_STRING };
1082
- if (obj.$unknown !== void 0)
1083
- return { [obj.$unknown[0]]: "UNKNOWN" };
1033
+ if (obj.s3 !== void 0) return { s3: obj.s3 };
1034
+ if (obj.payload !== void 0) return { payload: import_smithy_client.SENSITIVE_STRING };
1035
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1084
1036
  }, "APISchemaFilterSensitiveLog");
1085
1037
  var CreateAgentActionGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1086
1038
  ...obj,
@@ -1315,34 +1267,24 @@ var ConditionFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((o
1315
1267
  ...obj.conditions && { conditions: obj.conditions.map((item) => FlowConditionFilterSensitiveLog(item)) }
1316
1268
  }), "ConditionFlowNodeConfigurationFilterSensitiveLog");
1317
1269
  var ContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1318
- if (obj.text !== void 0)
1319
- return { text: obj.text };
1320
- if (obj.cachePoint !== void 0)
1321
- return { cachePoint: obj.cachePoint };
1322
- if (obj.$unknown !== void 0)
1323
- return { [obj.$unknown[0]]: "UNKNOWN" };
1270
+ if (obj.text !== void 0) return { text: obj.text };
1271
+ if (obj.cachePoint !== void 0) return { cachePoint: obj.cachePoint };
1272
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1324
1273
  }, "ContentBlockFilterSensitiveLog");
1325
1274
  var MessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1326
1275
  ...obj,
1327
1276
  ...obj.content && { content: import_smithy_client.SENSITIVE_STRING }
1328
1277
  }), "MessageFilterSensitiveLog");
1329
1278
  var SystemContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1330
- if (obj.text !== void 0)
1331
- return { text: obj.text };
1332
- if (obj.cachePoint !== void 0)
1333
- return { cachePoint: obj.cachePoint };
1334
- if (obj.$unknown !== void 0)
1335
- return { [obj.$unknown[0]]: "UNKNOWN" };
1279
+ if (obj.text !== void 0) return { text: obj.text };
1280
+ if (obj.cachePoint !== void 0) return { cachePoint: obj.cachePoint };
1281
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1336
1282
  }, "SystemContentBlockFilterSensitiveLog");
1337
1283
  var ToolChoiceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1338
- if (obj.auto !== void 0)
1339
- return { auto: obj.auto };
1340
- if (obj.any !== void 0)
1341
- return { any: obj.any };
1342
- if (obj.tool !== void 0)
1343
- return { tool: obj.tool };
1344
- if (obj.$unknown !== void 0)
1345
- return { [obj.$unknown[0]]: "UNKNOWN" };
1284
+ if (obj.auto !== void 0) return { auto: obj.auto };
1285
+ if (obj.any !== void 0) return { any: obj.any };
1286
+ if (obj.tool !== void 0) return { tool: obj.tool };
1287
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1346
1288
  }, "ToolChoiceFilterSensitiveLog");
1347
1289
  var ToolConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1348
1290
  ...obj,
@@ -1362,12 +1304,9 @@ var TextPromptTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((
1362
1304
  ...obj.inputVariables && { inputVariables: import_smithy_client.SENSITIVE_STRING }
1363
1305
  }), "TextPromptTemplateConfigurationFilterSensitiveLog");
1364
1306
  var PromptTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1365
- if (obj.text !== void 0)
1366
- return { text: import_smithy_client.SENSITIVE_STRING };
1367
- if (obj.chat !== void 0)
1368
- return { chat: import_smithy_client.SENSITIVE_STRING };
1369
- if (obj.$unknown !== void 0)
1370
- return { [obj.$unknown[0]]: "UNKNOWN" };
1307
+ if (obj.text !== void 0) return { text: import_smithy_client.SENSITIVE_STRING };
1308
+ if (obj.chat !== void 0) return { chat: import_smithy_client.SENSITIVE_STRING };
1309
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1371
1310
  }, "PromptTemplateConfigurationFilterSensitiveLog");
1372
1311
  var PromptFlowNodeInlineConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1373
1312
  ...obj,
@@ -1377,12 +1316,9 @@ var PromptFlowNodeInlineConfigurationFilterSensitiveLog = /* @__PURE__ */ __name
1377
1316
  ...obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }
1378
1317
  }), "PromptFlowNodeInlineConfigurationFilterSensitiveLog");
1379
1318
  var PromptFlowNodeSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1380
- if (obj.resource !== void 0)
1381
- return { resource: obj.resource };
1382
- if (obj.inline !== void 0)
1383
- return { inline: PromptFlowNodeInlineConfigurationFilterSensitiveLog(obj.inline) };
1384
- if (obj.$unknown !== void 0)
1385
- return { [obj.$unknown[0]]: "UNKNOWN" };
1319
+ if (obj.resource !== void 0) return { resource: obj.resource };
1320
+ if (obj.inline !== void 0) return { inline: PromptFlowNodeInlineConfigurationFilterSensitiveLog(obj.inline) };
1321
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1386
1322
  }, "PromptFlowNodeSourceConfigurationFilterSensitiveLog");
1387
1323
  var PromptFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1388
1324
  ...obj,
@@ -1391,32 +1327,20 @@ var PromptFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj)
1391
1327
  }
1392
1328
  }), "PromptFlowNodeConfigurationFilterSensitiveLog");
1393
1329
  var FlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1394
- if (obj.input !== void 0)
1395
- return { input: obj.input };
1396
- if (obj.output !== void 0)
1397
- return { output: obj.output };
1398
- if (obj.knowledgeBase !== void 0)
1399
- return { knowledgeBase: obj.knowledgeBase };
1330
+ if (obj.input !== void 0) return { input: obj.input };
1331
+ if (obj.output !== void 0) return { output: obj.output };
1332
+ if (obj.knowledgeBase !== void 0) return { knowledgeBase: obj.knowledgeBase };
1400
1333
  if (obj.condition !== void 0)
1401
1334
  return { condition: ConditionFlowNodeConfigurationFilterSensitiveLog(obj.condition) };
1402
- if (obj.lex !== void 0)
1403
- return { lex: obj.lex };
1404
- if (obj.prompt !== void 0)
1405
- return { prompt: PromptFlowNodeConfigurationFilterSensitiveLog(obj.prompt) };
1406
- if (obj.lambdaFunction !== void 0)
1407
- return { lambdaFunction: obj.lambdaFunction };
1408
- if (obj.storage !== void 0)
1409
- return { storage: obj.storage };
1410
- if (obj.agent !== void 0)
1411
- return { agent: obj.agent };
1412
- if (obj.retrieval !== void 0)
1413
- return { retrieval: obj.retrieval };
1414
- if (obj.iterator !== void 0)
1415
- return { iterator: obj.iterator };
1416
- if (obj.collector !== void 0)
1417
- return { collector: obj.collector };
1418
- if (obj.$unknown !== void 0)
1419
- return { [obj.$unknown[0]]: "UNKNOWN" };
1335
+ if (obj.lex !== void 0) return { lex: obj.lex };
1336
+ if (obj.prompt !== void 0) return { prompt: PromptFlowNodeConfigurationFilterSensitiveLog(obj.prompt) };
1337
+ if (obj.lambdaFunction !== void 0) return { lambdaFunction: obj.lambdaFunction };
1338
+ if (obj.storage !== void 0) return { storage: obj.storage };
1339
+ if (obj.agent !== void 0) return { agent: obj.agent };
1340
+ if (obj.retrieval !== void 0) return { retrieval: obj.retrieval };
1341
+ if (obj.iterator !== void 0) return { iterator: obj.iterator };
1342
+ if (obj.collector !== void 0) return { collector: obj.collector };
1343
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1420
1344
  }, "FlowNodeConfigurationFilterSensitiveLog");
1421
1345
  var FlowNodeInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1422
1346
  ...obj,
@@ -1453,24 +1377,19 @@ var DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog = /* @__
1453
1377
  ...obj.expression && { expression: import_smithy_client.SENSITIVE_STRING }
1454
1378
  }), "DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog");
1455
1379
  var FlowValidationDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1456
- if (obj.cyclicConnection !== void 0)
1457
- return { cyclicConnection: obj.cyclicConnection };
1458
- if (obj.duplicateConnections !== void 0)
1459
- return { duplicateConnections: obj.duplicateConnections };
1380
+ if (obj.cyclicConnection !== void 0) return { cyclicConnection: obj.cyclicConnection };
1381
+ if (obj.duplicateConnections !== void 0) return { duplicateConnections: obj.duplicateConnections };
1460
1382
  if (obj.duplicateConditionExpression !== void 0)
1461
1383
  return {
1462
1384
  duplicateConditionExpression: DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog(
1463
1385
  obj.duplicateConditionExpression
1464
1386
  )
1465
1387
  };
1466
- if (obj.unreachableNode !== void 0)
1467
- return { unreachableNode: obj.unreachableNode };
1468
- if (obj.unknownConnectionSource !== void 0)
1469
- return { unknownConnectionSource: obj.unknownConnectionSource };
1388
+ if (obj.unreachableNode !== void 0) return { unreachableNode: obj.unreachableNode };
1389
+ if (obj.unknownConnectionSource !== void 0) return { unknownConnectionSource: obj.unknownConnectionSource };
1470
1390
  if (obj.unknownConnectionSourceOutput !== void 0)
1471
1391
  return { unknownConnectionSourceOutput: obj.unknownConnectionSourceOutput };
1472
- if (obj.unknownConnectionTarget !== void 0)
1473
- return { unknownConnectionTarget: obj.unknownConnectionTarget };
1392
+ if (obj.unknownConnectionTarget !== void 0) return { unknownConnectionTarget: obj.unknownConnectionTarget };
1474
1393
  if (obj.unknownConnectionTargetInput !== void 0)
1475
1394
  return { unknownConnectionTargetInput: obj.unknownConnectionTargetInput };
1476
1395
  if (obj.unknownConnectionCondition !== void 0)
@@ -1479,40 +1398,27 @@ var FlowValidationDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1479
1398
  return { malformedConditionExpression: obj.malformedConditionExpression };
1480
1399
  if (obj.malformedNodeInputExpression !== void 0)
1481
1400
  return { malformedNodeInputExpression: obj.malformedNodeInputExpression };
1482
- if (obj.mismatchedNodeInputType !== void 0)
1483
- return { mismatchedNodeInputType: obj.mismatchedNodeInputType };
1484
- if (obj.mismatchedNodeOutputType !== void 0)
1485
- return { mismatchedNodeOutputType: obj.mismatchedNodeOutputType };
1401
+ if (obj.mismatchedNodeInputType !== void 0) return { mismatchedNodeInputType: obj.mismatchedNodeInputType };
1402
+ if (obj.mismatchedNodeOutputType !== void 0) return { mismatchedNodeOutputType: obj.mismatchedNodeOutputType };
1486
1403
  if (obj.incompatibleConnectionDataType !== void 0)
1487
1404
  return { incompatibleConnectionDataType: obj.incompatibleConnectionDataType };
1488
1405
  if (obj.missingConnectionConfiguration !== void 0)
1489
1406
  return { missingConnectionConfiguration: obj.missingConnectionConfiguration };
1490
- if (obj.missingDefaultCondition !== void 0)
1491
- return { missingDefaultCondition: obj.missingDefaultCondition };
1492
- if (obj.missingEndingNodes !== void 0)
1493
- return { missingEndingNodes: obj.missingEndingNodes };
1494
- if (obj.missingNodeConfiguration !== void 0)
1495
- return { missingNodeConfiguration: obj.missingNodeConfiguration };
1496
- if (obj.missingNodeInput !== void 0)
1497
- return { missingNodeInput: obj.missingNodeInput };
1498
- if (obj.missingNodeOutput !== void 0)
1499
- return { missingNodeOutput: obj.missingNodeOutput };
1500
- if (obj.missingStartingNodes !== void 0)
1501
- return { missingStartingNodes: obj.missingStartingNodes };
1407
+ if (obj.missingDefaultCondition !== void 0) return { missingDefaultCondition: obj.missingDefaultCondition };
1408
+ if (obj.missingEndingNodes !== void 0) return { missingEndingNodes: obj.missingEndingNodes };
1409
+ if (obj.missingNodeConfiguration !== void 0) return { missingNodeConfiguration: obj.missingNodeConfiguration };
1410
+ if (obj.missingNodeInput !== void 0) return { missingNodeInput: obj.missingNodeInput };
1411
+ if (obj.missingNodeOutput !== void 0) return { missingNodeOutput: obj.missingNodeOutput };
1412
+ if (obj.missingStartingNodes !== void 0) return { missingStartingNodes: obj.missingStartingNodes };
1502
1413
  if (obj.multipleNodeInputConnections !== void 0)
1503
1414
  return { multipleNodeInputConnections: obj.multipleNodeInputConnections };
1504
- if (obj.unfulfilledNodeInput !== void 0)
1505
- return { unfulfilledNodeInput: obj.unfulfilledNodeInput };
1415
+ if (obj.unfulfilledNodeInput !== void 0) return { unfulfilledNodeInput: obj.unfulfilledNodeInput };
1506
1416
  if (obj.unsatisfiedConnectionConditions !== void 0)
1507
1417
  return { unsatisfiedConnectionConditions: obj.unsatisfiedConnectionConditions };
1508
- if (obj.unspecified !== void 0)
1509
- return { unspecified: obj.unspecified };
1510
- if (obj.unknownNodeInput !== void 0)
1511
- return { unknownNodeInput: obj.unknownNodeInput };
1512
- if (obj.unknownNodeOutput !== void 0)
1513
- return { unknownNodeOutput: obj.unknownNodeOutput };
1514
- if (obj.$unknown !== void 0)
1515
- return { [obj.$unknown[0]]: "UNKNOWN" };
1418
+ if (obj.unspecified !== void 0) return { unspecified: obj.unspecified };
1419
+ if (obj.unknownNodeInput !== void 0) return { unknownNodeInput: obj.unknownNodeInput };
1420
+ if (obj.unknownNodeOutput !== void 0) return { unknownNodeOutput: obj.unknownNodeOutput };
1421
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1516
1422
  }, "FlowValidationDetailsFilterSensitiveLog");
1517
1423
  var FlowValidationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1518
1424
  ...obj,
@@ -1548,7 +1454,7 @@ var se_AssociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input,
1548
1454
  let body;
1549
1455
  body = JSON.stringify(
1550
1456
  (0, import_smithy_client.take)(input, {
1551
- agentDescriptor: (_) => (0, import_smithy_client._json)(_),
1457
+ agentDescriptor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "agentDescriptor"),
1552
1458
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1553
1459
  collaborationInstruction: [],
1554
1460
  collaboratorName: [],
@@ -1590,17 +1496,17 @@ var se_CreateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
1590
1496
  agentName: [],
1591
1497
  agentResourceRoleArn: [],
1592
1498
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1593
- customOrchestration: (_) => (0, import_smithy_client._json)(_),
1499
+ customOrchestration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "customOrchestration"),
1594
1500
  customerEncryptionKeyArn: [],
1595
1501
  description: [],
1596
1502
  foundationModel: [],
1597
- guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
1503
+ guardrailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfiguration"),
1598
1504
  idleSessionTTLInSeconds: [],
1599
1505
  instruction: [],
1600
- memoryConfiguration: (_) => (0, import_smithy_client._json)(_),
1506
+ memoryConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "memoryConfiguration"),
1601
1507
  orchestrationType: [],
1602
- promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context),
1603
- tags: (_) => (0, import_smithy_client._json)(_)
1508
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => se_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration"),
1509
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1604
1510
  })
1605
1511
  );
1606
1512
  b.m("PUT").h(headers).b(body);
@@ -1617,14 +1523,15 @@ var se_CreateAgentActionGroupCommand = /* @__PURE__ */ __name(async (input, cont
1617
1523
  let body;
1618
1524
  body = JSON.stringify(
1619
1525
  (0, import_smithy_client.take)(input, {
1620
- actionGroupExecutor: (_) => (0, import_smithy_client._json)(_),
1526
+ actionGroupExecutor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actionGroupExecutor"),
1621
1527
  actionGroupName: [],
1622
1528
  actionGroupState: [],
1623
- apiSchema: (_) => (0, import_smithy_client._json)(_),
1529
+ apiSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "apiSchema"),
1624
1530
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1625
1531
  description: [],
1626
- functionSchema: (_) => (0, import_smithy_client._json)(_),
1627
- parentActionGroupSignature: []
1532
+ functionSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "functionSchema"),
1533
+ parentActionGroupSignature: [],
1534
+ parentActionGroupSignatureParams: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "parentActionGroupSignatureParams")
1628
1535
  })
1629
1536
  );
1630
1537
  b.m("PUT").h(headers).b(body);
@@ -1643,8 +1550,8 @@ var se_CreateAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) =
1643
1550
  agentAliasName: [],
1644
1551
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1645
1552
  description: [],
1646
- routingConfiguration: (_) => (0, import_smithy_client._json)(_),
1647
- tags: (_) => (0, import_smithy_client._json)(_)
1553
+ routingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "routingConfiguration"),
1554
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1648
1555
  })
1649
1556
  );
1650
1557
  b.m("PUT").h(headers).b(body);
@@ -1662,11 +1569,11 @@ var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
1662
1569
  (0, import_smithy_client.take)(input, {
1663
1570
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1664
1571
  dataDeletionPolicy: [],
1665
- dataSourceConfiguration: (_) => (0, import_smithy_client._json)(_),
1572
+ dataSourceConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataSourceConfiguration"),
1666
1573
  description: [],
1667
1574
  name: [],
1668
- serverSideEncryptionConfiguration: (_) => (0, import_smithy_client._json)(_),
1669
- vectorIngestionConfiguration: (_) => (0, import_smithy_client._json)(_)
1575
+ serverSideEncryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "serverSideEncryptionConfiguration"),
1576
+ vectorIngestionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "vectorIngestionConfiguration")
1670
1577
  })
1671
1578
  );
1672
1579
  b.m("PUT").h(headers).b(body);
@@ -1683,11 +1590,11 @@ var se_CreateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1683
1590
  (0, import_smithy_client.take)(input, {
1684
1591
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1685
1592
  customerEncryptionKeyArn: [],
1686
- definition: (_) => se_FlowDefinition(_, context),
1593
+ definition: /* @__PURE__ */ __name((_) => se_FlowDefinition(_, context), "definition"),
1687
1594
  description: [],
1688
1595
  executionRoleArn: [],
1689
1596
  name: [],
1690
- tags: (_) => (0, import_smithy_client._json)(_)
1597
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1691
1598
  })
1692
1599
  );
1693
1600
  b.m("POST").h(headers).b(body);
@@ -1706,8 +1613,8 @@ var se_CreateFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) =>
1706
1613
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1707
1614
  description: [],
1708
1615
  name: [],
1709
- routingConfiguration: (_) => (0, import_smithy_client._json)(_),
1710
- tags: (_) => (0, import_smithy_client._json)(_)
1616
+ routingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "routingConfiguration"),
1617
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1711
1618
  })
1712
1619
  );
1713
1620
  b.m("POST").h(headers).b(body);
@@ -1741,11 +1648,11 @@ var se_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
1741
1648
  (0, import_smithy_client.take)(input, {
1742
1649
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1743
1650
  description: [],
1744
- knowledgeBaseConfiguration: (_) => (0, import_smithy_client._json)(_),
1651
+ knowledgeBaseConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "knowledgeBaseConfiguration"),
1745
1652
  name: [],
1746
1653
  roleArn: [],
1747
- storageConfiguration: (_) => (0, import_smithy_client._json)(_),
1748
- tags: (_) => (0, import_smithy_client._json)(_)
1654
+ storageConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "storageConfiguration"),
1655
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1749
1656
  })
1750
1657
  );
1751
1658
  b.m("PUT").h(headers).b(body);
@@ -1765,8 +1672,8 @@ var se_CreatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1765
1672
  defaultVariant: [],
1766
1673
  description: [],
1767
1674
  name: [],
1768
- tags: (_) => (0, import_smithy_client._json)(_),
1769
- variants: (_) => se_PromptVariantList(_, context)
1675
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
1676
+ variants: /* @__PURE__ */ __name((_) => se_PromptVariantList(_, context), "variants")
1770
1677
  })
1771
1678
  );
1772
1679
  b.m("POST").h(headers).b(body);
@@ -1784,7 +1691,7 @@ var se_CreatePromptVersionCommand = /* @__PURE__ */ __name(async (input, context
1784
1691
  (0, import_smithy_client.take)(input, {
1785
1692
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1786
1693
  description: [],
1787
- tags: (_) => (0, import_smithy_client._json)(_)
1694
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1788
1695
  })
1789
1696
  );
1790
1697
  b.m("POST").h(headers).b(body);
@@ -1905,7 +1812,7 @@ var se_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input
1905
1812
  body = JSON.stringify(
1906
1813
  (0, import_smithy_client.take)(input, {
1907
1814
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1908
- documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
1815
+ documentIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "documentIdentifiers")
1909
1816
  })
1910
1817
  );
1911
1818
  b.m("POST").h(headers).b(body);
@@ -2077,7 +1984,7 @@ var se_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, c
2077
1984
  let body;
2078
1985
  body = JSON.stringify(
2079
1986
  (0, import_smithy_client.take)(input, {
2080
- documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
1987
+ documentIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "documentIdentifiers")
2081
1988
  })
2082
1989
  );
2083
1990
  b.m("POST").h(headers).b(body);
@@ -2107,7 +2014,7 @@ var se_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input
2107
2014
  body = JSON.stringify(
2108
2015
  (0, import_smithy_client.take)(input, {
2109
2016
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
2110
- documents: (_) => se_KnowledgeBaseDocuments(_, context)
2017
+ documents: /* @__PURE__ */ __name((_) => se_KnowledgeBaseDocuments(_, context), "documents")
2111
2018
  })
2112
2019
  );
2113
2020
  b.m("PUT").h(headers).b(body);
@@ -2283,10 +2190,10 @@ var se_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (input, context)
2283
2190
  let body;
2284
2191
  body = JSON.stringify(
2285
2192
  (0, import_smithy_client.take)(input, {
2286
- filters: (_) => (0, import_smithy_client._json)(_),
2193
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
2287
2194
  maxResults: [],
2288
2195
  nextToken: [],
2289
- sortBy: (_) => (0, import_smithy_client._json)(_)
2196
+ sortBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sortBy")
2290
2197
  })
2291
2198
  );
2292
2199
  b.m("POST").h(headers).b(body);
@@ -2405,7 +2312,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
2405
2312
  let body;
2406
2313
  body = JSON.stringify(
2407
2314
  (0, import_smithy_client.take)(input, {
2408
- tags: (_) => (0, import_smithy_client._json)(_)
2315
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
2409
2316
  })
2410
2317
  );
2411
2318
  b.m("POST").h(headers).b(body);
@@ -2436,16 +2343,16 @@ var se_UpdateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
2436
2343
  agentCollaboration: [],
2437
2344
  agentName: [],
2438
2345
  agentResourceRoleArn: [],
2439
- customOrchestration: (_) => (0, import_smithy_client._json)(_),
2346
+ customOrchestration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "customOrchestration"),
2440
2347
  customerEncryptionKeyArn: [],
2441
2348
  description: [],
2442
2349
  foundationModel: [],
2443
- guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
2350
+ guardrailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfiguration"),
2444
2351
  idleSessionTTLInSeconds: [],
2445
2352
  instruction: [],
2446
- memoryConfiguration: (_) => (0, import_smithy_client._json)(_),
2353
+ memoryConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "memoryConfiguration"),
2447
2354
  orchestrationType: [],
2448
- promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context)
2355
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => se_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration")
2449
2356
  })
2450
2357
  );
2451
2358
  b.m("PUT").h(headers).b(body);
@@ -2463,13 +2370,14 @@ var se_UpdateAgentActionGroupCommand = /* @__PURE__ */ __name(async (input, cont
2463
2370
  let body;
2464
2371
  body = JSON.stringify(
2465
2372
  (0, import_smithy_client.take)(input, {
2466
- actionGroupExecutor: (_) => (0, import_smithy_client._json)(_),
2373
+ actionGroupExecutor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actionGroupExecutor"),
2467
2374
  actionGroupName: [],
2468
2375
  actionGroupState: [],
2469
- apiSchema: (_) => (0, import_smithy_client._json)(_),
2376
+ apiSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "apiSchema"),
2470
2377
  description: [],
2471
- functionSchema: (_) => (0, import_smithy_client._json)(_),
2472
- parentActionGroupSignature: []
2378
+ functionSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "functionSchema"),
2379
+ parentActionGroupSignature: [],
2380
+ parentActionGroupSignatureParams: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "parentActionGroupSignatureParams")
2473
2381
  })
2474
2382
  );
2475
2383
  b.m("PUT").h(headers).b(body);
@@ -2488,7 +2396,7 @@ var se_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) =
2488
2396
  (0, import_smithy_client.take)(input, {
2489
2397
  agentAliasName: [],
2490
2398
  description: [],
2491
- routingConfiguration: (_) => (0, import_smithy_client._json)(_)
2399
+ routingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "routingConfiguration")
2492
2400
  })
2493
2401
  );
2494
2402
  b.m("PUT").h(headers).b(body);
@@ -2506,7 +2414,7 @@ var se_UpdateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input, con
2506
2414
  let body;
2507
2415
  body = JSON.stringify(
2508
2416
  (0, import_smithy_client.take)(input, {
2509
- agentDescriptor: (_) => (0, import_smithy_client._json)(_),
2417
+ agentDescriptor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "agentDescriptor"),
2510
2418
  collaborationInstruction: [],
2511
2419
  collaboratorName: [],
2512
2420
  relayConversationHistory: []
@@ -2546,11 +2454,11 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
2546
2454
  body = JSON.stringify(
2547
2455
  (0, import_smithy_client.take)(input, {
2548
2456
  dataDeletionPolicy: [],
2549
- dataSourceConfiguration: (_) => (0, import_smithy_client._json)(_),
2457
+ dataSourceConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataSourceConfiguration"),
2550
2458
  description: [],
2551
2459
  name: [],
2552
- serverSideEncryptionConfiguration: (_) => (0, import_smithy_client._json)(_),
2553
- vectorIngestionConfiguration: (_) => (0, import_smithy_client._json)(_)
2460
+ serverSideEncryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "serverSideEncryptionConfiguration"),
2461
+ vectorIngestionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "vectorIngestionConfiguration")
2554
2462
  })
2555
2463
  );
2556
2464
  b.m("PUT").h(headers).b(body);
@@ -2567,7 +2475,7 @@ var se_UpdateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
2567
2475
  body = JSON.stringify(
2568
2476
  (0, import_smithy_client.take)(input, {
2569
2477
  customerEncryptionKeyArn: [],
2570
- definition: (_) => se_FlowDefinition(_, context),
2478
+ definition: /* @__PURE__ */ __name((_) => se_FlowDefinition(_, context), "definition"),
2571
2479
  description: [],
2572
2480
  executionRoleArn: [],
2573
2481
  name: []
@@ -2589,7 +2497,7 @@ var se_UpdateFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) =>
2589
2497
  (0, import_smithy_client.take)(input, {
2590
2498
  description: [],
2591
2499
  name: [],
2592
- routingConfiguration: (_) => (0, import_smithy_client._json)(_)
2500
+ routingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "routingConfiguration")
2593
2501
  })
2594
2502
  );
2595
2503
  b.m("PUT").h(headers).b(body);
@@ -2606,10 +2514,10 @@ var se_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
2606
2514
  body = JSON.stringify(
2607
2515
  (0, import_smithy_client.take)(input, {
2608
2516
  description: [],
2609
- knowledgeBaseConfiguration: (_) => (0, import_smithy_client._json)(_),
2517
+ knowledgeBaseConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "knowledgeBaseConfiguration"),
2610
2518
  name: [],
2611
2519
  roleArn: [],
2612
- storageConfiguration: (_) => (0, import_smithy_client._json)(_)
2520
+ storageConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "storageConfiguration")
2613
2521
  })
2614
2522
  );
2615
2523
  b.m("PUT").h(headers).b(body);
@@ -2629,7 +2537,7 @@ var se_UpdatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
2629
2537
  defaultVariant: [],
2630
2538
  description: [],
2631
2539
  name: [],
2632
- variants: (_) => se_PromptVariantList(_, context)
2540
+ variants: /* @__PURE__ */ __name((_) => se_PromptVariantList(_, context), "variants")
2633
2541
  })
2634
2542
  );
2635
2543
  b.m("PUT").h(headers).b(body);
@@ -2644,7 +2552,7 @@ var se_ValidateFlowDefinitionCommand = /* @__PURE__ */ __name(async (input, cont
2644
2552
  let body;
2645
2553
  body = JSON.stringify(
2646
2554
  (0, import_smithy_client.take)(input, {
2647
- definition: (_) => se_FlowDefinition(_, context)
2555
+ definition: /* @__PURE__ */ __name((_) => se_FlowDefinition(_, context), "definition")
2648
2556
  })
2649
2557
  );
2650
2558
  b.m("POST").h(headers).b(body);
@@ -2659,7 +2567,7 @@ var de_AssociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output,
2659
2567
  });
2660
2568
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2661
2569
  const doc = (0, import_smithy_client.take)(data, {
2662
- agentCollaborator: (_) => de_AgentCollaborator(_, context)
2570
+ agentCollaborator: /* @__PURE__ */ __name((_) => de_AgentCollaborator(_, context), "agentCollaborator")
2663
2571
  });
2664
2572
  Object.assign(contents, doc);
2665
2573
  return contents;
@@ -2673,7 +2581,7 @@ var de_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output
2673
2581
  });
2674
2582
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2675
2583
  const doc = (0, import_smithy_client.take)(data, {
2676
- agentKnowledgeBase: (_) => de_AgentKnowledgeBase(_, context)
2584
+ agentKnowledgeBase: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBase(_, context), "agentKnowledgeBase")
2677
2585
  });
2678
2586
  Object.assign(contents, doc);
2679
2587
  return contents;
@@ -2687,7 +2595,7 @@ var de_CreateAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
2687
2595
  });
2688
2596
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2689
2597
  const doc = (0, import_smithy_client.take)(data, {
2690
- agent: (_) => de_Agent(_, context)
2598
+ agent: /* @__PURE__ */ __name((_) => de_Agent(_, context), "agent")
2691
2599
  });
2692
2600
  Object.assign(contents, doc);
2693
2601
  return contents;
@@ -2701,7 +2609,7 @@ var de_CreateAgentActionGroupCommand = /* @__PURE__ */ __name(async (output, con
2701
2609
  });
2702
2610
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2703
2611
  const doc = (0, import_smithy_client.take)(data, {
2704
- agentActionGroup: (_) => de_AgentActionGroup(_, context)
2612
+ agentActionGroup: /* @__PURE__ */ __name((_) => de_AgentActionGroup(_, context), "agentActionGroup")
2705
2613
  });
2706
2614
  Object.assign(contents, doc);
2707
2615
  return contents;
@@ -2715,7 +2623,7 @@ var de_CreateAgentAliasCommand = /* @__PURE__ */ __name(async (output, context)
2715
2623
  });
2716
2624
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2717
2625
  const doc = (0, import_smithy_client.take)(data, {
2718
- agentAlias: (_) => de_AgentAlias(_, context)
2626
+ agentAlias: /* @__PURE__ */ __name((_) => de_AgentAlias(_, context), "agentAlias")
2719
2627
  });
2720
2628
  Object.assign(contents, doc);
2721
2629
  return contents;
@@ -2729,7 +2637,7 @@ var de_CreateDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
2729
2637
  });
2730
2638
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2731
2639
  const doc = (0, import_smithy_client.take)(data, {
2732
- dataSource: (_) => de_DataSource(_, context)
2640
+ dataSource: /* @__PURE__ */ __name((_) => de_DataSource(_, context), "dataSource")
2733
2641
  });
2734
2642
  Object.assign(contents, doc);
2735
2643
  return contents;
@@ -2744,15 +2652,15 @@ var de_CreateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2744
2652
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2745
2653
  const doc = (0, import_smithy_client.take)(data, {
2746
2654
  arn: import_smithy_client.expectString,
2747
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2655
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
2748
2656
  customerEncryptionKeyArn: import_smithy_client.expectString,
2749
- definition: (_) => de_FlowDefinition(_, context),
2657
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
2750
2658
  description: import_smithy_client.expectString,
2751
2659
  executionRoleArn: import_smithy_client.expectString,
2752
2660
  id: import_smithy_client.expectString,
2753
2661
  name: import_smithy_client.expectString,
2754
2662
  status: import_smithy_client.expectString,
2755
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2663
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
2756
2664
  version: import_smithy_client.expectString
2757
2665
  });
2758
2666
  Object.assign(contents, doc);
@@ -2768,13 +2676,13 @@ var de_CreateFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) =
2768
2676
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2769
2677
  const doc = (0, import_smithy_client.take)(data, {
2770
2678
  arn: import_smithy_client.expectString,
2771
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2679
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
2772
2680
  description: import_smithy_client.expectString,
2773
2681
  flowId: import_smithy_client.expectString,
2774
2682
  id: import_smithy_client.expectString,
2775
2683
  name: import_smithy_client.expectString,
2776
2684
  routingConfiguration: import_smithy_client._json,
2777
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2685
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
2778
2686
  });
2779
2687
  Object.assign(contents, doc);
2780
2688
  return contents;
@@ -2789,9 +2697,9 @@ var de_CreateFlowVersionCommand = /* @__PURE__ */ __name(async (output, context)
2789
2697
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2790
2698
  const doc = (0, import_smithy_client.take)(data, {
2791
2699
  arn: import_smithy_client.expectString,
2792
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2700
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
2793
2701
  customerEncryptionKeyArn: import_smithy_client.expectString,
2794
- definition: (_) => de_FlowDefinition(_, context),
2702
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
2795
2703
  description: import_smithy_client.expectString,
2796
2704
  executionRoleArn: import_smithy_client.expectString,
2797
2705
  id: import_smithy_client.expectString,
@@ -2811,7 +2719,7 @@ var de_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
2811
2719
  });
2812
2720
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2813
2721
  const doc = (0, import_smithy_client.take)(data, {
2814
- knowledgeBase: (_) => de_KnowledgeBase(_, context)
2722
+ knowledgeBase: /* @__PURE__ */ __name((_) => de_KnowledgeBase(_, context), "knowledgeBase")
2815
2723
  });
2816
2724
  Object.assign(contents, doc);
2817
2725
  return contents;
@@ -2826,14 +2734,14 @@ var de_CreatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2826
2734
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2827
2735
  const doc = (0, import_smithy_client.take)(data, {
2828
2736
  arn: import_smithy_client.expectString,
2829
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2737
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
2830
2738
  customerEncryptionKeyArn: import_smithy_client.expectString,
2831
2739
  defaultVariant: import_smithy_client.expectString,
2832
2740
  description: import_smithy_client.expectString,
2833
2741
  id: import_smithy_client.expectString,
2834
2742
  name: import_smithy_client.expectString,
2835
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2836
- variants: (_) => de_PromptVariantList(_, context),
2743
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
2744
+ variants: /* @__PURE__ */ __name((_) => de_PromptVariantList(_, context), "variants"),
2837
2745
  version: import_smithy_client.expectString
2838
2746
  });
2839
2747
  Object.assign(contents, doc);
@@ -2849,14 +2757,14 @@ var de_CreatePromptVersionCommand = /* @__PURE__ */ __name(async (output, contex
2849
2757
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2850
2758
  const doc = (0, import_smithy_client.take)(data, {
2851
2759
  arn: import_smithy_client.expectString,
2852
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2760
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
2853
2761
  customerEncryptionKeyArn: import_smithy_client.expectString,
2854
2762
  defaultVariant: import_smithy_client.expectString,
2855
2763
  description: import_smithy_client.expectString,
2856
2764
  id: import_smithy_client.expectString,
2857
2765
  name: import_smithy_client.expectString,
2858
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2859
- variants: (_) => de_PromptVariantList(_, context),
2766
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
2767
+ variants: /* @__PURE__ */ __name((_) => de_PromptVariantList(_, context), "variants"),
2860
2768
  version: import_smithy_client.expectString
2861
2769
  });
2862
2770
  Object.assign(contents, doc);
@@ -3003,7 +2911,7 @@ var de_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (outpu
3003
2911
  });
3004
2912
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3005
2913
  const doc = (0, import_smithy_client.take)(data, {
3006
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
2914
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails")
3007
2915
  });
3008
2916
  Object.assign(contents, doc);
3009
2917
  return contents;
@@ -3052,7 +2960,7 @@ var de_GetAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
3052
2960
  });
3053
2961
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3054
2962
  const doc = (0, import_smithy_client.take)(data, {
3055
- agent: (_) => de_Agent(_, context)
2963
+ agent: /* @__PURE__ */ __name((_) => de_Agent(_, context), "agent")
3056
2964
  });
3057
2965
  Object.assign(contents, doc);
3058
2966
  return contents;
@@ -3066,7 +2974,7 @@ var de_GetAgentActionGroupCommand = /* @__PURE__ */ __name(async (output, contex
3066
2974
  });
3067
2975
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3068
2976
  const doc = (0, import_smithy_client.take)(data, {
3069
- agentActionGroup: (_) => de_AgentActionGroup(_, context)
2977
+ agentActionGroup: /* @__PURE__ */ __name((_) => de_AgentActionGroup(_, context), "agentActionGroup")
3070
2978
  });
3071
2979
  Object.assign(contents, doc);
3072
2980
  return contents;
@@ -3080,7 +2988,7 @@ var de_GetAgentAliasCommand = /* @__PURE__ */ __name(async (output, context) =>
3080
2988
  });
3081
2989
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3082
2990
  const doc = (0, import_smithy_client.take)(data, {
3083
- agentAlias: (_) => de_AgentAlias(_, context)
2991
+ agentAlias: /* @__PURE__ */ __name((_) => de_AgentAlias(_, context), "agentAlias")
3084
2992
  });
3085
2993
  Object.assign(contents, doc);
3086
2994
  return contents;
@@ -3094,7 +3002,7 @@ var de_GetAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, conte
3094
3002
  });
3095
3003
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3096
3004
  const doc = (0, import_smithy_client.take)(data, {
3097
- agentCollaborator: (_) => de_AgentCollaborator(_, context)
3005
+ agentCollaborator: /* @__PURE__ */ __name((_) => de_AgentCollaborator(_, context), "agentCollaborator")
3098
3006
  });
3099
3007
  Object.assign(contents, doc);
3100
3008
  return contents;
@@ -3108,7 +3016,7 @@ var de_GetAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, cont
3108
3016
  });
3109
3017
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3110
3018
  const doc = (0, import_smithy_client.take)(data, {
3111
- agentKnowledgeBase: (_) => de_AgentKnowledgeBase(_, context)
3019
+ agentKnowledgeBase: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBase(_, context), "agentKnowledgeBase")
3112
3020
  });
3113
3021
  Object.assign(contents, doc);
3114
3022
  return contents;
@@ -3122,7 +3030,7 @@ var de_GetAgentVersionCommand = /* @__PURE__ */ __name(async (output, context) =
3122
3030
  });
3123
3031
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3124
3032
  const doc = (0, import_smithy_client.take)(data, {
3125
- agentVersion: (_) => de_AgentVersion(_, context)
3033
+ agentVersion: /* @__PURE__ */ __name((_) => de_AgentVersion(_, context), "agentVersion")
3126
3034
  });
3127
3035
  Object.assign(contents, doc);
3128
3036
  return contents;
@@ -3136,7 +3044,7 @@ var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
3136
3044
  });
3137
3045
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3138
3046
  const doc = (0, import_smithy_client.take)(data, {
3139
- dataSource: (_) => de_DataSource(_, context)
3047
+ dataSource: /* @__PURE__ */ __name((_) => de_DataSource(_, context), "dataSource")
3140
3048
  });
3141
3049
  Object.assign(contents, doc);
3142
3050
  return contents;
@@ -3151,15 +3059,15 @@ var de_GetFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
3151
3059
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3152
3060
  const doc = (0, import_smithy_client.take)(data, {
3153
3061
  arn: import_smithy_client.expectString,
3154
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3062
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3155
3063
  customerEncryptionKeyArn: import_smithy_client.expectString,
3156
- definition: (_) => de_FlowDefinition(_, context),
3064
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
3157
3065
  description: import_smithy_client.expectString,
3158
3066
  executionRoleArn: import_smithy_client.expectString,
3159
3067
  id: import_smithy_client.expectString,
3160
3068
  name: import_smithy_client.expectString,
3161
3069
  status: import_smithy_client.expectString,
3162
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3070
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
3163
3071
  validations: import_smithy_client._json,
3164
3072
  version: import_smithy_client.expectString
3165
3073
  });
@@ -3176,13 +3084,13 @@ var de_GetFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
3176
3084
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3177
3085
  const doc = (0, import_smithy_client.take)(data, {
3178
3086
  arn: import_smithy_client.expectString,
3179
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3087
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3180
3088
  description: import_smithy_client.expectString,
3181
3089
  flowId: import_smithy_client.expectString,
3182
3090
  id: import_smithy_client.expectString,
3183
3091
  name: import_smithy_client.expectString,
3184
3092
  routingConfiguration: import_smithy_client._json,
3185
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
3093
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
3186
3094
  });
3187
3095
  Object.assign(contents, doc);
3188
3096
  return contents;
@@ -3197,9 +3105,9 @@ var de_GetFlowVersionCommand = /* @__PURE__ */ __name(async (output, context) =>
3197
3105
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3198
3106
  const doc = (0, import_smithy_client.take)(data, {
3199
3107
  arn: import_smithy_client.expectString,
3200
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3108
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3201
3109
  customerEncryptionKeyArn: import_smithy_client.expectString,
3202
- definition: (_) => de_FlowDefinition(_, context),
3110
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
3203
3111
  description: import_smithy_client.expectString,
3204
3112
  executionRoleArn: import_smithy_client.expectString,
3205
3113
  id: import_smithy_client.expectString,
@@ -3219,7 +3127,7 @@ var de_GetIngestionJobCommand = /* @__PURE__ */ __name(async (output, context) =
3219
3127
  });
3220
3128
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3221
3129
  const doc = (0, import_smithy_client.take)(data, {
3222
- ingestionJob: (_) => de_IngestionJob(_, context)
3130
+ ingestionJob: /* @__PURE__ */ __name((_) => de_IngestionJob(_, context), "ingestionJob")
3223
3131
  });
3224
3132
  Object.assign(contents, doc);
3225
3133
  return contents;
@@ -3233,7 +3141,7 @@ var de_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context)
3233
3141
  });
3234
3142
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3235
3143
  const doc = (0, import_smithy_client.take)(data, {
3236
- knowledgeBase: (_) => de_KnowledgeBase(_, context)
3144
+ knowledgeBase: /* @__PURE__ */ __name((_) => de_KnowledgeBase(_, context), "knowledgeBase")
3237
3145
  });
3238
3146
  Object.assign(contents, doc);
3239
3147
  return contents;
@@ -3247,7 +3155,7 @@ var de_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output,
3247
3155
  });
3248
3156
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3249
3157
  const doc = (0, import_smithy_client.take)(data, {
3250
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
3158
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails")
3251
3159
  });
3252
3160
  Object.assign(contents, doc);
3253
3161
  return contents;
@@ -3262,14 +3170,14 @@ var de_GetPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
3262
3170
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3263
3171
  const doc = (0, import_smithy_client.take)(data, {
3264
3172
  arn: import_smithy_client.expectString,
3265
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3173
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3266
3174
  customerEncryptionKeyArn: import_smithy_client.expectString,
3267
3175
  defaultVariant: import_smithy_client.expectString,
3268
3176
  description: import_smithy_client.expectString,
3269
3177
  id: import_smithy_client.expectString,
3270
3178
  name: import_smithy_client.expectString,
3271
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3272
- variants: (_) => de_PromptVariantList(_, context),
3179
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
3180
+ variants: /* @__PURE__ */ __name((_) => de_PromptVariantList(_, context), "variants"),
3273
3181
  version: import_smithy_client.expectString
3274
3182
  });
3275
3183
  Object.assign(contents, doc);
@@ -3284,7 +3192,7 @@ var de_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (outpu
3284
3192
  });
3285
3193
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3286
3194
  const doc = (0, import_smithy_client.take)(data, {
3287
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
3195
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails")
3288
3196
  });
3289
3197
  Object.assign(contents, doc);
3290
3198
  return contents;
@@ -3298,7 +3206,7 @@ var de_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (output, cont
3298
3206
  });
3299
3207
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3300
3208
  const doc = (0, import_smithy_client.take)(data, {
3301
- actionGroupSummaries: (_) => de_ActionGroupSummaries(_, context),
3209
+ actionGroupSummaries: /* @__PURE__ */ __name((_) => de_ActionGroupSummaries(_, context), "actionGroupSummaries"),
3302
3210
  nextToken: import_smithy_client.expectString
3303
3211
  });
3304
3212
  Object.assign(contents, doc);
@@ -3313,7 +3221,7 @@ var de_ListAgentAliasesCommand = /* @__PURE__ */ __name(async (output, context)
3313
3221
  });
3314
3222
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3315
3223
  const doc = (0, import_smithy_client.take)(data, {
3316
- agentAliasSummaries: (_) => de_AgentAliasSummaries(_, context),
3224
+ agentAliasSummaries: /* @__PURE__ */ __name((_) => de_AgentAliasSummaries(_, context), "agentAliasSummaries"),
3317
3225
  nextToken: import_smithy_client.expectString
3318
3226
  });
3319
3227
  Object.assign(contents, doc);
@@ -3328,7 +3236,7 @@ var de_ListAgentCollaboratorsCommand = /* @__PURE__ */ __name(async (output, con
3328
3236
  });
3329
3237
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3330
3238
  const doc = (0, import_smithy_client.take)(data, {
3331
- agentCollaboratorSummaries: (_) => de_AgentCollaboratorSummaries(_, context),
3239
+ agentCollaboratorSummaries: /* @__PURE__ */ __name((_) => de_AgentCollaboratorSummaries(_, context), "agentCollaboratorSummaries"),
3332
3240
  nextToken: import_smithy_client.expectString
3333
3241
  });
3334
3242
  Object.assign(contents, doc);
@@ -3343,7 +3251,7 @@ var de_ListAgentKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, co
3343
3251
  });
3344
3252
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3345
3253
  const doc = (0, import_smithy_client.take)(data, {
3346
- agentKnowledgeBaseSummaries: (_) => de_AgentKnowledgeBaseSummaries(_, context),
3254
+ agentKnowledgeBaseSummaries: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBaseSummaries(_, context), "agentKnowledgeBaseSummaries"),
3347
3255
  nextToken: import_smithy_client.expectString
3348
3256
  });
3349
3257
  Object.assign(contents, doc);
@@ -3358,7 +3266,7 @@ var de_ListAgentsCommand = /* @__PURE__ */ __name(async (output, context) => {
3358
3266
  });
3359
3267
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3360
3268
  const doc = (0, import_smithy_client.take)(data, {
3361
- agentSummaries: (_) => de_AgentSummaries(_, context),
3269
+ agentSummaries: /* @__PURE__ */ __name((_) => de_AgentSummaries(_, context), "agentSummaries"),
3362
3270
  nextToken: import_smithy_client.expectString
3363
3271
  });
3364
3272
  Object.assign(contents, doc);
@@ -3373,7 +3281,7 @@ var de_ListAgentVersionsCommand = /* @__PURE__ */ __name(async (output, context)
3373
3281
  });
3374
3282
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3375
3283
  const doc = (0, import_smithy_client.take)(data, {
3376
- agentVersionSummaries: (_) => de_AgentVersionSummaries(_, context),
3284
+ agentVersionSummaries: /* @__PURE__ */ __name((_) => de_AgentVersionSummaries(_, context), "agentVersionSummaries"),
3377
3285
  nextToken: import_smithy_client.expectString
3378
3286
  });
3379
3287
  Object.assign(contents, doc);
@@ -3388,7 +3296,7 @@ var de_ListDataSourcesCommand = /* @__PURE__ */ __name(async (output, context) =
3388
3296
  });
3389
3297
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3390
3298
  const doc = (0, import_smithy_client.take)(data, {
3391
- dataSourceSummaries: (_) => de_DataSourceSummaries(_, context),
3299
+ dataSourceSummaries: /* @__PURE__ */ __name((_) => de_DataSourceSummaries(_, context), "dataSourceSummaries"),
3392
3300
  nextToken: import_smithy_client.expectString
3393
3301
  });
3394
3302
  Object.assign(contents, doc);
@@ -3403,7 +3311,7 @@ var de_ListFlowAliasesCommand = /* @__PURE__ */ __name(async (output, context) =
3403
3311
  });
3404
3312
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3405
3313
  const doc = (0, import_smithy_client.take)(data, {
3406
- flowAliasSummaries: (_) => de_FlowAliasSummaries(_, context),
3314
+ flowAliasSummaries: /* @__PURE__ */ __name((_) => de_FlowAliasSummaries(_, context), "flowAliasSummaries"),
3407
3315
  nextToken: import_smithy_client.expectString
3408
3316
  });
3409
3317
  Object.assign(contents, doc);
@@ -3418,7 +3326,7 @@ var de_ListFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
3418
3326
  });
3419
3327
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3420
3328
  const doc = (0, import_smithy_client.take)(data, {
3421
- flowSummaries: (_) => de_FlowSummaries(_, context),
3329
+ flowSummaries: /* @__PURE__ */ __name((_) => de_FlowSummaries(_, context), "flowSummaries"),
3422
3330
  nextToken: import_smithy_client.expectString
3423
3331
  });
3424
3332
  Object.assign(contents, doc);
@@ -3433,7 +3341,7 @@ var de_ListFlowVersionsCommand = /* @__PURE__ */ __name(async (output, context)
3433
3341
  });
3434
3342
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3435
3343
  const doc = (0, import_smithy_client.take)(data, {
3436
- flowVersionSummaries: (_) => de_FlowVersionSummaries(_, context),
3344
+ flowVersionSummaries: /* @__PURE__ */ __name((_) => de_FlowVersionSummaries(_, context), "flowVersionSummaries"),
3437
3345
  nextToken: import_smithy_client.expectString
3438
3346
  });
3439
3347
  Object.assign(contents, doc);
@@ -3448,7 +3356,7 @@ var de_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (output, context)
3448
3356
  });
3449
3357
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3450
3358
  const doc = (0, import_smithy_client.take)(data, {
3451
- ingestionJobSummaries: (_) => de_IngestionJobSummaries(_, context),
3359
+ ingestionJobSummaries: /* @__PURE__ */ __name((_) => de_IngestionJobSummaries(_, context), "ingestionJobSummaries"),
3452
3360
  nextToken: import_smithy_client.expectString
3453
3361
  });
3454
3362
  Object.assign(contents, doc);
@@ -3463,7 +3371,7 @@ var de_ListKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output,
3463
3371
  });
3464
3372
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3465
3373
  const doc = (0, import_smithy_client.take)(data, {
3466
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context),
3374
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails"),
3467
3375
  nextToken: import_smithy_client.expectString
3468
3376
  });
3469
3377
  Object.assign(contents, doc);
@@ -3478,7 +3386,7 @@ var de_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, context
3478
3386
  });
3479
3387
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3480
3388
  const doc = (0, import_smithy_client.take)(data, {
3481
- knowledgeBaseSummaries: (_) => de_KnowledgeBaseSummaries(_, context),
3389
+ knowledgeBaseSummaries: /* @__PURE__ */ __name((_) => de_KnowledgeBaseSummaries(_, context), "knowledgeBaseSummaries"),
3482
3390
  nextToken: import_smithy_client.expectString
3483
3391
  });
3484
3392
  Object.assign(contents, doc);
@@ -3494,7 +3402,7 @@ var de_ListPromptsCommand = /* @__PURE__ */ __name(async (output, context) => {
3494
3402
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3495
3403
  const doc = (0, import_smithy_client.take)(data, {
3496
3404
  nextToken: import_smithy_client.expectString,
3497
- promptSummaries: (_) => de_PromptSummaries(_, context)
3405
+ promptSummaries: /* @__PURE__ */ __name((_) => de_PromptSummaries(_, context), "promptSummaries")
3498
3406
  });
3499
3407
  Object.assign(contents, doc);
3500
3408
  return contents;
@@ -3525,7 +3433,7 @@ var de_PrepareAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
3525
3433
  agentId: import_smithy_client.expectString,
3526
3434
  agentStatus: import_smithy_client.expectString,
3527
3435
  agentVersion: import_smithy_client.expectString,
3528
- preparedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
3436
+ preparedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "preparedAt")
3529
3437
  });
3530
3438
  Object.assign(contents, doc);
3531
3439
  return contents;
@@ -3554,7 +3462,7 @@ var de_StartIngestionJobCommand = /* @__PURE__ */ __name(async (output, context)
3554
3462
  });
3555
3463
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3556
3464
  const doc = (0, import_smithy_client.take)(data, {
3557
- ingestionJob: (_) => de_IngestionJob(_, context)
3465
+ ingestionJob: /* @__PURE__ */ __name((_) => de_IngestionJob(_, context), "ingestionJob")
3558
3466
  });
3559
3467
  Object.assign(contents, doc);
3560
3468
  return contents;
@@ -3568,7 +3476,7 @@ var de_StopIngestionJobCommand = /* @__PURE__ */ __name(async (output, context)
3568
3476
  });
3569
3477
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3570
3478
  const doc = (0, import_smithy_client.take)(data, {
3571
- ingestionJob: (_) => de_IngestionJob(_, context)
3479
+ ingestionJob: /* @__PURE__ */ __name((_) => de_IngestionJob(_, context), "ingestionJob")
3572
3480
  });
3573
3481
  Object.assign(contents, doc);
3574
3482
  return contents;
@@ -3602,7 +3510,7 @@ var de_UpdateAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
3602
3510
  });
3603
3511
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3604
3512
  const doc = (0, import_smithy_client.take)(data, {
3605
- agent: (_) => de_Agent(_, context)
3513
+ agent: /* @__PURE__ */ __name((_) => de_Agent(_, context), "agent")
3606
3514
  });
3607
3515
  Object.assign(contents, doc);
3608
3516
  return contents;
@@ -3616,7 +3524,7 @@ var de_UpdateAgentActionGroupCommand = /* @__PURE__ */ __name(async (output, con
3616
3524
  });
3617
3525
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3618
3526
  const doc = (0, import_smithy_client.take)(data, {
3619
- agentActionGroup: (_) => de_AgentActionGroup(_, context)
3527
+ agentActionGroup: /* @__PURE__ */ __name((_) => de_AgentActionGroup(_, context), "agentActionGroup")
3620
3528
  });
3621
3529
  Object.assign(contents, doc);
3622
3530
  return contents;
@@ -3630,7 +3538,7 @@ var de_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (output, context)
3630
3538
  });
3631
3539
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3632
3540
  const doc = (0, import_smithy_client.take)(data, {
3633
- agentAlias: (_) => de_AgentAlias(_, context)
3541
+ agentAlias: /* @__PURE__ */ __name((_) => de_AgentAlias(_, context), "agentAlias")
3634
3542
  });
3635
3543
  Object.assign(contents, doc);
3636
3544
  return contents;
@@ -3644,7 +3552,7 @@ var de_UpdateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, co
3644
3552
  });
3645
3553
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3646
3554
  const doc = (0, import_smithy_client.take)(data, {
3647
- agentCollaborator: (_) => de_AgentCollaborator(_, context)
3555
+ agentCollaborator: /* @__PURE__ */ __name((_) => de_AgentCollaborator(_, context), "agentCollaborator")
3648
3556
  });
3649
3557
  Object.assign(contents, doc);
3650
3558
  return contents;
@@ -3658,7 +3566,7 @@ var de_UpdateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, c
3658
3566
  });
3659
3567
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3660
3568
  const doc = (0, import_smithy_client.take)(data, {
3661
- agentKnowledgeBase: (_) => de_AgentKnowledgeBase(_, context)
3569
+ agentKnowledgeBase: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBase(_, context), "agentKnowledgeBase")
3662
3570
  });
3663
3571
  Object.assign(contents, doc);
3664
3572
  return contents;
@@ -3672,7 +3580,7 @@ var de_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
3672
3580
  });
3673
3581
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3674
3582
  const doc = (0, import_smithy_client.take)(data, {
3675
- dataSource: (_) => de_DataSource(_, context)
3583
+ dataSource: /* @__PURE__ */ __name((_) => de_DataSource(_, context), "dataSource")
3676
3584
  });
3677
3585
  Object.assign(contents, doc);
3678
3586
  return contents;
@@ -3687,15 +3595,15 @@ var de_UpdateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
3687
3595
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3688
3596
  const doc = (0, import_smithy_client.take)(data, {
3689
3597
  arn: import_smithy_client.expectString,
3690
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3598
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3691
3599
  customerEncryptionKeyArn: import_smithy_client.expectString,
3692
- definition: (_) => de_FlowDefinition(_, context),
3600
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
3693
3601
  description: import_smithy_client.expectString,
3694
3602
  executionRoleArn: import_smithy_client.expectString,
3695
3603
  id: import_smithy_client.expectString,
3696
3604
  name: import_smithy_client.expectString,
3697
3605
  status: import_smithy_client.expectString,
3698
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3606
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
3699
3607
  version: import_smithy_client.expectString
3700
3608
  });
3701
3609
  Object.assign(contents, doc);
@@ -3711,13 +3619,13 @@ var de_UpdateFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) =
3711
3619
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3712
3620
  const doc = (0, import_smithy_client.take)(data, {
3713
3621
  arn: import_smithy_client.expectString,
3714
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3622
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3715
3623
  description: import_smithy_client.expectString,
3716
3624
  flowId: import_smithy_client.expectString,
3717
3625
  id: import_smithy_client.expectString,
3718
3626
  name: import_smithy_client.expectString,
3719
3627
  routingConfiguration: import_smithy_client._json,
3720
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
3628
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
3721
3629
  });
3722
3630
  Object.assign(contents, doc);
3723
3631
  return contents;
@@ -3731,7 +3639,7 @@ var de_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
3731
3639
  });
3732
3640
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3733
3641
  const doc = (0, import_smithy_client.take)(data, {
3734
- knowledgeBase: (_) => de_KnowledgeBase(_, context)
3642
+ knowledgeBase: /* @__PURE__ */ __name((_) => de_KnowledgeBase(_, context), "knowledgeBase")
3735
3643
  });
3736
3644
  Object.assign(contents, doc);
3737
3645
  return contents;
@@ -3746,14 +3654,14 @@ var de_UpdatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
3746
3654
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3747
3655
  const doc = (0, import_smithy_client.take)(data, {
3748
3656
  arn: import_smithy_client.expectString,
3749
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3657
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
3750
3658
  customerEncryptionKeyArn: import_smithy_client.expectString,
3751
3659
  defaultVariant: import_smithy_client.expectString,
3752
3660
  description: import_smithy_client.expectString,
3753
3661
  id: import_smithy_client.expectString,
3754
3662
  name: import_smithy_client.expectString,
3755
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3756
- variants: (_) => de_PromptVariantList(_, context),
3663
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
3664
+ variants: /* @__PURE__ */ __name((_) => de_PromptVariantList(_, context), "variants"),
3757
3665
  version: import_smithy_client.expectString
3758
3666
  });
3759
3667
  Object.assign(contents, doc);
@@ -3914,27 +3822,27 @@ var se_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((input, context)
3914
3822
  inputVariables: import_smithy_client._json,
3915
3823
  messages: import_smithy_client._json,
3916
3824
  system: import_smithy_client._json,
3917
- toolConfiguration: (_) => se_ToolConfiguration(_, context)
3825
+ toolConfiguration: /* @__PURE__ */ __name((_) => se_ToolConfiguration(_, context), "toolConfiguration")
3918
3826
  });
3919
3827
  }, "se_ChatPromptTemplateConfiguration");
3920
3828
  var se_CustomContent = /* @__PURE__ */ __name((input, context) => {
3921
3829
  return (0, import_smithy_client.take)(input, {
3922
3830
  customDocumentIdentifier: import_smithy_client._json,
3923
- inlineContent: (_) => se_InlineContent(_, context),
3831
+ inlineContent: /* @__PURE__ */ __name((_) => se_InlineContent(_, context), "inlineContent"),
3924
3832
  s3Location: import_smithy_client._json,
3925
3833
  sourceType: []
3926
3834
  });
3927
3835
  }, "se_CustomContent");
3928
3836
  var se_DocumentContent = /* @__PURE__ */ __name((input, context) => {
3929
3837
  return (0, import_smithy_client.take)(input, {
3930
- custom: (_) => se_CustomContent(_, context),
3838
+ custom: /* @__PURE__ */ __name((_) => se_CustomContent(_, context), "custom"),
3931
3839
  dataSourceType: [],
3932
3840
  s3: import_smithy_client._json
3933
3841
  });
3934
3842
  }, "se_DocumentContent");
3935
3843
  var se_DocumentMetadata = /* @__PURE__ */ __name((input, context) => {
3936
3844
  return (0, import_smithy_client.take)(input, {
3937
- inlineAttributes: (_) => se_MetadataAttributes(_, context),
3845
+ inlineAttributes: /* @__PURE__ */ __name((_) => se_MetadataAttributes(_, context), "inlineAttributes"),
3938
3846
  s3Location: import_smithy_client._json,
3939
3847
  type: []
3940
3848
  });
@@ -3942,12 +3850,12 @@ var se_DocumentMetadata = /* @__PURE__ */ __name((input, context) => {
3942
3850
  var se_FlowDefinition = /* @__PURE__ */ __name((input, context) => {
3943
3851
  return (0, import_smithy_client.take)(input, {
3944
3852
  connections: import_smithy_client._json,
3945
- nodes: (_) => se_FlowNodes(_, context)
3853
+ nodes: /* @__PURE__ */ __name((_) => se_FlowNodes(_, context), "nodes")
3946
3854
  });
3947
3855
  }, "se_FlowDefinition");
3948
3856
  var se_FlowNode = /* @__PURE__ */ __name((input, context) => {
3949
3857
  return (0, import_smithy_client.take)(input, {
3950
- configuration: (_) => se_FlowNodeConfiguration(_, context),
3858
+ configuration: /* @__PURE__ */ __name((_) => se_FlowNodeConfiguration(_, context), "configuration"),
3951
3859
  inputs: import_smithy_client._json,
3952
3860
  name: [],
3953
3861
  outputs: import_smithy_client._json,
@@ -3956,19 +3864,19 @@ var se_FlowNode = /* @__PURE__ */ __name((input, context) => {
3956
3864
  }, "se_FlowNode");
3957
3865
  var se_FlowNodeConfiguration = /* @__PURE__ */ __name((input, context) => {
3958
3866
  return FlowNodeConfiguration.visit(input, {
3959
- agent: (value) => ({ agent: (0, import_smithy_client._json)(value) }),
3960
- collector: (value) => ({ collector: (0, import_smithy_client._json)(value) }),
3961
- condition: (value) => ({ condition: (0, import_smithy_client._json)(value) }),
3962
- input: (value) => ({ input: (0, import_smithy_client._json)(value) }),
3963
- iterator: (value) => ({ iterator: (0, import_smithy_client._json)(value) }),
3964
- knowledgeBase: (value) => ({ knowledgeBase: (0, import_smithy_client._json)(value) }),
3965
- lambdaFunction: (value) => ({ lambdaFunction: (0, import_smithy_client._json)(value) }),
3966
- lex: (value) => ({ lex: (0, import_smithy_client._json)(value) }),
3967
- output: (value) => ({ output: (0, import_smithy_client._json)(value) }),
3968
- prompt: (value) => ({ prompt: se_PromptFlowNodeConfiguration(value, context) }),
3969
- retrieval: (value) => ({ retrieval: (0, import_smithy_client._json)(value) }),
3970
- storage: (value) => ({ storage: (0, import_smithy_client._json)(value) }),
3971
- _: (name, value) => ({ [name]: value })
3867
+ agent: /* @__PURE__ */ __name((value) => ({ agent: (0, import_smithy_client._json)(value) }), "agent"),
3868
+ collector: /* @__PURE__ */ __name((value) => ({ collector: (0, import_smithy_client._json)(value) }), "collector"),
3869
+ condition: /* @__PURE__ */ __name((value) => ({ condition: (0, import_smithy_client._json)(value) }), "condition"),
3870
+ input: /* @__PURE__ */ __name((value) => ({ input: (0, import_smithy_client._json)(value) }), "input"),
3871
+ iterator: /* @__PURE__ */ __name((value) => ({ iterator: (0, import_smithy_client._json)(value) }), "iterator"),
3872
+ knowledgeBase: /* @__PURE__ */ __name((value) => ({ knowledgeBase: (0, import_smithy_client._json)(value) }), "knowledgeBase"),
3873
+ lambdaFunction: /* @__PURE__ */ __name((value) => ({ lambdaFunction: (0, import_smithy_client._json)(value) }), "lambdaFunction"),
3874
+ lex: /* @__PURE__ */ __name((value) => ({ lex: (0, import_smithy_client._json)(value) }), "lex"),
3875
+ output: /* @__PURE__ */ __name((value) => ({ output: (0, import_smithy_client._json)(value) }), "output"),
3876
+ prompt: /* @__PURE__ */ __name((value) => ({ prompt: se_PromptFlowNodeConfiguration(value, context) }), "prompt"),
3877
+ retrieval: /* @__PURE__ */ __name((value) => ({ retrieval: (0, import_smithy_client._json)(value) }), "retrieval"),
3878
+ storage: /* @__PURE__ */ __name((value) => ({ storage: (0, import_smithy_client._json)(value) }), "storage"),
3879
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
3972
3880
  });
3973
3881
  }, "se_FlowNodeConfiguration");
3974
3882
  var se_FlowNodes = /* @__PURE__ */ __name((input, context) => {
@@ -3987,15 +3895,15 @@ var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
3987
3895
  }, "se_InferenceConfiguration");
3988
3896
  var se_InlineContent = /* @__PURE__ */ __name((input, context) => {
3989
3897
  return (0, import_smithy_client.take)(input, {
3990
- byteContent: (_) => se_ByteContentDoc(_, context),
3898
+ byteContent: /* @__PURE__ */ __name((_) => se_ByteContentDoc(_, context), "byteContent"),
3991
3899
  textContent: import_smithy_client._json,
3992
3900
  type: []
3993
3901
  });
3994
3902
  }, "se_InlineContent");
3995
3903
  var se_KnowledgeBaseDocument = /* @__PURE__ */ __name((input, context) => {
3996
3904
  return (0, import_smithy_client.take)(input, {
3997
- content: (_) => se_DocumentContent(_, context),
3998
- metadata: (_) => se_DocumentMetadata(_, context)
3905
+ content: /* @__PURE__ */ __name((_) => se_DocumentContent(_, context), "content"),
3906
+ metadata: /* @__PURE__ */ __name((_) => se_DocumentMetadata(_, context), "metadata")
3999
3907
  });
4000
3908
  }, "se_KnowledgeBaseDocument");
4001
3909
  var se_KnowledgeBaseDocuments = /* @__PURE__ */ __name((input, context) => {
@@ -4006,7 +3914,7 @@ var se_KnowledgeBaseDocuments = /* @__PURE__ */ __name((input, context) => {
4006
3914
  var se_MetadataAttribute = /* @__PURE__ */ __name((input, context) => {
4007
3915
  return (0, import_smithy_client.take)(input, {
4008
3916
  key: [],
4009
- value: (_) => se_MetadataAttributeValue(_, context)
3917
+ value: /* @__PURE__ */ __name((_) => se_MetadataAttributeValue(_, context), "value")
4010
3918
  });
4011
3919
  }, "se_MetadataAttribute");
4012
3920
  var se_MetadataAttributes = /* @__PURE__ */ __name((input, context) => {
@@ -4025,10 +3933,10 @@ var se_MetadataAttributeValue = /* @__PURE__ */ __name((input, context) => {
4025
3933
  }, "se_MetadataAttributeValue");
4026
3934
  var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
4027
3935
  return (0, import_smithy_client.take)(input, {
4028
- additionalModelRequestFields: (_) => se_Document(_, context),
3936
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
4029
3937
  basePromptTemplate: [],
4030
3938
  foundationModel: [],
4031
- inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
3939
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => se_InferenceConfiguration(_, context), "inferenceConfiguration"),
4032
3940
  parserMode: [],
4033
3941
  promptCreationMode: [],
4034
3942
  promptState: [],
@@ -4043,29 +3951,29 @@ var se_PromptConfigurations = /* @__PURE__ */ __name((input, context) => {
4043
3951
  var se_PromptFlowNodeConfiguration = /* @__PURE__ */ __name((input, context) => {
4044
3952
  return (0, import_smithy_client.take)(input, {
4045
3953
  guardrailConfiguration: import_smithy_client._json,
4046
- sourceConfiguration: (_) => se_PromptFlowNodeSourceConfiguration(_, context)
3954
+ sourceConfiguration: /* @__PURE__ */ __name((_) => se_PromptFlowNodeSourceConfiguration(_, context), "sourceConfiguration")
4047
3955
  });
4048
3956
  }, "se_PromptFlowNodeConfiguration");
4049
3957
  var se_PromptFlowNodeInlineConfiguration = /* @__PURE__ */ __name((input, context) => {
4050
3958
  return (0, import_smithy_client.take)(input, {
4051
- additionalModelRequestFields: (_) => se_Document(_, context),
4052
- inferenceConfiguration: (_) => se_PromptInferenceConfiguration(_, context),
3959
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
3960
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => se_PromptInferenceConfiguration(_, context), "inferenceConfiguration"),
4053
3961
  modelId: [],
4054
- templateConfiguration: (_) => se_PromptTemplateConfiguration(_, context),
3962
+ templateConfiguration: /* @__PURE__ */ __name((_) => se_PromptTemplateConfiguration(_, context), "templateConfiguration"),
4055
3963
  templateType: []
4056
3964
  });
4057
3965
  }, "se_PromptFlowNodeInlineConfiguration");
4058
3966
  var se_PromptFlowNodeSourceConfiguration = /* @__PURE__ */ __name((input, context) => {
4059
3967
  return PromptFlowNodeSourceConfiguration.visit(input, {
4060
- inline: (value) => ({ inline: se_PromptFlowNodeInlineConfiguration(value, context) }),
4061
- resource: (value) => ({ resource: (0, import_smithy_client._json)(value) }),
4062
- _: (name, value) => ({ [name]: value })
3968
+ inline: /* @__PURE__ */ __name((value) => ({ inline: se_PromptFlowNodeInlineConfiguration(value, context) }), "inline"),
3969
+ resource: /* @__PURE__ */ __name((value) => ({ resource: (0, import_smithy_client._json)(value) }), "resource"),
3970
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4063
3971
  });
4064
3972
  }, "se_PromptFlowNodeSourceConfiguration");
4065
3973
  var se_PromptInferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
4066
3974
  return PromptInferenceConfiguration.visit(input, {
4067
- text: (value) => ({ text: se_PromptModelInferenceConfiguration(value, context) }),
4068
- _: (name, value) => ({ [name]: value })
3975
+ text: /* @__PURE__ */ __name((value) => ({ text: se_PromptModelInferenceConfiguration(value, context) }), "text"),
3976
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4069
3977
  });
4070
3978
  }, "se_PromptInferenceConfiguration");
4071
3979
  var se_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
@@ -4079,25 +3987,25 @@ var se_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((input, contex
4079
3987
  var se_PromptOverrideConfiguration = /* @__PURE__ */ __name((input, context) => {
4080
3988
  return (0, import_smithy_client.take)(input, {
4081
3989
  overrideLambda: [],
4082
- promptConfigurations: (_) => se_PromptConfigurations(_, context)
3990
+ promptConfigurations: /* @__PURE__ */ __name((_) => se_PromptConfigurations(_, context), "promptConfigurations")
4083
3991
  });
4084
3992
  }, "se_PromptOverrideConfiguration");
4085
3993
  var se_PromptTemplateConfiguration = /* @__PURE__ */ __name((input, context) => {
4086
3994
  return PromptTemplateConfiguration.visit(input, {
4087
- chat: (value) => ({ chat: se_ChatPromptTemplateConfiguration(value, context) }),
4088
- text: (value) => ({ text: (0, import_smithy_client._json)(value) }),
4089
- _: (name, value) => ({ [name]: value })
3995
+ chat: /* @__PURE__ */ __name((value) => ({ chat: se_ChatPromptTemplateConfiguration(value, context) }), "chat"),
3996
+ text: /* @__PURE__ */ __name((value) => ({ text: (0, import_smithy_client._json)(value) }), "text"),
3997
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4090
3998
  });
4091
3999
  }, "se_PromptTemplateConfiguration");
4092
4000
  var se_PromptVariant = /* @__PURE__ */ __name((input, context) => {
4093
4001
  return (0, import_smithy_client.take)(input, {
4094
- additionalModelRequestFields: (_) => se_Document(_, context),
4002
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
4095
4003
  genAiResource: import_smithy_client._json,
4096
- inferenceConfiguration: (_) => se_PromptInferenceConfiguration(_, context),
4004
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => se_PromptInferenceConfiguration(_, context), "inferenceConfiguration"),
4097
4005
  metadata: import_smithy_client._json,
4098
4006
  modelId: [],
4099
4007
  name: [],
4100
- templateConfiguration: (_) => se_PromptTemplateConfiguration(_, context),
4008
+ templateConfiguration: /* @__PURE__ */ __name((_) => se_PromptTemplateConfiguration(_, context), "templateConfiguration"),
4101
4009
  templateType: []
4102
4010
  });
4103
4011
  }, "se_PromptVariant");
@@ -4108,21 +4016,21 @@ var se_PromptVariantList = /* @__PURE__ */ __name((input, context) => {
4108
4016
  }, "se_PromptVariantList");
4109
4017
  var se_Tool = /* @__PURE__ */ __name((input, context) => {
4110
4018
  return Tool.visit(input, {
4111
- cachePoint: (value) => ({ cachePoint: (0, import_smithy_client._json)(value) }),
4112
- toolSpec: (value) => ({ toolSpec: se_ToolSpecification(value, context) }),
4113
- _: (name, value) => ({ [name]: value })
4019
+ cachePoint: /* @__PURE__ */ __name((value) => ({ cachePoint: (0, import_smithy_client._json)(value) }), "cachePoint"),
4020
+ toolSpec: /* @__PURE__ */ __name((value) => ({ toolSpec: se_ToolSpecification(value, context) }), "toolSpec"),
4021
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4114
4022
  });
4115
4023
  }, "se_Tool");
4116
4024
  var se_ToolConfiguration = /* @__PURE__ */ __name((input, context) => {
4117
4025
  return (0, import_smithy_client.take)(input, {
4118
4026
  toolChoice: import_smithy_client._json,
4119
- tools: (_) => se_Tools(_, context)
4027
+ tools: /* @__PURE__ */ __name((_) => se_Tools(_, context), "tools")
4120
4028
  });
4121
4029
  }, "se_ToolConfiguration");
4122
4030
  var se_ToolInputSchema = /* @__PURE__ */ __name((input, context) => {
4123
4031
  return ToolInputSchema.visit(input, {
4124
- json: (value) => ({ json: se_Document(value, context) }),
4125
- _: (name, value) => ({ [name]: value })
4032
+ json: /* @__PURE__ */ __name((value) => ({ json: se_Document(value, context) }), "json"),
4033
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4126
4034
  });
4127
4035
  }, "se_ToolInputSchema");
4128
4036
  var se_Tools = /* @__PURE__ */ __name((input, context) => {
@@ -4133,7 +4041,7 @@ var se_Tools = /* @__PURE__ */ __name((input, context) => {
4133
4041
  var se_ToolSpecification = /* @__PURE__ */ __name((input, context) => {
4134
4042
  return (0, import_smithy_client.take)(input, {
4135
4043
  description: [],
4136
- inputSchema: (_) => se_ToolInputSchema(_, context),
4044
+ inputSchema: /* @__PURE__ */ __name((_) => se_ToolInputSchema(_, context), "inputSchema"),
4137
4045
  name: []
4138
4046
  });
4139
4047
  }, "se_ToolSpecification");
@@ -4152,7 +4060,7 @@ var de_ActionGroupSummary = /* @__PURE__ */ __name((output, context) => {
4152
4060
  actionGroupName: import_smithy_client.expectString,
4153
4061
  actionGroupState: import_smithy_client.expectString,
4154
4062
  description: import_smithy_client.expectString,
4155
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4063
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4156
4064
  });
4157
4065
  }, "de_ActionGroupSummary");
4158
4066
  var de_Agent = /* @__PURE__ */ __name((output, context) => {
@@ -4165,7 +4073,7 @@ var de_Agent = /* @__PURE__ */ __name((output, context) => {
4165
4073
  agentStatus: import_smithy_client.expectString,
4166
4074
  agentVersion: import_smithy_client.expectString,
4167
4075
  clientToken: import_smithy_client.expectString,
4168
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4076
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4169
4077
  customOrchestration: import_smithy_client._json,
4170
4078
  customerEncryptionKeyArn: import_smithy_client.expectString,
4171
4079
  description: import_smithy_client.expectString,
@@ -4176,50 +4084,51 @@ var de_Agent = /* @__PURE__ */ __name((output, context) => {
4176
4084
  instruction: import_smithy_client.expectString,
4177
4085
  memoryConfiguration: import_smithy_client._json,
4178
4086
  orchestrationType: import_smithy_client.expectString,
4179
- preparedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4180
- promptOverrideConfiguration: (_) => de_PromptOverrideConfiguration(_, context),
4087
+ preparedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "preparedAt"),
4088
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => de_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration"),
4181
4089
  recommendedActions: import_smithy_client._json,
4182
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4090
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4183
4091
  });
4184
4092
  }, "de_Agent");
4185
4093
  var de_AgentActionGroup = /* @__PURE__ */ __name((output, context) => {
4186
4094
  return (0, import_smithy_client.take)(output, {
4187
- actionGroupExecutor: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4095
+ actionGroupExecutor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "actionGroupExecutor"),
4188
4096
  actionGroupId: import_smithy_client.expectString,
4189
4097
  actionGroupName: import_smithy_client.expectString,
4190
4098
  actionGroupState: import_smithy_client.expectString,
4191
4099
  agentId: import_smithy_client.expectString,
4192
4100
  agentVersion: import_smithy_client.expectString,
4193
- apiSchema: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4101
+ apiSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "apiSchema"),
4194
4102
  clientToken: import_smithy_client.expectString,
4195
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4103
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4196
4104
  description: import_smithy_client.expectString,
4197
- functionSchema: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4105
+ functionSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "functionSchema"),
4106
+ parentActionGroupSignatureParams: import_smithy_client._json,
4198
4107
  parentActionSignature: import_smithy_client.expectString,
4199
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4108
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4200
4109
  });
4201
4110
  }, "de_AgentActionGroup");
4202
4111
  var de_AgentAlias = /* @__PURE__ */ __name((output, context) => {
4203
4112
  return (0, import_smithy_client.take)(output, {
4204
4113
  agentAliasArn: import_smithy_client.expectString,
4205
- agentAliasHistoryEvents: (_) => de_AgentAliasHistoryEvents(_, context),
4114
+ agentAliasHistoryEvents: /* @__PURE__ */ __name((_) => de_AgentAliasHistoryEvents(_, context), "agentAliasHistoryEvents"),
4206
4115
  agentAliasId: import_smithy_client.expectString,
4207
4116
  agentAliasName: import_smithy_client.expectString,
4208
4117
  agentAliasStatus: import_smithy_client.expectString,
4209
4118
  agentId: import_smithy_client.expectString,
4210
4119
  clientToken: import_smithy_client.expectString,
4211
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4120
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4212
4121
  description: import_smithy_client.expectString,
4213
4122
  failureReasons: import_smithy_client._json,
4214
4123
  routingConfiguration: import_smithy_client._json,
4215
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4124
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4216
4125
  });
4217
4126
  }, "de_AgentAlias");
4218
4127
  var de_AgentAliasHistoryEvent = /* @__PURE__ */ __name((output, context) => {
4219
4128
  return (0, import_smithy_client.take)(output, {
4220
- endDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4129
+ endDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "endDate"),
4221
4130
  routingConfiguration: import_smithy_client._json,
4222
- startDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4131
+ startDate: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startDate")
4223
4132
  });
4224
4133
  }, "de_AgentAliasHistoryEvent");
4225
4134
  var de_AgentAliasHistoryEvents = /* @__PURE__ */ __name((output, context) => {
@@ -4239,10 +4148,10 @@ var de_AgentAliasSummary = /* @__PURE__ */ __name((output, context) => {
4239
4148
  agentAliasId: import_smithy_client.expectString,
4240
4149
  agentAliasName: import_smithy_client.expectString,
4241
4150
  agentAliasStatus: import_smithy_client.expectString,
4242
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4151
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4243
4152
  description: import_smithy_client.expectString,
4244
4153
  routingConfiguration: import_smithy_client._json,
4245
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4154
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4246
4155
  });
4247
4156
  }, "de_AgentAliasSummary");
4248
4157
  var de_AgentCollaborator = /* @__PURE__ */ __name((output, context) => {
@@ -4254,8 +4163,8 @@ var de_AgentCollaborator = /* @__PURE__ */ __name((output, context) => {
4254
4163
  collaborationInstruction: import_smithy_client.expectString,
4255
4164
  collaboratorId: import_smithy_client.expectString,
4256
4165
  collaboratorName: import_smithy_client.expectString,
4257
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4258
- lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4166
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4167
+ lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
4259
4168
  relayConversationHistory: import_smithy_client.expectString
4260
4169
  });
4261
4170
  }, "de_AgentCollaborator");
@@ -4273,8 +4182,8 @@ var de_AgentCollaboratorSummary = /* @__PURE__ */ __name((output, context) => {
4273
4182
  collaborationInstruction: import_smithy_client.expectString,
4274
4183
  collaboratorId: import_smithy_client.expectString,
4275
4184
  collaboratorName: import_smithy_client.expectString,
4276
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4277
- lastUpdatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4185
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4186
+ lastUpdatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastUpdatedAt"),
4278
4187
  relayConversationHistory: import_smithy_client.expectString
4279
4188
  });
4280
4189
  }, "de_AgentCollaboratorSummary");
@@ -4282,11 +4191,11 @@ var de_AgentKnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4282
4191
  return (0, import_smithy_client.take)(output, {
4283
4192
  agentId: import_smithy_client.expectString,
4284
4193
  agentVersion: import_smithy_client.expectString,
4285
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4194
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4286
4195
  description: import_smithy_client.expectString,
4287
4196
  knowledgeBaseId: import_smithy_client.expectString,
4288
4197
  knowledgeBaseState: import_smithy_client.expectString,
4289
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4198
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4290
4199
  });
4291
4200
  }, "de_AgentKnowledgeBase");
4292
4201
  var de_AgentKnowledgeBaseSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4300,7 +4209,7 @@ var de_AgentKnowledgeBaseSummary = /* @__PURE__ */ __name((output, context) => {
4300
4209
  description: import_smithy_client.expectString,
4301
4210
  knowledgeBaseId: import_smithy_client.expectString,
4302
4211
  knowledgeBaseState: import_smithy_client.expectString,
4303
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4212
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4304
4213
  });
4305
4214
  }, "de_AgentKnowledgeBaseSummary");
4306
4215
  var de_AgentSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4317,7 +4226,7 @@ var de_AgentSummary = /* @__PURE__ */ __name((output, context) => {
4317
4226
  description: import_smithy_client.expectString,
4318
4227
  guardrailConfiguration: import_smithy_client._json,
4319
4228
  latestAgentVersion: import_smithy_client.expectString,
4320
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4229
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4321
4230
  });
4322
4231
  }, "de_AgentSummary");
4323
4232
  var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
@@ -4328,7 +4237,7 @@ var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
4328
4237
  agentName: import_smithy_client.expectString,
4329
4238
  agentResourceRoleArn: import_smithy_client.expectString,
4330
4239
  agentStatus: import_smithy_client.expectString,
4331
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4240
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4332
4241
  customerEncryptionKeyArn: import_smithy_client.expectString,
4333
4242
  description: import_smithy_client.expectString,
4334
4243
  failureReasons: import_smithy_client._json,
@@ -4337,9 +4246,9 @@ var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
4337
4246
  idleSessionTTLInSeconds: import_smithy_client.expectInt32,
4338
4247
  instruction: import_smithy_client.expectString,
4339
4248
  memoryConfiguration: import_smithy_client._json,
4340
- promptOverrideConfiguration: (_) => de_PromptOverrideConfiguration(_, context),
4249
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => de_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration"),
4341
4250
  recommendedActions: import_smithy_client._json,
4342
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4251
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
4343
4252
  version: import_smithy_client.expectString
4344
4253
  });
4345
4254
  }, "de_AgentVersion");
@@ -4354,10 +4263,10 @@ var de_AgentVersionSummary = /* @__PURE__ */ __name((output, context) => {
4354
4263
  agentName: import_smithy_client.expectString,
4355
4264
  agentStatus: import_smithy_client.expectString,
4356
4265
  agentVersion: import_smithy_client.expectString,
4357
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4266
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4358
4267
  description: import_smithy_client.expectString,
4359
4268
  guardrailConfiguration: import_smithy_client._json,
4360
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4269
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4361
4270
  });
4362
4271
  }, "de_AgentVersionSummary");
4363
4272
  var de_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((output, context) => {
@@ -4365,12 +4274,12 @@ var de_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((output, context
4365
4274
  inputVariables: import_smithy_client._json,
4366
4275
  messages: import_smithy_client._json,
4367
4276
  system: import_smithy_client._json,
4368
- toolConfiguration: (_) => de_ToolConfiguration(_, context)
4277
+ toolConfiguration: /* @__PURE__ */ __name((_) => de_ToolConfiguration(_, context), "toolConfiguration")
4369
4278
  });
4370
4279
  }, "de_ChatPromptTemplateConfiguration");
4371
4280
  var de_DataSource = /* @__PURE__ */ __name((output, context) => {
4372
4281
  return (0, import_smithy_client.take)(output, {
4373
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4282
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4374
4283
  dataDeletionPolicy: import_smithy_client.expectString,
4375
4284
  dataSourceConfiguration: import_smithy_client._json,
4376
4285
  dataSourceId: import_smithy_client.expectString,
@@ -4380,7 +4289,7 @@ var de_DataSource = /* @__PURE__ */ __name((output, context) => {
4380
4289
  name: import_smithy_client.expectString,
4381
4290
  serverSideEncryptionConfiguration: import_smithy_client._json,
4382
4291
  status: import_smithy_client.expectString,
4383
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4292
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
4384
4293
  vectorIngestionConfiguration: import_smithy_client._json
4385
4294
  });
4386
4295
  }, "de_DataSource");
@@ -4397,7 +4306,7 @@ var de_DataSourceSummary = /* @__PURE__ */ __name((output, context) => {
4397
4306
  knowledgeBaseId: import_smithy_client.expectString,
4398
4307
  name: import_smithy_client.expectString,
4399
4308
  status: import_smithy_client.expectString,
4400
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4309
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4401
4310
  });
4402
4311
  }, "de_DataSourceSummary");
4403
4312
  var de_FlowAliasSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4409,24 +4318,24 @@ var de_FlowAliasSummaries = /* @__PURE__ */ __name((output, context) => {
4409
4318
  var de_FlowAliasSummary = /* @__PURE__ */ __name((output, context) => {
4410
4319
  return (0, import_smithy_client.take)(output, {
4411
4320
  arn: import_smithy_client.expectString,
4412
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4321
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4413
4322
  description: import_smithy_client.expectString,
4414
4323
  flowId: import_smithy_client.expectString,
4415
4324
  id: import_smithy_client.expectString,
4416
4325
  name: import_smithy_client.expectString,
4417
4326
  routingConfiguration: import_smithy_client._json,
4418
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4327
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4419
4328
  });
4420
4329
  }, "de_FlowAliasSummary");
4421
4330
  var de_FlowDefinition = /* @__PURE__ */ __name((output, context) => {
4422
4331
  return (0, import_smithy_client.take)(output, {
4423
4332
  connections: import_smithy_client._json,
4424
- nodes: (_) => de_FlowNodes(_, context)
4333
+ nodes: /* @__PURE__ */ __name((_) => de_FlowNodes(_, context), "nodes")
4425
4334
  });
4426
4335
  }, "de_FlowDefinition");
4427
4336
  var de_FlowNode = /* @__PURE__ */ __name((output, context) => {
4428
4337
  return (0, import_smithy_client.take)(output, {
4429
- configuration: (_) => de_FlowNodeConfiguration((0, import_core2.awsExpectUnion)(_), context),
4338
+ configuration: /* @__PURE__ */ __name((_) => de_FlowNodeConfiguration((0, import_core2.awsExpectUnion)(_), context), "configuration"),
4430
4339
  inputs: import_smithy_client._json,
4431
4340
  name: import_smithy_client.expectString,
4432
4341
  outputs: import_smithy_client._json,
@@ -4511,12 +4420,12 @@ var de_FlowSummaries = /* @__PURE__ */ __name((output, context) => {
4511
4420
  var de_FlowSummary = /* @__PURE__ */ __name((output, context) => {
4512
4421
  return (0, import_smithy_client.take)(output, {
4513
4422
  arn: import_smithy_client.expectString,
4514
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4423
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4515
4424
  description: import_smithy_client.expectString,
4516
4425
  id: import_smithy_client.expectString,
4517
4426
  name: import_smithy_client.expectString,
4518
4427
  status: import_smithy_client.expectString,
4519
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4428
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
4520
4429
  version: import_smithy_client.expectString
4521
4430
  });
4522
4431
  }, "de_FlowSummary");
@@ -4529,7 +4438,7 @@ var de_FlowVersionSummaries = /* @__PURE__ */ __name((output, context) => {
4529
4438
  var de_FlowVersionSummary = /* @__PURE__ */ __name((output, context) => {
4530
4439
  return (0, import_smithy_client.take)(output, {
4531
4440
  arn: import_smithy_client.expectString,
4532
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4441
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4533
4442
  id: import_smithy_client.expectString,
4534
4443
  status: import_smithy_client.expectString,
4535
4444
  version: import_smithy_client.expectString
@@ -4551,10 +4460,10 @@ var de_IngestionJob = /* @__PURE__ */ __name((output, context) => {
4551
4460
  failureReasons: import_smithy_client._json,
4552
4461
  ingestionJobId: import_smithy_client.expectString,
4553
4462
  knowledgeBaseId: import_smithy_client.expectString,
4554
- startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4463
+ startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"),
4555
4464
  statistics: import_smithy_client._json,
4556
4465
  status: import_smithy_client.expectString,
4557
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4466
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4558
4467
  });
4559
4468
  }, "de_IngestionJob");
4560
4469
  var de_IngestionJobSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4569,15 +4478,15 @@ var de_IngestionJobSummary = /* @__PURE__ */ __name((output, context) => {
4569
4478
  description: import_smithy_client.expectString,
4570
4479
  ingestionJobId: import_smithy_client.expectString,
4571
4480
  knowledgeBaseId: import_smithy_client.expectString,
4572
- startedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4481
+ startedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "startedAt"),
4573
4482
  statistics: import_smithy_client._json,
4574
4483
  status: import_smithy_client.expectString,
4575
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4484
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4576
4485
  });
4577
4486
  }, "de_IngestionJobSummary");
4578
4487
  var de_KnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4579
4488
  return (0, import_smithy_client.take)(output, {
4580
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4489
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4581
4490
  description: import_smithy_client.expectString,
4582
4491
  failureReasons: import_smithy_client._json,
4583
4492
  knowledgeBaseArn: import_smithy_client.expectString,
@@ -4587,7 +4496,7 @@ var de_KnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4587
4496
  roleArn: import_smithy_client.expectString,
4588
4497
  status: import_smithy_client.expectString,
4589
4498
  storageConfiguration: import_smithy_client._json,
4590
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4499
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4591
4500
  });
4592
4501
  }, "de_KnowledgeBase");
4593
4502
  var de_KnowledgeBaseDocumentDetail = /* @__PURE__ */ __name((output, context) => {
@@ -4597,7 +4506,7 @@ var de_KnowledgeBaseDocumentDetail = /* @__PURE__ */ __name((output, context) =>
4597
4506
  knowledgeBaseId: import_smithy_client.expectString,
4598
4507
  status: import_smithy_client.expectString,
4599
4508
  statusReason: import_smithy_client.expectString,
4600
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4509
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4601
4510
  });
4602
4511
  }, "de_KnowledgeBaseDocumentDetail");
4603
4512
  var de_KnowledgeBaseDocumentDetails = /* @__PURE__ */ __name((output, context) => {
@@ -4618,15 +4527,15 @@ var de_KnowledgeBaseSummary = /* @__PURE__ */ __name((output, context) => {
4618
4527
  knowledgeBaseId: import_smithy_client.expectString,
4619
4528
  name: import_smithy_client.expectString,
4620
4529
  status: import_smithy_client.expectString,
4621
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
4530
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt")
4622
4531
  });
4623
4532
  }, "de_KnowledgeBaseSummary");
4624
4533
  var de_PromptConfiguration = /* @__PURE__ */ __name((output, context) => {
4625
4534
  return (0, import_smithy_client.take)(output, {
4626
- additionalModelRequestFields: (_) => de_Document(_, context),
4535
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalModelRequestFields"),
4627
4536
  basePromptTemplate: import_smithy_client.expectString,
4628
4537
  foundationModel: import_smithy_client.expectString,
4629
- inferenceConfiguration: (_) => de_InferenceConfiguration(_, context),
4538
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => de_InferenceConfiguration(_, context), "inferenceConfiguration"),
4630
4539
  parserMode: import_smithy_client.expectString,
4631
4540
  promptCreationMode: import_smithy_client.expectString,
4632
4541
  promptState: import_smithy_client.expectString,
@@ -4642,15 +4551,15 @@ var de_PromptConfigurations = /* @__PURE__ */ __name((output, context) => {
4642
4551
  var de_PromptFlowNodeConfiguration = /* @__PURE__ */ __name((output, context) => {
4643
4552
  return (0, import_smithy_client.take)(output, {
4644
4553
  guardrailConfiguration: import_smithy_client._json,
4645
- sourceConfiguration: (_) => de_PromptFlowNodeSourceConfiguration((0, import_core2.awsExpectUnion)(_), context)
4554
+ sourceConfiguration: /* @__PURE__ */ __name((_) => de_PromptFlowNodeSourceConfiguration((0, import_core2.awsExpectUnion)(_), context), "sourceConfiguration")
4646
4555
  });
4647
4556
  }, "de_PromptFlowNodeConfiguration");
4648
4557
  var de_PromptFlowNodeInlineConfiguration = /* @__PURE__ */ __name((output, context) => {
4649
4558
  return (0, import_smithy_client.take)(output, {
4650
- additionalModelRequestFields: (_) => de_Document(_, context),
4651
- inferenceConfiguration: (_) => de_PromptInferenceConfiguration((0, import_core2.awsExpectUnion)(_), context),
4559
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalModelRequestFields"),
4560
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => de_PromptInferenceConfiguration((0, import_core2.awsExpectUnion)(_), context), "inferenceConfiguration"),
4652
4561
  modelId: import_smithy_client.expectString,
4653
- templateConfiguration: (_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context),
4562
+ templateConfiguration: /* @__PURE__ */ __name((_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context), "templateConfiguration"),
4654
4563
  templateType: import_smithy_client.expectString
4655
4564
  });
4656
4565
  }, "de_PromptFlowNodeInlineConfiguration");
@@ -4686,7 +4595,7 @@ var de_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((output, conte
4686
4595
  var de_PromptOverrideConfiguration = /* @__PURE__ */ __name((output, context) => {
4687
4596
  return (0, import_smithy_client.take)(output, {
4688
4597
  overrideLambda: import_smithy_client.expectString,
4689
- promptConfigurations: (_) => de_PromptConfigurations(_, context)
4598
+ promptConfigurations: /* @__PURE__ */ __name((_) => de_PromptConfigurations(_, context), "promptConfigurations")
4690
4599
  });
4691
4600
  }, "de_PromptOverrideConfiguration");
4692
4601
  var de_PromptSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4698,11 +4607,11 @@ var de_PromptSummaries = /* @__PURE__ */ __name((output, context) => {
4698
4607
  var de_PromptSummary = /* @__PURE__ */ __name((output, context) => {
4699
4608
  return (0, import_smithy_client.take)(output, {
4700
4609
  arn: import_smithy_client.expectString,
4701
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4610
+ createdAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "createdAt"),
4702
4611
  description: import_smithy_client.expectString,
4703
4612
  id: import_smithy_client.expectString,
4704
4613
  name: import_smithy_client.expectString,
4705
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4614
+ updatedAt: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "updatedAt"),
4706
4615
  version: import_smithy_client.expectString
4707
4616
  });
4708
4617
  }, "de_PromptSummary");
@@ -4721,13 +4630,13 @@ var de_PromptTemplateConfiguration = /* @__PURE__ */ __name((output, context) =>
4721
4630
  }, "de_PromptTemplateConfiguration");
4722
4631
  var de_PromptVariant = /* @__PURE__ */ __name((output, context) => {
4723
4632
  return (0, import_smithy_client.take)(output, {
4724
- additionalModelRequestFields: (_) => de_Document(_, context),
4725
- genAiResource: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4726
- inferenceConfiguration: (_) => de_PromptInferenceConfiguration((0, import_core2.awsExpectUnion)(_), context),
4633
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalModelRequestFields"),
4634
+ genAiResource: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "genAiResource"),
4635
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => de_PromptInferenceConfiguration((0, import_core2.awsExpectUnion)(_), context), "inferenceConfiguration"),
4727
4636
  metadata: import_smithy_client._json,
4728
4637
  modelId: import_smithy_client.expectString,
4729
4638
  name: import_smithy_client.expectString,
4730
- templateConfiguration: (_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context),
4639
+ templateConfiguration: /* @__PURE__ */ __name((_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context), "templateConfiguration"),
4731
4640
  templateType: import_smithy_client.expectString
4732
4641
  });
4733
4642
  }, "de_PromptVariant");
@@ -4752,8 +4661,8 @@ var de_Tool = /* @__PURE__ */ __name((output, context) => {
4752
4661
  }, "de_Tool");
4753
4662
  var de_ToolConfiguration = /* @__PURE__ */ __name((output, context) => {
4754
4663
  return (0, import_smithy_client.take)(output, {
4755
- toolChoice: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4756
- tools: (_) => de_Tools(_, context)
4664
+ toolChoice: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "toolChoice"),
4665
+ tools: /* @__PURE__ */ __name((_) => de_Tools(_, context), "tools")
4757
4666
  });
4758
4667
  }, "de_ToolConfiguration");
4759
4668
  var de_ToolInputSchema = /* @__PURE__ */ __name((output, context) => {
@@ -4773,7 +4682,7 @@ var de_Tools = /* @__PURE__ */ __name((output, context) => {
4773
4682
  var de_ToolSpecification = /* @__PURE__ */ __name((output, context) => {
4774
4683
  return (0, import_smithy_client.take)(output, {
4775
4684
  description: import_smithy_client.expectString,
4776
- inputSchema: (_) => de_ToolInputSchema((0, import_core2.awsExpectUnion)(_), context),
4685
+ inputSchema: /* @__PURE__ */ __name((_) => de_ToolInputSchema((0, import_core2.awsExpectUnion)(_), context), "inputSchema"),
4777
4686
  name: import_smithy_client.expectString
4778
4687
  });
4779
4688
  }, "de_ToolSpecification");
@@ -5023,8 +4932,7 @@ var KnowledgeBaseStatus = {
5023
4932
  var PromptGenAiResource;
5024
4933
  ((PromptGenAiResource2) => {
5025
4934
  PromptGenAiResource2.visit = /* @__PURE__ */ __name((value, visitor) => {
5026
- if (value.agent !== void 0)
5027
- return visitor.agent(value.agent);
4935
+ if (value.agent !== void 0) return visitor.agent(value.agent);
5028
4936
  return visitor._(value.$unknown[0], value.$unknown[1]);
5029
4937
  }, "visit");
5030
4938
  })(PromptGenAiResource || (PromptGenAiResource = {}));
@@ -5153,10 +5061,8 @@ var PromptAgentResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5153
5061
  ...obj
5154
5062
  }), "PromptAgentResourceFilterSensitiveLog");
5155
5063
  var PromptGenAiResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
5156
- if (obj.agent !== void 0)
5157
- return { agent: import_smithy_client.SENSITIVE_STRING };
5158
- if (obj.$unknown !== void 0)
5159
- return { [obj.$unknown[0]]: "UNKNOWN" };
5064
+ if (obj.agent !== void 0) return { agent: import_smithy_client.SENSITIVE_STRING };
5065
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
5160
5066
  }, "PromptGenAiResourceFilterSensitiveLog");
5161
5067
  var PromptMetadataEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5162
5068
  ...obj,