aws-sdk-bedrockruntime 1.77.0 → 1.78.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/async_client.rb +1 -1
- data/lib/aws-sdk-bedrockruntime/client.rb +9 -1
- data/lib/aws-sdk-bedrockruntime/client_api.rb +3 -0
- data/lib/aws-sdk-bedrockruntime/types.rb +14 -4
- data/lib/aws-sdk-bedrockruntime.rb +1 -1
- data/sig/client.rbs +4 -2
- data/sig/types.rbs +4 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c1f8855f2636f303d99775193c7365e3179b8b88036e596dd4176c7d4851d324
|
|
4
|
+
data.tar.gz: fbb2fb59dee917cb24ae52bd4e55bd534701f11d7cdf7ab34339e2adda053367
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b10c5a0dc32076a90b370e6084d64b0e92b9b45b5e61d179131017ea9f0adb5cb0893e14509c9a9d3ab5cf4b083fa64e163e8f225534223f69ab22f6f944eb25
|
|
7
|
+
data.tar.gz: 70690c21b91c44fbbf3ca2e064db0fc61b2bac50e224ae1d1c2d66c26b9a7b01c6557d5edd251e9cf977fbe9d41a393d16c44acd54b88e4b709e237fc83d90fc
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.78.0
|
|
@@ -3376,6 +3376,9 @@ module Aws::BedrockRuntime
|
|
|
3376
3376
|
# @option params [String] :service_tier
|
|
3377
3377
|
# Specifies the processing tier type used for serving the request.
|
|
3378
3378
|
#
|
|
3379
|
+
# @option params [String] :request_metadata
|
|
3380
|
+
# Key-value pairs that you can use to filter invocation logs.
|
|
3381
|
+
#
|
|
3379
3382
|
# @return [Types::InvokeModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3380
3383
|
#
|
|
3381
3384
|
# * {Types::InvokeModelResponse#body #body} => String
|
|
@@ -3395,6 +3398,7 @@ module Aws::BedrockRuntime
|
|
|
3395
3398
|
# guardrail_version: "GuardrailVersion",
|
|
3396
3399
|
# performance_config_latency: "standard", # accepts standard, optimized
|
|
3397
3400
|
# service_tier: "priority", # accepts priority, default, flex, reserved
|
|
3401
|
+
# request_metadata: "RequestMetadataJson",
|
|
3398
3402
|
# })
|
|
3399
3403
|
#
|
|
3400
3404
|
# @example Response structure
|
|
@@ -3536,6 +3540,9 @@ module Aws::BedrockRuntime
|
|
|
3536
3540
|
# @option params [String] :service_tier
|
|
3537
3541
|
# Specifies the processing tier type used for serving the request.
|
|
3538
3542
|
#
|
|
3543
|
+
# @option params [String] :request_metadata
|
|
3544
|
+
# Key-value pairs that you can use to filter invocation logs.
|
|
3545
|
+
#
|
|
3539
3546
|
# @return [Types::InvokeModelWithResponseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
3540
3547
|
#
|
|
3541
3548
|
# * {Types::InvokeModelWithResponseStreamResponse#body #body} => Types::ResponseStream
|
|
@@ -3698,6 +3705,7 @@ module Aws::BedrockRuntime
|
|
|
3698
3705
|
# guardrail_version: "GuardrailVersion",
|
|
3699
3706
|
# performance_config_latency: "standard", # accepts standard, optimized
|
|
3700
3707
|
# service_tier: "priority", # accepts priority, default, flex, reserved
|
|
3708
|
+
# request_metadata: "RequestMetadataJson",
|
|
3701
3709
|
# })
|
|
3702
3710
|
#
|
|
3703
3711
|
# @example Response structure
|
|
@@ -3926,7 +3934,7 @@ module Aws::BedrockRuntime
|
|
|
3926
3934
|
tracer: tracer
|
|
3927
3935
|
)
|
|
3928
3936
|
context[:gem_name] = 'aws-sdk-bedrockruntime'
|
|
3929
|
-
context[:gem_version] = '1.
|
|
3937
|
+
context[:gem_version] = '1.78.0'
|
|
3930
3938
|
Seahorse::Client::Request.new(handlers, context)
|
|
3931
3939
|
end
|
|
3932
3940
|
|
|
@@ -289,6 +289,7 @@ module Aws::BedrockRuntime
|
|
|
289
289
|
ReasoningContentBlockDelta = Shapes::UnionShape.new(name: 'ReasoningContentBlockDelta')
|
|
290
290
|
ReasoningTextBlock = Shapes::StructureShape.new(name: 'ReasoningTextBlock')
|
|
291
291
|
RequestMetadata = Shapes::MapShape.new(name: 'RequestMetadata')
|
|
292
|
+
RequestMetadataJson = Shapes::StringShape.new(name: 'RequestMetadataJson')
|
|
292
293
|
RequestMetadataKeyString = Shapes::StringShape.new(name: 'RequestMetadataKeyString')
|
|
293
294
|
RequestMetadataValueString = Shapes::StringShape.new(name: 'RequestMetadataValueString')
|
|
294
295
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
@@ -1064,6 +1065,7 @@ module Aws::BedrockRuntime
|
|
|
1064
1065
|
InvokeModelRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
|
|
1065
1066
|
InvokeModelRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
|
|
1066
1067
|
InvokeModelRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
|
|
1068
|
+
InvokeModelRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadataJson, location: "header", location_name: "X-Amzn-Bedrock-Request-Metadata"))
|
|
1067
1069
|
InvokeModelRequest.struct_class = Types::InvokeModelRequest
|
|
1068
1070
|
InvokeModelRequest[:payload] = :body
|
|
1069
1071
|
InvokeModelRequest[:payload_member] = InvokeModelRequest.member(:body)
|
|
@@ -1111,6 +1113,7 @@ module Aws::BedrockRuntime
|
|
|
1111
1113
|
InvokeModelWithResponseStreamRequest.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location: "header", location_name: "X-Amzn-Bedrock-GuardrailVersion"))
|
|
1112
1114
|
InvokeModelWithResponseStreamRequest.add_member(:performance_config_latency, Shapes::ShapeRef.new(shape: PerformanceConfigLatency, location: "header", location_name: "X-Amzn-Bedrock-PerformanceConfig-Latency"))
|
|
1113
1115
|
InvokeModelWithResponseStreamRequest.add_member(:service_tier, Shapes::ShapeRef.new(shape: ServiceTierType, location: "header", location_name: "X-Amzn-Bedrock-Service-Tier"))
|
|
1116
|
+
InvokeModelWithResponseStreamRequest.add_member(:request_metadata, Shapes::ShapeRef.new(shape: RequestMetadataJson, location: "header", location_name: "X-Amzn-Bedrock-Request-Metadata"))
|
|
1114
1117
|
InvokeModelWithResponseStreamRequest.struct_class = Types::InvokeModelWithResponseStreamRequest
|
|
1115
1118
|
InvokeModelWithResponseStreamRequest[:payload] = :body
|
|
1116
1119
|
InvokeModelWithResponseStreamRequest[:payload_member] = InvokeModelWithResponseStreamRequest.member(:body)
|
|
@@ -3338,6 +3338,10 @@ module Aws::BedrockRuntime
|
|
|
3338
3338
|
# Specifies the processing tier type used for serving the request.
|
|
3339
3339
|
# @return [String]
|
|
3340
3340
|
#
|
|
3341
|
+
# @!attribute [rw] request_metadata
|
|
3342
|
+
# Key-value pairs that you can use to filter invocation logs.
|
|
3343
|
+
# @return [String]
|
|
3344
|
+
#
|
|
3341
3345
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/InvokeModelRequest AWS API Documentation
|
|
3342
3346
|
#
|
|
3343
3347
|
class InvokeModelRequest < Struct.new(
|
|
@@ -3349,8 +3353,9 @@ module Aws::BedrockRuntime
|
|
|
3349
3353
|
:guardrail_identifier,
|
|
3350
3354
|
:guardrail_version,
|
|
3351
3355
|
:performance_config_latency,
|
|
3352
|
-
:service_tier
|
|
3353
|
-
|
|
3356
|
+
:service_tier,
|
|
3357
|
+
:request_metadata)
|
|
3358
|
+
SENSITIVE = [:body, :request_metadata]
|
|
3354
3359
|
include Aws::Structure
|
|
3355
3360
|
end
|
|
3356
3361
|
|
|
@@ -3547,6 +3552,10 @@ module Aws::BedrockRuntime
|
|
|
3547
3552
|
# Specifies the processing tier type used for serving the request.
|
|
3548
3553
|
# @return [String]
|
|
3549
3554
|
#
|
|
3555
|
+
# @!attribute [rw] request_metadata
|
|
3556
|
+
# Key-value pairs that you can use to filter invocation logs.
|
|
3557
|
+
# @return [String]
|
|
3558
|
+
#
|
|
3550
3559
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-runtime-2023-09-30/InvokeModelWithResponseStreamRequest AWS API Documentation
|
|
3551
3560
|
#
|
|
3552
3561
|
class InvokeModelWithResponseStreamRequest < Struct.new(
|
|
@@ -3558,8 +3567,9 @@ module Aws::BedrockRuntime
|
|
|
3558
3567
|
:guardrail_identifier,
|
|
3559
3568
|
:guardrail_version,
|
|
3560
3569
|
:performance_config_latency,
|
|
3561
|
-
:service_tier
|
|
3562
|
-
|
|
3570
|
+
:service_tier,
|
|
3571
|
+
:request_metadata)
|
|
3572
|
+
SENSITIVE = [:body, :request_metadata]
|
|
3563
3573
|
include Aws::Structure
|
|
3564
3574
|
end
|
|
3565
3575
|
|
data/sig/client.rbs
CHANGED
|
@@ -266,7 +266,8 @@ module Aws
|
|
|
266
266
|
?guardrail_identifier: ::String,
|
|
267
267
|
?guardrail_version: ::String,
|
|
268
268
|
?performance_config_latency: ("standard" | "optimized"),
|
|
269
|
-
?service_tier: ("priority" | "default" | "flex" | "reserved")
|
|
269
|
+
?service_tier: ("priority" | "default" | "flex" | "reserved"),
|
|
270
|
+
?request_metadata: ::String
|
|
270
271
|
) -> _InvokeModelResponseSuccess
|
|
271
272
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _InvokeModelResponseSuccess
|
|
272
273
|
|
|
@@ -287,7 +288,8 @@ module Aws
|
|
|
287
288
|
?guardrail_identifier: ::String,
|
|
288
289
|
?guardrail_version: ::String,
|
|
289
290
|
?performance_config_latency: ("standard" | "optimized"),
|
|
290
|
-
?service_tier: ("priority" | "default" | "flex" | "reserved")
|
|
291
|
+
?service_tier: ("priority" | "default" | "flex" | "reserved"),
|
|
292
|
+
?request_metadata: ::String
|
|
291
293
|
) ?{ (*untyped) -> void } -> _InvokeModelWithResponseStreamResponseSuccess
|
|
292
294
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) ?{ (*untyped) -> void } -> _InvokeModelWithResponseStreamResponseSuccess
|
|
293
295
|
|
data/sig/types.rbs
CHANGED
|
@@ -935,7 +935,8 @@ module Aws::BedrockRuntime
|
|
|
935
935
|
attr_accessor guardrail_version: ::String
|
|
936
936
|
attr_accessor performance_config_latency: ("standard" | "optimized")
|
|
937
937
|
attr_accessor service_tier: ("priority" | "default" | "flex" | "reserved")
|
|
938
|
-
|
|
938
|
+
attr_accessor request_metadata: ::String
|
|
939
|
+
SENSITIVE: [:body, :request_metadata]
|
|
939
940
|
end
|
|
940
941
|
|
|
941
942
|
class InvokeModelResponse
|
|
@@ -972,7 +973,8 @@ module Aws::BedrockRuntime
|
|
|
972
973
|
attr_accessor guardrail_version: ::String
|
|
973
974
|
attr_accessor performance_config_latency: ("standard" | "optimized")
|
|
974
975
|
attr_accessor service_tier: ("priority" | "default" | "flex" | "reserved")
|
|
975
|
-
|
|
976
|
+
attr_accessor request_metadata: ::String
|
|
977
|
+
SENSITIVE: [:body, :request_metadata]
|
|
976
978
|
end
|
|
977
979
|
|
|
978
980
|
class InvokeModelWithResponseStreamResponse
|