aws-sdk-bedrockagentcore 1.39.0 → 1.40.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentcore/client.rb +128 -2
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +170 -1
- data/lib/aws-sdk-bedrockagentcore/types.rb +523 -6
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +29 -3
- data/sig/params.rbs +4 -1
- data/sig/types.rbs +138 -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: 3df43b6eefbd34969ea3837b884a6347b9817c8b879195c4953c75c55d37a7d6
|
|
4
|
+
data.tar.gz: 849212356ca52c9d578ce00d3e5e73e3502837d13c1a3d06fd0afe4c899ab452
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 83e8b870c2b6dbf8b9f0357483989a0bf79e694171a3dafac2a134ba4f6649dfe268f2725367d9983c61e85f86ad6724ab04237018299b0ba0d4b64f74e053f5
|
|
7
|
+
data.tar.gz: 202f8f6832f366e44432abb36512be08e7b3305a6ee7309e8fe1552d4dd9a889af6f93ceee23bdbe431423b06fad899be1af432a8dc4302d808a526b373a8608
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.40.0 (2026-06-12)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* 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
|
|
8
|
+
|
|
4
9
|
1.39.0 (2026-06-11)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.40.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.session_filter_config.start_time #=> Time
|
|
1687
|
+
# resp.data_source_config.online_evaluation_config_source.session_filter_config.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"
|
|
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
|
#
|
|
@@ -4016,6 +4085,8 @@ module Aws::BedrockAgentCore
|
|
|
4016
4085
|
# resp.batch_evaluations[0].description #=> String
|
|
4017
4086
|
# resp.batch_evaluations[0].evaluators #=> Array
|
|
4018
4087
|
# resp.batch_evaluations[0].evaluators[0].evaluator_id #=> String
|
|
4088
|
+
# resp.batch_evaluations[0].insights #=> Array
|
|
4089
|
+
# resp.batch_evaluations[0].insights[0].insight_id #=> String
|
|
4019
4090
|
# resp.batch_evaluations[0].evaluation_results.number_of_sessions_completed #=> Integer
|
|
4020
4091
|
# resp.batch_evaluations[0].evaluation_results.number_of_sessions_in_progress #=> Integer
|
|
4021
4092
|
# resp.batch_evaluations[0].evaluation_results.number_of_sessions_failed #=> Integer
|
|
@@ -4028,6 +4099,7 @@ module Aws::BedrockAgentCore
|
|
|
4028
4099
|
# resp.batch_evaluations[0].evaluation_results.evaluator_summaries[0].total_failed #=> Integer
|
|
4029
4100
|
# resp.batch_evaluations[0].error_details #=> Array
|
|
4030
4101
|
# resp.batch_evaluations[0].error_details[0] #=> String
|
|
4102
|
+
# resp.batch_evaluations[0].kms_key_arn #=> String
|
|
4031
4103
|
# resp.batch_evaluations[0].updated_at #=> Time
|
|
4032
4104
|
# resp.next_token #=> String
|
|
4033
4105
|
#
|
|
@@ -5057,6 +5129,10 @@ module Aws::BedrockAgentCore
|
|
|
5057
5129
|
# include both built-in evaluators and custom evaluators. Maximum of 10
|
|
5058
5130
|
# evaluators.
|
|
5059
5131
|
#
|
|
5132
|
+
# @option params [Array<Types::Insight>] :insights
|
|
5133
|
+
# The list of insight analyses to run against sessions during the batch
|
|
5134
|
+
# evaluation. Maximum of 10 insights.
|
|
5135
|
+
#
|
|
5060
5136
|
# @option params [required, Types::DataSourceConfig] :data_source_config
|
|
5061
5137
|
# The data source configuration that specifies where to pull agent
|
|
5062
5138
|
# session traces from for evaluation.
|
|
@@ -5074,6 +5150,13 @@ module Aws::BedrockAgentCore
|
|
|
5074
5150
|
# Optional metadata for the evaluation, including session-specific
|
|
5075
5151
|
# ground truth data and test scenario identifiers.
|
|
5076
5152
|
#
|
|
5153
|
+
# @option params [Hash<String,String>] :tags
|
|
5154
|
+
# A map of tag keys and values to associate with the batch evaluation.
|
|
5155
|
+
#
|
|
5156
|
+
# @option params [String] :kms_key_arn
|
|
5157
|
+
# The ARN of the KMS key used to encrypt evaluation data. If provided,
|
|
5158
|
+
# customer data is encrypted at rest with the specified key.
|
|
5159
|
+
#
|
|
5077
5160
|
# @option params [String] :description
|
|
5078
5161
|
# The description of the batch evaluation.
|
|
5079
5162
|
#
|
|
@@ -5083,9 +5166,12 @@ module Aws::BedrockAgentCore
|
|
|
5083
5166
|
# * {Types::StartBatchEvaluationResponse#batch_evaluation_arn #batch_evaluation_arn} => String
|
|
5084
5167
|
# * {Types::StartBatchEvaluationResponse#batch_evaluation_name #batch_evaluation_name} => String
|
|
5085
5168
|
# * {Types::StartBatchEvaluationResponse#evaluators #evaluators} => Array<Types::Evaluator>
|
|
5169
|
+
# * {Types::StartBatchEvaluationResponse#insights #insights} => Array<Types::Insight>
|
|
5086
5170
|
# * {Types::StartBatchEvaluationResponse#status #status} => String
|
|
5087
5171
|
# * {Types::StartBatchEvaluationResponse#created_at #created_at} => Time
|
|
5088
5172
|
# * {Types::StartBatchEvaluationResponse#output_config #output_config} => Types::OutputConfig
|
|
5173
|
+
# * {Types::StartBatchEvaluationResponse#tags #tags} => Hash<String,String>
|
|
5174
|
+
# * {Types::StartBatchEvaluationResponse#kms_key_arn #kms_key_arn} => String
|
|
5089
5175
|
# * {Types::StartBatchEvaluationResponse#description #description} => String
|
|
5090
5176
|
#
|
|
5091
5177
|
# @example Request syntax with placeholder values
|
|
@@ -5097,6 +5183,11 @@ module Aws::BedrockAgentCore
|
|
|
5097
5183
|
# evaluator_id: "EvaluatorId", # required
|
|
5098
5184
|
# },
|
|
5099
5185
|
# ],
|
|
5186
|
+
# insights: [
|
|
5187
|
+
# {
|
|
5188
|
+
# insight_id: "InsightId", # required
|
|
5189
|
+
# },
|
|
5190
|
+
# ],
|
|
5100
5191
|
# data_source_config: { # required
|
|
5101
5192
|
# cloud_watch_logs: {
|
|
5102
5193
|
# service_names: ["String"], # required
|
|
@@ -5109,6 +5200,13 @@ module Aws::BedrockAgentCore
|
|
|
5109
5200
|
# },
|
|
5110
5201
|
# },
|
|
5111
5202
|
# },
|
|
5203
|
+
# online_evaluation_config_source: {
|
|
5204
|
+
# online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
|
|
5205
|
+
# session_filter_config: {
|
|
5206
|
+
# start_time: Time.now,
|
|
5207
|
+
# end_time: Time.now,
|
|
5208
|
+
# },
|
|
5209
|
+
# },
|
|
5112
5210
|
# },
|
|
5113
5211
|
# client_token: "ClientToken",
|
|
5114
5212
|
# evaluation_metadata: {
|
|
@@ -5144,6 +5242,10 @@ module Aws::BedrockAgentCore
|
|
|
5144
5242
|
# },
|
|
5145
5243
|
# ],
|
|
5146
5244
|
# },
|
|
5245
|
+
# tags: {
|
|
5246
|
+
# "TagKey" => "TagValue",
|
|
5247
|
+
# },
|
|
5248
|
+
# kms_key_arn: "KmsKeyArn",
|
|
5147
5249
|
# description: "BatchEvaluationDescription",
|
|
5148
5250
|
# })
|
|
5149
5251
|
#
|
|
@@ -5154,10 +5256,15 @@ module Aws::BedrockAgentCore
|
|
|
5154
5256
|
# resp.batch_evaluation_name #=> String
|
|
5155
5257
|
# resp.evaluators #=> Array
|
|
5156
5258
|
# resp.evaluators[0].evaluator_id #=> String
|
|
5259
|
+
# resp.insights #=> Array
|
|
5260
|
+
# resp.insights[0].insight_id #=> String
|
|
5157
5261
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "COMPLETED_WITH_ERRORS", "FAILED", "STOPPING", "STOPPED", "DELETING"
|
|
5158
5262
|
# resp.created_at #=> Time
|
|
5159
5263
|
# resp.output_config.cloud_watch_config.log_group_name #=> String
|
|
5160
5264
|
# resp.output_config.cloud_watch_config.log_stream_name #=> String
|
|
5265
|
+
# resp.tags #=> Hash
|
|
5266
|
+
# resp.tags["TagKey"] #=> String
|
|
5267
|
+
# resp.kms_key_arn #=> String
|
|
5161
5268
|
# resp.description #=> String
|
|
5162
5269
|
#
|
|
5163
5270
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartBatchEvaluation AWS API Documentation
|
|
@@ -5520,6 +5627,10 @@ module Aws::BedrockAgentCore
|
|
|
5520
5627
|
# The configuration for the recommendation, including the input to
|
|
5521
5628
|
# optimize, agent traces to analyze, and evaluation settings.
|
|
5522
5629
|
#
|
|
5630
|
+
# @option params [String] :kms_key_arn
|
|
5631
|
+
# The ARN of the KMS key used to encrypt recommendation data. If
|
|
5632
|
+
# provided, customer data is encrypted at rest with the specified key.
|
|
5633
|
+
#
|
|
5523
5634
|
# @option params [String] :client_token
|
|
5524
5635
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
5525
5636
|
# completes no more than one time. If this token matches a previous
|
|
@@ -5529,6 +5640,9 @@ module Aws::BedrockAgentCore
|
|
|
5529
5640
|
# **A suitable default value is auto-generated.** You should normally
|
|
5530
5641
|
# not need to pass this option.**
|
|
5531
5642
|
#
|
|
5643
|
+
# @option params [Hash<String,String>] :tags
|
|
5644
|
+
# A map of tag keys and values to associate with the recommendation.
|
|
5645
|
+
#
|
|
5532
5646
|
# @return [Types::StartRecommendationResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
5533
5647
|
#
|
|
5534
5648
|
# * {Types::StartRecommendationResponse#recommendation_id #recommendation_id} => String
|
|
@@ -5581,8 +5695,11 @@ module Aws::BedrockAgentCore
|
|
|
5581
5695
|
# ],
|
|
5582
5696
|
# },
|
|
5583
5697
|
# },
|
|
5698
|
+
# batch_evaluation: {
|
|
5699
|
+
# batch_evaluation_arn: "BatchEvaluationArn", # required
|
|
5700
|
+
# },
|
|
5584
5701
|
# },
|
|
5585
|
-
# evaluation_config: {
|
|
5702
|
+
# evaluation_config: {
|
|
5586
5703
|
# evaluators: [ # required
|
|
5587
5704
|
# {
|
|
5588
5705
|
# evaluator_arn: "EvaluatorArn", # required
|
|
@@ -5637,10 +5754,17 @@ module Aws::BedrockAgentCore
|
|
|
5637
5754
|
# ],
|
|
5638
5755
|
# },
|
|
5639
5756
|
# },
|
|
5757
|
+
# batch_evaluation: {
|
|
5758
|
+
# batch_evaluation_arn: "BatchEvaluationArn", # required
|
|
5759
|
+
# },
|
|
5640
5760
|
# },
|
|
5641
5761
|
# },
|
|
5642
5762
|
# },
|
|
5763
|
+
# kms_key_arn: "KmsKeyArn",
|
|
5643
5764
|
# client_token: "ClientToken",
|
|
5765
|
+
# tags: {
|
|
5766
|
+
# "TagKey" => "TagValue",
|
|
5767
|
+
# },
|
|
5644
5768
|
# })
|
|
5645
5769
|
#
|
|
5646
5770
|
# @example Response structure
|
|
@@ -5667,6 +5791,7 @@ module Aws::BedrockAgentCore
|
|
|
5667
5791
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.string_value #=> String
|
|
5668
5792
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
5669
5793
|
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
5794
|
+
# resp.recommendation_config.system_prompt_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
5670
5795
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators #=> Array
|
|
5671
5796
|
# resp.recommendation_config.system_prompt_recommendation_config.evaluation_config.evaluators[0].evaluator_arn #=> String
|
|
5672
5797
|
# resp.recommendation_config.tool_description_recommendation_config.tool_description.tool_description_text.tools #=> Array
|
|
@@ -5690,6 +5815,7 @@ module Aws::BedrockAgentCore
|
|
|
5690
5815
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.string_value #=> String
|
|
5691
5816
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.double_value #=> Float
|
|
5692
5817
|
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.cloudwatch_logs.rule.filters[0].value.boolean_value #=> Boolean
|
|
5818
|
+
# resp.recommendation_config.tool_description_recommendation_config.agent_traces.batch_evaluation.batch_evaluation_arn #=> String
|
|
5693
5819
|
# resp.status #=> String, one of "PENDING", "IN_PROGRESS", "COMPLETED", "FAILED", "DELETING"
|
|
5694
5820
|
# resp.created_at #=> Time
|
|
5695
5821
|
# resp.updated_at #=> Time
|
|
@@ -6107,7 +6233,7 @@ module Aws::BedrockAgentCore
|
|
|
6107
6233
|
tracer: tracer
|
|
6108
6234
|
)
|
|
6109
6235
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6110
|
-
context[:gem_version] = '1.
|
|
6236
|
+
context[:gem_version] = '1.40.0'
|
|
6111
6237
|
Seahorse::Client::Request.new(handlers, context)
|
|
6112
6238
|
end
|
|
6113
6239
|
|