@@ -56,6 +56,10 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
56
56
* knowledgeBase: { // KnowledgeBaseFlowNodeConfiguration
57
57
* knowledgeBaseId: "STRING_VALUE", // required
58
58
* modelId: "STRING_VALUE",
59
+ * guardrailConfiguration: { // GuardrailConfiguration
60
+ * guardrailIdentifier: "STRING_VALUE",
61
+ * guardrailVersion: "STRING_VALUE",
62
+ * },
59
63
* },
60
64
* condition: { // ConditionFlowNodeConfiguration
61
65
* conditions: [ // FlowConditions // required
@@ -75,7 +79,7 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
75
79
* promptArn: "STRING_VALUE", // required
76
80
* },
77
81
* inline: { // PromptFlowNodeInlineConfiguration
78
- * templateType: "TEXT", // required
82
+ * templateType: "TEXT" || "CHAT" , // required
79
83
* templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
80
84
* text: { // TextPromptTemplateConfiguration
81
85
* text: "STRING_VALUE", // required
@@ -85,6 +89,48 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
85
89
* },
86
90
* ],
87
91
* },
92
+ * chat: { // ChatPromptTemplateConfiguration
93
+ * messages: [ // Messages // required
94
+ * { // Message
95
+ * role: "user" || "assistant", // required
96
+ * content: [ // ContentBlocks // required
97
+ * { // ContentBlock Union: only one key present
98
+ * text: "STRING_VALUE",
99
+ * },
100
+ * ],
101
+ * },
102
+ * ],
103
+ * system: [ // SystemContentBlocks
104
+ * { // SystemContentBlock Union: only one key present
105
+ * text: "STRING_VALUE",
106
+ * },
107
+ * ],
108
+ * inputVariables: [
109
+ * {
110
+ * name: "STRING_VALUE",
111
+ * },
112
+ * ],
113
+ * toolConfiguration: { // ToolConfiguration
114
+ * tools: [ // Tools // required
115
+ * { // Tool Union: only one key present
116
+ * toolSpec: { // ToolSpecification
117
+ * name: "STRING_VALUE", // required
118
+ * description: "STRING_VALUE",
119
+ * inputSchema: { // ToolInputSchema Union: only one key present
120
+ * json: "DOCUMENT_VALUE",
121
+ * },
122
+ * },
123
+ * },
124
+ * ],
125
+ * toolChoice: { // ToolChoice Union: only one key present
126
+ * auto: {},
127
+ * any: {},
128
+ * tool: { // SpecificToolChoice
129
+ * name: "STRING_VALUE", // required
130
+ * },
131
+ * },
132
+ * },
133
+ * },
88
134
* },
89
135
* modelId: "STRING_VALUE", // required
90
136
* inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
@@ -100,6 +146,10 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
100
146
* additionalModelRequestFields: "DOCUMENT_VALUE",
101
147
* },
102
148
* },
149
+ * guardrailConfiguration: {
150
+ * guardrailIdentifier: "STRING_VALUE",
151
+ * guardrailVersion: "STRING_VALUE",
152
+ * },
103
153
* },
104
154
* lambdaFunction: { // LambdaFunctionFlowNodeConfiguration
105
155
* lambdaArn: "STRING_VALUE", // required
@@ -186,6 +236,10 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
186
236
* // knowledgeBase: { // KnowledgeBaseFlowNodeConfiguration
187
237
* // knowledgeBaseId: "STRING_VALUE", // required
188
238
* // modelId: "STRING_VALUE",
239
+ * // guardrailConfiguration: { // GuardrailConfiguration
240
+ * // guardrailIdentifier: "STRING_VALUE",
241
+ * // guardrailVersion: "STRING_VALUE",
242
+ * // },
189
243
* // },
190
244
* // condition: { // ConditionFlowNodeConfiguration
191
245
* // conditions: [ // FlowConditions // required
@@ -205,7 +259,7 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
205
259
* // promptArn: "STRING_VALUE", // required
206
260
* // },
207
261
* // inline: { // PromptFlowNodeInlineConfiguration
208
- * // templateType: "TEXT", // required
262
+ * // templateType: "TEXT" || "CHAT" , // required
209
263
* // templateConfiguration: { // PromptTemplateConfiguration Union: only one key present
210
264
* // text: { // TextPromptTemplateConfiguration
211
265
* // text: "STRING_VALUE", // required
@@ -215,6 +269,48 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
215
269
* // },
216
270
* // ],
217
271
* // },
272
+ * // chat: { // ChatPromptTemplateConfiguration
273
+ * // messages: [ // Messages // required
274
+ * // { // Message
275
+ * // role: "user" || "assistant", // required
276
+ * // content: [ // ContentBlocks // required
277
+ * // { // ContentBlock Union: only one key present
278
+ * // text: "STRING_VALUE",
279
+ * // },
280
+ * // ],
281
+ * // },
282
+ * // ],
283
+ * // system: [ // SystemContentBlocks
284
+ * // { // SystemContentBlock Union: only one key present
285
+ * // text: "STRING_VALUE",
286
+ * // },
287
+ * // ],
288
+ * // inputVariables: [
289
+ * // {
290
+ * // name: "STRING_VALUE",
291
+ * // },
292
+ * // ],
293
+ * // toolConfiguration: { // ToolConfiguration
294
+ * // tools: [ // Tools // required
295
+ * // { // Tool Union: only one key present
296
+ * // toolSpec: { // ToolSpecification
297
+ * // name: "STRING_VALUE", // required
298
+ * // description: "STRING_VALUE",
299
+ * // inputSchema: { // ToolInputSchema Union: only one key present
300
+ * // json: "DOCUMENT_VALUE",
301
+ * // },
302
+ * // },
303
+ * // },
304
+ * // ],
305
+ * // toolChoice: { // ToolChoice Union: only one key present
306
+ * // auto: {},
307
+ * // any: {},
308
+ * // tool: { // SpecificToolChoice
309
+ * // name: "STRING_VALUE", // required
310
+ * // },
311
+ * // },
312
+ * // },
313
+ * // },
218
314
* // },
219
315
* // modelId: "STRING_VALUE", // required
220
316
* // inferenceConfiguration: { // PromptInferenceConfiguration Union: only one key present
@@ -230,6 +326,10 @@ export interface CreateFlowCommandOutput extends CreateFlowResponse, __MetadataB
230
326
* // additionalModelRequestFields: "DOCUMENT_VALUE",
231
327
* // },
232
328
* // },
329
+ * // guardrailConfiguration: {
330
+ * // guardrailIdentifier: "STRING_VALUE",
331
+ * // guardrailVersion: "STRING_VALUE",
332
+ * // },
233
333
* // },
234
334
* // lambdaFunction: { // LambdaFunctionFlowNodeConfiguration
235
335
* // lambdaArn: "STRING_VALUE", // required
0 commit comments