aws-sdk-bedrockruntime 1.49.0 → 1.50.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f165e6253728f382c2162b5cccdcdb79433dd8766db738f81df355eacff3cb09
4
- data.tar.gz: 2f5e9cffc3781fedbb9db5242d2428da7ed0aacdffafc40d62b13cd013290d07
3
+ metadata.gz: 9b2a79ff075e20f667fcb6f6225e1d74ada40960d4e74c6c38493ceba9f9cc30
4
+ data.tar.gz: 376c488673fd6cd3b15bb406177e0f97096dc34945b66e601f4b203990749d84
5
5
  SHA512:
6
- metadata.gz: 129d5d6bdb7ec609cf2c6fd48f6d2bf8be5c398443687234c55510394712812ad591a5eed2c0e9e72769219c0f7c3ba1c0cbdc5145e8640045a112a86be11a48
7
- data.tar.gz: cc1e9f9c7eb25c1549b74df2d46199a2242d65c68c114398ddc0dd6e08488923fd6590c546826c6e15410156a543dbea4ee72dbf19e65159696608c6de3d4600
6
+ metadata.gz: 783dcd8c3a4779d0a6973ac5b2b782308cdffeef07b35c04daef5315a61f8b37faab93bf01bf2ee2cb19ee88007ee8c3309439225696b00568a370e8776e848c
7
+ data.tar.gz: fbb5bfea0b5626ad3ec487b3a9145e62cef2af940f36ca6e5ed9a3c59b36ea024be0e5430a23a23096ca1cdfea65525ed5732218725cccbd0146e4e6d7372679
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.50.0 (2025-06-30)
5
+ ------------------
6
+
7
+ * Feature - Add API Key and document citations support for Bedrock Runtime APIs
8
+
4
9
  1.49.0 (2025-06-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.49.0
1
+ 1.50.0
@@ -612,7 +612,7 @@ module Aws::BedrockRuntime
612
612
  tracer: tracer
613
613
  )
614
614
  context[:gem_name] = 'aws-sdk-bedrockruntime'
615
- context[:gem_version] = '1.49.0'
615
+ context[:gem_version] = '1.50.0'
616
616
  Seahorse::Client::Request.new(handlers, context)
617
617
  end
618
618
 
@@ -824,7 +824,7 @@ module Aws::BedrockRuntime
824
824
  # },
825
825
  # },
826
826
  # document: {
827
- # format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
827
+ # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
828
828
  # name: "DocumentBlockNameString", # required
829
829
  # source: { # required
830
830
  # bytes: "data",
@@ -832,6 +832,16 @@ module Aws::BedrockRuntime
832
832
  # uri: "S3Uri", # required
833
833
  # bucket_owner: "AccountId",
834
834
  # },
835
+ # text: "String",
836
+ # content: [
837
+ # {
838
+ # text: "String",
839
+ # },
840
+ # ],
841
+ # },
842
+ # context: "String",
843
+ # citations: {
844
+ # enabled: false, # required
835
845
  # },
836
846
  # },
837
847
  # video: {
@@ -868,7 +878,7 @@ module Aws::BedrockRuntime
868
878
  # },
869
879
  # },
870
880
  # document: {
871
- # format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
881
+ # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
872
882
  # name: "DocumentBlockNameString", # required
873
883
  # source: { # required
874
884
  # bytes: "data",
@@ -876,6 +886,16 @@ module Aws::BedrockRuntime
876
886
  # uri: "S3Uri", # required
877
887
  # bucket_owner: "AccountId",
878
888
  # },
889
+ # text: "String",
890
+ # content: [
891
+ # {
892
+ # text: "String",
893
+ # },
894
+ # ],
895
+ # },
896
+ # context: "String",
897
+ # citations: {
898
+ # enabled: false, # required
879
899
  # },
880
900
  # },
881
901
  # video: {
@@ -914,6 +934,40 @@ module Aws::BedrockRuntime
914
934
  # },
915
935
  # redacted_content: "data",
916
936
  # },
937
+ # citations_content: {
938
+ # content: [
939
+ # {
940
+ # text: "String",
941
+ # },
942
+ # ],
943
+ # citations: [
944
+ # {
945
+ # title: "String",
946
+ # source_content: [
947
+ # {
948
+ # text: "String",
949
+ # },
950
+ # ],
951
+ # location: {
952
+ # document_char: {
953
+ # document_index: 1,
954
+ # start: 1,
955
+ # end: 1,
956
+ # },
957
+ # document_page: {
958
+ # document_index: 1,
959
+ # start: 1,
960
+ # end: 1,
961
+ # },
962
+ # document_chunk: {
963
+ # document_index: 1,
964
+ # start: 1,
965
+ # end: 1,
966
+ # },
967
+ # },
968
+ # },
969
+ # ],
970
+ # },
917
971
  # },
918
972
  # ],
919
973
  # },
@@ -1005,6 +1059,11 @@ module Aws::BedrockRuntime
1005
1059
  # resp.output.message.content[0].document.source.bytes #=> String
1006
1060
  # resp.output.message.content[0].document.source.s3_location.uri #=> String
1007
1061
  # resp.output.message.content[0].document.source.s3_location.bucket_owner #=> String
1062
+ # resp.output.message.content[0].document.source.text #=> String
1063
+ # resp.output.message.content[0].document.source.content #=> Array
1064
+ # resp.output.message.content[0].document.source.content[0].text #=> String
1065
+ # resp.output.message.content[0].document.context #=> String
1066
+ # resp.output.message.content[0].document.citations.enabled #=> Boolean
1008
1067
  # resp.output.message.content[0].video.format #=> String, one of "mkv", "mov", "mp4", "webm", "flv", "mpeg", "mpg", "wmv", "three_gp"
1009
1068
  # resp.output.message.content[0].video.source.bytes #=> String
1010
1069
  # resp.output.message.content[0].video.source.s3_location.uri #=> String
@@ -1023,6 +1082,11 @@ module Aws::BedrockRuntime
1023
1082
  # resp.output.message.content[0].tool_result.content[0].document.source.bytes #=> String
1024
1083
  # resp.output.message.content[0].tool_result.content[0].document.source.s3_location.uri #=> String
1025
1084
  # resp.output.message.content[0].tool_result.content[0].document.source.s3_location.bucket_owner #=> String
1085
+ # resp.output.message.content[0].tool_result.content[0].document.source.text #=> String
1086
+ # resp.output.message.content[0].tool_result.content[0].document.source.content #=> Array
1087
+ # resp.output.message.content[0].tool_result.content[0].document.source.content[0].text #=> String
1088
+ # resp.output.message.content[0].tool_result.content[0].document.context #=> String
1089
+ # resp.output.message.content[0].tool_result.content[0].document.citations.enabled #=> Boolean
1026
1090
  # resp.output.message.content[0].tool_result.content[0].video.format #=> String, one of "mkv", "mov", "mp4", "webm", "flv", "mpeg", "mpg", "wmv", "three_gp"
1027
1091
  # resp.output.message.content[0].tool_result.content[0].video.source.bytes #=> String
1028
1092
  # resp.output.message.content[0].tool_result.content[0].video.source.s3_location.uri #=> String
@@ -1037,6 +1101,21 @@ module Aws::BedrockRuntime
1037
1101
  # resp.output.message.content[0].reasoning_content.reasoning_text.text #=> String
1038
1102
  # resp.output.message.content[0].reasoning_content.reasoning_text.signature #=> String
1039
1103
  # resp.output.message.content[0].reasoning_content.redacted_content #=> String
1104
+ # resp.output.message.content[0].citations_content.content #=> Array
1105
+ # resp.output.message.content[0].citations_content.content[0].text #=> String
1106
+ # resp.output.message.content[0].citations_content.citations #=> Array
1107
+ # resp.output.message.content[0].citations_content.citations[0].title #=> String
1108
+ # resp.output.message.content[0].citations_content.citations[0].source_content #=> Array
1109
+ # resp.output.message.content[0].citations_content.citations[0].source_content[0].text #=> String
1110
+ # resp.output.message.content[0].citations_content.citations[0].location.document_char.document_index #=> Integer
1111
+ # resp.output.message.content[0].citations_content.citations[0].location.document_char.start #=> Integer
1112
+ # resp.output.message.content[0].citations_content.citations[0].location.document_char.end #=> Integer
1113
+ # resp.output.message.content[0].citations_content.citations[0].location.document_page.document_index #=> Integer
1114
+ # resp.output.message.content[0].citations_content.citations[0].location.document_page.start #=> Integer
1115
+ # resp.output.message.content[0].citations_content.citations[0].location.document_page.end #=> Integer
1116
+ # resp.output.message.content[0].citations_content.citations[0].location.document_chunk.document_index #=> Integer
1117
+ # resp.output.message.content[0].citations_content.citations[0].location.document_chunk.start #=> Integer
1118
+ # resp.output.message.content[0].citations_content.citations[0].location.document_chunk.end #=> Integer
1040
1119
  # resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered"
1041
1120
  # resp.usage.input_tokens #=> Integer
1042
1121
  # resp.usage.output_tokens #=> Integer
@@ -1547,7 +1626,7 @@ module Aws::BedrockRuntime
1547
1626
  # },
1548
1627
  # },
1549
1628
  # document: {
1550
- # format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
1629
+ # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
1551
1630
  # name: "DocumentBlockNameString", # required
1552
1631
  # source: { # required
1553
1632
  # bytes: "data",
@@ -1555,6 +1634,16 @@ module Aws::BedrockRuntime
1555
1634
  # uri: "S3Uri", # required
1556
1635
  # bucket_owner: "AccountId",
1557
1636
  # },
1637
+ # text: "String",
1638
+ # content: [
1639
+ # {
1640
+ # text: "String",
1641
+ # },
1642
+ # ],
1643
+ # },
1644
+ # context: "String",
1645
+ # citations: {
1646
+ # enabled: false, # required
1558
1647
  # },
1559
1648
  # },
1560
1649
  # video: {
@@ -1591,7 +1680,7 @@ module Aws::BedrockRuntime
1591
1680
  # },
1592
1681
  # },
1593
1682
  # document: {
1594
- # format: "pdf", # required, accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
1683
+ # format: "pdf", # accepts pdf, csv, doc, docx, xls, xlsx, html, txt, md
1595
1684
  # name: "DocumentBlockNameString", # required
1596
1685
  # source: { # required
1597
1686
  # bytes: "data",
@@ -1599,6 +1688,16 @@ module Aws::BedrockRuntime
1599
1688
  # uri: "S3Uri", # required
1600
1689
  # bucket_owner: "AccountId",
1601
1690
  # },
1691
+ # text: "String",
1692
+ # content: [
1693
+ # {
1694
+ # text: "String",
1695
+ # },
1696
+ # ],
1697
+ # },
1698
+ # context: "String",
1699
+ # citations: {
1700
+ # enabled: false, # required
1602
1701
  # },
1603
1702
  # },
1604
1703
  # video: {
@@ -1637,6 +1736,40 @@ module Aws::BedrockRuntime
1637
1736
  # },
1638
1737
  # redacted_content: "data",
1639
1738
  # },
1739
+ # citations_content: {
1740
+ # content: [
1741
+ # {
1742
+ # text: "String",
1743
+ # },
1744
+ # ],
1745
+ # citations: [
1746
+ # {
1747
+ # title: "String",
1748
+ # source_content: [
1749
+ # {
1750
+ # text: "String",
1751
+ # },
1752
+ # ],
1753
+ # location: {
1754
+ # document_char: {
1755
+ # document_index: 1,
1756
+ # start: 1,
1757
+ # end: 1,
1758
+ # },
1759
+ # document_page: {
1760
+ # document_index: 1,
1761
+ # start: 1,
1762
+ # end: 1,
1763
+ # },
1764
+ # document_chunk: {
1765
+ # document_index: 1,
1766
+ # start: 1,
1767
+ # end: 1,
1768
+ # },
1769
+ # },
1770
+ # },
1771
+ # ],
1772
+ # },
1640
1773
  # },
1641
1774
  # ],
1642
1775
  # },
@@ -1735,6 +1868,18 @@ module Aws::BedrockRuntime
1735
1868
  # event.delta.reasoning_content.text #=> String
1736
1869
  # event.delta.reasoning_content.redacted_content #=> String
1737
1870
  # event.delta.reasoning_content.signature #=> String
1871
+ # event.delta.citation.title #=> String
1872
+ # event.delta.citation.source_content #=> Array
1873
+ # event.delta.citation.source_content[0].text #=> String
1874
+ # event.delta.citation.location.document_char.document_index #=> Integer
1875
+ # event.delta.citation.location.document_char.start #=> Integer
1876
+ # event.delta.citation.location.document_char.end #=> Integer
1877
+ # event.delta.citation.location.document_page.document_index #=> Integer
1878
+ # event.delta.citation.location.document_page.start #=> Integer
1879
+ # event.delta.citation.location.document_page.end #=> Integer
1880
+ # event.delta.citation.location.document_chunk.document_index #=> Integer
1881
+ # event.delta.citation.location.document_chunk.start #=> Integer
1882
+ # event.delta.citation.location.document_chunk.end #=> Integer
1738
1883
  # event.content_block_index #=> Integer
1739
1884
  #
1740
1885
  # # For :content_block_stop event available at #on_content_block_stop_event callback and response eventstream enumerator:
@@ -2014,10 +2159,10 @@ module Aws::BedrockRuntime
2014
2159
  # Throughput. For more information, see [Run inference using a
2015
2160
  # Provisioned Throughput][3] in the Amazon Bedrock User Guide.
2016
2161
  #
2017
- # * If you use a custom model, first purchase Provisioned Throughput for
2018
- # it. Then specify the ARN of the resulting provisioned model. For
2019
- # more information, see [Use a custom model in Amazon Bedrock][4] in
2020
- # the Amazon Bedrock User Guide.
2162
+ # * If you use a custom model, specify the ARN of the custom model
2163
+ # deployment (for on-demand inference) or the ARN of your provisioned
2164
+ # model (for Provisioned Throughput). For more information, see [Use a
2165
+ # custom model in Amazon Bedrock][4] in the Amazon Bedrock User Guide.
2021
2166
  #
2022
2167
  # * If you use an [imported model][5], specify the ARN of the imported
2023
2168
  # model. You can get the model ARN from a successful call to
@@ -2168,10 +2313,10 @@ module Aws::BedrockRuntime
2168
2313
  # Throughput. For more information, see [Run inference using a
2169
2314
  # Provisioned Throughput][3] in the Amazon Bedrock User Guide.
2170
2315
  #
2171
- # * If you use a custom model, first purchase Provisioned Throughput for
2172
- # it. Then specify the ARN of the resulting provisioned model. For
2173
- # more information, see [Use a custom model in Amazon Bedrock][4] in
2174
- # the Amazon Bedrock User Guide.
2316
+ # * If you use a custom model, specify the ARN of the custom model
2317
+ # deployment (for on-demand inference) or the ARN of your provisioned
2318
+ # model (for Provisioned Throughput). For more information, see [Use a
2319
+ # custom model in Amazon Bedrock][4] in the Amazon Bedrock User Guide.
2175
2320
  #
2176
2321
  # * If you use an [imported model][5], specify the ARN of the imported
2177
2322
  # model. You can get the model ARN from a successful call to
@@ -2599,7 +2744,7 @@ module Aws::BedrockRuntime
2599
2744
  tracer: tracer
2600
2745
  )
2601
2746
  context[:gem_name] = 'aws-sdk-bedrockruntime'
2602
- context[:gem_version] = '1.49.0'
2747
+ context[:gem_version] = '1.50.0'
2603
2748
  Seahorse::Client::Request.new(handlers, context)
2604
2749
  end
2605
2750
 
@@ -36,6 +36,18 @@ module Aws::BedrockRuntime
36
36
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
37
37
  CachePointBlock = Shapes::StructureShape.new(name: 'CachePointBlock')
38
38
  CachePointType = Shapes::StringShape.new(name: 'CachePointType')
39
+ Citation = Shapes::StructureShape.new(name: 'Citation')
40
+ CitationGeneratedContent = Shapes::UnionShape.new(name: 'CitationGeneratedContent')
41
+ CitationGeneratedContentList = Shapes::ListShape.new(name: 'CitationGeneratedContentList')
42
+ CitationLocation = Shapes::UnionShape.new(name: 'CitationLocation')
43
+ CitationSourceContent = Shapes::UnionShape.new(name: 'CitationSourceContent')
44
+ CitationSourceContentDelta = Shapes::StructureShape.new(name: 'CitationSourceContentDelta')
45
+ CitationSourceContentList = Shapes::ListShape.new(name: 'CitationSourceContentList')
46
+ CitationSourceContentListDelta = Shapes::ListShape.new(name: 'CitationSourceContentListDelta')
47
+ Citations = Shapes::ListShape.new(name: 'Citations')
48
+ CitationsConfig = Shapes::StructureShape.new(name: 'CitationsConfig')
49
+ CitationsContentBlock = Shapes::StructureShape.new(name: 'CitationsContentBlock')
50
+ CitationsDelta = Shapes::StructureShape.new(name: 'CitationsDelta')
39
51
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
40
52
  ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
41
53
  ContentBlockDelta = Shapes::UnionShape.new(name: 'ContentBlockDelta')
@@ -64,7 +76,21 @@ module Aws::BedrockRuntime
64
76
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
65
77
  DocumentBlock = Shapes::StructureShape.new(name: 'DocumentBlock')
66
78
  DocumentBlockNameString = Shapes::StringShape.new(name: 'DocumentBlockNameString')
79
+ DocumentCharLocation = Shapes::StructureShape.new(name: 'DocumentCharLocation')
80
+ DocumentCharLocationDocumentIndexInteger = Shapes::IntegerShape.new(name: 'DocumentCharLocationDocumentIndexInteger')
81
+ DocumentCharLocationEndInteger = Shapes::IntegerShape.new(name: 'DocumentCharLocationEndInteger')
82
+ DocumentCharLocationStartInteger = Shapes::IntegerShape.new(name: 'DocumentCharLocationStartInteger')
83
+ DocumentChunkLocation = Shapes::StructureShape.new(name: 'DocumentChunkLocation')
84
+ DocumentChunkLocationDocumentIndexInteger = Shapes::IntegerShape.new(name: 'DocumentChunkLocationDocumentIndexInteger')
85
+ DocumentChunkLocationEndInteger = Shapes::IntegerShape.new(name: 'DocumentChunkLocationEndInteger')
86
+ DocumentChunkLocationStartInteger = Shapes::IntegerShape.new(name: 'DocumentChunkLocationStartInteger')
87
+ DocumentContentBlock = Shapes::UnionShape.new(name: 'DocumentContentBlock')
88
+ DocumentContentBlocks = Shapes::ListShape.new(name: 'DocumentContentBlocks')
67
89
  DocumentFormat = Shapes::StringShape.new(name: 'DocumentFormat')
90
+ DocumentPageLocation = Shapes::StructureShape.new(name: 'DocumentPageLocation')
91
+ DocumentPageLocationDocumentIndexInteger = Shapes::IntegerShape.new(name: 'DocumentPageLocationDocumentIndexInteger')
92
+ DocumentPageLocationEndInteger = Shapes::IntegerShape.new(name: 'DocumentPageLocationEndInteger')
93
+ DocumentPageLocationStartInteger = Shapes::IntegerShape.new(name: 'DocumentPageLocationStartInteger')
68
94
  DocumentSource = Shapes::UnionShape.new(name: 'DocumentSource')
69
95
  DocumentSourceBytesBlob = Shapes::BlobShape.new(name: 'DocumentSourceBytesBlob')
70
96
  GetAsyncInvokeRequest = Shapes::StructureShape.new(name: 'GetAsyncInvokeRequest')
@@ -312,6 +338,56 @@ module Aws::BedrockRuntime
312
338
  CachePointBlock.add_member(:type, Shapes::ShapeRef.new(shape: CachePointType, required: true, location_name: "type"))
313
339
  CachePointBlock.struct_class = Types::CachePointBlock
314
340
 
341
+ Citation.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
342
+ Citation.add_member(:source_content, Shapes::ShapeRef.new(shape: CitationSourceContentList, location_name: "sourceContent"))
343
+ Citation.add_member(:location, Shapes::ShapeRef.new(shape: CitationLocation, location_name: "location"))
344
+ Citation.struct_class = Types::Citation
345
+
346
+ CitationGeneratedContent.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
347
+ CitationGeneratedContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
348
+ CitationGeneratedContent.add_member_subclass(:text, Types::CitationGeneratedContent::Text)
349
+ CitationGeneratedContent.add_member_subclass(:unknown, Types::CitationGeneratedContent::Unknown)
350
+ CitationGeneratedContent.struct_class = Types::CitationGeneratedContent
351
+
352
+ CitationGeneratedContentList.member = Shapes::ShapeRef.new(shape: CitationGeneratedContent)
353
+
354
+ CitationLocation.add_member(:document_char, Shapes::ShapeRef.new(shape: DocumentCharLocation, location_name: "documentChar"))
355
+ CitationLocation.add_member(:document_page, Shapes::ShapeRef.new(shape: DocumentPageLocation, location_name: "documentPage"))
356
+ CitationLocation.add_member(:document_chunk, Shapes::ShapeRef.new(shape: DocumentChunkLocation, location_name: "documentChunk"))
357
+ CitationLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
358
+ CitationLocation.add_member_subclass(:document_char, Types::CitationLocation::DocumentChar)
359
+ CitationLocation.add_member_subclass(:document_page, Types::CitationLocation::DocumentPage)
360
+ CitationLocation.add_member_subclass(:document_chunk, Types::CitationLocation::DocumentChunk)
361
+ CitationLocation.add_member_subclass(:unknown, Types::CitationLocation::Unknown)
362
+ CitationLocation.struct_class = Types::CitationLocation
363
+
364
+ CitationSourceContent.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
365
+ CitationSourceContent.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
366
+ CitationSourceContent.add_member_subclass(:text, Types::CitationSourceContent::Text)
367
+ CitationSourceContent.add_member_subclass(:unknown, Types::CitationSourceContent::Unknown)
368
+ CitationSourceContent.struct_class = Types::CitationSourceContent
369
+
370
+ CitationSourceContentDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
371
+ CitationSourceContentDelta.struct_class = Types::CitationSourceContentDelta
372
+
373
+ CitationSourceContentList.member = Shapes::ShapeRef.new(shape: CitationSourceContent)
374
+
375
+ CitationSourceContentListDelta.member = Shapes::ShapeRef.new(shape: CitationSourceContentDelta)
376
+
377
+ Citations.member = Shapes::ShapeRef.new(shape: Citation)
378
+
379
+ CitationsConfig.add_member(:enabled, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "enabled"))
380
+ CitationsConfig.struct_class = Types::CitationsConfig
381
+
382
+ CitationsContentBlock.add_member(:content, Shapes::ShapeRef.new(shape: CitationGeneratedContentList, location_name: "content"))
383
+ CitationsContentBlock.add_member(:citations, Shapes::ShapeRef.new(shape: Citations, location_name: "citations"))
384
+ CitationsContentBlock.struct_class = Types::CitationsContentBlock
385
+
386
+ CitationsDelta.add_member(:title, Shapes::ShapeRef.new(shape: String, location_name: "title"))
387
+ CitationsDelta.add_member(:source_content, Shapes::ShapeRef.new(shape: CitationSourceContentListDelta, location_name: "sourceContent"))
388
+ CitationsDelta.add_member(:location, Shapes::ShapeRef.new(shape: CitationLocation, location_name: "location"))
389
+ CitationsDelta.struct_class = Types::CitationsDelta
390
+
315
391
  ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
316
392
  ConflictException.struct_class = Types::ConflictException
317
393
 
@@ -324,6 +400,7 @@ module Aws::BedrockRuntime
324
400
  ContentBlock.add_member(:guard_content, Shapes::ShapeRef.new(shape: GuardrailConverseContentBlock, location_name: "guardContent"))
325
401
  ContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
326
402
  ContentBlock.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
403
+ ContentBlock.add_member(:citations_content, Shapes::ShapeRef.new(shape: CitationsContentBlock, location_name: "citationsContent"))
327
404
  ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
328
405
  ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
329
406
  ContentBlock.add_member_subclass(:image, Types::ContentBlock::Image)
@@ -334,16 +411,19 @@ module Aws::BedrockRuntime
334
411
  ContentBlock.add_member_subclass(:guard_content, Types::ContentBlock::GuardContent)
335
412
  ContentBlock.add_member_subclass(:cache_point, Types::ContentBlock::CachePoint)
336
413
  ContentBlock.add_member_subclass(:reasoning_content, Types::ContentBlock::ReasoningContent)
414
+ ContentBlock.add_member_subclass(:citations_content, Types::ContentBlock::CitationsContent)
337
415
  ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
338
416
  ContentBlock.struct_class = Types::ContentBlock
339
417
 
340
418
  ContentBlockDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
341
419
  ContentBlockDelta.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlockDelta, location_name: "toolUse"))
342
420
  ContentBlockDelta.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlockDelta, location_name: "reasoningContent"))
421
+ ContentBlockDelta.add_member(:citation, Shapes::ShapeRef.new(shape: CitationsDelta, location_name: "citation"))
343
422
  ContentBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
344
423
  ContentBlockDelta.add_member_subclass(:text, Types::ContentBlockDelta::Text)
345
424
  ContentBlockDelta.add_member_subclass(:tool_use, Types::ContentBlockDelta::ToolUse)
346
425
  ContentBlockDelta.add_member_subclass(:reasoning_content, Types::ContentBlockDelta::ReasoningContent)
426
+ ContentBlockDelta.add_member_subclass(:citation, Types::ContentBlockDelta::Citation)
347
427
  ContentBlockDelta.add_member_subclass(:unknown, Types::ContentBlockDelta::Unknown)
348
428
  ContentBlockDelta.struct_class = Types::ContentBlockDelta
349
429
 
@@ -449,16 +529,45 @@ module Aws::BedrockRuntime
449
529
  ConverseTrace.add_member(:prompt_router, Shapes::ShapeRef.new(shape: PromptRouterTrace, location_name: "promptRouter"))
450
530
  ConverseTrace.struct_class = Types::ConverseTrace
451
531
 
452
- DocumentBlock.add_member(:format, Shapes::ShapeRef.new(shape: DocumentFormat, required: true, location_name: "format"))
532
+ DocumentBlock.add_member(:format, Shapes::ShapeRef.new(shape: DocumentFormat, location_name: "format"))
453
533
  DocumentBlock.add_member(:name, Shapes::ShapeRef.new(shape: DocumentBlockNameString, required: true, location_name: "name"))
454
534
  DocumentBlock.add_member(:source, Shapes::ShapeRef.new(shape: DocumentSource, required: true, location_name: "source"))
535
+ DocumentBlock.add_member(:context, Shapes::ShapeRef.new(shape: String, location_name: "context"))
536
+ DocumentBlock.add_member(:citations, Shapes::ShapeRef.new(shape: CitationsConfig, location_name: "citations"))
455
537
  DocumentBlock.struct_class = Types::DocumentBlock
456
538
 
539
+ DocumentCharLocation.add_member(:document_index, Shapes::ShapeRef.new(shape: DocumentCharLocationDocumentIndexInteger, location_name: "documentIndex"))
540
+ DocumentCharLocation.add_member(:start, Shapes::ShapeRef.new(shape: DocumentCharLocationStartInteger, location_name: "start"))
541
+ DocumentCharLocation.add_member(:end, Shapes::ShapeRef.new(shape: DocumentCharLocationEndInteger, location_name: "end"))
542
+ DocumentCharLocation.struct_class = Types::DocumentCharLocation
543
+
544
+ DocumentChunkLocation.add_member(:document_index, Shapes::ShapeRef.new(shape: DocumentChunkLocationDocumentIndexInteger, location_name: "documentIndex"))
545
+ DocumentChunkLocation.add_member(:start, Shapes::ShapeRef.new(shape: DocumentChunkLocationStartInteger, location_name: "start"))
546
+ DocumentChunkLocation.add_member(:end, Shapes::ShapeRef.new(shape: DocumentChunkLocationEndInteger, location_name: "end"))
547
+ DocumentChunkLocation.struct_class = Types::DocumentChunkLocation
548
+
549
+ DocumentContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
550
+ DocumentContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
551
+ DocumentContentBlock.add_member_subclass(:text, Types::DocumentContentBlock::Text)
552
+ DocumentContentBlock.add_member_subclass(:unknown, Types::DocumentContentBlock::Unknown)
553
+ DocumentContentBlock.struct_class = Types::DocumentContentBlock
554
+
555
+ DocumentContentBlocks.member = Shapes::ShapeRef.new(shape: DocumentContentBlock)
556
+
557
+ DocumentPageLocation.add_member(:document_index, Shapes::ShapeRef.new(shape: DocumentPageLocationDocumentIndexInteger, location_name: "documentIndex"))
558
+ DocumentPageLocation.add_member(:start, Shapes::ShapeRef.new(shape: DocumentPageLocationStartInteger, location_name: "start"))
559
+ DocumentPageLocation.add_member(:end, Shapes::ShapeRef.new(shape: DocumentPageLocationEndInteger, location_name: "end"))
560
+ DocumentPageLocation.struct_class = Types::DocumentPageLocation
561
+
457
562
  DocumentSource.add_member(:bytes, Shapes::ShapeRef.new(shape: DocumentSourceBytesBlob, location_name: "bytes"))
458
563
  DocumentSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
564
+ DocumentSource.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
565
+ DocumentSource.add_member(:content, Shapes::ShapeRef.new(shape: DocumentContentBlocks, location_name: "content"))
459
566
  DocumentSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
460
567
  DocumentSource.add_member_subclass(:bytes, Types::DocumentSource::Bytes)
461
568
  DocumentSource.add_member_subclass(:s3_location, Types::DocumentSource::S3Location)
569
+ DocumentSource.add_member_subclass(:text, Types::DocumentSource::Text)
570
+ DocumentSource.add_member_subclass(:content, Types::DocumentSource::Content)
462
571
  DocumentSource.add_member_subclass(:unknown, Types::DocumentSource::Unknown)
463
572
  DocumentSource.struct_class = Types::DocumentSource
464
573
 
@@ -990,7 +1099,7 @@ module Aws::BedrockRuntime
990
1099
 
991
1100
  api.metadata = {
992
1101
  "apiVersion" => "2023-09-30",
993
- "auth" => ["aws.auth#sigv4"],
1102
+ "auth" => ["aws.auth#sigv4", "smithy.api#httpBearerAuth"],
994
1103
  "endpointPrefix" => "bedrock-runtime",
995
1104
  "protocol" => "rest-json",
996
1105
  "protocolSettings" => {"h2" => "optional"},