aws-sdk-bedrockagent 1.73.0 → 1.74.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: 879f1e868a1018262c36773a3f3ee5d5d7876ce6c5ff1be5ee5fa07779557ba3
4
- data.tar.gz: 1b2124182a9d7a45840460a895a38c2f49b40d89ac8e92fef323e281350938aa
3
+ metadata.gz: 2a7a2d64f59ed9f42dd76238baa30a642a6b35e273576fcfc93d26d87fff2f84
4
+ data.tar.gz: 87b29a7901b448024ef3109018f6793a130fc73a997b3fb4221863ef7a353b23
5
5
  SHA512:
6
- metadata.gz: 351507ba5eda8dad5e2f7bc4e3fdc40821bdc5d0182d1d2d715aecdcb516146b9d4019456cafb497817cf47835067b6b7920ecc17976ba3092097f45f2cce3a2
7
- data.tar.gz: eb12ba336b227287a184a63d9ba9ac95c65d533267572f7c519be16c3776137da7ef4f1f39bd6f435b13efd0302014b8915bf334e5fbdee693ba11f68bc6f9bd
6
+ metadata.gz: 91691bd09b00dbe2b0c7518058d0bc15c8a234b4c446d037ee471f78eb5e2da1231138e5a5b0d9270fa6ea38cb138a8338d9fbd47a22a8cfa9e79da7e6035248
7
+ data.tar.gz: f69978c5111bf7d858f54b21b3e70cf5c63caa9aa1c91204e8c1648bb68b655fd6152eff861069252cb37a4c6de272588f12d095967890c683db029ff1e92392
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.74.0 (2026-04-03)
5
+ ------------------
6
+
7
+ * Feature - Added strict parameter to ToolSpecification to allow users to enforce strict JSON schema adherence for tool input schemas.
8
+
4
9
  1.73.0 (2026-03-18)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.73.0
1
+ 1.74.0
@@ -1700,6 +1700,7 @@ module Aws::BedrockAgent
1700
1700
  # json: {
1701
1701
  # },
1702
1702
  # },
1703
+ # strict: false,
1703
1704
  # },
1704
1705
  # cache_point: {
1705
1706
  # type: "default", # required, accepts default
@@ -1886,6 +1887,7 @@ module Aws::BedrockAgent
1886
1887
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
1887
1888
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
1888
1889
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
1890
+ # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
1889
1891
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
1890
1892
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
1891
1893
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
@@ -2147,6 +2149,7 @@ module Aws::BedrockAgent
2147
2149
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
2148
2150
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
2149
2151
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
2152
+ # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
2150
2153
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
2151
2154
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
2152
2155
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
@@ -2703,6 +2706,7 @@ module Aws::BedrockAgent
2703
2706
  # json: {
2704
2707
  # },
2705
2708
  # },
2709
+ # strict: false,
2706
2710
  # },
2707
2711
  # cache_point: {
2708
2712
  # type: "default", # required, accepts default
@@ -2777,6 +2781,7 @@ module Aws::BedrockAgent
2777
2781
  # resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
2778
2782
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
2779
2783
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
2784
+ # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
2780
2785
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
2781
2786
  # resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
2782
2787
  # resp.variants[0].model_id #=> String
@@ -2890,6 +2895,7 @@ module Aws::BedrockAgent
2890
2895
  # resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
2891
2896
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
2892
2897
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
2898
+ # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
2893
2899
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
2894
2900
  # resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
2895
2901
  # resp.variants[0].model_id #=> String
@@ -3984,6 +3990,7 @@ module Aws::BedrockAgent
3984
3990
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
3985
3991
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
3986
3992
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
3993
+ # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
3987
3994
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
3988
3995
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
3989
3996
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
@@ -4239,6 +4246,7 @@ module Aws::BedrockAgent
4239
4246
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
4240
4247
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
4241
4248
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
4249
+ # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
4242
4250
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
4243
4251
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
4244
4252
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
@@ -4593,6 +4601,7 @@ module Aws::BedrockAgent
4593
4601
  # resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
4594
4602
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
4595
4603
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
4604
+ # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
4596
4605
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
4597
4606
  # resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
4598
4607
  # resp.variants[0].model_id #=> String
@@ -6929,6 +6938,7 @@ module Aws::BedrockAgent
6929
6938
  # json: {
6930
6939
  # },
6931
6940
  # },
6941
+ # strict: false,
6932
6942
  # },
6933
6943
  # cache_point: {
6934
6944
  # type: "default", # required, accepts default
@@ -7112,6 +7122,7 @@ module Aws::BedrockAgent
7112
7122
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
7113
7123
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
7114
7124
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
7125
+ # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
7115
7126
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
7116
7127
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
7117
7128
  # resp.definition.nodes[0].configuration.prompt.source_configuration.inline.model_id #=> String
@@ -7688,6 +7699,7 @@ module Aws::BedrockAgent
7688
7699
  # json: {
7689
7700
  # },
7690
7701
  # },
7702
+ # strict: false,
7691
7703
  # },
7692
7704
  # cache_point: {
7693
7705
  # type: "default", # required, accepts default
@@ -7759,6 +7771,7 @@ module Aws::BedrockAgent
7759
7771
  # resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
7760
7772
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
7761
7773
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
7774
+ # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.strict #=> Boolean
7762
7775
  # resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
7763
7776
  # resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
7764
7777
  # resp.variants[0].model_id #=> String
@@ -7944,6 +7957,7 @@ module Aws::BedrockAgent
7944
7957
  # json: {
7945
7958
  # },
7946
7959
  # },
7960
+ # strict: false,
7947
7961
  # },
7948
7962
  # cache_point: {
7949
7963
  # type: "default", # required, accepts default
@@ -8143,7 +8157,7 @@ module Aws::BedrockAgent
8143
8157
  tracer: tracer
8144
8158
  )
8145
8159
  context[:gem_name] = 'aws-sdk-bedrockagent'
8146
- context[:gem_version] = '1.73.0'
8160
+ context[:gem_version] = '1.74.0'
8147
8161
  Seahorse::Client::Request.new(handlers, context)
8148
8162
  end
8149
8163
 
@@ -2700,6 +2700,7 @@ module Aws::BedrockAgent
2700
2700
  ToolSpecification.add_member(:name, Shapes::ShapeRef.new(shape: ToolName, required: true, location_name: "name"))
2701
2701
  ToolSpecification.add_member(:description, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "description"))
2702
2702
  ToolSpecification.add_member(:input_schema, Shapes::ShapeRef.new(shape: ToolInputSchema, required: true, location_name: "inputSchema"))
2703
+ ToolSpecification.add_member(:strict, Shapes::ShapeRef.new(shape: Boolean, location_name: "strict"))
2703
2704
  ToolSpecification.struct_class = Types::ToolSpecification
2704
2705
 
2705
2706
  Transformation.add_member(:transformation_function, Shapes::ShapeRef.new(shape: TransformationFunction, required: true, location_name: "transformationFunction"))
@@ -10317,12 +10317,17 @@ module Aws::BedrockAgent
10317
10317
  # The input schema for the tool.
10318
10318
  # @return [Types::ToolInputSchema]
10319
10319
  #
10320
+ # @!attribute [rw] strict
10321
+ # Whether to enforce strict JSON schema adherence for the tool input
10322
+ # @return [Boolean]
10323
+ #
10320
10324
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ToolSpecification AWS API Documentation
10321
10325
  #
10322
10326
  class ToolSpecification < Struct.new(
10323
10327
  :name,
10324
10328
  :description,
10325
- :input_schema)
10329
+ :input_schema,
10330
+ :strict)
10326
10331
  SENSITIVE = []
10327
10332
  include Aws::Structure
10328
10333
  end
@@ -55,7 +55,7 @@ module Aws::BedrockAgent
55
55
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
57
57
 
58
- GEM_VERSION = '1.73.0'
58
+ GEM_VERSION = '1.74.0'
59
59
 
60
60
  end
61
61
 
data/sig/client.rbs CHANGED
@@ -566,7 +566,8 @@ module Aws
566
566
  input_schema: {
567
567
  json: {
568
568
  }?
569
- }
569
+ },
570
+ strict: bool?
570
571
  }?,
571
572
  cache_point: {
572
573
  type: ("default")
@@ -998,7 +999,8 @@ module Aws
998
999
  input_schema: {
999
1000
  json: {
1000
1001
  }?
1001
- }
1002
+ },
1003
+ strict: bool?
1002
1004
  }?,
1003
1005
  cache_point: {
1004
1006
  type: ("default")
@@ -2263,7 +2265,8 @@ module Aws
2263
2265
  input_schema: {
2264
2266
  json: {
2265
2267
  }?
2266
- }
2268
+ },
2269
+ strict: bool?
2267
2270
  }?,
2268
2271
  cache_point: {
2269
2272
  type: ("default")
@@ -2671,7 +2674,8 @@ module Aws
2671
2674
  input_schema: {
2672
2675
  json: {
2673
2676
  }?
2674
- }
2677
+ },
2678
+ strict: bool?
2675
2679
  }?,
2676
2680
  cache_point: {
2677
2681
  type: ("default")
@@ -2865,7 +2869,8 @@ module Aws
2865
2869
  input_schema: {
2866
2870
  json: {
2867
2871
  }?
2868
- }
2872
+ },
2873
+ strict: bool?
2869
2874
  }?,
2870
2875
  cache_point: {
2871
2876
  type: ("default")
data/sig/types.rbs CHANGED
@@ -2652,6 +2652,7 @@ module Aws::BedrockAgent
2652
2652
  attr_accessor name: ::String
2653
2653
  attr_accessor description: ::String
2654
2654
  attr_accessor input_schema: Types::ToolInputSchema
2655
+ attr_accessor strict: bool
2655
2656
  SENSITIVE: []
2656
2657
  end
2657
2658
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.73.0
4
+ version: 1.74.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services