aws-sdk-bedrockagent 1.33.0 → 1.35.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.
@@ -45,8 +45,10 @@ module Aws::BedrockAgent
45
45
  AgentVersion = Shapes::StructureShape.new(name: 'AgentVersion')
46
46
  AgentVersionSummaries = Shapes::ListShape.new(name: 'AgentVersionSummaries')
47
47
  AgentVersionSummary = Shapes::StructureShape.new(name: 'AgentVersionSummary')
48
+ AnyToolChoice = Shapes::StructureShape.new(name: 'AnyToolChoice')
48
49
  AssociateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseRequest')
49
50
  AssociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseResponse')
51
+ AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
50
52
  BasePromptTemplate = Shapes::StringShape.new(name: 'BasePromptTemplate')
51
53
  BedrockEmbeddingModelArn = Shapes::StringShape.new(name: 'BedrockEmbeddingModelArn')
52
54
  BedrockEmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'BedrockEmbeddingModelConfiguration')
@@ -54,6 +56,7 @@ module Aws::BedrockAgent
54
56
  BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
55
57
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
56
58
  BucketOwnerAccountId = Shapes::StringShape.new(name: 'BucketOwnerAccountId')
59
+ ChatPromptTemplateConfiguration = Shapes::StructureShape.new(name: 'ChatPromptTemplateConfiguration')
57
60
  ChunkingConfiguration = Shapes::StructureShape.new(name: 'ChunkingConfiguration')
58
61
  ChunkingStrategy = Shapes::StringShape.new(name: 'ChunkingStrategy')
59
62
  ClientToken = Shapes::StringShape.new(name: 'ClientToken')
@@ -66,6 +69,9 @@ module Aws::BedrockAgent
66
69
  ConfluenceDataSourceConfiguration = Shapes::StructureShape.new(name: 'ConfluenceDataSourceConfiguration')
67
70
  ConfluenceHostType = Shapes::StringShape.new(name: 'ConfluenceHostType')
68
71
  ConfluenceSourceConfiguration = Shapes::StructureShape.new(name: 'ConfluenceSourceConfiguration')
72
+ ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
73
+ ContentBlocks = Shapes::ListShape.new(name: 'ContentBlocks')
74
+ ConversationRole = Shapes::StringShape.new(name: 'ConversationRole')
69
75
  CrawlFilterConfiguration = Shapes::StructureShape.new(name: 'CrawlFilterConfiguration')
70
76
  CrawlFilterConfigurationType = Shapes::StringShape.new(name: 'CrawlFilterConfigurationType')
71
77
  CreateAgentActionGroupRequest = Shapes::StructureShape.new(name: 'CreateAgentActionGroupRequest')
@@ -91,6 +97,7 @@ module Aws::BedrockAgent
91
97
  CreationMode = Shapes::StringShape.new(name: 'CreationMode')
92
98
  CustomControlMethod = Shapes::StringShape.new(name: 'CustomControlMethod')
93
99
  CustomTransformationConfiguration = Shapes::StructureShape.new(name: 'CustomTransformationConfiguration')
100
+ CyclicConnectionFlowValidationDetails = Shapes::StructureShape.new(name: 'CyclicConnectionFlowValidationDetails')
94
101
  DataDeletionPolicy = Shapes::StringShape.new(name: 'DataDeletionPolicy')
95
102
  DataSource = Shapes::StructureShape.new(name: 'DataSource')
96
103
  DataSourceConfiguration = Shapes::StructureShape.new(name: 'DataSourceConfiguration')
@@ -125,8 +132,11 @@ module Aws::BedrockAgent
125
132
  DisassociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DisassociateAgentKnowledgeBaseResponse')
126
133
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
127
134
  DraftVersion = Shapes::StringShape.new(name: 'DraftVersion')
135
+ DuplicateConditionExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'DuplicateConditionExpressionFlowValidationDetails')
136
+ DuplicateConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'DuplicateConnectionsFlowValidationDetails')
128
137
  EmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'EmbeddingModelConfiguration')
129
138
  EnabledMemoryTypes = Shapes::ListShape.new(name: 'EnabledMemoryTypes')
139
+ ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
130
140
  FailureReason = Shapes::StringShape.new(name: 'FailureReason')
131
141
  FailureReasons = Shapes::ListShape.new(name: 'FailureReasons')
132
142
  FieldName = Shapes::StringShape.new(name: 'FieldName')
@@ -178,7 +188,9 @@ module Aws::BedrockAgent
178
188
  FlowSummaries = Shapes::ListShape.new(name: 'FlowSummaries')
179
189
  FlowSummary = Shapes::StructureShape.new(name: 'FlowSummary')
180
190
  FlowValidation = Shapes::StructureShape.new(name: 'FlowValidation')
191
+ FlowValidationDetails = Shapes::UnionShape.new(name: 'FlowValidationDetails')
181
192
  FlowValidationSeverity = Shapes::StringShape.new(name: 'FlowValidationSeverity')
193
+ FlowValidationType = Shapes::StringShape.new(name: 'FlowValidationType')
182
194
  FlowValidations = Shapes::ListShape.new(name: 'FlowValidations')
183
195
  FlowVersionSummaries = Shapes::ListShape.new(name: 'FlowVersionSummaries')
184
196
  FlowVersionSummary = Shapes::StructureShape.new(name: 'FlowVersionSummary')
@@ -220,6 +232,7 @@ module Aws::BedrockAgent
220
232
  HierarchicalChunkingLevelConfigurations = Shapes::ListShape.new(name: 'HierarchicalChunkingLevelConfigurations')
221
233
  HttpsUrl = Shapes::StringShape.new(name: 'HttpsUrl')
222
234
  Id = Shapes::StringShape.new(name: 'Id')
235
+ IncompatibleConnectionDataTypeFlowValidationDetails = Shapes::StructureShape.new(name: 'IncompatibleConnectionDataTypeFlowValidationDetails')
223
236
  InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
224
237
  IngestionJob = Shapes::StructureShape.new(name: 'IngestionJob')
225
238
  IngestionJobFilter = Shapes::StructureShape.new(name: 'IngestionJobFilter')
@@ -284,11 +297,24 @@ module Aws::BedrockAgent
284
297
  ListPromptsResponse = Shapes::StructureShape.new(name: 'ListPromptsResponse')
285
298
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
286
299
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
300
+ MalformedConditionExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'MalformedConditionExpressionFlowValidationDetails')
301
+ MalformedNodeInputExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'MalformedNodeInputExpressionFlowValidationDetails')
287
302
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
288
303
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
289
304
  MemoryConfiguration = Shapes::StructureShape.new(name: 'MemoryConfiguration')
290
305
  MemoryType = Shapes::StringShape.new(name: 'MemoryType')
306
+ Message = Shapes::StructureShape.new(name: 'Message')
307
+ Messages = Shapes::ListShape.new(name: 'Messages')
291
308
  Microsoft365TenantId = Shapes::StringShape.new(name: 'Microsoft365TenantId')
309
+ MismatchedNodeInputTypeFlowValidationDetails = Shapes::StructureShape.new(name: 'MismatchedNodeInputTypeFlowValidationDetails')
310
+ MismatchedNodeOutputTypeFlowValidationDetails = Shapes::StructureShape.new(name: 'MismatchedNodeOutputTypeFlowValidationDetails')
311
+ MissingConnectionConfigurationFlowValidationDetails = Shapes::StructureShape.new(name: 'MissingConnectionConfigurationFlowValidationDetails')
312
+ MissingDefaultConditionFlowValidationDetails = Shapes::StructureShape.new(name: 'MissingDefaultConditionFlowValidationDetails')
313
+ MissingEndingNodesFlowValidationDetails = Shapes::StructureShape.new(name: 'MissingEndingNodesFlowValidationDetails')
314
+ MissingNodeConfigurationFlowValidationDetails = Shapes::StructureShape.new(name: 'MissingNodeConfigurationFlowValidationDetails')
315
+ MissingNodeInputFlowValidationDetails = Shapes::StructureShape.new(name: 'MissingNodeInputFlowValidationDetails')
316
+ MissingNodeOutputFlowValidationDetails = Shapes::StructureShape.new(name: 'MissingNodeOutputFlowValidationDetails')
317
+ MissingStartingNodesFlowValidationDetails = Shapes::StructureShape.new(name: 'MissingStartingNodesFlowValidationDetails')
292
318
  ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
293
319
  MongoDbAtlasCollectionName = Shapes::StringShape.new(name: 'MongoDbAtlasCollectionName')
294
320
  MongoDbAtlasConfiguration = Shapes::StructureShape.new(name: 'MongoDbAtlasConfiguration')
@@ -297,9 +323,11 @@ module Aws::BedrockAgent
297
323
  MongoDbAtlasEndpointServiceName = Shapes::StringShape.new(name: 'MongoDbAtlasEndpointServiceName')
298
324
  MongoDbAtlasFieldMapping = Shapes::StructureShape.new(name: 'MongoDbAtlasFieldMapping')
299
325
  MongoDbAtlasIndexName = Shapes::StringShape.new(name: 'MongoDbAtlasIndexName')
326
+ MultipleNodeInputConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'MultipleNodeInputConnectionsFlowValidationDetails')
300
327
  Name = Shapes::StringShape.new(name: 'Name')
301
328
  NextToken = Shapes::StringShape.new(name: 'NextToken')
302
329
  NonBlankString = Shapes::StringShape.new(name: 'NonBlankString')
330
+ NonEmptyString = Shapes::StringShape.new(name: 'NonEmptyString')
303
331
  NumericalVersion = Shapes::StringShape.new(name: 'NumericalVersion')
304
332
  OpenSearchServerlessCollectionArn = Shapes::StringShape.new(name: 'OpenSearchServerlessCollectionArn')
305
333
  OpenSearchServerlessConfiguration = Shapes::StructureShape.new(name: 'OpenSearchServerlessConfiguration')
@@ -326,6 +354,7 @@ module Aws::BedrockAgent
326
354
  PrepareFlowRequest = Shapes::StructureShape.new(name: 'PrepareFlowRequest')
327
355
  PrepareFlowResponse = Shapes::StructureShape.new(name: 'PrepareFlowResponse')
328
356
  PrimitiveLong = Shapes::IntegerShape.new(name: 'PrimitiveLong')
357
+ PromptAgentResource = Shapes::StructureShape.new(name: 'PromptAgentResource')
329
358
  PromptArn = Shapes::StringShape.new(name: 'PromptArn')
330
359
  PromptConfiguration = Shapes::StructureShape.new(name: 'PromptConfiguration')
331
360
  PromptConfigurations = Shapes::ListShape.new(name: 'PromptConfigurations')
@@ -334,6 +363,7 @@ module Aws::BedrockAgent
334
363
  PromptFlowNodeInlineConfiguration = Shapes::StructureShape.new(name: 'PromptFlowNodeInlineConfiguration')
335
364
  PromptFlowNodeResourceConfiguration = Shapes::StructureShape.new(name: 'PromptFlowNodeResourceConfiguration')
336
365
  PromptFlowNodeSourceConfiguration = Shapes::UnionShape.new(name: 'PromptFlowNodeSourceConfiguration')
366
+ PromptGenAiResource = Shapes::UnionShape.new(name: 'PromptGenAiResource')
337
367
  PromptId = Shapes::StringShape.new(name: 'PromptId')
338
368
  PromptIdentifier = Shapes::StringShape.new(name: 'PromptIdentifier')
339
369
  PromptInferenceConfiguration = Shapes::UnionShape.new(name: 'PromptInferenceConfiguration')
@@ -405,6 +435,7 @@ module Aws::BedrockAgent
405
435
  SharePointSiteUrls = Shapes::ListShape.new(name: 'SharePointSiteUrls')
406
436
  SharePointSourceConfiguration = Shapes::StructureShape.new(name: 'SharePointSourceConfiguration')
407
437
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
438
+ SpecificToolChoice = Shapes::StructureShape.new(name: 'SpecificToolChoice')
408
439
  StartIngestionJobRequest = Shapes::StructureShape.new(name: 'StartIngestionJobRequest')
409
440
  StartIngestionJobResponse = Shapes::StructureShape.new(name: 'StartIngestionJobResponse')
410
441
  StepType = Shapes::StringShape.new(name: 'StepType')
@@ -417,6 +448,8 @@ module Aws::BedrockAgent
417
448
  StorageFlowNodeS3Configuration = Shapes::StructureShape.new(name: 'StorageFlowNodeS3Configuration')
418
449
  StorageFlowNodeServiceConfiguration = Shapes::UnionShape.new(name: 'StorageFlowNodeServiceConfiguration')
419
450
  String = Shapes::StringShape.new(name: 'String')
451
+ SystemContentBlock = Shapes::UnionShape.new(name: 'SystemContentBlock')
452
+ SystemContentBlocks = Shapes::ListShape.new(name: 'SystemContentBlocks')
420
453
  TagKey = Shapes::StringShape.new(name: 'TagKey')
421
454
  TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
422
455
  TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
@@ -428,6 +461,13 @@ module Aws::BedrockAgent
428
461
  TextPrompt = Shapes::StringShape.new(name: 'TextPrompt')
429
462
  TextPromptTemplateConfiguration = Shapes::StructureShape.new(name: 'TextPromptTemplateConfiguration')
430
463
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
464
+ Tool = Shapes::UnionShape.new(name: 'Tool')
465
+ ToolChoice = Shapes::UnionShape.new(name: 'ToolChoice')
466
+ ToolConfiguration = Shapes::StructureShape.new(name: 'ToolConfiguration')
467
+ ToolConfigurationToolsList = Shapes::ListShape.new(name: 'ToolConfigurationToolsList')
468
+ ToolInputSchema = Shapes::UnionShape.new(name: 'ToolInputSchema')
469
+ ToolName = Shapes::StringShape.new(name: 'ToolName')
470
+ ToolSpecification = Shapes::StructureShape.new(name: 'ToolSpecification')
431
471
  TopK = Shapes::IntegerShape.new(name: 'TopK')
432
472
  TopP = Shapes::FloatShape.new(name: 'TopP')
433
473
  Transformation = Shapes::StructureShape.new(name: 'Transformation')
@@ -435,6 +475,15 @@ module Aws::BedrockAgent
435
475
  TransformationLambdaConfiguration = Shapes::StructureShape.new(name: 'TransformationLambdaConfiguration')
436
476
  Transformations = Shapes::ListShape.new(name: 'Transformations')
437
477
  Type = Shapes::StringShape.new(name: 'Type')
478
+ UnfulfilledNodeInputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnfulfilledNodeInputFlowValidationDetails')
479
+ UnknownConnectionConditionFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionConditionFlowValidationDetails')
480
+ UnknownConnectionSourceFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionSourceFlowValidationDetails')
481
+ UnknownConnectionSourceOutputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionSourceOutputFlowValidationDetails')
482
+ UnknownConnectionTargetFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionTargetFlowValidationDetails')
483
+ UnknownConnectionTargetInputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionTargetInputFlowValidationDetails')
484
+ UnreachableNodeFlowValidationDetails = Shapes::StructureShape.new(name: 'UnreachableNodeFlowValidationDetails')
485
+ UnsatisfiedConnectionConditionsFlowValidationDetails = Shapes::StructureShape.new(name: 'UnsatisfiedConnectionConditionsFlowValidationDetails')
486
+ UnspecifiedFlowValidationDetails = Shapes::StructureShape.new(name: 'UnspecifiedFlowValidationDetails')
438
487
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
439
488
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
440
489
  UpdateAgentActionGroupRequest = Shapes::StructureShape.new(name: 'UpdateAgentActionGroupRequest')
@@ -457,6 +506,8 @@ module Aws::BedrockAgent
457
506
  UpdatePromptResponse = Shapes::StructureShape.new(name: 'UpdatePromptResponse')
458
507
  Url = Shapes::StringShape.new(name: 'Url')
459
508
  UrlConfiguration = Shapes::StructureShape.new(name: 'UrlConfiguration')
509
+ ValidateFlowDefinitionRequest = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionRequest')
510
+ ValidateFlowDefinitionResponse = Shapes::StructureShape.new(name: 'ValidateFlowDefinitionResponse')
460
511
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
461
512
  ValidationExceptionField = Shapes::StructureShape.new(name: 'ValidationExceptionField')
462
513
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
@@ -635,6 +686,8 @@ module Aws::BedrockAgent
635
686
  AgentVersionSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
636
687
  AgentVersionSummary.struct_class = Types::AgentVersionSummary
637
688
 
689
+ AnyToolChoice.struct_class = Types::AnyToolChoice
690
+
638
691
  AssociateAgentKnowledgeBaseRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
639
692
  AssociateAgentKnowledgeBaseRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
640
693
  AssociateAgentKnowledgeBaseRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, required: true, location_name: "description"))
@@ -645,6 +698,8 @@ module Aws::BedrockAgent
645
698
  AssociateAgentKnowledgeBaseResponse.add_member(:agent_knowledge_base, Shapes::ShapeRef.new(shape: AgentKnowledgeBase, required: true, location_name: "agentKnowledgeBase"))
646
699
  AssociateAgentKnowledgeBaseResponse.struct_class = Types::AssociateAgentKnowledgeBaseResponse
647
700
 
701
+ AutoToolChoice.struct_class = Types::AutoToolChoice
702
+
648
703
  BedrockEmbeddingModelConfiguration.add_member(:dimensions, Shapes::ShapeRef.new(shape: Dimensions, location_name: "dimensions"))
649
704
  BedrockEmbeddingModelConfiguration.struct_class = Types::BedrockEmbeddingModelConfiguration
650
705
 
@@ -652,6 +707,12 @@ module Aws::BedrockAgent
652
707
  BedrockFoundationModelConfiguration.add_member(:parsing_prompt, Shapes::ShapeRef.new(shape: ParsingPrompt, location_name: "parsingPrompt"))
653
708
  BedrockFoundationModelConfiguration.struct_class = Types::BedrockFoundationModelConfiguration
654
709
 
710
+ ChatPromptTemplateConfiguration.add_member(:input_variables, Shapes::ShapeRef.new(shape: PromptInputVariablesList, location_name: "inputVariables"))
711
+ ChatPromptTemplateConfiguration.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, required: true, location_name: "messages"))
712
+ ChatPromptTemplateConfiguration.add_member(:system, Shapes::ShapeRef.new(shape: SystemContentBlocks, location_name: "system"))
713
+ ChatPromptTemplateConfiguration.add_member(:tool_configuration, Shapes::ShapeRef.new(shape: ToolConfiguration, location_name: "toolConfiguration"))
714
+ ChatPromptTemplateConfiguration.struct_class = Types::ChatPromptTemplateConfiguration
715
+
655
716
  ChunkingConfiguration.add_member(:chunking_strategy, Shapes::ShapeRef.new(shape: ChunkingStrategy, required: true, location_name: "chunkingStrategy"))
656
717
  ChunkingConfiguration.add_member(:fixed_size_chunking_configuration, Shapes::ShapeRef.new(shape: FixedSizeChunkingConfiguration, location_name: "fixedSizeChunkingConfiguration"))
657
718
  ChunkingConfiguration.add_member(:hierarchical_chunking_configuration, Shapes::ShapeRef.new(shape: HierarchicalChunkingConfiguration, location_name: "hierarchicalChunkingConfiguration"))
@@ -679,6 +740,14 @@ module Aws::BedrockAgent
679
740
  ConfluenceSourceConfiguration.add_member(:host_url, Shapes::ShapeRef.new(shape: HttpsUrl, required: true, location_name: "hostUrl"))
680
741
  ConfluenceSourceConfiguration.struct_class = Types::ConfluenceSourceConfiguration
681
742
 
743
+ ContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
744
+ ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
745
+ ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
746
+ ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
747
+ ContentBlock.struct_class = Types::ContentBlock
748
+
749
+ ContentBlocks.member = Shapes::ShapeRef.new(shape: ContentBlock)
750
+
682
751
  CrawlFilterConfiguration.add_member(:pattern_object_filter, Shapes::ShapeRef.new(shape: PatternObjectFilterConfiguration, location_name: "patternObjectFilter"))
683
752
  CrawlFilterConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: CrawlFilterConfigurationType, required: true, location_name: "type"))
684
753
  CrawlFilterConfiguration.struct_class = Types::CrawlFilterConfiguration
@@ -851,6 +920,9 @@ module Aws::BedrockAgent
851
920
  CustomTransformationConfiguration.add_member(:transformations, Shapes::ShapeRef.new(shape: Transformations, required: true, location_name: "transformations"))
852
921
  CustomTransformationConfiguration.struct_class = Types::CustomTransformationConfiguration
853
922
 
923
+ CyclicConnectionFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
924
+ CyclicConnectionFlowValidationDetails.struct_class = Types::CyclicConnectionFlowValidationDetails
925
+
854
926
  DataSource.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
855
927
  DataSource.add_member(:data_deletion_policy, Shapes::ShapeRef.new(shape: DataDeletionPolicy, location_name: "dataDeletionPolicy"))
856
928
  DataSource.add_member(:data_source_configuration, Shapes::ShapeRef.new(shape: DataSourceConfiguration, required: true, location_name: "dataSourceConfiguration"))
@@ -973,6 +1045,14 @@ module Aws::BedrockAgent
973
1045
 
974
1046
  DisassociateAgentKnowledgeBaseResponse.struct_class = Types::DisassociateAgentKnowledgeBaseResponse
975
1047
 
1048
+ DuplicateConditionExpressionFlowValidationDetails.add_member(:expression, Shapes::ShapeRef.new(shape: FlowConditionExpression, required: true, location_name: "expression"))
1049
+ DuplicateConditionExpressionFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1050
+ DuplicateConditionExpressionFlowValidationDetails.struct_class = Types::DuplicateConditionExpressionFlowValidationDetails
1051
+
1052
+ DuplicateConnectionsFlowValidationDetails.add_member(:source, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "source"))
1053
+ DuplicateConnectionsFlowValidationDetails.add_member(:target, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "target"))
1054
+ DuplicateConnectionsFlowValidationDetails.struct_class = Types::DuplicateConnectionsFlowValidationDetails
1055
+
976
1056
  EmbeddingModelConfiguration.add_member(:bedrock_embedding_model_configuration, Shapes::ShapeRef.new(shape: BedrockEmbeddingModelConfiguration, location_name: "bedrockEmbeddingModelConfiguration"))
977
1057
  EmbeddingModelConfiguration.struct_class = Types::EmbeddingModelConfiguration
978
1058
 
@@ -1099,10 +1179,66 @@ module Aws::BedrockAgent
1099
1179
  FlowSummary.add_member(:version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location_name: "version"))
1100
1180
  FlowSummary.struct_class = Types::FlowSummary
1101
1181
 
1182
+ FlowValidation.add_member(:details, Shapes::ShapeRef.new(shape: FlowValidationDetails, location_name: "details"))
1102
1183
  FlowValidation.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, required: true, location_name: "message"))
1103
1184
  FlowValidation.add_member(:severity, Shapes::ShapeRef.new(shape: FlowValidationSeverity, required: true, location_name: "severity"))
1185
+ FlowValidation.add_member(:type, Shapes::ShapeRef.new(shape: FlowValidationType, location_name: "type"))
1104
1186
  FlowValidation.struct_class = Types::FlowValidation
1105
1187
 
1188
+ FlowValidationDetails.add_member(:cyclic_connection, Shapes::ShapeRef.new(shape: CyclicConnectionFlowValidationDetails, location_name: "cyclicConnection"))
1189
+ FlowValidationDetails.add_member(:duplicate_condition_expression, Shapes::ShapeRef.new(shape: DuplicateConditionExpressionFlowValidationDetails, location_name: "duplicateConditionExpression"))
1190
+ FlowValidationDetails.add_member(:duplicate_connections, Shapes::ShapeRef.new(shape: DuplicateConnectionsFlowValidationDetails, location_name: "duplicateConnections"))
1191
+ FlowValidationDetails.add_member(:incompatible_connection_data_type, Shapes::ShapeRef.new(shape: IncompatibleConnectionDataTypeFlowValidationDetails, location_name: "incompatibleConnectionDataType"))
1192
+ FlowValidationDetails.add_member(:malformed_condition_expression, Shapes::ShapeRef.new(shape: MalformedConditionExpressionFlowValidationDetails, location_name: "malformedConditionExpression"))
1193
+ FlowValidationDetails.add_member(:malformed_node_input_expression, Shapes::ShapeRef.new(shape: MalformedNodeInputExpressionFlowValidationDetails, location_name: "malformedNodeInputExpression"))
1194
+ FlowValidationDetails.add_member(:mismatched_node_input_type, Shapes::ShapeRef.new(shape: MismatchedNodeInputTypeFlowValidationDetails, location_name: "mismatchedNodeInputType"))
1195
+ FlowValidationDetails.add_member(:mismatched_node_output_type, Shapes::ShapeRef.new(shape: MismatchedNodeOutputTypeFlowValidationDetails, location_name: "mismatchedNodeOutputType"))
1196
+ FlowValidationDetails.add_member(:missing_connection_configuration, Shapes::ShapeRef.new(shape: MissingConnectionConfigurationFlowValidationDetails, location_name: "missingConnectionConfiguration"))
1197
+ FlowValidationDetails.add_member(:missing_default_condition, Shapes::ShapeRef.new(shape: MissingDefaultConditionFlowValidationDetails, location_name: "missingDefaultCondition"))
1198
+ FlowValidationDetails.add_member(:missing_ending_nodes, Shapes::ShapeRef.new(shape: MissingEndingNodesFlowValidationDetails, location_name: "missingEndingNodes"))
1199
+ FlowValidationDetails.add_member(:missing_node_configuration, Shapes::ShapeRef.new(shape: MissingNodeConfigurationFlowValidationDetails, location_name: "missingNodeConfiguration"))
1200
+ FlowValidationDetails.add_member(:missing_node_input, Shapes::ShapeRef.new(shape: MissingNodeInputFlowValidationDetails, location_name: "missingNodeInput"))
1201
+ FlowValidationDetails.add_member(:missing_node_output, Shapes::ShapeRef.new(shape: MissingNodeOutputFlowValidationDetails, location_name: "missingNodeOutput"))
1202
+ FlowValidationDetails.add_member(:missing_starting_nodes, Shapes::ShapeRef.new(shape: MissingStartingNodesFlowValidationDetails, location_name: "missingStartingNodes"))
1203
+ FlowValidationDetails.add_member(:multiple_node_input_connections, Shapes::ShapeRef.new(shape: MultipleNodeInputConnectionsFlowValidationDetails, location_name: "multipleNodeInputConnections"))
1204
+ FlowValidationDetails.add_member(:unfulfilled_node_input, Shapes::ShapeRef.new(shape: UnfulfilledNodeInputFlowValidationDetails, location_name: "unfulfilledNodeInput"))
1205
+ FlowValidationDetails.add_member(:unknown_connection_condition, Shapes::ShapeRef.new(shape: UnknownConnectionConditionFlowValidationDetails, location_name: "unknownConnectionCondition"))
1206
+ FlowValidationDetails.add_member(:unknown_connection_source, Shapes::ShapeRef.new(shape: UnknownConnectionSourceFlowValidationDetails, location_name: "unknownConnectionSource"))
1207
+ FlowValidationDetails.add_member(:unknown_connection_source_output, Shapes::ShapeRef.new(shape: UnknownConnectionSourceOutputFlowValidationDetails, location_name: "unknownConnectionSourceOutput"))
1208
+ FlowValidationDetails.add_member(:unknown_connection_target, Shapes::ShapeRef.new(shape: UnknownConnectionTargetFlowValidationDetails, location_name: "unknownConnectionTarget"))
1209
+ FlowValidationDetails.add_member(:unknown_connection_target_input, Shapes::ShapeRef.new(shape: UnknownConnectionTargetInputFlowValidationDetails, location_name: "unknownConnectionTargetInput"))
1210
+ FlowValidationDetails.add_member(:unreachable_node, Shapes::ShapeRef.new(shape: UnreachableNodeFlowValidationDetails, location_name: "unreachableNode"))
1211
+ FlowValidationDetails.add_member(:unsatisfied_connection_conditions, Shapes::ShapeRef.new(shape: UnsatisfiedConnectionConditionsFlowValidationDetails, location_name: "unsatisfiedConnectionConditions"))
1212
+ FlowValidationDetails.add_member(:unspecified, Shapes::ShapeRef.new(shape: UnspecifiedFlowValidationDetails, location_name: "unspecified"))
1213
+ FlowValidationDetails.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1214
+ FlowValidationDetails.add_member_subclass(:cyclic_connection, Types::FlowValidationDetails::CyclicConnection)
1215
+ FlowValidationDetails.add_member_subclass(:duplicate_condition_expression, Types::FlowValidationDetails::DuplicateConditionExpression)
1216
+ FlowValidationDetails.add_member_subclass(:duplicate_connections, Types::FlowValidationDetails::DuplicateConnections)
1217
+ FlowValidationDetails.add_member_subclass(:incompatible_connection_data_type, Types::FlowValidationDetails::IncompatibleConnectionDataType)
1218
+ FlowValidationDetails.add_member_subclass(:malformed_condition_expression, Types::FlowValidationDetails::MalformedConditionExpression)
1219
+ FlowValidationDetails.add_member_subclass(:malformed_node_input_expression, Types::FlowValidationDetails::MalformedNodeInputExpression)
1220
+ FlowValidationDetails.add_member_subclass(:mismatched_node_input_type, Types::FlowValidationDetails::MismatchedNodeInputType)
1221
+ FlowValidationDetails.add_member_subclass(:mismatched_node_output_type, Types::FlowValidationDetails::MismatchedNodeOutputType)
1222
+ FlowValidationDetails.add_member_subclass(:missing_connection_configuration, Types::FlowValidationDetails::MissingConnectionConfiguration)
1223
+ FlowValidationDetails.add_member_subclass(:missing_default_condition, Types::FlowValidationDetails::MissingDefaultCondition)
1224
+ FlowValidationDetails.add_member_subclass(:missing_ending_nodes, Types::FlowValidationDetails::MissingEndingNodes)
1225
+ FlowValidationDetails.add_member_subclass(:missing_node_configuration, Types::FlowValidationDetails::MissingNodeConfiguration)
1226
+ FlowValidationDetails.add_member_subclass(:missing_node_input, Types::FlowValidationDetails::MissingNodeInput)
1227
+ FlowValidationDetails.add_member_subclass(:missing_node_output, Types::FlowValidationDetails::MissingNodeOutput)
1228
+ FlowValidationDetails.add_member_subclass(:missing_starting_nodes, Types::FlowValidationDetails::MissingStartingNodes)
1229
+ FlowValidationDetails.add_member_subclass(:multiple_node_input_connections, Types::FlowValidationDetails::MultipleNodeInputConnections)
1230
+ FlowValidationDetails.add_member_subclass(:unfulfilled_node_input, Types::FlowValidationDetails::UnfulfilledNodeInput)
1231
+ FlowValidationDetails.add_member_subclass(:unknown_connection_condition, Types::FlowValidationDetails::UnknownConnectionCondition)
1232
+ FlowValidationDetails.add_member_subclass(:unknown_connection_source, Types::FlowValidationDetails::UnknownConnectionSource)
1233
+ FlowValidationDetails.add_member_subclass(:unknown_connection_source_output, Types::FlowValidationDetails::UnknownConnectionSourceOutput)
1234
+ FlowValidationDetails.add_member_subclass(:unknown_connection_target, Types::FlowValidationDetails::UnknownConnectionTarget)
1235
+ FlowValidationDetails.add_member_subclass(:unknown_connection_target_input, Types::FlowValidationDetails::UnknownConnectionTargetInput)
1236
+ FlowValidationDetails.add_member_subclass(:unreachable_node, Types::FlowValidationDetails::UnreachableNode)
1237
+ FlowValidationDetails.add_member_subclass(:unsatisfied_connection_conditions, Types::FlowValidationDetails::UnsatisfiedConnectionConditions)
1238
+ FlowValidationDetails.add_member_subclass(:unspecified, Types::FlowValidationDetails::Unspecified)
1239
+ FlowValidationDetails.add_member_subclass(:unknown, Types::FlowValidationDetails::Unknown)
1240
+ FlowValidationDetails.struct_class = Types::FlowValidationDetails
1241
+
1106
1242
  FlowValidations.member = Shapes::ShapeRef.new(shape: FlowValidation)
1107
1243
 
1108
1244
  FlowVersionSummaries.member = Shapes::ShapeRef.new(shape: FlowVersionSummary)
@@ -1261,6 +1397,9 @@ module Aws::BedrockAgent
1261
1397
 
1262
1398
  HierarchicalChunkingLevelConfigurations.member = Shapes::ShapeRef.new(shape: HierarchicalChunkingLevelConfiguration)
1263
1399
 
1400
+ IncompatibleConnectionDataTypeFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
1401
+ IncompatibleConnectionDataTypeFlowValidationDetails.struct_class = Types::IncompatibleConnectionDataTypeFlowValidationDetails
1402
+
1264
1403
  InferenceConfiguration.add_member(:maximum_length, Shapes::ShapeRef.new(shape: MaximumLength, location_name: "maximumLength"))
1265
1404
  InferenceConfiguration.add_member(:stop_sequences, Shapes::ShapeRef.new(shape: StopSequences, location_name: "stopSequences"))
1266
1405
  InferenceConfiguration.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
@@ -1340,6 +1479,7 @@ module Aws::BedrockAgent
1340
1479
  KnowledgeBaseConfiguration.add_member(:vector_knowledge_base_configuration, Shapes::ShapeRef.new(shape: VectorKnowledgeBaseConfiguration, location_name: "vectorKnowledgeBaseConfiguration"))
1341
1480
  KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
1342
1481
 
1482
+ KnowledgeBaseFlowNodeConfiguration.add_member(:guardrail_configuration, Shapes::ShapeRef.new(shape: GuardrailConfiguration, location_name: "guardrailConfiguration"))
1343
1483
  KnowledgeBaseFlowNodeConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
1344
1484
  KnowledgeBaseFlowNodeConfiguration.add_member(:model_id, Shapes::ShapeRef.new(shape: KnowledgeBaseModelIdentifier, location_name: "modelId"))
1345
1485
  KnowledgeBaseFlowNodeConfiguration.struct_class = Types::KnowledgeBaseFlowNodeConfiguration
@@ -1476,10 +1616,57 @@ module Aws::BedrockAgent
1476
1616
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
1477
1617
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1478
1618
 
1619
+ MalformedConditionExpressionFlowValidationDetails.add_member(:cause, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "cause"))
1620
+ MalformedConditionExpressionFlowValidationDetails.add_member(:condition, Shapes::ShapeRef.new(shape: FlowConditionName, required: true, location_name: "condition"))
1621
+ MalformedConditionExpressionFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1622
+ MalformedConditionExpressionFlowValidationDetails.struct_class = Types::MalformedConditionExpressionFlowValidationDetails
1623
+
1624
+ MalformedNodeInputExpressionFlowValidationDetails.add_member(:cause, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "cause"))
1625
+ MalformedNodeInputExpressionFlowValidationDetails.add_member(:input, Shapes::ShapeRef.new(shape: FlowNodeInputName, required: true, location_name: "input"))
1626
+ MalformedNodeInputExpressionFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1627
+ MalformedNodeInputExpressionFlowValidationDetails.struct_class = Types::MalformedNodeInputExpressionFlowValidationDetails
1628
+
1479
1629
  MemoryConfiguration.add_member(:enabled_memory_types, Shapes::ShapeRef.new(shape: EnabledMemoryTypes, required: true, location_name: "enabledMemoryTypes"))
1480
1630
  MemoryConfiguration.add_member(:storage_days, Shapes::ShapeRef.new(shape: StorageDays, location_name: "storageDays"))
1481
1631
  MemoryConfiguration.struct_class = Types::MemoryConfiguration
1482
1632
 
1633
+ Message.add_member(:content, Shapes::ShapeRef.new(shape: ContentBlocks, required: true, location_name: "content"))
1634
+ Message.add_member(:role, Shapes::ShapeRef.new(shape: ConversationRole, required: true, location_name: "role"))
1635
+ Message.struct_class = Types::Message
1636
+
1637
+ Messages.member = Shapes::ShapeRef.new(shape: Message)
1638
+
1639
+ MismatchedNodeInputTypeFlowValidationDetails.add_member(:expected_type, Shapes::ShapeRef.new(shape: FlowNodeIODataType, required: true, location_name: "expectedType"))
1640
+ MismatchedNodeInputTypeFlowValidationDetails.add_member(:input, Shapes::ShapeRef.new(shape: FlowNodeInputName, required: true, location_name: "input"))
1641
+ MismatchedNodeInputTypeFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1642
+ MismatchedNodeInputTypeFlowValidationDetails.struct_class = Types::MismatchedNodeInputTypeFlowValidationDetails
1643
+
1644
+ MismatchedNodeOutputTypeFlowValidationDetails.add_member(:expected_type, Shapes::ShapeRef.new(shape: FlowNodeIODataType, required: true, location_name: "expectedType"))
1645
+ MismatchedNodeOutputTypeFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1646
+ MismatchedNodeOutputTypeFlowValidationDetails.add_member(:output, Shapes::ShapeRef.new(shape: FlowNodeOutputName, required: true, location_name: "output"))
1647
+ MismatchedNodeOutputTypeFlowValidationDetails.struct_class = Types::MismatchedNodeOutputTypeFlowValidationDetails
1648
+
1649
+ MissingConnectionConfigurationFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
1650
+ MissingConnectionConfigurationFlowValidationDetails.struct_class = Types::MissingConnectionConfigurationFlowValidationDetails
1651
+
1652
+ MissingDefaultConditionFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1653
+ MissingDefaultConditionFlowValidationDetails.struct_class = Types::MissingDefaultConditionFlowValidationDetails
1654
+
1655
+ MissingEndingNodesFlowValidationDetails.struct_class = Types::MissingEndingNodesFlowValidationDetails
1656
+
1657
+ MissingNodeConfigurationFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1658
+ MissingNodeConfigurationFlowValidationDetails.struct_class = Types::MissingNodeConfigurationFlowValidationDetails
1659
+
1660
+ MissingNodeInputFlowValidationDetails.add_member(:input, Shapes::ShapeRef.new(shape: FlowNodeInputName, required: true, location_name: "input"))
1661
+ MissingNodeInputFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1662
+ MissingNodeInputFlowValidationDetails.struct_class = Types::MissingNodeInputFlowValidationDetails
1663
+
1664
+ MissingNodeOutputFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1665
+ MissingNodeOutputFlowValidationDetails.add_member(:output, Shapes::ShapeRef.new(shape: FlowNodeOutputName, required: true, location_name: "output"))
1666
+ MissingNodeOutputFlowValidationDetails.struct_class = Types::MissingNodeOutputFlowValidationDetails
1667
+
1668
+ MissingStartingNodesFlowValidationDetails.struct_class = Types::MissingStartingNodesFlowValidationDetails
1669
+
1483
1670
  MongoDbAtlasConfiguration.add_member(:collection_name, Shapes::ShapeRef.new(shape: MongoDbAtlasCollectionName, required: true, location_name: "collectionName"))
1484
1671
  MongoDbAtlasConfiguration.add_member(:credentials_secret_arn, Shapes::ShapeRef.new(shape: SecretArn, required: true, location_name: "credentialsSecretArn"))
1485
1672
  MongoDbAtlasConfiguration.add_member(:database_name, Shapes::ShapeRef.new(shape: MongoDbAtlasDatabaseName, required: true, location_name: "databaseName"))
@@ -1494,6 +1681,10 @@ module Aws::BedrockAgent
1494
1681
  MongoDbAtlasFieldMapping.add_member(:vector_field, Shapes::ShapeRef.new(shape: FieldName, required: true, location_name: "vectorField"))
1495
1682
  MongoDbAtlasFieldMapping.struct_class = Types::MongoDbAtlasFieldMapping
1496
1683
 
1684
+ MultipleNodeInputConnectionsFlowValidationDetails.add_member(:input, Shapes::ShapeRef.new(shape: FlowNodeInputName, required: true, location_name: "input"))
1685
+ MultipleNodeInputConnectionsFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
1686
+ MultipleNodeInputConnectionsFlowValidationDetails.struct_class = Types::MultipleNodeInputConnectionsFlowValidationDetails
1687
+
1497
1688
  OpenSearchServerlessConfiguration.add_member(:collection_arn, Shapes::ShapeRef.new(shape: OpenSearchServerlessCollectionArn, required: true, location_name: "collectionArn"))
1498
1689
  OpenSearchServerlessConfiguration.add_member(:field_mapping, Shapes::ShapeRef.new(shape: OpenSearchServerlessFieldMapping, required: true, location_name: "fieldMapping"))
1499
1690
  OpenSearchServerlessConfiguration.add_member(:vector_index_name, Shapes::ShapeRef.new(shape: OpenSearchServerlessIndexName, required: true, location_name: "vectorIndexName"))
@@ -1557,6 +1748,9 @@ module Aws::BedrockAgent
1557
1748
  PrepareFlowResponse.add_member(:status, Shapes::ShapeRef.new(shape: FlowStatus, required: true, location_name: "status"))
1558
1749
  PrepareFlowResponse.struct_class = Types::PrepareFlowResponse
1559
1750
 
1751
+ PromptAgentResource.add_member(:agent_identifier, Shapes::ShapeRef.new(shape: AgentAliasArn, required: true, location_name: "agentIdentifier"))
1752
+ PromptAgentResource.struct_class = Types::PromptAgentResource
1753
+
1560
1754
  PromptConfiguration.add_member(:base_prompt_template, Shapes::ShapeRef.new(shape: BasePromptTemplate, location_name: "basePromptTemplate"))
1561
1755
  PromptConfiguration.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
1562
1756
  PromptConfiguration.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
@@ -1567,6 +1761,7 @@ module Aws::BedrockAgent
1567
1761
 
1568
1762
  PromptConfigurations.member = Shapes::ShapeRef.new(shape: PromptConfiguration)
1569
1763
 
1764
+ PromptFlowNodeConfiguration.add_member(:guardrail_configuration, Shapes::ShapeRef.new(shape: GuardrailConfiguration, location_name: "guardrailConfiguration"))
1570
1765
  PromptFlowNodeConfiguration.add_member(:source_configuration, Shapes::ShapeRef.new(shape: PromptFlowNodeSourceConfiguration, required: true, location_name: "sourceConfiguration"))
1571
1766
  PromptFlowNodeConfiguration.struct_class = Types::PromptFlowNodeConfiguration
1572
1767
 
@@ -1588,6 +1783,12 @@ module Aws::BedrockAgent
1588
1783
  PromptFlowNodeSourceConfiguration.add_member_subclass(:unknown, Types::PromptFlowNodeSourceConfiguration::Unknown)
1589
1784
  PromptFlowNodeSourceConfiguration.struct_class = Types::PromptFlowNodeSourceConfiguration
1590
1785
 
1786
+ PromptGenAiResource.add_member(:agent, Shapes::ShapeRef.new(shape: PromptAgentResource, location_name: "agent"))
1787
+ PromptGenAiResource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1788
+ PromptGenAiResource.add_member_subclass(:agent, Types::PromptGenAiResource::Agent)
1789
+ PromptGenAiResource.add_member_subclass(:unknown, Types::PromptGenAiResource::Unknown)
1790
+ PromptGenAiResource.struct_class = Types::PromptGenAiResource
1791
+
1591
1792
  PromptInferenceConfiguration.add_member(:text, Shapes::ShapeRef.new(shape: PromptModelInferenceConfiguration, location_name: "text"))
1592
1793
  PromptInferenceConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1593
1794
  PromptInferenceConfiguration.add_member_subclass(:text, Types::PromptInferenceConfiguration::Text)
@@ -1626,13 +1827,16 @@ module Aws::BedrockAgent
1626
1827
  PromptSummary.add_member(:version, Shapes::ShapeRef.new(shape: Version, required: true, location_name: "version"))
1627
1828
  PromptSummary.struct_class = Types::PromptSummary
1628
1829
 
1830
+ PromptTemplateConfiguration.add_member(:chat, Shapes::ShapeRef.new(shape: ChatPromptTemplateConfiguration, location_name: "chat"))
1629
1831
  PromptTemplateConfiguration.add_member(:text, Shapes::ShapeRef.new(shape: TextPromptTemplateConfiguration, location_name: "text"))
1630
1832
  PromptTemplateConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1833
+ PromptTemplateConfiguration.add_member_subclass(:chat, Types::PromptTemplateConfiguration::Chat)
1631
1834
  PromptTemplateConfiguration.add_member_subclass(:text, Types::PromptTemplateConfiguration::Text)
1632
1835
  PromptTemplateConfiguration.add_member_subclass(:unknown, Types::PromptTemplateConfiguration::Unknown)
1633
1836
  PromptTemplateConfiguration.struct_class = Types::PromptTemplateConfiguration
1634
1837
 
1635
1838
  PromptVariant.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelRequestFields"))
1839
+ PromptVariant.add_member(:gen_ai_resource, Shapes::ShapeRef.new(shape: PromptGenAiResource, location_name: "genAiResource"))
1636
1840
  PromptVariant.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: PromptInferenceConfiguration, location_name: "inferenceConfiguration"))
1637
1841
  PromptVariant.add_member(:metadata, Shapes::ShapeRef.new(shape: PromptMetadataList, location_name: "metadata"))
1638
1842
  PromptVariant.add_member(:model_id, Shapes::ShapeRef.new(shape: PromptModelIdentifier, location_name: "modelId"))
@@ -1743,6 +1947,9 @@ module Aws::BedrockAgent
1743
1947
  SharePointSourceConfiguration.add_member(:tenant_id, Shapes::ShapeRef.new(shape: Microsoft365TenantId, location_name: "tenantId"))
1744
1948
  SharePointSourceConfiguration.struct_class = Types::SharePointSourceConfiguration
1745
1949
 
1950
+ SpecificToolChoice.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
1951
+ SpecificToolChoice.struct_class = Types::SpecificToolChoice
1952
+
1746
1953
  StartIngestionJobRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken"=>true}))
1747
1954
  StartIngestionJobRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "dataSourceId"))
1748
1955
  StartIngestionJobRequest.add_member(:description, Shapes::ShapeRef.new(shape: Description, location_name: "description"))
@@ -1782,6 +1989,14 @@ module Aws::BedrockAgent
1782
1989
  StorageFlowNodeServiceConfiguration.add_member_subclass(:unknown, Types::StorageFlowNodeServiceConfiguration::Unknown)
1783
1990
  StorageFlowNodeServiceConfiguration.struct_class = Types::StorageFlowNodeServiceConfiguration
1784
1991
 
1992
+ SystemContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "text"))
1993
+ SystemContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1994
+ SystemContentBlock.add_member_subclass(:text, Types::SystemContentBlock::Text)
1995
+ SystemContentBlock.add_member_subclass(:unknown, Types::SystemContentBlock::Unknown)
1996
+ SystemContentBlock.struct_class = Types::SystemContentBlock
1997
+
1998
+ SystemContentBlocks.member = Shapes::ShapeRef.new(shape: SystemContentBlock)
1999
+
1785
2000
  TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
1786
2001
 
1787
2002
  TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
@@ -1800,6 +2015,39 @@ module Aws::BedrockAgent
1800
2015
  ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1801
2016
  ThrottlingException.struct_class = Types::ThrottlingException
1802
2017
 
2018
+ Tool.add_member(:tool_spec, Shapes::ShapeRef.new(shape: ToolSpecification, location_name: "toolSpec"))
2019
+ Tool.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2020
+ Tool.add_member_subclass(:tool_spec, Types::Tool::ToolSpec)
2021
+ Tool.add_member_subclass(:unknown, Types::Tool::Unknown)
2022
+ Tool.struct_class = Types::Tool
2023
+
2024
+ ToolChoice.add_member(:any, Shapes::ShapeRef.new(shape: AnyToolChoice, location_name: "any"))
2025
+ ToolChoice.add_member(:auto, Shapes::ShapeRef.new(shape: AutoToolChoice, location_name: "auto"))
2026
+ ToolChoice.add_member(:tool, Shapes::ShapeRef.new(shape: SpecificToolChoice, location_name: "tool"))
2027
+ ToolChoice.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2028
+ ToolChoice.add_member_subclass(:any, Types::ToolChoice::Any)
2029
+ ToolChoice.add_member_subclass(:auto, Types::ToolChoice::Auto)
2030
+ ToolChoice.add_member_subclass(:tool, Types::ToolChoice::Tool)
2031
+ ToolChoice.add_member_subclass(:unknown, Types::ToolChoice::Unknown)
2032
+ ToolChoice.struct_class = Types::ToolChoice
2033
+
2034
+ ToolConfiguration.add_member(:tool_choice, Shapes::ShapeRef.new(shape: ToolChoice, location_name: "toolChoice"))
2035
+ ToolConfiguration.add_member(:tools, Shapes::ShapeRef.new(shape: ToolConfigurationToolsList, required: true, location_name: "tools"))
2036
+ ToolConfiguration.struct_class = Types::ToolConfiguration
2037
+
2038
+ ToolConfigurationToolsList.member = Shapes::ShapeRef.new(shape: Tool)
2039
+
2040
+ ToolInputSchema.add_member(:json, Shapes::ShapeRef.new(shape: Document, location_name: "json"))
2041
+ ToolInputSchema.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2042
+ ToolInputSchema.add_member_subclass(:json, Types::ToolInputSchema::Json)
2043
+ ToolInputSchema.add_member_subclass(:unknown, Types::ToolInputSchema::Unknown)
2044
+ ToolInputSchema.struct_class = Types::ToolInputSchema
2045
+
2046
+ ToolSpecification.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
2047
+ ToolSpecification.add_member(:input_schema, Shapes::ShapeRef.new(shape: ToolInputSchema, required: true, location_name: "inputSchema"))
2048
+ ToolSpecification.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
2049
+ ToolSpecification.struct_class = Types::ToolSpecification
2050
+
1803
2051
  Transformation.add_member(:step_to_apply, Shapes::ShapeRef.new(shape: StepType, required: true, location_name: "stepToApply"))
1804
2052
  Transformation.add_member(:transformation_function, Shapes::ShapeRef.new(shape: TransformationFunction, required: true, location_name: "transformationFunction"))
1805
2053
  Transformation.struct_class = Types::Transformation
@@ -1812,6 +2060,33 @@ module Aws::BedrockAgent
1812
2060
 
1813
2061
  Transformations.member = Shapes::ShapeRef.new(shape: Transformation)
1814
2062
 
2063
+ UnfulfilledNodeInputFlowValidationDetails.add_member(:input, Shapes::ShapeRef.new(shape: FlowNodeInputName, required: true, location_name: "input"))
2064
+ UnfulfilledNodeInputFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
2065
+ UnfulfilledNodeInputFlowValidationDetails.struct_class = Types::UnfulfilledNodeInputFlowValidationDetails
2066
+
2067
+ UnknownConnectionConditionFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
2068
+ UnknownConnectionConditionFlowValidationDetails.struct_class = Types::UnknownConnectionConditionFlowValidationDetails
2069
+
2070
+ UnknownConnectionSourceFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
2071
+ UnknownConnectionSourceFlowValidationDetails.struct_class = Types::UnknownConnectionSourceFlowValidationDetails
2072
+
2073
+ UnknownConnectionSourceOutputFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
2074
+ UnknownConnectionSourceOutputFlowValidationDetails.struct_class = Types::UnknownConnectionSourceOutputFlowValidationDetails
2075
+
2076
+ UnknownConnectionTargetFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
2077
+ UnknownConnectionTargetFlowValidationDetails.struct_class = Types::UnknownConnectionTargetFlowValidationDetails
2078
+
2079
+ UnknownConnectionTargetInputFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
2080
+ UnknownConnectionTargetInputFlowValidationDetails.struct_class = Types::UnknownConnectionTargetInputFlowValidationDetails
2081
+
2082
+ UnreachableNodeFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
2083
+ UnreachableNodeFlowValidationDetails.struct_class = Types::UnreachableNodeFlowValidationDetails
2084
+
2085
+ UnsatisfiedConnectionConditionsFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
2086
+ UnsatisfiedConnectionConditionsFlowValidationDetails.struct_class = Types::UnsatisfiedConnectionConditionsFlowValidationDetails
2087
+
2088
+ UnspecifiedFlowValidationDetails.struct_class = Types::UnspecifiedFlowValidationDetails
2089
+
1815
2090
  UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
1816
2091
  UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
1817
2092
  UntagResourceRequest.struct_class = Types::UntagResourceRequest
@@ -1954,6 +2229,12 @@ module Aws::BedrockAgent
1954
2229
  UrlConfiguration.add_member(:seed_urls, Shapes::ShapeRef.new(shape: SeedUrls, location_name: "seedUrls"))
1955
2230
  UrlConfiguration.struct_class = Types::UrlConfiguration
1956
2231
 
2232
+ ValidateFlowDefinitionRequest.add_member(:definition, Shapes::ShapeRef.new(shape: FlowDefinition, required: true, location_name: "definition"))
2233
+ ValidateFlowDefinitionRequest.struct_class = Types::ValidateFlowDefinitionRequest
2234
+
2235
+ ValidateFlowDefinitionResponse.add_member(:validations, Shapes::ShapeRef.new(shape: FlowValidations, required: true, location_name: "validations"))
2236
+ ValidateFlowDefinitionResponse.struct_class = Types::ValidateFlowDefinitionResponse
2237
+
1957
2238
  ValidationException.add_member(:field_list, Shapes::ShapeRef.new(shape: ValidationExceptionFieldList, location_name: "fieldList"))
1958
2239
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1959
2240
  ValidationException.struct_class = Types::ValidationException
@@ -2934,6 +3215,18 @@ module Aws::BedrockAgent
2934
3215
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2935
3216
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2936
3217
  end)
3218
+
3219
+ api.add_operation(:validate_flow_definition, Seahorse::Model::Operation.new.tap do |o|
3220
+ o.name = "ValidateFlowDefinition"
3221
+ o.http_method = "POST"
3222
+ o.http_request_uri = "/flows/validate-definition"
3223
+ o.input = Shapes::ShapeRef.new(shape: ValidateFlowDefinitionRequest)
3224
+ o.output = Shapes::ShapeRef.new(shape: ValidateFlowDefinitionResponse)
3225
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3226
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3227
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3228
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3229
+ end)
2937
3230
  end
2938
3231
 
2939
3232
  end