aws-sdk-bedrock 1.96.0 → 1.98.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: e3892a74218db8feb52f919ccfb8ffab1f8df3b302b6395015df1d24a830b3ca
4
- data.tar.gz: da16566ac37eb2deef9586b4a9fcf17b0a4562827b7555e5bf0d45dca18041e4
3
+ metadata.gz: '089f37d7a510b15dfa91a8203461879a1ce4949e74027624cc5ee77f00bc771d'
4
+ data.tar.gz: f264269744d44b10fcaaa8c9bbc6bee2417789e5963be169476163a120e46dad
5
5
  SHA512:
6
- metadata.gz: da1ec44667f74ec8c5426bde2c54162688d3e4ff5af744537e168296776db86811d0cc5e2f6c9eba4f385677726e6757a41e77060f7fae570276e4c434f765da
7
- data.tar.gz: ce298eb193d6f5a90ace015243ea696248f92f522e0410b12bbeefc71fa2bc3d5071fa7b8bfe652981e5f82a8a4e204a1719ea5002487bcfd85dbc69a5018891
6
+ metadata.gz: 2b669e720bf6c22376114d1d7c519dea4eb448910a9a5f85b95182f6713246c944a501b99de514486dfbabf7b09949fe1053799f0c9bb0a1c59844ed79c8ad80
7
+ data.tar.gz: a10ad32c2b737305431cce5ac8291b72604b46cfef1716810f5b8b34c009edbe47dc8115436e44fc24d575d0d2f384b0c9468a0af135128e5a75a8df3ea4bc09
data/CHANGELOG.md CHANGED
@@ -1,6 +1,16 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.98.0 (2026-10-21)
5
+ ------------------
6
+
7
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
8
+
9
+ 1.97.0 (2026-10-20)
10
+ ------------------
11
+
12
+ * Feature - Amazon Bedrock Guardrails now supports a configurable tier for the contextual grounding policy via a new tier option. Select the Standard tier for grounding that better supports conversations and reasoning, with expanded language coverage.
13
+
4
14
  1.96.0 (2026-10-19)
5
15
  ------------------
6
16
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.96.0
1
+ 1.98.0
@@ -201,13 +201,20 @@ module Aws::Bedrock
201
201
  # the required types.
202
202
  #
203
203
  # @option options [Boolean] :correct_clock_skew (true)
204
- # Used only in `standard` and `adaptive` retry modes. Specifies whether to apply
205
- # a clock skew correction and retry requests with skewed client clocks.
204
+ # Used only in `standard` and `adaptive` retry modes. Specifies whether
205
+ # to apply a clock skew correction and retry requests with skewed client
206
+ # clocks. Takes effect only when `disable_clock_skew_correction` is not set.
206
207
  #
207
208
  # @option options [String] :defaults_mode ("legacy")
208
209
  # See {Aws::DefaultsModeConfiguration} for a list of the
209
210
  # accepted modes and the configuration defaults that are included.
210
211
  #
212
+ # @option options [Boolean] :disable_clock_skew_correction
213
+ # Used only in `standard` and `adaptive` retry modes. When `true`, the
214
+ # SDK does not apply a clock skew correction, does not update its stored
215
+ # skew from responses, and does not retry clock skew errors. Clock skew
216
+ # correction is enabled by default.
217
+ #
211
218
  # @option options [Boolean] :disable_host_prefix_injection (false)
212
219
  # When `true`, the SDK will not prepend the modeled host prefix to the endpoint.
213
220
  #
@@ -1991,6 +1998,9 @@ module Aws::Bedrock
1991
1998
  # enabled: false,
1992
1999
  # },
1993
2000
  # ],
2001
+ # tier_config: {
2002
+ # tier_name: "CLASSIC", # required, accepts CLASSIC, STANDARD
2003
+ # },
1994
2004
  # },
1995
2005
  # automated_reasoning_policy_config: {
1996
2006
  # policies: ["AutomatedReasoningPolicyArn"], # required
@@ -4673,6 +4683,7 @@ module Aws::Bedrock
4673
4683
  # resp.contextual_grounding_policy.filters[0].threshold #=> Float
4674
4684
  # resp.contextual_grounding_policy.filters[0].action #=> String, one of "BLOCK", "NONE"
4675
4685
  # resp.contextual_grounding_policy.filters[0].enabled #=> Boolean
4686
+ # resp.contextual_grounding_policy.tier.tier_name #=> String, one of "CLASSIC", "STANDARD"
4676
4687
  # resp.automated_reasoning_policy.policies #=> Array
4677
4688
  # resp.automated_reasoning_policy.policies[0] #=> String
4678
4689
  # resp.automated_reasoning_policy.confidence_threshold #=> Float
@@ -8180,6 +8191,9 @@ module Aws::Bedrock
8180
8191
  # enabled: false,
8181
8192
  # },
8182
8193
  # ],
8194
+ # tier_config: {
8195
+ # tier_name: "CLASSIC", # required, accepts CLASSIC, STANDARD
8196
+ # },
8183
8197
  # },
8184
8198
  # automated_reasoning_policy_config: {
8185
8199
  # policies: ["AutomatedReasoningPolicyArn"], # required
@@ -8346,7 +8360,7 @@ module Aws::Bedrock
8346
8360
  tracer: tracer
8347
8361
  )
8348
8362
  context[:gem_name] = 'aws-sdk-bedrock'
8349
- context[:gem_version] = '1.96.0'
8363
+ context[:gem_version] = '1.98.0'
8350
8364
  Seahorse::Client::Request.new(handlers, context)
8351
8365
  end
8352
8366
 
@@ -512,6 +512,9 @@ module Aws::Bedrock
512
512
  GuardrailContextualGroundingFiltersConfig = Shapes::ListShape.new(name: 'GuardrailContextualGroundingFiltersConfig')
513
513
  GuardrailContextualGroundingPolicy = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingPolicy')
514
514
  GuardrailContextualGroundingPolicyConfig = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingPolicyConfig')
515
+ GuardrailContextualGroundingTier = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingTier')
516
+ GuardrailContextualGroundingTierConfig = Shapes::StructureShape.new(name: 'GuardrailContextualGroundingTierConfig')
517
+ GuardrailContextualGroundingTierName = Shapes::StringShape.new(name: 'GuardrailContextualGroundingTierName')
515
518
  GuardrailCrossRegionConfig = Shapes::StructureShape.new(name: 'GuardrailCrossRegionConfig')
516
519
  GuardrailCrossRegionDetails = Shapes::StructureShape.new(name: 'GuardrailCrossRegionDetails')
517
520
  GuardrailCrossRegionGuardrailProfileArn = Shapes::StringShape.new(name: 'GuardrailCrossRegionGuardrailProfileArn')
@@ -2665,11 +2668,19 @@ module Aws::Bedrock
2665
2668
  GuardrailContextualGroundingFiltersConfig.member = Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilterConfig)
2666
2669
 
2667
2670
  GuardrailContextualGroundingPolicy.add_member(:filters, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFilters, required: true, location_name: "filters"))
2671
+ GuardrailContextualGroundingPolicy.add_member(:tier, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingTier, location_name: "tier"))
2668
2672
  GuardrailContextualGroundingPolicy.struct_class = Types::GuardrailContextualGroundingPolicy
2669
2673
 
2670
2674
  GuardrailContextualGroundingPolicyConfig.add_member(:filters_config, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingFiltersConfig, required: true, location_name: "filtersConfig"))
2675
+ GuardrailContextualGroundingPolicyConfig.add_member(:tier_config, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingTierConfig, location_name: "tierConfig"))
2671
2676
  GuardrailContextualGroundingPolicyConfig.struct_class = Types::GuardrailContextualGroundingPolicyConfig
2672
2677
 
2678
+ GuardrailContextualGroundingTier.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingTierName, required: true, location_name: "tierName"))
2679
+ GuardrailContextualGroundingTier.struct_class = Types::GuardrailContextualGroundingTier
2680
+
2681
+ GuardrailContextualGroundingTierConfig.add_member(:tier_name, Shapes::ShapeRef.new(shape: GuardrailContextualGroundingTierName, required: true, location_name: "tierName"))
2682
+ GuardrailContextualGroundingTierConfig.struct_class = Types::GuardrailContextualGroundingTierConfig
2683
+
2673
2684
  GuardrailCrossRegionConfig.add_member(:guardrail_profile_identifier, Shapes::ShapeRef.new(shape: GuardrailCrossRegionGuardrailProfileIdentifier, required: true, location_name: "guardrailProfileIdentifier"))
2674
2685
  GuardrailCrossRegionConfig.struct_class = Types::GuardrailCrossRegionConfig
2675
2686
 
@@ -8423,10 +8423,15 @@ module Aws::Bedrock
8423
8423
  # The filter details for the guardrails contextual grounding policy.
8424
8424
  # @return [Array<Types::GuardrailContextualGroundingFilter>]
8425
8425
  #
8426
+ # @!attribute [rw] tier
8427
+ # The tier that your guardrail uses for contextual grounding.
8428
+ # @return [Types::GuardrailContextualGroundingTier]
8429
+ #
8426
8430
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContextualGroundingPolicy AWS API Documentation
8427
8431
  #
8428
8432
  class GuardrailContextualGroundingPolicy < Struct.new(
8429
- :filters)
8433
+ :filters,
8434
+ :tier)
8430
8435
  SENSITIVE = []
8431
8436
  include Aws::Structure
8432
8437
  end
@@ -8439,14 +8444,75 @@ module Aws::Bedrock
8439
8444
  # grounding policy.
8440
8445
  # @return [Array<Types::GuardrailContextualGroundingFilterConfig>]
8441
8446
  #
8447
+ # @!attribute [rw] tier_config
8448
+ # The tier that your guardrail uses for contextual grounding.
8449
+ # @return [Types::GuardrailContextualGroundingTierConfig]
8450
+ #
8442
8451
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContextualGroundingPolicyConfig AWS API Documentation
8443
8452
  #
8444
8453
  class GuardrailContextualGroundingPolicyConfig < Struct.new(
8445
- :filters_config)
8454
+ :filters_config,
8455
+ :tier_config)
8446
8456
  SENSITIVE = []
8447
8457
  include Aws::Structure
8448
8458
  end
8449
8459
 
8460
+ # Specifies the tier that your guardrail uses for contextual grounding
8461
+ # checks.
8462
+ #
8463
+ # @!attribute [rw] tier_name
8464
+ # The tier that your guardrail uses for contextual grounding. Valid
8465
+ # values include:
8466
+ #
8467
+ # * `CLASSIC` tier – Provides established contextual grounding
8468
+ # functionality supporting English, French, and Spanish languages.
8469
+ #
8470
+ # * `STANDARD` tier – Provides a more robust solution than the
8471
+ # `CLASSIC` tier, with support for reasoning, conversational content
8472
+ # and more comprehensive language support. This tier requires that
8473
+ # your guardrail use [cross-Region inference][1].
8474
+ #
8475
+ #
8476
+ #
8477
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
8478
+ # @return [String]
8479
+ #
8480
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContextualGroundingTier AWS API Documentation
8481
+ #
8482
+ class GuardrailContextualGroundingTier < Struct.new(
8483
+ :tier_name)
8484
+ SENSITIVE = [:tier_name]
8485
+ include Aws::Structure
8486
+ end
8487
+
8488
+ # Specifies the tier that your guardrail uses for contextual grounding
8489
+ # checks.
8490
+ #
8491
+ # @!attribute [rw] tier_name
8492
+ # The tier that your guardrail uses for contextual grounding. Valid
8493
+ # values include:
8494
+ #
8495
+ # * `CLASSIC` tier – Provides established contextual grounding
8496
+ # functionality supporting English, French, and Spanish languages.
8497
+ #
8498
+ # * `STANDARD` tier – Provides a more robust solution than the
8499
+ # `CLASSIC` tier, with support for reasoning, conversational content
8500
+ # and more comprehensive language support. This tier requires that
8501
+ # your guardrail use [cross-Region inference][1].
8502
+ #
8503
+ #
8504
+ #
8505
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/guardrails-cross-region.html
8506
+ # @return [String]
8507
+ #
8508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-2023-04-20/GuardrailContextualGroundingTierConfig AWS API Documentation
8509
+ #
8510
+ class GuardrailContextualGroundingTierConfig < Struct.new(
8511
+ :tier_name)
8512
+ SENSITIVE = [:tier_name]
8513
+ include Aws::Structure
8514
+ end
8515
+
8450
8516
  # The system-defined guardrail profile that you're using with your
8451
8517
  # guardrail. Guardrail profiles define the destination Amazon Web
8452
8518
  # Services Regions where guardrail inference requests can be
@@ -13088,7 +13154,7 @@ module Aws::Bedrock
13088
13154
  #
13089
13155
  # The following example would return data sources with an animals
13090
13156
  # attribute that is a list containing a cat member (for example,
13091
- # `["dog", "cat"] `): `"listContains": { "key": "animals", "value":
13157
+ # `["dog", "cat"]`): `"listContains": { "key": "animals", "value":
13092
13158
  # "cat" }`
13093
13159
  # @return [Types::FilterAttribute]
13094
13160
  #
@@ -55,7 +55,7 @@ module Aws::Bedrock
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrock/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrock/endpoints'
57
57
 
58
- GEM_VERSION = '1.96.0'
58
+ GEM_VERSION = '1.98.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
data/sig/params.rbs CHANGED
@@ -395,7 +395,10 @@ module Aws
395
395
  action: ("BLOCK" | "NONE")?,
396
396
  enabled: bool?
397
397
  }
398
- ]
398
+ ],
399
+ tier_config: {
400
+ tier_name: ("CLASSIC" | "STANDARD")
401
+ }?
399
402
  }
400
403
 
401
404
  type sage_maker_endpoint = {
data/sig/resource.rbs CHANGED
@@ -27,6 +27,7 @@ module Aws
27
27
  ?convert_params: bool,
28
28
  ?correct_clock_skew: bool,
29
29
  ?defaults_mode: String,
30
+ ?disable_clock_skew_correction: bool,
30
31
  ?disable_host_prefix_injection: bool,
31
32
  ?disable_request_compression: bool,
32
33
  ?endpoint: String,
data/sig/types.rbs CHANGED
@@ -2246,14 +2246,26 @@ module Aws::Bedrock
2246
2246
 
2247
2247
  class GuardrailContextualGroundingPolicy
2248
2248
  attr_accessor filters: ::Array[Types::GuardrailContextualGroundingFilter]
2249
+ attr_accessor tier: Types::GuardrailContextualGroundingTier
2249
2250
  SENSITIVE: []
2250
2251
  end
2251
2252
 
2252
2253
  class GuardrailContextualGroundingPolicyConfig
2253
2254
  attr_accessor filters_config: ::Array[Types::GuardrailContextualGroundingFilterConfig]
2255
+ attr_accessor tier_config: Types::GuardrailContextualGroundingTierConfig
2254
2256
  SENSITIVE: []
2255
2257
  end
2256
2258
 
2259
+ class GuardrailContextualGroundingTier
2260
+ attr_accessor tier_name: ("CLASSIC" | "STANDARD")
2261
+ SENSITIVE: [:tier_name]
2262
+ end
2263
+
2264
+ class GuardrailContextualGroundingTierConfig
2265
+ attr_accessor tier_name: ("CLASSIC" | "STANDARD")
2266
+ SENSITIVE: [:tier_name]
2267
+ end
2268
+
2257
2269
  class GuardrailCrossRegionConfig
2258
2270
  attr_accessor guardrail_profile_identifier: ::String
2259
2271
  SENSITIVE: []
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.96.0
4
+ version: 1.98.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.258.0
21
+ version: 3.260.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.258.0
31
+ version: 3.260.0
32
32
  - !ruby/object:Gem::Dependency
33
33
  name: aws-sigv4
34
34
  requirement: !ruby/object:Gem::Requirement