aws-sdk-bedrockagentcore 1.58.0 → 1.59.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 +37 -7
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +56 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +167 -6
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +1 -0
- data/sig/errors.rbs +15 -15
- data/sig/types.rbs +37 -0
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c770c1a6757e9de951038ce670bd7ca7f86cf2c9cb16a2ed34b91710bd054282
|
|
4
|
+
data.tar.gz: b9ec2993bef4577870376c5b65d1a41ac250751e6e5cd2d3c1eb1a5253d02f50
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b0482fa77479a67a0dd0d6deed2849d9859b0219484e444e6e7d4c70398280dab9f5571aacdaeb88db800e8345b132ca62225537f1f80394a18e033755e33736
|
|
7
|
+
data.tar.gz: 58f7771653d421b99d9eac53ce08417ef19d052b14fcb2dc3511b845d80e7bc8ea05bcb0c146641abe2a0e78f21fa3d8051d1f89231122ea819aaac42d3cc8d7
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.59.0 (2026-10-19)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds the Builtin.FailureAnalysis evaluator for batch evaluations. GetBatchEvaluation now returns insightResults that group session failures into insights with root causes and suggested fixes.
|
|
8
|
+
|
|
4
9
|
1.58.0 (2026-10-12)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.59.0
|
|
@@ -1757,6 +1757,7 @@ module Aws::BedrockAgentCore
|
|
|
1757
1757
|
# * {Types::GetBatchEvaluationResponse#data_source_config #data_source_config} => Types::DataSourceConfig
|
|
1758
1758
|
# * {Types::GetBatchEvaluationResponse#output_config #output_config} => Types::OutputConfig
|
|
1759
1759
|
# * {Types::GetBatchEvaluationResponse#evaluation_results #evaluation_results} => Types::EvaluationJobResults
|
|
1760
|
+
# * {Types::GetBatchEvaluationResponse#insight_results #insight_results} => Array<Types::InsightResult>
|
|
1760
1761
|
# * {Types::GetBatchEvaluationResponse#failure_analysis_result #failure_analysis_result} => Types::FailureAnalysisResultContent
|
|
1761
1762
|
# * {Types::GetBatchEvaluationResponse#user_intent_result #user_intent_result} => Types::UserIntentClusteringResultContent
|
|
1762
1763
|
# * {Types::GetBatchEvaluationResponse#execution_summary_result #execution_summary_result} => Types::ExecutionSummaryClusteringResultContent
|
|
@@ -1813,6 +1814,35 @@ module Aws::BedrockAgentCore
|
|
|
1813
1814
|
# resp.evaluation_results.evaluator_summaries[0].statistics.average_score #=> Float
|
|
1814
1815
|
# resp.evaluation_results.evaluator_summaries[0].total_evaluated #=> Integer
|
|
1815
1816
|
# resp.evaluation_results.evaluator_summaries[0].total_failed #=> Integer
|
|
1817
|
+
# resp.insight_results #=> Array
|
|
1818
|
+
# resp.insight_results[0].type #=> String, one of "FAILURE"
|
|
1819
|
+
# resp.insight_results[0].name #=> String
|
|
1820
|
+
# resp.insight_results[0].description #=> String
|
|
1821
|
+
# resp.insight_results[0].created_at #=> Time
|
|
1822
|
+
# resp.insight_results[0].affected_session_count #=> Integer
|
|
1823
|
+
# resp.insight_results[0].sample_sessions #=> Array
|
|
1824
|
+
# resp.insight_results[0].sample_sessions[0].session_id #=> String
|
|
1825
|
+
# resp.insight_results[0].sample_sessions[0].last_seen_at #=> Time
|
|
1826
|
+
# resp.insight_results[0].sample_sessions[0].findings #=> Array
|
|
1827
|
+
# resp.insight_results[0].sample_sessions[0].findings[0].target_id #=> String
|
|
1828
|
+
# resp.insight_results[0].sample_sessions[0].findings[0].target_type #=> String, one of "SPAN_ID", "TRACE_ID", "SPAN_NAME"
|
|
1829
|
+
# resp.insight_results[0].sample_sessions[0].findings[0].description #=> String
|
|
1830
|
+
# resp.insight_results[0].sample_sessions[0].findings[0].category #=> String
|
|
1831
|
+
# resp.insight_results[0].sample_sessions[0].findings[0].confidence #=> Float
|
|
1832
|
+
# resp.insight_results[0].root_causes #=> Array
|
|
1833
|
+
# resp.insight_results[0].root_causes[0].name #=> String
|
|
1834
|
+
# resp.insight_results[0].root_causes[0].explanation #=> String
|
|
1835
|
+
# resp.insight_results[0].root_causes[0].affected_session_count #=> Integer
|
|
1836
|
+
# resp.insight_results[0].root_causes[0].suggested_fix #=> String
|
|
1837
|
+
# resp.insight_results[0].root_causes[0].sample_sessions #=> Array
|
|
1838
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].session_id #=> String
|
|
1839
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].last_seen_at #=> Time
|
|
1840
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].findings #=> Array
|
|
1841
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].findings[0].target_id #=> String
|
|
1842
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].findings[0].target_type #=> String, one of "SPAN_ID", "TRACE_ID", "SPAN_NAME"
|
|
1843
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].findings[0].description #=> String
|
|
1844
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].findings[0].category #=> String
|
|
1845
|
+
# resp.insight_results[0].root_causes[0].sample_sessions[0].findings[0].confidence #=> Float
|
|
1816
1846
|
# resp.failure_analysis_result.failures #=> Array
|
|
1817
1847
|
# resp.failure_analysis_result.failures[0].cluster_id #=> Integer
|
|
1818
1848
|
# resp.failure_analysis_result.failures[0].name #=> String
|
|
@@ -4746,9 +4776,9 @@ module Aws::BedrockAgentCore
|
|
|
4746
4776
|
# memory records.
|
|
4747
4777
|
#
|
|
4748
4778
|
# @option params [String] :namespace
|
|
4749
|
-
# The namespace
|
|
4750
|
-
# records
|
|
4751
|
-
# `
|
|
4779
|
+
# The exact namespace to filter memory records by. Returns all memory
|
|
4780
|
+
# records that matches the provided namespace. Either `namespace` or
|
|
4781
|
+
# `namespacePath` is required.
|
|
4752
4782
|
#
|
|
4753
4783
|
# @option params [String] :namespace_path
|
|
4754
4784
|
# Use namespacePath for hierarchical retrievals. Return all memory
|
|
@@ -5173,9 +5203,9 @@ module Aws::BedrockAgentCore
|
|
|
5173
5203
|
# memory records.
|
|
5174
5204
|
#
|
|
5175
5205
|
# @option params [String] :namespace
|
|
5176
|
-
# The namespace
|
|
5177
|
-
# records
|
|
5178
|
-
#
|
|
5206
|
+
# The exact namespace to filter memory records by. Searches for memory
|
|
5207
|
+
# records that matches the provided namespace value. Either `namespace`
|
|
5208
|
+
# or `namespacePath` is required.
|
|
5179
5209
|
#
|
|
5180
5210
|
# @option params [String] :namespace_path
|
|
5181
5211
|
# Use namespacePath for hierarchical retrievals. Return all memory
|
|
@@ -6626,7 +6656,7 @@ module Aws::BedrockAgentCore
|
|
|
6626
6656
|
tracer: tracer
|
|
6627
6657
|
)
|
|
6628
6658
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6629
|
-
context[:gem_version] = '1.
|
|
6659
|
+
context[:gem_version] = '1.59.0'
|
|
6630
6660
|
Seahorse::Client::Request.new(handlers, context)
|
|
6631
6661
|
end
|
|
6632
6662
|
|
|
@@ -252,6 +252,9 @@ module Aws::BedrockAgentCore
|
|
|
252
252
|
FilterInput = Shapes::StructureShape.new(name: 'FilterInput')
|
|
253
253
|
FilterStringValue = Shapes::StringShape.new(name: 'FilterStringValue')
|
|
254
254
|
FilterValue = Shapes::UnionShape.new(name: 'FilterValue')
|
|
255
|
+
FindingDescription = Shapes::StringShape.new(name: 'FindingDescription')
|
|
256
|
+
FindingTargetId = Shapes::StringShape.new(name: 'FindingTargetId')
|
|
257
|
+
FindingTargetType = Shapes::StringShape.new(name: 'FindingTargetType')
|
|
255
258
|
GatewayArn = Shapes::StringShape.new(name: 'GatewayArn')
|
|
256
259
|
GatewayFilter = Shapes::StructureShape.new(name: 'GatewayFilter')
|
|
257
260
|
GetABTestRequest = Shapes::StructureShape.new(name: 'GetABTestRequest')
|
|
@@ -394,8 +397,16 @@ module Aws::BedrockAgentCore
|
|
|
394
397
|
InputContentBlock = Shapes::StructureShape.new(name: 'InputContentBlock')
|
|
395
398
|
InputContentBlockList = Shapes::ListShape.new(name: 'InputContentBlockList')
|
|
396
399
|
Insight = Shapes::StructureShape.new(name: 'Insight')
|
|
400
|
+
InsightDescription = Shapes::StringShape.new(name: 'InsightDescription')
|
|
397
401
|
InsightId = Shapes::StringShape.new(name: 'InsightId')
|
|
398
402
|
InsightList = Shapes::ListShape.new(name: 'InsightList')
|
|
403
|
+
InsightName = Shapes::StringShape.new(name: 'InsightName')
|
|
404
|
+
InsightResult = Shapes::StructureShape.new(name: 'InsightResult')
|
|
405
|
+
InsightResultList = Shapes::ListShape.new(name: 'InsightResultList')
|
|
406
|
+
InsightRootCause = Shapes::StructureShape.new(name: 'InsightRootCause')
|
|
407
|
+
InsightRootCauseList = Shapes::ListShape.new(name: 'InsightRootCauseList')
|
|
408
|
+
InsightSampleSessionList = Shapes::ListShape.new(name: 'InsightSampleSessionList')
|
|
409
|
+
InsightType = Shapes::StringShape.new(name: 'InsightType')
|
|
399
410
|
InsightsFailureCategory = Shapes::StringShape.new(name: 'InsightsFailureCategory')
|
|
400
411
|
InsightsFailureSignal = Shapes::StructureShape.new(name: 'InsightsFailureSignal')
|
|
401
412
|
InsightsFailureSignalList = Shapes::ListShape.new(name: 'InsightsFailureSignalList')
|
|
@@ -665,6 +676,8 @@ module Aws::BedrockAgentCore
|
|
|
665
676
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
|
666
677
|
RootCauseCluster = Shapes::StructureShape.new(name: 'RootCauseCluster')
|
|
667
678
|
RootCauseClusterList = Shapes::ListShape.new(name: 'RootCauseClusterList')
|
|
679
|
+
RootCauseExplanation = Shapes::StringShape.new(name: 'RootCauseExplanation')
|
|
680
|
+
RootCauseName = Shapes::StringShape.new(name: 'RootCauseName')
|
|
668
681
|
RuntimeClientError = Shapes::StructureShape.new(name: 'RuntimeClientError')
|
|
669
682
|
S3FilesAccessPointArn = Shapes::StringShape.new(name: 'S3FilesAccessPointArn')
|
|
670
683
|
S3FilesConfiguration = Shapes::StructureShape.new(name: 'S3FilesConfiguration')
|
|
@@ -673,6 +686,7 @@ module Aws::BedrockAgentCore
|
|
|
673
686
|
S3LocationBucketString = Shapes::StringShape.new(name: 'S3LocationBucketString')
|
|
674
687
|
S3LocationPrefixString = Shapes::StringShape.new(name: 'S3LocationPrefixString')
|
|
675
688
|
S3LocationVersionIdString = Shapes::StringShape.new(name: 'S3LocationVersionIdString')
|
|
689
|
+
SampleSession = Shapes::StructureShape.new(name: 'SampleSession')
|
|
676
690
|
SaveBrowserSessionProfileRequest = Shapes::StructureShape.new(name: 'SaveBrowserSessionProfileRequest')
|
|
677
691
|
SaveBrowserSessionProfileRequestTraceIdString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceIdString')
|
|
678
692
|
SaveBrowserSessionProfileRequestTraceParentString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceParentString')
|
|
@@ -702,6 +716,10 @@ module Aws::BedrockAgentCore
|
|
|
702
716
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
|
703
717
|
SessionFilter = Shapes::StructureShape.new(name: 'SessionFilter')
|
|
704
718
|
SessionFilterConfig = Shapes::StructureShape.new(name: 'SessionFilterConfig')
|
|
719
|
+
SessionFinding = Shapes::StructureShape.new(name: 'SessionFinding')
|
|
720
|
+
SessionFindingCategoryString = Shapes::StringShape.new(name: 'SessionFindingCategoryString')
|
|
721
|
+
SessionFindingConfidenceDouble = Shapes::FloatShape.new(name: 'SessionFindingConfidenceDouble')
|
|
722
|
+
SessionFindingList = Shapes::ListShape.new(name: 'SessionFindingList')
|
|
705
723
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
|
706
724
|
SessionLimits = Shapes::StructureShape.new(name: 'SessionLimits')
|
|
707
725
|
SessionMetadataList = Shapes::ListShape.new(name: 'SessionMetadataList')
|
|
@@ -767,6 +785,7 @@ module Aws::BedrockAgentCore
|
|
|
767
785
|
SubscriptionRequiredException = Shapes::StructureShape.new(name: 'SubscriptionRequiredException')
|
|
768
786
|
SubscriptionRequiredExceptionProductNameString = Shapes::StringShape.new(name: 'SubscriptionRequiredExceptionProductNameString')
|
|
769
787
|
SubscriptionRequiredExceptionSubscriptionUrlString = Shapes::StringShape.new(name: 'SubscriptionRequiredExceptionSubscriptionUrlString')
|
|
788
|
+
SuggestedFix = Shapes::StringShape.new(name: 'SuggestedFix')
|
|
770
789
|
SyntheticTimestamp_date_time = Shapes::TimestampShape.new(name: 'SyntheticTimestamp_date_time', timestampFormat: "iso8601")
|
|
771
790
|
SystemPromptConfig = Shapes::UnionShape.new(name: 'SystemPromptConfig')
|
|
772
791
|
SystemPromptConfigurationBundle = Shapes::StructureShape.new(name: 'SystemPromptConfigurationBundle')
|
|
@@ -1649,6 +1668,7 @@ module Aws::BedrockAgentCore
|
|
|
1649
1668
|
GetBatchEvaluationResponse.add_member(:data_source_config, Shapes::ShapeRef.new(shape: DataSourceConfig, location_name: "dataSourceConfig"))
|
|
1650
1669
|
GetBatchEvaluationResponse.add_member(:output_config, Shapes::ShapeRef.new(shape: OutputConfig, location_name: "outputConfig"))
|
|
1651
1670
|
GetBatchEvaluationResponse.add_member(:evaluation_results, Shapes::ShapeRef.new(shape: EvaluationJobResults, location_name: "evaluationResults"))
|
|
1671
|
+
GetBatchEvaluationResponse.add_member(:insight_results, Shapes::ShapeRef.new(shape: InsightResultList, location_name: "insightResults"))
|
|
1652
1672
|
GetBatchEvaluationResponse.add_member(:failure_analysis_result, Shapes::ShapeRef.new(shape: FailureAnalysisResultContent, location_name: "failureAnalysisResult"))
|
|
1653
1673
|
GetBatchEvaluationResponse.add_member(:user_intent_result, Shapes::ShapeRef.new(shape: UserIntentClusteringResultContent, location_name: "userIntentResult"))
|
|
1654
1674
|
GetBatchEvaluationResponse.add_member(:execution_summary_result, Shapes::ShapeRef.new(shape: ExecutionSummaryClusteringResultContent, location_name: "executionSummaryResult"))
|
|
@@ -2168,6 +2188,28 @@ module Aws::BedrockAgentCore
|
|
|
2168
2188
|
|
|
2169
2189
|
InsightList.member = Shapes::ShapeRef.new(shape: Insight)
|
|
2170
2190
|
|
|
2191
|
+
InsightResult.add_member(:type, Shapes::ShapeRef.new(shape: InsightType, required: true, location_name: "type"))
|
|
2192
|
+
InsightResult.add_member(:name, Shapes::ShapeRef.new(shape: InsightName, required: true, location_name: "name"))
|
|
2193
|
+
InsightResult.add_member(:description, Shapes::ShapeRef.new(shape: InsightDescription, required: true, location_name: "description"))
|
|
2194
|
+
InsightResult.add_member(:created_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, required: true, location_name: "createdAt"))
|
|
2195
|
+
InsightResult.add_member(:affected_session_count, Shapes::ShapeRef.new(shape: Integer, location_name: "affectedSessionCount"))
|
|
2196
|
+
InsightResult.add_member(:sample_sessions, Shapes::ShapeRef.new(shape: InsightSampleSessionList, location_name: "sampleSessions"))
|
|
2197
|
+
InsightResult.add_member(:root_causes, Shapes::ShapeRef.new(shape: InsightRootCauseList, location_name: "rootCauses"))
|
|
2198
|
+
InsightResult.struct_class = Types::InsightResult
|
|
2199
|
+
|
|
2200
|
+
InsightResultList.member = Shapes::ShapeRef.new(shape: InsightResult)
|
|
2201
|
+
|
|
2202
|
+
InsightRootCause.add_member(:name, Shapes::ShapeRef.new(shape: RootCauseName, required: true, location_name: "name"))
|
|
2203
|
+
InsightRootCause.add_member(:explanation, Shapes::ShapeRef.new(shape: RootCauseExplanation, required: true, location_name: "explanation"))
|
|
2204
|
+
InsightRootCause.add_member(:affected_session_count, Shapes::ShapeRef.new(shape: Integer, location_name: "affectedSessionCount"))
|
|
2205
|
+
InsightRootCause.add_member(:suggested_fix, Shapes::ShapeRef.new(shape: SuggestedFix, location_name: "suggestedFix"))
|
|
2206
|
+
InsightRootCause.add_member(:sample_sessions, Shapes::ShapeRef.new(shape: InsightSampleSessionList, location_name: "sampleSessions"))
|
|
2207
|
+
InsightRootCause.struct_class = Types::InsightRootCause
|
|
2208
|
+
|
|
2209
|
+
InsightRootCauseList.member = Shapes::ShapeRef.new(shape: InsightRootCause)
|
|
2210
|
+
|
|
2211
|
+
InsightSampleSessionList.member = Shapes::ShapeRef.new(shape: SampleSession)
|
|
2212
|
+
|
|
2171
2213
|
InsightsFailureSignal.add_member(:category, Shapes::ShapeRef.new(shape: InsightsFailureCategory, required: true, location_name: "category"))
|
|
2172
2214
|
InsightsFailureSignal.add_member(:evidence, Shapes::ShapeRef.new(shape: String, required: true, location_name: "evidence"))
|
|
2173
2215
|
InsightsFailureSignal.add_member(:confidence, Shapes::ShapeRef.new(shape: Double, required: true, location_name: "confidence"))
|
|
@@ -2989,6 +3031,11 @@ module Aws::BedrockAgentCore
|
|
|
2989
3031
|
S3Location.add_member(:version_id, Shapes::ShapeRef.new(shape: S3LocationVersionIdString, location_name: "versionId"))
|
|
2990
3032
|
S3Location.struct_class = Types::S3Location
|
|
2991
3033
|
|
|
3034
|
+
SampleSession.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
|
|
3035
|
+
SampleSession.add_member(:last_seen_at, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "lastSeenAt"))
|
|
3036
|
+
SampleSession.add_member(:findings, Shapes::ShapeRef.new(shape: SessionFindingList, location_name: "findings"))
|
|
3037
|
+
SampleSession.struct_class = Types::SampleSession
|
|
3038
|
+
|
|
2992
3039
|
SaveBrowserSessionProfileRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
2993
3040
|
SaveBrowserSessionProfileRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
2994
3041
|
SaveBrowserSessionProfileRequest.add_member(:profile_identifier, Shapes::ShapeRef.new(shape: BrowserProfileId, required: true, location: "uri", location_name: "profileIdentifier"))
|
|
@@ -3052,6 +3099,15 @@ module Aws::BedrockAgentCore
|
|
|
3052
3099
|
SessionFilterConfig.add_member(:end_time, Shapes::ShapeRef.new(shape: SyntheticTimestamp_date_time, location_name: "endTime"))
|
|
3053
3100
|
SessionFilterConfig.struct_class = Types::SessionFilterConfig
|
|
3054
3101
|
|
|
3102
|
+
SessionFinding.add_member(:target_id, Shapes::ShapeRef.new(shape: FindingTargetId, location_name: "targetId"))
|
|
3103
|
+
SessionFinding.add_member(:target_type, Shapes::ShapeRef.new(shape: FindingTargetType, location_name: "targetType"))
|
|
3104
|
+
SessionFinding.add_member(:description, Shapes::ShapeRef.new(shape: FindingDescription, required: true, location_name: "description"))
|
|
3105
|
+
SessionFinding.add_member(:category, Shapes::ShapeRef.new(shape: SessionFindingCategoryString, location_name: "category"))
|
|
3106
|
+
SessionFinding.add_member(:confidence, Shapes::ShapeRef.new(shape: SessionFindingConfidenceDouble, location_name: "confidence"))
|
|
3107
|
+
SessionFinding.struct_class = Types::SessionFinding
|
|
3108
|
+
|
|
3109
|
+
SessionFindingList.member = Shapes::ShapeRef.new(shape: SessionFinding)
|
|
3110
|
+
|
|
3055
3111
|
SessionLimits.add_member(:max_spend_amount, Shapes::ShapeRef.new(shape: Amount, required: true, location_name: "maxSpendAmount"))
|
|
3056
3112
|
SessionLimits.struct_class = Types::SessionLimits
|
|
3057
3113
|
|
|
@@ -3596,6 +3596,14 @@ module Aws::BedrockAgentCore
|
|
|
3596
3596
|
# counts and evaluator score summaries.
|
|
3597
3597
|
# @return [Types::EvaluationJobResults]
|
|
3598
3598
|
#
|
|
3599
|
+
# @!attribute [rw] insight_results
|
|
3600
|
+
# The insights generated when the batch evaluation includes the
|
|
3601
|
+
# `Builtin.FailureAnalysis` evaluator. Each insight groups related
|
|
3602
|
+
# failures found across the evaluated sessions. An empty list means
|
|
3603
|
+
# that no failures were found. If the analysis fails, this field is
|
|
3604
|
+
# omitted and `errorDetails` describes the error.
|
|
3605
|
+
# @return [Array<Types::InsightResult>]
|
|
3606
|
+
#
|
|
3599
3607
|
# @!attribute [rw] failure_analysis_result
|
|
3600
3608
|
# The failure analysis results from insights, containing categorized
|
|
3601
3609
|
# failure clusters with root causes and recommendations.
|
|
@@ -3640,6 +3648,7 @@ module Aws::BedrockAgentCore
|
|
|
3640
3648
|
:data_source_config,
|
|
3641
3649
|
:output_config,
|
|
3642
3650
|
:evaluation_results,
|
|
3651
|
+
:insight_results,
|
|
3643
3652
|
:failure_analysis_result,
|
|
3644
3653
|
:user_intent_result,
|
|
3645
3654
|
:execution_summary_result,
|
|
@@ -4737,6 +4746,10 @@ module Aws::BedrockAgentCore
|
|
|
4737
4746
|
#
|
|
4738
4747
|
# @!attribute [rw] oauth
|
|
4739
4748
|
# OAuth 2.0 authentication via AgentCore Identity.
|
|
4749
|
+
#
|
|
4750
|
+
# The `AUTHORIZATION_CODE` grant type is not supported for outbound
|
|
4751
|
+
# authentication from a harness to an AgentCore Gateway, even when
|
|
4752
|
+
# `defaultReturnUrl` is specified.
|
|
4740
4753
|
# @return [Types::OAuthCredentialProvider]
|
|
4741
4754
|
#
|
|
4742
4755
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessGatewayOutboundAuth AWS API Documentation
|
|
@@ -5800,6 +5813,92 @@ module Aws::BedrockAgentCore
|
|
|
5800
5813
|
include Aws::Structure
|
|
5801
5814
|
end
|
|
5802
5815
|
|
|
5816
|
+
# An insight that groups related failures found across the sessions in a
|
|
5817
|
+
# batch evaluation.
|
|
5818
|
+
#
|
|
5819
|
+
# @!attribute [rw] type
|
|
5820
|
+
# The type of insight. `FAILURE` indicates a group of related
|
|
5821
|
+
# failures.
|
|
5822
|
+
# @return [String]
|
|
5823
|
+
#
|
|
5824
|
+
# @!attribute [rw] name
|
|
5825
|
+
# A generated label for the insight. The name is not an identifier and
|
|
5826
|
+
# can differ between batch evaluations.
|
|
5827
|
+
# @return [String]
|
|
5828
|
+
#
|
|
5829
|
+
# @!attribute [rw] description
|
|
5830
|
+
# A description of the failure pattern that the insight represents.
|
|
5831
|
+
# @return [String]
|
|
5832
|
+
#
|
|
5833
|
+
# @!attribute [rw] created_at
|
|
5834
|
+
# The timestamp when the insight was generated.
|
|
5835
|
+
# @return [Time]
|
|
5836
|
+
#
|
|
5837
|
+
# @!attribute [rw] affected_session_count
|
|
5838
|
+
# The number of distinct sessions affected by the insight.
|
|
5839
|
+
# @return [Integer]
|
|
5840
|
+
#
|
|
5841
|
+
# @!attribute [rw] sample_sessions
|
|
5842
|
+
# A sample of up to 10 sessions affected by the insight. Returned only
|
|
5843
|
+
# when the insight has no root causes. Otherwise, sample sessions are
|
|
5844
|
+
# returned for each root cause.
|
|
5845
|
+
# @return [Array<Types::SampleSession>]
|
|
5846
|
+
#
|
|
5847
|
+
# @!attribute [rw] root_causes
|
|
5848
|
+
# The root causes identified for the insight.
|
|
5849
|
+
# @return [Array<Types::InsightRootCause>]
|
|
5850
|
+
#
|
|
5851
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/InsightResult AWS API Documentation
|
|
5852
|
+
#
|
|
5853
|
+
class InsightResult < Struct.new(
|
|
5854
|
+
:type,
|
|
5855
|
+
:name,
|
|
5856
|
+
:description,
|
|
5857
|
+
:created_at,
|
|
5858
|
+
:affected_session_count,
|
|
5859
|
+
:sample_sessions,
|
|
5860
|
+
:root_causes)
|
|
5861
|
+
SENSITIVE = [:name, :description]
|
|
5862
|
+
include Aws::Structure
|
|
5863
|
+
end
|
|
5864
|
+
|
|
5865
|
+
# A root cause that contributes to an insight.
|
|
5866
|
+
#
|
|
5867
|
+
# @!attribute [rw] name
|
|
5868
|
+
# A generated label for the root cause.
|
|
5869
|
+
# @return [String]
|
|
5870
|
+
#
|
|
5871
|
+
# @!attribute [rw] explanation
|
|
5872
|
+
# An explanation of how the root cause leads to the failures in the
|
|
5873
|
+
# insight.
|
|
5874
|
+
# @return [String]
|
|
5875
|
+
#
|
|
5876
|
+
# @!attribute [rw] affected_session_count
|
|
5877
|
+
# The number of distinct sessions affected by the root cause. A
|
|
5878
|
+
# session can be affected by more than one root cause of the same
|
|
5879
|
+
# insight.
|
|
5880
|
+
# @return [Integer]
|
|
5881
|
+
#
|
|
5882
|
+
# @!attribute [rw] suggested_fix
|
|
5883
|
+
# A suggested change to the agent that addresses the root cause.
|
|
5884
|
+
# @return [String]
|
|
5885
|
+
#
|
|
5886
|
+
# @!attribute [rw] sample_sessions
|
|
5887
|
+
# A sample of up to 10 sessions affected by the root cause.
|
|
5888
|
+
# @return [Array<Types::SampleSession>]
|
|
5889
|
+
#
|
|
5890
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/InsightRootCause AWS API Documentation
|
|
5891
|
+
#
|
|
5892
|
+
class InsightRootCause < Struct.new(
|
|
5893
|
+
:name,
|
|
5894
|
+
:explanation,
|
|
5895
|
+
:affected_session_count,
|
|
5896
|
+
:suggested_fix,
|
|
5897
|
+
:sample_sessions)
|
|
5898
|
+
SENSITIVE = [:name, :explanation, :suggested_fix]
|
|
5899
|
+
include Aws::Structure
|
|
5900
|
+
end
|
|
5901
|
+
|
|
5803
5902
|
# A signal indicating a detected failure within a span.
|
|
5804
5903
|
#
|
|
5805
5904
|
# @!attribute [rw] category
|
|
@@ -7059,9 +7158,9 @@ module Aws::BedrockAgentCore
|
|
|
7059
7158
|
# @return [String]
|
|
7060
7159
|
#
|
|
7061
7160
|
# @!attribute [rw] namespace
|
|
7062
|
-
# The namespace
|
|
7063
|
-
# records
|
|
7064
|
-
# `
|
|
7161
|
+
# The exact namespace to filter memory records by. Returns all memory
|
|
7162
|
+
# records that matches the provided namespace. Either `namespace` or
|
|
7163
|
+
# `namespacePath` is required.
|
|
7065
7164
|
# @return [String]
|
|
7066
7165
|
#
|
|
7067
7166
|
# @!attribute [rw] namespace_path
|
|
@@ -9180,9 +9279,9 @@ module Aws::BedrockAgentCore
|
|
|
9180
9279
|
# @return [String]
|
|
9181
9280
|
#
|
|
9182
9281
|
# @!attribute [rw] namespace
|
|
9183
|
-
# The namespace
|
|
9184
|
-
#
|
|
9185
|
-
#
|
|
9282
|
+
# The exact namespace to filter memory records by. Searches for memory
|
|
9283
|
+
# records that matches the provided namespace value. Either
|
|
9284
|
+
# `namespace` or `namespacePath` is required.
|
|
9186
9285
|
# @return [String]
|
|
9187
9286
|
#
|
|
9188
9287
|
# @!attribute [rw] namespace_path
|
|
@@ -9389,6 +9488,33 @@ module Aws::BedrockAgentCore
|
|
|
9389
9488
|
include Aws::Structure
|
|
9390
9489
|
end
|
|
9391
9490
|
|
|
9491
|
+
# A session affected by an insight or root cause. Use the session ID to
|
|
9492
|
+
# find the per-session evaluation results in CloudWatch Logs.
|
|
9493
|
+
#
|
|
9494
|
+
# @!attribute [rw] session_id
|
|
9495
|
+
# The unique identifier of the session.
|
|
9496
|
+
# @return [String]
|
|
9497
|
+
#
|
|
9498
|
+
# @!attribute [rw] last_seen_at
|
|
9499
|
+
# The latest timestamp observed for the session in the batch
|
|
9500
|
+
# evaluation input.
|
|
9501
|
+
# @return [Time]
|
|
9502
|
+
#
|
|
9503
|
+
# @!attribute [rw] findings
|
|
9504
|
+
# The failures found in the session that belong to the insight or root
|
|
9505
|
+
# cause, up to 10.
|
|
9506
|
+
# @return [Array<Types::SessionFinding>]
|
|
9507
|
+
#
|
|
9508
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SampleSession AWS API Documentation
|
|
9509
|
+
#
|
|
9510
|
+
class SampleSession < Struct.new(
|
|
9511
|
+
:session_id,
|
|
9512
|
+
:last_seen_at,
|
|
9513
|
+
:findings)
|
|
9514
|
+
SENSITIVE = []
|
|
9515
|
+
include Aws::Structure
|
|
9516
|
+
end
|
|
9517
|
+
|
|
9392
9518
|
# @!attribute [rw] trace_id
|
|
9393
9519
|
# The trace identifier for request tracking.
|
|
9394
9520
|
# @return [String]
|
|
@@ -9691,6 +9817,41 @@ module Aws::BedrockAgentCore
|
|
|
9691
9817
|
include Aws::Structure
|
|
9692
9818
|
end
|
|
9693
9819
|
|
|
9820
|
+
# A failure found in a session.
|
|
9821
|
+
#
|
|
9822
|
+
# @!attribute [rw] target_id
|
|
9823
|
+
# The identifier or name of the location in the session where the
|
|
9824
|
+
# failure was found, interpreted according to `targetType`.
|
|
9825
|
+
# @return [String]
|
|
9826
|
+
#
|
|
9827
|
+
# @!attribute [rw] target_type
|
|
9828
|
+
# The type of location that `targetId` refers to.
|
|
9829
|
+
# @return [String]
|
|
9830
|
+
#
|
|
9831
|
+
# @!attribute [rw] description
|
|
9832
|
+
# A description of the failure.
|
|
9833
|
+
# @return [String]
|
|
9834
|
+
#
|
|
9835
|
+
# @!attribute [rw] category
|
|
9836
|
+
# The category of the failure.
|
|
9837
|
+
# @return [String]
|
|
9838
|
+
#
|
|
9839
|
+
# @!attribute [rw] confidence
|
|
9840
|
+
# The confidence that the finding is a failure, from 0 to 1.
|
|
9841
|
+
# @return [Float]
|
|
9842
|
+
#
|
|
9843
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/SessionFinding AWS API Documentation
|
|
9844
|
+
#
|
|
9845
|
+
class SessionFinding < Struct.new(
|
|
9846
|
+
:target_id,
|
|
9847
|
+
:target_type,
|
|
9848
|
+
:description,
|
|
9849
|
+
:category,
|
|
9850
|
+
:confidence)
|
|
9851
|
+
SENSITIVE = [:description]
|
|
9852
|
+
include Aws::Structure
|
|
9853
|
+
end
|
|
9854
|
+
|
|
9694
9855
|
# The spending limits configuration for a payment session.
|
|
9695
9856
|
#
|
|
9696
9857
|
# @!attribute [rw] max_spend_amount
|
data/sig/client.rbs
CHANGED
|
@@ -536,6 +536,7 @@ module Aws
|
|
|
536
536
|
def data_source_config: () -> Types::DataSourceConfig
|
|
537
537
|
def output_config: () -> Types::OutputConfig
|
|
538
538
|
def evaluation_results: () -> Types::EvaluationJobResults
|
|
539
|
+
def insight_results: () -> ::Array[Types::InsightResult]
|
|
539
540
|
def failure_analysis_result: () -> Types::FailureAnalysisResultContent
|
|
540
541
|
def user_intent_result: () -> Types::UserIntentClusteringResultContent
|
|
541
542
|
def execution_summary_result: () -> Types::ExecutionSummaryClusteringResultContent
|
data/sig/errors.rbs
CHANGED
|
@@ -11,51 +11,51 @@ module Aws
|
|
|
11
11
|
class ServiceError < ::Aws::Errors::ServiceError
|
|
12
12
|
end
|
|
13
13
|
|
|
14
|
-
class AccessDeniedException <
|
|
14
|
+
class AccessDeniedException < ServiceError
|
|
15
15
|
def message: () -> ::String
|
|
16
16
|
end
|
|
17
|
-
class ConflictException <
|
|
17
|
+
class ConflictException < ServiceError
|
|
18
18
|
def message: () -> ::String
|
|
19
19
|
end
|
|
20
|
-
class DuplicateIdException <
|
|
20
|
+
class DuplicateIdException < ServiceError
|
|
21
21
|
def message: () -> ::String
|
|
22
22
|
end
|
|
23
|
-
class InternalServerException <
|
|
23
|
+
class InternalServerException < ServiceError
|
|
24
24
|
def message: () -> ::String
|
|
25
25
|
end
|
|
26
|
-
class InvalidInputException <
|
|
26
|
+
class InvalidInputException < ServiceError
|
|
27
27
|
def message: () -> ::String
|
|
28
28
|
end
|
|
29
|
-
class ResourceNotFoundException <
|
|
29
|
+
class ResourceNotFoundException < ServiceError
|
|
30
30
|
def message: () -> ::String
|
|
31
31
|
end
|
|
32
|
-
class RetryableConflictException <
|
|
32
|
+
class RetryableConflictException < ServiceError
|
|
33
33
|
def message: () -> ::String
|
|
34
34
|
end
|
|
35
|
-
class RuntimeClientError <
|
|
35
|
+
class RuntimeClientError < ServiceError
|
|
36
36
|
def message: () -> ::String
|
|
37
37
|
end
|
|
38
|
-
class ServiceException <
|
|
38
|
+
class ServiceException < ServiceError
|
|
39
39
|
def message: () -> ::String
|
|
40
40
|
end
|
|
41
|
-
class ServiceQuotaExceededException <
|
|
41
|
+
class ServiceQuotaExceededException < ServiceError
|
|
42
42
|
def message: () -> ::String
|
|
43
43
|
end
|
|
44
|
-
class SubscriptionRequiredException <
|
|
44
|
+
class SubscriptionRequiredException < ServiceError
|
|
45
45
|
def message: () -> ::String
|
|
46
46
|
def subscription_url: () -> ::String
|
|
47
47
|
def product_name: () -> ::String
|
|
48
48
|
end
|
|
49
|
-
class ThrottledException <
|
|
49
|
+
class ThrottledException < ServiceError
|
|
50
50
|
def message: () -> ::String
|
|
51
51
|
end
|
|
52
|
-
class ThrottlingException <
|
|
52
|
+
class ThrottlingException < ServiceError
|
|
53
53
|
def message: () -> ::String
|
|
54
54
|
end
|
|
55
|
-
class UnauthorizedException <
|
|
55
|
+
class UnauthorizedException < ServiceError
|
|
56
56
|
def message: () -> ::String
|
|
57
57
|
end
|
|
58
|
-
class ValidationException <
|
|
58
|
+
class ValidationException < ServiceError
|
|
59
59
|
def message: () -> ::String
|
|
60
60
|
def reason: () -> ::String
|
|
61
61
|
def field_list: () -> ::String
|
data/sig/types.rbs
CHANGED
|
@@ -1053,6 +1053,7 @@ module Aws::BedrockAgentCore
|
|
|
1053
1053
|
attr_accessor data_source_config: Types::DataSourceConfig
|
|
1054
1054
|
attr_accessor output_config: Types::OutputConfig
|
|
1055
1055
|
attr_accessor evaluation_results: Types::EvaluationJobResults
|
|
1056
|
+
attr_accessor insight_results: ::Array[Types::InsightResult]
|
|
1056
1057
|
attr_accessor failure_analysis_result: Types::FailureAnalysisResultContent
|
|
1057
1058
|
attr_accessor user_intent_result: Types::UserIntentClusteringResultContent
|
|
1058
1059
|
attr_accessor execution_summary_result: Types::ExecutionSummaryClusteringResultContent
|
|
@@ -1782,6 +1783,26 @@ module Aws::BedrockAgentCore
|
|
|
1782
1783
|
SENSITIVE: []
|
|
1783
1784
|
end
|
|
1784
1785
|
|
|
1786
|
+
class InsightResult
|
|
1787
|
+
attr_accessor type: ("FAILURE")
|
|
1788
|
+
attr_accessor name: ::String
|
|
1789
|
+
attr_accessor description: ::String
|
|
1790
|
+
attr_accessor created_at: ::Time
|
|
1791
|
+
attr_accessor affected_session_count: ::Integer
|
|
1792
|
+
attr_accessor sample_sessions: ::Array[Types::SampleSession]
|
|
1793
|
+
attr_accessor root_causes: ::Array[Types::InsightRootCause]
|
|
1794
|
+
SENSITIVE: [:name, :description]
|
|
1795
|
+
end
|
|
1796
|
+
|
|
1797
|
+
class InsightRootCause
|
|
1798
|
+
attr_accessor name: ::String
|
|
1799
|
+
attr_accessor explanation: ::String
|
|
1800
|
+
attr_accessor affected_session_count: ::Integer
|
|
1801
|
+
attr_accessor suggested_fix: ::String
|
|
1802
|
+
attr_accessor sample_sessions: ::Array[Types::SampleSession]
|
|
1803
|
+
SENSITIVE: [:name, :explanation, :suggested_fix]
|
|
1804
|
+
end
|
|
1805
|
+
|
|
1785
1806
|
class InsightsFailureSignal
|
|
1786
1807
|
attr_accessor category: ("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")
|
|
1787
1808
|
attr_accessor evidence: ::String
|
|
@@ -2838,6 +2859,13 @@ module Aws::BedrockAgentCore
|
|
|
2838
2859
|
SENSITIVE: []
|
|
2839
2860
|
end
|
|
2840
2861
|
|
|
2862
|
+
class SampleSession
|
|
2863
|
+
attr_accessor session_id: ::String
|
|
2864
|
+
attr_accessor last_seen_at: ::Time
|
|
2865
|
+
attr_accessor findings: ::Array[Types::SessionFinding]
|
|
2866
|
+
SENSITIVE: []
|
|
2867
|
+
end
|
|
2868
|
+
|
|
2841
2869
|
class SaveBrowserSessionProfileRequest
|
|
2842
2870
|
attr_accessor trace_id: ::String
|
|
2843
2871
|
attr_accessor trace_parent: ::String
|
|
@@ -2922,6 +2950,15 @@ module Aws::BedrockAgentCore
|
|
|
2922
2950
|
SENSITIVE: []
|
|
2923
2951
|
end
|
|
2924
2952
|
|
|
2953
|
+
class SessionFinding
|
|
2954
|
+
attr_accessor target_id: ::String
|
|
2955
|
+
attr_accessor target_type: ("SPAN_ID" | "TRACE_ID" | "SPAN_NAME")
|
|
2956
|
+
attr_accessor description: ::String
|
|
2957
|
+
attr_accessor category: ::String
|
|
2958
|
+
attr_accessor confidence: ::Float
|
|
2959
|
+
SENSITIVE: [:description]
|
|
2960
|
+
end
|
|
2961
|
+
|
|
2925
2962
|
class SessionLimits
|
|
2926
2963
|
attr_accessor max_spend_amount: Types::Amount
|
|
2927
2964
|
SENSITIVE: []
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-bedrockagentcore
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.
|
|
4
|
+
version: 1.59.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
@@ -18,7 +18,7 @@ dependencies:
|
|
|
18
18
|
version: '3'
|
|
19
19
|
- - ">="
|
|
20
20
|
- !ruby/object:Gem::Version
|
|
21
|
-
version: 3.
|
|
21
|
+
version: 3.258.0
|
|
22
22
|
type: :runtime
|
|
23
23
|
prerelease: false
|
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
|
@@ -28,7 +28,7 @@ dependencies:
|
|
|
28
28
|
version: '3'
|
|
29
29
|
- - ">="
|
|
30
30
|
- !ruby/object:Gem::Version
|
|
31
|
-
version: 3.
|
|
31
|
+
version: 3.258.0
|
|
32
32
|
- !ruby/object:Gem::Dependency
|
|
33
33
|
name: aws-sigv4
|
|
34
34
|
requirement: !ruby/object:Gem::Requirement
|