aws-sdk-bedrockagentcore 1.52.0 → 1.53.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: 2ea69a4c6d4bb550fca8095b24c2b72da5de35950e97baf6624fb7af363bfe3b
4
- data.tar.gz: e31d299668d239e8d6f9e406a2f02d5f35eb3cb06240695dca76b711a35da22c
3
+ metadata.gz: 2700df41935832887655620e334b07a6eda05602ffa6453031b32cc87b010431
4
+ data.tar.gz: b609b8422a0a8703fa8a55303536e63ddb693be96392db3bdada37aacf66e8c7
5
5
  SHA512:
6
- metadata.gz: a7f0c01adacf47e0de279eeb224f426ac47c283fd7a33e672bb44c6e793aa96804129275824b975805f7b07339134594e20ea1df8fdedc26aa93575d1893b835
7
- data.tar.gz: ee9509822ac2af9d615320a4566fa93b0f6bc2c2f5d93518e573640a13707981e4955e66548006000632dcae6b5b88633a0687cc014986c8ce746a86a1dc9617
6
+ metadata.gz: a2d2dd93e1059bb4dc8a7afe73b11e204ca0f16adade1db13f55ad85649362d93c8e9d85a7fd5cc71acefe3511fcaf5e8a321649d846cc3014efc0c5459205e1
7
+ data.tar.gz: 05a656080a8de49fae7c0d03bfedd063e44e666b4f7809ba56af8365db610f0521b27319a189b0e37459b6f9a1f1db77078f3702156aae71309131dc75991686
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.53.0 (2026-09-03)
5
+ ------------------
6
+
7
+ * Feature - Adds log group name prefix trace source selection, custom or source log group result destinations, and metrics namespace customization
8
+
4
9
  1.52.0 (2026-09-02)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.52.0
1
+ 1.53.0
@@ -1747,6 +1747,8 @@ module Aws::BedrockAgentCore
1747
1747
  # resp.data_source_config.cloud_watch_logs.service_names[0] #=> String
1748
1748
  # resp.data_source_config.cloud_watch_logs.log_group_names #=> Array
1749
1749
  # resp.data_source_config.cloud_watch_logs.log_group_names[0] #=> String
1750
+ # resp.data_source_config.cloud_watch_logs.log_group_name_prefixes #=> Array
1751
+ # resp.data_source_config.cloud_watch_logs.log_group_name_prefixes[0] #=> String
1750
1752
  # resp.data_source_config.cloud_watch_logs.filter_config.session_ids #=> Array
1751
1753
  # resp.data_source_config.cloud_watch_logs.filter_config.session_ids[0] #=> String
1752
1754
  # resp.data_source_config.cloud_watch_logs.filter_config.time_range.start_time #=> Time
@@ -1756,6 +1758,8 @@ module Aws::BedrockAgentCore
1756
1758
  # resp.data_source_config.online_evaluation_config_source.time_range.end_time #=> Time
1757
1759
  # resp.output_config.cloud_watch_config.log_group_name #=> String
1758
1760
  # resp.output_config.cloud_watch_config.log_stream_name #=> String
1761
+ # resp.output_config.cloud_watch_config.metrics_namespace #=> String
1762
+ # resp.output_config.cloud_watch_config.result_destination #=> String, one of "DEDICATED_LOG_GROUP", "SOURCE_LOG_GROUP"
1759
1763
  # resp.evaluation_results.number_of_sessions_completed #=> Integer
1760
1764
  # resp.evaluation_results.number_of_sessions_in_progress #=> Integer
1761
1765
  # resp.evaluation_results.number_of_sessions_failed #=> Integer
@@ -5406,6 +5410,9 @@ module Aws::BedrockAgentCore
5406
5410
  # @option params [String] :description
5407
5411
  # The description of the batch evaluation.
5408
5412
  #
5413
+ # @option params [Types::OutputConfig] :output_config
5414
+ # Output destination configuration.
5415
+ #
5409
5416
  # @return [Types::StartBatchEvaluationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5410
5417
  #
5411
5418
  # * {Types::StartBatchEvaluationResponse#batch_evaluation_id #batch_evaluation_id} => String
@@ -5437,7 +5444,8 @@ module Aws::BedrockAgentCore
5437
5444
  # data_source_config: { # required
5438
5445
  # cloud_watch_logs: {
5439
5446
  # service_names: ["String"], # required
5440
- # log_group_names: ["String"], # required
5447
+ # log_group_names: ["LogGroupName"],
5448
+ # log_group_name_prefixes: ["LogGroupNamePrefix"],
5441
5449
  # filter_config: {
5442
5450
  # session_ids: ["String"],
5443
5451
  # time_range: {
@@ -5493,6 +5501,14 @@ module Aws::BedrockAgentCore
5493
5501
  # },
5494
5502
  # kms_key_arn: "KmsKeyArn",
5495
5503
  # description: "BatchEvaluationDescription",
5504
+ # output_config: {
5505
+ # cloud_watch_config: {
5506
+ # log_group_name: "OptionalLogGroupName",
5507
+ # log_stream_name: "LogStreamName",
5508
+ # metrics_namespace: "MetricsNamespace",
5509
+ # result_destination: "DEDICATED_LOG_GROUP", # accepts DEDICATED_LOG_GROUP, SOURCE_LOG_GROUP
5510
+ # },
5511
+ # },
5496
5512
  # })
5497
5513
  #
5498
5514
  # @example Response structure
@@ -5508,6 +5524,8 @@ module Aws::BedrockAgentCore
5508
5524
  # resp.created_at #=> Time
5509
5525
  # resp.output_config.cloud_watch_config.log_group_name #=> String
5510
5526
  # resp.output_config.cloud_watch_config.log_stream_name #=> String
5527
+ # resp.output_config.cloud_watch_config.metrics_namespace #=> String
5528
+ # resp.output_config.cloud_watch_config.result_destination #=> String, one of "DEDICATED_LOG_GROUP", "SOURCE_LOG_GROUP"
5511
5529
  # resp.tags #=> Hash
5512
5530
  # resp.tags["TagKey"] #=> String
5513
5531
  # resp.kms_key_arn #=> String
@@ -6538,7 +6556,7 @@ module Aws::BedrockAgentCore
6538
6556
  tracer: tracer
6539
6557
  )
6540
6558
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
6541
- context[:gem_version] = '1.52.0'
6559
+ context[:gem_version] = '1.53.0'
6542
6560
  Seahorse::Client::Request.new(handlers, context)
6543
6561
  end
6544
6562
 
@@ -100,6 +100,7 @@ module Aws::BedrockAgentCore
100
100
  CloudWatchLogsFilterOperator = Shapes::StringShape.new(name: 'CloudWatchLogsFilterOperator')
101
101
  CloudWatchLogsRule = Shapes::StructureShape.new(name: 'CloudWatchLogsRule')
102
102
  CloudWatchLogsSource = Shapes::StructureShape.new(name: 'CloudWatchLogsSource')
103
+ CloudWatchLogsSourceLogGroupNamePrefixesList = Shapes::ListShape.new(name: 'CloudWatchLogsSourceLogGroupNamePrefixesList')
103
104
  CloudWatchLogsSourceLogGroupNamesList = Shapes::ListShape.new(name: 'CloudWatchLogsSourceLogGroupNamesList')
104
105
  CloudWatchLogsSourceServiceNamesList = Shapes::ListShape.new(name: 'CloudWatchLogsSourceServiceNamesList')
105
106
  CloudWatchLogsTraceConfig = Shapes::StructureShape.new(name: 'CloudWatchLogsTraceConfig')
@@ -475,6 +476,9 @@ module Aws::BedrockAgentCore
475
476
  ListSessionsInput = Shapes::StructureShape.new(name: 'ListSessionsInput')
476
477
  ListSessionsOutput = Shapes::StructureShape.new(name: 'ListSessionsOutput')
477
478
  LiveViewStream = Shapes::StructureShape.new(name: 'LiveViewStream')
479
+ LogGroupName = Shapes::StringShape.new(name: 'LogGroupName')
480
+ LogGroupNamePrefix = Shapes::StringShape.new(name: 'LogGroupNamePrefix')
481
+ LogStreamName = Shapes::StringShape.new(name: 'LogStreamName')
478
482
  Long = Shapes::IntegerShape.new(name: 'Long')
479
483
  MaxLenString = Shapes::StringShape.new(name: 'MaxLenString')
480
484
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
@@ -514,6 +518,7 @@ module Aws::BedrockAgentCore
514
518
  MetadataMap = Shapes::MapShape.new(name: 'MetadataMap')
515
519
  MetadataValue = Shapes::UnionShape.new(name: 'MetadataValue')
516
520
  MetadataValueStringValueString = Shapes::StringShape.new(name: 'MetadataValueStringValueString')
521
+ MetricsNamespace = Shapes::StringShape.new(name: 'MetricsNamespace')
517
522
  MimeType = Shapes::StringShape.new(name: 'MimeType')
518
523
  ModelId = Shapes::StringShape.new(name: 'ModelId')
519
524
  MountPath = Shapes::StringShape.new(name: 'MountPath')
@@ -559,6 +564,7 @@ module Aws::BedrockAgentCore
559
564
  OnlineEvaluationConfigSource = Shapes::StructureShape.new(name: 'OnlineEvaluationConfigSource')
560
565
  OnlineEvaluationTraceConfig = Shapes::StructureShape.new(name: 'OnlineEvaluationTraceConfig')
561
566
  OperatorType = Shapes::StringShape.new(name: 'OperatorType')
567
+ OptionalLogGroupName = Shapes::StringShape.new(name: 'OptionalLogGroupName')
562
568
  OutputConfig = Shapes::UnionShape.new(name: 'OutputConfig')
563
569
  PaginationToken = Shapes::StringShape.new(name: 'PaginationToken')
564
570
  PathPattern = Shapes::StringShape.new(name: 'PathPattern')
@@ -640,6 +646,7 @@ module Aws::BedrockAgentCore
640
646
  ResourcesListType = Shapes::ListShape.new(name: 'ResourcesListType')
641
647
  ResponseChunk = Shapes::StructureShape.new(name: 'ResponseChunk')
642
648
  ResponseStream = Shapes::BlobShape.new(name: 'ResponseStream', streaming: true)
649
+ ResultDestination = Shapes::StringShape.new(name: 'ResultDestination')
643
650
  RetrieveMemoryRecordsInput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsInput')
644
651
  RetrieveMemoryRecordsOutput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsOutput')
645
652
  RetryableConflictException = Shapes::StructureShape.new(name: 'RetryableConflictException')
@@ -1057,11 +1064,14 @@ module Aws::BedrockAgentCore
1057
1064
  CloudWatchLogsRule.struct_class = Types::CloudWatchLogsRule
1058
1065
 
1059
1066
  CloudWatchLogsSource.add_member(:service_names, Shapes::ShapeRef.new(shape: CloudWatchLogsSourceServiceNamesList, required: true, location_name: "serviceNames"))
1060
- CloudWatchLogsSource.add_member(:log_group_names, Shapes::ShapeRef.new(shape: CloudWatchLogsSourceLogGroupNamesList, required: true, location_name: "logGroupNames"))
1067
+ CloudWatchLogsSource.add_member(:log_group_names, Shapes::ShapeRef.new(shape: CloudWatchLogsSourceLogGroupNamesList, location_name: "logGroupNames"))
1068
+ CloudWatchLogsSource.add_member(:log_group_name_prefixes, Shapes::ShapeRef.new(shape: CloudWatchLogsSourceLogGroupNamePrefixesList, location_name: "logGroupNamePrefixes"))
1061
1069
  CloudWatchLogsSource.add_member(:filter_config, Shapes::ShapeRef.new(shape: CloudWatchFilterConfig, location_name: "filterConfig"))
1062
1070
  CloudWatchLogsSource.struct_class = Types::CloudWatchLogsSource
1063
1071
 
1064
- CloudWatchLogsSourceLogGroupNamesList.member = Shapes::ShapeRef.new(shape: String)
1072
+ CloudWatchLogsSourceLogGroupNamePrefixesList.member = Shapes::ShapeRef.new(shape: LogGroupNamePrefix)
1073
+
1074
+ CloudWatchLogsSourceLogGroupNamesList.member = Shapes::ShapeRef.new(shape: LogGroupName)
1065
1075
 
1066
1076
  CloudWatchLogsSourceServiceNamesList.member = Shapes::ShapeRef.new(shape: String)
1067
1077
 
@@ -1074,8 +1084,10 @@ module Aws::BedrockAgentCore
1074
1084
 
1075
1085
  CloudWatchLogsTraceConfigLogGroupArnsList.member = Shapes::ShapeRef.new(shape: String)
1076
1086
 
1077
- CloudWatchOutputConfig.add_member(:log_group_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "logGroupName"))
1078
- CloudWatchOutputConfig.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: String, required: true, location_name: "logStreamName"))
1087
+ CloudWatchOutputConfig.add_member(:log_group_name, Shapes::ShapeRef.new(shape: OptionalLogGroupName, location_name: "logGroupName"))
1088
+ CloudWatchOutputConfig.add_member(:log_stream_name, Shapes::ShapeRef.new(shape: LogStreamName, location_name: "logStreamName"))
1089
+ CloudWatchOutputConfig.add_member(:metrics_namespace, Shapes::ShapeRef.new(shape: MetricsNamespace, location_name: "metricsNamespace"))
1090
+ CloudWatchOutputConfig.add_member(:result_destination, Shapes::ShapeRef.new(shape: ResultDestination, location_name: "resultDestination"))
1079
1091
  CloudWatchOutputConfig.struct_class = Types::CloudWatchOutputConfig
1080
1092
 
1081
1093
  CodeInterpreterResult.add_member(:content, Shapes::ShapeRef.new(shape: ContentBlockList, required: true, location_name: "content"))
@@ -3047,6 +3059,7 @@ module Aws::BedrockAgentCore
3047
3059
  StartBatchEvaluationRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
3048
3060
  StartBatchEvaluationRequest.add_member(:kms_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "kmsKeyArn"))
3049
3061
  StartBatchEvaluationRequest.add_member(:description, Shapes::ShapeRef.new(shape: BatchEvaluationDescription, location_name: "description"))
3062
+ StartBatchEvaluationRequest.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfig, location_name: "outputConfig"))
3050
3063
  StartBatchEvaluationRequest.struct_class = Types::StartBatchEvaluationRequest
3051
3064
 
3052
3065
  StartBatchEvaluationRequestEvaluatorsList.member = Shapes::ShapeRef.new(shape: Evaluator)
@@ -1000,6 +1000,13 @@ module Aws::BedrockAgentCore
1000
1000
  # Maximum of 10 log groups.
1001
1001
  # @return [Array<String>]
1002
1002
  #
1003
+ # @!attribute [rw] log_group_name_prefixes
1004
+ # The list of CloudWatch log group name prefixes to read agent traces
1005
+ # from. Specify this instead of `logGroupNames` to match log groups by
1006
+ # prefix. Maximum of 5 prefixes. Specify either `logGroupNames` or
1007
+ # `logGroupNamePrefixes`, not both. One of the two is required.
1008
+ # @return [Array<String>]
1009
+ #
1003
1010
  # @!attribute [rw] filter_config
1004
1011
  # Optional filter configuration to narrow down which sessions to
1005
1012
  # evaluate.
@@ -1010,6 +1017,7 @@ module Aws::BedrockAgentCore
1010
1017
  class CloudWatchLogsSource < Struct.new(
1011
1018
  :service_names,
1012
1019
  :log_group_names,
1020
+ :log_group_name_prefixes,
1013
1021
  :filter_config)
1014
1022
  SENSITIVE = []
1015
1023
  include Aws::Structure
@@ -1055,7 +1063,11 @@ module Aws::BedrockAgentCore
1055
1063
  #
1056
1064
  # @!attribute [rw] log_group_name
1057
1065
  # The name of the CloudWatch log group where evaluation results will
1058
- # be written.
1066
+ # be written. This value doesn't apply when `resultDestination` is
1067
+ # `SOURCE_LOG_GROUP`, because results are written back to the trace
1068
+ # source log group. The name can't be under the service-reserved
1069
+ # `/aws/bedrock-agentcore/evaluations/` namespace, apart from the
1070
+ # service-managed default group.
1059
1071
  # @return [String]
1060
1072
  #
1061
1073
  # @!attribute [rw] log_stream_name
@@ -1063,11 +1075,31 @@ module Aws::BedrockAgentCore
1063
1075
  # be written.
1064
1076
  # @return [String]
1065
1077
  #
1078
+ # @!attribute [rw] metrics_namespace
1079
+ # The CloudWatch metrics namespace where evaluation result metrics are
1080
+ # published. If you omit this value, the service publishes metrics to
1081
+ # `Bedrock-AgentCore/Evaluations`. This value can't begin with
1082
+ # `AWS/`.
1083
+ # @return [String]
1084
+ #
1085
+ # @!attribute [rw] result_destination
1086
+ # The destination where evaluation results are written. Valid values:
1087
+ #
1088
+ # * `DEDICATED_LOG_GROUP` (default) – Writes results to a dedicated
1089
+ # result log group.
1090
+ #
1091
+ # * `SOURCE_LOG_GROUP` – Writes results back to the log group that the
1092
+ # agent traces were read from. If you use this value, don't specify
1093
+ # `logGroupName`.
1094
+ # @return [String]
1095
+ #
1066
1096
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CloudWatchOutputConfig AWS API Documentation
1067
1097
  #
1068
1098
  class CloudWatchOutputConfig < Struct.new(
1069
1099
  :log_group_name,
1070
- :log_stream_name)
1100
+ :log_stream_name,
1101
+ :metrics_namespace,
1102
+ :result_destination)
1071
1103
  SENSITIVE = []
1072
1104
  include Aws::Structure
1073
1105
  end
@@ -8066,6 +8098,8 @@ module Aws::BedrockAgentCore
8066
8098
 
8067
8099
  # Output destination configuration.
8068
8100
  #
8101
+ # @note OutputConfig is a union - when making an API calls you must set exactly one of the members.
8102
+ #
8069
8103
  # @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.
8070
8104
  #
8071
8105
  # @!attribute [rw] cloud_watch_config
@@ -9698,6 +9732,10 @@ module Aws::BedrockAgentCore
9698
9732
  # The description of the batch evaluation.
9699
9733
  # @return [String]
9700
9734
  #
9735
+ # @!attribute [rw] output_config
9736
+ # Output destination configuration.
9737
+ # @return [Types::OutputConfig]
9738
+ #
9701
9739
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartBatchEvaluationRequest AWS API Documentation
9702
9740
  #
9703
9741
  class StartBatchEvaluationRequest < Struct.new(
@@ -9709,7 +9747,8 @@ module Aws::BedrockAgentCore
9709
9747
  :evaluation_metadata,
9710
9748
  :tags,
9711
9749
  :kms_key_arn,
9712
- :description)
9750
+ :description,
9751
+ :output_config)
9713
9752
  SENSITIVE = []
9714
9753
  include Aws::Structure
9715
9754
  end
@@ -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.52.0'
59
+ GEM_VERSION = '1.53.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -1436,7 +1436,8 @@ module Aws
1436
1436
  data_source_config: {
1437
1437
  cloud_watch_logs: {
1438
1438
  service_names: Array[::String],
1439
- log_group_names: Array[::String],
1439
+ log_group_names: Array[::String]?,
1440
+ log_group_name_prefixes: Array[::String]?,
1440
1441
  filter_config: {
1441
1442
  session_ids: Array[::String]?,
1442
1443
  time_range: {
@@ -1487,7 +1488,15 @@ module Aws
1487
1488
  },
1488
1489
  ?tags: Hash[::String, ::String],
1489
1490
  ?kms_key_arn: ::String,
1490
- ?description: ::String
1491
+ ?description: ::String,
1492
+ ?output_config: {
1493
+ cloud_watch_config: {
1494
+ log_group_name: ::String?,
1495
+ log_stream_name: ::String?,
1496
+ metrics_namespace: ::String?,
1497
+ result_destination: ("DEDICATED_LOG_GROUP" | "SOURCE_LOG_GROUP")?
1498
+ }?
1499
+ }
1491
1500
  ) -> _StartBatchEvaluationResponseSuccess
1492
1501
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartBatchEvaluationResponseSuccess
1493
1502
 
data/sig/types.rbs CHANGED
@@ -329,6 +329,7 @@ module Aws::BedrockAgentCore
329
329
  class CloudWatchLogsSource
330
330
  attr_accessor service_names: ::Array[::String]
331
331
  attr_accessor log_group_names: ::Array[::String]
332
+ attr_accessor log_group_name_prefixes: ::Array[::String]
332
333
  attr_accessor filter_config: Types::CloudWatchFilterConfig
333
334
  SENSITIVE: []
334
335
  end
@@ -345,6 +346,8 @@ module Aws::BedrockAgentCore
345
346
  class CloudWatchOutputConfig
346
347
  attr_accessor log_group_name: ::String
347
348
  attr_accessor log_stream_name: ::String
349
+ attr_accessor metrics_namespace: ::String
350
+ attr_accessor result_destination: ("DEDICATED_LOG_GROUP" | "SOURCE_LOG_GROUP")
348
351
  SENSITIVE: []
349
352
  end
350
353
 
@@ -2936,6 +2939,7 @@ module Aws::BedrockAgentCore
2936
2939
  attr_accessor tags: ::Hash[::String, ::String]
2937
2940
  attr_accessor kms_key_arn: ::String
2938
2941
  attr_accessor description: ::String
2942
+ attr_accessor output_config: Types::OutputConfig
2939
2943
  SENSITIVE: []
2940
2944
  end
2941
2945
 
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.52.0
4
+ version: 1.53.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services