aws-sdk-bedrockruntime 1.77.0 → 1.79.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: af3aa4537a2b25e1fec6ef07e2f6821cc6d2f2f4b4309505052cb561a21085eb
4
- data.tar.gz: c8335aa582b8a15112c310a48d7a011cf7df80b57db8b9e0417203d884d096ed
3
+ metadata.gz: 7d3bbe84f8f037ecdb1c19fc5b59ab02efd9a6c4f8d84beb2785a5c125a1a318
4
+ data.tar.gz: 2be001e3bb01bd64fa97de8e71a725c68577900bc2a762ce8c31aff5ca65c815
5
5
  SHA512:
6
- metadata.gz: 5cb2f04adf982d27189a9bea73e3cb0934da66daf4b110723b9cd4df9d0e41448fadcf9394f786dcb5e42485ca9771688710809c9d2a5cc351ee586563b29475
7
- data.tar.gz: e1a5916eff6b7c8b9bc27c014d1f2c9c981ea464f1d0fc3fede41c3591ababd3254ec42e64a788e8c2d955ba1974fc95d594301f94717c83e817ad5a133d531a
6
+ metadata.gz: 8f2d2a29d7871e3b21b41e5cb465e75941e0cb50024b8630ec56977d13343948c04bfb0892ebe18951091e9f888a2785d0d8712e05e6390be4802bb6a4edc1b4
7
+ data.tar.gz: 95ddb23a097214f709e8767413c64320f877da9bae93ffe8d6722fb93ae87378efe018038ca9e0db0e7d022bf92f762632806752753cde8573101fe7c959787a
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.79.0 (2026-05-21)
5
+ ------------------
6
+
7
+ * Feature - Adding new BDD representation of endpoint ruleset
8
+
9
+ 1.78.0 (2026-05-20)
10
+ ------------------
11
+
12
+ * Feature - Supporting Request Metadata for Invoke Model and Invoke Model with Response Stream
13
+
4
14
  1.77.0 (2026-05-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.77.0
1
+ 1.79.0
@@ -170,7 +170,7 @@ module Aws::BedrockRuntime
170
170
  # the required types.
171
171
  #
172
172
  # @option options [Boolean] :correct_clock_skew (true)
173
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
173
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
174
174
  # a clock skew correction and retry requests with skewed client clocks.
175
175
  #
176
176
  # @option options [String] :defaults_mode ("legacy")
@@ -285,17 +285,15 @@ module Aws::BedrockRuntime
285
285
  # @option options [String] :retry_mode ("legacy")
286
286
  # Specifies which retry algorithm to use. Values are:
287
287
  #
288
- # * `legacy` - The pre-existing retry behavior. This is default value if
289
- # no retry mode is provided.
288
+ # * `legacy` - The pre-existing retry behavior. This is the default
289
+ # value if no retry mode is provided.
290
290
  #
291
291
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
292
292
  # This includes support for retry quotas, which limit the number of
293
293
  # unsuccessful retries a client can make.
294
294
  #
295
- # * `adaptive` - An experimental retry mode that includes all the
296
- # functionality of `standard` mode along with automatic client side
297
- # throttling. This is a provisional mode that may change behavior
298
- # in the future.
295
+ # * `adaptive` - A retry mode that includes all the functionality of
296
+ # `standard` mode along with automatic client side throttling.
299
297
  #
300
298
  # @option options [String] :sdk_ua_app_id
301
299
  # A unique and opaque application ID that is appended to the
@@ -621,7 +619,7 @@ module Aws::BedrockRuntime
621
619
  tracer: tracer
622
620
  )
623
621
  context[:gem_name] = 'aws-sdk-bedrockruntime'
624
- context[:gem_version] = '1.77.0'
622
+ context[:gem_version] = '1.79.0'
625
623
  Seahorse::Client::Request.new(handlers, context)
626
624
  end
627
625
 
@@ -203,7 +203,7 @@ module Aws::BedrockRuntime
203
203
  # the required types.
204
204
  #
205
205
  # @option options [Boolean] :correct_clock_skew (true)
206
- # Used only in `standard` and adaptive retry modes. Specifies whether to apply
206
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
207
207
  # a clock skew correction and retry requests with skewed client clocks.
208
208
  #
209
209
  # @option options [String] :defaults_mode ("legacy")
@@ -336,17 +336,15 @@ module Aws::BedrockRuntime
336
336
  # @option options [String] :retry_mode ("legacy")
337
337
  # Specifies which retry algorithm to use. Values are:
338
338
  #
339
- # * `legacy` - The pre-existing retry behavior. This is default value if
340
- # no retry mode is provided.
339
+ # * `legacy` - The pre-existing retry behavior. This is the default
340
+ # value if no retry mode is provided.
341
341
  #
342
342
  # * `standard` - A standardized set of retry rules across the AWS SDKs.
343
343
  # This includes support for retry quotas, which limit the number of
344
344
  # unsuccessful retries a client can make.
345
345
  #
346
- # * `adaptive` - An experimental retry mode that includes all the
347
- # functionality of `standard` mode along with automatic client side
348
- # throttling. This is a provisional mode that may change behavior
349
- # in the future.
346
+ # * `adaptive` - A retry mode that includes all the functionality of
347
+ # `standard` mode along with automatic client side throttling.
350
348
  #
351
349
  # @option options [String] :sdk_ua_app_id
352
350
  # A unique and opaque application ID that is appended to the
@@ -3376,6 +3374,9 @@ module Aws::BedrockRuntime
3376
3374
  # @option params [String] :service_tier
3377
3375
  # Specifies the processing tier type used for serving the request.
3378
3376
  #
3377
+ # @option params [String] :request_metadata
3378
+ # Key-value pairs that you can use to filter invocation logs.
3379
+ #
3379
3380
  # @return [Types::InvokeModelResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3380
3381
  #
3381
3382
  # * {Types::InvokeModelResponse#body #body} => String
@@ -3395,6 +3396,7 @@ module Aws::BedrockRuntime
3395
3396
  # guardrail_version: "GuardrailVersion",
3396
3397
  # performance_config_latency: "standard", # accepts standard, optimized
3397
3398
  # service_tier: "priority", # accepts priority, default, flex, reserved
3399
+ # request_metadata: "RequestMetadataJson",
3398
3400
  # })
3399
3401
  #
3400
3402
  # @example Response structure
@@ -3536,6 +3538,9 @@ module Aws::BedrockRuntime
3536
3538
  # @option params [String] :service_tier
3537
3539
  # Specifies the processing tier type used for serving the request.
3538
3540
  #
3541
+ # @option params [String] :request_metadata
3542
+ # Key-value pairs that you can use to filter invocation logs.
3543
+ #
3539
3544
  # @return [Types::InvokeModelWithResponseStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3540
3545
  #
3541
3546
  # * {Types::InvokeModelWithResponseStreamResponse#body #body} => Types::ResponseStream
@@ -3698,6 +3703,7 @@ module Aws::BedrockRuntime
3698
3703
  # guardrail_version: "GuardrailVersion",
3699
3704
  # performance_config_latency: "standard", # accepts standard, optimized
3700
3705
  # service_tier: "priority", # accepts priority, default, flex, reserved
3706
+ # request_metadata: "RequestMetadataJson",
3701
3707
  # })
3702
3708
  #
3703
3709
  # @example Response structure
@@ -3926,7 +3932,7 @@ module Aws::BedrockRuntime
3926
3932
  tracer: tracer
3927
3933
  )
3928
3934
  context[:gem_name] = 'aws-sdk-bedrockruntime'
3929
- context[:gem_version] = '1.77.0'
3935
+ context[:gem_version] = '1.79.0'
3930
3936
  Seahorse::Client::Request.new(handlers, context)
3931
3937
  end
3932
3938
 
@@ -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
- SENSITIVE = [:body]
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
- SENSITIVE = [:body]
3570
+ :service_tier,
3571
+ :request_metadata)
3572
+ SENSITIVE = [:body, :request_metadata]
3563
3573
  include Aws::Structure
3564
3574
  end
3565
3575
 
@@ -73,7 +73,7 @@ module Aws::BedrockRuntime
73
73
  autoload :AsyncClient, 'aws-sdk-bedrockruntime/async_client'
74
74
  autoload :EventStreams, 'aws-sdk-bedrockruntime/event_streams'
75
75
 
76
- GEM_VERSION = '1.77.0'
76
+ GEM_VERSION = '1.79.0'
77
77
 
78
78
  end
79
79
 
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
- SENSITIVE: [:body]
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
- SENSITIVE: [:body]
976
+ attr_accessor request_metadata: ::String
977
+ SENSITIVE: [:body, :request_metadata]
976
978
  end
977
979
 
978
980
  class InvokeModelWithResponseStreamResponse
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockruntime
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.77.0
4
+ version: 1.79.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
@@ -18,7 +18,7 @@ dependencies:
18
18
  version: '3'
19
19
  - - ">="
20
20
  - !ruby/object:Gem::Version
21
- version: 3.247.0
21
+ version: 3.248.0
22
22
  type: :runtime
23
23
  prerelease: false
24
24
  version_requirements: !ruby/object:Gem::Requirement
@@ -28,7 +28,7 @@ dependencies:
28
28
  version: '3'
29
29
  - - ">="
30
30
  - !ruby/object:Gem::Version
31
- version: 3.247.0
31
+ version: 3.248.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement