@aws-sdk/client-bedrock-agent 3.613.0 → 3.614.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 (108) hide show
  1. package/README.md +168 -0
  2. package/dist-cjs/index.js +2007 -14
  3. package/dist-es/BedrockAgent.js +42 -0
  4. package/dist-es/commands/CreateDataSourceCommand.js +2 -1
  5. package/dist-es/commands/CreateFlowAliasCommand.js +24 -0
  6. package/dist-es/commands/CreateFlowCommand.js +25 -0
  7. package/dist-es/commands/CreateFlowVersionCommand.js +25 -0
  8. package/dist-es/commands/CreatePromptCommand.js +25 -0
  9. package/dist-es/commands/CreatePromptVersionCommand.js +25 -0
  10. package/dist-es/commands/DeleteFlowAliasCommand.js +24 -0
  11. package/dist-es/commands/DeleteFlowCommand.js +24 -0
  12. package/dist-es/commands/DeleteFlowVersionCommand.js +24 -0
  13. package/dist-es/commands/DeletePromptCommand.js +24 -0
  14. package/dist-es/commands/GetDataSourceCommand.js +2 -1
  15. package/dist-es/commands/GetFlowAliasCommand.js +24 -0
  16. package/dist-es/commands/GetFlowCommand.js +25 -0
  17. package/dist-es/commands/GetFlowVersionCommand.js +25 -0
  18. package/dist-es/commands/GetPromptCommand.js +25 -0
  19. package/dist-es/commands/ListFlowAliasesCommand.js +24 -0
  20. package/dist-es/commands/ListFlowVersionsCommand.js +24 -0
  21. package/dist-es/commands/ListFlowsCommand.js +24 -0
  22. package/dist-es/commands/ListPromptsCommand.js +24 -0
  23. package/dist-es/commands/PrepareFlowCommand.js +24 -0
  24. package/dist-es/commands/UpdateDataSourceCommand.js +2 -1
  25. package/dist-es/commands/UpdateFlowAliasCommand.js +24 -0
  26. package/dist-es/commands/UpdateFlowCommand.js +25 -0
  27. package/dist-es/commands/UpdatePromptCommand.js +25 -0
  28. package/dist-es/commands/index.js +21 -0
  29. package/dist-es/models/models_0.js +418 -0
  30. package/dist-es/pagination/ListFlowAliasesPaginator.js +4 -0
  31. package/dist-es/pagination/ListFlowVersionsPaginator.js +4 -0
  32. package/dist-es/pagination/ListFlowsPaginator.js +4 -0
  33. package/dist-es/pagination/ListPromptsPaginator.js +4 -0
  34. package/dist-es/pagination/index.js +4 -0
  35. package/dist-es/protocols/Aws_restJson1.js +1041 -25
  36. package/dist-types/BedrockAgent.d.ts +149 -0
  37. package/dist-types/BedrockAgentClient.d.ts +23 -2
  38. package/dist-types/commands/CreateAgentActionGroupCommand.d.ts +7 -3
  39. package/dist-types/commands/CreateAgentCommand.d.ts +18 -1
  40. package/dist-types/commands/CreateDataSourceCommand.d.ts +280 -6
  41. package/dist-types/commands/CreateFlowAliasCommand.d.ts +103 -0
  42. package/dist-types/commands/CreateFlowCommand.d.ts +318 -0
  43. package/dist-types/commands/CreateFlowVersionCommand.d.ts +203 -0
  44. package/dist-types/commands/CreatePromptCommand.d.ts +149 -0
  45. package/dist-types/commands/CreatePromptVersionCommand.d.ts +122 -0
  46. package/dist-types/commands/DeleteFlowAliasCommand.d.ts +80 -0
  47. package/dist-types/commands/DeleteFlowCommand.d.ts +79 -0
  48. package/dist-types/commands/DeleteFlowVersionCommand.d.ts +81 -0
  49. package/dist-types/commands/DeletePromptCommand.d.ts +80 -0
  50. package/dist-types/commands/GetAgentActionGroupCommand.d.ts +1 -1
  51. package/dist-types/commands/GetAgentCommand.d.ts +6 -0
  52. package/dist-types/commands/GetAgentVersionCommand.d.ts +6 -0
  53. package/dist-types/commands/GetDataSourceCommand.d.ts +139 -2
  54. package/dist-types/commands/GetFlowAliasCommand.d.ts +87 -0
  55. package/dist-types/commands/GetFlowCommand.d.ts +202 -0
  56. package/dist-types/commands/GetFlowVersionCommand.d.ts +196 -0
  57. package/dist-types/commands/GetPromptCommand.d.ts +112 -0
  58. package/dist-types/commands/ListFlowAliasesCommand.d.ts +93 -0
  59. package/dist-types/commands/ListFlowVersionsCommand.d.ts +86 -0
  60. package/dist-types/commands/ListFlowsCommand.d.ts +85 -0
  61. package/dist-types/commands/ListPromptsCommand.d.ts +88 -0
  62. package/dist-types/commands/PrepareFlowCommand.d.ts +82 -0
  63. package/dist-types/commands/UpdateAgentActionGroupCommand.d.ts +2 -2
  64. package/dist-types/commands/UpdateAgentCommand.d.ts +12 -0
  65. package/dist-types/commands/UpdateDataSourceCommand.d.ts +280 -6
  66. package/dist-types/commands/UpdateFlowAliasCommand.d.ts +100 -0
  67. package/dist-types/commands/UpdateFlowCommand.d.ts +318 -0
  68. package/dist-types/commands/UpdatePromptCommand.d.ts +149 -0
  69. package/dist-types/commands/index.d.ts +21 -0
  70. package/dist-types/models/models_0.d.ts +4252 -772
  71. package/dist-types/pagination/ListFlowAliasesPaginator.d.ts +7 -0
  72. package/dist-types/pagination/ListFlowVersionsPaginator.d.ts +7 -0
  73. package/dist-types/pagination/ListFlowsPaginator.d.ts +7 -0
  74. package/dist-types/pagination/ListPromptsPaginator.d.ts +7 -0
  75. package/dist-types/pagination/index.d.ts +4 -0
  76. package/dist-types/protocols/Aws_restJson1.d.ts +189 -0
  77. package/dist-types/ts3.4/BedrockAgent.d.ts +359 -0
  78. package/dist-types/ts3.4/BedrockAgentClient.d.ts +128 -2
  79. package/dist-types/ts3.4/commands/CreateFlowAliasCommand.d.ts +39 -0
  80. package/dist-types/ts3.4/commands/CreateFlowCommand.d.ts +36 -0
  81. package/dist-types/ts3.4/commands/CreateFlowVersionCommand.d.ts +40 -0
  82. package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +36 -0
  83. package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +40 -0
  84. package/dist-types/ts3.4/commands/DeleteFlowAliasCommand.d.ts +39 -0
  85. package/dist-types/ts3.4/commands/DeleteFlowCommand.d.ts +36 -0
  86. package/dist-types/ts3.4/commands/DeleteFlowVersionCommand.d.ts +40 -0
  87. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +36 -0
  88. package/dist-types/ts3.4/commands/GetFlowAliasCommand.d.ts +36 -0
  89. package/dist-types/ts3.4/commands/GetFlowCommand.d.ts +32 -0
  90. package/dist-types/ts3.4/commands/GetFlowVersionCommand.d.ts +39 -0
  91. package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +36 -0
  92. package/dist-types/ts3.4/commands/ListFlowAliasesCommand.d.ts +39 -0
  93. package/dist-types/ts3.4/commands/ListFlowVersionsCommand.d.ts +39 -0
  94. package/dist-types/ts3.4/commands/ListFlowsCommand.d.ts +36 -0
  95. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +36 -0
  96. package/dist-types/ts3.4/commands/PrepareFlowCommand.d.ts +36 -0
  97. package/dist-types/ts3.4/commands/UpdateFlowAliasCommand.d.ts +39 -0
  98. package/dist-types/ts3.4/commands/UpdateFlowCommand.d.ts +36 -0
  99. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +36 -0
  100. package/dist-types/ts3.4/commands/index.d.ts +21 -0
  101. package/dist-types/ts3.4/models/models_0.d.ts +1179 -0
  102. package/dist-types/ts3.4/pagination/ListFlowAliasesPaginator.d.ts +11 -0
  103. package/dist-types/ts3.4/pagination/ListFlowVersionsPaginator.d.ts +11 -0
  104. package/dist-types/ts3.4/pagination/ListFlowsPaginator.d.ts +11 -0
  105. package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +11 -0
  106. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  107. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +252 -0
  108. package/package.json +20 -20
package/dist-cjs/index.js CHANGED
@@ -37,7 +37,14 @@ __export(src_exports, {
37
37
  BedrockAgentClient: () => BedrockAgentClient,
38
38
  BedrockAgentServiceException: () => BedrockAgentServiceException,
39
39
  ChunkingStrategy: () => ChunkingStrategy,
40
+ ConditionFlowNodeConfigurationFilterSensitiveLog: () => ConditionFlowNodeConfigurationFilterSensitiveLog,
40
41
  ConflictException: () => ConflictException,
42
+ ConfluenceAuthType: () => ConfluenceAuthType,
43
+ ConfluenceCrawlerConfigurationFilterSensitiveLog: () => ConfluenceCrawlerConfigurationFilterSensitiveLog,
44
+ ConfluenceDataSourceConfigurationFilterSensitiveLog: () => ConfluenceDataSourceConfigurationFilterSensitiveLog,
45
+ ConfluenceHostType: () => ConfluenceHostType,
46
+ CrawlFilterConfigurationFilterSensitiveLog: () => CrawlFilterConfigurationFilterSensitiveLog,
47
+ CrawlFilterConfigurationType: () => CrawlFilterConfigurationType,
41
48
  CreateAgentActionGroupCommand: () => CreateAgentActionGroupCommand,
42
49
  CreateAgentActionGroupRequestFilterSensitiveLog: () => CreateAgentActionGroupRequestFilterSensitiveLog,
43
50
  CreateAgentActionGroupResponseFilterSensitiveLog: () => CreateAgentActionGroupResponseFilterSensitiveLog,
@@ -46,10 +53,25 @@ __export(src_exports, {
46
53
  CreateAgentRequestFilterSensitiveLog: () => CreateAgentRequestFilterSensitiveLog,
47
54
  CreateAgentResponseFilterSensitiveLog: () => CreateAgentResponseFilterSensitiveLog,
48
55
  CreateDataSourceCommand: () => CreateDataSourceCommand,
56
+ CreateDataSourceRequestFilterSensitiveLog: () => CreateDataSourceRequestFilterSensitiveLog,
57
+ CreateDataSourceResponseFilterSensitiveLog: () => CreateDataSourceResponseFilterSensitiveLog,
58
+ CreateFlowAliasCommand: () => CreateFlowAliasCommand,
59
+ CreateFlowCommand: () => CreateFlowCommand,
60
+ CreateFlowRequestFilterSensitiveLog: () => CreateFlowRequestFilterSensitiveLog,
61
+ CreateFlowResponseFilterSensitiveLog: () => CreateFlowResponseFilterSensitiveLog,
62
+ CreateFlowVersionCommand: () => CreateFlowVersionCommand,
63
+ CreateFlowVersionResponseFilterSensitiveLog: () => CreateFlowVersionResponseFilterSensitiveLog,
49
64
  CreateKnowledgeBaseCommand: () => CreateKnowledgeBaseCommand,
65
+ CreatePromptCommand: () => CreatePromptCommand,
66
+ CreatePromptRequestFilterSensitiveLog: () => CreatePromptRequestFilterSensitiveLog,
67
+ CreatePromptResponseFilterSensitiveLog: () => CreatePromptResponseFilterSensitiveLog,
68
+ CreatePromptVersionCommand: () => CreatePromptVersionCommand,
69
+ CreatePromptVersionResponseFilterSensitiveLog: () => CreatePromptVersionResponseFilterSensitiveLog,
50
70
  CreationMode: () => CreationMode,
51
71
  CustomControlMethod: () => CustomControlMethod,
52
72
  DataDeletionPolicy: () => DataDeletionPolicy,
73
+ DataSourceConfigurationFilterSensitiveLog: () => DataSourceConfigurationFilterSensitiveLog,
74
+ DataSourceFilterSensitiveLog: () => DataSourceFilterSensitiveLog,
53
75
  DataSourceStatus: () => DataSourceStatus,
54
76
  DataSourceType: () => DataSourceType,
55
77
  DeleteAgentActionGroupCommand: () => DeleteAgentActionGroupCommand,
@@ -57,8 +79,24 @@ __export(src_exports, {
57
79
  DeleteAgentCommand: () => DeleteAgentCommand,
58
80
  DeleteAgentVersionCommand: () => DeleteAgentVersionCommand,
59
81
  DeleteDataSourceCommand: () => DeleteDataSourceCommand,
82
+ DeleteFlowAliasCommand: () => DeleteFlowAliasCommand,
83
+ DeleteFlowCommand: () => DeleteFlowCommand,
84
+ DeleteFlowVersionCommand: () => DeleteFlowVersionCommand,
60
85
  DeleteKnowledgeBaseCommand: () => DeleteKnowledgeBaseCommand,
86
+ DeletePromptCommand: () => DeletePromptCommand,
61
87
  DisassociateAgentKnowledgeBaseCommand: () => DisassociateAgentKnowledgeBaseCommand,
88
+ FlowConditionFilterSensitiveLog: () => FlowConditionFilterSensitiveLog,
89
+ FlowConnectionConfiguration: () => FlowConnectionConfiguration,
90
+ FlowConnectionType: () => FlowConnectionType,
91
+ FlowDefinitionFilterSensitiveLog: () => FlowDefinitionFilterSensitiveLog,
92
+ FlowNodeConfiguration: () => FlowNodeConfiguration,
93
+ FlowNodeConfigurationFilterSensitiveLog: () => FlowNodeConfigurationFilterSensitiveLog,
94
+ FlowNodeFilterSensitiveLog: () => FlowNodeFilterSensitiveLog,
95
+ FlowNodeIODataType: () => FlowNodeIODataType,
96
+ FlowNodeInputFilterSensitiveLog: () => FlowNodeInputFilterSensitiveLog,
97
+ FlowNodeType: () => FlowNodeType,
98
+ FlowStatus: () => FlowStatus,
99
+ FlowValidationSeverity: () => FlowValidationSeverity,
62
100
  FunctionSchema: () => FunctionSchema,
63
101
  GetAgentActionGroupCommand: () => GetAgentActionGroupCommand,
64
102
  GetAgentActionGroupResponseFilterSensitiveLog: () => GetAgentActionGroupResponseFilterSensitiveLog,
@@ -69,8 +107,16 @@ __export(src_exports, {
69
107
  GetAgentVersionCommand: () => GetAgentVersionCommand,
70
108
  GetAgentVersionResponseFilterSensitiveLog: () => GetAgentVersionResponseFilterSensitiveLog,
71
109
  GetDataSourceCommand: () => GetDataSourceCommand,
110
+ GetDataSourceResponseFilterSensitiveLog: () => GetDataSourceResponseFilterSensitiveLog,
111
+ GetFlowAliasCommand: () => GetFlowAliasCommand,
112
+ GetFlowCommand: () => GetFlowCommand,
113
+ GetFlowResponseFilterSensitiveLog: () => GetFlowResponseFilterSensitiveLog,
114
+ GetFlowVersionCommand: () => GetFlowVersionCommand,
115
+ GetFlowVersionResponseFilterSensitiveLog: () => GetFlowVersionResponseFilterSensitiveLog,
72
116
  GetIngestionJobCommand: () => GetIngestionJobCommand,
73
117
  GetKnowledgeBaseCommand: () => GetKnowledgeBaseCommand,
118
+ GetPromptCommand: () => GetPromptCommand,
119
+ GetPromptResponseFilterSensitiveLog: () => GetPromptResponseFilterSensitiveLog,
74
120
  IngestionJobFilterAttribute: () => IngestionJobFilterAttribute,
75
121
  IngestionJobFilterOperator: () => IngestionJobFilterOperator,
76
122
  IngestionJobSortByAttribute: () => IngestionJobSortByAttribute,
@@ -86,18 +132,49 @@ __export(src_exports, {
86
132
  ListAgentVersionsCommand: () => ListAgentVersionsCommand,
87
133
  ListAgentsCommand: () => ListAgentsCommand,
88
134
  ListDataSourcesCommand: () => ListDataSourcesCommand,
135
+ ListFlowAliasesCommand: () => ListFlowAliasesCommand,
136
+ ListFlowVersionsCommand: () => ListFlowVersionsCommand,
137
+ ListFlowsCommand: () => ListFlowsCommand,
89
138
  ListIngestionJobsCommand: () => ListIngestionJobsCommand,
90
139
  ListKnowledgeBasesCommand: () => ListKnowledgeBasesCommand,
140
+ ListPromptsCommand: () => ListPromptsCommand,
91
141
  ListTagsForResourceCommand: () => ListTagsForResourceCommand,
142
+ MemoryType: () => MemoryType,
143
+ ParsingStrategy: () => ParsingStrategy,
144
+ PatternObjectFilterConfigurationFilterSensitiveLog: () => PatternObjectFilterConfigurationFilterSensitiveLog,
145
+ PatternObjectFilterFilterSensitiveLog: () => PatternObjectFilterFilterSensitiveLog,
92
146
  PrepareAgentCommand: () => PrepareAgentCommand,
147
+ PrepareFlowCommand: () => PrepareFlowCommand,
148
+ PromptConfigurationFilterSensitiveLog: () => PromptConfigurationFilterSensitiveLog,
149
+ PromptFlowNodeConfigurationFilterSensitiveLog: () => PromptFlowNodeConfigurationFilterSensitiveLog,
150
+ PromptFlowNodeInlineConfigurationFilterSensitiveLog: () => PromptFlowNodeInlineConfigurationFilterSensitiveLog,
151
+ PromptFlowNodeSourceConfiguration: () => PromptFlowNodeSourceConfiguration,
152
+ PromptFlowNodeSourceConfigurationFilterSensitiveLog: () => PromptFlowNodeSourceConfigurationFilterSensitiveLog,
153
+ PromptInferenceConfiguration: () => PromptInferenceConfiguration,
93
154
  PromptOverrideConfigurationFilterSensitiveLog: () => PromptOverrideConfigurationFilterSensitiveLog,
94
155
  PromptState: () => PromptState,
156
+ PromptTemplateConfiguration: () => PromptTemplateConfiguration,
157
+ PromptTemplateConfigurationFilterSensitiveLog: () => PromptTemplateConfigurationFilterSensitiveLog,
158
+ PromptTemplateType: () => PromptTemplateType,
95
159
  PromptType: () => PromptType,
160
+ PromptVariantFilterSensitiveLog: () => PromptVariantFilterSensitiveLog,
96
161
  ResourceNotFoundException: () => ResourceNotFoundException,
162
+ RetrievalFlowNodeServiceConfiguration: () => RetrievalFlowNodeServiceConfiguration,
163
+ S3DataSourceConfigurationFilterSensitiveLog: () => S3DataSourceConfigurationFilterSensitiveLog,
164
+ SalesforceAuthType: () => SalesforceAuthType,
165
+ SalesforceCrawlerConfigurationFilterSensitiveLog: () => SalesforceCrawlerConfigurationFilterSensitiveLog,
166
+ SalesforceDataSourceConfigurationFilterSensitiveLog: () => SalesforceDataSourceConfigurationFilterSensitiveLog,
97
167
  ServiceQuotaExceededException: () => ServiceQuotaExceededException,
168
+ SharePointAuthType: () => SharePointAuthType,
169
+ SharePointCrawlerConfigurationFilterSensitiveLog: () => SharePointCrawlerConfigurationFilterSensitiveLog,
170
+ SharePointDataSourceConfigurationFilterSensitiveLog: () => SharePointDataSourceConfigurationFilterSensitiveLog,
171
+ SharePointHostType: () => SharePointHostType,
98
172
  SortOrder: () => SortOrder,
99
173
  StartIngestionJobCommand: () => StartIngestionJobCommand,
174
+ StepType: () => StepType,
175
+ StorageFlowNodeServiceConfiguration: () => StorageFlowNodeServiceConfiguration,
100
176
  TagResourceCommand: () => TagResourceCommand,
177
+ TextPromptTemplateConfigurationFilterSensitiveLog: () => TextPromptTemplateConfigurationFilterSensitiveLog,
101
178
  ThrottlingException: () => ThrottlingException,
102
179
  Type: () => Type,
103
180
  UntagResourceCommand: () => UntagResourceCommand,
@@ -110,8 +187,20 @@ __export(src_exports, {
110
187
  UpdateAgentRequestFilterSensitiveLog: () => UpdateAgentRequestFilterSensitiveLog,
111
188
  UpdateAgentResponseFilterSensitiveLog: () => UpdateAgentResponseFilterSensitiveLog,
112
189
  UpdateDataSourceCommand: () => UpdateDataSourceCommand,
190
+ UpdateDataSourceRequestFilterSensitiveLog: () => UpdateDataSourceRequestFilterSensitiveLog,
191
+ UpdateDataSourceResponseFilterSensitiveLog: () => UpdateDataSourceResponseFilterSensitiveLog,
192
+ UpdateFlowAliasCommand: () => UpdateFlowAliasCommand,
193
+ UpdateFlowCommand: () => UpdateFlowCommand,
194
+ UpdateFlowRequestFilterSensitiveLog: () => UpdateFlowRequestFilterSensitiveLog,
195
+ UpdateFlowResponseFilterSensitiveLog: () => UpdateFlowResponseFilterSensitiveLog,
113
196
  UpdateKnowledgeBaseCommand: () => UpdateKnowledgeBaseCommand,
197
+ UpdatePromptCommand: () => UpdatePromptCommand,
198
+ UpdatePromptRequestFilterSensitiveLog: () => UpdatePromptRequestFilterSensitiveLog,
199
+ UpdatePromptResponseFilterSensitiveLog: () => UpdatePromptResponseFilterSensitiveLog,
114
200
  ValidationException: () => ValidationException,
201
+ WebCrawlerConfigurationFilterSensitiveLog: () => WebCrawlerConfigurationFilterSensitiveLog,
202
+ WebDataSourceConfigurationFilterSensitiveLog: () => WebDataSourceConfigurationFilterSensitiveLog,
203
+ WebScopeType: () => WebScopeType,
115
204
  __Client: () => import_smithy_client.Client,
116
205
  paginateListAgentActionGroups: () => paginateListAgentActionGroups,
117
206
  paginateListAgentAliases: () => paginateListAgentAliases,
@@ -119,8 +208,12 @@ __export(src_exports, {
119
208
  paginateListAgentVersions: () => paginateListAgentVersions,
120
209
  paginateListAgents: () => paginateListAgents,
121
210
  paginateListDataSources: () => paginateListDataSources,
211
+ paginateListFlowAliases: () => paginateListFlowAliases,
212
+ paginateListFlowVersions: () => paginateListFlowVersions,
213
+ paginateListFlows: () => paginateListFlows,
122
214
  paginateListIngestionJobs: () => paginateListIngestionJobs,
123
- paginateListKnowledgeBases: () => paginateListKnowledgeBases
215
+ paginateListKnowledgeBases: () => paginateListKnowledgeBases,
216
+ paginateListPrompts: () => paginateListPrompts
124
217
  });
125
218
  module.exports = __toCommonJS(src_exports);
126
219
 
@@ -374,6 +467,7 @@ var FunctionSchema;
374
467
  }, "visit");
375
468
  })(FunctionSchema || (FunctionSchema = {}));
376
469
  var ActionGroupSignature = {
470
+ AMAZON_CODEINTERPRETER: "AMAZON.CodeInterpreter",
377
471
  AMAZON_USERINPUT: "AMAZON.UserInput"
378
472
  };
379
473
  var _InternalServerException = class _InternalServerException extends BedrockAgentServiceException {
@@ -472,6 +566,9 @@ var AgentStatus = {
472
566
  UPDATING: "UPDATING",
473
567
  VERSIONING: "VERSIONING"
474
568
  };
569
+ var MemoryType = {
570
+ SESSION_SUMMARY: "SESSION_SUMMARY"
571
+ };
475
572
  var CreationMode = {
476
573
  DEFAULT: "DEFAULT",
477
574
  OVERRIDDEN: "OVERRIDDEN"
@@ -501,18 +598,173 @@ var DataDeletionPolicy = {
501
598
  DELETE: "DELETE",
502
599
  RETAIN: "RETAIN"
503
600
  };
601
+ var CrawlFilterConfigurationType = {
602
+ PATTERN: "PATTERN"
603
+ };
604
+ var ConfluenceAuthType = {
605
+ BASIC: "BASIC",
606
+ OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS"
607
+ };
608
+ var ConfluenceHostType = {
609
+ SAAS: "SAAS"
610
+ };
611
+ var SalesforceAuthType = {
612
+ OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS"
613
+ };
614
+ var SharePointAuthType = {
615
+ OAUTH2_CLIENT_CREDENTIALS: "OAUTH2_CLIENT_CREDENTIALS"
616
+ };
617
+ var SharePointHostType = {
618
+ ONLINE: "ONLINE"
619
+ };
504
620
  var DataSourceType = {
505
- S3: "S3"
621
+ CONFLUENCE: "CONFLUENCE",
622
+ S3: "S3",
623
+ SALESFORCE: "SALESFORCE",
624
+ SHAREPOINT: "SHAREPOINT",
625
+ WEB: "WEB"
626
+ };
627
+ var WebScopeType = {
628
+ HOST_ONLY: "HOST_ONLY",
629
+ SUBDOMAINS: "SUBDOMAINS"
506
630
  };
507
631
  var ChunkingStrategy = {
508
632
  FIXED_SIZE: "FIXED_SIZE",
509
- NONE: "NONE"
633
+ HIERARCHICAL: "HIERARCHICAL",
634
+ NONE: "NONE",
635
+ SEMANTIC: "SEMANTIC"
636
+ };
637
+ var StepType = {
638
+ POST_CHUNKING: "POST_CHUNKING"
639
+ };
640
+ var ParsingStrategy = {
641
+ BEDROCK_FOUNDATION_MODEL: "BEDROCK_FOUNDATION_MODEL"
510
642
  };
511
643
  var DataSourceStatus = {
512
644
  AVAILABLE: "AVAILABLE",
513
645
  DELETE_UNSUCCESSFUL: "DELETE_UNSUCCESSFUL",
514
646
  DELETING: "DELETING"
515
647
  };
648
+ var FlowConnectionConfiguration;
649
+ ((FlowConnectionConfiguration3) => {
650
+ FlowConnectionConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
651
+ if (value.data !== void 0)
652
+ return visitor.data(value.data);
653
+ if (value.conditional !== void 0)
654
+ return visitor.conditional(value.conditional);
655
+ return visitor._(value.$unknown[0], value.$unknown[1]);
656
+ }, "visit");
657
+ })(FlowConnectionConfiguration || (FlowConnectionConfiguration = {}));
658
+ var FlowConnectionType = {
659
+ CONDITIONAL: "Conditional",
660
+ DATA: "Data"
661
+ };
662
+ var PromptInferenceConfiguration;
663
+ ((PromptInferenceConfiguration2) => {
664
+ PromptInferenceConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
665
+ if (value.text !== void 0)
666
+ return visitor.text(value.text);
667
+ return visitor._(value.$unknown[0], value.$unknown[1]);
668
+ }, "visit");
669
+ })(PromptInferenceConfiguration || (PromptInferenceConfiguration = {}));
670
+ var PromptTemplateConfiguration;
671
+ ((PromptTemplateConfiguration3) => {
672
+ PromptTemplateConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
673
+ if (value.text !== void 0)
674
+ return visitor.text(value.text);
675
+ return visitor._(value.$unknown[0], value.$unknown[1]);
676
+ }, "visit");
677
+ })(PromptTemplateConfiguration || (PromptTemplateConfiguration = {}));
678
+ var PromptTemplateType = {
679
+ TEXT: "TEXT"
680
+ };
681
+ var PromptFlowNodeSourceConfiguration;
682
+ ((PromptFlowNodeSourceConfiguration2) => {
683
+ PromptFlowNodeSourceConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
684
+ if (value.resource !== void 0)
685
+ return visitor.resource(value.resource);
686
+ if (value.inline !== void 0)
687
+ return visitor.inline(value.inline);
688
+ return visitor._(value.$unknown[0], value.$unknown[1]);
689
+ }, "visit");
690
+ })(PromptFlowNodeSourceConfiguration || (PromptFlowNodeSourceConfiguration = {}));
691
+ var RetrievalFlowNodeServiceConfiguration;
692
+ ((RetrievalFlowNodeServiceConfiguration3) => {
693
+ RetrievalFlowNodeServiceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
694
+ if (value.s3 !== void 0)
695
+ return visitor.s3(value.s3);
696
+ return visitor._(value.$unknown[0], value.$unknown[1]);
697
+ }, "visit");
698
+ })(RetrievalFlowNodeServiceConfiguration || (RetrievalFlowNodeServiceConfiguration = {}));
699
+ var StorageFlowNodeServiceConfiguration;
700
+ ((StorageFlowNodeServiceConfiguration3) => {
701
+ StorageFlowNodeServiceConfiguration3.visit = /* @__PURE__ */ __name((value, visitor) => {
702
+ if (value.s3 !== void 0)
703
+ return visitor.s3(value.s3);
704
+ return visitor._(value.$unknown[0], value.$unknown[1]);
705
+ }, "visit");
706
+ })(StorageFlowNodeServiceConfiguration || (StorageFlowNodeServiceConfiguration = {}));
707
+ var FlowNodeConfiguration;
708
+ ((FlowNodeConfiguration2) => {
709
+ FlowNodeConfiguration2.visit = /* @__PURE__ */ __name((value, visitor) => {
710
+ if (value.input !== void 0)
711
+ return visitor.input(value.input);
712
+ if (value.output !== void 0)
713
+ return visitor.output(value.output);
714
+ if (value.knowledgeBase !== void 0)
715
+ return visitor.knowledgeBase(value.knowledgeBase);
716
+ if (value.condition !== void 0)
717
+ return visitor.condition(value.condition);
718
+ if (value.lex !== void 0)
719
+ return visitor.lex(value.lex);
720
+ if (value.prompt !== void 0)
721
+ return visitor.prompt(value.prompt);
722
+ if (value.lambdaFunction !== void 0)
723
+ return visitor.lambdaFunction(value.lambdaFunction);
724
+ if (value.storage !== void 0)
725
+ return visitor.storage(value.storage);
726
+ if (value.agent !== void 0)
727
+ return visitor.agent(value.agent);
728
+ if (value.retrieval !== void 0)
729
+ return visitor.retrieval(value.retrieval);
730
+ if (value.iterator !== void 0)
731
+ return visitor.iterator(value.iterator);
732
+ if (value.collector !== void 0)
733
+ return visitor.collector(value.collector);
734
+ return visitor._(value.$unknown[0], value.$unknown[1]);
735
+ }, "visit");
736
+ })(FlowNodeConfiguration || (FlowNodeConfiguration = {}));
737
+ var FlowNodeIODataType = {
738
+ ARRAY: "Array",
739
+ BOOLEAN: "Boolean",
740
+ NUMBER: "Number",
741
+ OBJECT: "Object",
742
+ STRING: "String"
743
+ };
744
+ var FlowNodeType = {
745
+ AGENT: "Agent",
746
+ COLLECTOR: "Collector",
747
+ CONDITION: "Condition",
748
+ INPUT: "Input",
749
+ ITERATOR: "Iterator",
750
+ KNOWLEDGE_BASE: "KnowledgeBase",
751
+ LAMBDA_FUNCTION: "LambdaFunction",
752
+ LEX: "Lex",
753
+ OUTPUT: "Output",
754
+ PROMPT: "Prompt",
755
+ RETRIEVAL: "Retrieval",
756
+ STORAGE: "Storage"
757
+ };
758
+ var FlowStatus = {
759
+ FAILED: "Failed",
760
+ NOT_PREPARED: "NotPrepared",
761
+ PREPARED: "Prepared",
762
+ PREPARING: "Preparing"
763
+ };
764
+ var FlowValidationSeverity = {
765
+ ERROR: "Error",
766
+ WARNING: "Warning"
767
+ };
516
768
  var IngestionJobStatus = {
517
769
  COMPLETE: "COMPLETE",
518
770
  FAILED: "FAILED",
@@ -589,8 +841,15 @@ var UpdateAgentActionGroupResponseFilterSensitiveLog = /* @__PURE__ */ __name((o
589
841
  ...obj,
590
842
  ...obj.agentActionGroup && { agentActionGroup: AgentActionGroupFilterSensitiveLog(obj.agentActionGroup) }
591
843
  }), "UpdateAgentActionGroupResponseFilterSensitiveLog");
844
+ var PromptConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
845
+ ...obj,
846
+ ...obj.basePromptTemplate && { basePromptTemplate: import_smithy_client.SENSITIVE_STRING }
847
+ }), "PromptConfigurationFilterSensitiveLog");
592
848
  var PromptOverrideConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
593
- ...obj
849
+ ...obj,
850
+ ...obj.promptConfigurations && {
851
+ promptConfigurations: obj.promptConfigurations.map((item) => PromptConfigurationFilterSensitiveLog(item))
852
+ }
594
853
  }), "PromptOverrideConfigurationFilterSensitiveLog");
595
854
  var AgentFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
596
855
  ...obj,
@@ -624,6 +883,258 @@ var AgentVersionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
624
883
  ...obj.instruction && { instruction: import_smithy_client.SENSITIVE_STRING },
625
884
  ...obj.promptOverrideConfiguration && { promptOverrideConfiguration: import_smithy_client.SENSITIVE_STRING }
626
885
  }), "AgentVersionFilterSensitiveLog");
886
+ var PatternObjectFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
887
+ ...obj,
888
+ ...obj.objectType && { objectType: import_smithy_client.SENSITIVE_STRING },
889
+ ...obj.inclusionFilters && { inclusionFilters: import_smithy_client.SENSITIVE_STRING },
890
+ ...obj.exclusionFilters && { exclusionFilters: import_smithy_client.SENSITIVE_STRING }
891
+ }), "PatternObjectFilterFilterSensitiveLog");
892
+ var PatternObjectFilterConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
893
+ ...obj,
894
+ ...obj.filters && { filters: import_smithy_client.SENSITIVE_STRING }
895
+ }), "PatternObjectFilterConfigurationFilterSensitiveLog");
896
+ var CrawlFilterConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
897
+ ...obj,
898
+ ...obj.patternObjectFilter && {
899
+ patternObjectFilter: PatternObjectFilterConfigurationFilterSensitiveLog(obj.patternObjectFilter)
900
+ }
901
+ }), "CrawlFilterConfigurationFilterSensitiveLog");
902
+ var ConfluenceCrawlerConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
903
+ ...obj,
904
+ ...obj.filterConfiguration && {
905
+ filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration)
906
+ }
907
+ }), "ConfluenceCrawlerConfigurationFilterSensitiveLog");
908
+ var ConfluenceDataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
909
+ ...obj,
910
+ ...obj.crawlerConfiguration && {
911
+ crawlerConfiguration: ConfluenceCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration)
912
+ }
913
+ }), "ConfluenceDataSourceConfigurationFilterSensitiveLog");
914
+ var S3DataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
915
+ ...obj,
916
+ ...obj.inclusionPrefixes && { inclusionPrefixes: import_smithy_client.SENSITIVE_STRING }
917
+ }), "S3DataSourceConfigurationFilterSensitiveLog");
918
+ var SalesforceCrawlerConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
919
+ ...obj,
920
+ ...obj.filterConfiguration && {
921
+ filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration)
922
+ }
923
+ }), "SalesforceCrawlerConfigurationFilterSensitiveLog");
924
+ var SalesforceDataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
925
+ ...obj,
926
+ ...obj.crawlerConfiguration && {
927
+ crawlerConfiguration: SalesforceCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration)
928
+ }
929
+ }), "SalesforceDataSourceConfigurationFilterSensitiveLog");
930
+ var SharePointCrawlerConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
931
+ ...obj,
932
+ ...obj.filterConfiguration && {
933
+ filterConfiguration: CrawlFilterConfigurationFilterSensitiveLog(obj.filterConfiguration)
934
+ }
935
+ }), "SharePointCrawlerConfigurationFilterSensitiveLog");
936
+ var SharePointDataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
937
+ ...obj,
938
+ ...obj.crawlerConfiguration && {
939
+ crawlerConfiguration: SharePointCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration)
940
+ }
941
+ }), "SharePointDataSourceConfigurationFilterSensitiveLog");
942
+ var WebCrawlerConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
943
+ ...obj,
944
+ ...obj.inclusionFilters && { inclusionFilters: import_smithy_client.SENSITIVE_STRING },
945
+ ...obj.exclusionFilters && { exclusionFilters: import_smithy_client.SENSITIVE_STRING }
946
+ }), "WebCrawlerConfigurationFilterSensitiveLog");
947
+ var WebDataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
948
+ ...obj,
949
+ ...obj.crawlerConfiguration && {
950
+ crawlerConfiguration: WebCrawlerConfigurationFilterSensitiveLog(obj.crawlerConfiguration)
951
+ }
952
+ }), "WebDataSourceConfigurationFilterSensitiveLog");
953
+ var DataSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
954
+ ...obj,
955
+ ...obj.s3Configuration && { s3Configuration: S3DataSourceConfigurationFilterSensitiveLog(obj.s3Configuration) },
956
+ ...obj.webConfiguration && { webConfiguration: WebDataSourceConfigurationFilterSensitiveLog(obj.webConfiguration) },
957
+ ...obj.confluenceConfiguration && {
958
+ confluenceConfiguration: ConfluenceDataSourceConfigurationFilterSensitiveLog(obj.confluenceConfiguration)
959
+ },
960
+ ...obj.salesforceConfiguration && {
961
+ salesforceConfiguration: SalesforceDataSourceConfigurationFilterSensitiveLog(obj.salesforceConfiguration)
962
+ },
963
+ ...obj.sharePointConfiguration && {
964
+ sharePointConfiguration: SharePointDataSourceConfigurationFilterSensitiveLog(obj.sharePointConfiguration)
965
+ }
966
+ }), "DataSourceConfigurationFilterSensitiveLog");
967
+ var CreateDataSourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
968
+ ...obj,
969
+ ...obj.dataSourceConfiguration && {
970
+ dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration)
971
+ }
972
+ }), "CreateDataSourceRequestFilterSensitiveLog");
973
+ var DataSourceFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
974
+ ...obj,
975
+ ...obj.dataSourceConfiguration && {
976
+ dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration)
977
+ }
978
+ }), "DataSourceFilterSensitiveLog");
979
+ var CreateDataSourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
980
+ ...obj,
981
+ ...obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }
982
+ }), "CreateDataSourceResponseFilterSensitiveLog");
983
+ var GetDataSourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
984
+ ...obj,
985
+ ...obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }
986
+ }), "GetDataSourceResponseFilterSensitiveLog");
987
+ var UpdateDataSourceRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
988
+ ...obj,
989
+ ...obj.dataSourceConfiguration && {
990
+ dataSourceConfiguration: DataSourceConfigurationFilterSensitiveLog(obj.dataSourceConfiguration)
991
+ }
992
+ }), "UpdateDataSourceRequestFilterSensitiveLog");
993
+ var UpdateDataSourceResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
994
+ ...obj,
995
+ ...obj.dataSource && { dataSource: DataSourceFilterSensitiveLog(obj.dataSource) }
996
+ }), "UpdateDataSourceResponseFilterSensitiveLog");
997
+ var FlowConditionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
998
+ ...obj,
999
+ ...obj.expression && { expression: import_smithy_client.SENSITIVE_STRING }
1000
+ }), "FlowConditionFilterSensitiveLog");
1001
+ var ConditionFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1002
+ ...obj,
1003
+ ...obj.conditions && { conditions: import_smithy_client.SENSITIVE_STRING }
1004
+ }), "ConditionFlowNodeConfigurationFilterSensitiveLog");
1005
+ var TextPromptTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1006
+ ...obj,
1007
+ ...obj.text && { text: import_smithy_client.SENSITIVE_STRING },
1008
+ ...obj.inputVariables && { inputVariables: import_smithy_client.SENSITIVE_STRING }
1009
+ }), "TextPromptTemplateConfigurationFilterSensitiveLog");
1010
+ var PromptTemplateConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1011
+ if (obj.text !== void 0)
1012
+ return { text: import_smithy_client.SENSITIVE_STRING };
1013
+ if (obj.$unknown !== void 0)
1014
+ return { [obj.$unknown[0]]: "UNKNOWN" };
1015
+ }, "PromptTemplateConfigurationFilterSensitiveLog");
1016
+ var PromptFlowNodeInlineConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1017
+ ...obj,
1018
+ ...obj.templateConfiguration && {
1019
+ templateConfiguration: PromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration)
1020
+ },
1021
+ ...obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }
1022
+ }), "PromptFlowNodeInlineConfigurationFilterSensitiveLog");
1023
+ var PromptFlowNodeSourceConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1024
+ if (obj.resource !== void 0)
1025
+ return { resource: obj.resource };
1026
+ if (obj.inline !== void 0)
1027
+ return { inline: PromptFlowNodeInlineConfigurationFilterSensitiveLog(obj.inline) };
1028
+ if (obj.$unknown !== void 0)
1029
+ return { [obj.$unknown[0]]: "UNKNOWN" };
1030
+ }, "PromptFlowNodeSourceConfigurationFilterSensitiveLog");
1031
+ var PromptFlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1032
+ ...obj,
1033
+ ...obj.sourceConfiguration && {
1034
+ sourceConfiguration: PromptFlowNodeSourceConfigurationFilterSensitiveLog(obj.sourceConfiguration)
1035
+ }
1036
+ }), "PromptFlowNodeConfigurationFilterSensitiveLog");
1037
+ var FlowNodeConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1038
+ if (obj.input !== void 0)
1039
+ return { input: obj.input };
1040
+ if (obj.output !== void 0)
1041
+ return { output: obj.output };
1042
+ if (obj.knowledgeBase !== void 0)
1043
+ return { knowledgeBase: obj.knowledgeBase };
1044
+ if (obj.condition !== void 0)
1045
+ return { condition: ConditionFlowNodeConfigurationFilterSensitiveLog(obj.condition) };
1046
+ if (obj.lex !== void 0)
1047
+ return { lex: obj.lex };
1048
+ if (obj.prompt !== void 0)
1049
+ return { prompt: PromptFlowNodeConfigurationFilterSensitiveLog(obj.prompt) };
1050
+ if (obj.lambdaFunction !== void 0)
1051
+ return { lambdaFunction: obj.lambdaFunction };
1052
+ if (obj.storage !== void 0)
1053
+ return { storage: obj.storage };
1054
+ if (obj.agent !== void 0)
1055
+ return { agent: obj.agent };
1056
+ if (obj.retrieval !== void 0)
1057
+ return { retrieval: obj.retrieval };
1058
+ if (obj.iterator !== void 0)
1059
+ return { iterator: obj.iterator };
1060
+ if (obj.collector !== void 0)
1061
+ return { collector: obj.collector };
1062
+ if (obj.$unknown !== void 0)
1063
+ return { [obj.$unknown[0]]: "UNKNOWN" };
1064
+ }, "FlowNodeConfigurationFilterSensitiveLog");
1065
+ var FlowNodeInputFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1066
+ ...obj,
1067
+ ...obj.expression && { expression: import_smithy_client.SENSITIVE_STRING }
1068
+ }), "FlowNodeInputFilterSensitiveLog");
1069
+ var FlowNodeFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1070
+ ...obj,
1071
+ ...obj.configuration && { configuration: FlowNodeConfigurationFilterSensitiveLog(obj.configuration) },
1072
+ ...obj.inputs && { inputs: obj.inputs.map((item) => FlowNodeInputFilterSensitiveLog(item)) }
1073
+ }), "FlowNodeFilterSensitiveLog");
1074
+ var FlowDefinitionFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1075
+ ...obj,
1076
+ ...obj.nodes && { nodes: import_smithy_client.SENSITIVE_STRING },
1077
+ ...obj.connections && { connections: obj.connections.map((item) => item) }
1078
+ }), "FlowDefinitionFilterSensitiveLog");
1079
+ var CreateFlowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1080
+ ...obj,
1081
+ ...obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }
1082
+ }), "CreateFlowRequestFilterSensitiveLog");
1083
+ var CreateFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1084
+ ...obj,
1085
+ ...obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }
1086
+ }), "CreateFlowResponseFilterSensitiveLog");
1087
+ var CreateFlowVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1088
+ ...obj,
1089
+ ...obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }
1090
+ }), "CreateFlowVersionResponseFilterSensitiveLog");
1091
+ var GetFlowVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1092
+ ...obj,
1093
+ ...obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }
1094
+ }), "GetFlowVersionResponseFilterSensitiveLog");
1095
+ var GetFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1096
+ ...obj,
1097
+ ...obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }
1098
+ }), "GetFlowResponseFilterSensitiveLog");
1099
+ var UpdateFlowRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1100
+ ...obj,
1101
+ ...obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }
1102
+ }), "UpdateFlowRequestFilterSensitiveLog");
1103
+ var UpdateFlowResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1104
+ ...obj,
1105
+ ...obj.definition && { definition: FlowDefinitionFilterSensitiveLog(obj.definition) }
1106
+ }), "UpdateFlowResponseFilterSensitiveLog");
1107
+ var PromptVariantFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1108
+ ...obj,
1109
+ ...obj.templateConfiguration && {
1110
+ templateConfiguration: PromptTemplateConfigurationFilterSensitiveLog(obj.templateConfiguration)
1111
+ },
1112
+ ...obj.inferenceConfiguration && { inferenceConfiguration: obj.inferenceConfiguration }
1113
+ }), "PromptVariantFilterSensitiveLog");
1114
+ var CreatePromptRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1115
+ ...obj,
1116
+ ...obj.variants && { variants: import_smithy_client.SENSITIVE_STRING }
1117
+ }), "CreatePromptRequestFilterSensitiveLog");
1118
+ var CreatePromptResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1119
+ ...obj,
1120
+ ...obj.variants && { variants: import_smithy_client.SENSITIVE_STRING }
1121
+ }), "CreatePromptResponseFilterSensitiveLog");
1122
+ var CreatePromptVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1123
+ ...obj,
1124
+ ...obj.variants && { variants: import_smithy_client.SENSITIVE_STRING }
1125
+ }), "CreatePromptVersionResponseFilterSensitiveLog");
1126
+ var GetPromptResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1127
+ ...obj,
1128
+ ...obj.variants && { variants: import_smithy_client.SENSITIVE_STRING }
1129
+ }), "GetPromptResponseFilterSensitiveLog");
1130
+ var UpdatePromptRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1131
+ ...obj,
1132
+ ...obj.variants && { variants: import_smithy_client.SENSITIVE_STRING }
1133
+ }), "UpdatePromptRequestFilterSensitiveLog");
1134
+ var UpdatePromptResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1135
+ ...obj,
1136
+ ...obj.variants && { variants: import_smithy_client.SENSITIVE_STRING }
1137
+ }), "UpdatePromptResponseFilterSensitiveLog");
627
1138
  var GetAgentVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
628
1139
  ...obj,
629
1140
  ...obj.agentVersion && { agentVersion: AgentVersionFilterSensitiveLog(obj.agentVersion) }
@@ -667,6 +1178,7 @@ var se_CreateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
667
1178
  guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
668
1179
  idleSessionTTLInSeconds: [],
669
1180
  instruction: [],
1181
+ memoryConfiguration: (_) => (0, import_smithy_client._json)(_),
670
1182
  promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context),
671
1183
  tags: (_) => (0, import_smithy_client._json)(_)
672
1184
  })
@@ -740,6 +1252,64 @@ var se_CreateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
740
1252
  b.m("PUT").h(headers).b(body);
741
1253
  return b.build();
742
1254
  }, "se_CreateDataSourceCommand");
1255
+ var se_CreateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1256
+ const b = (0, import_core.requestBuilder)(input, context);
1257
+ const headers = {
1258
+ "content-type": "application/json"
1259
+ };
1260
+ b.bp("/flows");
1261
+ let body;
1262
+ body = JSON.stringify(
1263
+ (0, import_smithy_client.take)(input, {
1264
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1265
+ customerEncryptionKeyArn: [],
1266
+ definition: (_) => se_FlowDefinition(_, context),
1267
+ description: [],
1268
+ executionRoleArn: [],
1269
+ name: [],
1270
+ tags: (_) => (0, import_smithy_client._json)(_)
1271
+ })
1272
+ );
1273
+ b.m("POST").h(headers).b(body);
1274
+ return b.build();
1275
+ }, "se_CreateFlowCommand");
1276
+ var se_CreateFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
1277
+ const b = (0, import_core.requestBuilder)(input, context);
1278
+ const headers = {
1279
+ "content-type": "application/json"
1280
+ };
1281
+ b.bp("/flows/{flowIdentifier}/aliases");
1282
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1283
+ let body;
1284
+ body = JSON.stringify(
1285
+ (0, import_smithy_client.take)(input, {
1286
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1287
+ description: [],
1288
+ name: [],
1289
+ routingConfiguration: (_) => (0, import_smithy_client._json)(_),
1290
+ tags: (_) => (0, import_smithy_client._json)(_)
1291
+ })
1292
+ );
1293
+ b.m("POST").h(headers).b(body);
1294
+ return b.build();
1295
+ }, "se_CreateFlowAliasCommand");
1296
+ var se_CreateFlowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
1297
+ const b = (0, import_core.requestBuilder)(input, context);
1298
+ const headers = {
1299
+ "content-type": "application/json"
1300
+ };
1301
+ b.bp("/flows/{flowIdentifier}/versions");
1302
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1303
+ let body;
1304
+ body = JSON.stringify(
1305
+ (0, import_smithy_client.take)(input, {
1306
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1307
+ description: []
1308
+ })
1309
+ );
1310
+ b.m("POST").h(headers).b(body);
1311
+ return b.build();
1312
+ }, "se_CreateFlowVersionCommand");
743
1313
  var se_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
744
1314
  const b = (0, import_core.requestBuilder)(input, context);
745
1315
  const headers = {
@@ -761,6 +1331,45 @@ var se_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
761
1331
  b.m("PUT").h(headers).b(body);
762
1332
  return b.build();
763
1333
  }, "se_CreateKnowledgeBaseCommand");
1334
+ var se_CreatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1335
+ const b = (0, import_core.requestBuilder)(input, context);
1336
+ const headers = {
1337
+ "content-type": "application/json"
1338
+ };
1339
+ b.bp("/prompts");
1340
+ let body;
1341
+ body = JSON.stringify(
1342
+ (0, import_smithy_client.take)(input, {
1343
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1344
+ customerEncryptionKeyArn: [],
1345
+ defaultVariant: [],
1346
+ description: [],
1347
+ name: [],
1348
+ tags: (_) => (0, import_smithy_client._json)(_),
1349
+ variants: (_) => se_PromptVariantList(_, context)
1350
+ })
1351
+ );
1352
+ b.m("POST").h(headers).b(body);
1353
+ return b.build();
1354
+ }, "se_CreatePromptCommand");
1355
+ var se_CreatePromptVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
1356
+ const b = (0, import_core.requestBuilder)(input, context);
1357
+ const headers = {
1358
+ "content-type": "application/json"
1359
+ };
1360
+ b.bp("/prompts/{promptIdentifier}/versions");
1361
+ b.p("promptIdentifier", () => input.promptIdentifier, "{promptIdentifier}", false);
1362
+ let body;
1363
+ body = JSON.stringify(
1364
+ (0, import_smithy_client.take)(input, {
1365
+ clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
1366
+ description: [],
1367
+ tags: (_) => (0, import_smithy_client._json)(_)
1368
+ })
1369
+ );
1370
+ b.m("POST").h(headers).b(body);
1371
+ return b.build();
1372
+ }, "se_CreatePromptVersionCommand");
764
1373
  var se_DeleteAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
765
1374
  const b = (0, import_core.requestBuilder)(input, context);
766
1375
  const headers = {};
@@ -820,6 +1429,41 @@ var se_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
820
1429
  b.m("DELETE").h(headers).b(body);
821
1430
  return b.build();
822
1431
  }, "se_DeleteDataSourceCommand");
1432
+ var se_DeleteFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1433
+ const b = (0, import_core.requestBuilder)(input, context);
1434
+ const headers = {};
1435
+ b.bp("/flows/{flowIdentifier}");
1436
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1437
+ const query = (0, import_smithy_client.map)({
1438
+ [_sRIUC]: [() => input.skipResourceInUseCheck !== void 0, () => input[_sRIUC].toString()]
1439
+ });
1440
+ let body;
1441
+ b.m("DELETE").h(headers).q(query).b(body);
1442
+ return b.build();
1443
+ }, "se_DeleteFlowCommand");
1444
+ var se_DeleteFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
1445
+ const b = (0, import_core.requestBuilder)(input, context);
1446
+ const headers = {};
1447
+ b.bp("/flows/{flowIdentifier}/aliases/{aliasIdentifier}");
1448
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1449
+ b.p("aliasIdentifier", () => input.aliasIdentifier, "{aliasIdentifier}", false);
1450
+ let body;
1451
+ b.m("DELETE").h(headers).b(body);
1452
+ return b.build();
1453
+ }, "se_DeleteFlowAliasCommand");
1454
+ var se_DeleteFlowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
1455
+ const b = (0, import_core.requestBuilder)(input, context);
1456
+ const headers = {};
1457
+ b.bp("/flows/{flowIdentifier}/versions/{flowVersion}");
1458
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1459
+ b.p("flowVersion", () => input.flowVersion, "{flowVersion}", false);
1460
+ const query = (0, import_smithy_client.map)({
1461
+ [_sRIUC]: [() => input.skipResourceInUseCheck !== void 0, () => input[_sRIUC].toString()]
1462
+ });
1463
+ let body;
1464
+ b.m("DELETE").h(headers).q(query).b(body);
1465
+ return b.build();
1466
+ }, "se_DeleteFlowVersionCommand");
823
1467
  var se_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
824
1468
  const b = (0, import_core.requestBuilder)(input, context);
825
1469
  const headers = {};
@@ -829,6 +1473,18 @@ var se_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context
829
1473
  b.m("DELETE").h(headers).b(body);
830
1474
  return b.build();
831
1475
  }, "se_DeleteKnowledgeBaseCommand");
1476
+ var se_DeletePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1477
+ const b = (0, import_core.requestBuilder)(input, context);
1478
+ const headers = {};
1479
+ b.bp("/prompts/{promptIdentifier}");
1480
+ b.p("promptIdentifier", () => input.promptIdentifier, "{promptIdentifier}", false);
1481
+ const query = (0, import_smithy_client.map)({
1482
+ [_pV]: [, input[_pV]]
1483
+ });
1484
+ let body;
1485
+ b.m("DELETE").h(headers).q(query).b(body);
1486
+ return b.build();
1487
+ }, "se_DeletePromptCommand");
832
1488
  var se_DisassociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
833
1489
  const b = (0, import_core.requestBuilder)(input, context);
834
1490
  const headers = {};
@@ -901,6 +1557,35 @@ var se_GetDataSourceCommand = /* @__PURE__ */ __name(async (input, context) => {
901
1557
  b.m("GET").h(headers).b(body);
902
1558
  return b.build();
903
1559
  }, "se_GetDataSourceCommand");
1560
+ var se_GetFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1561
+ const b = (0, import_core.requestBuilder)(input, context);
1562
+ const headers = {};
1563
+ b.bp("/flows/{flowIdentifier}");
1564
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1565
+ let body;
1566
+ b.m("GET").h(headers).b(body);
1567
+ return b.build();
1568
+ }, "se_GetFlowCommand");
1569
+ var se_GetFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
1570
+ const b = (0, import_core.requestBuilder)(input, context);
1571
+ const headers = {};
1572
+ b.bp("/flows/{flowIdentifier}/aliases/{aliasIdentifier}");
1573
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1574
+ b.p("aliasIdentifier", () => input.aliasIdentifier, "{aliasIdentifier}", false);
1575
+ let body;
1576
+ b.m("GET").h(headers).b(body);
1577
+ return b.build();
1578
+ }, "se_GetFlowAliasCommand");
1579
+ var se_GetFlowVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
1580
+ const b = (0, import_core.requestBuilder)(input, context);
1581
+ const headers = {};
1582
+ b.bp("/flows/{flowIdentifier}/versions/{flowVersion}");
1583
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1584
+ b.p("flowVersion", () => input.flowVersion, "{flowVersion}", false);
1585
+ let body;
1586
+ b.m("GET").h(headers).b(body);
1587
+ return b.build();
1588
+ }, "se_GetFlowVersionCommand");
904
1589
  var se_GetIngestionJobCommand = /* @__PURE__ */ __name(async (input, context) => {
905
1590
  const b = (0, import_core.requestBuilder)(input, context);
906
1591
  const headers = {};
@@ -921,6 +1606,18 @@ var se_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) =
921
1606
  b.m("GET").h(headers).b(body);
922
1607
  return b.build();
923
1608
  }, "se_GetKnowledgeBaseCommand");
1609
+ var se_GetPromptCommand = /* @__PURE__ */ __name(async (input, context) => {
1610
+ const b = (0, import_core.requestBuilder)(input, context);
1611
+ const headers = {};
1612
+ b.bp("/prompts/{promptIdentifier}");
1613
+ b.p("promptIdentifier", () => input.promptIdentifier, "{promptIdentifier}", false);
1614
+ const query = (0, import_smithy_client.map)({
1615
+ [_pV]: [, input[_pV]]
1616
+ });
1617
+ let body;
1618
+ b.m("GET").h(headers).q(query).b(body);
1619
+ return b.build();
1620
+ }, "se_GetPromptCommand");
924
1621
  var se_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (input, context) => {
925
1622
  const b = (0, import_core.requestBuilder)(input, context);
926
1623
  const headers = {
@@ -1024,6 +1721,44 @@ var se_ListDataSourcesCommand = /* @__PURE__ */ __name(async (input, context) =>
1024
1721
  b.m("POST").h(headers).b(body);
1025
1722
  return b.build();
1026
1723
  }, "se_ListDataSourcesCommand");
1724
+ var se_ListFlowAliasesCommand = /* @__PURE__ */ __name(async (input, context) => {
1725
+ const b = (0, import_core.requestBuilder)(input, context);
1726
+ const headers = {};
1727
+ b.bp("/flows/{flowIdentifier}/aliases");
1728
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1729
+ const query = (0, import_smithy_client.map)({
1730
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1731
+ [_nT]: [, input[_nT]]
1732
+ });
1733
+ let body;
1734
+ b.m("GET").h(headers).q(query).b(body);
1735
+ return b.build();
1736
+ }, "se_ListFlowAliasesCommand");
1737
+ var se_ListFlowsCommand = /* @__PURE__ */ __name(async (input, context) => {
1738
+ const b = (0, import_core.requestBuilder)(input, context);
1739
+ const headers = {};
1740
+ b.bp("/flows");
1741
+ const query = (0, import_smithy_client.map)({
1742
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1743
+ [_nT]: [, input[_nT]]
1744
+ });
1745
+ let body;
1746
+ b.m("GET").h(headers).q(query).b(body);
1747
+ return b.build();
1748
+ }, "se_ListFlowsCommand");
1749
+ var se_ListFlowVersionsCommand = /* @__PURE__ */ __name(async (input, context) => {
1750
+ const b = (0, import_core.requestBuilder)(input, context);
1751
+ const headers = {};
1752
+ b.bp("/flows/{flowIdentifier}/versions");
1753
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1754
+ const query = (0, import_smithy_client.map)({
1755
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1756
+ [_nT]: [, input[_nT]]
1757
+ });
1758
+ let body;
1759
+ b.m("GET").h(headers).q(query).b(body);
1760
+ return b.build();
1761
+ }, "se_ListFlowVersionsCommand");
1027
1762
  var se_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
1028
1763
  const b = (0, import_core.requestBuilder)(input, context);
1029
1764
  const headers = {
@@ -1060,6 +1795,19 @@ var se_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (input, context)
1060
1795
  b.m("POST").h(headers).b(body);
1061
1796
  return b.build();
1062
1797
  }, "se_ListKnowledgeBasesCommand");
1798
+ var se_ListPromptsCommand = /* @__PURE__ */ __name(async (input, context) => {
1799
+ const b = (0, import_core.requestBuilder)(input, context);
1800
+ const headers = {};
1801
+ b.bp("/prompts");
1802
+ const query = (0, import_smithy_client.map)({
1803
+ [_pI]: [, input[_pI]],
1804
+ [_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
1805
+ [_nT]: [, input[_nT]]
1806
+ });
1807
+ let body;
1808
+ b.m("GET").h(headers).q(query).b(body);
1809
+ return b.build();
1810
+ }, "se_ListPromptsCommand");
1063
1811
  var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
1064
1812
  const b = (0, import_core.requestBuilder)(input, context);
1065
1813
  const headers = {};
@@ -1078,6 +1826,15 @@ var se_PrepareAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
1078
1826
  b.m("POST").h(headers).b(body);
1079
1827
  return b.build();
1080
1828
  }, "se_PrepareAgentCommand");
1829
+ var se_PrepareFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1830
+ const b = (0, import_core.requestBuilder)(input, context);
1831
+ const headers = {};
1832
+ b.bp("/flows/{flowIdentifier}");
1833
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1834
+ let body;
1835
+ b.m("POST").h(headers).b(body);
1836
+ return b.build();
1837
+ }, "se_PrepareFlowCommand");
1081
1838
  var se_StartIngestionJobCommand = /* @__PURE__ */ __name(async (input, context) => {
1082
1839
  const b = (0, import_core.requestBuilder)(input, context);
1083
1840
  const headers = {
@@ -1145,6 +1902,7 @@ var se_UpdateAgentCommand = /* @__PURE__ */ __name(async (input, context) => {
1145
1902
  guardrailConfiguration: (_) => (0, import_smithy_client._json)(_),
1146
1903
  idleSessionTTLInSeconds: [],
1147
1904
  instruction: [],
1905
+ memoryConfiguration: (_) => (0, import_smithy_client._json)(_),
1148
1906
  promptOverrideConfiguration: (_) => se_PromptOverrideConfiguration(_, context)
1149
1907
  })
1150
1908
  );
@@ -1235,26 +1993,85 @@ var se_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (input, context) =
1235
1993
  b.m("PUT").h(headers).b(body);
1236
1994
  return b.build();
1237
1995
  }, "se_UpdateDataSourceCommand");
1238
- var se_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
1996
+ var se_UpdateFlowCommand = /* @__PURE__ */ __name(async (input, context) => {
1239
1997
  const b = (0, import_core.requestBuilder)(input, context);
1240
1998
  const headers = {
1241
1999
  "content-type": "application/json"
1242
2000
  };
1243
- b.bp("/knowledgebases/{knowledgeBaseId}");
1244
- b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
2001
+ b.bp("/flows/{flowIdentifier}");
2002
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
1245
2003
  let body;
1246
2004
  body = JSON.stringify(
1247
2005
  (0, import_smithy_client.take)(input, {
2006
+ customerEncryptionKeyArn: [],
2007
+ definition: (_) => se_FlowDefinition(_, context),
1248
2008
  description: [],
1249
- knowledgeBaseConfiguration: (_) => (0, import_smithy_client._json)(_),
1250
- name: [],
1251
- roleArn: [],
2009
+ executionRoleArn: [],
2010
+ name: []
2011
+ })
2012
+ );
2013
+ b.m("PUT").h(headers).b(body);
2014
+ return b.build();
2015
+ }, "se_UpdateFlowCommand");
2016
+ var se_UpdateFlowAliasCommand = /* @__PURE__ */ __name(async (input, context) => {
2017
+ const b = (0, import_core.requestBuilder)(input, context);
2018
+ const headers = {
2019
+ "content-type": "application/json"
2020
+ };
2021
+ b.bp("/flows/{flowIdentifier}/aliases/{aliasIdentifier}");
2022
+ b.p("flowIdentifier", () => input.flowIdentifier, "{flowIdentifier}", false);
2023
+ b.p("aliasIdentifier", () => input.aliasIdentifier, "{aliasIdentifier}", false);
2024
+ let body;
2025
+ body = JSON.stringify(
2026
+ (0, import_smithy_client.take)(input, {
2027
+ description: [],
2028
+ name: [],
2029
+ routingConfiguration: (_) => (0, import_smithy_client._json)(_)
2030
+ })
2031
+ );
2032
+ b.m("PUT").h(headers).b(body);
2033
+ return b.build();
2034
+ }, "se_UpdateFlowAliasCommand");
2035
+ var se_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (input, context) => {
2036
+ const b = (0, import_core.requestBuilder)(input, context);
2037
+ const headers = {
2038
+ "content-type": "application/json"
2039
+ };
2040
+ b.bp("/knowledgebases/{knowledgeBaseId}");
2041
+ b.p("knowledgeBaseId", () => input.knowledgeBaseId, "{knowledgeBaseId}", false);
2042
+ let body;
2043
+ body = JSON.stringify(
2044
+ (0, import_smithy_client.take)(input, {
2045
+ description: [],
2046
+ knowledgeBaseConfiguration: (_) => (0, import_smithy_client._json)(_),
2047
+ name: [],
2048
+ roleArn: [],
1252
2049
  storageConfiguration: (_) => (0, import_smithy_client._json)(_)
1253
2050
  })
1254
2051
  );
1255
2052
  b.m("PUT").h(headers).b(body);
1256
2053
  return b.build();
1257
2054
  }, "se_UpdateKnowledgeBaseCommand");
2055
+ var se_UpdatePromptCommand = /* @__PURE__ */ __name(async (input, context) => {
2056
+ const b = (0, import_core.requestBuilder)(input, context);
2057
+ const headers = {
2058
+ "content-type": "application/json"
2059
+ };
2060
+ b.bp("/prompts/{promptIdentifier}");
2061
+ b.p("promptIdentifier", () => input.promptIdentifier, "{promptIdentifier}", false);
2062
+ let body;
2063
+ body = JSON.stringify(
2064
+ (0, import_smithy_client.take)(input, {
2065
+ customerEncryptionKeyArn: [],
2066
+ defaultVariant: [],
2067
+ description: [],
2068
+ name: [],
2069
+ variants: (_) => se_PromptVariantList(_, context)
2070
+ })
2071
+ );
2072
+ b.m("PUT").h(headers).b(body);
2073
+ return b.build();
2074
+ }, "se_UpdatePromptCommand");
1258
2075
  var de_AssociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
1259
2076
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1260
2077
  return de_CommandError(output, context);
@@ -1325,6 +2142,74 @@ var de_CreateDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
1325
2142
  Object.assign(contents, doc);
1326
2143
  return contents;
1327
2144
  }, "de_CreateDataSourceCommand");
2145
+ var de_CreateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2146
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2147
+ return de_CommandError(output, context);
2148
+ }
2149
+ const contents = (0, import_smithy_client.map)({
2150
+ $metadata: deserializeMetadata(output)
2151
+ });
2152
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2153
+ const doc = (0, import_smithy_client.take)(data, {
2154
+ arn: import_smithy_client.expectString,
2155
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2156
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2157
+ definition: (_) => de_FlowDefinition(_, context),
2158
+ description: import_smithy_client.expectString,
2159
+ executionRoleArn: import_smithy_client.expectString,
2160
+ id: import_smithy_client.expectString,
2161
+ name: import_smithy_client.expectString,
2162
+ status: import_smithy_client.expectString,
2163
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2164
+ version: import_smithy_client.expectString
2165
+ });
2166
+ Object.assign(contents, doc);
2167
+ return contents;
2168
+ }, "de_CreateFlowCommand");
2169
+ var de_CreateFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
2170
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2171
+ return de_CommandError(output, context);
2172
+ }
2173
+ const contents = (0, import_smithy_client.map)({
2174
+ $metadata: deserializeMetadata(output)
2175
+ });
2176
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2177
+ const doc = (0, import_smithy_client.take)(data, {
2178
+ arn: import_smithy_client.expectString,
2179
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2180
+ description: import_smithy_client.expectString,
2181
+ flowId: import_smithy_client.expectString,
2182
+ id: import_smithy_client.expectString,
2183
+ name: import_smithy_client.expectString,
2184
+ routingConfiguration: import_smithy_client._json,
2185
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2186
+ });
2187
+ Object.assign(contents, doc);
2188
+ return contents;
2189
+ }, "de_CreateFlowAliasCommand");
2190
+ var de_CreateFlowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
2191
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2192
+ return de_CommandError(output, context);
2193
+ }
2194
+ const contents = (0, import_smithy_client.map)({
2195
+ $metadata: deserializeMetadata(output)
2196
+ });
2197
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2198
+ const doc = (0, import_smithy_client.take)(data, {
2199
+ arn: import_smithy_client.expectString,
2200
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2201
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2202
+ definition: (_) => de_FlowDefinition(_, context),
2203
+ description: import_smithy_client.expectString,
2204
+ executionRoleArn: import_smithy_client.expectString,
2205
+ id: import_smithy_client.expectString,
2206
+ name: import_smithy_client.expectString,
2207
+ status: import_smithy_client.expectString,
2208
+ version: import_smithy_client.expectString
2209
+ });
2210
+ Object.assign(contents, doc);
2211
+ return contents;
2212
+ }, "de_CreateFlowVersionCommand");
1328
2213
  var de_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
1329
2214
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1330
2215
  return de_CommandError(output, context);
@@ -1339,6 +2224,52 @@ var de_CreateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
1339
2224
  Object.assign(contents, doc);
1340
2225
  return contents;
1341
2226
  }, "de_CreateKnowledgeBaseCommand");
2227
+ var de_CreatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2228
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2229
+ return de_CommandError(output, context);
2230
+ }
2231
+ const contents = (0, import_smithy_client.map)({
2232
+ $metadata: deserializeMetadata(output)
2233
+ });
2234
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2235
+ const doc = (0, import_smithy_client.take)(data, {
2236
+ arn: import_smithy_client.expectString,
2237
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2238
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2239
+ defaultVariant: import_smithy_client.expectString,
2240
+ description: import_smithy_client.expectString,
2241
+ id: import_smithy_client.expectString,
2242
+ name: import_smithy_client.expectString,
2243
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2244
+ variants: (_) => de_PromptVariantList(_, context),
2245
+ version: import_smithy_client.expectString
2246
+ });
2247
+ Object.assign(contents, doc);
2248
+ return contents;
2249
+ }, "de_CreatePromptCommand");
2250
+ var de_CreatePromptVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
2251
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
2252
+ return de_CommandError(output, context);
2253
+ }
2254
+ const contents = (0, import_smithy_client.map)({
2255
+ $metadata: deserializeMetadata(output)
2256
+ });
2257
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2258
+ const doc = (0, import_smithy_client.take)(data, {
2259
+ arn: import_smithy_client.expectString,
2260
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2261
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2262
+ defaultVariant: import_smithy_client.expectString,
2263
+ description: import_smithy_client.expectString,
2264
+ id: import_smithy_client.expectString,
2265
+ name: import_smithy_client.expectString,
2266
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2267
+ variants: (_) => de_PromptVariantList(_, context),
2268
+ version: import_smithy_client.expectString
2269
+ });
2270
+ Object.assign(contents, doc);
2271
+ return contents;
2272
+ }, "de_CreatePromptVersionCommand");
1342
2273
  var de_DeleteAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
1343
2274
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1344
2275
  return de_CommandError(output, context);
@@ -1412,6 +2343,50 @@ var de_DeleteDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
1412
2343
  Object.assign(contents, doc);
1413
2344
  return contents;
1414
2345
  }, "de_DeleteDataSourceCommand");
2346
+ var de_DeleteFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2347
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2348
+ return de_CommandError(output, context);
2349
+ }
2350
+ const contents = (0, import_smithy_client.map)({
2351
+ $metadata: deserializeMetadata(output)
2352
+ });
2353
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2354
+ const doc = (0, import_smithy_client.take)(data, {
2355
+ id: import_smithy_client.expectString
2356
+ });
2357
+ Object.assign(contents, doc);
2358
+ return contents;
2359
+ }, "de_DeleteFlowCommand");
2360
+ var de_DeleteFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
2361
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2362
+ return de_CommandError(output, context);
2363
+ }
2364
+ const contents = (0, import_smithy_client.map)({
2365
+ $metadata: deserializeMetadata(output)
2366
+ });
2367
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2368
+ const doc = (0, import_smithy_client.take)(data, {
2369
+ flowId: import_smithy_client.expectString,
2370
+ id: import_smithy_client.expectString
2371
+ });
2372
+ Object.assign(contents, doc);
2373
+ return contents;
2374
+ }, "de_DeleteFlowAliasCommand");
2375
+ var de_DeleteFlowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
2376
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2377
+ return de_CommandError(output, context);
2378
+ }
2379
+ const contents = (0, import_smithy_client.map)({
2380
+ $metadata: deserializeMetadata(output)
2381
+ });
2382
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2383
+ const doc = (0, import_smithy_client.take)(data, {
2384
+ id: import_smithy_client.expectString,
2385
+ version: import_smithy_client.expectString
2386
+ });
2387
+ Object.assign(contents, doc);
2388
+ return contents;
2389
+ }, "de_DeleteFlowVersionCommand");
1415
2390
  var de_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
1416
2391
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1417
2392
  return de_CommandError(output, context);
@@ -1427,6 +2402,21 @@ var de_DeleteKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
1427
2402
  Object.assign(contents, doc);
1428
2403
  return contents;
1429
2404
  }, "de_DeleteKnowledgeBaseCommand");
2405
+ var de_DeletePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2406
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2407
+ return de_CommandError(output, context);
2408
+ }
2409
+ const contents = (0, import_smithy_client.map)({
2410
+ $metadata: deserializeMetadata(output)
2411
+ });
2412
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2413
+ const doc = (0, import_smithy_client.take)(data, {
2414
+ id: import_smithy_client.expectString,
2415
+ version: import_smithy_client.expectString
2416
+ });
2417
+ Object.assign(contents, doc);
2418
+ return contents;
2419
+ }, "de_DeletePromptCommand");
1430
2420
  var de_DisassociateAgentKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
1431
2421
  if (output.statusCode !== 204 && output.statusCode >= 300) {
1432
2422
  return de_CommandError(output, context);
@@ -1521,6 +2511,75 @@ var de_GetDataSourceCommand = /* @__PURE__ */ __name(async (output, context) =>
1521
2511
  Object.assign(contents, doc);
1522
2512
  return contents;
1523
2513
  }, "de_GetDataSourceCommand");
2514
+ var de_GetFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2515
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2516
+ return de_CommandError(output, context);
2517
+ }
2518
+ const contents = (0, import_smithy_client.map)({
2519
+ $metadata: deserializeMetadata(output)
2520
+ });
2521
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2522
+ const doc = (0, import_smithy_client.take)(data, {
2523
+ arn: import_smithy_client.expectString,
2524
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2525
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2526
+ definition: (_) => de_FlowDefinition(_, context),
2527
+ description: import_smithy_client.expectString,
2528
+ executionRoleArn: import_smithy_client.expectString,
2529
+ id: import_smithy_client.expectString,
2530
+ name: import_smithy_client.expectString,
2531
+ status: import_smithy_client.expectString,
2532
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2533
+ validations: import_smithy_client._json,
2534
+ version: import_smithy_client.expectString
2535
+ });
2536
+ Object.assign(contents, doc);
2537
+ return contents;
2538
+ }, "de_GetFlowCommand");
2539
+ var de_GetFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
2540
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2541
+ return de_CommandError(output, context);
2542
+ }
2543
+ const contents = (0, import_smithy_client.map)({
2544
+ $metadata: deserializeMetadata(output)
2545
+ });
2546
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2547
+ const doc = (0, import_smithy_client.take)(data, {
2548
+ arn: import_smithy_client.expectString,
2549
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2550
+ description: import_smithy_client.expectString,
2551
+ flowId: import_smithy_client.expectString,
2552
+ id: import_smithy_client.expectString,
2553
+ name: import_smithy_client.expectString,
2554
+ routingConfiguration: import_smithy_client._json,
2555
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2556
+ });
2557
+ Object.assign(contents, doc);
2558
+ return contents;
2559
+ }, "de_GetFlowAliasCommand");
2560
+ var de_GetFlowVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
2561
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2562
+ return de_CommandError(output, context);
2563
+ }
2564
+ const contents = (0, import_smithy_client.map)({
2565
+ $metadata: deserializeMetadata(output)
2566
+ });
2567
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2568
+ const doc = (0, import_smithy_client.take)(data, {
2569
+ arn: import_smithy_client.expectString,
2570
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2571
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2572
+ definition: (_) => de_FlowDefinition(_, context),
2573
+ description: import_smithy_client.expectString,
2574
+ executionRoleArn: import_smithy_client.expectString,
2575
+ id: import_smithy_client.expectString,
2576
+ name: import_smithy_client.expectString,
2577
+ status: import_smithy_client.expectString,
2578
+ version: import_smithy_client.expectString
2579
+ });
2580
+ Object.assign(contents, doc);
2581
+ return contents;
2582
+ }, "de_GetFlowVersionCommand");
1524
2583
  var de_GetIngestionJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1525
2584
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1526
2585
  return de_CommandError(output, context);
@@ -1549,6 +2608,29 @@ var de_GetKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context)
1549
2608
  Object.assign(contents, doc);
1550
2609
  return contents;
1551
2610
  }, "de_GetKnowledgeBaseCommand");
2611
+ var de_GetPromptCommand = /* @__PURE__ */ __name(async (output, context) => {
2612
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2613
+ return de_CommandError(output, context);
2614
+ }
2615
+ const contents = (0, import_smithy_client.map)({
2616
+ $metadata: deserializeMetadata(output)
2617
+ });
2618
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2619
+ const doc = (0, import_smithy_client.take)(data, {
2620
+ arn: import_smithy_client.expectString,
2621
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2622
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2623
+ defaultVariant: import_smithy_client.expectString,
2624
+ description: import_smithy_client.expectString,
2625
+ id: import_smithy_client.expectString,
2626
+ name: import_smithy_client.expectString,
2627
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2628
+ variants: (_) => de_PromptVariantList(_, context),
2629
+ version: import_smithy_client.expectString
2630
+ });
2631
+ Object.assign(contents, doc);
2632
+ return contents;
2633
+ }, "de_GetPromptCommand");
1552
2634
  var de_ListAgentActionGroupsCommand = /* @__PURE__ */ __name(async (output, context) => {
1553
2635
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1554
2636
  return de_CommandError(output, context);
@@ -1639,6 +2721,51 @@ var de_ListDataSourcesCommand = /* @__PURE__ */ __name(async (output, context) =
1639
2721
  Object.assign(contents, doc);
1640
2722
  return contents;
1641
2723
  }, "de_ListDataSourcesCommand");
2724
+ var de_ListFlowAliasesCommand = /* @__PURE__ */ __name(async (output, context) => {
2725
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2726
+ return de_CommandError(output, context);
2727
+ }
2728
+ const contents = (0, import_smithy_client.map)({
2729
+ $metadata: deserializeMetadata(output)
2730
+ });
2731
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2732
+ const doc = (0, import_smithy_client.take)(data, {
2733
+ flowAliasSummaries: (_) => de_FlowAliasSummaries(_, context),
2734
+ nextToken: import_smithy_client.expectString
2735
+ });
2736
+ Object.assign(contents, doc);
2737
+ return contents;
2738
+ }, "de_ListFlowAliasesCommand");
2739
+ var de_ListFlowsCommand = /* @__PURE__ */ __name(async (output, context) => {
2740
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2741
+ return de_CommandError(output, context);
2742
+ }
2743
+ const contents = (0, import_smithy_client.map)({
2744
+ $metadata: deserializeMetadata(output)
2745
+ });
2746
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2747
+ const doc = (0, import_smithy_client.take)(data, {
2748
+ flowSummaries: (_) => de_FlowSummaries(_, context),
2749
+ nextToken: import_smithy_client.expectString
2750
+ });
2751
+ Object.assign(contents, doc);
2752
+ return contents;
2753
+ }, "de_ListFlowsCommand");
2754
+ var de_ListFlowVersionsCommand = /* @__PURE__ */ __name(async (output, context) => {
2755
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2756
+ return de_CommandError(output, context);
2757
+ }
2758
+ const contents = (0, import_smithy_client.map)({
2759
+ $metadata: deserializeMetadata(output)
2760
+ });
2761
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2762
+ const doc = (0, import_smithy_client.take)(data, {
2763
+ flowVersionSummaries: (_) => de_FlowVersionSummaries(_, context),
2764
+ nextToken: import_smithy_client.expectString
2765
+ });
2766
+ Object.assign(contents, doc);
2767
+ return contents;
2768
+ }, "de_ListFlowVersionsCommand");
1642
2769
  var de_ListIngestionJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
1643
2770
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1644
2771
  return de_CommandError(output, context);
@@ -1669,6 +2796,21 @@ var de_ListKnowledgeBasesCommand = /* @__PURE__ */ __name(async (output, context
1669
2796
  Object.assign(contents, doc);
1670
2797
  return contents;
1671
2798
  }, "de_ListKnowledgeBasesCommand");
2799
+ var de_ListPromptsCommand = /* @__PURE__ */ __name(async (output, context) => {
2800
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2801
+ return de_CommandError(output, context);
2802
+ }
2803
+ const contents = (0, import_smithy_client.map)({
2804
+ $metadata: deserializeMetadata(output)
2805
+ });
2806
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2807
+ const doc = (0, import_smithy_client.take)(data, {
2808
+ nextToken: import_smithy_client.expectString,
2809
+ promptSummaries: (_) => de_PromptSummaries(_, context)
2810
+ });
2811
+ Object.assign(contents, doc);
2812
+ return contents;
2813
+ }, "de_ListPromptsCommand");
1672
2814
  var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
1673
2815
  if (output.statusCode !== 200 && output.statusCode >= 300) {
1674
2816
  return de_CommandError(output, context);
@@ -1700,6 +2842,21 @@ var de_PrepareAgentCommand = /* @__PURE__ */ __name(async (output, context) => {
1700
2842
  Object.assign(contents, doc);
1701
2843
  return contents;
1702
2844
  }, "de_PrepareAgentCommand");
2845
+ var de_PrepareFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2846
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2847
+ return de_CommandError(output, context);
2848
+ }
2849
+ const contents = (0, import_smithy_client.map)({
2850
+ $metadata: deserializeMetadata(output)
2851
+ });
2852
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2853
+ const doc = (0, import_smithy_client.take)(data, {
2854
+ id: import_smithy_client.expectString,
2855
+ status: import_smithy_client.expectString
2856
+ });
2857
+ Object.assign(contents, doc);
2858
+ return contents;
2859
+ }, "de_PrepareFlowCommand");
1703
2860
  var de_StartIngestionJobCommand = /* @__PURE__ */ __name(async (output, context) => {
1704
2861
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1705
2862
  return de_CommandError(output, context);
@@ -1804,6 +2961,51 @@ var de_UpdateDataSourceCommand = /* @__PURE__ */ __name(async (output, context)
1804
2961
  Object.assign(contents, doc);
1805
2962
  return contents;
1806
2963
  }, "de_UpdateDataSourceCommand");
2964
+ var de_UpdateFlowCommand = /* @__PURE__ */ __name(async (output, context) => {
2965
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2966
+ return de_CommandError(output, context);
2967
+ }
2968
+ const contents = (0, import_smithy_client.map)({
2969
+ $metadata: deserializeMetadata(output)
2970
+ });
2971
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2972
+ const doc = (0, import_smithy_client.take)(data, {
2973
+ arn: import_smithy_client.expectString,
2974
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2975
+ customerEncryptionKeyArn: import_smithy_client.expectString,
2976
+ definition: (_) => de_FlowDefinition(_, context),
2977
+ description: import_smithy_client.expectString,
2978
+ executionRoleArn: import_smithy_client.expectString,
2979
+ id: import_smithy_client.expectString,
2980
+ name: import_smithy_client.expectString,
2981
+ status: import_smithy_client.expectString,
2982
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2983
+ version: import_smithy_client.expectString
2984
+ });
2985
+ Object.assign(contents, doc);
2986
+ return contents;
2987
+ }, "de_UpdateFlowCommand");
2988
+ var de_UpdateFlowAliasCommand = /* @__PURE__ */ __name(async (output, context) => {
2989
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2990
+ return de_CommandError(output, context);
2991
+ }
2992
+ const contents = (0, import_smithy_client.map)({
2993
+ $metadata: deserializeMetadata(output)
2994
+ });
2995
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2996
+ const doc = (0, import_smithy_client.take)(data, {
2997
+ arn: import_smithy_client.expectString,
2998
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2999
+ description: import_smithy_client.expectString,
3000
+ flowId: import_smithy_client.expectString,
3001
+ id: import_smithy_client.expectString,
3002
+ name: import_smithy_client.expectString,
3003
+ routingConfiguration: import_smithy_client._json,
3004
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
3005
+ });
3006
+ Object.assign(contents, doc);
3007
+ return contents;
3008
+ }, "de_UpdateFlowAliasCommand");
1807
3009
  var de_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, context) => {
1808
3010
  if (output.statusCode !== 202 && output.statusCode >= 300) {
1809
3011
  return de_CommandError(output, context);
@@ -1818,6 +3020,29 @@ var de_UpdateKnowledgeBaseCommand = /* @__PURE__ */ __name(async (output, contex
1818
3020
  Object.assign(contents, doc);
1819
3021
  return contents;
1820
3022
  }, "de_UpdateKnowledgeBaseCommand");
3023
+ var de_UpdatePromptCommand = /* @__PURE__ */ __name(async (output, context) => {
3024
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3025
+ return de_CommandError(output, context);
3026
+ }
3027
+ const contents = (0, import_smithy_client.map)({
3028
+ $metadata: deserializeMetadata(output)
3029
+ });
3030
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3031
+ const doc = (0, import_smithy_client.take)(data, {
3032
+ arn: import_smithy_client.expectString,
3033
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3034
+ customerEncryptionKeyArn: import_smithy_client.expectString,
3035
+ defaultVariant: import_smithy_client.expectString,
3036
+ description: import_smithy_client.expectString,
3037
+ id: import_smithy_client.expectString,
3038
+ name: import_smithy_client.expectString,
3039
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3040
+ variants: (_) => de_PromptVariantList(_, context),
3041
+ version: import_smithy_client.expectString
3042
+ });
3043
+ Object.assign(contents, doc);
3044
+ return contents;
3045
+ }, "de_UpdatePromptCommand");
1821
3046
  var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
1822
3047
  const parsedOutput = {
1823
3048
  ...output,
@@ -1948,6 +3173,43 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
1948
3173
  });
1949
3174
  return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
1950
3175
  }, "de_ValidationExceptionRes");
3176
+ var se_FlowDefinition = /* @__PURE__ */ __name((input, context) => {
3177
+ return (0, import_smithy_client.take)(input, {
3178
+ connections: import_smithy_client._json,
3179
+ nodes: (_) => se_FlowNodes(_, context)
3180
+ });
3181
+ }, "se_FlowDefinition");
3182
+ var se_FlowNode = /* @__PURE__ */ __name((input, context) => {
3183
+ return (0, import_smithy_client.take)(input, {
3184
+ configuration: (_) => se_FlowNodeConfiguration(_, context),
3185
+ inputs: import_smithy_client._json,
3186
+ name: [],
3187
+ outputs: import_smithy_client._json,
3188
+ type: []
3189
+ });
3190
+ }, "se_FlowNode");
3191
+ var se_FlowNodeConfiguration = /* @__PURE__ */ __name((input, context) => {
3192
+ return FlowNodeConfiguration.visit(input, {
3193
+ agent: (value) => ({ agent: (0, import_smithy_client._json)(value) }),
3194
+ collector: (value) => ({ collector: (0, import_smithy_client._json)(value) }),
3195
+ condition: (value) => ({ condition: (0, import_smithy_client._json)(value) }),
3196
+ input: (value) => ({ input: (0, import_smithy_client._json)(value) }),
3197
+ iterator: (value) => ({ iterator: (0, import_smithy_client._json)(value) }),
3198
+ knowledgeBase: (value) => ({ knowledgeBase: (0, import_smithy_client._json)(value) }),
3199
+ lambdaFunction: (value) => ({ lambdaFunction: (0, import_smithy_client._json)(value) }),
3200
+ lex: (value) => ({ lex: (0, import_smithy_client._json)(value) }),
3201
+ output: (value) => ({ output: (0, import_smithy_client._json)(value) }),
3202
+ prompt: (value) => ({ prompt: se_PromptFlowNodeConfiguration(value, context) }),
3203
+ retrieval: (value) => ({ retrieval: (0, import_smithy_client._json)(value) }),
3204
+ storage: (value) => ({ storage: (0, import_smithy_client._json)(value) }),
3205
+ _: (name, value) => ({ name: value })
3206
+ });
3207
+ }, "se_FlowNodeConfiguration");
3208
+ var se_FlowNodes = /* @__PURE__ */ __name((input, context) => {
3209
+ return input.filter((e) => e != null).map((entry) => {
3210
+ return se_FlowNode(entry, context);
3211
+ });
3212
+ }, "se_FlowNodes");
1951
3213
  var se_InferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
1952
3214
  return (0, import_smithy_client.take)(input, {
1953
3215
  maximumLength: [],
@@ -1972,12 +3234,61 @@ var se_PromptConfigurations = /* @__PURE__ */ __name((input, context) => {
1972
3234
  return se_PromptConfiguration(entry, context);
1973
3235
  });
1974
3236
  }, "se_PromptConfigurations");
3237
+ var se_PromptFlowNodeConfiguration = /* @__PURE__ */ __name((input, context) => {
3238
+ return (0, import_smithy_client.take)(input, {
3239
+ sourceConfiguration: (_) => se_PromptFlowNodeSourceConfiguration(_, context)
3240
+ });
3241
+ }, "se_PromptFlowNodeConfiguration");
3242
+ var se_PromptFlowNodeInlineConfiguration = /* @__PURE__ */ __name((input, context) => {
3243
+ return (0, import_smithy_client.take)(input, {
3244
+ inferenceConfiguration: (_) => se_PromptInferenceConfiguration(_, context),
3245
+ modelId: [],
3246
+ templateConfiguration: import_smithy_client._json,
3247
+ templateType: []
3248
+ });
3249
+ }, "se_PromptFlowNodeInlineConfiguration");
3250
+ var se_PromptFlowNodeSourceConfiguration = /* @__PURE__ */ __name((input, context) => {
3251
+ return PromptFlowNodeSourceConfiguration.visit(input, {
3252
+ inline: (value) => ({ inline: se_PromptFlowNodeInlineConfiguration(value, context) }),
3253
+ resource: (value) => ({ resource: (0, import_smithy_client._json)(value) }),
3254
+ _: (name, value) => ({ name: value })
3255
+ });
3256
+ }, "se_PromptFlowNodeSourceConfiguration");
3257
+ var se_PromptInferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
3258
+ return PromptInferenceConfiguration.visit(input, {
3259
+ text: (value) => ({ text: se_PromptModelInferenceConfiguration(value, context) }),
3260
+ _: (name, value) => ({ name: value })
3261
+ });
3262
+ }, "se_PromptInferenceConfiguration");
3263
+ var se_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((input, context) => {
3264
+ return (0, import_smithy_client.take)(input, {
3265
+ maxTokens: [],
3266
+ stopSequences: import_smithy_client._json,
3267
+ temperature: import_smithy_client.serializeFloat,
3268
+ topK: [],
3269
+ topP: import_smithy_client.serializeFloat
3270
+ });
3271
+ }, "se_PromptModelInferenceConfiguration");
1975
3272
  var se_PromptOverrideConfiguration = /* @__PURE__ */ __name((input, context) => {
1976
3273
  return (0, import_smithy_client.take)(input, {
1977
3274
  overrideLambda: [],
1978
3275
  promptConfigurations: (_) => se_PromptConfigurations(_, context)
1979
3276
  });
1980
3277
  }, "se_PromptOverrideConfiguration");
3278
+ var se_PromptVariant = /* @__PURE__ */ __name((input, context) => {
3279
+ return (0, import_smithy_client.take)(input, {
3280
+ inferenceConfiguration: (_) => se_PromptInferenceConfiguration(_, context),
3281
+ modelId: [],
3282
+ name: [],
3283
+ templateConfiguration: import_smithy_client._json,
3284
+ templateType: []
3285
+ });
3286
+ }, "se_PromptVariant");
3287
+ var se_PromptVariantList = /* @__PURE__ */ __name((input, context) => {
3288
+ return input.filter((e) => e != null).map((entry) => {
3289
+ return se_PromptVariant(entry, context);
3290
+ });
3291
+ }, "se_PromptVariantList");
1981
3292
  var de_ActionGroupSummaries = /* @__PURE__ */ __name((output, context) => {
1982
3293
  const retVal = (output || []).filter((e) => e != null).map((entry) => {
1983
3294
  return de_ActionGroupSummary(entry, context);
@@ -2010,6 +3321,7 @@ var de_Agent = /* @__PURE__ */ __name((output, context) => {
2010
3321
  guardrailConfiguration: import_smithy_client._json,
2011
3322
  idleSessionTTLInSeconds: import_smithy_client.expectInt32,
2012
3323
  instruction: import_smithy_client.expectString,
3324
+ memoryConfiguration: import_smithy_client._json,
2013
3325
  preparedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
2014
3326
  promptOverrideConfiguration: (_) => de_PromptOverrideConfiguration(_, context),
2015
3327
  recommendedActions: import_smithy_client._json,
@@ -2136,6 +3448,7 @@ var de_AgentVersion = /* @__PURE__ */ __name((output, context) => {
2136
3448
  guardrailConfiguration: import_smithy_client._json,
2137
3449
  idleSessionTTLInSeconds: import_smithy_client.expectInt32,
2138
3450
  instruction: import_smithy_client.expectString,
3451
+ memoryConfiguration: import_smithy_client._json,
2139
3452
  promptOverrideConfiguration: (_) => de_PromptOverrideConfiguration(_, context),
2140
3453
  recommendedActions: import_smithy_client._json,
2141
3454
  updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
@@ -2191,6 +3504,141 @@ var de_DataSourceSummary = /* @__PURE__ */ __name((output, context) => {
2191
3504
  updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
2192
3505
  });
2193
3506
  }, "de_DataSourceSummary");
3507
+ var de_FlowAliasSummaries = /* @__PURE__ */ __name((output, context) => {
3508
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3509
+ return de_FlowAliasSummary(entry, context);
3510
+ });
3511
+ return retVal;
3512
+ }, "de_FlowAliasSummaries");
3513
+ var de_FlowAliasSummary = /* @__PURE__ */ __name((output, context) => {
3514
+ return (0, import_smithy_client.take)(output, {
3515
+ arn: import_smithy_client.expectString,
3516
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3517
+ description: import_smithy_client.expectString,
3518
+ flowId: import_smithy_client.expectString,
3519
+ id: import_smithy_client.expectString,
3520
+ name: import_smithy_client.expectString,
3521
+ routingConfiguration: import_smithy_client._json,
3522
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
3523
+ });
3524
+ }, "de_FlowAliasSummary");
3525
+ var de_FlowDefinition = /* @__PURE__ */ __name((output, context) => {
3526
+ return (0, import_smithy_client.take)(output, {
3527
+ connections: import_smithy_client._json,
3528
+ nodes: (_) => de_FlowNodes(_, context)
3529
+ });
3530
+ }, "de_FlowDefinition");
3531
+ var de_FlowNode = /* @__PURE__ */ __name((output, context) => {
3532
+ return (0, import_smithy_client.take)(output, {
3533
+ configuration: (_) => de_FlowNodeConfiguration((0, import_core2.awsExpectUnion)(_), context),
3534
+ inputs: import_smithy_client._json,
3535
+ name: import_smithy_client.expectString,
3536
+ outputs: import_smithy_client._json,
3537
+ type: import_smithy_client.expectString
3538
+ });
3539
+ }, "de_FlowNode");
3540
+ var de_FlowNodeConfiguration = /* @__PURE__ */ __name((output, context) => {
3541
+ if (output.agent != null) {
3542
+ return {
3543
+ agent: (0, import_smithy_client._json)(output.agent)
3544
+ };
3545
+ }
3546
+ if (output.collector != null) {
3547
+ return {
3548
+ collector: (0, import_smithy_client._json)(output.collector)
3549
+ };
3550
+ }
3551
+ if (output.condition != null) {
3552
+ return {
3553
+ condition: (0, import_smithy_client._json)(output.condition)
3554
+ };
3555
+ }
3556
+ if (output.input != null) {
3557
+ return {
3558
+ input: (0, import_smithy_client._json)(output.input)
3559
+ };
3560
+ }
3561
+ if (output.iterator != null) {
3562
+ return {
3563
+ iterator: (0, import_smithy_client._json)(output.iterator)
3564
+ };
3565
+ }
3566
+ if (output.knowledgeBase != null) {
3567
+ return {
3568
+ knowledgeBase: (0, import_smithy_client._json)(output.knowledgeBase)
3569
+ };
3570
+ }
3571
+ if (output.lambdaFunction != null) {
3572
+ return {
3573
+ lambdaFunction: (0, import_smithy_client._json)(output.lambdaFunction)
3574
+ };
3575
+ }
3576
+ if (output.lex != null) {
3577
+ return {
3578
+ lex: (0, import_smithy_client._json)(output.lex)
3579
+ };
3580
+ }
3581
+ if (output.output != null) {
3582
+ return {
3583
+ output: (0, import_smithy_client._json)(output.output)
3584
+ };
3585
+ }
3586
+ if (output.prompt != null) {
3587
+ return {
3588
+ prompt: de_PromptFlowNodeConfiguration(output.prompt, context)
3589
+ };
3590
+ }
3591
+ if (output.retrieval != null) {
3592
+ return {
3593
+ retrieval: (0, import_smithy_client._json)(output.retrieval)
3594
+ };
3595
+ }
3596
+ if (output.storage != null) {
3597
+ return {
3598
+ storage: (0, import_smithy_client._json)(output.storage)
3599
+ };
3600
+ }
3601
+ return { $unknown: Object.entries(output)[0] };
3602
+ }, "de_FlowNodeConfiguration");
3603
+ var de_FlowNodes = /* @__PURE__ */ __name((output, context) => {
3604
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3605
+ return de_FlowNode(entry, context);
3606
+ });
3607
+ return retVal;
3608
+ }, "de_FlowNodes");
3609
+ var de_FlowSummaries = /* @__PURE__ */ __name((output, context) => {
3610
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3611
+ return de_FlowSummary(entry, context);
3612
+ });
3613
+ return retVal;
3614
+ }, "de_FlowSummaries");
3615
+ var de_FlowSummary = /* @__PURE__ */ __name((output, context) => {
3616
+ return (0, import_smithy_client.take)(output, {
3617
+ arn: import_smithy_client.expectString,
3618
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3619
+ description: import_smithy_client.expectString,
3620
+ id: import_smithy_client.expectString,
3621
+ name: import_smithy_client.expectString,
3622
+ status: import_smithy_client.expectString,
3623
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3624
+ version: import_smithy_client.expectString
3625
+ });
3626
+ }, "de_FlowSummary");
3627
+ var de_FlowVersionSummaries = /* @__PURE__ */ __name((output, context) => {
3628
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3629
+ return de_FlowVersionSummary(entry, context);
3630
+ });
3631
+ return retVal;
3632
+ }, "de_FlowVersionSummaries");
3633
+ var de_FlowVersionSummary = /* @__PURE__ */ __name((output, context) => {
3634
+ return (0, import_smithy_client.take)(output, {
3635
+ arn: import_smithy_client.expectString,
3636
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3637
+ id: import_smithy_client.expectString,
3638
+ status: import_smithy_client.expectString,
3639
+ version: import_smithy_client.expectString
3640
+ });
3641
+ }, "de_FlowVersionSummary");
2194
3642
  var de_InferenceConfiguration = /* @__PURE__ */ __name((output, context) => {
2195
3643
  return (0, import_smithy_client.take)(output, {
2196
3644
  maximumLength: import_smithy_client.expectInt32,
@@ -2277,18 +3725,97 @@ var de_PromptConfigurations = /* @__PURE__ */ __name((output, context) => {
2277
3725
  });
2278
3726
  return retVal;
2279
3727
  }, "de_PromptConfigurations");
3728
+ var de_PromptFlowNodeConfiguration = /* @__PURE__ */ __name((output, context) => {
3729
+ return (0, import_smithy_client.take)(output, {
3730
+ sourceConfiguration: (_) => de_PromptFlowNodeSourceConfiguration((0, import_core2.awsExpectUnion)(_), context)
3731
+ });
3732
+ }, "de_PromptFlowNodeConfiguration");
3733
+ var de_PromptFlowNodeInlineConfiguration = /* @__PURE__ */ __name((output, context) => {
3734
+ return (0, import_smithy_client.take)(output, {
3735
+ inferenceConfiguration: (_) => de_PromptInferenceConfiguration((0, import_core2.awsExpectUnion)(_), context),
3736
+ modelId: import_smithy_client.expectString,
3737
+ templateConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
3738
+ templateType: import_smithy_client.expectString
3739
+ });
3740
+ }, "de_PromptFlowNodeInlineConfiguration");
3741
+ var de_PromptFlowNodeSourceConfiguration = /* @__PURE__ */ __name((output, context) => {
3742
+ if (output.inline != null) {
3743
+ return {
3744
+ inline: de_PromptFlowNodeInlineConfiguration(output.inline, context)
3745
+ };
3746
+ }
3747
+ if (output.resource != null) {
3748
+ return {
3749
+ resource: (0, import_smithy_client._json)(output.resource)
3750
+ };
3751
+ }
3752
+ return { $unknown: Object.entries(output)[0] };
3753
+ }, "de_PromptFlowNodeSourceConfiguration");
3754
+ var de_PromptInferenceConfiguration = /* @__PURE__ */ __name((output, context) => {
3755
+ if (output.text != null) {
3756
+ return {
3757
+ text: de_PromptModelInferenceConfiguration(output.text, context)
3758
+ };
3759
+ }
3760
+ return { $unknown: Object.entries(output)[0] };
3761
+ }, "de_PromptInferenceConfiguration");
3762
+ var de_PromptModelInferenceConfiguration = /* @__PURE__ */ __name((output, context) => {
3763
+ return (0, import_smithy_client.take)(output, {
3764
+ maxTokens: import_smithy_client.expectInt32,
3765
+ stopSequences: import_smithy_client._json,
3766
+ temperature: import_smithy_client.limitedParseFloat32,
3767
+ topK: import_smithy_client.expectInt32,
3768
+ topP: import_smithy_client.limitedParseFloat32
3769
+ });
3770
+ }, "de_PromptModelInferenceConfiguration");
2280
3771
  var de_PromptOverrideConfiguration = /* @__PURE__ */ __name((output, context) => {
2281
3772
  return (0, import_smithy_client.take)(output, {
2282
3773
  overrideLambda: import_smithy_client.expectString,
2283
3774
  promptConfigurations: (_) => de_PromptConfigurations(_, context)
2284
3775
  });
2285
3776
  }, "de_PromptOverrideConfiguration");
3777
+ var de_PromptSummaries = /* @__PURE__ */ __name((output, context) => {
3778
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3779
+ return de_PromptSummary(entry, context);
3780
+ });
3781
+ return retVal;
3782
+ }, "de_PromptSummaries");
3783
+ var de_PromptSummary = /* @__PURE__ */ __name((output, context) => {
3784
+ return (0, import_smithy_client.take)(output, {
3785
+ arn: import_smithy_client.expectString,
3786
+ createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3787
+ description: import_smithy_client.expectString,
3788
+ id: import_smithy_client.expectString,
3789
+ name: import_smithy_client.expectString,
3790
+ updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
3791
+ version: import_smithy_client.expectString
3792
+ });
3793
+ }, "de_PromptSummary");
3794
+ var de_PromptVariant = /* @__PURE__ */ __name((output, context) => {
3795
+ return (0, import_smithy_client.take)(output, {
3796
+ inferenceConfiguration: (_) => de_PromptInferenceConfiguration((0, import_core2.awsExpectUnion)(_), context),
3797
+ modelId: import_smithy_client.expectString,
3798
+ name: import_smithy_client.expectString,
3799
+ templateConfiguration: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
3800
+ templateType: import_smithy_client.expectString
3801
+ });
3802
+ }, "de_PromptVariant");
3803
+ var de_PromptVariantList = /* @__PURE__ */ __name((output, context) => {
3804
+ const retVal = (output || []).filter((e) => e != null).map((entry) => {
3805
+ return de_PromptVariant(entry, context);
3806
+ });
3807
+ return retVal;
3808
+ }, "de_PromptVariantList");
2286
3809
  var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
2287
3810
  httpStatusCode: output.statusCode,
2288
3811
  requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
2289
3812
  extendedRequestId: output.headers["x-amz-id-2"],
2290
3813
  cfId: output.headers["x-amz-cf-id"]
2291
3814
  }), "deserializeMetadata");
3815
+ var _mR = "maxResults";
3816
+ var _nT = "nextToken";
3817
+ var _pI = "promptIdentifier";
3818
+ var _pV = "promptVersion";
2292
3819
  var _sRIUC = "skipResourceInUseCheck";
2293
3820
  var _tK = "tagKeys";
2294
3821
 
@@ -2364,11 +3891,59 @@ var _CreateDataSourceCommand = class _CreateDataSourceCommand extends import_smi
2364
3891
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2365
3892
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2366
3893
  ];
2367
- }).s("AmazonBedrockAgentBuildTimeLambda", "CreateDataSource", {}).n("BedrockAgentClient", "CreateDataSourceCommand").f(void 0, void 0).ser(se_CreateDataSourceCommand).de(de_CreateDataSourceCommand).build() {
3894
+ }).s("AmazonBedrockAgentBuildTimeLambda", "CreateDataSource", {}).n("BedrockAgentClient", "CreateDataSourceCommand").f(CreateDataSourceRequestFilterSensitiveLog, CreateDataSourceResponseFilterSensitiveLog).ser(se_CreateDataSourceCommand).de(de_CreateDataSourceCommand).build() {
2368
3895
  };
2369
3896
  __name(_CreateDataSourceCommand, "CreateDataSourceCommand");
2370
3897
  var CreateDataSourceCommand = _CreateDataSourceCommand;
2371
3898
 
3899
+ // src/commands/CreateFlowAliasCommand.ts
3900
+
3901
+
3902
+
3903
+ var _CreateFlowAliasCommand = class _CreateFlowAliasCommand extends import_smithy_client.Command.classBuilder().ep({
3904
+ ...commonParams
3905
+ }).m(function(Command, cs, config, o) {
3906
+ return [
3907
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3908
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3909
+ ];
3910
+ }).s("AmazonBedrockAgentBuildTimeLambda", "CreateFlowAlias", {}).n("BedrockAgentClient", "CreateFlowAliasCommand").f(void 0, void 0).ser(se_CreateFlowAliasCommand).de(de_CreateFlowAliasCommand).build() {
3911
+ };
3912
+ __name(_CreateFlowAliasCommand, "CreateFlowAliasCommand");
3913
+ var CreateFlowAliasCommand = _CreateFlowAliasCommand;
3914
+
3915
+ // src/commands/CreateFlowCommand.ts
3916
+
3917
+
3918
+
3919
+ var _CreateFlowCommand = class _CreateFlowCommand extends import_smithy_client.Command.classBuilder().ep({
3920
+ ...commonParams
3921
+ }).m(function(Command, cs, config, o) {
3922
+ return [
3923
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3924
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3925
+ ];
3926
+ }).s("AmazonBedrockAgentBuildTimeLambda", "CreateFlow", {}).n("BedrockAgentClient", "CreateFlowCommand").f(CreateFlowRequestFilterSensitiveLog, CreateFlowResponseFilterSensitiveLog).ser(se_CreateFlowCommand).de(de_CreateFlowCommand).build() {
3927
+ };
3928
+ __name(_CreateFlowCommand, "CreateFlowCommand");
3929
+ var CreateFlowCommand = _CreateFlowCommand;
3930
+
3931
+ // src/commands/CreateFlowVersionCommand.ts
3932
+
3933
+
3934
+
3935
+ var _CreateFlowVersionCommand = class _CreateFlowVersionCommand extends import_smithy_client.Command.classBuilder().ep({
3936
+ ...commonParams
3937
+ }).m(function(Command, cs, config, o) {
3938
+ return [
3939
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3940
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3941
+ ];
3942
+ }).s("AmazonBedrockAgentBuildTimeLambda", "CreateFlowVersion", {}).n("BedrockAgentClient", "CreateFlowVersionCommand").f(void 0, CreateFlowVersionResponseFilterSensitiveLog).ser(se_CreateFlowVersionCommand).de(de_CreateFlowVersionCommand).build() {
3943
+ };
3944
+ __name(_CreateFlowVersionCommand, "CreateFlowVersionCommand");
3945
+ var CreateFlowVersionCommand = _CreateFlowVersionCommand;
3946
+
2372
3947
  // src/commands/CreateKnowledgeBaseCommand.ts
2373
3948
 
2374
3949
 
@@ -2385,6 +3960,38 @@ var _CreateKnowledgeBaseCommand = class _CreateKnowledgeBaseCommand extends impo
2385
3960
  __name(_CreateKnowledgeBaseCommand, "CreateKnowledgeBaseCommand");
2386
3961
  var CreateKnowledgeBaseCommand = _CreateKnowledgeBaseCommand;
2387
3962
 
3963
+ // src/commands/CreatePromptCommand.ts
3964
+
3965
+
3966
+
3967
+ var _CreatePromptCommand = class _CreatePromptCommand extends import_smithy_client.Command.classBuilder().ep({
3968
+ ...commonParams
3969
+ }).m(function(Command, cs, config, o) {
3970
+ return [
3971
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3972
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3973
+ ];
3974
+ }).s("AmazonBedrockAgentBuildTimeLambda", "CreatePrompt", {}).n("BedrockAgentClient", "CreatePromptCommand").f(CreatePromptRequestFilterSensitiveLog, CreatePromptResponseFilterSensitiveLog).ser(se_CreatePromptCommand).de(de_CreatePromptCommand).build() {
3975
+ };
3976
+ __name(_CreatePromptCommand, "CreatePromptCommand");
3977
+ var CreatePromptCommand = _CreatePromptCommand;
3978
+
3979
+ // src/commands/CreatePromptVersionCommand.ts
3980
+
3981
+
3982
+
3983
+ var _CreatePromptVersionCommand = class _CreatePromptVersionCommand extends import_smithy_client.Command.classBuilder().ep({
3984
+ ...commonParams
3985
+ }).m(function(Command, cs, config, o) {
3986
+ return [
3987
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
3988
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
3989
+ ];
3990
+ }).s("AmazonBedrockAgentBuildTimeLambda", "CreatePromptVersion", {}).n("BedrockAgentClient", "CreatePromptVersionCommand").f(void 0, CreatePromptVersionResponseFilterSensitiveLog).ser(se_CreatePromptVersionCommand).de(de_CreatePromptVersionCommand).build() {
3991
+ };
3992
+ __name(_CreatePromptVersionCommand, "CreatePromptVersionCommand");
3993
+ var CreatePromptVersionCommand = _CreatePromptVersionCommand;
3994
+
2388
3995
  // src/commands/DeleteAgentActionGroupCommand.ts
2389
3996
 
2390
3997
 
@@ -2465,6 +4072,54 @@ var _DeleteDataSourceCommand = class _DeleteDataSourceCommand extends import_smi
2465
4072
  __name(_DeleteDataSourceCommand, "DeleteDataSourceCommand");
2466
4073
  var DeleteDataSourceCommand = _DeleteDataSourceCommand;
2467
4074
 
4075
+ // src/commands/DeleteFlowAliasCommand.ts
4076
+
4077
+
4078
+
4079
+ var _DeleteFlowAliasCommand = class _DeleteFlowAliasCommand extends import_smithy_client.Command.classBuilder().ep({
4080
+ ...commonParams
4081
+ }).m(function(Command, cs, config, o) {
4082
+ return [
4083
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4084
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4085
+ ];
4086
+ }).s("AmazonBedrockAgentBuildTimeLambda", "DeleteFlowAlias", {}).n("BedrockAgentClient", "DeleteFlowAliasCommand").f(void 0, void 0).ser(se_DeleteFlowAliasCommand).de(de_DeleteFlowAliasCommand).build() {
4087
+ };
4088
+ __name(_DeleteFlowAliasCommand, "DeleteFlowAliasCommand");
4089
+ var DeleteFlowAliasCommand = _DeleteFlowAliasCommand;
4090
+
4091
+ // src/commands/DeleteFlowCommand.ts
4092
+
4093
+
4094
+
4095
+ var _DeleteFlowCommand = class _DeleteFlowCommand extends import_smithy_client.Command.classBuilder().ep({
4096
+ ...commonParams
4097
+ }).m(function(Command, cs, config, o) {
4098
+ return [
4099
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4100
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4101
+ ];
4102
+ }).s("AmazonBedrockAgentBuildTimeLambda", "DeleteFlow", {}).n("BedrockAgentClient", "DeleteFlowCommand").f(void 0, void 0).ser(se_DeleteFlowCommand).de(de_DeleteFlowCommand).build() {
4103
+ };
4104
+ __name(_DeleteFlowCommand, "DeleteFlowCommand");
4105
+ var DeleteFlowCommand = _DeleteFlowCommand;
4106
+
4107
+ // src/commands/DeleteFlowVersionCommand.ts
4108
+
4109
+
4110
+
4111
+ var _DeleteFlowVersionCommand = class _DeleteFlowVersionCommand extends import_smithy_client.Command.classBuilder().ep({
4112
+ ...commonParams
4113
+ }).m(function(Command, cs, config, o) {
4114
+ return [
4115
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4116
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4117
+ ];
4118
+ }).s("AmazonBedrockAgentBuildTimeLambda", "DeleteFlowVersion", {}).n("BedrockAgentClient", "DeleteFlowVersionCommand").f(void 0, void 0).ser(se_DeleteFlowVersionCommand).de(de_DeleteFlowVersionCommand).build() {
4119
+ };
4120
+ __name(_DeleteFlowVersionCommand, "DeleteFlowVersionCommand");
4121
+ var DeleteFlowVersionCommand = _DeleteFlowVersionCommand;
4122
+
2468
4123
  // src/commands/DeleteKnowledgeBaseCommand.ts
2469
4124
 
2470
4125
 
@@ -2481,6 +4136,22 @@ var _DeleteKnowledgeBaseCommand = class _DeleteKnowledgeBaseCommand extends impo
2481
4136
  __name(_DeleteKnowledgeBaseCommand, "DeleteKnowledgeBaseCommand");
2482
4137
  var DeleteKnowledgeBaseCommand = _DeleteKnowledgeBaseCommand;
2483
4138
 
4139
+ // src/commands/DeletePromptCommand.ts
4140
+
4141
+
4142
+
4143
+ var _DeletePromptCommand = class _DeletePromptCommand extends import_smithy_client.Command.classBuilder().ep({
4144
+ ...commonParams
4145
+ }).m(function(Command, cs, config, o) {
4146
+ return [
4147
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4148
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4149
+ ];
4150
+ }).s("AmazonBedrockAgentBuildTimeLambda", "DeletePrompt", {}).n("BedrockAgentClient", "DeletePromptCommand").f(void 0, void 0).ser(se_DeletePromptCommand).de(de_DeletePromptCommand).build() {
4151
+ };
4152
+ __name(_DeletePromptCommand, "DeletePromptCommand");
4153
+ var DeletePromptCommand = _DeletePromptCommand;
4154
+
2484
4155
  // src/commands/DisassociateAgentKnowledgeBaseCommand.ts
2485
4156
 
2486
4157
 
@@ -2588,11 +4259,59 @@ var _GetDataSourceCommand = class _GetDataSourceCommand extends import_smithy_cl
2588
4259
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2589
4260
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2590
4261
  ];
2591
- }).s("AmazonBedrockAgentBuildTimeLambda", "GetDataSource", {}).n("BedrockAgentClient", "GetDataSourceCommand").f(void 0, void 0).ser(se_GetDataSourceCommand).de(de_GetDataSourceCommand).build() {
4262
+ }).s("AmazonBedrockAgentBuildTimeLambda", "GetDataSource", {}).n("BedrockAgentClient", "GetDataSourceCommand").f(void 0, GetDataSourceResponseFilterSensitiveLog).ser(se_GetDataSourceCommand).de(de_GetDataSourceCommand).build() {
2592
4263
  };
2593
4264
  __name(_GetDataSourceCommand, "GetDataSourceCommand");
2594
4265
  var GetDataSourceCommand = _GetDataSourceCommand;
2595
4266
 
4267
+ // src/commands/GetFlowAliasCommand.ts
4268
+
4269
+
4270
+
4271
+ var _GetFlowAliasCommand = class _GetFlowAliasCommand extends import_smithy_client.Command.classBuilder().ep({
4272
+ ...commonParams
4273
+ }).m(function(Command, cs, config, o) {
4274
+ return [
4275
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4276
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4277
+ ];
4278
+ }).s("AmazonBedrockAgentBuildTimeLambda", "GetFlowAlias", {}).n("BedrockAgentClient", "GetFlowAliasCommand").f(void 0, void 0).ser(se_GetFlowAliasCommand).de(de_GetFlowAliasCommand).build() {
4279
+ };
4280
+ __name(_GetFlowAliasCommand, "GetFlowAliasCommand");
4281
+ var GetFlowAliasCommand = _GetFlowAliasCommand;
4282
+
4283
+ // src/commands/GetFlowCommand.ts
4284
+
4285
+
4286
+
4287
+ var _GetFlowCommand = class _GetFlowCommand extends import_smithy_client.Command.classBuilder().ep({
4288
+ ...commonParams
4289
+ }).m(function(Command, cs, config, o) {
4290
+ return [
4291
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4292
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4293
+ ];
4294
+ }).s("AmazonBedrockAgentBuildTimeLambda", "GetFlow", {}).n("BedrockAgentClient", "GetFlowCommand").f(void 0, GetFlowResponseFilterSensitiveLog).ser(se_GetFlowCommand).de(de_GetFlowCommand).build() {
4295
+ };
4296
+ __name(_GetFlowCommand, "GetFlowCommand");
4297
+ var GetFlowCommand = _GetFlowCommand;
4298
+
4299
+ // src/commands/GetFlowVersionCommand.ts
4300
+
4301
+
4302
+
4303
+ var _GetFlowVersionCommand = class _GetFlowVersionCommand extends import_smithy_client.Command.classBuilder().ep({
4304
+ ...commonParams
4305
+ }).m(function(Command, cs, config, o) {
4306
+ return [
4307
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4308
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4309
+ ];
4310
+ }).s("AmazonBedrockAgentBuildTimeLambda", "GetFlowVersion", {}).n("BedrockAgentClient", "GetFlowVersionCommand").f(void 0, GetFlowVersionResponseFilterSensitiveLog).ser(se_GetFlowVersionCommand).de(de_GetFlowVersionCommand).build() {
4311
+ };
4312
+ __name(_GetFlowVersionCommand, "GetFlowVersionCommand");
4313
+ var GetFlowVersionCommand = _GetFlowVersionCommand;
4314
+
2596
4315
  // src/commands/GetIngestionJobCommand.ts
2597
4316
 
2598
4317
 
@@ -2625,6 +4344,22 @@ var _GetKnowledgeBaseCommand = class _GetKnowledgeBaseCommand extends import_smi
2625
4344
  __name(_GetKnowledgeBaseCommand, "GetKnowledgeBaseCommand");
2626
4345
  var GetKnowledgeBaseCommand = _GetKnowledgeBaseCommand;
2627
4346
 
4347
+ // src/commands/GetPromptCommand.ts
4348
+
4349
+
4350
+
4351
+ var _GetPromptCommand = class _GetPromptCommand extends import_smithy_client.Command.classBuilder().ep({
4352
+ ...commonParams
4353
+ }).m(function(Command, cs, config, o) {
4354
+ return [
4355
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4356
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4357
+ ];
4358
+ }).s("AmazonBedrockAgentBuildTimeLambda", "GetPrompt", {}).n("BedrockAgentClient", "GetPromptCommand").f(void 0, GetPromptResponseFilterSensitiveLog).ser(se_GetPromptCommand).de(de_GetPromptCommand).build() {
4359
+ };
4360
+ __name(_GetPromptCommand, "GetPromptCommand");
4361
+ var GetPromptCommand = _GetPromptCommand;
4362
+
2628
4363
  // src/commands/ListAgentActionGroupsCommand.ts
2629
4364
 
2630
4365
 
@@ -2721,6 +4456,54 @@ var _ListDataSourcesCommand = class _ListDataSourcesCommand extends import_smith
2721
4456
  __name(_ListDataSourcesCommand, "ListDataSourcesCommand");
2722
4457
  var ListDataSourcesCommand = _ListDataSourcesCommand;
2723
4458
 
4459
+ // src/commands/ListFlowAliasesCommand.ts
4460
+
4461
+
4462
+
4463
+ var _ListFlowAliasesCommand = class _ListFlowAliasesCommand extends import_smithy_client.Command.classBuilder().ep({
4464
+ ...commonParams
4465
+ }).m(function(Command, cs, config, o) {
4466
+ return [
4467
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4468
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4469
+ ];
4470
+ }).s("AmazonBedrockAgentBuildTimeLambda", "ListFlowAliases", {}).n("BedrockAgentClient", "ListFlowAliasesCommand").f(void 0, void 0).ser(se_ListFlowAliasesCommand).de(de_ListFlowAliasesCommand).build() {
4471
+ };
4472
+ __name(_ListFlowAliasesCommand, "ListFlowAliasesCommand");
4473
+ var ListFlowAliasesCommand = _ListFlowAliasesCommand;
4474
+
4475
+ // src/commands/ListFlowsCommand.ts
4476
+
4477
+
4478
+
4479
+ var _ListFlowsCommand = class _ListFlowsCommand extends import_smithy_client.Command.classBuilder().ep({
4480
+ ...commonParams
4481
+ }).m(function(Command, cs, config, o) {
4482
+ return [
4483
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4484
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4485
+ ];
4486
+ }).s("AmazonBedrockAgentBuildTimeLambda", "ListFlows", {}).n("BedrockAgentClient", "ListFlowsCommand").f(void 0, void 0).ser(se_ListFlowsCommand).de(de_ListFlowsCommand).build() {
4487
+ };
4488
+ __name(_ListFlowsCommand, "ListFlowsCommand");
4489
+ var ListFlowsCommand = _ListFlowsCommand;
4490
+
4491
+ // src/commands/ListFlowVersionsCommand.ts
4492
+
4493
+
4494
+
4495
+ var _ListFlowVersionsCommand = class _ListFlowVersionsCommand extends import_smithy_client.Command.classBuilder().ep({
4496
+ ...commonParams
4497
+ }).m(function(Command, cs, config, o) {
4498
+ return [
4499
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4500
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4501
+ ];
4502
+ }).s("AmazonBedrockAgentBuildTimeLambda", "ListFlowVersions", {}).n("BedrockAgentClient", "ListFlowVersionsCommand").f(void 0, void 0).ser(se_ListFlowVersionsCommand).de(de_ListFlowVersionsCommand).build() {
4503
+ };
4504
+ __name(_ListFlowVersionsCommand, "ListFlowVersionsCommand");
4505
+ var ListFlowVersionsCommand = _ListFlowVersionsCommand;
4506
+
2724
4507
  // src/commands/ListIngestionJobsCommand.ts
2725
4508
 
2726
4509
 
@@ -2753,6 +4536,22 @@ var _ListKnowledgeBasesCommand = class _ListKnowledgeBasesCommand extends import
2753
4536
  __name(_ListKnowledgeBasesCommand, "ListKnowledgeBasesCommand");
2754
4537
  var ListKnowledgeBasesCommand = _ListKnowledgeBasesCommand;
2755
4538
 
4539
+ // src/commands/ListPromptsCommand.ts
4540
+
4541
+
4542
+
4543
+ var _ListPromptsCommand = class _ListPromptsCommand extends import_smithy_client.Command.classBuilder().ep({
4544
+ ...commonParams
4545
+ }).m(function(Command, cs, config, o) {
4546
+ return [
4547
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4548
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4549
+ ];
4550
+ }).s("AmazonBedrockAgentBuildTimeLambda", "ListPrompts", {}).n("BedrockAgentClient", "ListPromptsCommand").f(void 0, void 0).ser(se_ListPromptsCommand).de(de_ListPromptsCommand).build() {
4551
+ };
4552
+ __name(_ListPromptsCommand, "ListPromptsCommand");
4553
+ var ListPromptsCommand = _ListPromptsCommand;
4554
+
2756
4555
  // src/commands/ListTagsForResourceCommand.ts
2757
4556
 
2758
4557
 
@@ -2785,6 +4584,22 @@ var _PrepareAgentCommand = class _PrepareAgentCommand extends import_smithy_clie
2785
4584
  __name(_PrepareAgentCommand, "PrepareAgentCommand");
2786
4585
  var PrepareAgentCommand = _PrepareAgentCommand;
2787
4586
 
4587
+ // src/commands/PrepareFlowCommand.ts
4588
+
4589
+
4590
+
4591
+ var _PrepareFlowCommand = class _PrepareFlowCommand extends import_smithy_client.Command.classBuilder().ep({
4592
+ ...commonParams
4593
+ }).m(function(Command, cs, config, o) {
4594
+ return [
4595
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4596
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4597
+ ];
4598
+ }).s("AmazonBedrockAgentBuildTimeLambda", "PrepareFlow", {}).n("BedrockAgentClient", "PrepareFlowCommand").f(void 0, void 0).ser(se_PrepareFlowCommand).de(de_PrepareFlowCommand).build() {
4599
+ };
4600
+ __name(_PrepareFlowCommand, "PrepareFlowCommand");
4601
+ var PrepareFlowCommand = _PrepareFlowCommand;
4602
+
2788
4603
  // src/commands/StartIngestionJobCommand.ts
2789
4604
 
2790
4605
 
@@ -2908,11 +4723,43 @@ var _UpdateDataSourceCommand = class _UpdateDataSourceCommand extends import_smi
2908
4723
  (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
2909
4724
  (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
2910
4725
  ];
2911
- }).s("AmazonBedrockAgentBuildTimeLambda", "UpdateDataSource", {}).n("BedrockAgentClient", "UpdateDataSourceCommand").f(void 0, void 0).ser(se_UpdateDataSourceCommand).de(de_UpdateDataSourceCommand).build() {
4726
+ }).s("AmazonBedrockAgentBuildTimeLambda", "UpdateDataSource", {}).n("BedrockAgentClient", "UpdateDataSourceCommand").f(UpdateDataSourceRequestFilterSensitiveLog, UpdateDataSourceResponseFilterSensitiveLog).ser(se_UpdateDataSourceCommand).de(de_UpdateDataSourceCommand).build() {
2912
4727
  };
2913
4728
  __name(_UpdateDataSourceCommand, "UpdateDataSourceCommand");
2914
4729
  var UpdateDataSourceCommand = _UpdateDataSourceCommand;
2915
4730
 
4731
+ // src/commands/UpdateFlowAliasCommand.ts
4732
+
4733
+
4734
+
4735
+ var _UpdateFlowAliasCommand = class _UpdateFlowAliasCommand extends import_smithy_client.Command.classBuilder().ep({
4736
+ ...commonParams
4737
+ }).m(function(Command, cs, config, o) {
4738
+ return [
4739
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4740
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4741
+ ];
4742
+ }).s("AmazonBedrockAgentBuildTimeLambda", "UpdateFlowAlias", {}).n("BedrockAgentClient", "UpdateFlowAliasCommand").f(void 0, void 0).ser(se_UpdateFlowAliasCommand).de(de_UpdateFlowAliasCommand).build() {
4743
+ };
4744
+ __name(_UpdateFlowAliasCommand, "UpdateFlowAliasCommand");
4745
+ var UpdateFlowAliasCommand = _UpdateFlowAliasCommand;
4746
+
4747
+ // src/commands/UpdateFlowCommand.ts
4748
+
4749
+
4750
+
4751
+ var _UpdateFlowCommand = class _UpdateFlowCommand extends import_smithy_client.Command.classBuilder().ep({
4752
+ ...commonParams
4753
+ }).m(function(Command, cs, config, o) {
4754
+ return [
4755
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4756
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4757
+ ];
4758
+ }).s("AmazonBedrockAgentBuildTimeLambda", "UpdateFlow", {}).n("BedrockAgentClient", "UpdateFlowCommand").f(UpdateFlowRequestFilterSensitiveLog, UpdateFlowResponseFilterSensitiveLog).ser(se_UpdateFlowCommand).de(de_UpdateFlowCommand).build() {
4759
+ };
4760
+ __name(_UpdateFlowCommand, "UpdateFlowCommand");
4761
+ var UpdateFlowCommand = _UpdateFlowCommand;
4762
+
2916
4763
  // src/commands/UpdateKnowledgeBaseCommand.ts
2917
4764
 
2918
4765
 
@@ -2929,6 +4776,22 @@ var _UpdateKnowledgeBaseCommand = class _UpdateKnowledgeBaseCommand extends impo
2929
4776
  __name(_UpdateKnowledgeBaseCommand, "UpdateKnowledgeBaseCommand");
2930
4777
  var UpdateKnowledgeBaseCommand = _UpdateKnowledgeBaseCommand;
2931
4778
 
4779
+ // src/commands/UpdatePromptCommand.ts
4780
+
4781
+
4782
+
4783
+ var _UpdatePromptCommand = class _UpdatePromptCommand extends import_smithy_client.Command.classBuilder().ep({
4784
+ ...commonParams
4785
+ }).m(function(Command, cs, config, o) {
4786
+ return [
4787
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4788
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4789
+ ];
4790
+ }).s("AmazonBedrockAgentBuildTimeLambda", "UpdatePrompt", {}).n("BedrockAgentClient", "UpdatePromptCommand").f(UpdatePromptRequestFilterSensitiveLog, UpdatePromptResponseFilterSensitiveLog).ser(se_UpdatePromptCommand).de(de_UpdatePromptCommand).build() {
4791
+ };
4792
+ __name(_UpdatePromptCommand, "UpdatePromptCommand");
4793
+ var UpdatePromptCommand = _UpdatePromptCommand;
4794
+
2932
4795
  // src/BedrockAgent.ts
2933
4796
  var commands = {
2934
4797
  AssociateAgentKnowledgeBaseCommand,
@@ -2936,13 +4799,22 @@ var commands = {
2936
4799
  CreateAgentActionGroupCommand,
2937
4800
  CreateAgentAliasCommand,
2938
4801
  CreateDataSourceCommand,
4802
+ CreateFlowCommand,
4803
+ CreateFlowAliasCommand,
4804
+ CreateFlowVersionCommand,
2939
4805
  CreateKnowledgeBaseCommand,
4806
+ CreatePromptCommand,
4807
+ CreatePromptVersionCommand,
2940
4808
  DeleteAgentCommand,
2941
4809
  DeleteAgentActionGroupCommand,
2942
4810
  DeleteAgentAliasCommand,
2943
4811
  DeleteAgentVersionCommand,
2944
4812
  DeleteDataSourceCommand,
4813
+ DeleteFlowCommand,
4814
+ DeleteFlowAliasCommand,
4815
+ DeleteFlowVersionCommand,
2945
4816
  DeleteKnowledgeBaseCommand,
4817
+ DeletePromptCommand,
2946
4818
  DisassociateAgentKnowledgeBaseCommand,
2947
4819
  GetAgentCommand,
2948
4820
  GetAgentActionGroupCommand,
@@ -2950,18 +4822,27 @@ var commands = {
2950
4822
  GetAgentKnowledgeBaseCommand,
2951
4823
  GetAgentVersionCommand,
2952
4824
  GetDataSourceCommand,
4825
+ GetFlowCommand,
4826
+ GetFlowAliasCommand,
4827
+ GetFlowVersionCommand,
2953
4828
  GetIngestionJobCommand,
2954
4829
  GetKnowledgeBaseCommand,
4830
+ GetPromptCommand,
2955
4831
  ListAgentActionGroupsCommand,
2956
4832
  ListAgentAliasesCommand,
2957
4833
  ListAgentKnowledgeBasesCommand,
2958
4834
  ListAgentsCommand,
2959
4835
  ListAgentVersionsCommand,
2960
4836
  ListDataSourcesCommand,
4837
+ ListFlowAliasesCommand,
4838
+ ListFlowsCommand,
4839
+ ListFlowVersionsCommand,
2961
4840
  ListIngestionJobsCommand,
2962
4841
  ListKnowledgeBasesCommand,
4842
+ ListPromptsCommand,
2963
4843
  ListTagsForResourceCommand,
2964
4844
  PrepareAgentCommand,
4845
+ PrepareFlowCommand,
2965
4846
  StartIngestionJobCommand,
2966
4847
  TagResourceCommand,
2967
4848
  UntagResourceCommand,
@@ -2970,7 +4851,10 @@ var commands = {
2970
4851
  UpdateAgentAliasCommand,
2971
4852
  UpdateAgentKnowledgeBaseCommand,
2972
4853
  UpdateDataSourceCommand,
2973
- UpdateKnowledgeBaseCommand
4854
+ UpdateFlowCommand,
4855
+ UpdateFlowAliasCommand,
4856
+ UpdateKnowledgeBaseCommand,
4857
+ UpdatePromptCommand
2974
4858
  };
2975
4859
  var _BedrockAgent = class _BedrockAgent extends BedrockAgentClient {
2976
4860
  };
@@ -3002,6 +4886,18 @@ var paginateListAgents = (0, import_core.createPaginator)(BedrockAgentClient, Li
3002
4886
 
3003
4887
  var paginateListDataSources = (0, import_core.createPaginator)(BedrockAgentClient, ListDataSourcesCommand, "nextToken", "nextToken", "maxResults");
3004
4888
 
4889
+ // src/pagination/ListFlowAliasesPaginator.ts
4890
+
4891
+ var paginateListFlowAliases = (0, import_core.createPaginator)(BedrockAgentClient, ListFlowAliasesCommand, "nextToken", "nextToken", "maxResults");
4892
+
4893
+ // src/pagination/ListFlowVersionsPaginator.ts
4894
+
4895
+ var paginateListFlowVersions = (0, import_core.createPaginator)(BedrockAgentClient, ListFlowVersionsCommand, "nextToken", "nextToken", "maxResults");
4896
+
4897
+ // src/pagination/ListFlowsPaginator.ts
4898
+
4899
+ var paginateListFlows = (0, import_core.createPaginator)(BedrockAgentClient, ListFlowsCommand, "nextToken", "nextToken", "maxResults");
4900
+
3005
4901
  // src/pagination/ListIngestionJobsPaginator.ts
3006
4902
 
3007
4903
  var paginateListIngestionJobs = (0, import_core.createPaginator)(BedrockAgentClient, ListIngestionJobsCommand, "nextToken", "nextToken", "maxResults");
@@ -3009,6 +4905,10 @@ var paginateListIngestionJobs = (0, import_core.createPaginator)(BedrockAgentCli
3009
4905
  // src/pagination/ListKnowledgeBasesPaginator.ts
3010
4906
 
3011
4907
  var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentClient, ListKnowledgeBasesCommand, "nextToken", "nextToken", "maxResults");
4908
+
4909
+ // src/pagination/ListPromptsPaginator.ts
4910
+
4911
+ var paginateListPrompts = (0, import_core.createPaginator)(BedrockAgentClient, ListPromptsCommand, "nextToken", "nextToken", "maxResults");
3012
4912
  // Annotate the CommonJS export names for ESM import in node:
3013
4913
 
3014
4914
  0 && (module.exports = {
@@ -3022,13 +4922,22 @@ var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentCl
3022
4922
  CreateAgentAliasCommand,
3023
4923
  CreateAgentCommand,
3024
4924
  CreateDataSourceCommand,
4925
+ CreateFlowAliasCommand,
4926
+ CreateFlowCommand,
4927
+ CreateFlowVersionCommand,
3025
4928
  CreateKnowledgeBaseCommand,
4929
+ CreatePromptCommand,
4930
+ CreatePromptVersionCommand,
3026
4931
  DeleteAgentActionGroupCommand,
3027
4932
  DeleteAgentAliasCommand,
3028
4933
  DeleteAgentCommand,
3029
4934
  DeleteAgentVersionCommand,
3030
4935
  DeleteDataSourceCommand,
4936
+ DeleteFlowAliasCommand,
4937
+ DeleteFlowCommand,
4938
+ DeleteFlowVersionCommand,
3031
4939
  DeleteKnowledgeBaseCommand,
4940
+ DeletePromptCommand,
3032
4941
  DisassociateAgentKnowledgeBaseCommand,
3033
4942
  GetAgentActionGroupCommand,
3034
4943
  GetAgentAliasCommand,
@@ -3036,18 +4945,27 @@ var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentCl
3036
4945
  GetAgentKnowledgeBaseCommand,
3037
4946
  GetAgentVersionCommand,
3038
4947
  GetDataSourceCommand,
4948
+ GetFlowAliasCommand,
4949
+ GetFlowCommand,
4950
+ GetFlowVersionCommand,
3039
4951
  GetIngestionJobCommand,
3040
4952
  GetKnowledgeBaseCommand,
4953
+ GetPromptCommand,
3041
4954
  ListAgentActionGroupsCommand,
3042
4955
  ListAgentAliasesCommand,
3043
4956
  ListAgentKnowledgeBasesCommand,
3044
4957
  ListAgentVersionsCommand,
3045
4958
  ListAgentsCommand,
3046
4959
  ListDataSourcesCommand,
4960
+ ListFlowAliasesCommand,
4961
+ ListFlowVersionsCommand,
4962
+ ListFlowsCommand,
3047
4963
  ListIngestionJobsCommand,
3048
4964
  ListKnowledgeBasesCommand,
4965
+ ListPromptsCommand,
3049
4966
  ListTagsForResourceCommand,
3050
4967
  PrepareAgentCommand,
4968
+ PrepareFlowCommand,
3051
4969
  StartIngestionJobCommand,
3052
4970
  TagResourceCommand,
3053
4971
  UntagResourceCommand,
@@ -3056,15 +4974,22 @@ var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentCl
3056
4974
  UpdateAgentCommand,
3057
4975
  UpdateAgentKnowledgeBaseCommand,
3058
4976
  UpdateDataSourceCommand,
4977
+ UpdateFlowAliasCommand,
4978
+ UpdateFlowCommand,
3059
4979
  UpdateKnowledgeBaseCommand,
4980
+ UpdatePromptCommand,
3060
4981
  paginateListAgentActionGroups,
3061
4982
  paginateListAgentAliases,
3062
4983
  paginateListAgentKnowledgeBases,
3063
4984
  paginateListAgentVersions,
3064
4985
  paginateListAgents,
3065
4986
  paginateListDataSources,
4987
+ paginateListFlowAliases,
4988
+ paginateListFlowVersions,
4989
+ paginateListFlows,
3066
4990
  paginateListIngestionJobs,
3067
4991
  paginateListKnowledgeBases,
4992
+ paginateListPrompts,
3068
4993
  AccessDeniedException,
3069
4994
  CustomControlMethod,
3070
4995
  ActionGroupExecutor,
@@ -3080,15 +5005,38 @@ var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentCl
3080
5005
  ThrottlingException,
3081
5006
  ValidationException,
3082
5007
  AgentStatus,
5008
+ MemoryType,
3083
5009
  CreationMode,
3084
5010
  PromptState,
3085
5011
  PromptType,
3086
5012
  AgentAliasStatus,
3087
5013
  KnowledgeBaseState,
3088
5014
  DataDeletionPolicy,
5015
+ CrawlFilterConfigurationType,
5016
+ ConfluenceAuthType,
5017
+ ConfluenceHostType,
5018
+ SalesforceAuthType,
5019
+ SharePointAuthType,
5020
+ SharePointHostType,
3089
5021
  DataSourceType,
5022
+ WebScopeType,
3090
5023
  ChunkingStrategy,
5024
+ StepType,
5025
+ ParsingStrategy,
3091
5026
  DataSourceStatus,
5027
+ FlowConnectionConfiguration,
5028
+ FlowConnectionType,
5029
+ PromptInferenceConfiguration,
5030
+ PromptTemplateConfiguration,
5031
+ PromptTemplateType,
5032
+ PromptFlowNodeSourceConfiguration,
5033
+ RetrievalFlowNodeServiceConfiguration,
5034
+ StorageFlowNodeServiceConfiguration,
5035
+ FlowNodeConfiguration,
5036
+ FlowNodeIODataType,
5037
+ FlowNodeType,
5038
+ FlowStatus,
5039
+ FlowValidationSeverity,
3092
5040
  IngestionJobStatus,
3093
5041
  IngestionJobFilterAttribute,
3094
5042
  IngestionJobFilterOperator,
@@ -3104,6 +5052,7 @@ var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentCl
3104
5052
  GetAgentActionGroupResponseFilterSensitiveLog,
3105
5053
  UpdateAgentActionGroupRequestFilterSensitiveLog,
3106
5054
  UpdateAgentActionGroupResponseFilterSensitiveLog,
5055
+ PromptConfigurationFilterSensitiveLog,
3107
5056
  PromptOverrideConfigurationFilterSensitiveLog,
3108
5057
  AgentFilterSensitiveLog,
3109
5058
  CreateAgentRequestFilterSensitiveLog,
@@ -3112,6 +5061,50 @@ var paginateListKnowledgeBases = (0, import_core.createPaginator)(BedrockAgentCl
3112
5061
  UpdateAgentRequestFilterSensitiveLog,
3113
5062
  UpdateAgentResponseFilterSensitiveLog,
3114
5063
  AgentVersionFilterSensitiveLog,
5064
+ PatternObjectFilterFilterSensitiveLog,
5065
+ PatternObjectFilterConfigurationFilterSensitiveLog,
5066
+ CrawlFilterConfigurationFilterSensitiveLog,
5067
+ ConfluenceCrawlerConfigurationFilterSensitiveLog,
5068
+ ConfluenceDataSourceConfigurationFilterSensitiveLog,
5069
+ S3DataSourceConfigurationFilterSensitiveLog,
5070
+ SalesforceCrawlerConfigurationFilterSensitiveLog,
5071
+ SalesforceDataSourceConfigurationFilterSensitiveLog,
5072
+ SharePointCrawlerConfigurationFilterSensitiveLog,
5073
+ SharePointDataSourceConfigurationFilterSensitiveLog,
5074
+ WebCrawlerConfigurationFilterSensitiveLog,
5075
+ WebDataSourceConfigurationFilterSensitiveLog,
5076
+ DataSourceConfigurationFilterSensitiveLog,
5077
+ CreateDataSourceRequestFilterSensitiveLog,
5078
+ DataSourceFilterSensitiveLog,
5079
+ CreateDataSourceResponseFilterSensitiveLog,
5080
+ GetDataSourceResponseFilterSensitiveLog,
5081
+ UpdateDataSourceRequestFilterSensitiveLog,
5082
+ UpdateDataSourceResponseFilterSensitiveLog,
5083
+ FlowConditionFilterSensitiveLog,
5084
+ ConditionFlowNodeConfigurationFilterSensitiveLog,
5085
+ TextPromptTemplateConfigurationFilterSensitiveLog,
5086
+ PromptTemplateConfigurationFilterSensitiveLog,
5087
+ PromptFlowNodeInlineConfigurationFilterSensitiveLog,
5088
+ PromptFlowNodeSourceConfigurationFilterSensitiveLog,
5089
+ PromptFlowNodeConfigurationFilterSensitiveLog,
5090
+ FlowNodeConfigurationFilterSensitiveLog,
5091
+ FlowNodeInputFilterSensitiveLog,
5092
+ FlowNodeFilterSensitiveLog,
5093
+ FlowDefinitionFilterSensitiveLog,
5094
+ CreateFlowRequestFilterSensitiveLog,
5095
+ CreateFlowResponseFilterSensitiveLog,
5096
+ CreateFlowVersionResponseFilterSensitiveLog,
5097
+ GetFlowVersionResponseFilterSensitiveLog,
5098
+ GetFlowResponseFilterSensitiveLog,
5099
+ UpdateFlowRequestFilterSensitiveLog,
5100
+ UpdateFlowResponseFilterSensitiveLog,
5101
+ PromptVariantFilterSensitiveLog,
5102
+ CreatePromptRequestFilterSensitiveLog,
5103
+ CreatePromptResponseFilterSensitiveLog,
5104
+ CreatePromptVersionResponseFilterSensitiveLog,
5105
+ GetPromptResponseFilterSensitiveLog,
5106
+ UpdatePromptRequestFilterSensitiveLog,
5107
+ UpdatePromptResponseFilterSensitiveLog,
3115
5108
  GetAgentVersionResponseFilterSensitiveLog
3116
5109
  });
3117
5110