aws-sdk-bedrockruntime 1.41.0 → 1.42.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockruntime/client.rb +24 -1
- data/lib/aws-sdk-bedrockruntime/client_api.rb +15 -0
- data/lib/aws-sdk-bedrockruntime/types.rb +44 -1
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/client.rbs +18 -0
- data/sig/types.rbs +16 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5862bdfbd9b0c0e6f73b50e0634bbd28365979915a69acc172ad46da94625bf1
|
4
|
+
data.tar.gz: 2a26d1fc84073607038a3b2348e94b8ede6c84123b7c388bdc2b40bd5385751c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ad0426abbab3f12a405da055f07973a73b65dacdcf843d7e4e1b3bf19a6410bfd4dc5e896921ca718550c7d7675196af9a17dcdd72a0cf20f88660e0795a65a5
|
7
|
+
data.tar.gz: 8cce902c4baa88c39f96d7b43bab1c6c2596855953757b8412bf1fa1e8dcc06052fdc85f29ef0afd72a6d3fa58000e8f867869f4bd87d03f2e880b2fafc691f4
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.42.0
|
@@ -869,6 +869,9 @@ module Aws::BedrockRuntime
|
|
869
869
|
# },
|
870
870
|
# },
|
871
871
|
# },
|
872
|
+
# cache_point: {
|
873
|
+
# type: "default", # required, accepts default
|
874
|
+
# },
|
872
875
|
# reasoning_content: {
|
873
876
|
# reasoning_text: {
|
874
877
|
# text: "String", # required
|
@@ -895,6 +898,9 @@ module Aws::BedrockRuntime
|
|
895
898
|
# },
|
896
899
|
# },
|
897
900
|
# },
|
901
|
+
# cache_point: {
|
902
|
+
# type: "default", # required, accepts default
|
903
|
+
# },
|
898
904
|
# },
|
899
905
|
# ],
|
900
906
|
# inference_config: {
|
@@ -914,6 +920,9 @@ module Aws::BedrockRuntime
|
|
914
920
|
# },
|
915
921
|
# },
|
916
922
|
# },
|
923
|
+
# cache_point: {
|
924
|
+
# type: "default", # required, accepts default
|
925
|
+
# },
|
917
926
|
# },
|
918
927
|
# ],
|
919
928
|
# tool_choice: {
|
@@ -981,6 +990,7 @@ module Aws::BedrockRuntime
|
|
981
990
|
# resp.output.message.content[0].guard_content.text.qualifiers[0] #=> String, one of "grounding_source", "query", "guard_content"
|
982
991
|
# resp.output.message.content[0].guard_content.image.format #=> String, one of "png", "jpeg"
|
983
992
|
# resp.output.message.content[0].guard_content.image.source.bytes #=> String
|
993
|
+
# resp.output.message.content[0].cache_point.type #=> String, one of "default"
|
984
994
|
# resp.output.message.content[0].reasoning_content.reasoning_text.text #=> String
|
985
995
|
# resp.output.message.content[0].reasoning_content.reasoning_text.signature #=> String
|
986
996
|
# resp.output.message.content[0].reasoning_content.redacted_content #=> String
|
@@ -988,6 +998,8 @@ module Aws::BedrockRuntime
|
|
988
998
|
# resp.usage.input_tokens #=> Integer
|
989
999
|
# resp.usage.output_tokens #=> Integer
|
990
1000
|
# resp.usage.total_tokens #=> Integer
|
1001
|
+
# resp.usage.cache_read_input_tokens #=> Integer
|
1002
|
+
# resp.usage.cache_write_input_tokens #=> Integer
|
991
1003
|
# resp.metrics.latency_ms #=> Integer
|
992
1004
|
# resp.trace.guardrail.model_output #=> Array
|
993
1005
|
# resp.trace.guardrail.model_output[0] #=> String
|
@@ -1535,6 +1547,9 @@ module Aws::BedrockRuntime
|
|
1535
1547
|
# },
|
1536
1548
|
# },
|
1537
1549
|
# },
|
1550
|
+
# cache_point: {
|
1551
|
+
# type: "default", # required, accepts default
|
1552
|
+
# },
|
1538
1553
|
# reasoning_content: {
|
1539
1554
|
# reasoning_text: {
|
1540
1555
|
# text: "String", # required
|
@@ -1561,6 +1576,9 @@ module Aws::BedrockRuntime
|
|
1561
1576
|
# },
|
1562
1577
|
# },
|
1563
1578
|
# },
|
1579
|
+
# cache_point: {
|
1580
|
+
# type: "default", # required, accepts default
|
1581
|
+
# },
|
1564
1582
|
# },
|
1565
1583
|
# ],
|
1566
1584
|
# inference_config: {
|
@@ -1580,6 +1598,9 @@ module Aws::BedrockRuntime
|
|
1580
1598
|
# },
|
1581
1599
|
# },
|
1582
1600
|
# },
|
1601
|
+
# cache_point: {
|
1602
|
+
# type: "default", # required, accepts default
|
1603
|
+
# },
|
1583
1604
|
# },
|
1584
1605
|
# ],
|
1585
1606
|
# tool_choice: {
|
@@ -1646,6 +1667,8 @@ module Aws::BedrockRuntime
|
|
1646
1667
|
# event.usage.input_tokens #=> Integer
|
1647
1668
|
# event.usage.output_tokens #=> Integer
|
1648
1669
|
# event.usage.total_tokens #=> Integer
|
1670
|
+
# event.usage.cache_read_input_tokens #=> Integer
|
1671
|
+
# event.usage.cache_write_input_tokens #=> Integer
|
1649
1672
|
# event.metrics.latency_ms #=> Integer
|
1650
1673
|
# event.trace.guardrail.model_output #=> Array
|
1651
1674
|
# event.trace.guardrail.model_output[0] #=> String
|
@@ -2475,7 +2498,7 @@ module Aws::BedrockRuntime
|
|
2475
2498
|
tracer: tracer
|
2476
2499
|
)
|
2477
2500
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
2478
|
-
context[:gem_version] = '1.
|
2501
|
+
context[:gem_version] = '1.42.0'
|
2479
2502
|
Seahorse::Client::Request.new(handlers, context)
|
2480
2503
|
end
|
2481
2504
|
|
@@ -31,6 +31,8 @@ module Aws::BedrockRuntime
|
|
31
31
|
AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
|
32
32
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
33
33
|
Body = Shapes::BlobShape.new(name: 'Body')
|
34
|
+
CachePointBlock = Shapes::StructureShape.new(name: 'CachePointBlock')
|
35
|
+
CachePointType = Shapes::StringShape.new(name: 'CachePointType')
|
34
36
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
35
37
|
ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
|
36
38
|
ContentBlockDelta = Shapes::UnionShape.new(name: 'ContentBlockDelta')
|
@@ -220,6 +222,8 @@ module Aws::BedrockRuntime
|
|
220
222
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
221
223
|
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp', timestampFormat: "iso8601")
|
222
224
|
TokenUsage = Shapes::StructureShape.new(name: 'TokenUsage')
|
225
|
+
TokenUsageCacheReadInputTokensInteger = Shapes::IntegerShape.new(name: 'TokenUsageCacheReadInputTokensInteger')
|
226
|
+
TokenUsageCacheWriteInputTokensInteger = Shapes::IntegerShape.new(name: 'TokenUsageCacheWriteInputTokensInteger')
|
223
227
|
TokenUsageInputTokensInteger = Shapes::IntegerShape.new(name: 'TokenUsageInputTokensInteger')
|
224
228
|
TokenUsageOutputTokensInteger = Shapes::IntegerShape.new(name: 'TokenUsageOutputTokensInteger')
|
225
229
|
TokenUsageTotalTokensInteger = Shapes::IntegerShape.new(name: 'TokenUsageTotalTokensInteger')
|
@@ -289,6 +293,9 @@ module Aws::BedrockRuntime
|
|
289
293
|
|
290
294
|
AutoToolChoice.struct_class = Types::AutoToolChoice
|
291
295
|
|
296
|
+
CachePointBlock.add_member(:type, Shapes::ShapeRef.new(shape: CachePointType, required: true, location_name: "type"))
|
297
|
+
CachePointBlock.struct_class = Types::CachePointBlock
|
298
|
+
|
292
299
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
293
300
|
ConflictException.struct_class = Types::ConflictException
|
294
301
|
|
@@ -299,6 +306,7 @@ module Aws::BedrockRuntime
|
|
299
306
|
ContentBlock.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlock, location_name: "toolUse"))
|
300
307
|
ContentBlock.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlock, location_name: "toolResult"))
|
301
308
|
ContentBlock.add_member(:guard_content, Shapes::ShapeRef.new(shape: GuardrailConverseContentBlock, location_name: "guardContent"))
|
309
|
+
ContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
|
302
310
|
ContentBlock.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
|
303
311
|
ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
304
312
|
ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
|
@@ -308,6 +316,7 @@ module Aws::BedrockRuntime
|
|
308
316
|
ContentBlock.add_member_subclass(:tool_use, Types::ContentBlock::ToolUse)
|
309
317
|
ContentBlock.add_member_subclass(:tool_result, Types::ContentBlock::ToolResult)
|
310
318
|
ContentBlock.add_member_subclass(:guard_content, Types::ContentBlock::GuardContent)
|
319
|
+
ContentBlock.add_member_subclass(:cache_point, Types::ContentBlock::CachePoint)
|
311
320
|
ContentBlock.add_member_subclass(:reasoning_content, Types::ContentBlock::ReasoningContent)
|
312
321
|
ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
|
313
322
|
ContentBlock.struct_class = Types::ContentBlock
|
@@ -813,9 +822,11 @@ module Aws::BedrockRuntime
|
|
813
822
|
|
814
823
|
SystemContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "text"))
|
815
824
|
SystemContentBlock.add_member(:guard_content, Shapes::ShapeRef.new(shape: GuardrailConverseContentBlock, location_name: "guardContent"))
|
825
|
+
SystemContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
|
816
826
|
SystemContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
817
827
|
SystemContentBlock.add_member_subclass(:text, Types::SystemContentBlock::Text)
|
818
828
|
SystemContentBlock.add_member_subclass(:guard_content, Types::SystemContentBlock::GuardContent)
|
829
|
+
SystemContentBlock.add_member_subclass(:cache_point, Types::SystemContentBlock::CachePoint)
|
819
830
|
SystemContentBlock.add_member_subclass(:unknown, Types::SystemContentBlock::Unknown)
|
820
831
|
SystemContentBlock.struct_class = Types::SystemContentBlock
|
821
832
|
|
@@ -833,11 +844,15 @@ module Aws::BedrockRuntime
|
|
833
844
|
TokenUsage.add_member(:input_tokens, Shapes::ShapeRef.new(shape: TokenUsageInputTokensInteger, required: true, location_name: "inputTokens"))
|
834
845
|
TokenUsage.add_member(:output_tokens, Shapes::ShapeRef.new(shape: TokenUsageOutputTokensInteger, required: true, location_name: "outputTokens"))
|
835
846
|
TokenUsage.add_member(:total_tokens, Shapes::ShapeRef.new(shape: TokenUsageTotalTokensInteger, required: true, location_name: "totalTokens"))
|
847
|
+
TokenUsage.add_member(:cache_read_input_tokens, Shapes::ShapeRef.new(shape: TokenUsageCacheReadInputTokensInteger, location_name: "cacheReadInputTokens"))
|
848
|
+
TokenUsage.add_member(:cache_write_input_tokens, Shapes::ShapeRef.new(shape: TokenUsageCacheWriteInputTokensInteger, location_name: "cacheWriteInputTokens"))
|
836
849
|
TokenUsage.struct_class = Types::TokenUsage
|
837
850
|
|
838
851
|
Tool.add_member(:tool_spec, Shapes::ShapeRef.new(shape: ToolSpecification, location_name: "toolSpec"))
|
852
|
+
Tool.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
|
839
853
|
Tool.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
840
854
|
Tool.add_member_subclass(:tool_spec, Types::Tool::ToolSpec)
|
855
|
+
Tool.add_member_subclass(:cache_point, Types::Tool::CachePoint)
|
841
856
|
Tool.add_member_subclass(:unknown, Types::Tool::Unknown)
|
842
857
|
Tool.struct_class = Types::Tool
|
843
858
|
|
@@ -208,6 +208,21 @@ module Aws::BedrockRuntime
|
|
208
208
|
#
|
209
209
|
class AutoToolChoice < Aws::EmptyStructure; end
|
210
210
|
|
211
|
+
# Defines a section of content to be cached for reuse in subsequent API
|
212
|
+
# calls.
|
213
|
+
#
|
214
|
+
# @!attribute [rw] type
|
215
|
+
# Specifies the type of cache point within the CachePointBlock.
|
216
|
+
# @return [String]
|
217
|
+
#
|
218
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/CachePointBlock AWS API Documentation
|
219
|
+
#
|
220
|
+
class CachePointBlock < Struct.new(
|
221
|
+
:type)
|
222
|
+
SENSITIVE = []
|
223
|
+
include Aws::Structure
|
224
|
+
end
|
225
|
+
|
211
226
|
# Error occurred because of a conflict while performing an operation.
|
212
227
|
#
|
213
228
|
# @!attribute [rw] message
|
@@ -270,6 +285,10 @@ module Aws::BedrockRuntime
|
|
270
285
|
# the *Amazon Bedrock User Guide*. </p>
|
271
286
|
# @return [Types::GuardrailConverseContentBlock]
|
272
287
|
#
|
288
|
+
# @!attribute [rw] cache_point
|
289
|
+
# CachePoint to include in the message.
|
290
|
+
# @return [Types::CachePointBlock]
|
291
|
+
#
|
273
292
|
# @!attribute [rw] reasoning_content
|
274
293
|
# Contains content regarding the reasoning that is carried out by the
|
275
294
|
# model. Reasoning refers to a Chain of Thought (CoT) that the model
|
@@ -286,6 +305,7 @@ module Aws::BedrockRuntime
|
|
286
305
|
:tool_use,
|
287
306
|
:tool_result,
|
288
307
|
:guard_content,
|
308
|
+
:cache_point,
|
289
309
|
:reasoning_content,
|
290
310
|
:unknown)
|
291
311
|
SENSITIVE = [:reasoning_content]
|
@@ -299,6 +319,7 @@ module Aws::BedrockRuntime
|
|
299
319
|
class ToolUse < ContentBlock; end
|
300
320
|
class ToolResult < ContentBlock; end
|
301
321
|
class GuardContent < ContentBlock; end
|
322
|
+
class CachePoint < ContentBlock; end
|
302
323
|
class ReasoningContent < ContentBlock; end
|
303
324
|
class Unknown < ContentBlock; end
|
304
325
|
end
|
@@ -2698,11 +2719,16 @@ module Aws::BedrockRuntime
|
|
2698
2719
|
# [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html
|
2699
2720
|
# @return [Types::GuardrailConverseContentBlock]
|
2700
2721
|
#
|
2722
|
+
# @!attribute [rw] cache_point
|
2723
|
+
# CachePoint to include in the system prompt.
|
2724
|
+
# @return [Types::CachePointBlock]
|
2725
|
+
#
|
2701
2726
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/SystemContentBlock AWS API Documentation
|
2702
2727
|
#
|
2703
2728
|
class SystemContentBlock < Struct.new(
|
2704
2729
|
:text,
|
2705
2730
|
:guard_content,
|
2731
|
+
:cache_point,
|
2706
2732
|
:unknown)
|
2707
2733
|
SENSITIVE = []
|
2708
2734
|
include Aws::Structure
|
@@ -2710,6 +2736,7 @@ module Aws::BedrockRuntime
|
|
2710
2736
|
|
2711
2737
|
class Text < SystemContentBlock; end
|
2712
2738
|
class GuardContent < SystemContentBlock; end
|
2739
|
+
class CachePoint < SystemContentBlock; end
|
2713
2740
|
class Unknown < SystemContentBlock; end
|
2714
2741
|
end
|
2715
2742
|
|
@@ -2766,12 +2793,22 @@ module Aws::BedrockRuntime
|
|
2766
2793
|
# The total of input tokens and tokens generated by the model.
|
2767
2794
|
# @return [Integer]
|
2768
2795
|
#
|
2796
|
+
# @!attribute [rw] cache_read_input_tokens
|
2797
|
+
# The number of input tokens read from the cache for the request.
|
2798
|
+
# @return [Integer]
|
2799
|
+
#
|
2800
|
+
# @!attribute [rw] cache_write_input_tokens
|
2801
|
+
# The number of input tokens written to the cache for the request.
|
2802
|
+
# @return [Integer]
|
2803
|
+
#
|
2769
2804
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/TokenUsage AWS API Documentation
|
2770
2805
|
#
|
2771
2806
|
class TokenUsage < Struct.new(
|
2772
2807
|
:input_tokens,
|
2773
2808
|
:output_tokens,
|
2774
|
-
:total_tokens
|
2809
|
+
:total_tokens,
|
2810
|
+
:cache_read_input_tokens,
|
2811
|
+
:cache_write_input_tokens)
|
2775
2812
|
SENSITIVE = []
|
2776
2813
|
include Aws::Structure
|
2777
2814
|
end
|
@@ -2790,16 +2827,22 @@ module Aws::BedrockRuntime
|
|
2790
2827
|
# The specfication for the tool.
|
2791
2828
|
# @return [Types::ToolSpecification]
|
2792
2829
|
#
|
2830
|
+
# @!attribute [rw] cache_point
|
2831
|
+
# CachePoint to include in the tool configuration.
|
2832
|
+
# @return [Types::CachePointBlock]
|
2833
|
+
#
|
2793
2834
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/Tool AWS API Documentation
|
2794
2835
|
#
|
2795
2836
|
class Tool < Struct.new(
|
2796
2837
|
:tool_spec,
|
2838
|
+
:cache_point,
|
2797
2839
|
:unknown)
|
2798
2840
|
SENSITIVE = []
|
2799
2841
|
include Aws::Structure
|
2800
2842
|
include Aws::Structure::Union
|
2801
2843
|
|
2802
2844
|
class ToolSpec < Tool; end
|
2845
|
+
class CachePoint < Tool; end
|
2803
2846
|
class Unknown < Tool; end
|
2804
2847
|
end
|
2805
2848
|
|
data/sig/client.rbs
CHANGED
@@ -204,6 +204,9 @@ module Aws
|
|
204
204
|
}
|
205
205
|
}?
|
206
206
|
}?,
|
207
|
+
cache_point: {
|
208
|
+
type: ("default")
|
209
|
+
}?,
|
207
210
|
reasoning_content: {
|
208
211
|
reasoning_text: {
|
209
212
|
text: ::String,
|
@@ -229,6 +232,9 @@ module Aws
|
|
229
232
|
bytes: ::String?
|
230
233
|
}
|
231
234
|
}?
|
235
|
+
}?,
|
236
|
+
cache_point: {
|
237
|
+
type: ("default")
|
232
238
|
}?
|
233
239
|
},
|
234
240
|
],
|
@@ -248,6 +254,9 @@ module Aws
|
|
248
254
|
json: {
|
249
255
|
}?
|
250
256
|
}
|
257
|
+
}?,
|
258
|
+
cache_point: {
|
259
|
+
type: ("default")
|
251
260
|
}?
|
252
261
|
},
|
253
262
|
],
|
@@ -367,6 +376,9 @@ module Aws
|
|
367
376
|
}
|
368
377
|
}?
|
369
378
|
}?,
|
379
|
+
cache_point: {
|
380
|
+
type: ("default")
|
381
|
+
}?,
|
370
382
|
reasoning_content: {
|
371
383
|
reasoning_text: {
|
372
384
|
text: ::String,
|
@@ -392,6 +404,9 @@ module Aws
|
|
392
404
|
bytes: ::String?
|
393
405
|
}
|
394
406
|
}?
|
407
|
+
}?,
|
408
|
+
cache_point: {
|
409
|
+
type: ("default")
|
395
410
|
}?
|
396
411
|
},
|
397
412
|
],
|
@@ -411,6 +426,9 @@ module Aws
|
|
411
426
|
json: {
|
412
427
|
}?
|
413
428
|
}
|
429
|
+
}?,
|
430
|
+
cache_point: {
|
431
|
+
type: ("default")
|
414
432
|
}?
|
415
433
|
},
|
416
434
|
],
|
data/sig/types.rbs
CHANGED
@@ -67,6 +67,11 @@ module Aws::BedrockRuntime
|
|
67
67
|
class AutoToolChoice < Aws::EmptyStructure
|
68
68
|
end
|
69
69
|
|
70
|
+
class CachePointBlock
|
71
|
+
attr_accessor type: ("default")
|
72
|
+
SENSITIVE: []
|
73
|
+
end
|
74
|
+
|
70
75
|
class ConflictException
|
71
76
|
attr_accessor message: ::String
|
72
77
|
SENSITIVE: []
|
@@ -80,6 +85,7 @@ module Aws::BedrockRuntime
|
|
80
85
|
attr_accessor tool_use: Types::ToolUseBlock
|
81
86
|
attr_accessor tool_result: Types::ToolResultBlock
|
82
87
|
attr_accessor guard_content: Types::GuardrailConverseContentBlock
|
88
|
+
attr_accessor cache_point: Types::CachePointBlock
|
83
89
|
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
84
90
|
attr_accessor unknown: untyped
|
85
91
|
SENSITIVE: [:reasoning_content]
|
@@ -98,6 +104,8 @@ module Aws::BedrockRuntime
|
|
98
104
|
end
|
99
105
|
class GuardContent < ContentBlock
|
100
106
|
end
|
107
|
+
class CachePoint < ContentBlock
|
108
|
+
end
|
101
109
|
class ReasoningContent < ContentBlock
|
102
110
|
end
|
103
111
|
class Unknown < ContentBlock
|
@@ -740,6 +748,7 @@ module Aws::BedrockRuntime
|
|
740
748
|
class SystemContentBlock
|
741
749
|
attr_accessor text: ::String
|
742
750
|
attr_accessor guard_content: Types::GuardrailConverseContentBlock
|
751
|
+
attr_accessor cache_point: Types::CachePointBlock
|
743
752
|
attr_accessor unknown: untyped
|
744
753
|
SENSITIVE: []
|
745
754
|
|
@@ -747,6 +756,8 @@ module Aws::BedrockRuntime
|
|
747
756
|
end
|
748
757
|
class GuardContent < SystemContentBlock
|
749
758
|
end
|
759
|
+
class CachePoint < SystemContentBlock
|
760
|
+
end
|
750
761
|
class Unknown < SystemContentBlock
|
751
762
|
end
|
752
763
|
end
|
@@ -767,16 +778,21 @@ module Aws::BedrockRuntime
|
|
767
778
|
attr_accessor input_tokens: ::Integer
|
768
779
|
attr_accessor output_tokens: ::Integer
|
769
780
|
attr_accessor total_tokens: ::Integer
|
781
|
+
attr_accessor cache_read_input_tokens: ::Integer
|
782
|
+
attr_accessor cache_write_input_tokens: ::Integer
|
770
783
|
SENSITIVE: []
|
771
784
|
end
|
772
785
|
|
773
786
|
class Tool
|
774
787
|
attr_accessor tool_spec: Types::ToolSpecification
|
788
|
+
attr_accessor cache_point: Types::CachePointBlock
|
775
789
|
attr_accessor unknown: untyped
|
776
790
|
SENSITIVE: []
|
777
791
|
|
778
792
|
class ToolSpec < Tool
|
779
793
|
end
|
794
|
+
class CachePoint < Tool
|
795
|
+
end
|
780
796
|
class Unknown < Tool
|
781
797
|
end
|
782
798
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-bedrockruntime
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.42.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-03-
|
11
|
+
date: 2025-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|