aws-sdk-bedrockruntime 1.63.0 → 1.71.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.
@@ -17,6 +17,7 @@ module Aws::BedrockRuntime
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
18
  AccountId = Shapes::StringShape.new(name: 'AccountId')
19
19
  AnyToolChoice = Shapes::StructureShape.new(name: 'AnyToolChoice')
20
+ AppliedGuardrailDetails = Shapes::StructureShape.new(name: 'AppliedGuardrailDetails')
20
21
  ApplyGuardrailRequest = Shapes::StructureShape.new(name: 'ApplyGuardrailRequest')
21
22
  ApplyGuardrailResponse = Shapes::StructureShape.new(name: 'ApplyGuardrailResponse')
22
23
  AsyncInvokeArn = Shapes::StringShape.new(name: 'AsyncInvokeArn')
@@ -28,6 +29,10 @@ module Aws::BedrockRuntime
28
29
  AsyncInvokeStatus = Shapes::StringShape.new(name: 'AsyncInvokeStatus')
29
30
  AsyncInvokeSummaries = Shapes::ListShape.new(name: 'AsyncInvokeSummaries')
30
31
  AsyncInvokeSummary = Shapes::StructureShape.new(name: 'AsyncInvokeSummary')
32
+ AudioBlock = Shapes::StructureShape.new(name: 'AudioBlock')
33
+ AudioFormat = Shapes::StringShape.new(name: 'AudioFormat')
34
+ AudioSource = Shapes::UnionShape.new(name: 'AudioSource')
35
+ AudioSourceBytesBlob = Shapes::BlobShape.new(name: 'AudioSourceBytesBlob')
31
36
  AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
32
37
  AutomatedReasoningRuleIdentifier = Shapes::StringShape.new(name: 'AutomatedReasoningRuleIdentifier')
33
38
  BidirectionalInputPayloadPart = Shapes::StructureShape.new(name: 'BidirectionalInputPayloadPart')
@@ -98,10 +103,12 @@ module Aws::BedrockRuntime
98
103
  DocumentPageLocationStartInteger = Shapes::IntegerShape.new(name: 'DocumentPageLocationStartInteger')
99
104
  DocumentSource = Shapes::UnionShape.new(name: 'DocumentSource')
100
105
  DocumentSourceBytesBlob = Shapes::BlobShape.new(name: 'DocumentSourceBytesBlob')
106
+ ErrorBlock = Shapes::StructureShape.new(name: 'ErrorBlock')
101
107
  FoundationModelVersionIdentifier = Shapes::StringShape.new(name: 'FoundationModelVersionIdentifier')
102
108
  GetAsyncInvokeRequest = Shapes::StructureShape.new(name: 'GetAsyncInvokeRequest')
103
109
  GetAsyncInvokeResponse = Shapes::StructureShape.new(name: 'GetAsyncInvokeResponse')
104
110
  GuardrailAction = Shapes::StringShape.new(name: 'GuardrailAction')
111
+ GuardrailArn = Shapes::StringShape.new(name: 'GuardrailArn')
105
112
  GuardrailAssessment = Shapes::StructureShape.new(name: 'GuardrailAssessment')
106
113
  GuardrailAssessmentList = Shapes::ListShape.new(name: 'GuardrailAssessmentList')
107
114
  GuardrailAssessmentListMap = Shapes::MapShape.new(name: 'GuardrailAssessmentListMap')
@@ -170,6 +177,7 @@ module Aws::BedrockRuntime
170
177
  GuardrailCoverage = Shapes::StructureShape.new(name: 'GuardrailCoverage')
171
178
  GuardrailCustomWord = Shapes::StructureShape.new(name: 'GuardrailCustomWord')
172
179
  GuardrailCustomWordList = Shapes::ListShape.new(name: 'GuardrailCustomWordList')
180
+ GuardrailId = Shapes::StringShape.new(name: 'GuardrailId')
173
181
  GuardrailIdentifier = Shapes::StringShape.new(name: 'GuardrailIdentifier')
174
182
  GuardrailImageBlock = Shapes::StructureShape.new(name: 'GuardrailImageBlock')
175
183
  GuardrailImageCoverage = Shapes::StructureShape.new(name: 'GuardrailImageCoverage')
@@ -180,10 +188,13 @@ module Aws::BedrockRuntime
180
188
  GuardrailManagedWord = Shapes::StructureShape.new(name: 'GuardrailManagedWord')
181
189
  GuardrailManagedWordList = Shapes::ListShape.new(name: 'GuardrailManagedWordList')
182
190
  GuardrailManagedWordType = Shapes::StringShape.new(name: 'GuardrailManagedWordType')
191
+ GuardrailOrigin = Shapes::StringShape.new(name: 'GuardrailOrigin')
192
+ GuardrailOriginList = Shapes::ListShape.new(name: 'GuardrailOriginList')
183
193
  GuardrailOutputContent = Shapes::StructureShape.new(name: 'GuardrailOutputContent')
184
194
  GuardrailOutputContentList = Shapes::ListShape.new(name: 'GuardrailOutputContentList')
185
195
  GuardrailOutputScope = Shapes::StringShape.new(name: 'GuardrailOutputScope')
186
196
  GuardrailOutputText = Shapes::StringShape.new(name: 'GuardrailOutputText')
197
+ GuardrailOwnership = Shapes::StringShape.new(name: 'GuardrailOwnership')
187
198
  GuardrailPiiEntityFilter = Shapes::StructureShape.new(name: 'GuardrailPiiEntityFilter')
188
199
  GuardrailPiiEntityFilterList = Shapes::ListShape.new(name: 'GuardrailPiiEntityFilterList')
189
200
  GuardrailPiiEntityType = Shapes::StringShape.new(name: 'GuardrailPiiEntityType')
@@ -212,6 +223,8 @@ module Aws::BedrockRuntime
212
223
  GuardrailWordPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailWordPolicyAssessment')
213
224
  GuardrailWordPolicyUnitsProcessed = Shapes::IntegerShape.new(name: 'GuardrailWordPolicyUnitsProcessed')
214
225
  ImageBlock = Shapes::StructureShape.new(name: 'ImageBlock')
226
+ ImageBlockDelta = Shapes::StructureShape.new(name: 'ImageBlockDelta')
227
+ ImageBlockStart = Shapes::StructureShape.new(name: 'ImageBlockStart')
215
228
  ImageFormat = Shapes::StringShape.new(name: 'ImageFormat')
216
229
  ImageSource = Shapes::UnionShape.new(name: 'ImageSource')
217
230
  ImageSourceBytesBlob = Shapes::BlobShape.new(name: 'ImageSourceBytesBlob')
@@ -273,7 +286,16 @@ module Aws::BedrockRuntime
273
286
  ResponseStream = Shapes::StructureShape.new(name: 'ResponseStream')
274
287
  S3Location = Shapes::StructureShape.new(name: 'S3Location')
275
288
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
289
+ SearchResultBlock = Shapes::StructureShape.new(name: 'SearchResultBlock')
290
+ SearchResultContentBlock = Shapes::StructureShape.new(name: 'SearchResultContentBlock')
291
+ SearchResultContentBlocks = Shapes::ListShape.new(name: 'SearchResultContentBlocks')
292
+ SearchResultLocation = Shapes::StructureShape.new(name: 'SearchResultLocation')
293
+ SearchResultLocationEndInteger = Shapes::IntegerShape.new(name: 'SearchResultLocationEndInteger')
294
+ SearchResultLocationSearchResultIndexInteger = Shapes::IntegerShape.new(name: 'SearchResultLocationSearchResultIndexInteger')
295
+ SearchResultLocationStartInteger = Shapes::IntegerShape.new(name: 'SearchResultLocationStartInteger')
276
296
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
297
+ ServiceTier = Shapes::StructureShape.new(name: 'ServiceTier')
298
+ ServiceTierType = Shapes::StringShape.new(name: 'ServiceTierType')
277
299
  ServiceUnavailableException = Shapes::StructureShape.new(name: 'ServiceUnavailableException')
278
300
  SortAsyncInvocationBy = Shapes::StringShape.new(name: 'SortAsyncInvocationBy')
279
301
  SortOrder = Shapes::StringShape.new(name: 'SortOrder')
@@ -332,6 +354,13 @@ module Aws::BedrockRuntime
332
354
 
333
355
  AnyToolChoice.struct_class = Types::AnyToolChoice
334
356
 
357
+ AppliedGuardrailDetails.add_member(:guardrail_id, Shapes::ShapeRef.new(shape: GuardrailId, location_name: "guardrailId"))
358
+ AppliedGuardrailDetails.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location_name: "guardrailVersion"))
359
+ AppliedGuardrailDetails.add_member(:guardrail_arn, Shapes::ShapeRef.new(shape: GuardrailArn, location_name: "guardrailArn"))
360
+ AppliedGuardrailDetails.add_member(:guardrail_origin, Shapes::ShapeRef.new(shape: GuardrailOriginList, location_name: "guardrailOrigin"))
361
+ AppliedGuardrailDetails.add_member(:guardrail_ownership, Shapes::ShapeRef.new(shape: GuardrailOwnership, location_name: "guardrailOwnership"))
362
+ AppliedGuardrailDetails.struct_class = Types::AppliedGuardrailDetails
363
+
335
364
  ApplyGuardrailRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location: "uri", location_name: "guardrailIdentifier"))
336
365
  ApplyGuardrailRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, required: true, location: "uri", location_name: "guardrailVersion"))
337
366
  ApplyGuardrailRequest.add_member(:source, Shapes::ShapeRef.new(shape: GuardrailContentSource, required: true, location_name: "source"))
@@ -371,6 +400,19 @@ module Aws::BedrockRuntime
371
400
  AsyncInvokeSummary.add_member(:output_data_config, Shapes::ShapeRef.new(shape: AsyncInvokeOutputDataConfig, required: true, location_name: "outputDataConfig"))
372
401
  AsyncInvokeSummary.struct_class = Types::AsyncInvokeSummary
373
402
 
403
+ AudioBlock.add_member(:format, Shapes::ShapeRef.new(shape: AudioFormat, required: true, location_name: "format"))
404
+ AudioBlock.add_member(:source, Shapes::ShapeRef.new(shape: AudioSource, required: true, location_name: "source"))
405
+ AudioBlock.add_member(:error, Shapes::ShapeRef.new(shape: ErrorBlock, location_name: "error"))
406
+ AudioBlock.struct_class = Types::AudioBlock
407
+
408
+ AudioSource.add_member(:bytes, Shapes::ShapeRef.new(shape: AudioSourceBytesBlob, location_name: "bytes"))
409
+ AudioSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
410
+ AudioSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
411
+ AudioSource.add_member_subclass(:bytes, Types::AudioSource::Bytes)
412
+ AudioSource.add_member_subclass(:s3_location, Types::AudioSource::S3Location)
413
+ AudioSource.add_member_subclass(:unknown, Types::AudioSource::Unknown)
414
+ AudioSource.struct_class = Types::AudioSource
415
+
374
416
  AutoToolChoice.struct_class = Types::AutoToolChoice
375
417
 
376
418
  BidirectionalInputPayloadPart.add_member(:bytes, Shapes::ShapeRef.new(shape: PartBody, location_name: "bytes"))
@@ -383,6 +425,7 @@ module Aws::BedrockRuntime
383
425
  CachePointBlock.struct_class = Types::CachePointBlock
384
426
 
385
427
  Citation.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
428
+ Citation.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "source"))
386
429
  Citation.add_member(:source_content, Shapes::ShapeRef.new(shape: CitationSourceContentList, location_name: "sourceContent"))
387
430
  Citation.add_member(:location, Shapes::ShapeRef.new(shape: CitationLocation, location_name: "location"))
388
431
  Citation.struct_class = Types::Citation
@@ -399,11 +442,13 @@ module Aws::BedrockRuntime
399
442
  CitationLocation.add_member(:document_char, Shapes::ShapeRef.new(shape: DocumentCharLocation, location_name: "documentChar"))
400
443
  CitationLocation.add_member(:document_page, Shapes::ShapeRef.new(shape: DocumentPageLocation, location_name: "documentPage"))
401
444
  CitationLocation.add_member(:document_chunk, Shapes::ShapeRef.new(shape: DocumentChunkLocation, location_name: "documentChunk"))
445
+ CitationLocation.add_member(:search_result_location, Shapes::ShapeRef.new(shape: SearchResultLocation, location_name: "searchResultLocation"))
402
446
  CitationLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
403
447
  CitationLocation.add_member_subclass(:web, Types::CitationLocation::Web)
404
448
  CitationLocation.add_member_subclass(:document_char, Types::CitationLocation::DocumentChar)
405
449
  CitationLocation.add_member_subclass(:document_page, Types::CitationLocation::DocumentPage)
406
450
  CitationLocation.add_member_subclass(:document_chunk, Types::CitationLocation::DocumentChunk)
451
+ CitationLocation.add_member_subclass(:search_result_location, Types::CitationLocation::SearchResultLocation)
407
452
  CitationLocation.add_member_subclass(:unknown, Types::CitationLocation::Unknown)
408
453
  CitationLocation.struct_class = Types::CitationLocation
409
454
 
@@ -430,6 +475,7 @@ module Aws::BedrockRuntime
430
475
  CitationsContentBlock.struct_class = Types::CitationsContentBlock
431
476
 
432
477
  CitationsDelta.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
478
+ CitationsDelta.add_member(:source, Shapes::ShapeRef.new(shape: String, location_name: "source"))
433
479
  CitationsDelta.add_member(:source_content, Shapes::ShapeRef.new(shape: CitationSourceContentListDelta, location_name: "sourceContent"))
434
480
  CitationsDelta.add_member(:location, Shapes::ShapeRef.new(shape: CitationLocation, location_name: "location"))
435
481
  CitationsDelta.struct_class = Types::CitationsDelta
@@ -441,23 +487,27 @@ module Aws::BedrockRuntime
441
487
  ContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
442
488
  ContentBlock.add_member(:document, Shapes::ShapeRef.new(shape: DocumentBlock, location_name: "document"))
443
489
  ContentBlock.add_member(:video, Shapes::ShapeRef.new(shape: VideoBlock, location_name: "video"))
490
+ ContentBlock.add_member(:audio, Shapes::ShapeRef.new(shape: AudioBlock, location_name: "audio"))
444
491
  ContentBlock.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlock, location_name: "toolUse"))
445
492
  ContentBlock.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlock, location_name: "toolResult"))
446
493
  ContentBlock.add_member(:guard_content, Shapes::ShapeRef.new(shape: GuardrailConverseContentBlock, location_name: "guardContent"))
447
494
  ContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
448
495
  ContentBlock.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
449
496
  ContentBlock.add_member(:citations_content, Shapes::ShapeRef.new(shape: CitationsContentBlock, location_name: "citationsContent"))
497
+ ContentBlock.add_member(:search_result, Shapes::ShapeRef.new(shape: SearchResultBlock, location_name: "searchResult"))
450
498
  ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
451
499
  ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
452
500
  ContentBlock.add_member_subclass(:image, Types::ContentBlock::Image)
453
501
  ContentBlock.add_member_subclass(:document, Types::ContentBlock::Document)
454
502
  ContentBlock.add_member_subclass(:video, Types::ContentBlock::Video)
503
+ ContentBlock.add_member_subclass(:audio, Types::ContentBlock::Audio)
455
504
  ContentBlock.add_member_subclass(:tool_use, Types::ContentBlock::ToolUse)
456
505
  ContentBlock.add_member_subclass(:tool_result, Types::ContentBlock::ToolResult)
457
506
  ContentBlock.add_member_subclass(:guard_content, Types::ContentBlock::GuardContent)
458
507
  ContentBlock.add_member_subclass(:cache_point, Types::ContentBlock::CachePoint)
459
508
  ContentBlock.add_member_subclass(:reasoning_content, Types::ContentBlock::ReasoningContent)
460
509
  ContentBlock.add_member_subclass(:citations_content, Types::ContentBlock::CitationsContent)
510
+ ContentBlock.add_member_subclass(:search_result, Types::ContentBlock::SearchResult)
461
511
  ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
462
512
  ContentBlock.struct_class = Types::ContentBlock
463
513
 
@@ -466,12 +516,14 @@ module Aws::BedrockRuntime
466
516
  ContentBlockDelta.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlocksDelta, location_name: "toolResult"))
467
517
  ContentBlockDelta.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlockDelta, location_name: "reasoningContent"))
468
518
  ContentBlockDelta.add_member(:citation, Shapes::ShapeRef.new(shape: CitationsDelta, location_name: "citation"))
519
+ ContentBlockDelta.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlockDelta, location_name: "image"))
469
520
  ContentBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
470
521
  ContentBlockDelta.add_member_subclass(:text, Types::ContentBlockDelta::Text)
471
522
  ContentBlockDelta.add_member_subclass(:tool_use, Types::ContentBlockDelta::ToolUse)
472
523
  ContentBlockDelta.add_member_subclass(:tool_result, Types::ContentBlockDelta::ToolResult)
473
524
  ContentBlockDelta.add_member_subclass(:reasoning_content, Types::ContentBlockDelta::ReasoningContent)
474
525
  ContentBlockDelta.add_member_subclass(:citation, Types::ContentBlockDelta::Citation)
526
+ ContentBlockDelta.add_member_subclass(:image, Types::ContentBlockDelta::Image)
475
527
  ContentBlockDelta.add_member_subclass(:unknown, Types::ContentBlockDelta::Unknown)
476
528
  ContentBlockDelta.struct_class = Types::ContentBlockDelta
477
529
 
@@ -481,9 +533,11 @@ module Aws::BedrockRuntime
481
533
 
482
534
  ContentBlockStart.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlockStart, location_name: "toolUse"))
483
535
  ContentBlockStart.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlockStart, location_name: "toolResult"))
536
+ ContentBlockStart.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlockStart, location_name: "image"))
484
537
  ContentBlockStart.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
485
538
  ContentBlockStart.add_member_subclass(:tool_use, Types::ContentBlockStart::ToolUse)
486
539
  ContentBlockStart.add_member_subclass(:tool_result, Types::ContentBlockStart::ToolResult)
540
+ ContentBlockStart.add_member_subclass(:image, Types::ContentBlockStart::Image)
487
541
  ContentBlockStart.add_member_subclass(:unknown, Types::ContentBlockStart::Unknown)
488
542
  ContentBlockStart.struct_class = Types::ContentBlockStart
489
543
 
@@ -516,6 +570,7 @@ module Aws::BedrockRuntime
516
570
  ConverseRequest.add_member(:additional_model_response_field_paths, Shapes::ShapeRef.new(shape: ConverseRequestAdditionalModelResponseFieldPathsList, location_name: "additionalModelResponseFieldPaths"))
517
571
  ConverseRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "requestMetadata"))
518
572
  ConverseRequest.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
573
+ ConverseRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
519
574
  ConverseRequest.struct_class = Types::ConverseRequest
520
575
 
521
576
  ConverseRequestAdditionalModelResponseFieldPathsList.member = Shapes::ShapeRef.new(shape: ConverseRequestAdditionalModelResponseFieldPathsListMemberString)
@@ -527,12 +582,14 @@ module Aws::BedrockRuntime
527
582
  ConverseResponse.add_member(:additional_model_response_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelResponseFields"))
528
583
  ConverseResponse.add_member(:trace, Shapes::ShapeRef.new(shape: ConverseTrace, location_name: "trace"))
529
584
  ConverseResponse.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
585
+ ConverseResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
530
586
  ConverseResponse.struct_class = Types::ConverseResponse
531
587
 
532
588
  ConverseStreamMetadataEvent.add_member(:usage, Shapes::ShapeRef.new(shape: TokenUsage, required: true, location_name: "usage"))
533
589
  ConverseStreamMetadataEvent.add_member(:metrics, Shapes::ShapeRef.new(shape: ConverseStreamMetrics, required: true, location_name: "metrics"))
534
590
  ConverseStreamMetadataEvent.add_member(:trace, Shapes::ShapeRef.new(shape: ConverseStreamTrace, location_name: "trace"))
535
591
  ConverseStreamMetadataEvent.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
592
+ ConverseStreamMetadataEvent.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
536
593
  ConverseStreamMetadataEvent.struct_class = Types::ConverseStreamMetadataEvent
537
594
 
538
595
  ConverseStreamMetrics.add_member(:latency_ms, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "latencyMs"))
@@ -562,6 +619,7 @@ module Aws::BedrockRuntime
562
619
  ConverseStreamRequest.add_member(:additional_model_response_field_paths, Shapes::ShapeRef.new(shape: ConverseStreamRequestAdditionalModelResponseFieldPathsList, location_name: "additionalModelResponseFieldPaths"))
563
620
  ConverseStreamRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadata, location_name: "requestMetadata"))
564
621
  ConverseStreamRequest.add_member(:performance_config, Shapes::ShapeRef.new(shape: PerformanceConfiguration, location_name: "performanceConfig"))
622
+ ConverseStreamRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTier, location_name: "serviceTier"))
565
623
  ConverseStreamRequest.struct_class = Types::ConverseStreamRequest
566
624
 
567
625
  ConverseStreamRequestAdditionalModelResponseFieldPathsList.member = Shapes::ShapeRef.new(shape: ConverseStreamRequestAdditionalModelResponseFieldPathsListMemberString)
@@ -577,6 +635,8 @@ module Aws::BedrockRuntime
577
635
 
578
636
  ConverseTokensRequest.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
579
637
  ConverseTokensRequest.add_member(:system, Shapes::ShapeRef.new(shape: SystemContentBlocks, location_name: "system"))
638
+ ConverseTokensRequest.add_member(:tool_config, Shapes::ShapeRef.new(shape: ToolConfiguration, location_name: "toolConfig"))
639
+ ConverseTokensRequest.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelRequestFields"))
580
640
  ConverseTokensRequest.struct_class = Types::ConverseTokensRequest
581
641
 
582
642
  ConverseTrace.add_member(:guardrail, Shapes::ShapeRef.new(shape: GuardrailTraceAssessment, location_name: "guardrail"))
@@ -640,6 +700,9 @@ module Aws::BedrockRuntime
640
700
  DocumentSource.add_member_subclass(:unknown, Types::DocumentSource::Unknown)
641
701
  DocumentSource.struct_class = Types::DocumentSource
642
702
 
703
+ ErrorBlock.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
704
+ ErrorBlock.struct_class = Types::ErrorBlock
705
+
643
706
  GetAsyncInvokeRequest.add_member(:invocation_arn, Shapes::ShapeRef.new(shape: InvocationArn, required: true, location: "uri", location_name: "invocationArn"))
644
707
  GetAsyncInvokeRequest.struct_class = Types::GetAsyncInvokeRequest
645
708
 
@@ -661,6 +724,7 @@ module Aws::BedrockRuntime
661
724
  GuardrailAssessment.add_member(:contextual_grounding_policy, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingPolicyAssessment, location_name: "contextualGroundingPolicy"))
662
725
  GuardrailAssessment.add_member(:automated_reasoning_policy, Shapes::ShapeRef.new(shape: GuardrailAutomatedReasoningPolicyAssessment, location_name: "automatedReasoningPolicy"))
663
726
  GuardrailAssessment.add_member(:invocation_metrics, Shapes::ShapeRef.new(shape: GuardrailInvocationMetrics, location_name: "invocationMetrics"))
727
+ GuardrailAssessment.add_member(:applied_guardrail_details, Shapes::ShapeRef.new(shape: AppliedGuardrailDetails, location_name: "appliedGuardrailDetails"))
664
728
  GuardrailAssessment.struct_class = Types::GuardrailAssessment
665
729
 
666
730
  GuardrailAssessmentList.member = Shapes::ShapeRef.new(shape: GuardrailAssessment)
@@ -765,8 +829,8 @@ module Aws::BedrockRuntime
765
829
  GuardrailAutomatedReasoningValidFinding.add_member(:logic_warning, Shapes::ShapeRef.new(shape: GuardrailAutomatedReasoningLogicWarning, location_name: "logicWarning"))
766
830
  GuardrailAutomatedReasoningValidFinding.struct_class = Types::GuardrailAutomatedReasoningValidFinding
767
831
 
768
- GuardrailConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location_name: "guardrailIdentifier"))
769
- GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, required: true, location_name: "guardrailVersion"))
832
+ GuardrailConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location_name: "guardrailIdentifier"))
833
+ GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location_name: "guardrailVersion"))
770
834
  GuardrailConfiguration.add_member(:trace, Shapes::ShapeRef.new(shape: GuardrailTrace, location_name: "trace"))
771
835
  GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
772
836
 
@@ -868,6 +932,8 @@ module Aws::BedrockRuntime
868
932
 
869
933
  GuardrailManagedWordList.member = Shapes::ShapeRef.new(shape: GuardrailManagedWord)
870
934
 
935
+ GuardrailOriginList.member = Shapes::ShapeRef.new(shape: GuardrailOrigin)
936
+
871
937
  GuardrailOutputContent.add_member(:text, Shapes::ShapeRef.new(shape: GuardrailOutputText, location_name: "text"))
872
938
  GuardrailOutputContent.struct_class = Types::GuardrailOutputContent
873
939
 
@@ -894,8 +960,8 @@ module Aws::BedrockRuntime
894
960
  GuardrailSensitiveInformationPolicyAssessment.add_member(:regexes, Shapes::ShapeRef.new(shape: GuardrailRegexFilterList, required: true, location_name: "regexes"))
895
961
  GuardrailSensitiveInformationPolicyAssessment.struct_class = Types::GuardrailSensitiveInformationPolicyAssessment
896
962
 
897
- GuardrailStreamConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, required: true, location_name: "guardrailIdentifier"))
898
- GuardrailStreamConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, required: true, location_name: "guardrailVersion"))
963
+ GuardrailStreamConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location_name: "guardrailIdentifier"))
964
+ GuardrailStreamConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location_name: "guardrailVersion"))
899
965
  GuardrailStreamConfiguration.add_member(:trace, Shapes::ShapeRef.new(shape: GuardrailTrace, location_name: "trace"))
900
966
  GuardrailStreamConfiguration.add_member(:stream_processing_mode, Shapes::ShapeRef.new(shape: GuardrailStreamProcessingMode, location_name: "streamProcessingMode"))
901
967
  GuardrailStreamConfiguration.struct_class = Types::GuardrailStreamConfiguration
@@ -942,8 +1008,16 @@ module Aws::BedrockRuntime
942
1008
 
943
1009
  ImageBlock.add_member(:format, Shapes::ShapeRef.new(shape: ImageFormat, required: true, location_name: "format"))
944
1010
  ImageBlock.add_member(:source, Shapes::ShapeRef.new(shape: ImageSource, required: true, location_name: "source"))
1011
+ ImageBlock.add_member(:error, Shapes::ShapeRef.new(shape: ErrorBlock, location_name: "error"))
945
1012
  ImageBlock.struct_class = Types::ImageBlock
946
1013
 
1014
+ ImageBlockDelta.add_member(:source, Shapes::ShapeRef.new(shape: ImageSource, location_name: "source"))
1015
+ ImageBlockDelta.add_member(:error, Shapes::ShapeRef.new(shape: ErrorBlock, location_name: "error"))
1016
+ ImageBlockDelta.struct_class = Types::ImageBlockDelta
1017
+
1018
+ ImageBlockStart.add_member(:format, Shapes::ShapeRef.new(shape: ImageFormat, required: true, location_name: "format"))
1019
+ ImageBlockStart.struct_class = Types::ImageBlockStart
1020
+
947
1021
  ImageSource.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageSourceBytesBlob, location_name: "bytes"))
948
1022
  ImageSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
949
1023
  ImageSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
@@ -971,6 +1045,7 @@ module Aws::BedrockRuntime
971
1045
  InvokeModelRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location: "header", location_name: "X-Amzn-Bedrock-GuardrailIdentifier"))
972
1046
  InvokeModelRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
973
1047
  InvokeModelRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1048
+ InvokeModelRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
974
1049
  InvokeModelRequest.struct_class = Types::InvokeModelRequest
975
1050
  InvokeModelRequest[:payload] = :body
976
1051
  InvokeModelRequest[:payload_member] = InvokeModelRequest.member(:body)
@@ -978,6 +1053,7 @@ module Aws::BedrockRuntime
978
1053
  InvokeModelResponse.add_member(:body, Shapes::ShapeRef.new(shape: Body, required: true, location_name: "body"))
979
1054
  InvokeModelResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "Content-Type"))
980
1055
  InvokeModelResponse.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1056
+ InvokeModelResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
981
1057
  InvokeModelResponse.struct_class = Types::InvokeModelResponse
982
1058
  InvokeModelResponse[:payload] = :body
983
1059
  InvokeModelResponse[:payload_member] = InvokeModelResponse.member(:body)
@@ -1016,6 +1092,7 @@ module Aws::BedrockRuntime
1016
1092
  InvokeModelWithResponseStreamRequest.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location: "header", location_name: "X-Amzn-Bedrock-GuardrailIdentifier"))
1017
1093
  InvokeModelWithResponseStreamRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
1018
1094
  InvokeModelWithResponseStreamRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1095
+ InvokeModelWithResponseStreamRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
1019
1096
  InvokeModelWithResponseStreamRequest.struct_class = Types::InvokeModelWithResponseStreamRequest
1020
1097
  InvokeModelWithResponseStreamRequest[:payload] = :body
1021
1098
  InvokeModelWithResponseStreamRequest[:payload_member] = InvokeModelWithResponseStreamRequest.member(:body)
@@ -1023,6 +1100,7 @@ module Aws::BedrockRuntime
1023
1100
  InvokeModelWithResponseStreamResponse.add_member(:body, Shapes::ShapeRef.new(shape: ResponseStream, required: true, eventstream: true, location_name: "body"))
1024
1101
  InvokeModelWithResponseStreamResponse.add_member(:content_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location: "header", location_name: "X-Amzn-Bedrock-Content-Type"))
1025
1102
  InvokeModelWithResponseStreamResponse.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
1103
+ InvokeModelWithResponseStreamResponse.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
1026
1104
  InvokeModelWithResponseStreamResponse.struct_class = Types::InvokeModelWithResponseStreamResponse
1027
1105
  InvokeModelWithResponseStreamResponse[:payload] = :body
1028
1106
  InvokeModelWithResponseStreamResponse[:payload_member] = InvokeModelWithResponseStreamResponse.member(:body)
@@ -1130,9 +1208,28 @@ module Aws::BedrockRuntime
1130
1208
  S3Location.add_member(:bucket_owner, Shapes::ShapeRef.new(shape: AccountId, location_name: "bucketOwner"))
1131
1209
  S3Location.struct_class = Types::S3Location
1132
1210
 
1211
+ SearchResultBlock.add_member(:source, Shapes::ShapeRef.new(shape: String, required: true, location_name: "source"))
1212
+ SearchResultBlock.add_member(:title, Shapes::ShapeRef.new(shape: String, required: true, location_name: "title"))
1213
+ SearchResultBlock.add_member(:content, Shapes::ShapeRef.new(shape: SearchResultContentBlocks, required: true, location_name: "content"))
1214
+ SearchResultBlock.add_member(:citations, Shapes::ShapeRef.new(shape: CitationsConfig, location_name: "citations"))
1215
+ SearchResultBlock.struct_class = Types::SearchResultBlock
1216
+
1217
+ SearchResultContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "text"))
1218
+ SearchResultContentBlock.struct_class = Types::SearchResultContentBlock
1219
+
1220
+ SearchResultContentBlocks.member = Shapes::ShapeRef.new(shape: SearchResultContentBlock)
1221
+
1222
+ SearchResultLocation.add_member(:search_result_index, Shapes::ShapeRef.new(shape: SearchResultLocationSearchResultIndexInteger, location_name: "searchResultIndex"))
1223
+ SearchResultLocation.add_member(:start, Shapes::ShapeRef.new(shape: SearchResultLocationStartInteger, location_name: "start"))
1224
+ SearchResultLocation.add_member(:end, Shapes::ShapeRef.new(shape: SearchResultLocationEndInteger, location_name: "end"))
1225
+ SearchResultLocation.struct_class = Types::SearchResultLocation
1226
+
1133
1227
  ServiceQuotaExceededException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1134
1228
  ServiceQuotaExceededException.struct_class = Types::ServiceQuotaExceededException
1135
1229
 
1230
+ ServiceTier.add_member(:type, Shapes::ShapeRef.new(shape: ServiceTierType, required: true, location_name: "type"))
1231
+ ServiceTier.struct_class = Types::ServiceTier
1232
+
1136
1233
  ServiceUnavailableException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
1137
1234
  ServiceUnavailableException.struct_class = Types::ServiceUnavailableException
1138
1235
 
@@ -1219,8 +1316,10 @@ module Aws::BedrockRuntime
1219
1316
  ToolResultBlock.struct_class = Types::ToolResultBlock
1220
1317
 
1221
1318
  ToolResultBlockDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
1319
+ ToolResultBlockDelta.add_member(:json, Shapes::ShapeRef.new(shape: Document, location_name: "json"))
1222
1320
  ToolResultBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1223
1321
  ToolResultBlockDelta.add_member_subclass(:text, Types::ToolResultBlockDelta::Text)
1322
+ ToolResultBlockDelta.add_member_subclass(:json, Types::ToolResultBlockDelta::Json)
1224
1323
  ToolResultBlockDelta.add_member_subclass(:unknown, Types::ToolResultBlockDelta::Unknown)
1225
1324
  ToolResultBlockDelta.struct_class = Types::ToolResultBlockDelta
1226
1325
 
@@ -1236,12 +1335,14 @@ module Aws::BedrockRuntime
1236
1335
  ToolResultContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
1237
1336
  ToolResultContentBlock.add_member(:document, Shapes::ShapeRef.new(shape: DocumentBlock, location_name: "document"))
1238
1337
  ToolResultContentBlock.add_member(:video, Shapes::ShapeRef.new(shape: VideoBlock, location_name: "video"))
1338
+ ToolResultContentBlock.add_member(:search_result, Shapes::ShapeRef.new(shape: SearchResultBlock, location_name: "searchResult"))
1239
1339
  ToolResultContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1240
1340
  ToolResultContentBlock.add_member_subclass(:json, Types::ToolResultContentBlock::Json)
1241
1341
  ToolResultContentBlock.add_member_subclass(:text, Types::ToolResultContentBlock::Text)
1242
1342
  ToolResultContentBlock.add_member_subclass(:image, Types::ToolResultContentBlock::Image)
1243
1343
  ToolResultContentBlock.add_member_subclass(:document, Types::ToolResultContentBlock::Document)
1244
1344
  ToolResultContentBlock.add_member_subclass(:video, Types::ToolResultContentBlock::Video)
1345
+ ToolResultContentBlock.add_member_subclass(:search_result, Types::ToolResultContentBlock::SearchResult)
1245
1346
  ToolResultContentBlock.add_member_subclass(:unknown, Types::ToolResultContentBlock::Unknown)
1246
1347
  ToolResultContentBlock.struct_class = Types::ToolResultContentBlock
1247
1348