aws-sdk-bedrockagentcore 1.38.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 +10 -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
|
@@ -163,6 +163,41 @@ module Aws::BedrockAgentCore
|
|
|
163
163
|
include Aws::Structure
|
|
164
164
|
end
|
|
165
165
|
|
|
166
|
+
# A session affected by a detected failure pattern, including root cause
|
|
167
|
+
# details.
|
|
168
|
+
#
|
|
169
|
+
# @!attribute [rw] session_id
|
|
170
|
+
# The unique identifier of the affected session.
|
|
171
|
+
# @return [String]
|
|
172
|
+
#
|
|
173
|
+
# @!attribute [rw] explanation
|
|
174
|
+
# An explanation of how the failure manifested in this session.
|
|
175
|
+
# @return [String]
|
|
176
|
+
#
|
|
177
|
+
# @!attribute [rw] fix_type
|
|
178
|
+
# The type of fix recommended for this failure.
|
|
179
|
+
# @return [String]
|
|
180
|
+
#
|
|
181
|
+
# @!attribute [rw] recommendation
|
|
182
|
+
# The specific fix recommendation for this session.
|
|
183
|
+
# @return [String]
|
|
184
|
+
#
|
|
185
|
+
# @!attribute [rw] failure_spans
|
|
186
|
+
# The list of spans where failures were detected in this session.
|
|
187
|
+
# @return [Array<Types::FailureSpanDetail>]
|
|
188
|
+
#
|
|
189
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AffectedSession AWS API Documentation
|
|
190
|
+
#
|
|
191
|
+
class AffectedSession < Struct.new(
|
|
192
|
+
:session_id,
|
|
193
|
+
:explanation,
|
|
194
|
+
:fix_type,
|
|
195
|
+
:recommendation,
|
|
196
|
+
:failure_spans)
|
|
197
|
+
SENSITIVE = []
|
|
198
|
+
include Aws::Structure
|
|
199
|
+
end
|
|
200
|
+
|
|
166
201
|
# The agent card definition for A2A descriptors, including the schema
|
|
167
202
|
# version and inline content that describes the agent's capabilities.
|
|
168
203
|
#
|
|
@@ -218,11 +253,16 @@ module Aws::BedrockAgentCore
|
|
|
218
253
|
# Agent traces read from CloudWatch Logs.
|
|
219
254
|
# @return [Types::CloudWatchLogsTraceConfig]
|
|
220
255
|
#
|
|
256
|
+
# @!attribute [rw] batch_evaluation
|
|
257
|
+
# Use a completed batch evaluation as the source of agent traces.
|
|
258
|
+
# @return [Types::BatchEvaluationTraceConfig]
|
|
259
|
+
#
|
|
221
260
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/AgentTracesConfig AWS API Documentation
|
|
222
261
|
#
|
|
223
262
|
class AgentTracesConfig < Struct.new(
|
|
224
263
|
:session_spans,
|
|
225
264
|
:cloudwatch_logs,
|
|
265
|
+
:batch_evaluation,
|
|
226
266
|
:unknown)
|
|
227
267
|
SENSITIVE = [:session_spans]
|
|
228
268
|
include Aws::Structure
|
|
@@ -230,6 +270,7 @@ module Aws::BedrockAgentCore
|
|
|
230
270
|
|
|
231
271
|
class SessionSpans < AgentTracesConfig; end
|
|
232
272
|
class CloudwatchLogs < AgentTracesConfig; end
|
|
273
|
+
class BatchEvaluation < AgentTracesConfig; end
|
|
233
274
|
class Unknown < AgentTracesConfig; end
|
|
234
275
|
end
|
|
235
276
|
|
|
@@ -451,6 +492,10 @@ module Aws::BedrockAgentCore
|
|
|
451
492
|
# The list of evaluators applied during the batch evaluation.
|
|
452
493
|
# @return [Array<Types::Evaluator>]
|
|
453
494
|
#
|
|
495
|
+
# @!attribute [rw] insights
|
|
496
|
+
# The list of insight analyses applied during the batch evaluation.
|
|
497
|
+
# @return [Array<Types::Insight>]
|
|
498
|
+
#
|
|
454
499
|
# @!attribute [rw] evaluation_results
|
|
455
500
|
# The aggregated evaluation results.
|
|
456
501
|
# @return [Types::EvaluationJobResults]
|
|
@@ -459,6 +504,10 @@ module Aws::BedrockAgentCore
|
|
|
459
504
|
# The error details if the batch evaluation encountered failures.
|
|
460
505
|
# @return [Array<String>]
|
|
461
506
|
#
|
|
507
|
+
# @!attribute [rw] kms_key_arn
|
|
508
|
+
# The ARN of the KMS key used to encrypt evaluation data.
|
|
509
|
+
# @return [String]
|
|
510
|
+
#
|
|
462
511
|
# @!attribute [rw] updated_at
|
|
463
512
|
# The timestamp when the batch evaluation was last updated.
|
|
464
513
|
# @return [Time]
|
|
@@ -473,13 +522,31 @@ module Aws::BedrockAgentCore
|
|
|
473
522
|
:created_at,
|
|
474
523
|
:description,
|
|
475
524
|
:evaluators,
|
|
525
|
+
:insights,
|
|
476
526
|
:evaluation_results,
|
|
477
527
|
:error_details,
|
|
528
|
+
:kms_key_arn,
|
|
478
529
|
:updated_at)
|
|
479
530
|
SENSITIVE = []
|
|
480
531
|
include Aws::Structure
|
|
481
532
|
end
|
|
482
533
|
|
|
534
|
+
# Configuration for using a batch evaluation as the source of agent
|
|
535
|
+
# traces for recommendations.
|
|
536
|
+
#
|
|
537
|
+
# @!attribute [rw] batch_evaluation_arn
|
|
538
|
+
# The ARN of the completed batch evaluation to use as the trace
|
|
539
|
+
# source.
|
|
540
|
+
# @return [String]
|
|
541
|
+
#
|
|
542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchEvaluationTraceConfig AWS API Documentation
|
|
543
|
+
#
|
|
544
|
+
class BatchEvaluationTraceConfig < Struct.new(
|
|
545
|
+
:batch_evaluation_arn)
|
|
546
|
+
SENSITIVE = []
|
|
547
|
+
include Aws::Structure
|
|
548
|
+
end
|
|
549
|
+
|
|
483
550
|
# @!attribute [rw] memory_id
|
|
484
551
|
# The unique ID of the memory resource where records will be updated.
|
|
485
552
|
# @return [String]
|
|
@@ -1494,6 +1561,10 @@ module Aws::BedrockAgentCore
|
|
|
1494
1561
|
# not need to pass this option.
|
|
1495
1562
|
# @return [String]
|
|
1496
1563
|
#
|
|
1564
|
+
# @!attribute [rw] tags
|
|
1565
|
+
# A map of tag keys and values to associate with the A/B test.
|
|
1566
|
+
# @return [Hash<String,String>]
|
|
1567
|
+
#
|
|
1497
1568
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CreateABTestRequest AWS API Documentation
|
|
1498
1569
|
#
|
|
1499
1570
|
class CreateABTestRequest < Struct.new(
|
|
@@ -1505,7 +1576,8 @@ module Aws::BedrockAgentCore
|
|
|
1505
1576
|
:evaluation_config,
|
|
1506
1577
|
:role_arn,
|
|
1507
1578
|
:enable_on_create,
|
|
1508
|
-
:client_token
|
|
1579
|
+
:client_token,
|
|
1580
|
+
:tags)
|
|
1509
1581
|
SENSITIVE = []
|
|
1510
1582
|
include Aws::Structure
|
|
1511
1583
|
end
|
|
@@ -1802,16 +1874,22 @@ module Aws::BedrockAgentCore
|
|
|
1802
1874
|
# Configuration for pulling agent session traces from CloudWatch Logs.
|
|
1803
1875
|
# @return [Types::CloudWatchLogsSource]
|
|
1804
1876
|
#
|
|
1877
|
+
# @!attribute [rw] online_evaluation_config_source
|
|
1878
|
+
# Reference an existing OnlineEvaluationConfig as session source
|
|
1879
|
+
# @return [Types::OnlineEvaluationConfigSource]
|
|
1880
|
+
#
|
|
1805
1881
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DataSourceConfig AWS API Documentation
|
|
1806
1882
|
#
|
|
1807
1883
|
class DataSourceConfig < Struct.new(
|
|
1808
1884
|
:cloud_watch_logs,
|
|
1885
|
+
:online_evaluation_config_source,
|
|
1809
1886
|
:unknown)
|
|
1810
1887
|
SENSITIVE = []
|
|
1811
1888
|
include Aws::Structure
|
|
1812
1889
|
include Aws::Structure::Union
|
|
1813
1890
|
|
|
1814
1891
|
class CloudWatchLogs < DataSourceConfig; end
|
|
1892
|
+
class OnlineEvaluationConfigSource < DataSourceConfig; end
|
|
1815
1893
|
class Unknown < DataSourceConfig; end
|
|
1816
1894
|
end
|
|
1817
1895
|
|
|
@@ -2504,7 +2582,7 @@ module Aws::BedrockAgentCore
|
|
|
2504
2582
|
class Unknown < EvaluationTarget; end
|
|
2505
2583
|
end
|
|
2506
2584
|
|
|
2507
|
-
# An evaluator to run against sessions
|
|
2585
|
+
# An evaluator to run against sessions
|
|
2508
2586
|
#
|
|
2509
2587
|
# @!attribute [rw] evaluator_id
|
|
2510
2588
|
# The unique identifier of the evaluator. Can reference built-in
|
|
@@ -2663,6 +2741,79 @@ module Aws::BedrockAgentCore
|
|
|
2663
2741
|
include Aws::Structure
|
|
2664
2742
|
end
|
|
2665
2743
|
|
|
2744
|
+
# A session associated with an execution summary cluster.
|
|
2745
|
+
#
|
|
2746
|
+
# @!attribute [rw] session_id
|
|
2747
|
+
# The unique identifier of the session.
|
|
2748
|
+
# @return [String]
|
|
2749
|
+
#
|
|
2750
|
+
# @!attribute [rw] approach_taken
|
|
2751
|
+
# The approach taken by the agent during this session.
|
|
2752
|
+
# @return [String]
|
|
2753
|
+
#
|
|
2754
|
+
# @!attribute [rw] final_outcome
|
|
2755
|
+
# The final outcome of the session.
|
|
2756
|
+
# @return [String]
|
|
2757
|
+
#
|
|
2758
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExecutionSummaryAffectedSession AWS API Documentation
|
|
2759
|
+
#
|
|
2760
|
+
class ExecutionSummaryAffectedSession < Struct.new(
|
|
2761
|
+
:session_id,
|
|
2762
|
+
:approach_taken,
|
|
2763
|
+
:final_outcome)
|
|
2764
|
+
SENSITIVE = []
|
|
2765
|
+
include Aws::Structure
|
|
2766
|
+
end
|
|
2767
|
+
|
|
2768
|
+
# A cluster of similar execution patterns identified across sessions.
|
|
2769
|
+
#
|
|
2770
|
+
# @!attribute [rw] cluster_id
|
|
2771
|
+
# The unique identifier of the execution summary cluster.
|
|
2772
|
+
# @return [Integer]
|
|
2773
|
+
#
|
|
2774
|
+
# @!attribute [rw] name
|
|
2775
|
+
# The name of the execution pattern cluster.
|
|
2776
|
+
# @return [String]
|
|
2777
|
+
#
|
|
2778
|
+
# @!attribute [rw] description
|
|
2779
|
+
# A description of the execution pattern.
|
|
2780
|
+
# @return [String]
|
|
2781
|
+
#
|
|
2782
|
+
# @!attribute [rw] affected_session_count
|
|
2783
|
+
# The number of sessions with this execution pattern.
|
|
2784
|
+
# @return [Integer]
|
|
2785
|
+
#
|
|
2786
|
+
# @!attribute [rw] affected_sessions
|
|
2787
|
+
# The list of sessions with this execution pattern.
|
|
2788
|
+
# @return [Array<Types::ExecutionSummaryAffectedSession>]
|
|
2789
|
+
#
|
|
2790
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExecutionSummaryCluster AWS API Documentation
|
|
2791
|
+
#
|
|
2792
|
+
class ExecutionSummaryCluster < Struct.new(
|
|
2793
|
+
:cluster_id,
|
|
2794
|
+
:name,
|
|
2795
|
+
:description,
|
|
2796
|
+
:affected_session_count,
|
|
2797
|
+
:affected_sessions)
|
|
2798
|
+
SENSITIVE = []
|
|
2799
|
+
include Aws::Structure
|
|
2800
|
+
end
|
|
2801
|
+
|
|
2802
|
+
# Customer-facing execution summary clustering result written to S3.
|
|
2803
|
+
#
|
|
2804
|
+
# @!attribute [rw] execution_summaries
|
|
2805
|
+
# The list of execution summary clusters identified across analyzed
|
|
2806
|
+
# sessions.
|
|
2807
|
+
# @return [Array<Types::ExecutionSummaryCluster>]
|
|
2808
|
+
#
|
|
2809
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ExecutionSummaryClusteringResultContent AWS API Documentation
|
|
2810
|
+
#
|
|
2811
|
+
class ExecutionSummaryClusteringResultContent < Struct.new(
|
|
2812
|
+
:execution_summaries)
|
|
2813
|
+
SENSITIVE = []
|
|
2814
|
+
include Aws::Structure
|
|
2815
|
+
end
|
|
2816
|
+
|
|
2666
2817
|
# Configuration for a customer-managed external proxy server. Includes
|
|
2667
2818
|
# server location, optional domain-based routing patterns, and
|
|
2668
2819
|
# authentication credentials.
|
|
@@ -2815,6 +2966,114 @@ module Aws::BedrockAgentCore
|
|
|
2815
2966
|
include Aws::Structure
|
|
2816
2967
|
end
|
|
2817
2968
|
|
|
2969
|
+
# Unified customer-facing clustering result written to S3.
|
|
2970
|
+
#
|
|
2971
|
+
# @!attribute [rw] failures
|
|
2972
|
+
# The list of failure category clusters identified across analyzed
|
|
2973
|
+
# sessions.
|
|
2974
|
+
# @return [Array<Types::FailureCategoryCluster>]
|
|
2975
|
+
#
|
|
2976
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/FailureAnalysisResultContent AWS API Documentation
|
|
2977
|
+
#
|
|
2978
|
+
class FailureAnalysisResultContent < Struct.new(
|
|
2979
|
+
:failures)
|
|
2980
|
+
SENSITIVE = []
|
|
2981
|
+
include Aws::Structure
|
|
2982
|
+
end
|
|
2983
|
+
|
|
2984
|
+
# A top-level failure category identified by clustering similar failure
|
|
2985
|
+
# patterns across sessions.
|
|
2986
|
+
#
|
|
2987
|
+
# @!attribute [rw] cluster_id
|
|
2988
|
+
# The unique identifier of the failure category cluster.
|
|
2989
|
+
# @return [Integer]
|
|
2990
|
+
#
|
|
2991
|
+
# @!attribute [rw] name
|
|
2992
|
+
# The name of the failure category.
|
|
2993
|
+
# @return [String]
|
|
2994
|
+
#
|
|
2995
|
+
# @!attribute [rw] description
|
|
2996
|
+
# A description of the failure category pattern.
|
|
2997
|
+
# @return [String]
|
|
2998
|
+
#
|
|
2999
|
+
# @!attribute [rw] affected_session_count
|
|
3000
|
+
# The number of sessions affected by this failure category.
|
|
3001
|
+
# @return [Integer]
|
|
3002
|
+
#
|
|
3003
|
+
# @!attribute [rw] sub_categories
|
|
3004
|
+
# The list of failure subcategories within this category.
|
|
3005
|
+
# @return [Array<Types::FailureSubCategoryCluster>]
|
|
3006
|
+
#
|
|
3007
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/FailureCategoryCluster AWS API Documentation
|
|
3008
|
+
#
|
|
3009
|
+
class FailureCategoryCluster < Struct.new(
|
|
3010
|
+
:cluster_id,
|
|
3011
|
+
:name,
|
|
3012
|
+
:description,
|
|
3013
|
+
:affected_session_count,
|
|
3014
|
+
:sub_categories)
|
|
3015
|
+
SENSITIVE = []
|
|
3016
|
+
include Aws::Structure
|
|
3017
|
+
end
|
|
3018
|
+
|
|
3019
|
+
# Details about a specific span where a failure was detected.
|
|
3020
|
+
#
|
|
3021
|
+
# @!attribute [rw] span_id
|
|
3022
|
+
# The unique identifier of the span where the failure occurred.
|
|
3023
|
+
# @return [String]
|
|
3024
|
+
#
|
|
3025
|
+
# @!attribute [rw] trace_id
|
|
3026
|
+
# The trace identifier associated with the failure span.
|
|
3027
|
+
# @return [String]
|
|
3028
|
+
#
|
|
3029
|
+
# @!attribute [rw] signals
|
|
3030
|
+
# The failure signals detected in this span.
|
|
3031
|
+
# @return [Array<Types::InsightsFailureSignal>]
|
|
3032
|
+
#
|
|
3033
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/FailureSpanDetail AWS API Documentation
|
|
3034
|
+
#
|
|
3035
|
+
class FailureSpanDetail < Struct.new(
|
|
3036
|
+
:span_id,
|
|
3037
|
+
:trace_id,
|
|
3038
|
+
:signals)
|
|
3039
|
+
SENSITIVE = []
|
|
3040
|
+
include Aws::Structure
|
|
3041
|
+
end
|
|
3042
|
+
|
|
3043
|
+
# A subcategory of failures within a top-level failure category.
|
|
3044
|
+
#
|
|
3045
|
+
# @!attribute [rw] cluster_id
|
|
3046
|
+
# The unique identifier of the failure subcategory cluster.
|
|
3047
|
+
# @return [Integer]
|
|
3048
|
+
#
|
|
3049
|
+
# @!attribute [rw] name
|
|
3050
|
+
# The name of the failure subcategory.
|
|
3051
|
+
# @return [String]
|
|
3052
|
+
#
|
|
3053
|
+
# @!attribute [rw] description
|
|
3054
|
+
# A description of the failure subcategory pattern.
|
|
3055
|
+
# @return [String]
|
|
3056
|
+
#
|
|
3057
|
+
# @!attribute [rw] affected_session_count
|
|
3058
|
+
# The number of sessions affected by this failure subcategory.
|
|
3059
|
+
# @return [Integer]
|
|
3060
|
+
#
|
|
3061
|
+
# @!attribute [rw] root_causes
|
|
3062
|
+
# The list of root cause clusters identified within this subcategory.
|
|
3063
|
+
# @return [Array<Types::RootCauseCluster>]
|
|
3064
|
+
#
|
|
3065
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/FailureSubCategoryCluster AWS API Documentation
|
|
3066
|
+
#
|
|
3067
|
+
class FailureSubCategoryCluster < Struct.new(
|
|
3068
|
+
:cluster_id,
|
|
3069
|
+
:name,
|
|
3070
|
+
:description,
|
|
3071
|
+
:affected_session_count,
|
|
3072
|
+
:root_causes)
|
|
3073
|
+
SENSITIVE = []
|
|
3074
|
+
include Aws::Structure
|
|
3075
|
+
end
|
|
3076
|
+
|
|
2818
3077
|
# Contains filter criteria for listing events.
|
|
2819
3078
|
#
|
|
2820
3079
|
# @!attribute [rw] branch
|
|
@@ -3087,6 +3346,10 @@ module Aws::BedrockAgentCore
|
|
|
3087
3346
|
# The list of evaluators applied during the batch evaluation.
|
|
3088
3347
|
# @return [Array<Types::Evaluator>]
|
|
3089
3348
|
#
|
|
3349
|
+
# @!attribute [rw] insights
|
|
3350
|
+
# The list of insight analyses applied during the batch evaluation.
|
|
3351
|
+
# @return [Array<Types::Insight>]
|
|
3352
|
+
#
|
|
3090
3353
|
# @!attribute [rw] data_source_config
|
|
3091
3354
|
# The data source configuration specifying where agent traces are
|
|
3092
3355
|
# pulled from.
|
|
@@ -3102,6 +3365,18 @@ module Aws::BedrockAgentCore
|
|
|
3102
3365
|
# counts and evaluator score summaries.
|
|
3103
3366
|
# @return [Types::EvaluationJobResults]
|
|
3104
3367
|
#
|
|
3368
|
+
# @!attribute [rw] failure_analysis_result
|
|
3369
|
+
# Unified customer-facing clustering result written to S3.
|
|
3370
|
+
# @return [Types::FailureAnalysisResultContent]
|
|
3371
|
+
#
|
|
3372
|
+
# @!attribute [rw] user_intent_result
|
|
3373
|
+
# Customer-facing user intent clustering result written to S3.
|
|
3374
|
+
# @return [Types::UserIntentClusteringResultContent]
|
|
3375
|
+
#
|
|
3376
|
+
# @!attribute [rw] execution_summary_result
|
|
3377
|
+
# Customer-facing execution summary clustering result written to S3.
|
|
3378
|
+
# @return [Types::ExecutionSummaryClusteringResultContent]
|
|
3379
|
+
#
|
|
3105
3380
|
# @!attribute [rw] error_details
|
|
3106
3381
|
# The error details if the batch evaluation encountered failures.
|
|
3107
3382
|
# @return [Array<String>]
|
|
@@ -3114,6 +3389,10 @@ module Aws::BedrockAgentCore
|
|
|
3114
3389
|
# The timestamp when the batch evaluation was last updated.
|
|
3115
3390
|
# @return [Time]
|
|
3116
3391
|
#
|
|
3392
|
+
# @!attribute [rw] kms_key_arn
|
|
3393
|
+
# The ARN of the KMS key used to encrypt evaluation data.
|
|
3394
|
+
# @return [String]
|
|
3395
|
+
#
|
|
3117
3396
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetBatchEvaluationResponse AWS API Documentation
|
|
3118
3397
|
#
|
|
3119
3398
|
class GetBatchEvaluationResponse < Struct.new(
|
|
@@ -3123,12 +3402,17 @@ module Aws::BedrockAgentCore
|
|
|
3123
3402
|
:status,
|
|
3124
3403
|
:created_at,
|
|
3125
3404
|
:evaluators,
|
|
3405
|
+
:insights,
|
|
3126
3406
|
:data_source_config,
|
|
3127
3407
|
:output_config,
|
|
3128
3408
|
:evaluation_results,
|
|
3409
|
+
:failure_analysis_result,
|
|
3410
|
+
:user_intent_result,
|
|
3411
|
+
:execution_summary_result,
|
|
3129
3412
|
:error_details,
|
|
3130
3413
|
:description,
|
|
3131
|
-
:updated_at
|
|
3414
|
+
:updated_at,
|
|
3415
|
+
:kms_key_arn)
|
|
3132
3416
|
SENSITIVE = []
|
|
3133
3417
|
include Aws::Structure
|
|
3134
3418
|
end
|
|
@@ -3587,6 +3871,10 @@ module Aws::BedrockAgentCore
|
|
|
3587
3871
|
# status is `COMPLETED`.
|
|
3588
3872
|
# @return [Types::RecommendationResult]
|
|
3589
3873
|
#
|
|
3874
|
+
# @!attribute [rw] kms_key_arn
|
|
3875
|
+
# The ARN of the KMS key used to encrypt recommendation data.
|
|
3876
|
+
# @return [String]
|
|
3877
|
+
#
|
|
3590
3878
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetRecommendationResponse AWS API Documentation
|
|
3591
3879
|
#
|
|
3592
3880
|
class GetRecommendationResponse < Struct.new(
|
|
@@ -3599,7 +3887,8 @@ module Aws::BedrockAgentCore
|
|
|
3599
3887
|
:status,
|
|
3600
3888
|
:created_at,
|
|
3601
3889
|
:updated_at,
|
|
3602
|
-
:recommendation_result
|
|
3890
|
+
:recommendation_result,
|
|
3891
|
+
:kms_key_arn)
|
|
3603
3892
|
SENSITIVE = []
|
|
3604
3893
|
include Aws::Structure
|
|
3605
3894
|
end
|
|
@@ -5034,6 +5323,48 @@ module Aws::BedrockAgentCore
|
|
|
5034
5323
|
include Aws::Structure
|
|
5035
5324
|
end
|
|
5036
5325
|
|
|
5326
|
+
# A reference to an insight analysis to run against sessions.
|
|
5327
|
+
#
|
|
5328
|
+
# @!attribute [rw] insight_id
|
|
5329
|
+
# Canonical insight identifiers using the Builtin.Insight.* naming
|
|
5330
|
+
# convention. Used by BatchEvaluate, InternalEvaluate, and
|
|
5331
|
+
# ServiceEngineEvaluate flows.
|
|
5332
|
+
# @return [String]
|
|
5333
|
+
#
|
|
5334
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/Insight AWS API Documentation
|
|
5335
|
+
#
|
|
5336
|
+
class Insight < Struct.new(
|
|
5337
|
+
:insight_id)
|
|
5338
|
+
SENSITIVE = []
|
|
5339
|
+
include Aws::Structure
|
|
5340
|
+
end
|
|
5341
|
+
|
|
5342
|
+
# A signal indicating a detected failure within a span.
|
|
5343
|
+
#
|
|
5344
|
+
# @!attribute [rw] category
|
|
5345
|
+
# Failure category taxonomy for agent session insights. Values must
|
|
5346
|
+
# stay in sync with the category registry in AgentCoreLens
|
|
5347
|
+
# (amzn\_agentcore\_lens.config.failure\_detection.FAILURE\_CATEGORIES).
|
|
5348
|
+
# @return [String]
|
|
5349
|
+
#
|
|
5350
|
+
# @!attribute [rw] evidence
|
|
5351
|
+
# The evidence supporting the failure detection.
|
|
5352
|
+
# @return [String]
|
|
5353
|
+
#
|
|
5354
|
+
# @!attribute [rw] confidence
|
|
5355
|
+
# The confidence score of the failure detection.
|
|
5356
|
+
# @return [Float]
|
|
5357
|
+
#
|
|
5358
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/InsightsFailureSignal AWS API Documentation
|
|
5359
|
+
#
|
|
5360
|
+
class InsightsFailureSignal < Struct.new(
|
|
5361
|
+
:category,
|
|
5362
|
+
:evidence,
|
|
5363
|
+
:confidence)
|
|
5364
|
+
SENSITIVE = []
|
|
5365
|
+
include Aws::Structure
|
|
5366
|
+
end
|
|
5367
|
+
|
|
5037
5368
|
# The exception that occurs when the service encounters an unexpected
|
|
5038
5369
|
# internal error. This is a temporary condition that will resolve itself
|
|
5039
5370
|
# with retries. We recommend implementing exponential backoff retry
|
|
@@ -7194,6 +7525,28 @@ module Aws::BedrockAgentCore
|
|
|
7194
7525
|
include Aws::Structure
|
|
7195
7526
|
end
|
|
7196
7527
|
|
|
7528
|
+
# A reference to an existing online evaluation configuration to use as
|
|
7529
|
+
# the data source for batch evaluation.
|
|
7530
|
+
#
|
|
7531
|
+
# @!attribute [rw] online_evaluation_config_arn
|
|
7532
|
+
# The Amazon Resource Name (ARN) of the online evaluation
|
|
7533
|
+
# configuration to use as the session source.
|
|
7534
|
+
# @return [String]
|
|
7535
|
+
#
|
|
7536
|
+
# @!attribute [rw] session_filter_config
|
|
7537
|
+
# Optional session filter configuration to narrow down which sessions
|
|
7538
|
+
# from the online evaluation configuration to include.
|
|
7539
|
+
# @return [Types::SessionFilterConfig]
|
|
7540
|
+
#
|
|
7541
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/OnlineEvaluationConfigSource AWS API Documentation
|
|
7542
|
+
#
|
|
7543
|
+
class OnlineEvaluationConfigSource < Struct.new(
|
|
7544
|
+
:online_evaluation_config_arn,
|
|
7545
|
+
:session_filter_config)
|
|
7546
|
+
SENSITIVE = []
|
|
7547
|
+
include Aws::Structure
|
|
7548
|
+
end
|
|
7549
|
+
|
|
7197
7550
|
# Output destination configuration.
|
|
7198
7551
|
#
|
|
7199
7552
|
# @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.
|
|
@@ -8204,6 +8557,46 @@ module Aws::BedrockAgentCore
|
|
|
8204
8557
|
class Unknown < RightExpression; end
|
|
8205
8558
|
end
|
|
8206
8559
|
|
|
8560
|
+
# A cluster of similar root causes identified within a failure
|
|
8561
|
+
# subcategory.
|
|
8562
|
+
#
|
|
8563
|
+
# @!attribute [rw] cluster_id
|
|
8564
|
+
# The unique identifier of the root cause cluster.
|
|
8565
|
+
# @return [Integer]
|
|
8566
|
+
#
|
|
8567
|
+
# @!attribute [rw] name
|
|
8568
|
+
# The name of the root cause cluster.
|
|
8569
|
+
# @return [String]
|
|
8570
|
+
#
|
|
8571
|
+
# @!attribute [rw] root_cause
|
|
8572
|
+
# The root cause explanation for this cluster of failures.
|
|
8573
|
+
# @return [String]
|
|
8574
|
+
#
|
|
8575
|
+
# @!attribute [rw] recommendation
|
|
8576
|
+
# The recommended fix for this root cause.
|
|
8577
|
+
# @return [String]
|
|
8578
|
+
#
|
|
8579
|
+
# @!attribute [rw] affected_session_count
|
|
8580
|
+
# The number of sessions affected by this root cause.
|
|
8581
|
+
# @return [Integer]
|
|
8582
|
+
#
|
|
8583
|
+
# @!attribute [rw] affected_sessions
|
|
8584
|
+
# The list of sessions affected by this root cause.
|
|
8585
|
+
# @return [Array<Types::AffectedSession>]
|
|
8586
|
+
#
|
|
8587
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RootCauseCluster AWS API Documentation
|
|
8588
|
+
#
|
|
8589
|
+
class RootCauseCluster < Struct.new(
|
|
8590
|
+
:cluster_id,
|
|
8591
|
+
:name,
|
|
8592
|
+
:root_cause,
|
|
8593
|
+
:recommendation,
|
|
8594
|
+
:affected_session_count,
|
|
8595
|
+
:affected_sessions)
|
|
8596
|
+
SENSITIVE = []
|
|
8597
|
+
include Aws::Structure
|
|
8598
|
+
end
|
|
8599
|
+
|
|
8207
8600
|
# The exception that occurs when there is an error in the runtime
|
|
8208
8601
|
# client. This can happen due to network issues, invalid configuration,
|
|
8209
8602
|
# or other client-side problems. Check the error message for specific
|
|
@@ -8698,6 +9091,11 @@ module Aws::BedrockAgentCore
|
|
|
8698
9091
|
# 10 evaluators.
|
|
8699
9092
|
# @return [Array<Types::Evaluator>]
|
|
8700
9093
|
#
|
|
9094
|
+
# @!attribute [rw] insights
|
|
9095
|
+
# The list of insight analyses to run against sessions during the
|
|
9096
|
+
# batch evaluation. Maximum of 10 insights.
|
|
9097
|
+
# @return [Array<Types::Insight>]
|
|
9098
|
+
#
|
|
8701
9099
|
# @!attribute [rw] data_source_config
|
|
8702
9100
|
# The data source configuration that specifies where to pull agent
|
|
8703
9101
|
# session traces from for evaluation.
|
|
@@ -8718,6 +9116,15 @@ module Aws::BedrockAgentCore
|
|
|
8718
9116
|
# ground truth data and test scenario identifiers.
|
|
8719
9117
|
# @return [Types::EvaluationMetadata]
|
|
8720
9118
|
#
|
|
9119
|
+
# @!attribute [rw] tags
|
|
9120
|
+
# A map of tag keys and values to associate with the batch evaluation.
|
|
9121
|
+
# @return [Hash<String,String>]
|
|
9122
|
+
#
|
|
9123
|
+
# @!attribute [rw] kms_key_arn
|
|
9124
|
+
# The ARN of the KMS key used to encrypt evaluation data. If provided,
|
|
9125
|
+
# customer data is encrypted at rest with the specified key.
|
|
9126
|
+
# @return [String]
|
|
9127
|
+
#
|
|
8721
9128
|
# @!attribute [rw] description
|
|
8722
9129
|
# The description of the batch evaluation.
|
|
8723
9130
|
# @return [String]
|
|
@@ -8727,9 +9134,12 @@ module Aws::BedrockAgentCore
|
|
|
8727
9134
|
class StartBatchEvaluationRequest < Struct.new(
|
|
8728
9135
|
:batch_evaluation_name,
|
|
8729
9136
|
:evaluators,
|
|
9137
|
+
:insights,
|
|
8730
9138
|
:data_source_config,
|
|
8731
9139
|
:client_token,
|
|
8732
9140
|
:evaluation_metadata,
|
|
9141
|
+
:tags,
|
|
9142
|
+
:kms_key_arn,
|
|
8733
9143
|
:description)
|
|
8734
9144
|
SENSITIVE = []
|
|
8735
9145
|
include Aws::Structure
|
|
@@ -8751,6 +9161,10 @@ module Aws::BedrockAgentCore
|
|
|
8751
9161
|
# The list of evaluators applied during the batch evaluation.
|
|
8752
9162
|
# @return [Array<Types::Evaluator>]
|
|
8753
9163
|
#
|
|
9164
|
+
# @!attribute [rw] insights
|
|
9165
|
+
# The list of insight analyses applied during the batch evaluation.
|
|
9166
|
+
# @return [Array<Types::Insight>]
|
|
9167
|
+
#
|
|
8754
9168
|
# @!attribute [rw] status
|
|
8755
9169
|
# The status of the batch evaluation.
|
|
8756
9170
|
# @return [String]
|
|
@@ -8764,6 +9178,14 @@ module Aws::BedrockAgentCore
|
|
|
8764
9178
|
# written.
|
|
8765
9179
|
# @return [Types::OutputConfig]
|
|
8766
9180
|
#
|
|
9181
|
+
# @!attribute [rw] tags
|
|
9182
|
+
# The tags associated with the batch evaluation.
|
|
9183
|
+
# @return [Hash<String,String>]
|
|
9184
|
+
#
|
|
9185
|
+
# @!attribute [rw] kms_key_arn
|
|
9186
|
+
# The ARN of the KMS key used to encrypt evaluation data.
|
|
9187
|
+
# @return [String]
|
|
9188
|
+
#
|
|
8767
9189
|
# @!attribute [rw] description
|
|
8768
9190
|
# The description of the batch evaluation.
|
|
8769
9191
|
# @return [String]
|
|
@@ -8775,9 +9197,12 @@ module Aws::BedrockAgentCore
|
|
|
8775
9197
|
:batch_evaluation_arn,
|
|
8776
9198
|
:batch_evaluation_name,
|
|
8777
9199
|
:evaluators,
|
|
9200
|
+
:insights,
|
|
8778
9201
|
:status,
|
|
8779
9202
|
:created_at,
|
|
8780
9203
|
:output_config,
|
|
9204
|
+
:tags,
|
|
9205
|
+
:kms_key_arn,
|
|
8781
9206
|
:description)
|
|
8782
9207
|
SENSITIVE = []
|
|
8783
9208
|
include Aws::Structure
|
|
@@ -9039,6 +9464,11 @@ module Aws::BedrockAgentCore
|
|
|
9039
9464
|
# optimize, agent traces to analyze, and evaluation settings.
|
|
9040
9465
|
# @return [Types::RecommendationConfig]
|
|
9041
9466
|
#
|
|
9467
|
+
# @!attribute [rw] kms_key_arn
|
|
9468
|
+
# The ARN of the KMS key used to encrypt recommendation data. If
|
|
9469
|
+
# provided, customer data is encrypted at rest with the specified key.
|
|
9470
|
+
# @return [String]
|
|
9471
|
+
#
|
|
9042
9472
|
# @!attribute [rw] client_token
|
|
9043
9473
|
# A unique, case-sensitive identifier to ensure that the API request
|
|
9044
9474
|
# completes no more than one time. If this token matches a previous
|
|
@@ -9049,6 +9479,10 @@ module Aws::BedrockAgentCore
|
|
|
9049
9479
|
# not need to pass this option.
|
|
9050
9480
|
# @return [String]
|
|
9051
9481
|
#
|
|
9482
|
+
# @!attribute [rw] tags
|
|
9483
|
+
# A map of tag keys and values to associate with the recommendation.
|
|
9484
|
+
# @return [Hash<String,String>]
|
|
9485
|
+
#
|
|
9052
9486
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartRecommendationRequest AWS API Documentation
|
|
9053
9487
|
#
|
|
9054
9488
|
class StartRecommendationRequest < Struct.new(
|
|
@@ -9056,7 +9490,9 @@ module Aws::BedrockAgentCore
|
|
|
9056
9490
|
:description,
|
|
9057
9491
|
:type,
|
|
9058
9492
|
:recommendation_config,
|
|
9059
|
-
:
|
|
9493
|
+
:kms_key_arn,
|
|
9494
|
+
:client_token,
|
|
9495
|
+
:tags)
|
|
9060
9496
|
SENSITIVE = []
|
|
9061
9497
|
include Aws::Structure
|
|
9062
9498
|
end
|
|
@@ -9501,6 +9937,11 @@ module Aws::BedrockAgentCore
|
|
|
9501
9937
|
# if the input was sourced from a configuration bundle.
|
|
9502
9938
|
# @return [Types::RecommendationResultConfigurationBundle]
|
|
9503
9939
|
#
|
|
9940
|
+
# @!attribute [rw] explanation
|
|
9941
|
+
# An explanation of why the recommendation was generated and what
|
|
9942
|
+
# patterns were identified in the agent traces.
|
|
9943
|
+
# @return [String]
|
|
9944
|
+
#
|
|
9504
9945
|
# @!attribute [rw] error_code
|
|
9505
9946
|
# The error code if the recommendation failed.
|
|
9506
9947
|
# @return [String]
|
|
@@ -9514,6 +9955,7 @@ module Aws::BedrockAgentCore
|
|
|
9514
9955
|
class SystemPromptRecommendationResult < Struct.new(
|
|
9515
9956
|
:recommended_system_prompt,
|
|
9516
9957
|
:configuration_bundle,
|
|
9958
|
+
:explanation,
|
|
9517
9959
|
:error_code,
|
|
9518
9960
|
:error_message)
|
|
9519
9961
|
SENSITIVE = [:recommended_system_prompt]
|
|
@@ -9777,11 +10219,17 @@ module Aws::BedrockAgentCore
|
|
|
9777
10219
|
# The optimized tool description text generated by the recommendation.
|
|
9778
10220
|
# @return [String]
|
|
9779
10221
|
#
|
|
10222
|
+
# @!attribute [rw] explanation
|
|
10223
|
+
# An explanation of why the recommendation was generated for this tool
|
|
10224
|
+
# and what patterns were identified in the agent traces.
|
|
10225
|
+
# @return [String]
|
|
10226
|
+
#
|
|
9780
10227
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ToolDescriptionOutput AWS API Documentation
|
|
9781
10228
|
#
|
|
9782
10229
|
class ToolDescriptionOutput < Struct.new(
|
|
9783
10230
|
:tool_name,
|
|
9784
|
-
:recommended_tool_description
|
|
10231
|
+
:recommended_tool_description,
|
|
10232
|
+
:explanation)
|
|
9785
10233
|
SENSITIVE = [:recommended_tool_description]
|
|
9786
10234
|
include Aws::Structure
|
|
9787
10235
|
end
|
|
@@ -10150,6 +10598,75 @@ module Aws::BedrockAgentCore
|
|
|
10150
10598
|
class Unknown < UserIdentifier; end
|
|
10151
10599
|
end
|
|
10152
10600
|
|
|
10601
|
+
# A session associated with a user intent cluster.
|
|
10602
|
+
#
|
|
10603
|
+
# @!attribute [rw] session_id
|
|
10604
|
+
# The unique identifier of the session.
|
|
10605
|
+
# @return [String]
|
|
10606
|
+
#
|
|
10607
|
+
# @!attribute [rw] user_messages
|
|
10608
|
+
# The user messages from this session that contributed to the intent
|
|
10609
|
+
# cluster.
|
|
10610
|
+
# @return [Array<String>]
|
|
10611
|
+
#
|
|
10612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/UserIntentAffectedSession AWS API Documentation
|
|
10613
|
+
#
|
|
10614
|
+
class UserIntentAffectedSession < Struct.new(
|
|
10615
|
+
:session_id,
|
|
10616
|
+
:user_messages)
|
|
10617
|
+
SENSITIVE = []
|
|
10618
|
+
include Aws::Structure
|
|
10619
|
+
end
|
|
10620
|
+
|
|
10621
|
+
# A cluster of similar user intents identified across sessions.
|
|
10622
|
+
#
|
|
10623
|
+
# @!attribute [rw] cluster_id
|
|
10624
|
+
# The unique identifier of the user intent cluster.
|
|
10625
|
+
# @return [Integer]
|
|
10626
|
+
#
|
|
10627
|
+
# @!attribute [rw] name
|
|
10628
|
+
# The name of the user intent cluster.
|
|
10629
|
+
# @return [String]
|
|
10630
|
+
#
|
|
10631
|
+
# @!attribute [rw] description
|
|
10632
|
+
# A description of the user intent pattern.
|
|
10633
|
+
# @return [String]
|
|
10634
|
+
#
|
|
10635
|
+
# @!attribute [rw] affected_session_count
|
|
10636
|
+
# The number of sessions with this user intent.
|
|
10637
|
+
# @return [Integer]
|
|
10638
|
+
#
|
|
10639
|
+
# @!attribute [rw] affected_sessions
|
|
10640
|
+
# The list of sessions with this user intent.
|
|
10641
|
+
# @return [Array<Types::UserIntentAffectedSession>]
|
|
10642
|
+
#
|
|
10643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/UserIntentCluster AWS API Documentation
|
|
10644
|
+
#
|
|
10645
|
+
class UserIntentCluster < Struct.new(
|
|
10646
|
+
:cluster_id,
|
|
10647
|
+
:name,
|
|
10648
|
+
:description,
|
|
10649
|
+
:affected_session_count,
|
|
10650
|
+
:affected_sessions)
|
|
10651
|
+
SENSITIVE = []
|
|
10652
|
+
include Aws::Structure
|
|
10653
|
+
end
|
|
10654
|
+
|
|
10655
|
+
# Customer-facing user intent clustering result written to S3.
|
|
10656
|
+
#
|
|
10657
|
+
# @!attribute [rw] user_intents
|
|
10658
|
+
# The list of user intent clusters identified across analyzed
|
|
10659
|
+
# sessions.
|
|
10660
|
+
# @return [Array<Types::UserIntentCluster>]
|
|
10661
|
+
#
|
|
10662
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/UserIntentClusteringResultContent AWS API Documentation
|
|
10663
|
+
#
|
|
10664
|
+
class UserIntentClusteringResultContent < Struct.new(
|
|
10665
|
+
:user_intents)
|
|
10666
|
+
SENSITIVE = []
|
|
10667
|
+
include Aws::Structure
|
|
10668
|
+
end
|
|
10669
|
+
|
|
10153
10670
|
# The exception that occurs when the input fails to satisfy the
|
|
10154
10671
|
# constraints specified by the service. Check the error message for
|
|
10155
10672
|
# details about which input parameter is invalid and correct your
|