aws-sdk-bedrockagentruntime 1.76.0 → 1.77.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.
@@ -43,6 +43,56 @@ module Aws::BedrockAgentRuntime
43
43
  AgentId = Shapes::StringShape.new(name: 'AgentId')
44
44
  AgentTraces = Shapes::ListShape.new(name: 'AgentTraces')
45
45
  AgentVersion = Shapes::StringShape.new(name: 'AgentVersion')
46
+ AgenticRetrieveAction = Shapes::StructureShape.new(name: 'AgenticRetrieveAction')
47
+ AgenticRetrieveActionDetails = Shapes::StructureShape.new(name: 'AgenticRetrieveActionDetails')
48
+ AgenticRetrieveActions = Shapes::ListShape.new(name: 'AgenticRetrieveActions')
49
+ AgenticRetrieveBedrockGuardrailConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveBedrockGuardrailConfiguration')
50
+ AgenticRetrieveBedrockGuardrailConfigurationGuardrailIdString = Shapes::StringShape.new(name: 'AgenticRetrieveBedrockGuardrailConfigurationGuardrailIdString')
51
+ AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString = Shapes::StringShape.new(name: 'AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString')
52
+ AgenticRetrieveBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveBedrockRerankingConfiguration')
53
+ AgenticRetrieveBedrockRerankingModelConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveBedrockRerankingModelConfiguration')
54
+ AgenticRetrieveCitation = Shapes::StructureShape.new(name: 'AgenticRetrieveCitation')
55
+ AgenticRetrieveCitationList = Shapes::ListShape.new(name: 'AgenticRetrieveCitationList')
56
+ AgenticRetrieveCitationReference = Shapes::StructureShape.new(name: 'AgenticRetrieveCitationReference')
57
+ AgenticRetrieveCitationReferenceList = Shapes::ListShape.new(name: 'AgenticRetrieveCitationReferenceList')
58
+ AgenticRetrieveConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveConfiguration')
59
+ AgenticRetrieveConfigurationMaxAgentIterationInteger = Shapes::IntegerShape.new(name: 'AgenticRetrieveConfigurationMaxAgentIterationInteger')
60
+ AgenticRetrieveFailure = Shapes::StructureShape.new(name: 'AgenticRetrieveFailure')
61
+ AgenticRetrieveFailures = Shapes::ListShape.new(name: 'AgenticRetrieveFailures')
62
+ AgenticRetrieveFullDocExpansionDetails = Shapes::StructureShape.new(name: 'AgenticRetrieveFullDocExpansionDetails')
63
+ AgenticRetrieveGeneratedResponse = Shapes::StructureShape.new(name: 'AgenticRetrieveGeneratedResponse')
64
+ AgenticRetrieveGuardrailWarning = Shapes::StructureShape.new(name: 'AgenticRetrieveGuardrailWarning')
65
+ AgenticRetrieveMessage = Shapes::StructureShape.new(name: 'AgenticRetrieveMessage')
66
+ AgenticRetrieveMessageContent = Shapes::StructureShape.new(name: 'AgenticRetrieveMessageContent')
67
+ AgenticRetrieveMetadata = Shapes::MapShape.new(name: 'AgenticRetrieveMetadata')
68
+ AgenticRetrievePolicyConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrievePolicyConfiguration')
69
+ AgenticRetrieveRerankingConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveRerankingConfiguration')
70
+ AgenticRetrieveRerankingConfigurationType = Shapes::StringShape.new(name: 'AgenticRetrieveRerankingConfigurationType')
71
+ AgenticRetrieveRerankingModelType = Shapes::StringShape.new(name: 'AgenticRetrieveRerankingModelType')
72
+ AgenticRetrieveResponseEvent = Shapes::StructureShape.new(name: 'AgenticRetrieveResponseEvent')
73
+ AgenticRetrieveResultEvent = Shapes::StructureShape.new(name: 'AgenticRetrieveResultEvent')
74
+ AgenticRetrieveResultItem = Shapes::StructureShape.new(name: 'AgenticRetrieveResultItem')
75
+ AgenticRetrieveResults = Shapes::ListShape.new(name: 'AgenticRetrieveResults')
76
+ AgenticRetrieveSourceMetadata = Shapes::StructureShape.new(name: 'AgenticRetrieveSourceMetadata')
77
+ AgenticRetrieveSourceMetadataList = Shapes::ListShape.new(name: 'AgenticRetrieveSourceMetadataList')
78
+ AgenticRetrieveSourceRetriever = Shapes::StructureShape.new(name: 'AgenticRetrieveSourceRetriever')
79
+ AgenticRetrieveSourceRetrieverList = Shapes::ListShape.new(name: 'AgenticRetrieveSourceRetrieverList')
80
+ AgenticRetrieveStatus = Shapes::StringShape.new(name: 'AgenticRetrieveStatus')
81
+ AgenticRetrieveStep = Shapes::StringShape.new(name: 'AgenticRetrieveStep')
82
+ AgenticRetrieveStreamRequest = Shapes::StructureShape.new(name: 'AgenticRetrieveStreamRequest')
83
+ AgenticRetrieveStreamRequestMessagesList = Shapes::ListShape.new(name: 'AgenticRetrieveStreamRequestMessagesList')
84
+ AgenticRetrieveStreamRequestRetrieversList = Shapes::ListShape.new(name: 'AgenticRetrieveStreamRequestRetrieversList')
85
+ AgenticRetrieveStreamResponse = Shapes::StructureShape.new(name: 'AgenticRetrieveStreamResponse')
86
+ AgenticRetrieveStreamResponseOutput = Shapes::StructureShape.new(name: 'AgenticRetrieveStreamResponseOutput')
87
+ AgenticRetrieveTraceEvent = Shapes::StructureShape.new(name: 'AgenticRetrieveTraceEvent')
88
+ AgenticRetrieveTraceEventAttributes = Shapes::StructureShape.new(name: 'AgenticRetrieveTraceEventAttributes')
89
+ AgenticRetrieveTraceResultItem = Shapes::StructureShape.new(name: 'AgenticRetrieveTraceResultItem')
90
+ AgenticRetrieveTraceResults = Shapes::ListShape.new(name: 'AgenticRetrieveTraceResults')
91
+ AgenticRetrieveType = Shapes::StringShape.new(name: 'AgenticRetrieveType')
92
+ AgenticRetrieveWarning = Shapes::UnionShape.new(name: 'AgenticRetrieveWarning')
93
+ AgenticRetrieveWarningMessage = Shapes::StructureShape.new(name: 'AgenticRetrieveWarningMessage')
94
+ AgenticRetrieveWarnings = Shapes::ListShape.new(name: 'AgenticRetrieveWarnings')
95
+ AgenticRetriever = Shapes::StructureShape.new(name: 'AgenticRetriever')
46
96
  AnalyzePromptEvent = Shapes::StructureShape.new(name: 'AnalyzePromptEvent')
47
97
  ApiContentMap = Shapes::MapShape.new(name: 'ApiContentMap')
48
98
  ApiInvocationInput = Shapes::StructureShape.new(name: 'ApiInvocationInput')
@@ -57,6 +107,8 @@ module Aws::BedrockAgentRuntime
57
107
  AudioSegmentS3UriString = Shapes::StringShape.new(name: 'AudioSegmentS3UriString')
58
108
  BadGatewayException = Shapes::StructureShape.new(name: 'BadGatewayException')
59
109
  BasePromptTemplate = Shapes::StringShape.new(name: 'BasePromptTemplate')
110
+ BedrockFoundationModelConfiguration = Shapes::StructureShape.new(name: 'BedrockFoundationModelConfiguration')
111
+ BedrockFoundationModelModelConfiguration = Shapes::StructureShape.new(name: 'BedrockFoundationModelModelConfiguration')
60
112
  BedrockModelArn = Shapes::StringShape.new(name: 'BedrockModelArn')
61
113
  BedrockModelConfigurations = Shapes::StructureShape.new(name: 'BedrockModelConfigurations')
62
114
  BedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'BedrockRerankingConfiguration')
@@ -102,6 +154,7 @@ module Aws::BedrockAgentRuntime
102
154
  CustomOrchestration = Shapes::StructureShape.new(name: 'CustomOrchestration')
103
155
  CustomOrchestrationTrace = Shapes::StructureShape.new(name: 'CustomOrchestrationTrace')
104
156
  CustomOrchestrationTraceEvent = Shapes::StructureShape.new(name: 'CustomOrchestrationTraceEvent')
157
+ DataSourceId = Shapes::StringShape.new(name: 'DataSourceId')
105
158
  DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
106
159
  DeleteAgentMemoryRequest = Shapes::StructureShape.new(name: 'DeleteAgentMemoryRequest')
107
160
  DeleteAgentMemoryResponse = Shapes::StructureShape.new(name: 'DeleteAgentMemoryResponse')
@@ -109,6 +162,8 @@ module Aws::BedrockAgentRuntime
109
162
  DeleteSessionResponse = Shapes::StructureShape.new(name: 'DeleteSessionResponse')
110
163
  DependencyFailedException = Shapes::StructureShape.new(name: 'DependencyFailedException')
111
164
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
165
+ DocumentId = Shapes::StringShape.new(name: 'DocumentId')
166
+ DocumentOutputFormat = Shapes::StringShape.new(name: 'DocumentOutputFormat')
112
167
  Double = Shapes::FloatShape.new(name: 'Double')
113
168
  EndSessionRequest = Shapes::StructureShape.new(name: 'EndSessionRequest')
114
169
  EndSessionResponse = Shapes::StructureShape.new(name: 'EndSessionResponse')
@@ -195,6 +250,9 @@ module Aws::BedrockAgentRuntime
195
250
  FlowTraceNodeOutputFields = Shapes::ListShape.new(name: 'FlowTraceNodeOutputFields')
196
251
  FlowTraceNodeOutputNext = Shapes::StructureShape.new(name: 'FlowTraceNodeOutputNext')
197
252
  FlowTraceNodeOutputNextList = Shapes::ListShape.new(name: 'FlowTraceNodeOutputNextList')
253
+ FoundationModelConfiguration = Shapes::StructureShape.new(name: 'FoundationModelConfiguration')
254
+ FoundationModelConfigurationType = Shapes::StringShape.new(name: 'FoundationModelConfigurationType')
255
+ FoundationModelType = Shapes::StringShape.new(name: 'FoundationModelType')
198
256
  Function = Shapes::StringShape.new(name: 'Function')
199
257
  FunctionDefinition = Shapes::StructureShape.new(name: 'FunctionDefinition')
200
258
  FunctionDescription = Shapes::StringShape.new(name: 'FunctionDescription')
@@ -213,6 +271,8 @@ module Aws::BedrockAgentRuntime
213
271
  GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
214
272
  GetAgentMemoryRequest = Shapes::StructureShape.new(name: 'GetAgentMemoryRequest')
215
273
  GetAgentMemoryResponse = Shapes::StructureShape.new(name: 'GetAgentMemoryResponse')
274
+ GetDocumentContentRequest = Shapes::StructureShape.new(name: 'GetDocumentContentRequest')
275
+ GetDocumentContentResponse = Shapes::StructureShape.new(name: 'GetDocumentContentResponse')
216
276
  GetExecutionFlowSnapshotRequest = Shapes::StructureShape.new(name: 'GetExecutionFlowSnapshotRequest')
217
277
  GetExecutionFlowSnapshotResponse = Shapes::StructureShape.new(name: 'GetExecutionFlowSnapshotResponse')
218
278
  GetFlowExecutionRequest = Shapes::StructureShape.new(name: 'GetFlowExecutionRequest')
@@ -314,6 +374,7 @@ module Aws::BedrockAgentRuntime
314
374
  KnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseConfiguration')
315
375
  KnowledgeBaseConfigurations = Shapes::ListShape.new(name: 'KnowledgeBaseConfigurations')
316
376
  KnowledgeBaseId = Shapes::StringShape.new(name: 'KnowledgeBaseId')
377
+ KnowledgeBaseIdentifier = Shapes::StringShape.new(name: 'KnowledgeBaseIdentifier')
317
378
  KnowledgeBaseLookupInput = Shapes::StructureShape.new(name: 'KnowledgeBaseLookupInput')
318
379
  KnowledgeBaseLookupInputString = Shapes::StringShape.new(name: 'KnowledgeBaseLookupInputString')
319
380
  KnowledgeBaseLookupOutput = Shapes::StructureShape.new(name: 'KnowledgeBaseLookupOutput')
@@ -324,6 +385,7 @@ module Aws::BedrockAgentRuntime
324
385
  KnowledgeBaseRetrievalResult = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrievalResult')
325
386
  KnowledgeBaseRetrievalResults = Shapes::ListShape.new(name: 'KnowledgeBaseRetrievalResults')
326
387
  KnowledgeBaseRetrieveAndGenerateConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieveAndGenerateConfiguration')
388
+ KnowledgeBaseRetrieverConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseRetrieverConfiguration')
327
389
  KnowledgeBaseVectorSearchConfiguration = Shapes::StructureShape.new(name: 'KnowledgeBaseVectorSearchConfiguration')
328
390
  KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger')
329
391
  KnowledgeBases = Shapes::ListShape.new(name: 'KnowledgeBases')
@@ -342,6 +404,13 @@ module Aws::BedrockAgentRuntime
342
404
  ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
343
405
  ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
344
406
  Long = Shapes::IntegerShape.new(name: 'Long')
407
+ ManagedSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'ManagedSearchBedrockRerankingConfiguration')
408
+ ManagedSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger = Shapes::IntegerShape.new(name: 'ManagedSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger')
409
+ ManagedSearchBedrockRerankingModelConfiguration = Shapes::StructureShape.new(name: 'ManagedSearchBedrockRerankingModelConfiguration')
410
+ ManagedSearchConfiguration = Shapes::StructureShape.new(name: 'ManagedSearchConfiguration')
411
+ ManagedSearchConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'ManagedSearchConfigurationNumberOfResultsInteger')
412
+ ManagedSearchRerankingConfiguration = Shapes::StructureShape.new(name: 'ManagedSearchRerankingConfiguration')
413
+ ManagedSearchRerankingConfigurationType = Shapes::StringShape.new(name: 'ManagedSearchRerankingConfigurationType')
345
414
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
346
415
  MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
347
416
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
@@ -422,6 +491,7 @@ module Aws::BedrockAgentRuntime
422
491
  PreProcessingModelInvocationOutput = Shapes::StructureShape.new(name: 'PreProcessingModelInvocationOutput')
423
492
  PreProcessingParsedResponse = Shapes::StructureShape.new(name: 'PreProcessingParsedResponse')
424
493
  PreProcessingTrace = Shapes::UnionShape.new(name: 'PreProcessingTrace')
494
+ PresignedUrl = Shapes::StringShape.new(name: 'PresignedUrl')
425
495
  PromptConfiguration = Shapes::StructureShape.new(name: 'PromptConfiguration')
426
496
  PromptConfigurations = Shapes::ListShape.new(name: 'PromptConfigurations')
427
497
  PromptCreationConfigurations = Shapes::StructureShape.new(name: 'PromptCreationConfigurations')
@@ -470,14 +540,18 @@ module Aws::BedrockAgentRuntime
470
540
  RerankingConfigurationType = Shapes::StringShape.new(name: 'RerankingConfigurationType')
471
541
  RerankingMetadataSelectionMode = Shapes::StringShape.new(name: 'RerankingMetadataSelectionMode')
472
542
  RerankingMetadataSelectiveModeConfiguration = Shapes::UnionShape.new(name: 'RerankingMetadataSelectiveModeConfiguration')
543
+ RerankingModelType = Shapes::StringShape.new(name: 'RerankingModelType')
473
544
  ResourceDescription = Shapes::StringShape.new(name: 'ResourceDescription')
474
545
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
475
546
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
476
547
  ResponseBody = Shapes::MapShape.new(name: 'ResponseBody')
477
548
  ResponseState = Shapes::StringShape.new(name: 'ResponseState')
478
549
  ResponseStream = Shapes::StructureShape.new(name: 'ResponseStream')
550
+ RetrievalContent = Shapes::StructureShape.new(name: 'RetrievalContent')
479
551
  RetrievalFilter = Shapes::UnionShape.new(name: 'RetrievalFilter')
480
552
  RetrievalFilterList = Shapes::ListShape.new(name: 'RetrievalFilterList')
553
+ RetrievalOverrides = Shapes::StructureShape.new(name: 'RetrievalOverrides')
554
+ RetrievalOverridesMaxNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'RetrievalOverridesMaxNumberOfResultsInteger')
481
555
  RetrievalResultConfluenceLocation = Shapes::StructureShape.new(name: 'RetrievalResultConfluenceLocation')
482
556
  RetrievalResultContent = Shapes::StructureShape.new(name: 'RetrievalResultContent')
483
557
  RetrievalResultContentColumn = Shapes::StructureShape.new(name: 'RetrievalResultContentColumn')
@@ -485,12 +559,14 @@ module Aws::BedrockAgentRuntime
485
559
  RetrievalResultContentRow = Shapes::ListShape.new(name: 'RetrievalResultContentRow')
486
560
  RetrievalResultContentType = Shapes::StringShape.new(name: 'RetrievalResultContentType')
487
561
  RetrievalResultCustomDocumentLocation = Shapes::StructureShape.new(name: 'RetrievalResultCustomDocumentLocation')
562
+ RetrievalResultGoogleDriveLocation = Shapes::StructureShape.new(name: 'RetrievalResultGoogleDriveLocation')
488
563
  RetrievalResultKendraDocumentLocation = Shapes::StructureShape.new(name: 'RetrievalResultKendraDocumentLocation')
489
564
  RetrievalResultLocation = Shapes::StructureShape.new(name: 'RetrievalResultLocation')
490
565
  RetrievalResultLocationType = Shapes::StringShape.new(name: 'RetrievalResultLocationType')
491
566
  RetrievalResultMetadata = Shapes::MapShape.new(name: 'RetrievalResultMetadata')
492
567
  RetrievalResultMetadataKey = Shapes::StringShape.new(name: 'RetrievalResultMetadataKey')
493
568
  RetrievalResultMetadataValue = Shapes::DocumentShape.new(name: 'RetrievalResultMetadataValue', document: true)
569
+ RetrievalResultOneDriveLocation = Shapes::StructureShape.new(name: 'RetrievalResultOneDriveLocation')
494
570
  RetrievalResultS3Location = Shapes::StructureShape.new(name: 'RetrievalResultS3Location')
495
571
  RetrievalResultSalesforceLocation = Shapes::StructureShape.new(name: 'RetrievalResultSalesforceLocation')
496
572
  RetrievalResultSharePointLocation = Shapes::StructureShape.new(name: 'RetrievalResultSharePointLocation')
@@ -512,6 +588,7 @@ module Aws::BedrockAgentRuntime
512
588
  RetrieveResponse = Shapes::StructureShape.new(name: 'RetrieveResponse')
513
589
  RetrievedReference = Shapes::StructureShape.new(name: 'RetrievedReference')
514
590
  RetrievedReferences = Shapes::ListShape.new(name: 'RetrievedReferences')
591
+ RetrieverConfiguration = Shapes::UnionShape.new(name: 'RetrieverConfiguration')
515
592
  ReturnControlInvocationResults = Shapes::ListShape.new(name: 'ReturnControlInvocationResults')
516
593
  ReturnControlPayload = Shapes::StructureShape.new(name: 'ReturnControlPayload')
517
594
  ReturnControlResults = Shapes::StructureShape.new(name: 'ReturnControlResults')
@@ -585,6 +662,7 @@ module Aws::BedrockAgentRuntime
585
662
  UpdateSessionRequest = Shapes::StructureShape.new(name: 'UpdateSessionRequest')
586
663
  UpdateSessionResponse = Shapes::StructureShape.new(name: 'UpdateSessionResponse')
587
664
  Usage = Shapes::StructureShape.new(name: 'Usage')
665
+ UserContext = Shapes::StructureShape.new(name: 'UserContext')
588
666
  Uuid = Shapes::StringShape.new(name: 'Uuid')
589
667
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
590
668
  VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
@@ -670,6 +748,178 @@ module Aws::BedrockAgentRuntime
670
748
 
671
749
  AgentTraces.member = Shapes::ShapeRef.new(shape: TracePart, event: true)
672
750
 
751
+ AgenticRetrieveAction.add_member(:full_document_expansion, Shapes::ShapeRef.new(shape: AgenticRetrieveFullDocExpansionDetails, location_name: "fullDocumentExpansion"))
752
+ AgenticRetrieveAction.add_member(:retrieve, Shapes::ShapeRef.new(shape: AgenticRetrieveActionDetails, location_name: "retrieve"))
753
+ AgenticRetrieveAction.struct_class = Types::AgenticRetrieveAction
754
+
755
+ AgenticRetrieveActionDetails.add_member(:input_query, Shapes::ShapeRef.new(shape: AgenticRetrieveMessageContent, required: true, location_name: "inputQuery"))
756
+ AgenticRetrieveActionDetails.add_member(:source_retrievers, Shapes::ShapeRef.new(shape: AgenticRetrieveSourceRetrieverList, required: true, location_name: "sourceRetrievers"))
757
+ AgenticRetrieveActionDetails.struct_class = Types::AgenticRetrieveActionDetails
758
+
759
+ AgenticRetrieveActions.member = Shapes::ShapeRef.new(shape: AgenticRetrieveAction)
760
+
761
+ AgenticRetrieveBedrockGuardrailConfiguration.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockGuardrailConfigurationGuardrailIdString, required: true, location_name: "guardrailId"))
762
+ AgenticRetrieveBedrockGuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockGuardrailConfigurationGuardrailVersionString, required: true, location_name: "guardrailVersion"))
763
+ AgenticRetrieveBedrockGuardrailConfiguration.struct_class = Types::AgenticRetrieveBedrockGuardrailConfiguration
764
+
765
+ AgenticRetrieveBedrockRerankingConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockRerankingModelConfiguration, required: true, location_name: "modelConfiguration"))
766
+ AgenticRetrieveBedrockRerankingConfiguration.struct_class = Types::AgenticRetrieveBedrockRerankingConfiguration
767
+
768
+ AgenticRetrieveBedrockRerankingModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
769
+ AgenticRetrieveBedrockRerankingModelConfiguration.struct_class = Types::AgenticRetrieveBedrockRerankingModelConfiguration
770
+
771
+ AgenticRetrieveCitation.add_member(:end_index, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "endIndex"))
772
+ AgenticRetrieveCitation.add_member(:references, Shapes::ShapeRef.new(shape: AgenticRetrieveCitationReferenceList, required: true, location_name: "references"))
773
+ AgenticRetrieveCitation.add_member(:start_index, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "startIndex"))
774
+ AgenticRetrieveCitation.struct_class = Types::AgenticRetrieveCitation
775
+
776
+ AgenticRetrieveCitationList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveCitation)
777
+
778
+ AgenticRetrieveCitationReference.add_member(:result_index, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "resultIndex"))
779
+ AgenticRetrieveCitationReference.struct_class = Types::AgenticRetrieveCitationReference
780
+
781
+ AgenticRetrieveCitationReferenceList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveCitationReference)
782
+
783
+ AgenticRetrieveConfiguration.add_member(:foundation_model_configuration, Shapes::ShapeRef.new(shape: FoundationModelConfiguration, location_name: "foundationModelConfiguration"))
784
+ AgenticRetrieveConfiguration.add_member(:foundation_model_type, Shapes::ShapeRef.new(shape: FoundationModelType, location_name: "foundationModelType"))
785
+ AgenticRetrieveConfiguration.add_member(:max_agent_iteration, Shapes::ShapeRef.new(shape: AgenticRetrieveConfigurationMaxAgentIterationInteger, location_name: "maxAgentIteration"))
786
+ AgenticRetrieveConfiguration.add_member(:reranking_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveRerankingConfiguration, location_name: "rerankingConfiguration"))
787
+ AgenticRetrieveConfiguration.add_member(:reranking_model_type, Shapes::ShapeRef.new(shape: AgenticRetrieveRerankingModelType, location_name: "rerankingModelType"))
788
+ AgenticRetrieveConfiguration.struct_class = Types::AgenticRetrieveConfiguration
789
+
790
+ AgenticRetrieveFailure.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
791
+ AgenticRetrieveFailure.struct_class = Types::AgenticRetrieveFailure
792
+
793
+ AgenticRetrieveFailures.member = Shapes::ShapeRef.new(shape: AgenticRetrieveFailure)
794
+
795
+ AgenticRetrieveFullDocExpansionDetails.add_member(:document_id, Shapes::ShapeRef.new(shape: String, location_name: "documentId"))
796
+ AgenticRetrieveFullDocExpansionDetails.add_member(:source_retriever, Shapes::ShapeRef.new(shape: AgenticRetrieveSourceRetriever, location_name: "sourceRetriever"))
797
+ AgenticRetrieveFullDocExpansionDetails.struct_class = Types::AgenticRetrieveFullDocExpansionDetails
798
+
799
+ AgenticRetrieveGeneratedResponse.add_member(:answer, Shapes::ShapeRef.new(shape: String, required: true, location_name: "answer"))
800
+ AgenticRetrieveGeneratedResponse.add_member(:citations, Shapes::ShapeRef.new(shape: AgenticRetrieveCitationList, location_name: "citations"))
801
+ AgenticRetrieveGeneratedResponse.struct_class = Types::AgenticRetrieveGeneratedResponse
802
+
803
+ AgenticRetrieveGuardrailWarning.add_member(:action, Shapes::ShapeRef.new(shape: GuardrailAction, required: true, location_name: "action"))
804
+ AgenticRetrieveGuardrailWarning.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
805
+ AgenticRetrieveGuardrailWarning.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
806
+ AgenticRetrieveGuardrailWarning.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
807
+ AgenticRetrieveGuardrailWarning.struct_class = Types::AgenticRetrieveGuardrailWarning
808
+
809
+ AgenticRetrieveMessage.add_member(:content, Shapes::ShapeRef.new(shape: AgenticRetrieveMessageContent, required: true, location_name: "content"))
810
+ AgenticRetrieveMessage.add_member(:role, Shapes::ShapeRef.new(shape: ConversationRole, required: true, location_name: "role"))
811
+ AgenticRetrieveMessage.struct_class = Types::AgenticRetrieveMessage
812
+
813
+ AgenticRetrieveMessageContent.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
814
+ AgenticRetrieveMessageContent.struct_class = Types::AgenticRetrieveMessageContent
815
+
816
+ AgenticRetrieveMetadata.key = Shapes::ShapeRef.new(shape: String)
817
+ AgenticRetrieveMetadata.value = Shapes::ShapeRef.new(shape: Document)
818
+
819
+ AgenticRetrievePolicyConfiguration.add_member(:bedrock_guardrail_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockGuardrailConfiguration, location_name: "bedrockGuardrailConfiguration"))
820
+ AgenticRetrievePolicyConfiguration.struct_class = Types::AgenticRetrievePolicyConfiguration
821
+
822
+ AgenticRetrieveRerankingConfiguration.add_member(:bedrock_reranking_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveBedrockRerankingConfiguration, location_name: "bedrockRerankingConfiguration"))
823
+ AgenticRetrieveRerankingConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: AgenticRetrieveRerankingConfigurationType, required: true, location_name: "type"))
824
+ AgenticRetrieveRerankingConfiguration.struct_class = Types::AgenticRetrieveRerankingConfiguration
825
+
826
+ AgenticRetrieveResponseEvent.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "text"))
827
+ AgenticRetrieveResponseEvent.struct_class = Types::AgenticRetrieveResponseEvent
828
+
829
+ AgenticRetrieveResultEvent.add_member(:generated_response, Shapes::ShapeRef.new(shape: AgenticRetrieveGeneratedResponse, location_name: "generatedResponse"))
830
+ AgenticRetrieveResultEvent.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
831
+ AgenticRetrieveResultEvent.add_member(:results, Shapes::ShapeRef.new(shape: AgenticRetrieveResults, required: true, location_name: "results"))
832
+ AgenticRetrieveResultEvent.struct_class = Types::AgenticRetrieveResultEvent
833
+
834
+ AgenticRetrieveResultItem.add_member(:content, Shapes::ShapeRef.new(shape: RetrievalContent, required: true, location_name: "content"))
835
+ AgenticRetrieveResultItem.add_member(:metadata, Shapes::ShapeRef.new(shape: AgenticRetrieveMetadata, location_name: "metadata"))
836
+ AgenticRetrieveResultItem.add_member(:source_retriever, Shapes::ShapeRef.new(shape: AgenticRetrieveSourceRetriever, required: true, location_name: "sourceRetriever"))
837
+ AgenticRetrieveResultItem.struct_class = Types::AgenticRetrieveResultItem
838
+
839
+ AgenticRetrieveResults.member = Shapes::ShapeRef.new(shape: AgenticRetrieveResultItem)
840
+
841
+ AgenticRetrieveSourceMetadata.add_member(:identifier, Shapes::ShapeRef.new(shape: String, location_name: "identifier"))
842
+ AgenticRetrieveSourceMetadata.add_member(:retrieval_type, Shapes::ShapeRef.new(shape: AgenticRetrieveType, location_name: "retrievalType"))
843
+ AgenticRetrieveSourceMetadata.struct_class = Types::AgenticRetrieveSourceMetadata
844
+
845
+ AgenticRetrieveSourceMetadataList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveSourceMetadata)
846
+
847
+ AgenticRetrieveSourceRetriever.add_member(:identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "identifier"))
848
+ AgenticRetrieveSourceRetriever.struct_class = Types::AgenticRetrieveSourceRetriever
849
+
850
+ AgenticRetrieveSourceRetrieverList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveSourceRetriever)
851
+
852
+ AgenticRetrieveStreamRequest.add_member(:agentic_retrieve_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveConfiguration, required: true, location_name: "agenticRetrieveConfiguration"))
853
+ AgenticRetrieveStreamRequest.add_member(:generate_response, Shapes::ShapeRef.new(shape: Boolean, location_name: "generateResponse"))
854
+ AgenticRetrieveStreamRequest.add_member(:messages, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequestMessagesList, required: true, location_name: "messages"))
855
+ AgenticRetrieveStreamRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
856
+ AgenticRetrieveStreamRequest.add_member(:policy_configuration, Shapes::ShapeRef.new(shape: AgenticRetrievePolicyConfiguration, location_name: "policyConfiguration"))
857
+ AgenticRetrieveStreamRequest.add_member(:retrievers, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequestRetrieversList, required: true, location_name: "retrievers"))
858
+ AgenticRetrieveStreamRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "userContext"))
859
+ AgenticRetrieveStreamRequest.struct_class = Types::AgenticRetrieveStreamRequest
860
+
861
+ AgenticRetrieveStreamRequestMessagesList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveMessage)
862
+
863
+ AgenticRetrieveStreamRequestRetrieversList.member = Shapes::ShapeRef.new(shape: AgenticRetriever)
864
+
865
+ AgenticRetrieveStreamResponse.add_member(:stream, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamResponseOutput, required: true, eventstream: true, location_name: "stream"))
866
+ AgenticRetrieveStreamResponse.struct_class = Types::AgenticRetrieveStreamResponse
867
+ AgenticRetrieveStreamResponse[:payload] = :stream
868
+ AgenticRetrieveStreamResponse[:payload_member] = AgenticRetrieveStreamResponse.member(:stream)
869
+
870
+ AgenticRetrieveStreamResponseOutput.add_member(:access_denied_exception, Shapes::ShapeRef.new(shape: AccessDeniedException, location_name: "accessDeniedException"))
871
+ AgenticRetrieveStreamResponseOutput.add_member(:bad_gateway_exception, Shapes::ShapeRef.new(shape: BadGatewayException, location_name: "badGatewayException"))
872
+ AgenticRetrieveStreamResponseOutput.add_member(:conflict_exception, Shapes::ShapeRef.new(shape: ConflictException, location_name: "conflictException"))
873
+ AgenticRetrieveStreamResponseOutput.add_member(:dependency_failed_exception, Shapes::ShapeRef.new(shape: DependencyFailedException, location_name: "dependencyFailedException"))
874
+ AgenticRetrieveStreamResponseOutput.add_member(:internal_server_exception, Shapes::ShapeRef.new(shape: InternalServerException, location_name: "internalServerException"))
875
+ AgenticRetrieveStreamResponseOutput.add_member(:resource_not_found_exception, Shapes::ShapeRef.new(shape: ResourceNotFoundException, location_name: "resourceNotFoundException"))
876
+ AgenticRetrieveStreamResponseOutput.add_member(:response_event, Shapes::ShapeRef.new(shape: AgenticRetrieveResponseEvent, event: true, location_name: "responseEvent"))
877
+ AgenticRetrieveStreamResponseOutput.add_member(:result, Shapes::ShapeRef.new(shape: AgenticRetrieveResultEvent, event: true, location_name: "result"))
878
+ AgenticRetrieveStreamResponseOutput.add_member(:service_quota_exceeded_exception, Shapes::ShapeRef.new(shape: ServiceQuotaExceededException, location_name: "serviceQuotaExceededException"))
879
+ AgenticRetrieveStreamResponseOutput.add_member(:throttling_exception, Shapes::ShapeRef.new(shape: ThrottlingException, location_name: "throttlingException"))
880
+ AgenticRetrieveStreamResponseOutput.add_member(:trace_event, Shapes::ShapeRef.new(shape: AgenticRetrieveTraceEvent, event: true, location_name: "traceEvent"))
881
+ AgenticRetrieveStreamResponseOutput.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
882
+ AgenticRetrieveStreamResponseOutput.struct_class = Types::AgenticRetrieveStreamResponseOutput
883
+
884
+ AgenticRetrieveTraceEvent.add_member(:attributes, Shapes::ShapeRef.new(shape: AgenticRetrieveTraceEventAttributes, required: true, location_name: "attributes"))
885
+ AgenticRetrieveTraceEvent.add_member(:id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "id"))
886
+ AgenticRetrieveTraceEvent.add_member(:timestamp, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "timestamp"))
887
+ AgenticRetrieveTraceEvent.struct_class = Types::AgenticRetrieveTraceEvent
888
+
889
+ AgenticRetrieveTraceEventAttributes.add_member(:actions, Shapes::ShapeRef.new(shape: AgenticRetrieveActions, location_name: "actions"))
890
+ AgenticRetrieveTraceEventAttributes.add_member(:failures, Shapes::ShapeRef.new(shape: AgenticRetrieveFailures, location_name: "failures"))
891
+ AgenticRetrieveTraceEventAttributes.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
892
+ AgenticRetrieveTraceEventAttributes.add_member(:retrieval_metadata, Shapes::ShapeRef.new(shape: AgenticRetrieveSourceMetadataList, location_name: "retrievalMetadata"))
893
+ AgenticRetrieveTraceEventAttributes.add_member(:retrieval_response, Shapes::ShapeRef.new(shape: AgenticRetrieveTraceResults, location_name: "retrievalResponse"))
894
+ AgenticRetrieveTraceEventAttributes.add_member(:status, Shapes::ShapeRef.new(shape: AgenticRetrieveStatus, required: true, location_name: "status"))
895
+ AgenticRetrieveTraceEventAttributes.add_member(:step, Shapes::ShapeRef.new(shape: AgenticRetrieveStep, required: true, location_name: "step"))
896
+ AgenticRetrieveTraceEventAttributes.add_member(:warnings, Shapes::ShapeRef.new(shape: AgenticRetrieveWarnings, location_name: "warnings"))
897
+ AgenticRetrieveTraceEventAttributes.struct_class = Types::AgenticRetrieveTraceEventAttributes
898
+
899
+ AgenticRetrieveTraceResultItem.add_member(:content, Shapes::ShapeRef.new(shape: RetrievalContent, location_name: "content"))
900
+ AgenticRetrieveTraceResultItem.add_member(:metadata, Shapes::ShapeRef.new(shape: AgenticRetrieveMetadata, location_name: "metadata"))
901
+ AgenticRetrieveTraceResultItem.add_member(:source_retriever, Shapes::ShapeRef.new(shape: AgenticRetrieveSourceRetriever, location_name: "sourceRetriever"))
902
+ AgenticRetrieveTraceResultItem.struct_class = Types::AgenticRetrieveTraceResultItem
903
+
904
+ AgenticRetrieveTraceResults.member = Shapes::ShapeRef.new(shape: AgenticRetrieveTraceResultItem)
905
+
906
+ AgenticRetrieveWarning.add_member(:guardrail, Shapes::ShapeRef.new(shape: AgenticRetrieveGuardrailWarning, location_name: "guardrail"))
907
+ AgenticRetrieveWarning.add_member(:message, Shapes::ShapeRef.new(shape: AgenticRetrieveWarningMessage, location_name: "message"))
908
+ AgenticRetrieveWarning.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
909
+ AgenticRetrieveWarning.add_member_subclass(:guardrail, Types::AgenticRetrieveWarning::Guardrail)
910
+ AgenticRetrieveWarning.add_member_subclass(:message, Types::AgenticRetrieveWarning::Message)
911
+ AgenticRetrieveWarning.add_member_subclass(:unknown, Types::AgenticRetrieveWarning::Unknown)
912
+ AgenticRetrieveWarning.struct_class = Types::AgenticRetrieveWarning
913
+
914
+ AgenticRetrieveWarningMessage.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
915
+ AgenticRetrieveWarningMessage.struct_class = Types::AgenticRetrieveWarningMessage
916
+
917
+ AgenticRetrieveWarnings.member = Shapes::ShapeRef.new(shape: AgenticRetrieveWarning)
918
+
919
+ AgenticRetriever.add_member(:configuration, Shapes::ShapeRef.new(shape: RetrieverConfiguration, required: true, location_name: "configuration"))
920
+ AgenticRetriever.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "description"))
921
+ AgenticRetriever.struct_class = Types::AgenticRetriever
922
+
673
923
  AnalyzePromptEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
674
924
  AnalyzePromptEvent.struct_class = Types::AnalyzePromptEvent
675
925
 
@@ -717,6 +967,12 @@ module Aws::BedrockAgentRuntime
717
967
  BadGatewayException.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "resourceName"))
718
968
  BadGatewayException.struct_class = Types::BadGatewayException
719
969
 
970
+ BedrockFoundationModelConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: BedrockFoundationModelModelConfiguration, required: true, location_name: "modelConfiguration"))
971
+ BedrockFoundationModelConfiguration.struct_class = Types::BedrockFoundationModelConfiguration
972
+
973
+ BedrockFoundationModelModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
974
+ BedrockFoundationModelModelConfiguration.struct_class = Types::BedrockFoundationModelModelConfiguration
975
+
720
976
  BedrockModelConfigurations.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
721
977
  BedrockModelConfigurations.struct_class = Types::BedrockModelConfigurations
722
978
 
@@ -1158,6 +1414,10 @@ module Aws::BedrockAgentRuntime
1158
1414
 
1159
1415
  FlowTraceNodeOutputNextList.member = Shapes::ShapeRef.new(shape: FlowTraceNodeOutputNext)
1160
1416
 
1417
+ FoundationModelConfiguration.add_member(:bedrock_foundation_model_configuration, Shapes::ShapeRef.new(shape: BedrockFoundationModelConfiguration, location_name: "bedrockFoundationModelConfiguration"))
1418
+ FoundationModelConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: FoundationModelConfigurationType, required: true, location_name: "type"))
1419
+ FoundationModelConfiguration.struct_class = Types::FoundationModelConfiguration
1420
+
1161
1421
  FunctionDefinition.add_member(:description, Shapes::ShapeRef.new(shape: FunctionDescription, location_name: "description"))
1162
1422
  FunctionDefinition.add_member(:name, Shapes::ShapeRef.new(shape: ResourceName, required: true, location_name: "name"))
1163
1423
  FunctionDefinition.add_member(:parameters, Shapes::ShapeRef.new(shape: ParameterMap, location_name: "parameters"))
@@ -1230,6 +1490,18 @@ module Aws::BedrockAgentRuntime
1230
1490
  GetAgentMemoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
1231
1491
  GetAgentMemoryResponse.struct_class = Types::GetAgentMemoryResponse
1232
1492
 
1493
+ GetDocumentContentRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location: "uri", location_name: "dataSourceId"))
1494
+ GetDocumentContentRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location: "uri", location_name: "documentId"))
1495
+ GetDocumentContentRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseIdentifier, required: true, location: "uri", location_name: "knowledgeBaseId"))
1496
+ GetDocumentContentRequest.add_member(:output_format, Shapes::ShapeRef.new(shape: DocumentOutputFormat, location_name: "outputFormat"))
1497
+ GetDocumentContentRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "userContext"))
1498
+ GetDocumentContentRequest.struct_class = Types::GetDocumentContentRequest
1499
+
1500
+ GetDocumentContentResponse.add_member(:document_content_length, Shapes::ShapeRef.new(shape: Long, location_name: "documentContentLength"))
1501
+ GetDocumentContentResponse.add_member(:mime_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "mimeType"))
1502
+ GetDocumentContentResponse.add_member(:presigned_url, Shapes::ShapeRef.new(shape: PresignedUrl, required: true, location_name: "presignedUrl"))
1503
+ GetDocumentContentResponse.struct_class = Types::GetDocumentContentResponse
1504
+
1233
1505
  GetExecutionFlowSnapshotRequest.add_member(:execution_identifier, Shapes::ShapeRef.new(shape: FlowExecutionIdentifier, required: true, location: "uri", location_name: "executionIdentifier"))
1234
1506
  GetExecutionFlowSnapshotRequest.add_member(:flow_alias_identifier, Shapes::ShapeRef.new(shape: FlowAliasIdentifier, required: true, location: "uri", location_name: "flowAliasIdentifier"))
1235
1507
  GetExecutionFlowSnapshotRequest.add_member(:flow_identifier, Shapes::ShapeRef.new(shape: FlowIdentifier, required: true, location: "uri", location_name: "flowIdentifier"))
@@ -1608,10 +1880,12 @@ module Aws::BedrockAgentRuntime
1608
1880
  KnowledgeBaseQuery.add_member(:type, Shapes::ShapeRef.new(shape: KnowledgeBaseQueryType, location_name: "type"))
1609
1881
  KnowledgeBaseQuery.struct_class = Types::KnowledgeBaseQuery
1610
1882
 
1611
- KnowledgeBaseRetrievalConfiguration.add_member(:vector_search_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseVectorSearchConfiguration, required: true, location_name: "vectorSearchConfiguration"))
1883
+ KnowledgeBaseRetrievalConfiguration.add_member(:managed_search_configuration, Shapes::ShapeRef.new(shape: ManagedSearchConfiguration, location_name: "managedSearchConfiguration"))
1884
+ KnowledgeBaseRetrievalConfiguration.add_member(:vector_search_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseVectorSearchConfiguration, location_name: "vectorSearchConfiguration"))
1612
1885
  KnowledgeBaseRetrievalConfiguration.struct_class = Types::KnowledgeBaseRetrievalConfiguration
1613
1886
 
1614
1887
  KnowledgeBaseRetrievalResult.add_member(:content, Shapes::ShapeRef.new(shape: RetrievalResultContent, required: true, location_name: "content"))
1888
+ KnowledgeBaseRetrievalResult.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, location_name: "documentId"))
1615
1889
  KnowledgeBaseRetrievalResult.add_member(:location, Shapes::ShapeRef.new(shape: RetrievalResultLocation, location_name: "location"))
1616
1890
  KnowledgeBaseRetrievalResult.add_member(:metadata, Shapes::ShapeRef.new(shape: RetrievalResultMetadata, location_name: "metadata"))
1617
1891
  KnowledgeBaseRetrievalResult.add_member(:score, Shapes::ShapeRef.new(shape: Double, location_name: "score"))
@@ -1626,6 +1900,10 @@ module Aws::BedrockAgentRuntime
1626
1900
  KnowledgeBaseRetrieveAndGenerateConfiguration.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, location_name: "retrievalConfiguration"))
1627
1901
  KnowledgeBaseRetrieveAndGenerateConfiguration.struct_class = Types::KnowledgeBaseRetrieveAndGenerateConfiguration
1628
1902
 
1903
+ KnowledgeBaseRetrieverConfiguration.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location_name: "knowledgeBaseId"))
1904
+ KnowledgeBaseRetrieverConfiguration.add_member(:retrieval_overrides, Shapes::ShapeRef.new(shape: RetrievalOverrides, location_name: "retrievalOverrides"))
1905
+ KnowledgeBaseRetrieverConfiguration.struct_class = Types::KnowledgeBaseRetrieverConfiguration
1906
+
1629
1907
  KnowledgeBaseVectorSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
1630
1908
  KnowledgeBaseVectorSearchConfiguration.add_member(:implicit_filter_configuration, Shapes::ShapeRef.new(shape: ImplicitFilterConfiguration, location_name: "implicitFilterConfiguration"))
1631
1909
  KnowledgeBaseVectorSearchConfiguration.add_member(:number_of_results, Shapes::ShapeRef.new(shape: KnowledgeBaseVectorSearchConfigurationNumberOfResultsInteger, location_name: "numberOfResults", metadata: {"box" => true}))
@@ -1690,6 +1968,25 @@ module Aws::BedrockAgentRuntime
1690
1968
  ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
1691
1969
  ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
1692
1970
 
1971
+ ManagedSearchBedrockRerankingConfiguration.add_member(:metadata_configuration, Shapes::ShapeRef.new(shape: MetadataConfigurationForReranking, location_name: "metadataConfiguration"))
1972
+ ManagedSearchBedrockRerankingConfiguration.add_member(:model_configuration, Shapes::ShapeRef.new(shape: ManagedSearchBedrockRerankingModelConfiguration, required: true, location_name: "modelConfiguration"))
1973
+ ManagedSearchBedrockRerankingConfiguration.add_member(:number_of_reranked_results, Shapes::ShapeRef.new(shape: ManagedSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger, location_name: "numberOfRerankedResults"))
1974
+ ManagedSearchBedrockRerankingConfiguration.struct_class = Types::ManagedSearchBedrockRerankingConfiguration
1975
+
1976
+ ManagedSearchBedrockRerankingModelConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: AdditionalModelRequestFields, location_name: "additionalModelRequestFields"))
1977
+ ManagedSearchBedrockRerankingModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockRerankingModelArn, required: true, location_name: "modelArn"))
1978
+ ManagedSearchBedrockRerankingModelConfiguration.struct_class = Types::ManagedSearchBedrockRerankingModelConfiguration
1979
+
1980
+ ManagedSearchConfiguration.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
1981
+ ManagedSearchConfiguration.add_member(:number_of_results, Shapes::ShapeRef.new(shape: ManagedSearchConfigurationNumberOfResultsInteger, location_name: "numberOfResults"))
1982
+ ManagedSearchConfiguration.add_member(:reranking_configuration, Shapes::ShapeRef.new(shape: ManagedSearchRerankingConfiguration, location_name: "rerankingConfiguration"))
1983
+ ManagedSearchConfiguration.add_member(:reranking_model_type, Shapes::ShapeRef.new(shape: RerankingModelType, location_name: "rerankingModelType"))
1984
+ ManagedSearchConfiguration.struct_class = Types::ManagedSearchConfiguration
1985
+
1986
+ ManagedSearchRerankingConfiguration.add_member(:bedrock_reranking_configuration, Shapes::ShapeRef.new(shape: ManagedSearchBedrockRerankingConfiguration, location_name: "bedrockRerankingConfiguration"))
1987
+ ManagedSearchRerankingConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: ManagedSearchRerankingConfigurationType, required: true, location_name: "type"))
1988
+ ManagedSearchRerankingConfiguration.struct_class = Types::ManagedSearchRerankingConfiguration
1989
+
1693
1990
  Memories.member = Shapes::ShapeRef.new(shape: Memory)
1694
1991
 
1695
1992
  Memory.add_member(:session_summary, Shapes::ShapeRef.new(shape: MemorySessionSummary, location_name: "sessionSummary"))
@@ -2108,6 +2405,11 @@ module Aws::BedrockAgentRuntime
2108
2405
  ResponseStream.add_member(:validation_exception, Shapes::ShapeRef.new(shape: ValidationException, location_name: "validationException"))
2109
2406
  ResponseStream.struct_class = Types::ResponseStream
2110
2407
 
2408
+ RetrievalContent.add_member(:byte_content, Shapes::ShapeRef.new(shape: Blob, location_name: "byteContent"))
2409
+ RetrievalContent.add_member(:mime_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location_name: "mimeType"))
2410
+ RetrievalContent.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
2411
+ RetrievalContent.struct_class = Types::RetrievalContent
2412
+
2111
2413
  RetrievalFilter.add_member(:and_all, Shapes::ShapeRef.new(shape: RetrievalFilterList, location_name: "andAll"))
2112
2414
  RetrievalFilter.add_member(:equals, Shapes::ShapeRef.new(shape: FilterAttribute, location_name: "equals"))
2113
2415
  RetrievalFilter.add_member(:greater_than, Shapes::ShapeRef.new(shape: FilterAttribute, location_name: "greaterThan"))
@@ -2140,6 +2442,10 @@ module Aws::BedrockAgentRuntime
2140
2442
 
2141
2443
  RetrievalFilterList.member = Shapes::ShapeRef.new(shape: RetrievalFilter)
2142
2444
 
2445
+ RetrievalOverrides.add_member(:filter, Shapes::ShapeRef.new(shape: RetrievalFilter, location_name: "filter"))
2446
+ RetrievalOverrides.add_member(:max_number_of_results, Shapes::ShapeRef.new(shape: RetrievalOverridesMaxNumberOfResultsInteger, location_name: "maxNumberOfResults"))
2447
+ RetrievalOverrides.struct_class = Types::RetrievalOverrides
2448
+
2143
2449
  RetrievalResultConfluenceLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
2144
2450
  RetrievalResultConfluenceLocation.struct_class = Types::RetrievalResultConfluenceLocation
2145
2451
 
@@ -2161,12 +2467,17 @@ module Aws::BedrockAgentRuntime
2161
2467
  RetrievalResultCustomDocumentLocation.add_member(:id, Shapes::ShapeRef.new(shape: String, location_name: "id"))
2162
2468
  RetrievalResultCustomDocumentLocation.struct_class = Types::RetrievalResultCustomDocumentLocation
2163
2469
 
2470
+ RetrievalResultGoogleDriveLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
2471
+ RetrievalResultGoogleDriveLocation.struct_class = Types::RetrievalResultGoogleDriveLocation
2472
+
2164
2473
  RetrievalResultKendraDocumentLocation.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
2165
2474
  RetrievalResultKendraDocumentLocation.struct_class = Types::RetrievalResultKendraDocumentLocation
2166
2475
 
2167
2476
  RetrievalResultLocation.add_member(:confluence_location, Shapes::ShapeRef.new(shape: RetrievalResultConfluenceLocation, location_name: "confluenceLocation"))
2168
2477
  RetrievalResultLocation.add_member(:custom_document_location, Shapes::ShapeRef.new(shape: RetrievalResultCustomDocumentLocation, location_name: "customDocumentLocation"))
2478
+ RetrievalResultLocation.add_member(:google_drive_location, Shapes::ShapeRef.new(shape: RetrievalResultGoogleDriveLocation, location_name: "googleDriveLocation"))
2169
2479
  RetrievalResultLocation.add_member(:kendra_document_location, Shapes::ShapeRef.new(shape: RetrievalResultKendraDocumentLocation, location_name: "kendraDocumentLocation"))
2480
+ RetrievalResultLocation.add_member(:one_drive_location, Shapes::ShapeRef.new(shape: RetrievalResultOneDriveLocation, location_name: "oneDriveLocation"))
2170
2481
  RetrievalResultLocation.add_member(:s3_location, Shapes::ShapeRef.new(shape: RetrievalResultS3Location, location_name: "s3Location"))
2171
2482
  RetrievalResultLocation.add_member(:salesforce_location, Shapes::ShapeRef.new(shape: RetrievalResultSalesforceLocation, location_name: "salesforceLocation"))
2172
2483
  RetrievalResultLocation.add_member(:share_point_location, Shapes::ShapeRef.new(shape: RetrievalResultSharePointLocation, location_name: "sharePointLocation"))
@@ -2178,6 +2489,9 @@ module Aws::BedrockAgentRuntime
2178
2489
  RetrievalResultMetadata.key = Shapes::ShapeRef.new(shape: RetrievalResultMetadataKey)
2179
2490
  RetrievalResultMetadata.value = Shapes::ShapeRef.new(shape: RetrievalResultMetadataValue)
2180
2491
 
2492
+ RetrievalResultOneDriveLocation.add_member(:url, Shapes::ShapeRef.new(shape: String, location_name: "url"))
2493
+ RetrievalResultOneDriveLocation.struct_class = Types::RetrievalResultOneDriveLocation
2494
+
2181
2495
  RetrievalResultS3Location.add_member(:uri, Shapes::ShapeRef.new(shape: String, location_name: "uri"))
2182
2496
  RetrievalResultS3Location.struct_class = Types::RetrievalResultS3Location
2183
2497
 
@@ -2211,6 +2525,7 @@ module Aws::BedrockAgentRuntime
2211
2525
  RetrieveAndGenerateRequest.add_member(:retrieve_and_generate_configuration, Shapes::ShapeRef.new(shape: RetrieveAndGenerateConfiguration, location_name: "retrieveAndGenerateConfiguration"))
2212
2526
  RetrieveAndGenerateRequest.add_member(:session_configuration, Shapes::ShapeRef.new(shape: RetrieveAndGenerateSessionConfiguration, location_name: "sessionConfiguration"))
2213
2527
  RetrieveAndGenerateRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
2528
+ RetrieveAndGenerateRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "userContext"))
2214
2529
  RetrieveAndGenerateRequest.struct_class = Types::RetrieveAndGenerateRequest
2215
2530
 
2216
2531
  RetrieveAndGenerateResponse.add_member(:citations, Shapes::ShapeRef.new(shape: Citations, location_name: "citations"))
@@ -2226,6 +2541,7 @@ module Aws::BedrockAgentRuntime
2226
2541
  RetrieveAndGenerateStreamRequest.add_member(:retrieve_and_generate_configuration, Shapes::ShapeRef.new(shape: RetrieveAndGenerateConfiguration, location_name: "retrieveAndGenerateConfiguration"))
2227
2542
  RetrieveAndGenerateStreamRequest.add_member(:session_configuration, Shapes::ShapeRef.new(shape: RetrieveAndGenerateSessionConfiguration, location_name: "sessionConfiguration"))
2228
2543
  RetrieveAndGenerateStreamRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
2544
+ RetrieveAndGenerateStreamRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "userContext"))
2229
2545
  RetrieveAndGenerateStreamRequest.struct_class = Types::RetrieveAndGenerateStreamRequest
2230
2546
 
2231
2547
  RetrieveAndGenerateStreamResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "header", location_name: "x-amzn-bedrock-knowledge-base-session-id"))
@@ -2249,10 +2565,11 @@ module Aws::BedrockAgentRuntime
2249
2565
  RetrieveAndGenerateStreamResponseOutput.struct_class = Types::RetrieveAndGenerateStreamResponseOutput
2250
2566
 
2251
2567
  RetrieveRequest.add_member(:guardrail_configuration, Shapes::ShapeRef.new(shape: GuardrailConfiguration, location_name: "guardrailConfiguration"))
2252
- RetrieveRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseId, required: true, location: "uri", location_name: "knowledgeBaseId"))
2568
+ RetrieveRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseIdentifier, required: true, location: "uri", location_name: "knowledgeBaseId"))
2253
2569
  RetrieveRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
2254
2570
  RetrieveRequest.add_member(:retrieval_configuration, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrievalConfiguration, location_name: "retrievalConfiguration"))
2255
2571
  RetrieveRequest.add_member(:retrieval_query, Shapes::ShapeRef.new(shape: KnowledgeBaseQuery, required: true, location_name: "retrievalQuery"))
2572
+ RetrieveRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, location_name: "userContext"))
2256
2573
  RetrieveRequest.struct_class = Types::RetrieveRequest
2257
2574
 
2258
2575
  RetrieveResponse.add_member(:guardrail_action, Shapes::ShapeRef.new(shape: GuadrailAction, location_name: "guardrailAction"))
@@ -2267,6 +2584,12 @@ module Aws::BedrockAgentRuntime
2267
2584
 
2268
2585
  RetrievedReferences.member = Shapes::ShapeRef.new(shape: RetrievedReference)
2269
2586
 
2587
+ RetrieverConfiguration.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseRetrieverConfiguration, location_name: "knowledgeBase"))
2588
+ RetrieverConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2589
+ RetrieverConfiguration.add_member_subclass(:knowledge_base, Types::RetrieverConfiguration::KnowledgeBase)
2590
+ RetrieverConfiguration.add_member_subclass(:unknown, Types::RetrieverConfiguration::Unknown)
2591
+ RetrieverConfiguration.struct_class = Types::RetrieverConfiguration
2592
+
2270
2593
  ReturnControlInvocationResults.member = Shapes::ShapeRef.new(shape: InvocationResultMember)
2271
2594
 
2272
2595
  ReturnControlPayload.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
@@ -2461,6 +2784,9 @@ module Aws::BedrockAgentRuntime
2461
2784
  Usage.add_member(:output_tokens, Shapes::ShapeRef.new(shape: Integer, location_name: "outputTokens"))
2462
2785
  Usage.struct_class = Types::Usage
2463
2786
 
2787
+ UserContext.add_member(:user_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "userId"))
2788
+ UserContext.struct_class = Types::UserContext
2789
+
2464
2790
  ValidationException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
2465
2791
  ValidationException.struct_class = Types::ValidationException
2466
2792
 
@@ -2501,6 +2827,23 @@ module Aws::BedrockAgentRuntime
2501
2827
  "uid" => "bedrock-agent-runtime-2023-07-26",
2502
2828
  }
2503
2829
 
2830
+ api.add_operation(:agentic_retrieve_stream, Seahorse::Model::Operation.new.tap do |o|
2831
+ o.name = "AgenticRetrieveStream"
2832
+ o.http_method = "POST"
2833
+ o.http_request_uri = "/agenticRetrieveStream"
2834
+ o.input = Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequest)
2835
+ o.output = Shapes::ShapeRef.new(shape: AgenticRetrieveStreamResponse)
2836
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2837
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
2838
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2839
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2840
+ o.errors << Shapes::ShapeRef.new(shape: DependencyFailedException)
2841
+ o.errors << Shapes::ShapeRef.new(shape: BadGatewayException)
2842
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2843
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2844
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
2845
+ end)
2846
+
2504
2847
  api.add_operation(:create_invocation, Seahorse::Model::Operation.new.tap do |o|
2505
2848
  o.name = "CreateInvocation"
2506
2849
  o.http_method = "PUT"
@@ -2615,6 +2958,19 @@ module Aws::BedrockAgentRuntime
2615
2958
  )
2616
2959
  end)
2617
2960
 
2961
+ api.add_operation(:get_document_content, Seahorse::Model::Operation.new.tap do |o|
2962
+ o.name = "GetDocumentContent"
2963
+ o.http_method = "POST"
2964
+ o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/documents/{documentId}/content"
2965
+ o.input = Shapes::ShapeRef.new(shape: GetDocumentContentRequest)
2966
+ o.output = Shapes::ShapeRef.new(shape: GetDocumentContentResponse)
2967
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2968
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
2969
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2970
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2971
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2972
+ end)
2973
+
2618
2974
  api.add_operation(:get_execution_flow_snapshot, Seahorse::Model::Operation.new.tap do |o|
2619
2975
  o.name = "GetExecutionFlowSnapshot"
2620
2976
  o.http_method = "GET"