aws-sdk-bedrockagentcore 1.46.0 → 1.47.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: 1ab1b5b089d88698f745fab5b795d301a76038d1b6d541a567ec855c0c4ce54b
4
- data.tar.gz: 104e77f0473574e576d61d883d90e84159ab260ce8e4d7e4ceceb23c1fbdf851
3
+ metadata.gz: 1bcb5023a4082c676fb42e7bf3bd65ce29c96e484c492f4d4ab840c4e432c7e3
4
+ data.tar.gz: 2f514fee3a2249278a2d42f6ee5e1afdc56f469f7e3c1e7c6a2958a9c18a8a7e
5
5
  SHA512:
6
- metadata.gz: bc97159aa514f8cfc53c99f45e62a21f8ca4e4792d491a896583c33bbedd1f0bd8e0a611ce31036373ef6fca89b1c4ca2391d59e512664163bd5e3f2abf52e56
7
- data.tar.gz: 68fd41741afe5f5b5d446c1e7f6436fe514388f5f978805140e385c58a6b61d0574c09e0ecc103e82f4bde5c07086f649fce6a42b971697bc59614af23db78f3
6
+ metadata.gz: f1f81ab49dc2e07763839b74e2cdf76ee2e8aa3f0f5ad6da6c2b92275ad6b8966c9585760a9ade9c8bdc0c7787279c755ef632e088b8aef02667629e07fd31c1
7
+ data.tar.gz: 9dcae51c2d1adb10f618685e6197f837707991db1fd208e4185421070724c1e377d1d6857040b38c882c1c3a8c0f2da5c1b4e9257572f06b88e40cc930ff4f20
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.47.0 (2026-08-11)
5
+ ------------------
6
+
7
+ * Feature - Adding online eval arn as input for recommendation API
8
+
4
9
  1.46.0 (2026-08-06)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.46.0
1
+ 1.47.0
@@ -2329,6 +2329,9 @@ module Aws::BedrockAgentCore
2329
2329
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
2330
2330
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
2331
2331
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
2332
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
2333
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
2334
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
2332
2335
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
2333
2336
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
2334
2337
  # resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
@@ -2353,6 +2356,9 @@ module Aws::BedrockAgentCore
2353
2356
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
2354
2357
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
2355
2358
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
2359
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
2360
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
2361
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
2356
2362
  # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
2357
2363
  # resp.created_at #=> Time
2358
2364
  # resp.updated_at #=> Time
@@ -5849,6 +5855,11 @@ module Aws::BedrockAgentCore
5849
5855
  # batch_evaluation: {
5850
5856
  # batch_evaluation_arn: "BatchEvaluationArn", # required
5851
5857
  # },
5858
+ # online_evaluation: {
5859
+ # online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
5860
+ # start_time: Time.now, # required
5861
+ # end_time: Time.now, # required
5862
+ # },
5852
5863
  # },
5853
5864
  # evaluation_config: {
5854
5865
  # evaluators: [ # required
@@ -5908,6 +5919,11 @@ module Aws::BedrockAgentCore
5908
5919
  # batch_evaluation: {
5909
5920
  # batch_evaluation_arn: "BatchEvaluationArn", # required
5910
5921
  # },
5922
+ # online_evaluation: {
5923
+ # online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
5924
+ # start_time: Time.now, # required
5925
+ # end_time: Time.now, # required
5926
+ # },
5911
5927
  # },
5912
5928
  # },
5913
5929
  # },
@@ -5943,6 +5959,9 @@ module Aws::BedrockAgentCore
5943
5959
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
5944
5960
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
5945
5961
  # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
5962
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
5963
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
5964
+ # resp.recommendation_config.system_prompt_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
5946
5965
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
5947
5966
  # resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
5948
5967
  # resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
@@ -5967,6 +5986,9 @@ module Aws::BedrockAgentCore
5967
5986
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
5968
5987
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
5969
5988
  # resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
5989
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.online_evaluation_config_arn #=> String
5990
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.start_time #=> Time
5991
+ # resp.recommendation_config.tool_description_recommendation_config.agent_traces.online_evaluation.end_time #=> Time
5970
5992
  # resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
5971
5993
  # resp.created_at #=> Time
5972
5994
  # resp.updated_at #=> Time
@@ -6384,7 +6406,7 @@ module Aws::BedrockAgentCore
6384
6406
  tracer: tracer
6385
6407
  )
6386
6408
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
6387
- context[:gem_version] = '1.46.0'
6409
+ context[:gem_version] = '1.47.0'
6388
6410
  Seahorse::Client::Request.new(handlers, context)
6389
6411
  end
6390
6412
 
@@ -541,6 +541,7 @@ module Aws::BedrockAgentCore
541
541
  Oauth2FlowType = Shapes::StringShape.new(name: 'Oauth2FlowType')
542
542
  OnlineEvaluationConfigArn = Shapes::StringShape.new(name: 'OnlineEvaluationConfigArn')
543
543
  OnlineEvaluationConfigSource = Shapes::StructureShape.new(name: 'OnlineEvaluationConfigSource')
544
+ OnlineEvaluationTraceConfig = Shapes::StructureShape.new(name: 'OnlineEvaluationTraceConfig')
544
545
  OperatorType = Shapes::StringShape.new(name: 'OperatorType')
545
546
  OutputConfig = Shapes::UnionShape.new(name: 'OutputConfig')
546
547
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
@@ -856,10 +857,12 @@ module Aws::BedrockAgentCore
856
857
  AgentTracesConfig.add_member(:session_spans, Shapes::ShapeRef.new(shape: Spans, location_name: "sessionSpans"))
857
858
  AgentTracesConfig.add_member(:cloudwatch_logs, Shapes::ShapeRef.new(shape: CloudWatchLogsTraceConfig, location_name: "cloudwatchLogs"))
858
859
  AgentTracesConfig.add_member(:batch_evaluation, Shapes::ShapeRef.new(shape: BatchEvaluationTraceConfig, location_name: "batchEvaluation"))
860
+ AgentTracesConfig.add_member(:online_evaluation, Shapes::ShapeRef.new(shape: OnlineEvaluationTraceConfig, location_name: "onlineEvaluation"))
859
861
  AgentTracesConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
860
862
  AgentTracesConfig.add_member_subclass(:session_spans, Types::AgentTracesConfig::SessionSpans)
861
863
  AgentTracesConfig.add_member_subclass(:cloudwatch_logs, Types::AgentTracesConfig::CloudwatchLogs)
862
864
  AgentTracesConfig.add_member_subclass(:batch_evaluation, Types::AgentTracesConfig::BatchEvaluation)
865
+ AgentTracesConfig.add_member_subclass(:online_evaluation, Types::AgentTracesConfig::OnlineEvaluation)
863
866
  AgentTracesConfig.add_member_subclass(:unknown, Types::AgentTracesConfig::Unknown)
864
867
  AgentTracesConfig.struct_class = Types::AgentTracesConfig
865
868
 
@@ -2584,6 +2587,11 @@ module Aws::BedrockAgentCore
2584
2587
  OnlineEvaluationConfigSource.add_member(:time_range, Shapes::ShapeRef.new(shape: SessionFilterConfig, location_name: "timeRange"))
2585
2588
  OnlineEvaluationConfigSource.struct_class = Types::OnlineEvaluationConfigSource
2586
2589
 
2590
+ OnlineEvaluationTraceConfig.add_member(:online_evaluation_config_arn, Shapes::ShapeRef.new(shape: OnlineEvaluationConfigArn, required: true, location_name: "onlineEvaluationConfigArn"))
2591
+ OnlineEvaluationTraceConfig.add_member(:start_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "startTime"))
2592
+ OnlineEvaluationTraceConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "endTime"))
2593
+ OnlineEvaluationTraceConfig.struct_class = Types::OnlineEvaluationTraceConfig
2594
+
2587
2595
  OutputConfig.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "cloudWatchConfig"))
2588
2596
  OutputConfig.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2589
2597
  OutputConfig.add_member_subclass(:cloud_watch_config, Types::OutputConfig::CloudWatchConfig)
@@ -257,12 +257,18 @@ module Aws::BedrockAgentCore
257
257
  # Use a completed batch evaluation as the source of agent traces.
258
258
  # @return [Types::BatchEvaluationTraceConfig]
259
259
  #
260
+ # @!attribute [rw] online_evaluation
261
+ # Agent traces from an online evaluation configuration over a
262
+ # specified time range.
263
+ # @return [Types::OnlineEvaluationTraceConfig]
264
+ #
260
265
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AgentTracesConfig AWS API Documentation
261
266
  #
262
267
  class AgentTracesConfig < Struct.new(
263
268
  :session_spans,
264
269
  :cloudwatch_logs,
265
270
  :batch_evaluation,
271
+ :online_evaluation,
266
272
  :unknown)
267
273
  SENSITIVE = [:session_spans]
268
274
  include Aws::Structure
@@ -271,6 +277,7 @@ module Aws::BedrockAgentCore
271
277
  class SessionSpans < AgentTracesConfig; end
272
278
  class CloudwatchLogs < AgentTracesConfig; end
273
279
  class BatchEvaluation < AgentTracesConfig; end
280
+ class OnlineEvaluation < AgentTracesConfig; end
274
281
  class Unknown < AgentTracesConfig; end
275
282
  end
276
283
 
@@ -7737,6 +7744,36 @@ module Aws::BedrockAgentCore
7737
7744
  include Aws::Structure
7738
7745
  end
7739
7746
 
7747
+ # Contains the configuration for reusing agent traces from an online
7748
+ # evaluation configuration for recommendation analysis. Because online
7749
+ # evaluation is a continuous stream, a time range specifies which
7750
+ # evaluated sessions the recommendation includes.
7751
+ #
7752
+ # @!attribute [rw] online_evaluation_config_arn
7753
+ # The ARN of the online evaluation configuration to reuse sessions
7754
+ # from.
7755
+ # @return [String]
7756
+ #
7757
+ # @!attribute [rw] start_time
7758
+ # The start time of the time range. Only sessions evaluated at or
7759
+ # after this timestamp are included.
7760
+ # @return [Time]
7761
+ #
7762
+ # @!attribute [rw] end_time
7763
+ # The end time of the time range. Only sessions evaluated before this
7764
+ # timestamp are included.
7765
+ # @return [Time]
7766
+ #
7767
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/OnlineEvaluationTraceConfig AWS API Documentation
7768
+ #
7769
+ class OnlineEvaluationTraceConfig < Struct.new(
7770
+ :online_evaluation_config_arn,
7771
+ :start_time,
7772
+ :end_time)
7773
+ SENSITIVE = []
7774
+ include Aws::Structure
7775
+ end
7776
+
7740
7777
  # Output destination configuration.
7741
7778
  #
7742
7779
  # @note OutputConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OutputConfig corresponding to the set member.
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.46.0'
59
+ GEM_VERSION = '1.47.0'
60
60
 
61
61
  end
62
62
 
data/sig/params.rbs CHANGED
@@ -76,6 +76,11 @@ module Aws
76
76
  cloudwatch_logs: Params::cloud_watch_logs_trace_config?,
77
77
  batch_evaluation: {
78
78
  batch_evaluation_arn: ::String
79
+ }?,
80
+ online_evaluation: {
81
+ online_evaluation_config_arn: ::String,
82
+ start_time: ::Time,
83
+ end_time: ::Time
79
84
  }?
80
85
  }
81
86
 
data/sig/types.rbs CHANGED
@@ -82,6 +82,7 @@ module Aws::BedrockAgentCore
82
82
  attr_accessor session_spans: ::Array[untyped]
83
83
  attr_accessor cloudwatch_logs: Types::CloudWatchLogsTraceConfig
84
84
  attr_accessor batch_evaluation: Types::BatchEvaluationTraceConfig
85
+ attr_accessor online_evaluation: Types::OnlineEvaluationTraceConfig
85
86
  attr_accessor unknown: untyped
86
87
  SENSITIVE: [:session_spans]
87
88
 
@@ -91,6 +92,8 @@ module Aws::BedrockAgentCore
91
92
  end
92
93
  class BatchEvaluation < AgentTracesConfig
93
94
  end
95
+ class OnlineEvaluation < AgentTracesConfig
96
+ end
94
97
  class Unknown < AgentTracesConfig
95
98
  end
96
99
  end
@@ -2344,6 +2347,13 @@ module Aws::BedrockAgentCore
2344
2347
  SENSITIVE: []
2345
2348
  end
2346
2349
 
2350
+ class OnlineEvaluationTraceConfig
2351
+ attr_accessor online_evaluation_config_arn: ::String
2352
+ attr_accessor start_time: ::Time
2353
+ attr_accessor end_time: ::Time
2354
+ SENSITIVE: []
2355
+ end
2356
+
2347
2357
  class OutputConfig
2348
2358
  attr_accessor cloud_watch_config: Types::CloudWatchOutputConfig
2349
2359
  attr_accessor unknown: untyped
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.46.0
4
+ version: 1.47.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services