aws-sdk-bedrockruntime 1.38.0 → 1.39.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 +21 -1
- data/lib/aws-sdk-bedrockruntime/client_api.rb +30 -0
- data/lib/aws-sdk-bedrockruntime/types.rb +114 -3
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/client.rbs +14 -0
- data/sig/types.rbs +45 -2
- 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: c2c0076dda8f6198d9d5c64a5373d414e471fd3ebb074fe99f780d62bbe6f369
|
4
|
+
data.tar.gz: a15203b60ec1d1ade276e656b96893eee8ed86936b477077ab46675c37f7bd6e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f574f52db6f8134a9fd1689cdcbc453abc45f8c37200c158102d001f91c2412962b5607ba85055305d9a8d772ff3bdce6e804b8d6adf714b12eb3731318abe6e
|
7
|
+
data.tar.gz: d6c15db6b5e79268c34e9149580e526116428dd8ad77c0059465a5255ef55535223f75732914b18eb7986ed14f5b0b1ef5c67b30ddca0204ad95685d8adaf865
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.39.0
|
@@ -867,6 +867,13 @@ module Aws::BedrockRuntime
|
|
867
867
|
# },
|
868
868
|
# },
|
869
869
|
# },
|
870
|
+
# reasoning_content: {
|
871
|
+
# reasoning_text: {
|
872
|
+
# text: "String", # required
|
873
|
+
# signature: "String",
|
874
|
+
# },
|
875
|
+
# redacted_content: "data",
|
876
|
+
# },
|
870
877
|
# },
|
871
878
|
# ],
|
872
879
|
# },
|
@@ -972,6 +979,9 @@ module Aws::BedrockRuntime
|
|
972
979
|
# resp.output.message.content[0].guard_content.text.qualifiers[0] #=> String, one of "grounding_source", "query", "guard_content"
|
973
980
|
# resp.output.message.content[0].guard_content.image.format #=> String, one of "png", "jpeg"
|
974
981
|
# resp.output.message.content[0].guard_content.image.source.bytes #=> String
|
982
|
+
# resp.output.message.content[0].reasoning_content.reasoning_text.text #=> String
|
983
|
+
# resp.output.message.content[0].reasoning_content.reasoning_text.signature #=> String
|
984
|
+
# resp.output.message.content[0].reasoning_content.redacted_content #=> String
|
975
985
|
# resp.stop_reason #=> String, one of "end_turn", "tool_use", "max_tokens", "stop_sequence", "guardrail_intervened", "content_filtered"
|
976
986
|
# resp.usage.input_tokens #=> Integer
|
977
987
|
# resp.usage.output_tokens #=> Integer
|
@@ -1521,6 +1531,13 @@ module Aws::BedrockRuntime
|
|
1521
1531
|
# },
|
1522
1532
|
# },
|
1523
1533
|
# },
|
1534
|
+
# reasoning_content: {
|
1535
|
+
# reasoning_text: {
|
1536
|
+
# text: "String", # required
|
1537
|
+
# signature: "String",
|
1538
|
+
# },
|
1539
|
+
# redacted_content: "data",
|
1540
|
+
# },
|
1524
1541
|
# },
|
1525
1542
|
# ],
|
1526
1543
|
# },
|
@@ -1610,6 +1627,9 @@ module Aws::BedrockRuntime
|
|
1610
1627
|
# For :content_block_delta event available at #on_content_block_delta_event callback and response eventstream enumerator:
|
1611
1628
|
# event.delta.text #=> String
|
1612
1629
|
# event.delta.tool_use.input #=> String
|
1630
|
+
# event.delta.reasoning_content.text #=> String
|
1631
|
+
# event.delta.reasoning_content.redacted_content #=> String
|
1632
|
+
# event.delta.reasoning_content.signature #=> String
|
1613
1633
|
# event.content_block_index #=> Integer
|
1614
1634
|
#
|
1615
1635
|
# For :content_block_stop event available at #on_content_block_stop_event callback and response eventstream enumerator:
|
@@ -2449,7 +2469,7 @@ module Aws::BedrockRuntime
|
|
2449
2469
|
tracer: tracer
|
2450
2470
|
)
|
2451
2471
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
2452
|
-
context[:gem_version] = '1.
|
2472
|
+
context[:gem_version] = '1.39.0'
|
2453
2473
|
Seahorse::Client::Request.new(handlers, context)
|
2454
2474
|
end
|
2455
2475
|
|
@@ -29,6 +29,7 @@ module Aws::BedrockRuntime
|
|
29
29
|
AsyncInvokeSummaries = Shapes::ListShape.new(name: 'AsyncInvokeSummaries')
|
30
30
|
AsyncInvokeSummary = Shapes::StructureShape.new(name: 'AsyncInvokeSummary')
|
31
31
|
AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
|
32
|
+
Blob = Shapes::BlobShape.new(name: 'Blob')
|
32
33
|
Body = Shapes::BlobShape.new(name: 'Body')
|
33
34
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
34
35
|
ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
|
@@ -187,6 +188,9 @@ module Aws::BedrockRuntime
|
|
187
188
|
PromptRouterTrace = Shapes::StructureShape.new(name: 'PromptRouterTrace')
|
188
189
|
PromptVariableMap = Shapes::MapShape.new(name: 'PromptVariableMap')
|
189
190
|
PromptVariableValues = Shapes::UnionShape.new(name: 'PromptVariableValues')
|
191
|
+
ReasoningContentBlock = Shapes::UnionShape.new(name: 'ReasoningContentBlock')
|
192
|
+
ReasoningContentBlockDelta = Shapes::UnionShape.new(name: 'ReasoningContentBlockDelta')
|
193
|
+
ReasoningTextBlock = Shapes::StructureShape.new(name: 'ReasoningTextBlock')
|
190
194
|
RequestMetadata = Shapes::MapShape.new(name: 'RequestMetadata')
|
191
195
|
RequestMetadataKeyString = Shapes::StringShape.new(name: 'RequestMetadataKeyString')
|
192
196
|
RequestMetadataValueString = Shapes::StringShape.new(name: 'RequestMetadataValueString')
|
@@ -294,6 +298,7 @@ module Aws::BedrockRuntime
|
|
294
298
|
ContentBlock.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlock, location_name: "toolUse"))
|
295
299
|
ContentBlock.add_member(:tool_result, Shapes::ShapeRef.new(shape: ToolResultBlock, location_name: "toolResult"))
|
296
300
|
ContentBlock.add_member(:guard_content, Shapes::ShapeRef.new(shape: GuardrailConverseContentBlock, location_name: "guardContent"))
|
301
|
+
ContentBlock.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
|
297
302
|
ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
298
303
|
ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
|
299
304
|
ContentBlock.add_member_subclass(:image, Types::ContentBlock::Image)
|
@@ -302,14 +307,17 @@ module Aws::BedrockRuntime
|
|
302
307
|
ContentBlock.add_member_subclass(:tool_use, Types::ContentBlock::ToolUse)
|
303
308
|
ContentBlock.add_member_subclass(:tool_result, Types::ContentBlock::ToolResult)
|
304
309
|
ContentBlock.add_member_subclass(:guard_content, Types::ContentBlock::GuardContent)
|
310
|
+
ContentBlock.add_member_subclass(:reasoning_content, Types::ContentBlock::ReasoningContent)
|
305
311
|
ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
|
306
312
|
ContentBlock.struct_class = Types::ContentBlock
|
307
313
|
|
308
314
|
ContentBlockDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
|
309
315
|
ContentBlockDelta.add_member(:tool_use, Shapes::ShapeRef.new(shape: ToolUseBlockDelta, location_name: "toolUse"))
|
316
|
+
ContentBlockDelta.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlockDelta, location_name: "reasoningContent"))
|
310
317
|
ContentBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
311
318
|
ContentBlockDelta.add_member_subclass(:text, Types::ContentBlockDelta::Text)
|
312
319
|
ContentBlockDelta.add_member_subclass(:tool_use, Types::ContentBlockDelta::ToolUse)
|
320
|
+
ContentBlockDelta.add_member_subclass(:reasoning_content, Types::ContentBlockDelta::ReasoningContent)
|
313
321
|
ContentBlockDelta.add_member_subclass(:unknown, Types::ContentBlockDelta::Unknown)
|
314
322
|
ContentBlockDelta.struct_class = Types::ContentBlockDelta
|
315
323
|
|
@@ -741,6 +749,28 @@ module Aws::BedrockRuntime
|
|
741
749
|
PromptVariableValues.add_member_subclass(:unknown, Types::PromptVariableValues::Unknown)
|
742
750
|
PromptVariableValues.struct_class = Types::PromptVariableValues
|
743
751
|
|
752
|
+
ReasoningContentBlock.add_member(:reasoning_text, Shapes::ShapeRef.new(shape: ReasoningTextBlock, location_name: "reasoningText"))
|
753
|
+
ReasoningContentBlock.add_member(:redacted_content, Shapes::ShapeRef.new(shape: Blob, location_name: "redactedContent"))
|
754
|
+
ReasoningContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
755
|
+
ReasoningContentBlock.add_member_subclass(:reasoning_text, Types::ReasoningContentBlock::ReasoningText)
|
756
|
+
ReasoningContentBlock.add_member_subclass(:redacted_content, Types::ReasoningContentBlock::RedactedContent)
|
757
|
+
ReasoningContentBlock.add_member_subclass(:unknown, Types::ReasoningContentBlock::Unknown)
|
758
|
+
ReasoningContentBlock.struct_class = Types::ReasoningContentBlock
|
759
|
+
|
760
|
+
ReasoningContentBlockDelta.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
|
761
|
+
ReasoningContentBlockDelta.add_member(:redacted_content, Shapes::ShapeRef.new(shape: Blob, location_name: "redactedContent"))
|
762
|
+
ReasoningContentBlockDelta.add_member(:signature, Shapes::ShapeRef.new(shape: String, location_name: "signature"))
|
763
|
+
ReasoningContentBlockDelta.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
764
|
+
ReasoningContentBlockDelta.add_member_subclass(:text, Types::ReasoningContentBlockDelta::Text)
|
765
|
+
ReasoningContentBlockDelta.add_member_subclass(:redacted_content, Types::ReasoningContentBlockDelta::RedactedContent)
|
766
|
+
ReasoningContentBlockDelta.add_member_subclass(:signature, Types::ReasoningContentBlockDelta::Signature)
|
767
|
+
ReasoningContentBlockDelta.add_member_subclass(:unknown, Types::ReasoningContentBlockDelta::Unknown)
|
768
|
+
ReasoningContentBlockDelta.struct_class = Types::ReasoningContentBlockDelta
|
769
|
+
|
770
|
+
ReasoningTextBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "text"))
|
771
|
+
ReasoningTextBlock.add_member(:signature, Shapes::ShapeRef.new(shape: String, location_name: "signature"))
|
772
|
+
ReasoningTextBlock.struct_class = Types::ReasoningTextBlock
|
773
|
+
|
744
774
|
RequestMetadata.key = Shapes::ShapeRef.new(shape: RequestMetadataKeyString)
|
745
775
|
RequestMetadata.value = Shapes::ShapeRef.new(shape: RequestMetadataValueString)
|
746
776
|
|
@@ -270,6 +270,12 @@ module Aws::BedrockRuntime
|
|
270
270
|
# the *Amazon Bedrock User Guide*. </p>
|
271
271
|
# @return [Types::GuardrailConverseContentBlock]
|
272
272
|
#
|
273
|
+
# @!attribute [rw] reasoning_content
|
274
|
+
# Contains content regarding the reasoning that is carried out by the
|
275
|
+
# model. Reasoning refers to a Chain of Thought (CoT) that the model
|
276
|
+
# generates to enhance the accuracy of its final response.
|
277
|
+
# @return [Types::ReasoningContentBlock]
|
278
|
+
#
|
273
279
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ContentBlock AWS API Documentation
|
274
280
|
#
|
275
281
|
class ContentBlock < Struct.new(
|
@@ -280,8 +286,9 @@ module Aws::BedrockRuntime
|
|
280
286
|
:tool_use,
|
281
287
|
:tool_result,
|
282
288
|
:guard_content,
|
289
|
+
:reasoning_content,
|
283
290
|
:unknown)
|
284
|
-
SENSITIVE = []
|
291
|
+
SENSITIVE = [:reasoning_content]
|
285
292
|
include Aws::Structure
|
286
293
|
include Aws::Structure::Union
|
287
294
|
|
@@ -292,10 +299,11 @@ module Aws::BedrockRuntime
|
|
292
299
|
class ToolUse < ContentBlock; end
|
293
300
|
class ToolResult < ContentBlock; end
|
294
301
|
class GuardContent < ContentBlock; end
|
302
|
+
class ReasoningContent < ContentBlock; end
|
295
303
|
class Unknown < ContentBlock; end
|
296
304
|
end
|
297
305
|
|
298
|
-
# A
|
306
|
+
# A block of content in a streaming response.
|
299
307
|
#
|
300
308
|
# @note ContentBlockDelta is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ContentBlockDelta corresponding to the set member.
|
301
309
|
#
|
@@ -307,18 +315,26 @@ module Aws::BedrockRuntime
|
|
307
315
|
# Information about a tool that the model is requesting to use.
|
308
316
|
# @return [Types::ToolUseBlockDelta]
|
309
317
|
#
|
318
|
+
# @!attribute [rw] reasoning_content
|
319
|
+
# Contains content regarding the reasoning that is carried out by the
|
320
|
+
# model. Reasoning refers to a Chain of Thought (CoT) that the model
|
321
|
+
# generates to enhance the accuracy of its final response.
|
322
|
+
# @return [Types::ReasoningContentBlockDelta]
|
323
|
+
#
|
310
324
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ContentBlockDelta AWS API Documentation
|
311
325
|
#
|
312
326
|
class ContentBlockDelta < Struct.new(
|
313
327
|
:text,
|
314
328
|
:tool_use,
|
329
|
+
:reasoning_content,
|
315
330
|
:unknown)
|
316
|
-
SENSITIVE = []
|
331
|
+
SENSITIVE = [:reasoning_content]
|
317
332
|
include Aws::Structure
|
318
333
|
include Aws::Structure::Union
|
319
334
|
|
320
335
|
class Text < ContentBlockDelta; end
|
321
336
|
class ToolUse < ContentBlockDelta; end
|
337
|
+
class ReasoningContent < ContentBlockDelta; end
|
322
338
|
class Unknown < ContentBlockDelta; end
|
323
339
|
end
|
324
340
|
|
@@ -2418,6 +2434,101 @@ module Aws::BedrockRuntime
|
|
2418
2434
|
class Unknown < PromptVariableValues; end
|
2419
2435
|
end
|
2420
2436
|
|
2437
|
+
# Contains content regarding the reasoning that is carried out by the
|
2438
|
+
# model with respect to the content in the content block. Reasoning
|
2439
|
+
# refers to a Chain of Thought (CoT) that the model generates to enhance
|
2440
|
+
# the accuracy of its final response.
|
2441
|
+
#
|
2442
|
+
# @note ReasoningContentBlock is a union - when making an API calls you must set exactly one of the members.
|
2443
|
+
#
|
2444
|
+
# @note ReasoningContentBlock is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ReasoningContentBlock corresponding to the set member.
|
2445
|
+
#
|
2446
|
+
# @!attribute [rw] reasoning_text
|
2447
|
+
# The reasoning that the model used to return the output.
|
2448
|
+
# @return [Types::ReasoningTextBlock]
|
2449
|
+
#
|
2450
|
+
# @!attribute [rw] redacted_content
|
2451
|
+
# The content in the reasoning that was encrypted by the model
|
2452
|
+
# provider for safety reasons. The encryption doesn't affect the
|
2453
|
+
# quality of responses.
|
2454
|
+
# @return [String]
|
2455
|
+
#
|
2456
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ReasoningContentBlock AWS API Documentation
|
2457
|
+
#
|
2458
|
+
class ReasoningContentBlock < Struct.new(
|
2459
|
+
:reasoning_text,
|
2460
|
+
:redacted_content,
|
2461
|
+
:unknown)
|
2462
|
+
SENSITIVE = [:reasoning_text]
|
2463
|
+
include Aws::Structure
|
2464
|
+
include Aws::Structure::Union
|
2465
|
+
|
2466
|
+
class ReasoningText < ReasoningContentBlock; end
|
2467
|
+
class RedactedContent < ReasoningContentBlock; end
|
2468
|
+
class Unknown < ReasoningContentBlock; end
|
2469
|
+
end
|
2470
|
+
|
2471
|
+
# Contains content regarding the reasoning that is carried out by the
|
2472
|
+
# model with respect to the content in the content block. Reasoning
|
2473
|
+
# refers to a Chain of Thought (CoT) that the model generates to enhance
|
2474
|
+
# the accuracy of its final response.
|
2475
|
+
#
|
2476
|
+
# @note ReasoningContentBlockDelta is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ReasoningContentBlockDelta corresponding to the set member.
|
2477
|
+
#
|
2478
|
+
# @!attribute [rw] text
|
2479
|
+
# The reasoning that the model used to return the output.
|
2480
|
+
# @return [String]
|
2481
|
+
#
|
2482
|
+
# @!attribute [rw] redacted_content
|
2483
|
+
# The content in the reasoning that was encrypted by the model
|
2484
|
+
# provider for safety reasons. The encryption doesn't affect the
|
2485
|
+
# quality of responses.
|
2486
|
+
# @return [String]
|
2487
|
+
#
|
2488
|
+
# @!attribute [rw] signature
|
2489
|
+
# A token that verifies that the reasoning text was generated by the
|
2490
|
+
# model. If you pass a reasoning block back to the API in a multi-turn
|
2491
|
+
# conversation, include the text and its signature unmodified.
|
2492
|
+
# @return [String]
|
2493
|
+
#
|
2494
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ReasoningContentBlockDelta AWS API Documentation
|
2495
|
+
#
|
2496
|
+
class ReasoningContentBlockDelta < Struct.new(
|
2497
|
+
:text,
|
2498
|
+
:redacted_content,
|
2499
|
+
:signature,
|
2500
|
+
:unknown)
|
2501
|
+
SENSITIVE = []
|
2502
|
+
include Aws::Structure
|
2503
|
+
include Aws::Structure::Union
|
2504
|
+
|
2505
|
+
class Text < ReasoningContentBlockDelta; end
|
2506
|
+
class RedactedContent < ReasoningContentBlockDelta; end
|
2507
|
+
class Signature < ReasoningContentBlockDelta; end
|
2508
|
+
class Unknown < ReasoningContentBlockDelta; end
|
2509
|
+
end
|
2510
|
+
|
2511
|
+
# Contains the reasoning that the model used to return the output.
|
2512
|
+
#
|
2513
|
+
# @!attribute [rw] text
|
2514
|
+
# The reasoning that the model used to return the output.
|
2515
|
+
# @return [String]
|
2516
|
+
#
|
2517
|
+
# @!attribute [rw] signature
|
2518
|
+
# A token that verifies that the reasoning text was generated by the
|
2519
|
+
# model. If you pass a reasoning block back to the API in a multi-turn
|
2520
|
+
# conversation, include the text and its signature unmodified.
|
2521
|
+
# @return [String]
|
2522
|
+
#
|
2523
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/ReasoningTextBlock AWS API Documentation
|
2524
|
+
#
|
2525
|
+
class ReasoningTextBlock < Struct.new(
|
2526
|
+
:text,
|
2527
|
+
:signature)
|
2528
|
+
SENSITIVE = []
|
2529
|
+
include Aws::Structure
|
2530
|
+
end
|
2531
|
+
|
2421
2532
|
# The specified resource ARN was not found. For troubleshooting this
|
2422
2533
|
# error, see [ResourceNotFound][1] in the Amazon Bedrock User Guide
|
2423
2534
|
#
|
data/sig/client.rbs
CHANGED
@@ -203,6 +203,13 @@ module Aws
|
|
203
203
|
bytes: ::String?
|
204
204
|
}
|
205
205
|
}?
|
206
|
+
}?,
|
207
|
+
reasoning_content: {
|
208
|
+
reasoning_text: {
|
209
|
+
text: ::String,
|
210
|
+
signature: ::String?
|
211
|
+
}?,
|
212
|
+
redacted_content: ::String?
|
206
213
|
}?
|
207
214
|
},
|
208
215
|
]
|
@@ -359,6 +366,13 @@ module Aws
|
|
359
366
|
bytes: ::String?
|
360
367
|
}
|
361
368
|
}?
|
369
|
+
}?,
|
370
|
+
reasoning_content: {
|
371
|
+
reasoning_text: {
|
372
|
+
text: ::String,
|
373
|
+
signature: ::String?
|
374
|
+
}?,
|
375
|
+
redacted_content: ::String?
|
362
376
|
}?
|
363
377
|
},
|
364
378
|
]
|
data/sig/types.rbs
CHANGED
@@ -80,8 +80,9 @@ module Aws::BedrockRuntime
|
|
80
80
|
attr_accessor tool_use: Types::ToolUseBlock
|
81
81
|
attr_accessor tool_result: Types::ToolResultBlock
|
82
82
|
attr_accessor guard_content: Types::GuardrailConverseContentBlock
|
83
|
+
attr_accessor reasoning_content: Types::ReasoningContentBlock
|
83
84
|
attr_accessor unknown: untyped
|
84
|
-
SENSITIVE: []
|
85
|
+
SENSITIVE: [:reasoning_content]
|
85
86
|
|
86
87
|
class Text < ContentBlock
|
87
88
|
end
|
@@ -97,6 +98,8 @@ module Aws::BedrockRuntime
|
|
97
98
|
end
|
98
99
|
class GuardContent < ContentBlock
|
99
100
|
end
|
101
|
+
class ReasoningContent < ContentBlock
|
102
|
+
end
|
100
103
|
class Unknown < ContentBlock
|
101
104
|
end
|
102
105
|
end
|
@@ -104,13 +107,16 @@ module Aws::BedrockRuntime
|
|
104
107
|
class ContentBlockDelta
|
105
108
|
attr_accessor text: ::String
|
106
109
|
attr_accessor tool_use: Types::ToolUseBlockDelta
|
110
|
+
attr_accessor reasoning_content: Types::ReasoningContentBlockDelta
|
107
111
|
attr_accessor unknown: untyped
|
108
|
-
SENSITIVE: []
|
112
|
+
SENSITIVE: [:reasoning_content]
|
109
113
|
|
110
114
|
class Text < ContentBlockDelta
|
111
115
|
end
|
112
116
|
class ToolUse < ContentBlockDelta
|
113
117
|
end
|
118
|
+
class ReasoningContent < ContentBlockDelta
|
119
|
+
end
|
114
120
|
class Unknown < ContentBlockDelta
|
115
121
|
end
|
116
122
|
end
|
@@ -652,6 +658,43 @@ module Aws::BedrockRuntime
|
|
652
658
|
end
|
653
659
|
end
|
654
660
|
|
661
|
+
class ReasoningContentBlock
|
662
|
+
attr_accessor reasoning_text: Types::ReasoningTextBlock
|
663
|
+
attr_accessor redacted_content: ::String
|
664
|
+
attr_accessor unknown: untyped
|
665
|
+
SENSITIVE: [:reasoning_text]
|
666
|
+
|
667
|
+
class ReasoningText < ReasoningContentBlock
|
668
|
+
end
|
669
|
+
class RedactedContent < ReasoningContentBlock
|
670
|
+
end
|
671
|
+
class Unknown < ReasoningContentBlock
|
672
|
+
end
|
673
|
+
end
|
674
|
+
|
675
|
+
class ReasoningContentBlockDelta
|
676
|
+
attr_accessor text: ::String
|
677
|
+
attr_accessor redacted_content: ::String
|
678
|
+
attr_accessor signature: ::String
|
679
|
+
attr_accessor unknown: untyped
|
680
|
+
SENSITIVE: []
|
681
|
+
|
682
|
+
class Text < ReasoningContentBlockDelta
|
683
|
+
end
|
684
|
+
class RedactedContent < ReasoningContentBlockDelta
|
685
|
+
end
|
686
|
+
class Signature < ReasoningContentBlockDelta
|
687
|
+
end
|
688
|
+
class Unknown < ReasoningContentBlockDelta
|
689
|
+
end
|
690
|
+
end
|
691
|
+
|
692
|
+
class ReasoningTextBlock
|
693
|
+
attr_accessor text: ::String
|
694
|
+
attr_accessor signature: ::String
|
695
|
+
SENSITIVE: []
|
696
|
+
end
|
697
|
+
|
655
698
|
class ResourceNotFoundException
|
656
699
|
attr_accessor message: ::String
|
657
700
|
SENSITIVE: []
|
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.39.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-02-
|
11
|
+
date: 2025-02-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|