aws-sdk-bedrockagentcore 1.39.0 → 1.41.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 +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +135 -2
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +183 -1
- data/lib/aws-sdk-bedrockagentcore/types.rb +555 -6
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +33 -3
- data/sig/params.rbs +4 -1
- data/sig/types.rbs +147 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 044ec81afe6730941e647120f5a6738a075bcabfbf8653cd11b06a5584e6283c
|
|
4
|
+
data.tar.gz: 8ac07b9552d67a47b2f22fc525ba1fdcde89aafb2a3d3fbad5d6213a1fdebb0f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 932bcbcf525d9a97a097bed90c143f5a3f448e230e4494c70d1d9314178b0b77fcd9d3f462ca020aa9bd98f663ca58396138e45dbbcbb0745609df63f35cdbbc
|
|
7
|
+
data.tar.gz: 9de3cc48449b0bc9c031f066bd743217860fc82854b9d88b5a47fc6f9060a3a5b9dd465264b6b854492e07831c7314e5fe3f7217c9f17e85fe08021581048349
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.41.0 (2026-06-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AgentCore Harness service will be Generally Available at NYS 2026 with this Treb release. Harness will support invoking specific endpoints via the qualifier parameter, AWS Skills for pre-built agent capabilities, and improved validation for skill git source URLs.
|
|
8
|
+
|
|
9
|
+
1.40.0 (2026-06-12)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Added tagging and CMK support across optimization, an explanation field in recommendation output, and an insights feature to identify failure patterns, extract user intents, and summarize execution behavior
|
|
13
|
+
|
|
4
14
|
1.39.0 (2026-06-11)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.41.0
|
|
@@ -751,6 +751,9 @@ module Aws::BedrockAgentCore
|
|
|
751
751
|
# **A suitable default value is auto-generated.** You should normally
|
|
752
752
|
# not need to pass this option.**
|
|
753
753
|
#
|
|
754
|
+
# @option params [Hash<String,String>] :tags
|
|
755
|
+
# A map of tag keys and values to associate with the A/B test.
|
|
756
|
+
#
|
|
754
757
|
# @return [Types::CreateABTestResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
755
758
|
#
|
|
756
759
|
# * {Types::CreateABTestResponse#ab_test_id #ab_test_id} => String
|
|
@@ -796,6 +799,9 @@ module Aws::BedrockAgentCore
|
|
|
796
799
|
# role_arn: "RoleArn", # required
|
|
797
800
|
# enable_on_create: false,
|
|
798
801
|
# client_token: "ClientToken",
|
|
802
|
+
# tags: {
|
|
803
|
+
# "TagKey" => "TagValue",
|
|
804
|
+
# },
|
|
799
805
|
# })
|
|
800
806
|
#
|
|
801
807
|
# @example Response structure
|
|
@@ -1639,12 +1645,17 @@ module Aws::BedrockAgentCore
|
|
|
1639
1645
|
# * {Types::GetBatchEvaluationResponse#status #status} => String
|
|
1640
1646
|
# * {Types::GetBatchEvaluationResponse#created_at #created_at} => Time
|
|
1641
1647
|
# * {Types::GetBatchEvaluationResponse#evaluators #evaluators} => Array<Types::Evaluator>
|
|
1648
|
+
# * {Types::GetBatchEvaluationResponse#insights #insights} => Array<Types::Insight>
|
|
1642
1649
|
# * {Types::GetBatchEvaluationResponse#data_source_config #data_source_config} => Types::DataSourceConfig
|
|
1643
1650
|
# * {Types::GetBatchEvaluationResponse#output_config #output_config} => Types::OutputConfig
|
|
1644
1651
|
# * {Types::GetBatchEvaluationResponse#evaluation_results #evaluation_results} => Types::EvaluationJobResults
|
|
1652
|
+
# * {Types::GetBatchEvaluationResponse#failure_analysis_result #failure_analysis_result} => Types::FailureAnalysisResultContent
|
|
1653
|
+
# * {Types::GetBatchEvaluationResponse#user_intent_result #user_intent_result} => Types::UserIntentClusteringResultContent
|
|
1654
|
+
# * {Types::GetBatchEvaluationResponse#execution_summary_result #execution_summary_result} => Types::ExecutionSummaryClusteringResultContent
|
|
1645
1655
|
# * {Types::GetBatchEvaluationResponse#error_details #error_details} => Array<String>
|
|
1646
1656
|
# * {Types::GetBatchEvaluationResponse#description #description} => String
|
|
1647
1657
|
# * {Types::GetBatchEvaluationResponse#updated_at #updated_at} => Time
|
|
1658
|
+
# * {Types::GetBatchEvaluationResponse#kms_key_arn #kms_key_arn} => String
|
|
1648
1659
|
#
|
|
1649
1660
|
# @example Request syntax with placeholder values
|
|
1650
1661
|
#
|
|
@@ -1661,6 +1672,8 @@ module Aws::BedrockAgentCore
|
|
|
1661
1672
|
# resp.created_at #=> Time
|
|
1662
1673
|
# resp.evaluators #=> Array
|
|
1663
1674
|
# resp.evaluators[0].evaluator_id #=> String
|
|
1675
|
+
# resp.insights #=> Array
|
|
1676
|
+
# resp.insights[0].insight_id #=> String
|
|
1664
1677
|
# resp.data_source_config.cloud_watch_logs.service_names #=> Array
|
|
1665
1678
|
# resp.data_source_config.cloud_watch_logs.service_names[0] #=> String
|
|
1666
1679
|
# resp.data_source_config.cloud_watch_logs.log_group_names #=> Array
|
|
@@ -1669,6 +1682,9 @@ module Aws::BedrockAgentCore
|
|
|
1669
1682
|
# resp.data_source_config.cloud_watch_logs.filter_config.session_ids[0] #=> String
|
|
1670
1683
|
# resp.data_source_config.cloud_watch_logs.filter_config.time_range.start_time #=> Time
|
|
1671
1684
|
# resp.data_source_config.cloud_watch_logs.filter_config.time_range.end_time #=> Time
|
|
1685
|
+
# resp.data_source_config.online_evaluation_config_source.online_evaluation_config_arn #=> String
|
|
1686
|
+
# resp.data_source_config.online_evaluation_config_source.time_range.start_time #=> Time
|
|
1687
|
+
# resp.data_source_config.online_evaluation_config_source.time_range.end_time #=> Time
|
|
1672
1688
|
# resp.output_config.cloud_watch_config.log_group_name #=> String
|
|
1673
1689
|
# resp.output_config.cloud_watch_config.log_stream_name #=> String
|
|
1674
1690
|
# resp.evaluation_results.number_of_sessions_completed #=> Integer
|
|
@@ -1681,10 +1697,57 @@ module Aws::BedrockAgentCore
|
|
|
1681
1697
|
# resp.evaluation_results.evaluator_summaries[0].statistics.average_score #=> Float
|
|
1682
1698
|
# resp.evaluation_results.evaluator_summaries[0].total_evaluated #=> Integer
|
|
1683
1699
|
# resp.evaluation_results.evaluator_summaries[0].total_failed #=> Integer
|
|
1700
|
+
# resp.failure_analysis_result.failures #=> Array
|
|
1701
|
+
# resp.failure_analysis_result.failures[0].cluster_id #=> Integer
|
|
1702
|
+
# resp.failure_analysis_result.failures[0].name #=> String
|
|
1703
|
+
# resp.failure_analysis_result.failures[0].description #=> String
|
|
1704
|
+
# resp.failure_analysis_result.failures[0].affected_session_count #=> Integer
|
|
1705
|
+
# resp.failure_analysis_result.failures[0].sub_categories #=> Array
|
|
1706
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].cluster_id #=> Integer
|
|
1707
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].name #=> String
|
|
1708
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].description #=> String
|
|
1709
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].affected_session_count #=> Integer
|
|
1710
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes #=> Array
|
|
1711
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].cluster_id #=> Integer
|
|
1712
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].name #=> String
|
|
1713
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].root_cause #=> String
|
|
1714
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].recommendation #=> String
|
|
1715
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_session_count #=> Integer
|
|
1716
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions #=> Array
|
|
1717
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].session_id #=> String
|
|
1718
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].explanation #=> String
|
|
1719
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].fix_type #=> String
|
|
1720
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].recommendation #=> String
|
|
1721
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans #=> Array
|
|
1722
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].span_id #=> String
|
|
1723
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].trace_id #=> String
|
|
1724
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].signals #=> Array
|
|
1725
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].signals[0].category #=> String, one of "execution-error-category-authentication", "execution-error-category-resource-not-found", "execution-error-category-service-errors", "execution-error-category-rate-limiting", "execution-error-category-formatting", "execution-error-category-timeout", "execution-error-category-resource-exhaustion", "execution-error-category-environment", "execution-error-category-tool-schema", "task-instruction-category-non-compliance", "task-instruction-category-problem-id", "incorrect-actions-category-tool-selection", "incorrect-actions-category-poor-information-retrieval", "incorrect-actions-category-clarification", "incorrect-actions-category-inappropriate-info-request", "context-handling-error-category-context-handling-failures", "hallucination-category-hall-capabilities", "hallucination-category-hall-misunderstand", "hallucination-category-hall-usage", "hallucination-category-hall-history", "hallucination-category-hall-params", "hallucination-category-fabricate-tool-outputs", "repetitive-behavior-category-repetition-tool", "repetitive-behavior-category-repetition-info", "repetitive-behavior-category-step-repetition", "orchestration-related-errors-category-reasoning-mismatch", "orchestration-related-errors-category-goal-deviation", "orchestration-related-errors-category-premature-termination", "orchestration-related-errors-category-unaware-termination", "llm-output-category-nonsensical", "configuration-mismatch-category-tool-definition", "coding-use-case-specific-failure-types-category-edge-case-oversights", "coding-use-case-specific-failure-types-category-dependency-issues", "other"
|
|
1726
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].signals[0].evidence #=> String
|
|
1727
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].signals[0].confidence #=> Float
|
|
1728
|
+
# resp.user_intent_result.user_intents #=> Array
|
|
1729
|
+
# resp.user_intent_result.user_intents[0].cluster_id #=> Integer
|
|
1730
|
+
# resp.user_intent_result.user_intents[0].name #=> String
|
|
1731
|
+
# resp.user_intent_result.user_intents[0].description #=> String
|
|
1732
|
+
# resp.user_intent_result.user_intents[0].affected_session_count #=> Integer
|
|
1733
|
+
# resp.user_intent_result.user_intents[0].affected_sessions #=> Array
|
|
1734
|
+
# resp.user_intent_result.user_intents[0].affected_sessions[0].session_id #=> String
|
|
1735
|
+
# resp.user_intent_result.user_intents[0].affected_sessions[0].user_messages #=> Array
|
|
1736
|
+
# resp.user_intent_result.user_intents[0].affected_sessions[0].user_messages[0] #=> String
|
|
1737
|
+
# resp.execution_summary_result.execution_summaries #=> Array
|
|
1738
|
+
# resp.execution_summary_result.execution_summaries[0].cluster_id #=> Integer
|
|
1739
|
+
# resp.execution_summary_result.execution_summaries[0].name #=> String
|
|
1740
|
+
# resp.execution_summary_result.execution_summaries[0].description #=> String
|
|
1741
|
+
# resp.execution_summary_result.execution_summaries[0].affected_session_count #=> Integer
|
|
1742
|
+
# resp.execution_summary_result.execution_summaries[0].affected_sessions #=> Array
|
|
1743
|
+
# resp.execution_summary_result.execution_summaries[0].affected_sessions[0].session_id #=> String
|
|
1744
|
+
# resp.execution_summary_result.execution_summaries[0].affected_sessions[0].approach_taken #=> String
|
|
1745
|
+
# resp.execution_summary_result.execution_summaries[0].affected_sessions[0].final_outcome #=> String
|
|
1684
1746
|
# resp.error_details #=> Array
|
|
1685
1747
|
# resp.error_details[0] #=> String
|
|
1686
1748
|
# resp.description #=> String
|
|
1687
1749
|
# resp.updated_at #=> Time
|
|
1750
|
+
# resp.kms_key_arn #=> String
|
|
1688
1751
|
#
|
|
1689
1752
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetBatchEvaluation AWS API Documentation
|
|
1690
1753
|
#
|
|
@@ -2169,6 +2232,7 @@ module Aws::BedrockAgentCore
|
|
|
2169
2232
|
# * {Types::GetRecommendationResponse#created_at #created_at} => Time
|
|
2170
2233
|
# * {Types::GetRecommendationResponse#updated_at #updated_at} => Time
|
|
2171
2234
|
# * {Types::GetRecommendationResponse#recommendation_result #recommendation_result} => Types::RecommendationResult
|
|
2235
|
+
# * {Types::GetRecommendationResponse#kms_key_arn #kms_key_arn} => String
|
|
2172
2236
|
#
|
|
2173
2237
|
# @example Request syntax with placeholder values
|
|
2174
2238
|
#
|
|
@@ -2200,6 +2264,7 @@ module Aws::BedrockAgentCore
|
|
|
2200
2264
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.string_value #=> String
|
|
2201
2265
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
2202
2266
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
2267
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
2203
2268
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
|
|
2204
2269
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
|
|
2205
2270
|
# resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
|
|
@@ -2223,21 +2288,25 @@ module Aws::BedrockAgentCore
|
|
|
2223
2288
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.string_value #=> String
|
|
2224
2289
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
2225
2290
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
2291
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
2226
2292
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
|
|
2227
2293
|
# resp.created_at #=> Time
|
|
2228
2294
|
# resp.updated_at #=> Time
|
|
2229
2295
|
# resp.recommendation_result.system_prompt_recommendation_result.recommended_system_prompt #=> String
|
|
2230
2296
|
# resp.recommendation_result.system_prompt_recommendation_result.configuration_bundle.bundle_arn #=> String
|
|
2231
2297
|
# resp.recommendation_result.system_prompt_recommendation_result.configuration_bundle.version_id #=> String
|
|
2298
|
+
# resp.recommendation_result.system_prompt_recommendation_result.explanation #=> String
|
|
2232
2299
|
# resp.recommendation_result.system_prompt_recommendation_result.error_code #=> String
|
|
2233
2300
|
# resp.recommendation_result.system_prompt_recommendation_result.error_message #=> String
|
|
2234
2301
|
# resp.recommendation_result.tool_description_recommendation_result.tools #=> Array
|
|
2235
2302
|
# resp.recommendation_result.tool_description_recommendation_result.tools[0].tool_name #=> String
|
|
2236
2303
|
# resp.recommendation_result.tool_description_recommendation_result.tools[0].recommended_tool_description #=> String
|
|
2304
|
+
# resp.recommendation_result.tool_description_recommendation_result.tools[0].explanation #=> String
|
|
2237
2305
|
# resp.recommendation_result.tool_description_recommendation_result.configuration_bundle.bundle_arn #=> String
|
|
2238
2306
|
# resp.recommendation_result.tool_description_recommendation_result.configuration_bundle.version_id #=> String
|
|
2239
2307
|
# resp.recommendation_result.tool_description_recommendation_result.error_code #=> String
|
|
2240
2308
|
# resp.recommendation_result.tool_description_recommendation_result.error_message #=> String
|
|
2309
|
+
# resp.kms_key_arn #=> String
|
|
2241
2310
|
#
|
|
2242
2311
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetRecommendation AWS API Documentation
|
|
2243
2312
|
#
|
|
@@ -3428,6 +3497,9 @@ module Aws::BedrockAgentCore
|
|
|
3428
3497
|
# @option params [required, String] :harness_arn
|
|
3429
3498
|
# The ARN of the harness to invoke.
|
|
3430
3499
|
#
|
|
3500
|
+
# @option params [String] :qualifier
|
|
3501
|
+
# The endpoint name to invoke. If omitted, the DEFAULT endpoint is used.
|
|
3502
|
+
#
|
|
3431
3503
|
# @option params [required, String] :runtime_session_id
|
|
3432
3504
|
# The session ID for the invocation. Use the same session ID across
|
|
3433
3505
|
# requests to continue a conversation.
|
|
@@ -3644,6 +3716,7 @@ module Aws::BedrockAgentCore
|
|
|
3644
3716
|
#
|
|
3645
3717
|
# resp = client.invoke_harness({
|
|
3646
3718
|
# harness_arn: "HarnessArn", # required
|
|
3719
|
+
# qualifier: "HarnessEndpointName",
|
|
3647
3720
|
# runtime_session_id: "InvokeHarnessRequestRuntimeSessionIdString", # required
|
|
3648
3721
|
# runtime_user_id: "String",
|
|
3649
3722
|
# messages: [ # required
|
|
@@ -3784,6 +3857,9 @@ module Aws::BedrockAgentCore
|
|
|
3784
3857
|
# username: "String",
|
|
3785
3858
|
# },
|
|
3786
3859
|
# },
|
|
3860
|
+
# aws_skills: {
|
|
3861
|
+
# paths: ["HarnessAwsSkillPath"],
|
|
3862
|
+
# },
|
|
3787
3863
|
# },
|
|
3788
3864
|
# ],
|
|
3789
3865
|
# allowed_tools: ["HarnessAllowedTool"],
|
|
@@ -4016,6 +4092,8 @@ module Aws::BedrockAgentCore
|
|
|
4016
4092
|
# resp.batch_evaluations[0].description #=> String
|
|
4017
4093
|
# resp.batch_evaluations[0].evaluators #=> Array
|
|
4018
4094
|
# resp.batch_evaluations[0].evaluators[0].evaluator_id #=> String
|
|
4095
|
+
# resp.batch_evaluations[0].insights #=> Array
|
|
4096
|
+
# resp.batch_evaluations[0].insights[0].insight_id #=> String
|
|
4019
4097
|
# resp.batch_evaluations[0].evaluation_results.number_of_sessions_completed #=> Integer
|
|
4020
4098
|
# resp.batch_evaluations[0].evaluation_results.number_of_sessions_in_progress #=> Integer
|
|
4021
4099
|
# resp.batch_evaluations[0].evaluation_results.number_of_sessions_failed #=> Integer
|
|
@@ -4028,6 +4106,7 @@ module Aws::BedrockAgentCore
|
|
|
4028
4106
|
# resp.batch_evaluations[0].evaluation_results.evaluator_summaries[0].total_failed #=> Integer
|
|
4029
4107
|
# resp.batch_evaluations[0].error_details #=> Array
|
|
4030
4108
|
# resp.batch_evaluations[0].error_details[0] #=> String
|
|
4109
|
+
# resp.batch_evaluations[0].kms_key_arn #=> String
|
|
4031
4110
|
# resp.batch_evaluations[0].updated_at #=> Time
|
|
4032
4111
|
# resp.next_token #=> String
|
|
4033
4112
|
#
|
|
@@ -5057,6 +5136,10 @@ module Aws::BedrockAgentCore
|
|
|
5057
5136
|
# include both built-in evaluators and custom evaluators. Maximum of 10
|
|
5058
5137
|
# evaluators.
|
|
5059
5138
|
#
|
|
5139
|
+
# @option params [Array<Types::Insight>] :insights
|
|
5140
|
+
# The list of insight analyses to run against sessions during the batch
|
|
5141
|
+
# evaluation. Maximum of 10 insights.
|
|
5142
|
+
#
|
|
5060
5143
|
# @option params [required, Types::DataSourceConfig] :data_source_config
|
|
5061
5144
|
# The data source configuration that specifies where to pull agent
|
|
5062
5145
|
# session traces from for evaluation.
|
|
@@ -5074,6 +5157,13 @@ module Aws::BedrockAgentCore
|
|
|
5074
5157
|
# Optional metadata for the evaluation, including session-specific
|
|
5075
5158
|
# ground truth data and test scenario identifiers.
|
|
5076
5159
|
#
|
|
5160
|
+
# @option params [Hash<String,String>] :tags
|
|
5161
|
+
# A map of tag keys and values to associate with the batch evaluation.
|
|
5162
|
+
#
|
|
5163
|
+
# @option params [String] :kms_key_arn
|
|
5164
|
+
# The ARN of the KMS key used to encrypt evaluation data. If provided,
|
|
5165
|
+
# customer data is encrypted at rest with the specified key.
|
|
5166
|
+
#
|
|
5077
5167
|
# @option params [String] :description
|
|
5078
5168
|
# The description of the batch evaluation.
|
|
5079
5169
|
#
|
|
@@ -5083,9 +5173,12 @@ module Aws::BedrockAgentCore
|
|
|
5083
5173
|
# * {Types::StartBatchEvaluationResponse#batch_evaluation_arn #batch_evaluation_arn} => String
|
|
5084
5174
|
# * {Types::StartBatchEvaluationResponse#batch_evaluation_name #batch_evaluation_name} => String
|
|
5085
5175
|
# * {Types::StartBatchEvaluationResponse#evaluators #evaluators} => Array<Types::Evaluator>
|
|
5176
|
+
# * {Types::StartBatchEvaluationResponse#insights #insights} => Array<Types::Insight>
|
|
5086
5177
|
# * {Types::StartBatchEvaluationResponse#status #status} => String
|
|
5087
5178
|
# * {Types::StartBatchEvaluationResponse#created_at #created_at} => Time
|
|
5088
5179
|
# * {Types::StartBatchEvaluationResponse#output_config #output_config} => Types::OutputConfig
|
|
5180
|
+
# * {Types::StartBatchEvaluationResponse#tags #tags} => Hash<String,String>
|
|
5181
|
+
# * {Types::StartBatchEvaluationResponse#kms_key_arn #kms_key_arn} => String
|
|
5089
5182
|
# * {Types::StartBatchEvaluationResponse#description #description} => String
|
|
5090
5183
|
#
|
|
5091
5184
|
# @example Request syntax with placeholder values
|
|
@@ -5097,6 +5190,11 @@ module Aws::BedrockAgentCore
|
|
|
5097
5190
|
# evaluator_id: "EvaluatorId", # required
|
|
5098
5191
|
# },
|
|
5099
5192
|
# ],
|
|
5193
|
+
# insights: [
|
|
5194
|
+
# {
|
|
5195
|
+
# insight_id: "InsightId", # required
|
|
5196
|
+
# },
|
|
5197
|
+
# ],
|
|
5100
5198
|
# data_source_config: { # required
|
|
5101
5199
|
# cloud_watch_logs: {
|
|
5102
5200
|
# service_names: ["String"], # required
|
|
@@ -5109,6 +5207,13 @@ module Aws::BedrockAgentCore
|
|
|
5109
5207
|
# },
|
|
5110
5208
|
# },
|
|
5111
5209
|
# },
|
|
5210
|
+
# online_evaluation_config_source: {
|
|
5211
|
+
# online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
|
|
5212
|
+
# time_range: {
|
|
5213
|
+
# start_time: Time.now,
|
|
5214
|
+
# end_time: Time.now,
|
|
5215
|
+
# },
|
|
5216
|
+
# },
|
|
5112
5217
|
# },
|
|
5113
5218
|
# client_token: "ClientToken",
|
|
5114
5219
|
# evaluation_metadata: {
|
|
@@ -5144,6 +5249,10 @@ module Aws::BedrockAgentCore
|
|
|
5144
5249
|
# },
|
|
5145
5250
|
# ],
|
|
5146
5251
|
# },
|
|
5252
|
+
# tags: {
|
|
5253
|
+
# "TagKey" => "TagValue",
|
|
5254
|
+
# },
|
|
5255
|
+
# kms_key_arn: "KmsKeyArn",
|
|
5147
5256
|
# description: "BatchEvaluationDescription",
|
|
5148
5257
|
# })
|
|
5149
5258
|
#
|
|
@@ -5154,10 +5263,15 @@ module Aws::BedrockAgentCore
|
|
|
5154
5263
|
# resp.batch_evaluation_name #=> String
|
|
5155
5264
|
# resp.evaluators #=> Array
|
|
5156
5265
|
# resp.evaluators[0].evaluator_id #=> String
|
|
5266
|
+
# resp.insights #=> Array
|
|
5267
|
+
# resp.insights[0].insight_id #=> String
|
|
5157
5268
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "FAILED", "STOPPING", "STOPPED", "DELETING"
|
|
5158
5269
|
# resp.created_at #=> Time
|
|
5159
5270
|
# resp.output_config.cloud_watch_config.log_group_name #=> String
|
|
5160
5271
|
# resp.output_config.cloud_watch_config.log_stream_name #=> String
|
|
5272
|
+
# resp.tags #=> Hash
|
|
5273
|
+
# resp.tags["TagKey"] #=> String
|
|
5274
|
+
# resp.kms_key_arn #=> String
|
|
5161
5275
|
# resp.description #=> String
|
|
5162
5276
|
#
|
|
5163
5277
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartBatchEvaluation AWS API Documentation
|
|
@@ -5520,6 +5634,10 @@ module Aws::BedrockAgentCore
|
|
|
5520
5634
|
# The configuration for the recommendation, including the input to
|
|
5521
5635
|
# optimize, agent traces to analyze, and evaluation settings.
|
|
5522
5636
|
#
|
|
5637
|
+
# @option params [String] :kms_key_arn
|
|
5638
|
+
# The ARN of the KMS key used to encrypt recommendation data. If
|
|
5639
|
+
# provided, customer data is encrypted at rest with the specified key.
|
|
5640
|
+
#
|
|
5523
5641
|
# @option params [String] :client_token
|
|
5524
5642
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
5525
5643
|
# completes no more than one time. If this token matches a previous
|
|
@@ -5529,6 +5647,9 @@ module Aws::BedrockAgentCore
|
|
|
5529
5647
|
# **A suitable default value is auto-generated.** You should normally
|
|
5530
5648
|
# not need to pass this option.**
|
|
5531
5649
|
#
|
|
5650
|
+
# @option params [Hash<String,String>] :tags
|
|
5651
|
+
# A map of tag keys and values to associate with the recommendation.
|
|
5652
|
+
#
|
|
5532
5653
|
# @return [Types::StartRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5533
5654
|
#
|
|
5534
5655
|
# * {Types::StartRecommendationResponse#recommendation_id #recommendation_id} => String
|
|
@@ -5581,8 +5702,11 @@ module Aws::BedrockAgentCore
|
|
|
5581
5702
|
# ],
|
|
5582
5703
|
# },
|
|
5583
5704
|
# },
|
|
5705
|
+
# batch_evaluation: {
|
|
5706
|
+
# batch_evaluation_arn: "BatchEvaluationArn", # required
|
|
5707
|
+
# },
|
|
5584
5708
|
# },
|
|
5585
|
-
# evaluation_config: {
|
|
5709
|
+
# evaluation_config: {
|
|
5586
5710
|
# evaluators: [ # required
|
|
5587
5711
|
# {
|
|
5588
5712
|
# evaluator_arn: "EvaluatorArn", # required
|
|
@@ -5637,10 +5761,17 @@ module Aws::BedrockAgentCore
|
|
|
5637
5761
|
# ],
|
|
5638
5762
|
# },
|
|
5639
5763
|
# },
|
|
5764
|
+
# batch_evaluation: {
|
|
5765
|
+
# batch_evaluation_arn: "BatchEvaluationArn", # required
|
|
5766
|
+
# },
|
|
5640
5767
|
# },
|
|
5641
5768
|
# },
|
|
5642
5769
|
# },
|
|
5770
|
+
# kms_key_arn: "KmsKeyArn",
|
|
5643
5771
|
# client_token: "ClientToken",
|
|
5772
|
+
# tags: {
|
|
5773
|
+
# "TagKey" => "TagValue",
|
|
5774
|
+
# },
|
|
5644
5775
|
# })
|
|
5645
5776
|
#
|
|
5646
5777
|
# @example Response structure
|
|
@@ -5667,6 +5798,7 @@ module Aws::BedrockAgentCore
|
|
|
5667
5798
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.string_value #=> String
|
|
5668
5799
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
5669
5800
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
5801
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
5670
5802
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
|
|
5671
5803
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
|
|
5672
5804
|
# resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
|
|
@@ -5690,6 +5822,7 @@ module Aws::BedrockAgentCore
|
|
|
5690
5822
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.string_value #=> String
|
|
5691
5823
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
5692
5824
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
5825
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
5693
5826
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
|
|
5694
5827
|
# resp.created_at #=> Time
|
|
5695
5828
|
# resp.updated_at #=> Time
|
|
@@ -6107,7 +6240,7 @@ module Aws::BedrockAgentCore
|
|
|
6107
6240
|
tracer: tracer
|
|
6108
6241
|
)
|
|
6109
6242
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6110
|
-
context[:gem_version] = '1.
|
|
6243
|
+
context[:gem_version] = '1.41.0'
|
|
6111
6244
|
Seahorse::Client::Request.new(handlers, context)
|
|
6112
6245
|
end
|
|
6113
6246
|
|