@aws-sdk/client-bedrock-agent 3.765.0 → 3.772.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist-cjs/index.js +342 -442
  2. package/package.json +3 -3
package/dist-cjs/index.js CHANGED
@@ -19,8 +19,8 @@ var __copyProps = (to, from, except, desc) => {
19
19
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
20
20
 
21
21
  // src/index.ts
22
- var src_exports = {};
23
- __export(src_exports, {
22
+ var index_exports = {};
23
+ __export(index_exports, {
24
24
  APISchema: () => APISchema,
25
25
  APISchemaFilterSensitiveLog: () => APISchemaFilterSensitiveLog,
26
26
  AccessDeniedException: () => AccessDeniedException,
@@ -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,8 +549,7 @@ 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 = {}));
@@ -679,8 +674,7 @@ var AgentStatus = {
679
674
  var OrchestrationExecutor;
680
675
  ((OrchestrationExecutor3) => {
681
676
  OrchestrationExecutor3.visit = /* @__PURE__ */ __name((value, visitor) => {
682
- if (value.lambda !== void 0)
683
- return visitor.lambda(value.lambda);
677
+ if (value.lambda !== void 0) return visitor.lambda(value.lambda);
684
678
  return visitor._(value.$unknown[0], value.$unknown[1]);
685
679
  }, "visit");
686
680
  })(OrchestrationExecutor || (OrchestrationExecutor = {}));
@@ -789,10 +783,8 @@ var DataSourceStatus = {
789
783
  var FlowConnectionConfiguration;
790
784
  ((FlowConnectionConfiguration3) => {
791
785
  FlowConnectionConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
792
- if (value.data !== void 0)
793
- return visitor.data(value.data);
794
- if (value.conditional !== void 0)
795
- 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);
796
788
  return visitor._(value.$unknown[0], value.$unknown[1]);
797
789
  }, "visit");
798
790
  })(FlowConnectionConfiguration || (FlowConnectionConfiguration = {}));
@@ -803,8 +795,7 @@ var FlowConnectionType = {
803
795
  var PromptInferenceConfiguration;
804
796
  ((PromptInferenceConfiguration3) => {
805
797
  PromptInferenceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
806
- if (value.text !== void 0)
807
- return visitor.text(value.text);
798
+ if (value.text !== void 0) return visitor.text(value.text);
808
799
  return visitor._(value.$unknown[0], value.$unknown[1]);
809
800
  }, "visit");
810
801
  })(PromptInferenceConfiguration || (PromptInferenceConfiguration = {}));
@@ -814,10 +805,8 @@ var CachePointType = {
814
805
  var ContentBlock;
815
806
  ((ContentBlock3) => {
816
807
  ContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
817
- if (value.text !== void 0)
818
- return visitor.text(value.text);
819
- if (value.cachePoint !== void 0)
820
- 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);
821
810
  return visitor._(value.$unknown[0], value.$unknown[1]);
822
811
  }, "visit");
823
812
  })(ContentBlock || (ContentBlock = {}));
@@ -828,50 +817,40 @@ var ConversationRole = {
828
817
  var SystemContentBlock;
829
818
  ((SystemContentBlock3) => {
830
819
  SystemContentBlock3.visit = /* @__PURE__ */ __name((value, visitor) => {
831
- if (value.text !== void 0)
832
- return visitor.text(value.text);
833
- if (value.cachePoint !== void 0)
834
- 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);
835
822
  return visitor._(value.$unknown[0], value.$unknown[1]);
836
823
  }, "visit");
837
824
  })(SystemContentBlock || (SystemContentBlock = {}));
838
825
  var ToolChoice;
839
826
  ((ToolChoice3) => {
840
827
  ToolChoice3.visit = /* @__PURE__ */ __name((value, visitor) => {
841
- if (value.auto !== void 0)
842
- return visitor.auto(value.auto);
843
- if (value.any !== void 0)
844
- return visitor.any(value.any);
845
- if (value.tool !== void 0)
846
- 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);
847
831
  return visitor._(value.$unknown[0], value.$unknown[1]);
848
832
  }, "visit");
849
833
  })(ToolChoice || (ToolChoice = {}));
850
834
  var ToolInputSchema;
851
835
  ((ToolInputSchema2) => {
852
836
  ToolInputSchema2.visit = /* @__PURE__ */ __name((value, visitor) => {
853
- if (value.json !== void 0)
854
- return visitor.json(value.json);
837
+ if (value.json !== void 0) return visitor.json(value.json);
855
838
  return visitor._(value.$unknown[0], value.$unknown[1]);
856
839
  }, "visit");
857
840
  })(ToolInputSchema || (ToolInputSchema = {}));
858
841
  var Tool;
859
842
  ((Tool2) => {
860
843
  Tool2.visit = /* @__PURE__ */ __name((value, visitor) => {
861
- if (value.toolSpec !== void 0)
862
- return visitor.toolSpec(value.toolSpec);
863
- if (value.cachePoint !== void 0)
864
- 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);
865
846
  return visitor._(value.$unknown[0], value.$unknown[1]);
866
847
  }, "visit");
867
848
  })(Tool || (Tool = {}));
868
849
  var PromptTemplateConfiguration;
869
850
  ((PromptTemplateConfiguration3) => {
870
851
  PromptTemplateConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
871
- if (value.text !== void 0)
872
- return visitor.text(value.text);
873
- if (value.chat !== void 0)
874
- 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);
875
854
  return visitor._(value.$unknown[0], value.$unknown[1]);
876
855
  }, "visit");
877
856
  })(PromptTemplateConfiguration || (PromptTemplateConfiguration = {}));
@@ -882,56 +861,40 @@ var PromptTemplateType = {
882
861
  var PromptFlowNodeSourceConfiguration;
883
862
  ((PromptFlowNodeSourceConfiguration2) => {
884
863
  PromptFlowNodeSourceConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
885
- if (value.resource !== void 0)
886
- return visitor.resource(value.resource);
887
- if (value.inline !== void 0)
888
- 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);
889
866
  return visitor._(value.$unknown[0], value.$unknown[1]);
890
867
  }, "visit");
891
868
  })(PromptFlowNodeSourceConfiguration || (PromptFlowNodeSourceConfiguration = {}));
892
869
  var RetrievalFlowNodeServiceConfiguration;
893
870
  ((RetrievalFlowNodeServiceConfiguration3) => {
894
871
  RetrievalFlowNodeServiceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
895
- if (value.s3 !== void 0)
896
- return visitor.s3(value.s3);
872
+ if (value.s3 !== void 0) return visitor.s3(value.s3);
897
873
  return visitor._(value.$unknown[0], value.$unknown[1]);
898
874
  }, "visit");
899
875
  })(RetrievalFlowNodeServiceConfiguration || (RetrievalFlowNodeServiceConfiguration = {}));
900
876
  var StorageFlowNodeServiceConfiguration;
901
877
  ((StorageFlowNodeServiceConfiguration3) => {
902
878
  StorageFlowNodeServiceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
903
- if (value.s3 !== void 0)
904
- return visitor.s3(value.s3);
879
+ if (value.s3 !== void 0) return visitor.s3(value.s3);
905
880
  return visitor._(value.$unknown[0], value.$unknown[1]);
906
881
  }, "visit");
907
882
  })(StorageFlowNodeServiceConfiguration || (StorageFlowNodeServiceConfiguration = {}));
908
883
  var FlowNodeConfiguration;
909
884
  ((FlowNodeConfiguration2) => {
910
885
  FlowNodeConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
911
- if (value.input !== void 0)
912
- return visitor.input(value.input);
913
- if (value.output !== void 0)
914
- return visitor.output(value.output);
915
- if (value.knowledgeBase !== void 0)
916
- return visitor.knowledgeBase(value.knowledgeBase);
917
- if (value.condition !== void 0)
918
- return visitor.condition(value.condition);
919
- if (value.lex !== void 0)
920
- return visitor.lex(value.lex);
921
- if (value.prompt !== void 0)
922
- return visitor.prompt(value.prompt);
923
- if (value.lambdaFunction !== void 0)
924
- return visitor.lambdaFunction(value.lambdaFunction);
925
- if (value.storage !== void 0)
926
- return visitor.storage(value.storage);
927
- if (value.agent !== void 0)
928
- return visitor.agent(value.agent);
929
- if (value.retrieval !== void 0)
930
- return visitor.retrieval(value.retrieval);
931
- if (value.iterator !== void 0)
932
- return visitor.iterator(value.iterator);
933
- if (value.collector !== void 0)
934
- 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);
935
898
  return visitor._(value.$unknown[0], value.$unknown[1]);
936
899
  }, "visit");
937
900
  })(FlowNodeConfiguration || (FlowNodeConfiguration = {}));
@@ -965,14 +928,11 @@ var FlowStatus = {
965
928
  var FlowValidationDetails;
966
929
  ((FlowValidationDetails2) => {
967
930
  FlowValidationDetails2.visit = /* @__PURE__ */ __name((value, visitor) => {
968
- if (value.cyclicConnection !== void 0)
969
- return visitor.cyclicConnection(value.cyclicConnection);
970
- if (value.duplicateConnections !== void 0)
971
- 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);
972
933
  if (value.duplicateConditionExpression !== void 0)
973
934
  return visitor.duplicateConditionExpression(value.duplicateConditionExpression);
974
- if (value.unreachableNode !== void 0)
975
- return visitor.unreachableNode(value.unreachableNode);
935
+ if (value.unreachableNode !== void 0) return visitor.unreachableNode(value.unreachableNode);
976
936
  if (value.unknownConnectionSource !== void 0)
977
937
  return visitor.unknownConnectionSource(value.unknownConnectionSource);
978
938
  if (value.unknownConnectionSourceOutput !== void 0)
@@ -997,28 +957,20 @@ var FlowValidationDetails;
997
957
  return visitor.missingConnectionConfiguration(value.missingConnectionConfiguration);
998
958
  if (value.missingDefaultCondition !== void 0)
999
959
  return visitor.missingDefaultCondition(value.missingDefaultCondition);
1000
- if (value.missingEndingNodes !== void 0)
1001
- return visitor.missingEndingNodes(value.missingEndingNodes);
960
+ if (value.missingEndingNodes !== void 0) return visitor.missingEndingNodes(value.missingEndingNodes);
1002
961
  if (value.missingNodeConfiguration !== void 0)
1003
962
  return visitor.missingNodeConfiguration(value.missingNodeConfiguration);
1004
- if (value.missingNodeInput !== void 0)
1005
- return visitor.missingNodeInput(value.missingNodeInput);
1006
- if (value.missingNodeOutput !== void 0)
1007
- return visitor.missingNodeOutput(value.missingNodeOutput);
1008
- if (value.missingStartingNodes !== void 0)
1009
- 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);
1010
966
  if (value.multipleNodeInputConnections !== void 0)
1011
967
  return visitor.multipleNodeInputConnections(value.multipleNodeInputConnections);
1012
- if (value.unfulfilledNodeInput !== void 0)
1013
- return visitor.unfulfilledNodeInput(value.unfulfilledNodeInput);
968
+ if (value.unfulfilledNodeInput !== void 0) return visitor.unfulfilledNodeInput(value.unfulfilledNodeInput);
1014
969
  if (value.unsatisfiedConnectionConditions !== void 0)
1015
970
  return visitor.unsatisfiedConnectionConditions(value.unsatisfiedConnectionConditions);
1016
- if (value.unspecified !== void 0)
1017
- return visitor.unspecified(value.unspecified);
1018
- if (value.unknownNodeInput !== void 0)
1019
- return visitor.unknownNodeInput(value.unknownNodeInput);
1020
- if (value.unknownNodeOutput !== void 0)
1021
- 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);
1022
974
  return visitor._(value.$unknown[0], value.$unknown[1]);
1023
975
  }, "visit");
1024
976
  })(FlowValidationDetails || (FlowValidationDetails = {}));
@@ -1078,12 +1030,9 @@ var SortOrder = {
1078
1030
  DESCENDING: "DESCENDING"
1079
1031
  };
1080
1032
  var APISchemaFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1081
- if (obj.s3 !== void 0)
1082
- return { s3: obj.s3 };
1083
- if (obj.payload !== void 0)
1084
- return { payload: import_smithy_client.SENSITIVE_STRING };
1085
- if (obj.$unknown !== void 0)
1086
- 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" };
1087
1036
  }, "APISchemaFilterSensitiveLog");
1088
1037
  var CreateAgentActionGroupRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1089
1038
  ...obj,
@@ -1318,34 +1267,24 @@ var ConditionFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((o
1318
1267
  ...obj.conditions && { conditions: obj.conditions.map((item) => FlowConditionFilterSensitiveLog(item)) }
1319
1268
  }), "ConditionFlowNodeConfigurationFilterSensitiveLog");
1320
1269
  var ContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1321
- if (obj.text !== void 0)
1322
- return { text: obj.text };
1323
- if (obj.cachePoint !== void 0)
1324
- return { cachePoint: obj.cachePoint };
1325
- if (obj.$unknown !== void 0)
1326
- 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" };
1327
1273
  }, "ContentBlockFilterSensitiveLog");
1328
1274
  var MessageFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1329
1275
  ...obj,
1330
1276
  ...obj.content && { content: import_smithy_client.SENSITIVE_STRING }
1331
1277
  }), "MessageFilterSensitiveLog");
1332
1278
  var SystemContentBlockFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1333
- if (obj.text !== void 0)
1334
- return { text: obj.text };
1335
- if (obj.cachePoint !== void 0)
1336
- return { cachePoint: obj.cachePoint };
1337
- if (obj.$unknown !== void 0)
1338
- 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" };
1339
1282
  }, "SystemContentBlockFilterSensitiveLog");
1340
1283
  var ToolChoiceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1341
- if (obj.auto !== void 0)
1342
- return { auto: obj.auto };
1343
- if (obj.any !== void 0)
1344
- return { any: obj.any };
1345
- if (obj.tool !== void 0)
1346
- return { tool: obj.tool };
1347
- if (obj.$unknown !== void 0)
1348
- 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" };
1349
1288
  }, "ToolChoiceFilterSensitiveLog");
1350
1289
  var ToolConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1351
1290
  ...obj,
@@ -1365,12 +1304,9 @@ var TextPromptTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((
1365
1304
  ...obj.inputVariables && { inputVariables: import_smithy_client.SENSITIVE_STRING }
1366
1305
  }), "TextPromptTemplateConfigurationFilterSensitiveLog");
1367
1306
  var PromptTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1368
- if (obj.text !== void 0)
1369
- return { text: import_smithy_client.SENSITIVE_STRING };
1370
- if (obj.chat !== void 0)
1371
- return { chat: import_smithy_client.SENSITIVE_STRING };
1372
- if (obj.$unknown !== void 0)
1373
- 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" };
1374
1310
  }, "PromptTemplateConfigurationFilterSensitiveLog");
1375
1311
  var PromptFlowNodeInlineConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1376
1312
  ...obj,
@@ -1380,12 +1316,9 @@ var PromptFlowNodeInlineConfigurationFilterSensitiveLog = /* @__PURE__ */ __name
1380
1316
  ...obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }
1381
1317
  }), "PromptFlowNodeInlineConfigurationFilterSensitiveLog");
1382
1318
  var PromptFlowNodeSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1383
- if (obj.resource !== void 0)
1384
- return { resource: obj.resource };
1385
- if (obj.inline !== void 0)
1386
- return { inline: PromptFlowNodeInlineConfigurationFilterSensitiveLog(obj.inline) };
1387
- if (obj.$unknown !== void 0)
1388
- 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" };
1389
1322
  }, "PromptFlowNodeSourceConfigurationFilterSensitiveLog");
1390
1323
  var PromptFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1391
1324
  ...obj,
@@ -1394,32 +1327,20 @@ var PromptFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj)
1394
1327
  }
1395
1328
  }), "PromptFlowNodeConfigurationFilterSensitiveLog");
1396
1329
  var FlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1397
- if (obj.input !== void 0)
1398
- return { input: obj.input };
1399
- if (obj.output !== void 0)
1400
- return { output: obj.output };
1401
- if (obj.knowledgeBase !== void 0)
1402
- 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 };
1403
1333
  if (obj.condition !== void 0)
1404
1334
  return { condition: ConditionFlowNodeConfigurationFilterSensitiveLog(obj.condition) };
1405
- if (obj.lex !== void 0)
1406
- return { lex: obj.lex };
1407
- if (obj.prompt !== void 0)
1408
- return { prompt: PromptFlowNodeConfigurationFilterSensitiveLog(obj.prompt) };
1409
- if (obj.lambdaFunction !== void 0)
1410
- return { lambdaFunction: obj.lambdaFunction };
1411
- if (obj.storage !== void 0)
1412
- return { storage: obj.storage };
1413
- if (obj.agent !== void 0)
1414
- return { agent: obj.agent };
1415
- if (obj.retrieval !== void 0)
1416
- return { retrieval: obj.retrieval };
1417
- if (obj.iterator !== void 0)
1418
- return { iterator: obj.iterator };
1419
- if (obj.collector !== void 0)
1420
- return { collector: obj.collector };
1421
- if (obj.$unknown !== void 0)
1422
- 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" };
1423
1344
  }, "FlowNodeConfigurationFilterSensitiveLog");
1424
1345
  var FlowNodeInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1425
1346
  ...obj,
@@ -1456,24 +1377,19 @@ var DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog = /* @__
1456
1377
  ...obj.expression && { expression: import_smithy_client.SENSITIVE_STRING }
1457
1378
  }), "DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog");
1458
1379
  var FlowValidationDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1459
- if (obj.cyclicConnection !== void 0)
1460
- return { cyclicConnection: obj.cyclicConnection };
1461
- if (obj.duplicateConnections !== void 0)
1462
- return { duplicateConnections: obj.duplicateConnections };
1380
+ if (obj.cyclicConnection !== void 0) return { cyclicConnection: obj.cyclicConnection };
1381
+ if (obj.duplicateConnections !== void 0) return { duplicateConnections: obj.duplicateConnections };
1463
1382
  if (obj.duplicateConditionExpression !== void 0)
1464
1383
  return {
1465
1384
  duplicateConditionExpression: DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog(
1466
1385
  obj.duplicateConditionExpression
1467
1386
  )
1468
1387
  };
1469
- if (obj.unreachableNode !== void 0)
1470
- return { unreachableNode: obj.unreachableNode };
1471
- if (obj.unknownConnectionSource !== void 0)
1472
- return { unknownConnectionSource: obj.unknownConnectionSource };
1388
+ if (obj.unreachableNode !== void 0) return { unreachableNode: obj.unreachableNode };
1389
+ if (obj.unknownConnectionSource !== void 0) return { unknownConnectionSource: obj.unknownConnectionSource };
1473
1390
  if (obj.unknownConnectionSourceOutput !== void 0)
1474
1391
  return { unknownConnectionSourceOutput: obj.unknownConnectionSourceOutput };
1475
- if (obj.unknownConnectionTarget !== void 0)
1476
- return { unknownConnectionTarget: obj.unknownConnectionTarget };
1392
+ if (obj.unknownConnectionTarget !== void 0) return { unknownConnectionTarget: obj.unknownConnectionTarget };
1477
1393
  if (obj.unknownConnectionTargetInput !== void 0)
1478
1394
  return { unknownConnectionTargetInput: obj.unknownConnectionTargetInput };
1479
1395
  if (obj.unknownConnectionCondition !== void 0)
@@ -1482,40 +1398,27 @@ var FlowValidationDetailsFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1482
1398
  return { malformedConditionExpression: obj.malformedConditionExpression };
1483
1399
  if (obj.malformedNodeInputExpression !== void 0)
1484
1400
  return { malformedNodeInputExpression: obj.malformedNodeInputExpression };
1485
- if (obj.mismatchedNodeInputType !== void 0)
1486
- return { mismatchedNodeInputType: obj.mismatchedNodeInputType };
1487
- if (obj.mismatchedNodeOutputType !== void 0)
1488
- return { mismatchedNodeOutputType: obj.mismatchedNodeOutputType };
1401
+ if (obj.mismatchedNodeInputType !== void 0) return { mismatchedNodeInputType: obj.mismatchedNodeInputType };
1402
+ if (obj.mismatchedNodeOutputType !== void 0) return { mismatchedNodeOutputType: obj.mismatchedNodeOutputType };
1489
1403
  if (obj.incompatibleConnectionDataType !== void 0)
1490
1404
  return { incompatibleConnectionDataType: obj.incompatibleConnectionDataType };
1491
1405
  if (obj.missingConnectionConfiguration !== void 0)
1492
1406
  return { missingConnectionConfiguration: obj.missingConnectionConfiguration };
1493
- if (obj.missingDefaultCondition !== void 0)
1494
- return { missingDefaultCondition: obj.missingDefaultCondition };
1495
- if (obj.missingEndingNodes !== void 0)
1496
- return { missingEndingNodes: obj.missingEndingNodes };
1497
- if (obj.missingNodeConfiguration !== void 0)
1498
- return { missingNodeConfiguration: obj.missingNodeConfiguration };
1499
- if (obj.missingNodeInput !== void 0)
1500
- return { missingNodeInput: obj.missingNodeInput };
1501
- if (obj.missingNodeOutput !== void 0)
1502
- return { missingNodeOutput: obj.missingNodeOutput };
1503
- if (obj.missingStartingNodes !== void 0)
1504
- 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 };
1505
1413
  if (obj.multipleNodeInputConnections !== void 0)
1506
1414
  return { multipleNodeInputConnections: obj.multipleNodeInputConnections };
1507
- if (obj.unfulfilledNodeInput !== void 0)
1508
- return { unfulfilledNodeInput: obj.unfulfilledNodeInput };
1415
+ if (obj.unfulfilledNodeInput !== void 0) return { unfulfilledNodeInput: obj.unfulfilledNodeInput };
1509
1416
  if (obj.unsatisfiedConnectionConditions !== void 0)
1510
1417
  return { unsatisfiedConnectionConditions: obj.unsatisfiedConnectionConditions };
1511
- if (obj.unspecified !== void 0)
1512
- return { unspecified: obj.unspecified };
1513
- if (obj.unknownNodeInput !== void 0)
1514
- return { unknownNodeInput: obj.unknownNodeInput };
1515
- if (obj.unknownNodeOutput !== void 0)
1516
- return { unknownNodeOutput: obj.unknownNodeOutput };
1517
- if (obj.$unknown !== void 0)
1518
- 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" };
1519
1422
  }, "FlowValidationDetailsFilterSensitiveLog");
1520
1423
  var FlowValidationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1521
1424
  ...obj,
@@ -1551,7 +1454,7 @@ var se_AssociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input,
1551
1454
  let body;
1552
1455
  body = JSON.stringify(
1553
1456
  (0, import_smithy_client.take)(input, {
1554
- agentDescriptor: (_) => (0, import_smithy_client._json)(_),
1457
+ agentDescriptor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "agentDescriptor"),
1555
1458
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1556
1459
  collaborationInstruction: [],
1557
1460
  collaboratorName: [],
@@ -1593,17 +1496,17 @@ var se_CreateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
1593
1496
  agentName: [],
1594
1497
  agentResourceRoleArn: [],
1595
1498
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1596
- customOrchestration: (_) => (0, import_smithy_client._json)(_),
1499
+ customOrchestration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "customOrchestration"),
1597
1500
  customerEncryptionKeyArn: [],
1598
1501
  description: [],
1599
1502
  foundationModel: [],
1600
- guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
1503
+ guardrailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfiguration"),
1601
1504
  idleSessionTTLInSeconds: [],
1602
1505
  instruction: [],
1603
- memoryConfiguration: (_) => (0, import_smithy_client._json)(_),
1506
+ memoryConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "memoryConfiguration"),
1604
1507
  orchestrationType: [],
1605
- promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context),
1606
- tags: (_) => (0, import_smithy_client._json)(_)
1508
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => se_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration"),
1509
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1607
1510
  })
1608
1511
  );
1609
1512
  b.m("PUT").h(headers).b(body);
@@ -1620,15 +1523,15 @@ var se_CreateAgentActionGroupCommand = /* @__PURE__ */ __name(async (input, cont
1620
1523
  let body;
1621
1524
  body = JSON.stringify(
1622
1525
  (0, import_smithy_client.take)(input, {
1623
- actionGroupExecutor: (_) => (0, import_smithy_client._json)(_),
1526
+ actionGroupExecutor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actionGroupExecutor"),
1624
1527
  actionGroupName: [],
1625
1528
  actionGroupState: [],
1626
- apiSchema: (_) => (0, import_smithy_client._json)(_),
1529
+ apiSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "apiSchema"),
1627
1530
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1628
1531
  description: [],
1629
- functionSchema: (_) => (0, import_smithy_client._json)(_),
1532
+ functionSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "functionSchema"),
1630
1533
  parentActionGroupSignature: [],
1631
- parentActionGroupSignatureParams: (_) => (0, import_smithy_client._json)(_)
1534
+ parentActionGroupSignatureParams: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "parentActionGroupSignatureParams")
1632
1535
  })
1633
1536
  );
1634
1537
  b.m("PUT").h(headers).b(body);
@@ -1647,8 +1550,8 @@ var se_CreateAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) =
1647
1550
  agentAliasName: [],
1648
1551
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1649
1552
  description: [],
1650
- routingConfiguration: (_) => (0, import_smithy_client._json)(_),
1651
- 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")
1652
1555
  })
1653
1556
  );
1654
1557
  b.m("PUT").h(headers).b(body);
@@ -1666,11 +1569,11 @@ var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
1666
1569
  (0, import_smithy_client.take)(input, {
1667
1570
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1668
1571
  dataDeletionPolicy: [],
1669
- dataSourceConfiguration: (_) => (0, import_smithy_client._json)(_),
1572
+ dataSourceConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataSourceConfiguration"),
1670
1573
  description: [],
1671
1574
  name: [],
1672
- serverSideEncryptionConfiguration: (_) => (0, import_smithy_client._json)(_),
1673
- 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")
1674
1577
  })
1675
1578
  );
1676
1579
  b.m("PUT").h(headers).b(body);
@@ -1687,11 +1590,11 @@ var se_CreateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1687
1590
  (0, import_smithy_client.take)(input, {
1688
1591
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1689
1592
  customerEncryptionKeyArn: [],
1690
- definition: (_) => se_FlowDefinition(_, context),
1593
+ definition: /* @__PURE__ */ __name((_) => se_FlowDefinition(_, context), "definition"),
1691
1594
  description: [],
1692
1595
  executionRoleArn: [],
1693
1596
  name: [],
1694
- tags: (_) => (0, import_smithy_client._json)(_)
1597
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1695
1598
  })
1696
1599
  );
1697
1600
  b.m("POST").h(headers).b(body);
@@ -1710,8 +1613,8 @@ var se_CreateFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) =>
1710
1613
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1711
1614
  description: [],
1712
1615
  name: [],
1713
- routingConfiguration: (_) => (0, import_smithy_client._json)(_),
1714
- 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")
1715
1618
  })
1716
1619
  );
1717
1620
  b.m("POST").h(headers).b(body);
@@ -1745,11 +1648,11 @@ var se_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
1745
1648
  (0, import_smithy_client.take)(input, {
1746
1649
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1747
1650
  description: [],
1748
- knowledgeBaseConfiguration: (_) => (0, import_smithy_client._json)(_),
1651
+ knowledgeBaseConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "knowledgeBaseConfiguration"),
1749
1652
  name: [],
1750
1653
  roleArn: [],
1751
- storageConfiguration: (_) => (0, import_smithy_client._json)(_),
1752
- 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")
1753
1656
  })
1754
1657
  );
1755
1658
  b.m("PUT").h(headers).b(body);
@@ -1769,8 +1672,8 @@ var se_CreatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1769
1672
  defaultVariant: [],
1770
1673
  description: [],
1771
1674
  name: [],
1772
- tags: (_) => (0, import_smithy_client._json)(_),
1773
- variants: (_) => se_PromptVariantList(_, context)
1675
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
1676
+ variants: /* @__PURE__ */ __name((_) => se_PromptVariantList(_, context), "variants")
1774
1677
  })
1775
1678
  );
1776
1679
  b.m("POST").h(headers).b(body);
@@ -1788,7 +1691,7 @@ var se_CreatePromptVersionCommand = /* @__PURE__ */ __name(async (input, context
1788
1691
  (0, import_smithy_client.take)(input, {
1789
1692
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1790
1693
  description: [],
1791
- tags: (_) => (0, import_smithy_client._json)(_)
1694
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
1792
1695
  })
1793
1696
  );
1794
1697
  b.m("POST").h(headers).b(body);
@@ -1909,7 +1812,7 @@ var se_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input
1909
1812
  body = JSON.stringify(
1910
1813
  (0, import_smithy_client.take)(input, {
1911
1814
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1912
- documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
1815
+ documentIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "documentIdentifiers")
1913
1816
  })
1914
1817
  );
1915
1818
  b.m("POST").h(headers).b(body);
@@ -2081,7 +1984,7 @@ var se_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input, c
2081
1984
  let body;
2082
1985
  body = JSON.stringify(
2083
1986
  (0, import_smithy_client.take)(input, {
2084
- documentIdentifiers: (_) => (0, import_smithy_client._json)(_)
1987
+ documentIdentifiers: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "documentIdentifiers")
2085
1988
  })
2086
1989
  );
2087
1990
  b.m("POST").h(headers).b(body);
@@ -2111,7 +2014,7 @@ var se_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (input
2111
2014
  body = JSON.stringify(
2112
2015
  (0, import_smithy_client.take)(input, {
2113
2016
  clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
2114
- documents: (_) => se_KnowledgeBaseDocuments(_, context)
2017
+ documents: /* @__PURE__ */ __name((_) => se_KnowledgeBaseDocuments(_, context), "documents")
2115
2018
  })
2116
2019
  );
2117
2020
  b.m("PUT").h(headers).b(body);
@@ -2287,10 +2190,10 @@ var se_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (input, context)
2287
2190
  let body;
2288
2191
  body = JSON.stringify(
2289
2192
  (0, import_smithy_client.take)(input, {
2290
- filters: (_) => (0, import_smithy_client._json)(_),
2193
+ filters: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "filters"),
2291
2194
  maxResults: [],
2292
2195
  nextToken: [],
2293
- sortBy: (_) => (0, import_smithy_client._json)(_)
2196
+ sortBy: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "sortBy")
2294
2197
  })
2295
2198
  );
2296
2199
  b.m("POST").h(headers).b(body);
@@ -2409,7 +2312,7 @@ var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
2409
2312
  let body;
2410
2313
  body = JSON.stringify(
2411
2314
  (0, import_smithy_client.take)(input, {
2412
- tags: (_) => (0, import_smithy_client._json)(_)
2315
+ tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
2413
2316
  })
2414
2317
  );
2415
2318
  b.m("POST").h(headers).b(body);
@@ -2440,16 +2343,16 @@ var se_UpdateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
2440
2343
  agentCollaboration: [],
2441
2344
  agentName: [],
2442
2345
  agentResourceRoleArn: [],
2443
- customOrchestration: (_) => (0, import_smithy_client._json)(_),
2346
+ customOrchestration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "customOrchestration"),
2444
2347
  customerEncryptionKeyArn: [],
2445
2348
  description: [],
2446
2349
  foundationModel: [],
2447
- guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
2350
+ guardrailConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "guardrailConfiguration"),
2448
2351
  idleSessionTTLInSeconds: [],
2449
2352
  instruction: [],
2450
- memoryConfiguration: (_) => (0, import_smithy_client._json)(_),
2353
+ memoryConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "memoryConfiguration"),
2451
2354
  orchestrationType: [],
2452
- promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context)
2355
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => se_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration")
2453
2356
  })
2454
2357
  );
2455
2358
  b.m("PUT").h(headers).b(body);
@@ -2467,14 +2370,14 @@ var se_UpdateAgentActionGroupCommand = /* @__PURE__ */ __name(async (input, cont
2467
2370
  let body;
2468
2371
  body = JSON.stringify(
2469
2372
  (0, import_smithy_client.take)(input, {
2470
- actionGroupExecutor: (_) => (0, import_smithy_client._json)(_),
2373
+ actionGroupExecutor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "actionGroupExecutor"),
2471
2374
  actionGroupName: [],
2472
2375
  actionGroupState: [],
2473
- apiSchema: (_) => (0, import_smithy_client._json)(_),
2376
+ apiSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "apiSchema"),
2474
2377
  description: [],
2475
- functionSchema: (_) => (0, import_smithy_client._json)(_),
2378
+ functionSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "functionSchema"),
2476
2379
  parentActionGroupSignature: [],
2477
- parentActionGroupSignatureParams: (_) => (0, import_smithy_client._json)(_)
2380
+ parentActionGroupSignatureParams: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "parentActionGroupSignatureParams")
2478
2381
  })
2479
2382
  );
2480
2383
  b.m("PUT").h(headers).b(body);
@@ -2493,7 +2396,7 @@ var se_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (input, context) =
2493
2396
  (0, import_smithy_client.take)(input, {
2494
2397
  agentAliasName: [],
2495
2398
  description: [],
2496
- routingConfiguration: (_) => (0, import_smithy_client._json)(_)
2399
+ routingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "routingConfiguration")
2497
2400
  })
2498
2401
  );
2499
2402
  b.m("PUT").h(headers).b(body);
@@ -2511,7 +2414,7 @@ var se_UpdateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (input, con
2511
2414
  let body;
2512
2415
  body = JSON.stringify(
2513
2416
  (0, import_smithy_client.take)(input, {
2514
- agentDescriptor: (_) => (0, import_smithy_client._json)(_),
2417
+ agentDescriptor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "agentDescriptor"),
2515
2418
  collaborationInstruction: [],
2516
2419
  collaboratorName: [],
2517
2420
  relayConversationHistory: []
@@ -2551,11 +2454,11 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
2551
2454
  body = JSON.stringify(
2552
2455
  (0, import_smithy_client.take)(input, {
2553
2456
  dataDeletionPolicy: [],
2554
- dataSourceConfiguration: (_) => (0, import_smithy_client._json)(_),
2457
+ dataSourceConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "dataSourceConfiguration"),
2555
2458
  description: [],
2556
2459
  name: [],
2557
- serverSideEncryptionConfiguration: (_) => (0, import_smithy_client._json)(_),
2558
- 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")
2559
2462
  })
2560
2463
  );
2561
2464
  b.m("PUT").h(headers).b(body);
@@ -2572,7 +2475,7 @@ var se_UpdateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
2572
2475
  body = JSON.stringify(
2573
2476
  (0, import_smithy_client.take)(input, {
2574
2477
  customerEncryptionKeyArn: [],
2575
- definition: (_) => se_FlowDefinition(_, context),
2478
+ definition: /* @__PURE__ */ __name((_) => se_FlowDefinition(_, context), "definition"),
2576
2479
  description: [],
2577
2480
  executionRoleArn: [],
2578
2481
  name: []
@@ -2594,7 +2497,7 @@ var se_UpdateFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) =>
2594
2497
  (0, import_smithy_client.take)(input, {
2595
2498
  description: [],
2596
2499
  name: [],
2597
- routingConfiguration: (_) => (0, import_smithy_client._json)(_)
2500
+ routingConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "routingConfiguration")
2598
2501
  })
2599
2502
  );
2600
2503
  b.m("PUT").h(headers).b(body);
@@ -2611,10 +2514,10 @@ var se_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
2611
2514
  body = JSON.stringify(
2612
2515
  (0, import_smithy_client.take)(input, {
2613
2516
  description: [],
2614
- knowledgeBaseConfiguration: (_) => (0, import_smithy_client._json)(_),
2517
+ knowledgeBaseConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "knowledgeBaseConfiguration"),
2615
2518
  name: [],
2616
2519
  roleArn: [],
2617
- storageConfiguration: (_) => (0, import_smithy_client._json)(_)
2520
+ storageConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "storageConfiguration")
2618
2521
  })
2619
2522
  );
2620
2523
  b.m("PUT").h(headers).b(body);
@@ -2634,7 +2537,7 @@ var se_UpdatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
2634
2537
  defaultVariant: [],
2635
2538
  description: [],
2636
2539
  name: [],
2637
- variants: (_) => se_PromptVariantList(_, context)
2540
+ variants: /* @__PURE__ */ __name((_) => se_PromptVariantList(_, context), "variants")
2638
2541
  })
2639
2542
  );
2640
2543
  b.m("PUT").h(headers).b(body);
@@ -2649,7 +2552,7 @@ var se_ValidateFlowDefinitionCommand = /* @__PURE__ */ __name(async (input, cont
2649
2552
  let body;
2650
2553
  body = JSON.stringify(
2651
2554
  (0, import_smithy_client.take)(input, {
2652
- definition: (_) => se_FlowDefinition(_, context)
2555
+ definition: /* @__PURE__ */ __name((_) => se_FlowDefinition(_, context), "definition")
2653
2556
  })
2654
2557
  );
2655
2558
  b.m("POST").h(headers).b(body);
@@ -2664,7 +2567,7 @@ var de_AssociateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output,
2664
2567
  });
2665
2568
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2666
2569
  const doc = (0, import_smithy_client.take)(data, {
2667
- agentCollaborator: (_) => de_AgentCollaborator(_, context)
2570
+ agentCollaborator: /* @__PURE__ */ __name((_) => de_AgentCollaborator(_, context), "agentCollaborator")
2668
2571
  });
2669
2572
  Object.assign(contents, doc);
2670
2573
  return contents;
@@ -2678,7 +2581,7 @@ var de_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output
2678
2581
  });
2679
2582
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2680
2583
  const doc = (0, import_smithy_client.take)(data, {
2681
- agentKnowledgeBase: (_) => de_AgentKnowledgeBase(_, context)
2584
+ agentKnowledgeBase: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBase(_, context), "agentKnowledgeBase")
2682
2585
  });
2683
2586
  Object.assign(contents, doc);
2684
2587
  return contents;
@@ -2692,7 +2595,7 @@ var de_CreateAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
2692
2595
  });
2693
2596
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2694
2597
  const doc = (0, import_smithy_client.take)(data, {
2695
- agent: (_) => de_Agent(_, context)
2598
+ agent: /* @__PURE__ */ __name((_) => de_Agent(_, context), "agent")
2696
2599
  });
2697
2600
  Object.assign(contents, doc);
2698
2601
  return contents;
@@ -2706,7 +2609,7 @@ var de_CreateAgentActionGroupCommand = /* @__PURE__ */ __name(async (output, con
2706
2609
  });
2707
2610
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2708
2611
  const doc = (0, import_smithy_client.take)(data, {
2709
- agentActionGroup: (_) => de_AgentActionGroup(_, context)
2612
+ agentActionGroup: /* @__PURE__ */ __name((_) => de_AgentActionGroup(_, context), "agentActionGroup")
2710
2613
  });
2711
2614
  Object.assign(contents, doc);
2712
2615
  return contents;
@@ -2720,7 +2623,7 @@ var de_CreateAgentAliasCommand = /* @__PURE__ */ __name(async (output, context)
2720
2623
  });
2721
2624
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2722
2625
  const doc = (0, import_smithy_client.take)(data, {
2723
- agentAlias: (_) => de_AgentAlias(_, context)
2626
+ agentAlias: /* @__PURE__ */ __name((_) => de_AgentAlias(_, context), "agentAlias")
2724
2627
  });
2725
2628
  Object.assign(contents, doc);
2726
2629
  return contents;
@@ -2734,7 +2637,7 @@ var de_CreateDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
2734
2637
  });
2735
2638
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2736
2639
  const doc = (0, import_smithy_client.take)(data, {
2737
- dataSource: (_) => de_DataSource(_, context)
2640
+ dataSource: /* @__PURE__ */ __name((_) => de_DataSource(_, context), "dataSource")
2738
2641
  });
2739
2642
  Object.assign(contents, doc);
2740
2643
  return contents;
@@ -2749,15 +2652,15 @@ var de_CreateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2749
2652
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2750
2653
  const doc = (0, import_smithy_client.take)(data, {
2751
2654
  arn: import_smithy_client.expectString,
2752
- 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"),
2753
2656
  customerEncryptionKeyArn: import_smithy_client.expectString,
2754
- definition: (_) => de_FlowDefinition(_, context),
2657
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
2755
2658
  description: import_smithy_client.expectString,
2756
2659
  executionRoleArn: import_smithy_client.expectString,
2757
2660
  id: import_smithy_client.expectString,
2758
2661
  name: import_smithy_client.expectString,
2759
2662
  status: import_smithy_client.expectString,
2760
- 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"),
2761
2664
  version: import_smithy_client.expectString
2762
2665
  });
2763
2666
  Object.assign(contents, doc);
@@ -2773,13 +2676,13 @@ var de_CreateFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) =
2773
2676
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2774
2677
  const doc = (0, import_smithy_client.take)(data, {
2775
2678
  arn: import_smithy_client.expectString,
2776
- 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"),
2777
2680
  description: import_smithy_client.expectString,
2778
2681
  flowId: import_smithy_client.expectString,
2779
2682
  id: import_smithy_client.expectString,
2780
2683
  name: import_smithy_client.expectString,
2781
2684
  routingConfiguration: import_smithy_client._json,
2782
- 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")
2783
2686
  });
2784
2687
  Object.assign(contents, doc);
2785
2688
  return contents;
@@ -2794,9 +2697,9 @@ var de_CreateFlowVersionCommand = /* @__PURE__ */ __name(async (output, context)
2794
2697
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2795
2698
  const doc = (0, import_smithy_client.take)(data, {
2796
2699
  arn: import_smithy_client.expectString,
2797
- 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"),
2798
2701
  customerEncryptionKeyArn: import_smithy_client.expectString,
2799
- definition: (_) => de_FlowDefinition(_, context),
2702
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
2800
2703
  description: import_smithy_client.expectString,
2801
2704
  executionRoleArn: import_smithy_client.expectString,
2802
2705
  id: import_smithy_client.expectString,
@@ -2816,7 +2719,7 @@ var de_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
2816
2719
  });
2817
2720
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2818
2721
  const doc = (0, import_smithy_client.take)(data, {
2819
- knowledgeBase: (_) => de_KnowledgeBase(_, context)
2722
+ knowledgeBase: /* @__PURE__ */ __name((_) => de_KnowledgeBase(_, context), "knowledgeBase")
2820
2723
  });
2821
2724
  Object.assign(contents, doc);
2822
2725
  return contents;
@@ -2831,14 +2734,14 @@ var de_CreatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2831
2734
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2832
2735
  const doc = (0, import_smithy_client.take)(data, {
2833
2736
  arn: import_smithy_client.expectString,
2834
- 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"),
2835
2738
  customerEncryptionKeyArn: import_smithy_client.expectString,
2836
2739
  defaultVariant: import_smithy_client.expectString,
2837
2740
  description: import_smithy_client.expectString,
2838
2741
  id: import_smithy_client.expectString,
2839
2742
  name: import_smithy_client.expectString,
2840
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2841
- 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"),
2842
2745
  version: import_smithy_client.expectString
2843
2746
  });
2844
2747
  Object.assign(contents, doc);
@@ -2854,14 +2757,14 @@ var de_CreatePromptVersionCommand = /* @__PURE__ */ __name(async (output, contex
2854
2757
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2855
2758
  const doc = (0, import_smithy_client.take)(data, {
2856
2759
  arn: import_smithy_client.expectString,
2857
- 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"),
2858
2761
  customerEncryptionKeyArn: import_smithy_client.expectString,
2859
2762
  defaultVariant: import_smithy_client.expectString,
2860
2763
  description: import_smithy_client.expectString,
2861
2764
  id: import_smithy_client.expectString,
2862
2765
  name: import_smithy_client.expectString,
2863
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2864
- 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"),
2865
2768
  version: import_smithy_client.expectString
2866
2769
  });
2867
2770
  Object.assign(contents, doc);
@@ -3008,7 +2911,7 @@ var de_DeleteKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (outpu
3008
2911
  });
3009
2912
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3010
2913
  const doc = (0, import_smithy_client.take)(data, {
3011
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
2914
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails")
3012
2915
  });
3013
2916
  Object.assign(contents, doc);
3014
2917
  return contents;
@@ -3057,7 +2960,7 @@ var de_GetAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
3057
2960
  });
3058
2961
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3059
2962
  const doc = (0, import_smithy_client.take)(data, {
3060
- agent: (_) => de_Agent(_, context)
2963
+ agent: /* @__PURE__ */ __name((_) => de_Agent(_, context), "agent")
3061
2964
  });
3062
2965
  Object.assign(contents, doc);
3063
2966
  return contents;
@@ -3071,7 +2974,7 @@ var de_GetAgentActionGroupCommand = /* @__PURE__ */ __name(async (output, contex
3071
2974
  });
3072
2975
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3073
2976
  const doc = (0, import_smithy_client.take)(data, {
3074
- agentActionGroup: (_) => de_AgentActionGroup(_, context)
2977
+ agentActionGroup: /* @__PURE__ */ __name((_) => de_AgentActionGroup(_, context), "agentActionGroup")
3075
2978
  });
3076
2979
  Object.assign(contents, doc);
3077
2980
  return contents;
@@ -3085,7 +2988,7 @@ var de_GetAgentAliasCommand = /* @__PURE__ */ __name(async (output, context) =>
3085
2988
  });
3086
2989
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3087
2990
  const doc = (0, import_smithy_client.take)(data, {
3088
- agentAlias: (_) => de_AgentAlias(_, context)
2991
+ agentAlias: /* @__PURE__ */ __name((_) => de_AgentAlias(_, context), "agentAlias")
3089
2992
  });
3090
2993
  Object.assign(contents, doc);
3091
2994
  return contents;
@@ -3099,7 +3002,7 @@ var de_GetAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, conte
3099
3002
  });
3100
3003
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3101
3004
  const doc = (0, import_smithy_client.take)(data, {
3102
- agentCollaborator: (_) => de_AgentCollaborator(_, context)
3005
+ agentCollaborator: /* @__PURE__ */ __name((_) => de_AgentCollaborator(_, context), "agentCollaborator")
3103
3006
  });
3104
3007
  Object.assign(contents, doc);
3105
3008
  return contents;
@@ -3113,7 +3016,7 @@ var de_GetAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, cont
3113
3016
  });
3114
3017
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3115
3018
  const doc = (0, import_smithy_client.take)(data, {
3116
- agentKnowledgeBase: (_) => de_AgentKnowledgeBase(_, context)
3019
+ agentKnowledgeBase: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBase(_, context), "agentKnowledgeBase")
3117
3020
  });
3118
3021
  Object.assign(contents, doc);
3119
3022
  return contents;
@@ -3127,7 +3030,7 @@ var de_GetAgentVersionCommand = /* @__PURE__ */ __name(async (output, context) =
3127
3030
  });
3128
3031
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3129
3032
  const doc = (0, import_smithy_client.take)(data, {
3130
- agentVersion: (_) => de_AgentVersion(_, context)
3033
+ agentVersion: /* @__PURE__ */ __name((_) => de_AgentVersion(_, context), "agentVersion")
3131
3034
  });
3132
3035
  Object.assign(contents, doc);
3133
3036
  return contents;
@@ -3141,7 +3044,7 @@ var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
3141
3044
  });
3142
3045
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3143
3046
  const doc = (0, import_smithy_client.take)(data, {
3144
- dataSource: (_) => de_DataSource(_, context)
3047
+ dataSource: /* @__PURE__ */ __name((_) => de_DataSource(_, context), "dataSource")
3145
3048
  });
3146
3049
  Object.assign(contents, doc);
3147
3050
  return contents;
@@ -3156,15 +3059,15 @@ var de_GetFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
3156
3059
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3157
3060
  const doc = (0, import_smithy_client.take)(data, {
3158
3061
  arn: import_smithy_client.expectString,
3159
- 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"),
3160
3063
  customerEncryptionKeyArn: import_smithy_client.expectString,
3161
- definition: (_) => de_FlowDefinition(_, context),
3064
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
3162
3065
  description: import_smithy_client.expectString,
3163
3066
  executionRoleArn: import_smithy_client.expectString,
3164
3067
  id: import_smithy_client.expectString,
3165
3068
  name: import_smithy_client.expectString,
3166
3069
  status: import_smithy_client.expectString,
3167
- 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"),
3168
3071
  validations: import_smithy_client._json,
3169
3072
  version: import_smithy_client.expectString
3170
3073
  });
@@ -3181,13 +3084,13 @@ var de_GetFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
3181
3084
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3182
3085
  const doc = (0, import_smithy_client.take)(data, {
3183
3086
  arn: import_smithy_client.expectString,
3184
- 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"),
3185
3088
  description: import_smithy_client.expectString,
3186
3089
  flowId: import_smithy_client.expectString,
3187
3090
  id: import_smithy_client.expectString,
3188
3091
  name: import_smithy_client.expectString,
3189
3092
  routingConfiguration: import_smithy_client._json,
3190
- 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")
3191
3094
  });
3192
3095
  Object.assign(contents, doc);
3193
3096
  return contents;
@@ -3202,9 +3105,9 @@ var de_GetFlowVersionCommand = /* @__PURE__ */ __name(async (output, context) =>
3202
3105
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3203
3106
  const doc = (0, import_smithy_client.take)(data, {
3204
3107
  arn: import_smithy_client.expectString,
3205
- 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"),
3206
3109
  customerEncryptionKeyArn: import_smithy_client.expectString,
3207
- definition: (_) => de_FlowDefinition(_, context),
3110
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
3208
3111
  description: import_smithy_client.expectString,
3209
3112
  executionRoleArn: import_smithy_client.expectString,
3210
3113
  id: import_smithy_client.expectString,
@@ -3224,7 +3127,7 @@ var de_GetIngestionJobCommand = /* @__PURE__ */ __name(async (output, context) =
3224
3127
  });
3225
3128
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3226
3129
  const doc = (0, import_smithy_client.take)(data, {
3227
- ingestionJob: (_) => de_IngestionJob(_, context)
3130
+ ingestionJob: /* @__PURE__ */ __name((_) => de_IngestionJob(_, context), "ingestionJob")
3228
3131
  });
3229
3132
  Object.assign(contents, doc);
3230
3133
  return contents;
@@ -3238,7 +3141,7 @@ var de_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context)
3238
3141
  });
3239
3142
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3240
3143
  const doc = (0, import_smithy_client.take)(data, {
3241
- knowledgeBase: (_) => de_KnowledgeBase(_, context)
3144
+ knowledgeBase: /* @__PURE__ */ __name((_) => de_KnowledgeBase(_, context), "knowledgeBase")
3242
3145
  });
3243
3146
  Object.assign(contents, doc);
3244
3147
  return contents;
@@ -3252,7 +3155,7 @@ var de_GetKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output,
3252
3155
  });
3253
3156
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3254
3157
  const doc = (0, import_smithy_client.take)(data, {
3255
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
3158
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails")
3256
3159
  });
3257
3160
  Object.assign(contents, doc);
3258
3161
  return contents;
@@ -3267,14 +3170,14 @@ var de_GetPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
3267
3170
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3268
3171
  const doc = (0, import_smithy_client.take)(data, {
3269
3172
  arn: import_smithy_client.expectString,
3270
- 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"),
3271
3174
  customerEncryptionKeyArn: import_smithy_client.expectString,
3272
3175
  defaultVariant: import_smithy_client.expectString,
3273
3176
  description: import_smithy_client.expectString,
3274
3177
  id: import_smithy_client.expectString,
3275
3178
  name: import_smithy_client.expectString,
3276
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3277
- 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"),
3278
3181
  version: import_smithy_client.expectString
3279
3182
  });
3280
3183
  Object.assign(contents, doc);
@@ -3289,7 +3192,7 @@ var de_IngestKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (outpu
3289
3192
  });
3290
3193
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3291
3194
  const doc = (0, import_smithy_client.take)(data, {
3292
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context)
3195
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails")
3293
3196
  });
3294
3197
  Object.assign(contents, doc);
3295
3198
  return contents;
@@ -3303,7 +3206,7 @@ var de_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (output, cont
3303
3206
  });
3304
3207
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3305
3208
  const doc = (0, import_smithy_client.take)(data, {
3306
- actionGroupSummaries: (_) => de_ActionGroupSummaries(_, context),
3209
+ actionGroupSummaries: /* @__PURE__ */ __name((_) => de_ActionGroupSummaries(_, context), "actionGroupSummaries"),
3307
3210
  nextToken: import_smithy_client.expectString
3308
3211
  });
3309
3212
  Object.assign(contents, doc);
@@ -3318,7 +3221,7 @@ var de_ListAgentAliasesCommand = /* @__PURE__ */ __name(async (output, context)
3318
3221
  });
3319
3222
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3320
3223
  const doc = (0, import_smithy_client.take)(data, {
3321
- agentAliasSummaries: (_) => de_AgentAliasSummaries(_, context),
3224
+ agentAliasSummaries: /* @__PURE__ */ __name((_) => de_AgentAliasSummaries(_, context), "agentAliasSummaries"),
3322
3225
  nextToken: import_smithy_client.expectString
3323
3226
  });
3324
3227
  Object.assign(contents, doc);
@@ -3333,7 +3236,7 @@ var de_ListAgentCollaboratorsCommand = /* @__PURE__ */ __name(async (output, con
3333
3236
  });
3334
3237
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3335
3238
  const doc = (0, import_smithy_client.take)(data, {
3336
- agentCollaboratorSummaries: (_) => de_AgentCollaboratorSummaries(_, context),
3239
+ agentCollaboratorSummaries: /* @__PURE__ */ __name((_) => de_AgentCollaboratorSummaries(_, context), "agentCollaboratorSummaries"),
3337
3240
  nextToken: import_smithy_client.expectString
3338
3241
  });
3339
3242
  Object.assign(contents, doc);
@@ -3348,7 +3251,7 @@ var de_ListAgentKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, co
3348
3251
  });
3349
3252
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3350
3253
  const doc = (0, import_smithy_client.take)(data, {
3351
- agentKnowledgeBaseSummaries: (_) => de_AgentKnowledgeBaseSummaries(_, context),
3254
+ agentKnowledgeBaseSummaries: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBaseSummaries(_, context), "agentKnowledgeBaseSummaries"),
3352
3255
  nextToken: import_smithy_client.expectString
3353
3256
  });
3354
3257
  Object.assign(contents, doc);
@@ -3363,7 +3266,7 @@ var de_ListAgentsCommand = /* @__PURE__ */ __name(async (output, context) => {
3363
3266
  });
3364
3267
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3365
3268
  const doc = (0, import_smithy_client.take)(data, {
3366
- agentSummaries: (_) => de_AgentSummaries(_, context),
3269
+ agentSummaries: /* @__PURE__ */ __name((_) => de_AgentSummaries(_, context), "agentSummaries"),
3367
3270
  nextToken: import_smithy_client.expectString
3368
3271
  });
3369
3272
  Object.assign(contents, doc);
@@ -3378,7 +3281,7 @@ var de_ListAgentVersionsCommand = /* @__PURE__ */ __name(async (output, context)
3378
3281
  });
3379
3282
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3380
3283
  const doc = (0, import_smithy_client.take)(data, {
3381
- agentVersionSummaries: (_) => de_AgentVersionSummaries(_, context),
3284
+ agentVersionSummaries: /* @__PURE__ */ __name((_) => de_AgentVersionSummaries(_, context), "agentVersionSummaries"),
3382
3285
  nextToken: import_smithy_client.expectString
3383
3286
  });
3384
3287
  Object.assign(contents, doc);
@@ -3393,7 +3296,7 @@ var de_ListDataSourcesCommand = /* @__PURE__ */ __name(async (output, context) =
3393
3296
  });
3394
3297
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3395
3298
  const doc = (0, import_smithy_client.take)(data, {
3396
- dataSourceSummaries: (_) => de_DataSourceSummaries(_, context),
3299
+ dataSourceSummaries: /* @__PURE__ */ __name((_) => de_DataSourceSummaries(_, context), "dataSourceSummaries"),
3397
3300
  nextToken: import_smithy_client.expectString
3398
3301
  });
3399
3302
  Object.assign(contents, doc);
@@ -3408,7 +3311,7 @@ var de_ListFlowAliasesCommand = /* @__PURE__ */ __name(async (output, context) =
3408
3311
  });
3409
3312
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3410
3313
  const doc = (0, import_smithy_client.take)(data, {
3411
- flowAliasSummaries: (_) => de_FlowAliasSummaries(_, context),
3314
+ flowAliasSummaries: /* @__PURE__ */ __name((_) => de_FlowAliasSummaries(_, context), "flowAliasSummaries"),
3412
3315
  nextToken: import_smithy_client.expectString
3413
3316
  });
3414
3317
  Object.assign(contents, doc);
@@ -3423,7 +3326,7 @@ var de_ListFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
3423
3326
  });
3424
3327
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3425
3328
  const doc = (0, import_smithy_client.take)(data, {
3426
- flowSummaries: (_) => de_FlowSummaries(_, context),
3329
+ flowSummaries: /* @__PURE__ */ __name((_) => de_FlowSummaries(_, context), "flowSummaries"),
3427
3330
  nextToken: import_smithy_client.expectString
3428
3331
  });
3429
3332
  Object.assign(contents, doc);
@@ -3438,7 +3341,7 @@ var de_ListFlowVersionsCommand = /* @__PURE__ */ __name(async (output, context)
3438
3341
  });
3439
3342
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3440
3343
  const doc = (0, import_smithy_client.take)(data, {
3441
- flowVersionSummaries: (_) => de_FlowVersionSummaries(_, context),
3344
+ flowVersionSummaries: /* @__PURE__ */ __name((_) => de_FlowVersionSummaries(_, context), "flowVersionSummaries"),
3442
3345
  nextToken: import_smithy_client.expectString
3443
3346
  });
3444
3347
  Object.assign(contents, doc);
@@ -3453,7 +3356,7 @@ var de_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (output, context)
3453
3356
  });
3454
3357
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3455
3358
  const doc = (0, import_smithy_client.take)(data, {
3456
- ingestionJobSummaries: (_) => de_IngestionJobSummaries(_, context),
3359
+ ingestionJobSummaries: /* @__PURE__ */ __name((_) => de_IngestionJobSummaries(_, context), "ingestionJobSummaries"),
3457
3360
  nextToken: import_smithy_client.expectString
3458
3361
  });
3459
3362
  Object.assign(contents, doc);
@@ -3468,7 +3371,7 @@ var de_ListKnowledgeBaseDocumentsCommand = /* @__PURE__ */ __name(async (output,
3468
3371
  });
3469
3372
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3470
3373
  const doc = (0, import_smithy_client.take)(data, {
3471
- documentDetails: (_) => de_KnowledgeBaseDocumentDetails(_, context),
3374
+ documentDetails: /* @__PURE__ */ __name((_) => de_KnowledgeBaseDocumentDetails(_, context), "documentDetails"),
3472
3375
  nextToken: import_smithy_client.expectString
3473
3376
  });
3474
3377
  Object.assign(contents, doc);
@@ -3483,7 +3386,7 @@ var de_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, context
3483
3386
  });
3484
3387
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3485
3388
  const doc = (0, import_smithy_client.take)(data, {
3486
- knowledgeBaseSummaries: (_) => de_KnowledgeBaseSummaries(_, context),
3389
+ knowledgeBaseSummaries: /* @__PURE__ */ __name((_) => de_KnowledgeBaseSummaries(_, context), "knowledgeBaseSummaries"),
3487
3390
  nextToken: import_smithy_client.expectString
3488
3391
  });
3489
3392
  Object.assign(contents, doc);
@@ -3499,7 +3402,7 @@ var de_ListPromptsCommand = /* @__PURE__ */ __name(async (output, context) => {
3499
3402
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3500
3403
  const doc = (0, import_smithy_client.take)(data, {
3501
3404
  nextToken: import_smithy_client.expectString,
3502
- promptSummaries: (_) => de_PromptSummaries(_, context)
3405
+ promptSummaries: /* @__PURE__ */ __name((_) => de_PromptSummaries(_, context), "promptSummaries")
3503
3406
  });
3504
3407
  Object.assign(contents, doc);
3505
3408
  return contents;
@@ -3530,7 +3433,7 @@ var de_PrepareAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
3530
3433
  agentId: import_smithy_client.expectString,
3531
3434
  agentStatus: import_smithy_client.expectString,
3532
3435
  agentVersion: import_smithy_client.expectString,
3533
- 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")
3534
3437
  });
3535
3438
  Object.assign(contents, doc);
3536
3439
  return contents;
@@ -3559,7 +3462,7 @@ var de_StartIngestionJobCommand = /* @__PURE__ */ __name(async (output, context)
3559
3462
  });
3560
3463
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3561
3464
  const doc = (0, import_smithy_client.take)(data, {
3562
- ingestionJob: (_) => de_IngestionJob(_, context)
3465
+ ingestionJob: /* @__PURE__ */ __name((_) => de_IngestionJob(_, context), "ingestionJob")
3563
3466
  });
3564
3467
  Object.assign(contents, doc);
3565
3468
  return contents;
@@ -3573,7 +3476,7 @@ var de_StopIngestionJobCommand = /* @__PURE__ */ __name(async (output, context)
3573
3476
  });
3574
3477
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3575
3478
  const doc = (0, import_smithy_client.take)(data, {
3576
- ingestionJob: (_) => de_IngestionJob(_, context)
3479
+ ingestionJob: /* @__PURE__ */ __name((_) => de_IngestionJob(_, context), "ingestionJob")
3577
3480
  });
3578
3481
  Object.assign(contents, doc);
3579
3482
  return contents;
@@ -3607,7 +3510,7 @@ var de_UpdateAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
3607
3510
  });
3608
3511
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3609
3512
  const doc = (0, import_smithy_client.take)(data, {
3610
- agent: (_) => de_Agent(_, context)
3513
+ agent: /* @__PURE__ */ __name((_) => de_Agent(_, context), "agent")
3611
3514
  });
3612
3515
  Object.assign(contents, doc);
3613
3516
  return contents;
@@ -3621,7 +3524,7 @@ var de_UpdateAgentActionGroupCommand = /* @__PURE__ */ __name(async (output, con
3621
3524
  });
3622
3525
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3623
3526
  const doc = (0, import_smithy_client.take)(data, {
3624
- agentActionGroup: (_) => de_AgentActionGroup(_, context)
3527
+ agentActionGroup: /* @__PURE__ */ __name((_) => de_AgentActionGroup(_, context), "agentActionGroup")
3625
3528
  });
3626
3529
  Object.assign(contents, doc);
3627
3530
  return contents;
@@ -3635,7 +3538,7 @@ var de_UpdateAgentAliasCommand = /* @__PURE__ */ __name(async (output, context)
3635
3538
  });
3636
3539
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3637
3540
  const doc = (0, import_smithy_client.take)(data, {
3638
- agentAlias: (_) => de_AgentAlias(_, context)
3541
+ agentAlias: /* @__PURE__ */ __name((_) => de_AgentAlias(_, context), "agentAlias")
3639
3542
  });
3640
3543
  Object.assign(contents, doc);
3641
3544
  return contents;
@@ -3649,7 +3552,7 @@ var de_UpdateAgentCollaboratorCommand = /* @__PURE__ */ __name(async (output, co
3649
3552
  });
3650
3553
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3651
3554
  const doc = (0, import_smithy_client.take)(data, {
3652
- agentCollaborator: (_) => de_AgentCollaborator(_, context)
3555
+ agentCollaborator: /* @__PURE__ */ __name((_) => de_AgentCollaborator(_, context), "agentCollaborator")
3653
3556
  });
3654
3557
  Object.assign(contents, doc);
3655
3558
  return contents;
@@ -3663,7 +3566,7 @@ var de_UpdateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, c
3663
3566
  });
3664
3567
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3665
3568
  const doc = (0, import_smithy_client.take)(data, {
3666
- agentKnowledgeBase: (_) => de_AgentKnowledgeBase(_, context)
3569
+ agentKnowledgeBase: /* @__PURE__ */ __name((_) => de_AgentKnowledgeBase(_, context), "agentKnowledgeBase")
3667
3570
  });
3668
3571
  Object.assign(contents, doc);
3669
3572
  return contents;
@@ -3677,7 +3580,7 @@ var de_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
3677
3580
  });
3678
3581
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3679
3582
  const doc = (0, import_smithy_client.take)(data, {
3680
- dataSource: (_) => de_DataSource(_, context)
3583
+ dataSource: /* @__PURE__ */ __name((_) => de_DataSource(_, context), "dataSource")
3681
3584
  });
3682
3585
  Object.assign(contents, doc);
3683
3586
  return contents;
@@ -3692,15 +3595,15 @@ var de_UpdateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
3692
3595
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3693
3596
  const doc = (0, import_smithy_client.take)(data, {
3694
3597
  arn: import_smithy_client.expectString,
3695
- 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"),
3696
3599
  customerEncryptionKeyArn: import_smithy_client.expectString,
3697
- definition: (_) => de_FlowDefinition(_, context),
3600
+ definition: /* @__PURE__ */ __name((_) => de_FlowDefinition(_, context), "definition"),
3698
3601
  description: import_smithy_client.expectString,
3699
3602
  executionRoleArn: import_smithy_client.expectString,
3700
3603
  id: import_smithy_client.expectString,
3701
3604
  name: import_smithy_client.expectString,
3702
3605
  status: import_smithy_client.expectString,
3703
- 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"),
3704
3607
  version: import_smithy_client.expectString
3705
3608
  });
3706
3609
  Object.assign(contents, doc);
@@ -3716,13 +3619,13 @@ var de_UpdateFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) =
3716
3619
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3717
3620
  const doc = (0, import_smithy_client.take)(data, {
3718
3621
  arn: import_smithy_client.expectString,
3719
- 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"),
3720
3623
  description: import_smithy_client.expectString,
3721
3624
  flowId: import_smithy_client.expectString,
3722
3625
  id: import_smithy_client.expectString,
3723
3626
  name: import_smithy_client.expectString,
3724
3627
  routingConfiguration: import_smithy_client._json,
3725
- 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")
3726
3629
  });
3727
3630
  Object.assign(contents, doc);
3728
3631
  return contents;
@@ -3736,7 +3639,7 @@ var de_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
3736
3639
  });
3737
3640
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3738
3641
  const doc = (0, import_smithy_client.take)(data, {
3739
- knowledgeBase: (_) => de_KnowledgeBase(_, context)
3642
+ knowledgeBase: /* @__PURE__ */ __name((_) => de_KnowledgeBase(_, context), "knowledgeBase")
3740
3643
  });
3741
3644
  Object.assign(contents, doc);
3742
3645
  return contents;
@@ -3751,14 +3654,14 @@ var de_UpdatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
3751
3654
  const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3752
3655
  const doc = (0, import_smithy_client.take)(data, {
3753
3656
  arn: import_smithy_client.expectString,
3754
- 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"),
3755
3658
  customerEncryptionKeyArn: import_smithy_client.expectString,
3756
3659
  defaultVariant: import_smithy_client.expectString,
3757
3660
  description: import_smithy_client.expectString,
3758
3661
  id: import_smithy_client.expectString,
3759
3662
  name: import_smithy_client.expectString,
3760
- updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3761
- 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"),
3762
3665
  version: import_smithy_client.expectString
3763
3666
  });
3764
3667
  Object.assign(contents, doc);
@@ -3919,27 +3822,27 @@ var se_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((input, context)
3919
3822
  inputVariables: import_smithy_client._json,
3920
3823
  messages: import_smithy_client._json,
3921
3824
  system: import_smithy_client._json,
3922
- toolConfiguration: (_) => se_ToolConfiguration(_, context)
3825
+ toolConfiguration: /* @__PURE__ */ __name((_) => se_ToolConfiguration(_, context), "toolConfiguration")
3923
3826
  });
3924
3827
  }, "se_ChatPromptTemplateConfiguration");
3925
3828
  var se_CustomContent = /* @__PURE__ */ __name((input, context) => {
3926
3829
  return (0, import_smithy_client.take)(input, {
3927
3830
  customDocumentIdentifier: import_smithy_client._json,
3928
- inlineContent: (_) => se_InlineContent(_, context),
3831
+ inlineContent: /* @__PURE__ */ __name((_) => se_InlineContent(_, context), "inlineContent"),
3929
3832
  s3Location: import_smithy_client._json,
3930
3833
  sourceType: []
3931
3834
  });
3932
3835
  }, "se_CustomContent");
3933
3836
  var se_DocumentContent = /* @__PURE__ */ __name((input, context) => {
3934
3837
  return (0, import_smithy_client.take)(input, {
3935
- custom: (_) => se_CustomContent(_, context),
3838
+ custom: /* @__PURE__ */ __name((_) => se_CustomContent(_, context), "custom"),
3936
3839
  dataSourceType: [],
3937
3840
  s3: import_smithy_client._json
3938
3841
  });
3939
3842
  }, "se_DocumentContent");
3940
3843
  var se_DocumentMetadata = /* @__PURE__ */ __name((input, context) => {
3941
3844
  return (0, import_smithy_client.take)(input, {
3942
- inlineAttributes: (_) => se_MetadataAttributes(_, context),
3845
+ inlineAttributes: /* @__PURE__ */ __name((_) => se_MetadataAttributes(_, context), "inlineAttributes"),
3943
3846
  s3Location: import_smithy_client._json,
3944
3847
  type: []
3945
3848
  });
@@ -3947,12 +3850,12 @@ var se_DocumentMetadata = /* @__PURE__ */ __name((input, context) => {
3947
3850
  var se_FlowDefinition = /* @__PURE__ */ __name((input, context) => {
3948
3851
  return (0, import_smithy_client.take)(input, {
3949
3852
  connections: import_smithy_client._json,
3950
- nodes: (_) => se_FlowNodes(_, context)
3853
+ nodes: /* @__PURE__ */ __name((_) => se_FlowNodes(_, context), "nodes")
3951
3854
  });
3952
3855
  }, "se_FlowDefinition");
3953
3856
  var se_FlowNode = /* @__PURE__ */ __name((input, context) => {
3954
3857
  return (0, import_smithy_client.take)(input, {
3955
- configuration: (_) => se_FlowNodeConfiguration(_, context),
3858
+ configuration: /* @__PURE__ */ __name((_) => se_FlowNodeConfiguration(_, context), "configuration"),
3956
3859
  inputs: import_smithy_client._json,
3957
3860
  name: [],
3958
3861
  outputs: import_smithy_client._json,
@@ -3961,19 +3864,19 @@ var se_FlowNode = /* @__PURE__ */ __name((input, context) => {
3961
3864
  }, "se_FlowNode");
3962
3865
  var se_FlowNodeConfiguration = /* @__PURE__ */ __name((input, context) => {
3963
3866
  return FlowNodeConfiguration.visit(input, {
3964
- agent: (value) => ({ agent: (0, import_smithy_client._json)(value) }),
3965
- collector: (value) => ({ collector: (0, import_smithy_client._json)(value) }),
3966
- condition: (value) => ({ condition: (0, import_smithy_client._json)(value) }),
3967
- input: (value) => ({ input: (0, import_smithy_client._json)(value) }),
3968
- iterator: (value) => ({ iterator: (0, import_smithy_client._json)(value) }),
3969
- knowledgeBase: (value) => ({ knowledgeBase: (0, import_smithy_client._json)(value) }),
3970
- lambdaFunction: (value) => ({ lambdaFunction: (0, import_smithy_client._json)(value) }),
3971
- lex: (value) => ({ lex: (0, import_smithy_client._json)(value) }),
3972
- output: (value) => ({ output: (0, import_smithy_client._json)(value) }),
3973
- prompt: (value) => ({ prompt: se_PromptFlowNodeConfiguration(value, context) }),
3974
- retrieval: (value) => ({ retrieval: (0, import_smithy_client._json)(value) }),
3975
- storage: (value) => ({ storage: (0, import_smithy_client._json)(value) }),
3976
- _: (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 }), "_")
3977
3880
  });
3978
3881
  }, "se_FlowNodeConfiguration");
3979
3882
  var se_FlowNodes = /* @__PURE__ */ __name((input, context) => {
@@ -3992,15 +3895,15 @@ var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
3992
3895
  }, "se_InferenceConfiguration");
3993
3896
  var se_InlineContent = /* @__PURE__ */ __name((input, context) => {
3994
3897
  return (0, import_smithy_client.take)(input, {
3995
- byteContent: (_) => se_ByteContentDoc(_, context),
3898
+ byteContent: /* @__PURE__ */ __name((_) => se_ByteContentDoc(_, context), "byteContent"),
3996
3899
  textContent: import_smithy_client._json,
3997
3900
  type: []
3998
3901
  });
3999
3902
  }, "se_InlineContent");
4000
3903
  var se_KnowledgeBaseDocument = /* @__PURE__ */ __name((input, context) => {
4001
3904
  return (0, import_smithy_client.take)(input, {
4002
- content: (_) => se_DocumentContent(_, context),
4003
- metadata: (_) => se_DocumentMetadata(_, context)
3905
+ content: /* @__PURE__ */ __name((_) => se_DocumentContent(_, context), "content"),
3906
+ metadata: /* @__PURE__ */ __name((_) => se_DocumentMetadata(_, context), "metadata")
4004
3907
  });
4005
3908
  }, "se_KnowledgeBaseDocument");
4006
3909
  var se_KnowledgeBaseDocuments = /* @__PURE__ */ __name((input, context) => {
@@ -4011,7 +3914,7 @@ var se_KnowledgeBaseDocuments = /* @__PURE__ */ __name((input, context) => {
4011
3914
  var se_MetadataAttribute = /* @__PURE__ */ __name((input, context) => {
4012
3915
  return (0, import_smithy_client.take)(input, {
4013
3916
  key: [],
4014
- value: (_) => se_MetadataAttributeValue(_, context)
3917
+ value: /* @__PURE__ */ __name((_) => se_MetadataAttributeValue(_, context), "value")
4015
3918
  });
4016
3919
  }, "se_MetadataAttribute");
4017
3920
  var se_MetadataAttributes = /* @__PURE__ */ __name((input, context) => {
@@ -4030,10 +3933,10 @@ var se_MetadataAttributeValue = /* @__PURE__ */ __name((input, context) => {
4030
3933
  }, "se_MetadataAttributeValue");
4031
3934
  var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
4032
3935
  return (0, import_smithy_client.take)(input, {
4033
- additionalModelRequestFields: (_) => se_Document(_, context),
3936
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
4034
3937
  basePromptTemplate: [],
4035
3938
  foundationModel: [],
4036
- inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
3939
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => se_InferenceConfiguration(_, context), "inferenceConfiguration"),
4037
3940
  parserMode: [],
4038
3941
  promptCreationMode: [],
4039
3942
  promptState: [],
@@ -4048,29 +3951,29 @@ var se_PromptConfigurations = /* @__PURE__ */ __name((input, context) => {
4048
3951
  var se_PromptFlowNodeConfiguration = /* @__PURE__ */ __name((input, context) => {
4049
3952
  return (0, import_smithy_client.take)(input, {
4050
3953
  guardrailConfiguration: import_smithy_client._json,
4051
- sourceConfiguration: (_) => se_PromptFlowNodeSourceConfiguration(_, context)
3954
+ sourceConfiguration: /* @__PURE__ */ __name((_) => se_PromptFlowNodeSourceConfiguration(_, context), "sourceConfiguration")
4052
3955
  });
4053
3956
  }, "se_PromptFlowNodeConfiguration");
4054
3957
  var se_PromptFlowNodeInlineConfiguration = /* @__PURE__ */ __name((input, context) => {
4055
3958
  return (0, import_smithy_client.take)(input, {
4056
- additionalModelRequestFields: (_) => se_Document(_, context),
4057
- inferenceConfiguration: (_) => se_PromptInferenceConfiguration(_, context),
3959
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
3960
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => se_PromptInferenceConfiguration(_, context), "inferenceConfiguration"),
4058
3961
  modelId: [],
4059
- templateConfiguration: (_) => se_PromptTemplateConfiguration(_, context),
3962
+ templateConfiguration: /* @__PURE__ */ __name((_) => se_PromptTemplateConfiguration(_, context), "templateConfiguration"),
4060
3963
  templateType: []
4061
3964
  });
4062
3965
  }, "se_PromptFlowNodeInlineConfiguration");
4063
3966
  var se_PromptFlowNodeSourceConfiguration = /* @__PURE__ */ __name((input, context) => {
4064
3967
  return PromptFlowNodeSourceConfiguration.visit(input, {
4065
- inline: (value) => ({ inline: se_PromptFlowNodeInlineConfiguration(value, context) }),
4066
- resource: (value) => ({ resource: (0, import_smithy_client._json)(value) }),
4067
- _: (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 }), "_")
4068
3971
  });
4069
3972
  }, "se_PromptFlowNodeSourceConfiguration");
4070
3973
  var se_PromptInferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
4071
3974
  return PromptInferenceConfiguration.visit(input, {
4072
- text: (value) => ({ text: se_PromptModelInferenceConfiguration(value, context) }),
4073
- _: (name, value) => ({ [name]: value })
3975
+ text: /* @__PURE__ */ __name((value) => ({ text: se_PromptModelInferenceConfiguration(value, context) }), "text"),
3976
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4074
3977
  });
4075
3978
  }, "se_PromptInferenceConfiguration");
4076
3979
  var se_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
@@ -4084,25 +3987,25 @@ var se_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((input, contex
4084
3987
  var se_PromptOverrideConfiguration = /* @__PURE__ */ __name((input, context) => {
4085
3988
  return (0, import_smithy_client.take)(input, {
4086
3989
  overrideLambda: [],
4087
- promptConfigurations: (_) => se_PromptConfigurations(_, context)
3990
+ promptConfigurations: /* @__PURE__ */ __name((_) => se_PromptConfigurations(_, context), "promptConfigurations")
4088
3991
  });
4089
3992
  }, "se_PromptOverrideConfiguration");
4090
3993
  var se_PromptTemplateConfiguration = /* @__PURE__ */ __name((input, context) => {
4091
3994
  return PromptTemplateConfiguration.visit(input, {
4092
- chat: (value) => ({ chat: se_ChatPromptTemplateConfiguration(value, context) }),
4093
- text: (value) => ({ text: (0, import_smithy_client._json)(value) }),
4094
- _: (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 }), "_")
4095
3998
  });
4096
3999
  }, "se_PromptTemplateConfiguration");
4097
4000
  var se_PromptVariant = /* @__PURE__ */ __name((input, context) => {
4098
4001
  return (0, import_smithy_client.take)(input, {
4099
- additionalModelRequestFields: (_) => se_Document(_, context),
4002
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => se_Document(_, context), "additionalModelRequestFields"),
4100
4003
  genAiResource: import_smithy_client._json,
4101
- inferenceConfiguration: (_) => se_PromptInferenceConfiguration(_, context),
4004
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => se_PromptInferenceConfiguration(_, context), "inferenceConfiguration"),
4102
4005
  metadata: import_smithy_client._json,
4103
4006
  modelId: [],
4104
4007
  name: [],
4105
- templateConfiguration: (_) => se_PromptTemplateConfiguration(_, context),
4008
+ templateConfiguration: /* @__PURE__ */ __name((_) => se_PromptTemplateConfiguration(_, context), "templateConfiguration"),
4106
4009
  templateType: []
4107
4010
  });
4108
4011
  }, "se_PromptVariant");
@@ -4113,21 +4016,21 @@ var se_PromptVariantList = /* @__PURE__ */ __name((input, context) => {
4113
4016
  }, "se_PromptVariantList");
4114
4017
  var se_Tool = /* @__PURE__ */ __name((input, context) => {
4115
4018
  return Tool.visit(input, {
4116
- cachePoint: (value) => ({ cachePoint: (0, import_smithy_client._json)(value) }),
4117
- toolSpec: (value) => ({ toolSpec: se_ToolSpecification(value, context) }),
4118
- _: (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 }), "_")
4119
4022
  });
4120
4023
  }, "se_Tool");
4121
4024
  var se_ToolConfiguration = /* @__PURE__ */ __name((input, context) => {
4122
4025
  return (0, import_smithy_client.take)(input, {
4123
4026
  toolChoice: import_smithy_client._json,
4124
- tools: (_) => se_Tools(_, context)
4027
+ tools: /* @__PURE__ */ __name((_) => se_Tools(_, context), "tools")
4125
4028
  });
4126
4029
  }, "se_ToolConfiguration");
4127
4030
  var se_ToolInputSchema = /* @__PURE__ */ __name((input, context) => {
4128
4031
  return ToolInputSchema.visit(input, {
4129
- json: (value) => ({ json: se_Document(value, context) }),
4130
- _: (name, value) => ({ [name]: value })
4032
+ json: /* @__PURE__ */ __name((value) => ({ json: se_Document(value, context) }), "json"),
4033
+ _: /* @__PURE__ */ __name((name, value) => ({ [name]: value }), "_")
4131
4034
  });
4132
4035
  }, "se_ToolInputSchema");
4133
4036
  var se_Tools = /* @__PURE__ */ __name((input, context) => {
@@ -4138,7 +4041,7 @@ var se_Tools = /* @__PURE__ */ __name((input, context) => {
4138
4041
  var se_ToolSpecification = /* @__PURE__ */ __name((input, context) => {
4139
4042
  return (0, import_smithy_client.take)(input, {
4140
4043
  description: [],
4141
- inputSchema: (_) => se_ToolInputSchema(_, context),
4044
+ inputSchema: /* @__PURE__ */ __name((_) => se_ToolInputSchema(_, context), "inputSchema"),
4142
4045
  name: []
4143
4046
  });
4144
4047
  }, "se_ToolSpecification");
@@ -4157,7 +4060,7 @@ var de_ActionGroupSummary = /* @__PURE__ */ __name((output, context) => {
4157
4060
  actionGroupName: import_smithy_client.expectString,
4158
4061
  actionGroupState: import_smithy_client.expectString,
4159
4062
  description: import_smithy_client.expectString,
4160
- 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")
4161
4064
  });
4162
4065
  }, "de_ActionGroupSummary");
4163
4066
  var de_Agent = /* @__PURE__ */ __name((output, context) => {
@@ -4170,7 +4073,7 @@ var de_Agent = /* @__PURE__ */ __name((output, context) => {
4170
4073
  agentStatus: import_smithy_client.expectString,
4171
4074
  agentVersion: import_smithy_client.expectString,
4172
4075
  clientToken: import_smithy_client.expectString,
4173
- 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"),
4174
4077
  customOrchestration: import_smithy_client._json,
4175
4078
  customerEncryptionKeyArn: import_smithy_client.expectString,
4176
4079
  description: import_smithy_client.expectString,
@@ -4181,51 +4084,51 @@ var de_Agent = /* @__PURE__ */ __name((output, context) => {
4181
4084
  instruction: import_smithy_client.expectString,
4182
4085
  memoryConfiguration: import_smithy_client._json,
4183
4086
  orchestrationType: import_smithy_client.expectString,
4184
- preparedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4185
- 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"),
4186
4089
  recommendedActions: import_smithy_client._json,
4187
- 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")
4188
4091
  });
4189
4092
  }, "de_Agent");
4190
4093
  var de_AgentActionGroup = /* @__PURE__ */ __name((output, context) => {
4191
4094
  return (0, import_smithy_client.take)(output, {
4192
- actionGroupExecutor: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4095
+ actionGroupExecutor: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "actionGroupExecutor"),
4193
4096
  actionGroupId: import_smithy_client.expectString,
4194
4097
  actionGroupName: import_smithy_client.expectString,
4195
4098
  actionGroupState: import_smithy_client.expectString,
4196
4099
  agentId: import_smithy_client.expectString,
4197
4100
  agentVersion: import_smithy_client.expectString,
4198
- apiSchema: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4101
+ apiSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "apiSchema"),
4199
4102
  clientToken: import_smithy_client.expectString,
4200
- 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"),
4201
4104
  description: import_smithy_client.expectString,
4202
- functionSchema: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4105
+ functionSchema: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)), "functionSchema"),
4203
4106
  parentActionGroupSignatureParams: import_smithy_client._json,
4204
4107
  parentActionSignature: import_smithy_client.expectString,
4205
- 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")
4206
4109
  });
4207
4110
  }, "de_AgentActionGroup");
4208
4111
  var de_AgentAlias = /* @__PURE__ */ __name((output, context) => {
4209
4112
  return (0, import_smithy_client.take)(output, {
4210
4113
  agentAliasArn: import_smithy_client.expectString,
4211
- agentAliasHistoryEvents: (_) => de_AgentAliasHistoryEvents(_, context),
4114
+ agentAliasHistoryEvents: /* @__PURE__ */ __name((_) => de_AgentAliasHistoryEvents(_, context), "agentAliasHistoryEvents"),
4212
4115
  agentAliasId: import_smithy_client.expectString,
4213
4116
  agentAliasName: import_smithy_client.expectString,
4214
4117
  agentAliasStatus: import_smithy_client.expectString,
4215
4118
  agentId: import_smithy_client.expectString,
4216
4119
  clientToken: import_smithy_client.expectString,
4217
- 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"),
4218
4121
  description: import_smithy_client.expectString,
4219
4122
  failureReasons: import_smithy_client._json,
4220
4123
  routingConfiguration: import_smithy_client._json,
4221
- 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")
4222
4125
  });
4223
4126
  }, "de_AgentAlias");
4224
4127
  var de_AgentAliasHistoryEvent = /* @__PURE__ */ __name((output, context) => {
4225
4128
  return (0, import_smithy_client.take)(output, {
4226
- 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"),
4227
4130
  routingConfiguration: import_smithy_client._json,
4228
- 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")
4229
4132
  });
4230
4133
  }, "de_AgentAliasHistoryEvent");
4231
4134
  var de_AgentAliasHistoryEvents = /* @__PURE__ */ __name((output, context) => {
@@ -4245,10 +4148,10 @@ var de_AgentAliasSummary = /* @__PURE__ */ __name((output, context) => {
4245
4148
  agentAliasId: import_smithy_client.expectString,
4246
4149
  agentAliasName: import_smithy_client.expectString,
4247
4150
  agentAliasStatus: import_smithy_client.expectString,
4248
- 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"),
4249
4152
  description: import_smithy_client.expectString,
4250
4153
  routingConfiguration: import_smithy_client._json,
4251
- 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")
4252
4155
  });
4253
4156
  }, "de_AgentAliasSummary");
4254
4157
  var de_AgentCollaborator = /* @__PURE__ */ __name((output, context) => {
@@ -4260,8 +4163,8 @@ var de_AgentCollaborator = /* @__PURE__ */ __name((output, context) => {
4260
4163
  collaborationInstruction: import_smithy_client.expectString,
4261
4164
  collaboratorId: import_smithy_client.expectString,
4262
4165
  collaboratorName: import_smithy_client.expectString,
4263
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4264
- 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"),
4265
4168
  relayConversationHistory: import_smithy_client.expectString
4266
4169
  });
4267
4170
  }, "de_AgentCollaborator");
@@ -4279,8 +4182,8 @@ var de_AgentCollaboratorSummary = /* @__PURE__ */ __name((output, context) => {
4279
4182
  collaborationInstruction: import_smithy_client.expectString,
4280
4183
  collaboratorId: import_smithy_client.expectString,
4281
4184
  collaboratorName: import_smithy_client.expectString,
4282
- createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
4283
- 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"),
4284
4187
  relayConversationHistory: import_smithy_client.expectString
4285
4188
  });
4286
4189
  }, "de_AgentCollaboratorSummary");
@@ -4288,11 +4191,11 @@ var de_AgentKnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4288
4191
  return (0, import_smithy_client.take)(output, {
4289
4192
  agentId: import_smithy_client.expectString,
4290
4193
  agentVersion: import_smithy_client.expectString,
4291
- 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"),
4292
4195
  description: import_smithy_client.expectString,
4293
4196
  knowledgeBaseId: import_smithy_client.expectString,
4294
4197
  knowledgeBaseState: import_smithy_client.expectString,
4295
- 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")
4296
4199
  });
4297
4200
  }, "de_AgentKnowledgeBase");
4298
4201
  var de_AgentKnowledgeBaseSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4306,7 +4209,7 @@ var de_AgentKnowledgeBaseSummary = /* @__PURE__ */ __name((output, context) => {
4306
4209
  description: import_smithy_client.expectString,
4307
4210
  knowledgeBaseId: import_smithy_client.expectString,
4308
4211
  knowledgeBaseState: import_smithy_client.expectString,
4309
- 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")
4310
4213
  });
4311
4214
  }, "de_AgentKnowledgeBaseSummary");
4312
4215
  var de_AgentSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4323,7 +4226,7 @@ var de_AgentSummary = /* @__PURE__ */ __name((output, context) => {
4323
4226
  description: import_smithy_client.expectString,
4324
4227
  guardrailConfiguration: import_smithy_client._json,
4325
4228
  latestAgentVersion: import_smithy_client.expectString,
4326
- 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")
4327
4230
  });
4328
4231
  }, "de_AgentSummary");
4329
4232
  var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
@@ -4334,7 +4237,7 @@ var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
4334
4237
  agentName: import_smithy_client.expectString,
4335
4238
  agentResourceRoleArn: import_smithy_client.expectString,
4336
4239
  agentStatus: import_smithy_client.expectString,
4337
- 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"),
4338
4241
  customerEncryptionKeyArn: import_smithy_client.expectString,
4339
4242
  description: import_smithy_client.expectString,
4340
4243
  failureReasons: import_smithy_client._json,
@@ -4343,9 +4246,9 @@ var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
4343
4246
  idleSessionTTLInSeconds: import_smithy_client.expectInt32,
4344
4247
  instruction: import_smithy_client.expectString,
4345
4248
  memoryConfiguration: import_smithy_client._json,
4346
- promptOverrideConfiguration: (_) => de_PromptOverrideConfiguration(_, context),
4249
+ promptOverrideConfiguration: /* @__PURE__ */ __name((_) => de_PromptOverrideConfiguration(_, context), "promptOverrideConfiguration"),
4347
4250
  recommendedActions: import_smithy_client._json,
4348
- 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"),
4349
4252
  version: import_smithy_client.expectString
4350
4253
  });
4351
4254
  }, "de_AgentVersion");
@@ -4360,10 +4263,10 @@ var de_AgentVersionSummary = /* @__PURE__ */ __name((output, context) => {
4360
4263
  agentName: import_smithy_client.expectString,
4361
4264
  agentStatus: import_smithy_client.expectString,
4362
4265
  agentVersion: import_smithy_client.expectString,
4363
- 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"),
4364
4267
  description: import_smithy_client.expectString,
4365
4268
  guardrailConfiguration: import_smithy_client._json,
4366
- 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")
4367
4270
  });
4368
4271
  }, "de_AgentVersionSummary");
4369
4272
  var de_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((output, context) => {
@@ -4371,12 +4274,12 @@ var de_ChatPromptTemplateConfiguration = /* @__PURE__ */ __name((output, context
4371
4274
  inputVariables: import_smithy_client._json,
4372
4275
  messages: import_smithy_client._json,
4373
4276
  system: import_smithy_client._json,
4374
- toolConfiguration: (_) => de_ToolConfiguration(_, context)
4277
+ toolConfiguration: /* @__PURE__ */ __name((_) => de_ToolConfiguration(_, context), "toolConfiguration")
4375
4278
  });
4376
4279
  }, "de_ChatPromptTemplateConfiguration");
4377
4280
  var de_DataSource = /* @__PURE__ */ __name((output, context) => {
4378
4281
  return (0, import_smithy_client.take)(output, {
4379
- 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"),
4380
4283
  dataDeletionPolicy: import_smithy_client.expectString,
4381
4284
  dataSourceConfiguration: import_smithy_client._json,
4382
4285
  dataSourceId: import_smithy_client.expectString,
@@ -4386,7 +4289,7 @@ var de_DataSource = /* @__PURE__ */ __name((output, context) => {
4386
4289
  name: import_smithy_client.expectString,
4387
4290
  serverSideEncryptionConfiguration: import_smithy_client._json,
4388
4291
  status: import_smithy_client.expectString,
4389
- 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"),
4390
4293
  vectorIngestionConfiguration: import_smithy_client._json
4391
4294
  });
4392
4295
  }, "de_DataSource");
@@ -4403,7 +4306,7 @@ var de_DataSourceSummary = /* @__PURE__ */ __name((output, context) => {
4403
4306
  knowledgeBaseId: import_smithy_client.expectString,
4404
4307
  name: import_smithy_client.expectString,
4405
4308
  status: import_smithy_client.expectString,
4406
- 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")
4407
4310
  });
4408
4311
  }, "de_DataSourceSummary");
4409
4312
  var de_FlowAliasSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4415,24 +4318,24 @@ var de_FlowAliasSummaries = /* @__PURE__ */ __name((output, context) => {
4415
4318
  var de_FlowAliasSummary = /* @__PURE__ */ __name((output, context) => {
4416
4319
  return (0, import_smithy_client.take)(output, {
4417
4320
  arn: import_smithy_client.expectString,
4418
- 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"),
4419
4322
  description: import_smithy_client.expectString,
4420
4323
  flowId: import_smithy_client.expectString,
4421
4324
  id: import_smithy_client.expectString,
4422
4325
  name: import_smithy_client.expectString,
4423
4326
  routingConfiguration: import_smithy_client._json,
4424
- 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")
4425
4328
  });
4426
4329
  }, "de_FlowAliasSummary");
4427
4330
  var de_FlowDefinition = /* @__PURE__ */ __name((output, context) => {
4428
4331
  return (0, import_smithy_client.take)(output, {
4429
4332
  connections: import_smithy_client._json,
4430
- nodes: (_) => de_FlowNodes(_, context)
4333
+ nodes: /* @__PURE__ */ __name((_) => de_FlowNodes(_, context), "nodes")
4431
4334
  });
4432
4335
  }, "de_FlowDefinition");
4433
4336
  var de_FlowNode = /* @__PURE__ */ __name((output, context) => {
4434
4337
  return (0, import_smithy_client.take)(output, {
4435
- configuration: (_) => de_FlowNodeConfiguration((0, import_core2.awsExpectUnion)(_), context),
4338
+ configuration: /* @__PURE__ */ __name((_) => de_FlowNodeConfiguration((0, import_core2.awsExpectUnion)(_), context), "configuration"),
4436
4339
  inputs: import_smithy_client._json,
4437
4340
  name: import_smithy_client.expectString,
4438
4341
  outputs: import_smithy_client._json,
@@ -4517,12 +4420,12 @@ var de_FlowSummaries = /* @__PURE__ */ __name((output, context) => {
4517
4420
  var de_FlowSummary = /* @__PURE__ */ __name((output, context) => {
4518
4421
  return (0, import_smithy_client.take)(output, {
4519
4422
  arn: import_smithy_client.expectString,
4520
- 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"),
4521
4424
  description: import_smithy_client.expectString,
4522
4425
  id: import_smithy_client.expectString,
4523
4426
  name: import_smithy_client.expectString,
4524
4427
  status: import_smithy_client.expectString,
4525
- 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"),
4526
4429
  version: import_smithy_client.expectString
4527
4430
  });
4528
4431
  }, "de_FlowSummary");
@@ -4535,7 +4438,7 @@ var de_FlowVersionSummaries = /* @__PURE__ */ __name((output, context) => {
4535
4438
  var de_FlowVersionSummary = /* @__PURE__ */ __name((output, context) => {
4536
4439
  return (0, import_smithy_client.take)(output, {
4537
4440
  arn: import_smithy_client.expectString,
4538
- 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"),
4539
4442
  id: import_smithy_client.expectString,
4540
4443
  status: import_smithy_client.expectString,
4541
4444
  version: import_smithy_client.expectString
@@ -4557,10 +4460,10 @@ var de_IngestionJob = /* @__PURE__ */ __name((output, context) => {
4557
4460
  failureReasons: import_smithy_client._json,
4558
4461
  ingestionJobId: import_smithy_client.expectString,
4559
4462
  knowledgeBaseId: import_smithy_client.expectString,
4560
- 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"),
4561
4464
  statistics: import_smithy_client._json,
4562
4465
  status: import_smithy_client.expectString,
4563
- 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")
4564
4467
  });
4565
4468
  }, "de_IngestionJob");
4566
4469
  var de_IngestionJobSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4575,15 +4478,15 @@ var de_IngestionJobSummary = /* @__PURE__ */ __name((output, context) => {
4575
4478
  description: import_smithy_client.expectString,
4576
4479
  ingestionJobId: import_smithy_client.expectString,
4577
4480
  knowledgeBaseId: import_smithy_client.expectString,
4578
- 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"),
4579
4482
  statistics: import_smithy_client._json,
4580
4483
  status: import_smithy_client.expectString,
4581
- 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")
4582
4485
  });
4583
4486
  }, "de_IngestionJobSummary");
4584
4487
  var de_KnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4585
4488
  return (0, import_smithy_client.take)(output, {
4586
- 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"),
4587
4490
  description: import_smithy_client.expectString,
4588
4491
  failureReasons: import_smithy_client._json,
4589
4492
  knowledgeBaseArn: import_smithy_client.expectString,
@@ -4593,7 +4496,7 @@ var de_KnowledgeBase = /* @__PURE__ */ __name((output, context) => {
4593
4496
  roleArn: import_smithy_client.expectString,
4594
4497
  status: import_smithy_client.expectString,
4595
4498
  storageConfiguration: import_smithy_client._json,
4596
- 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")
4597
4500
  });
4598
4501
  }, "de_KnowledgeBase");
4599
4502
  var de_KnowledgeBaseDocumentDetail = /* @__PURE__ */ __name((output, context) => {
@@ -4603,7 +4506,7 @@ var de_KnowledgeBaseDocumentDetail = /* @__PURE__ */ __name((output, context) =>
4603
4506
  knowledgeBaseId: import_smithy_client.expectString,
4604
4507
  status: import_smithy_client.expectString,
4605
4508
  statusReason: import_smithy_client.expectString,
4606
- 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")
4607
4510
  });
4608
4511
  }, "de_KnowledgeBaseDocumentDetail");
4609
4512
  var de_KnowledgeBaseDocumentDetails = /* @__PURE__ */ __name((output, context) => {
@@ -4624,15 +4527,15 @@ var de_KnowledgeBaseSummary = /* @__PURE__ */ __name((output, context) => {
4624
4527
  knowledgeBaseId: import_smithy_client.expectString,
4625
4528
  name: import_smithy_client.expectString,
4626
4529
  status: import_smithy_client.expectString,
4627
- 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")
4628
4531
  });
4629
4532
  }, "de_KnowledgeBaseSummary");
4630
4533
  var de_PromptConfiguration = /* @__PURE__ */ __name((output, context) => {
4631
4534
  return (0, import_smithy_client.take)(output, {
4632
- additionalModelRequestFields: (_) => de_Document(_, context),
4535
+ additionalModelRequestFields: /* @__PURE__ */ __name((_) => de_Document(_, context), "additionalModelRequestFields"),
4633
4536
  basePromptTemplate: import_smithy_client.expectString,
4634
4537
  foundationModel: import_smithy_client.expectString,
4635
- inferenceConfiguration: (_) => de_InferenceConfiguration(_, context),
4538
+ inferenceConfiguration: /* @__PURE__ */ __name((_) => de_InferenceConfiguration(_, context), "inferenceConfiguration"),
4636
4539
  parserMode: import_smithy_client.expectString,
4637
4540
  promptCreationMode: import_smithy_client.expectString,
4638
4541
  promptState: import_smithy_client.expectString,
@@ -4648,15 +4551,15 @@ var de_PromptConfigurations = /* @__PURE__ */ __name((output, context) => {
4648
4551
  var de_PromptFlowNodeConfiguration = /* @__PURE__ */ __name((output, context) => {
4649
4552
  return (0, import_smithy_client.take)(output, {
4650
4553
  guardrailConfiguration: import_smithy_client._json,
4651
- sourceConfiguration: (_) => de_PromptFlowNodeSourceConfiguration((0, import_core2.awsExpectUnion)(_), context)
4554
+ sourceConfiguration: /* @__PURE__ */ __name((_) => de_PromptFlowNodeSourceConfiguration((0, import_core2.awsExpectUnion)(_), context), "sourceConfiguration")
4652
4555
  });
4653
4556
  }, "de_PromptFlowNodeConfiguration");
4654
4557
  var de_PromptFlowNodeInlineConfiguration = /* @__PURE__ */ __name((output, context) => {
4655
4558
  return (0, import_smithy_client.take)(output, {
4656
- additionalModelRequestFields: (_) => de_Document(_, context),
4657
- 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"),
4658
4561
  modelId: import_smithy_client.expectString,
4659
- templateConfiguration: (_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context),
4562
+ templateConfiguration: /* @__PURE__ */ __name((_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context), "templateConfiguration"),
4660
4563
  templateType: import_smithy_client.expectString
4661
4564
  });
4662
4565
  }, "de_PromptFlowNodeInlineConfiguration");
@@ -4692,7 +4595,7 @@ var de_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((output, conte
4692
4595
  var de_PromptOverrideConfiguration = /* @__PURE__ */ __name((output, context) => {
4693
4596
  return (0, import_smithy_client.take)(output, {
4694
4597
  overrideLambda: import_smithy_client.expectString,
4695
- promptConfigurations: (_) => de_PromptConfigurations(_, context)
4598
+ promptConfigurations: /* @__PURE__ */ __name((_) => de_PromptConfigurations(_, context), "promptConfigurations")
4696
4599
  });
4697
4600
  }, "de_PromptOverrideConfiguration");
4698
4601
  var de_PromptSummaries = /* @__PURE__ */ __name((output, context) => {
@@ -4704,11 +4607,11 @@ var de_PromptSummaries = /* @__PURE__ */ __name((output, context) => {
4704
4607
  var de_PromptSummary = /* @__PURE__ */ __name((output, context) => {
4705
4608
  return (0, import_smithy_client.take)(output, {
4706
4609
  arn: import_smithy_client.expectString,
4707
- 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"),
4708
4611
  description: import_smithy_client.expectString,
4709
4612
  id: import_smithy_client.expectString,
4710
4613
  name: import_smithy_client.expectString,
4711
- 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"),
4712
4615
  version: import_smithy_client.expectString
4713
4616
  });
4714
4617
  }, "de_PromptSummary");
@@ -4727,13 +4630,13 @@ var de_PromptTemplateConfiguration = /* @__PURE__ */ __name((output, context) =>
4727
4630
  }, "de_PromptTemplateConfiguration");
4728
4631
  var de_PromptVariant = /* @__PURE__ */ __name((output, context) => {
4729
4632
  return (0, import_smithy_client.take)(output, {
4730
- additionalModelRequestFields: (_) => de_Document(_, context),
4731
- genAiResource: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4732
- 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"),
4733
4636
  metadata: import_smithy_client._json,
4734
4637
  modelId: import_smithy_client.expectString,
4735
4638
  name: import_smithy_client.expectString,
4736
- templateConfiguration: (_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context),
4639
+ templateConfiguration: /* @__PURE__ */ __name((_) => de_PromptTemplateConfiguration((0, import_core2.awsExpectUnion)(_), context), "templateConfiguration"),
4737
4640
  templateType: import_smithy_client.expectString
4738
4641
  });
4739
4642
  }, "de_PromptVariant");
@@ -4758,8 +4661,8 @@ var de_Tool = /* @__PURE__ */ __name((output, context) => {
4758
4661
  }, "de_Tool");
4759
4662
  var de_ToolConfiguration = /* @__PURE__ */ __name((output, context) => {
4760
4663
  return (0, import_smithy_client.take)(output, {
4761
- toolChoice: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
4762
- 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")
4763
4666
  });
4764
4667
  }, "de_ToolConfiguration");
4765
4668
  var de_ToolInputSchema = /* @__PURE__ */ __name((output, context) => {
@@ -4779,7 +4682,7 @@ var de_Tools = /* @__PURE__ */ __name((output, context) => {
4779
4682
  var de_ToolSpecification = /* @__PURE__ */ __name((output, context) => {
4780
4683
  return (0, import_smithy_client.take)(output, {
4781
4684
  description: import_smithy_client.expectString,
4782
- inputSchema: (_) => de_ToolInputSchema((0, import_core2.awsExpectUnion)(_), context),
4685
+ inputSchema: /* @__PURE__ */ __name((_) => de_ToolInputSchema((0, import_core2.awsExpectUnion)(_), context), "inputSchema"),
4783
4686
  name: import_smithy_client.expectString
4784
4687
  });
4785
4688
  }, "de_ToolSpecification");
@@ -5029,8 +4932,7 @@ var KnowledgeBaseStatus = {
5029
4932
  var PromptGenAiResource;
5030
4933
  ((PromptGenAiResource2) => {
5031
4934
  PromptGenAiResource2.visit = /* @__PURE__ */ __name((value, visitor) => {
5032
- if (value.agent !== void 0)
5033
- return visitor.agent(value.agent);
4935
+ if (value.agent !== void 0) return visitor.agent(value.agent);
5034
4936
  return visitor._(value.$unknown[0], value.$unknown[1]);
5035
4937
  }, "visit");
5036
4938
  })(PromptGenAiResource || (PromptGenAiResource = {}));
@@ -5159,10 +5061,8 @@ var PromptAgentResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5159
5061
  ...obj
5160
5062
  }), "PromptAgentResourceFilterSensitiveLog");
5161
5063
  var PromptGenAiResourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
5162
- if (obj.agent !== void 0)
5163
- return { agent: import_smithy_client.SENSITIVE_STRING };
5164
- if (obj.$unknown !== void 0)
5165
- 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" };
5166
5066
  }, "PromptGenAiResourceFilterSensitiveLog");
5167
5067
  var PromptMetadataEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
5168
5068
  ...obj,