aws-sdk-bedrockagentcore 1.40.0 → 1.42.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 +19 -5
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +16 -1
- data/lib/aws-sdk-bedrockagentcore/types.rb +57 -17
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +7 -2
- data/sig/types.rbs +12 -2
- 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: cc21592e86fb5ec60e6f1133ce1d2e219d8d0a03e627e23782d3f7112e60c935
|
|
4
|
+
data.tar.gz: 85d9c0b53ed126574e30a107557200269a2dcf50e1f61943d4e32b873fe9f5b7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 607c7672dfe741e7046b88c92a790612b56177ee6c395a51796e79c015cef70d631a1eb2740ddb8e0fe70195877a3b81edc9bb7e51b3a6502fba8a841f505c8c
|
|
7
|
+
data.tar.gz: f1fa0fe39bd5ed468e97f1c960e6dc2baab43643a361f216d8938023885a64235ad13128072cae6ee23f49f90330305f43306cc1804dc0babbd7bcacb5b69610
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.42.0 (2026-06-22)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Adds an optional extractionMode field to CreateEvent. SKIP retains the event in short-term memory but excludes it from long-term memory extraction.
|
|
8
|
+
|
|
9
|
+
1.41.0 (2026-06-17)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - AgentCore Harness service will be Generally Available at NYS 2026 with this Treb release. Harness will support invoking specific endpoints via the qualifier parameter, AWS Skills for pre-built agent capabilities, and improved validation for skill git source URLs.
|
|
13
|
+
|
|
4
14
|
1.40.0 (2026-06-12)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.42.0
|
|
@@ -867,6 +867,12 @@ module Aws::BedrockAgentCore
|
|
|
867
867
|
# @option params [Hash<String,Types::MetadataValue>] :metadata
|
|
868
868
|
# The key-value metadata to attach to the event.
|
|
869
869
|
#
|
|
870
|
+
# @option params [String] :extraction_mode
|
|
871
|
+
# Controls long-term memory extraction for this event. When set to
|
|
872
|
+
# `SKIP`, the event is stored in short-term memory but is excluded from
|
|
873
|
+
# long-term memory extraction. If not specified, the event is processed
|
|
874
|
+
# for extraction as usual.
|
|
875
|
+
#
|
|
870
876
|
# @return [Types::CreateEventOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
871
877
|
#
|
|
872
878
|
# * {Types::CreateEventOutput#event #event} => Types::Event
|
|
@@ -900,6 +906,7 @@ module Aws::BedrockAgentCore
|
|
|
900
906
|
# string_value: "MetadataValueStringValueString",
|
|
901
907
|
# },
|
|
902
908
|
# },
|
|
909
|
+
# extraction_mode: "SKIP", # accepts SKIP
|
|
903
910
|
# })
|
|
904
911
|
#
|
|
905
912
|
# @example Response structure
|
|
@@ -1683,8 +1690,8 @@ module Aws::BedrockAgentCore
|
|
|
1683
1690
|
# resp.data_source_config.cloud_watch_logs.filter_config.time_range.start_time #=> Time
|
|
1684
1691
|
# resp.data_source_config.cloud_watch_logs.filter_config.time_range.end_time #=> Time
|
|
1685
1692
|
# resp.data_source_config.online_evaluation_config_source.online_evaluation_config_arn #=> String
|
|
1686
|
-
# resp.data_source_config.online_evaluation_config_source.
|
|
1687
|
-
# resp.data_source_config.online_evaluation_config_source.
|
|
1693
|
+
# resp.data_source_config.online_evaluation_config_source.time_range.start_time #=> Time
|
|
1694
|
+
# resp.data_source_config.online_evaluation_config_source.time_range.end_time #=> Time
|
|
1688
1695
|
# resp.output_config.cloud_watch_config.log_group_name #=> String
|
|
1689
1696
|
# resp.output_config.cloud_watch_config.log_stream_name #=> String
|
|
1690
1697
|
# resp.evaluation_results.number_of_sessions_completed #=> Integer
|
|
@@ -1722,7 +1729,7 @@ module Aws::BedrockAgentCore
|
|
|
1722
1729
|
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].span_id #=> String
|
|
1723
1730
|
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].trace_id #=> String
|
|
1724
1731
|
# 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"
|
|
1732
|
+
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].signals[0].category #=> String, one of "execution-error-category-authentication", "execution-error-category-resource-not-found", "execution-error-category-service-errors", "execution-error-category-rate-limiting", "execution-error-category-formatting", "execution-error-category-timeout", "execution-error-category-resource-exhaustion", "execution-error-category-environment", "execution-error-category-tool-schema", "task-instruction-category-non-compliance", "task-instruction-category-problem-id", "incorrect-actions-category-tool-selection", "incorrect-actions-category-poor-information-retrieval", "incorrect-actions-category-clarification", "incorrect-actions-category-inappropriate-info-request", "context-handling-error-category-context-handling-failures", "hallucination-category-hall-capabilities", "hallucination-category-hall-misunderstand", "hallucination-category-hall-usage", "hallucination-category-hall-history", "hallucination-category-hall-params", "hallucination-category-fabricate-tool-outputs", "repetitive-behavior-category-repetition-tool", "repetitive-behavior-category-repetition-info", "repetitive-behavior-category-step-repetition", "orchestration-related-errors-category-reasoning-mismatch", "orchestration-related-errors-category-goal-deviation", "orchestration-related-errors-category-premature-termination", "orchestration-related-errors-category-unaware-termination", "llm-output-category-nonsensical", "configuration-mismatch-category-tool-definition", "coding-use-case-specific-failure-types-category-edge-case-oversights", "coding-use-case-specific-failure-types-category-dependency-issues", "other"
|
|
1726
1733
|
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].signals[0].evidence #=> String
|
|
1727
1734
|
# resp.failure_analysis_result.failures[0].sub_categories[0].root_causes[0].affected_sessions[0].failure_spans[0].signals[0].confidence #=> Float
|
|
1728
1735
|
# resp.user_intent_result.user_intents #=> Array
|
|
@@ -3497,6 +3504,9 @@ module Aws::BedrockAgentCore
|
|
|
3497
3504
|
# @option params [required, String] :harness_arn
|
|
3498
3505
|
# The ARN of the harness to invoke.
|
|
3499
3506
|
#
|
|
3507
|
+
# @option params [String] :qualifier
|
|
3508
|
+
# The endpoint name to invoke. If omitted, the DEFAULT endpoint is used.
|
|
3509
|
+
#
|
|
3500
3510
|
# @option params [required, String] :runtime_session_id
|
|
3501
3511
|
# The session ID for the invocation. Use the same session ID across
|
|
3502
3512
|
# requests to continue a conversation.
|
|
@@ -3713,6 +3723,7 @@ module Aws::BedrockAgentCore
|
|
|
3713
3723
|
#
|
|
3714
3724
|
# resp = client.invoke_harness({
|
|
3715
3725
|
# harness_arn: "HarnessArn", # required
|
|
3726
|
+
# qualifier: "HarnessEndpointName",
|
|
3716
3727
|
# runtime_session_id: "InvokeHarnessRequestRuntimeSessionIdString", # required
|
|
3717
3728
|
# runtime_user_id: "String",
|
|
3718
3729
|
# messages: [ # required
|
|
@@ -3853,6 +3864,9 @@ module Aws::BedrockAgentCore
|
|
|
3853
3864
|
# username: "String",
|
|
3854
3865
|
# },
|
|
3855
3866
|
# },
|
|
3867
|
+
# aws_skills: {
|
|
3868
|
+
# paths: ["HarnessAwsSkillPath"],
|
|
3869
|
+
# },
|
|
3856
3870
|
# },
|
|
3857
3871
|
# ],
|
|
3858
3872
|
# allowed_tools: ["HarnessAllowedTool"],
|
|
@@ -5202,7 +5216,7 @@ module Aws::BedrockAgentCore
|
|
|
5202
5216
|
# },
|
|
5203
5217
|
# online_evaluation_config_source: {
|
|
5204
5218
|
# online_evaluation_config_arn: "OnlineEvaluationConfigArn", # required
|
|
5205
|
-
#
|
|
5219
|
+
# time_range: {
|
|
5206
5220
|
# start_time: Time.now,
|
|
5207
5221
|
# end_time: Time.now,
|
|
5208
5222
|
# },
|
|
@@ -6233,7 +6247,7 @@ module Aws::BedrockAgentCore
|
|
|
6233
6247
|
tracer: tracer
|
|
6234
6248
|
)
|
|
6235
6249
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6236
|
-
context[:gem_version] = '1.
|
|
6250
|
+
context[:gem_version] = '1.42.0'
|
|
6237
6251
|
Seahorse::Client::Request.new(handlers, context)
|
|
6238
6252
|
end
|
|
6239
6253
|
|
|
@@ -230,6 +230,7 @@ module Aws::BedrockAgentCore
|
|
|
230
230
|
ExtractionJobMetadata = Shapes::StructureShape.new(name: 'ExtractionJobMetadata')
|
|
231
231
|
ExtractionJobMetadataList = Shapes::ListShape.new(name: 'ExtractionJobMetadataList')
|
|
232
232
|
ExtractionJobStatus = Shapes::StringShape.new(name: 'ExtractionJobStatus')
|
|
233
|
+
ExtractionMode = Shapes::StringShape.new(name: 'ExtractionMode')
|
|
233
234
|
FailureAnalysisResultContent = Shapes::StructureShape.new(name: 'FailureAnalysisResultContent')
|
|
234
235
|
FailureCategoryCluster = Shapes::StructureShape.new(name: 'FailureCategoryCluster')
|
|
235
236
|
FailureCategoryClusterList = Shapes::ListShape.new(name: 'FailureCategoryClusterList')
|
|
@@ -286,6 +287,8 @@ module Aws::BedrockAgentCore
|
|
|
286
287
|
HarnessAllowedTool = Shapes::StringShape.new(name: 'HarnessAllowedTool')
|
|
287
288
|
HarnessAllowedTools = Shapes::ListShape.new(name: 'HarnessAllowedTools')
|
|
288
289
|
HarnessArn = Shapes::StringShape.new(name: 'HarnessArn')
|
|
290
|
+
HarnessAwsSkillPath = Shapes::StringShape.new(name: 'HarnessAwsSkillPath')
|
|
291
|
+
HarnessAwsSkillPaths = Shapes::ListShape.new(name: 'HarnessAwsSkillPaths')
|
|
289
292
|
HarnessBedrockApiFormat = Shapes::StringShape.new(name: 'HarnessBedrockApiFormat')
|
|
290
293
|
HarnessBedrockModelConfig = Shapes::StructureShape.new(name: 'HarnessBedrockModelConfig')
|
|
291
294
|
HarnessBrowserArn = Shapes::StringShape.new(name: 'HarnessBrowserArn')
|
|
@@ -298,6 +301,7 @@ module Aws::BedrockAgentCore
|
|
|
298
301
|
HarnessContentBlockStopEvent = Shapes::StructureShape.new(name: 'HarnessContentBlockStopEvent')
|
|
299
302
|
HarnessContentBlocks = Shapes::ListShape.new(name: 'HarnessContentBlocks')
|
|
300
303
|
HarnessConversationRole = Shapes::StringShape.new(name: 'HarnessConversationRole')
|
|
304
|
+
HarnessEndpointName = Shapes::StringShape.new(name: 'HarnessEndpointName')
|
|
301
305
|
HarnessGatewayOutboundAuth = Shapes::UnionShape.new(name: 'HarnessGatewayOutboundAuth')
|
|
302
306
|
HarnessGeminiModelConfig = Shapes::StructureShape.new(name: 'HarnessGeminiModelConfig')
|
|
303
307
|
HarnessInlineFunctionConfig = Shapes::StructureShape.new(name: 'HarnessInlineFunctionConfig')
|
|
@@ -318,6 +322,7 @@ module Aws::BedrockAgentCore
|
|
|
318
322
|
HarnessRemoteMcpConfig = Shapes::StructureShape.new(name: 'HarnessRemoteMcpConfig')
|
|
319
323
|
HarnessRemoteMcpUrl = Shapes::StringShape.new(name: 'HarnessRemoteMcpUrl')
|
|
320
324
|
HarnessSkill = Shapes::UnionShape.new(name: 'HarnessSkill')
|
|
325
|
+
HarnessSkillAwsSkillsSource = Shapes::StructureShape.new(name: 'HarnessSkillAwsSkillsSource')
|
|
321
326
|
HarnessSkillGitAuth = Shapes::StructureShape.new(name: 'HarnessSkillGitAuth')
|
|
322
327
|
HarnessSkillGitSource = Shapes::StructureShape.new(name: 'HarnessSkillGitSource')
|
|
323
328
|
HarnessSkillGitUrl = Shapes::StringShape.new(name: 'HarnessSkillGitUrl')
|
|
@@ -1159,6 +1164,7 @@ module Aws::BedrockAgentCore
|
|
|
1159
1164
|
CreateEventInput.add_member(:branch, Shapes::ShapeRef.new(shape: Branch, location_name: "branch"))
|
|
1160
1165
|
CreateEventInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
1161
1166
|
CreateEventInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
|
|
1167
|
+
CreateEventInput.add_member(:extraction_mode, Shapes::ShapeRef.new(shape: ExtractionMode, location_name: "extractionMode"))
|
|
1162
1168
|
CreateEventInput.struct_class = Types::CreateEventInput
|
|
1163
1169
|
|
|
1164
1170
|
CreateEventOutput.add_member(:event, Shapes::ShapeRef.new(shape: Event, required: true, location_name: "event"))
|
|
@@ -1733,6 +1739,8 @@ module Aws::BedrockAgentCore
|
|
|
1733
1739
|
|
|
1734
1740
|
HarnessAllowedTools.member = Shapes::ShapeRef.new(shape: HarnessAllowedTool)
|
|
1735
1741
|
|
|
1742
|
+
HarnessAwsSkillPaths.member = Shapes::ShapeRef.new(shape: HarnessAwsSkillPath)
|
|
1743
|
+
|
|
1736
1744
|
HarnessBedrockModelConfig.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
|
|
1737
1745
|
HarnessBedrockModelConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
|
1738
1746
|
HarnessBedrockModelConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
|
@@ -1883,13 +1891,18 @@ module Aws::BedrockAgentCore
|
|
|
1883
1891
|
HarnessSkill.add_member(:path, Shapes::ShapeRef.new(shape: HarnessSkillPath, location_name: "path"))
|
|
1884
1892
|
HarnessSkill.add_member(:s3, Shapes::ShapeRef.new(shape: HarnessSkillS3Source, location_name: "s3"))
|
|
1885
1893
|
HarnessSkill.add_member(:git, Shapes::ShapeRef.new(shape: HarnessSkillGitSource, location_name: "git"))
|
|
1894
|
+
HarnessSkill.add_member(:aws_skills, Shapes::ShapeRef.new(shape: HarnessSkillAwsSkillsSource, location_name: "awsSkills"))
|
|
1886
1895
|
HarnessSkill.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1887
1896
|
HarnessSkill.add_member_subclass(:path, Types::HarnessSkill::Path)
|
|
1888
1897
|
HarnessSkill.add_member_subclass(:s3, Types::HarnessSkill::S3)
|
|
1889
1898
|
HarnessSkill.add_member_subclass(:git, Types::HarnessSkill::Git)
|
|
1899
|
+
HarnessSkill.add_member_subclass(:aws_skills, Types::HarnessSkill::AwsSkills)
|
|
1890
1900
|
HarnessSkill.add_member_subclass(:unknown, Types::HarnessSkill::Unknown)
|
|
1891
1901
|
HarnessSkill.struct_class = Types::HarnessSkill
|
|
1892
1902
|
|
|
1903
|
+
HarnessSkillAwsSkillsSource.add_member(:paths, Shapes::ShapeRef.new(shape: HarnessAwsSkillPaths, location_name: "paths"))
|
|
1904
|
+
HarnessSkillAwsSkillsSource.struct_class = Types::HarnessSkillAwsSkillsSource
|
|
1905
|
+
|
|
1893
1906
|
HarnessSkillGitAuth.add_member(:credential_arn, Shapes::ShapeRef.new(shape: ApiKeyArn, required: true, location_name: "credentialArn"))
|
|
1894
1907
|
HarnessSkillGitAuth.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
|
|
1895
1908
|
HarnessSkillGitAuth.struct_class = Types::HarnessSkillGitAuth
|
|
@@ -2123,6 +2136,7 @@ module Aws::BedrockAgentCore
|
|
|
2123
2136
|
InvokeCodeInterpreterResponse[:payload_member] = InvokeCodeInterpreterResponse.member(:stream)
|
|
2124
2137
|
|
|
2125
2138
|
InvokeHarnessRequest.add_member(:harness_arn, Shapes::ShapeRef.new(shape: HarnessArn, required: true, location: "querystring", location_name: "harnessArn"))
|
|
2139
|
+
InvokeHarnessRequest.add_member(:qualifier, Shapes::ShapeRef.new(shape: HarnessEndpointName, location: "querystring", location_name: "qualifier"))
|
|
2126
2140
|
InvokeHarnessRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: InvokeHarnessRequestRuntimeSessionIdString, required: true, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
|
|
2127
2141
|
InvokeHarnessRequest.add_member(:runtime_user_id, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-User-Id"))
|
|
2128
2142
|
InvokeHarnessRequest.add_member(:messages, Shapes::ShapeRef.new(shape: HarnessMessages, required: true, location_name: "messages"))
|
|
@@ -2520,7 +2534,7 @@ module Aws::BedrockAgentCore
|
|
|
2520
2534
|
OAuthScopes.member = Shapes::ShapeRef.new(shape: OAuthScope)
|
|
2521
2535
|
|
|
2522
2536
|
OnlineEvaluationConfigSource.add_member(:online_evaluation_config_arn, Shapes::ShapeRef.new(shape: OnlineEvaluationConfigArn, required: true, location_name: "onlineEvaluationConfigArn"))
|
|
2523
|
-
OnlineEvaluationConfigSource.add_member(:
|
|
2537
|
+
OnlineEvaluationConfigSource.add_member(:time_range, Shapes::ShapeRef.new(shape: SessionFilterConfig, location_name: "timeRange"))
|
|
2524
2538
|
OnlineEvaluationConfigSource.struct_class = Types::OnlineEvaluationConfigSource
|
|
2525
2539
|
|
|
2526
2540
|
OutputConfig.add_member(:cloud_watch_config, Shapes::ShapeRef.new(shape: CloudWatchOutputConfig, location_name: "cloudWatchConfig"))
|
|
@@ -3813,6 +3827,7 @@ module Aws::BedrockAgentCore
|
|
|
3813
3827
|
o.http_request_uri = "/harnesses/invoke"
|
|
3814
3828
|
o.input = Shapes::ShapeRef.new(shape: InvokeHarnessRequest)
|
|
3815
3829
|
o.output = Shapes::ShapeRef.new(shape: InvokeHarnessResponse)
|
|
3830
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
3816
3831
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3817
3832
|
o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
|
|
3818
3833
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
@@ -1665,6 +1665,13 @@ module Aws::BedrockAgentCore
|
|
|
1665
1665
|
# The key-value metadata to attach to the event.
|
|
1666
1666
|
# @return [Hash<String,Types::MetadataValue>]
|
|
1667
1667
|
#
|
|
1668
|
+
# @!attribute [rw] extraction_mode
|
|
1669
|
+
# Controls long-term memory extraction for this event. When set to
|
|
1670
|
+
# `SKIP`, the event is stored in short-term memory but is excluded
|
|
1671
|
+
# from long-term memory extraction. If not specified, the event is
|
|
1672
|
+
# processed for extraction as usual.
|
|
1673
|
+
# @return [String]
|
|
1674
|
+
#
|
|
1668
1675
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CreateEventInput AWS API Documentation
|
|
1669
1676
|
#
|
|
1670
1677
|
class CreateEventInput < Struct.new(
|
|
@@ -1675,7 +1682,8 @@ module Aws::BedrockAgentCore
|
|
|
1675
1682
|
:payload,
|
|
1676
1683
|
:branch,
|
|
1677
1684
|
:client_token,
|
|
1678
|
-
:metadata
|
|
1685
|
+
:metadata,
|
|
1686
|
+
:extraction_mode)
|
|
1679
1687
|
SENSITIVE = []
|
|
1680
1688
|
include Aws::Structure
|
|
1681
1689
|
end
|
|
@@ -2582,7 +2590,7 @@ module Aws::BedrockAgentCore
|
|
|
2582
2590
|
class Unknown < EvaluationTarget; end
|
|
2583
2591
|
end
|
|
2584
2592
|
|
|
2585
|
-
# An evaluator to run against sessions
|
|
2593
|
+
# An evaluator to run against sessions during batch evaluation.
|
|
2586
2594
|
#
|
|
2587
2595
|
# @!attribute [rw] evaluator_id
|
|
2588
2596
|
# The unique identifier of the evaluator. Can reference built-in
|
|
@@ -2799,7 +2807,8 @@ module Aws::BedrockAgentCore
|
|
|
2799
2807
|
include Aws::Structure
|
|
2800
2808
|
end
|
|
2801
2809
|
|
|
2802
|
-
#
|
|
2810
|
+
# The execution summary clustering result containing grouped execution
|
|
2811
|
+
# patterns identified across evaluated sessions.
|
|
2803
2812
|
#
|
|
2804
2813
|
# @!attribute [rw] execution_summaries
|
|
2805
2814
|
# The list of execution summary clusters identified across analyzed
|
|
@@ -2966,7 +2975,8 @@ module Aws::BedrockAgentCore
|
|
|
2966
2975
|
include Aws::Structure
|
|
2967
2976
|
end
|
|
2968
2977
|
|
|
2969
|
-
#
|
|
2978
|
+
# The failure analysis clustering result containing categorized failure
|
|
2979
|
+
# clusters with root causes and remediation recommendations.
|
|
2970
2980
|
#
|
|
2971
2981
|
# @!attribute [rw] failures
|
|
2972
2982
|
# The list of failure category clusters identified across analyzed
|
|
@@ -3366,15 +3376,18 @@ module Aws::BedrockAgentCore
|
|
|
3366
3376
|
# @return [Types::EvaluationJobResults]
|
|
3367
3377
|
#
|
|
3368
3378
|
# @!attribute [rw] failure_analysis_result
|
|
3369
|
-
#
|
|
3379
|
+
# The failure analysis results from insights, containing categorized
|
|
3380
|
+
# failure clusters with root causes and recommendations.
|
|
3370
3381
|
# @return [Types::FailureAnalysisResultContent]
|
|
3371
3382
|
#
|
|
3372
3383
|
# @!attribute [rw] user_intent_result
|
|
3373
|
-
#
|
|
3384
|
+
# The user intent clustering results from insights, containing grouped
|
|
3385
|
+
# user intents across evaluated sessions.
|
|
3374
3386
|
# @return [Types::UserIntentClusteringResultContent]
|
|
3375
3387
|
#
|
|
3376
3388
|
# @!attribute [rw] execution_summary_result
|
|
3377
|
-
#
|
|
3389
|
+
# The execution summary clustering results from insights, containing
|
|
3390
|
+
# grouped execution patterns across evaluated sessions.
|
|
3378
3391
|
# @return [Types::ExecutionSummaryClusteringResultContent]
|
|
3379
3392
|
#
|
|
3380
3393
|
# @!attribute [rw] error_details
|
|
@@ -4877,12 +4890,17 @@ module Aws::BedrockAgentCore
|
|
|
4877
4890
|
# A git repository containing the skill.
|
|
4878
4891
|
# @return [Types::HarnessSkillGitSource]
|
|
4879
4892
|
#
|
|
4893
|
+
# @!attribute [rw] aws_skills
|
|
4894
|
+
# AWS Skills baked into the Harness's underlying Runtime.
|
|
4895
|
+
# @return [Types::HarnessSkillAwsSkillsSource]
|
|
4896
|
+
#
|
|
4880
4897
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessSkill AWS API Documentation
|
|
4881
4898
|
#
|
|
4882
4899
|
class HarnessSkill < Struct.new(
|
|
4883
4900
|
:path,
|
|
4884
4901
|
:s3,
|
|
4885
4902
|
:git,
|
|
4903
|
+
:aws_skills,
|
|
4886
4904
|
:unknown)
|
|
4887
4905
|
SENSITIVE = []
|
|
4888
4906
|
include Aws::Structure
|
|
@@ -4891,9 +4909,25 @@ module Aws::BedrockAgentCore
|
|
|
4891
4909
|
class Path < HarnessSkill; end
|
|
4892
4910
|
class S3 < HarnessSkill; end
|
|
4893
4911
|
class Git < HarnessSkill; end
|
|
4912
|
+
class AwsSkills < HarnessSkill; end
|
|
4894
4913
|
class Unknown < HarnessSkill; end
|
|
4895
4914
|
end
|
|
4896
4915
|
|
|
4916
|
+
# Passed to show that AWS Skills should be included.
|
|
4917
|
+
#
|
|
4918
|
+
# @!attribute [rw] paths
|
|
4919
|
+
# Optionally filter allowed skills with glob syntax, e.g.,
|
|
4920
|
+
# \['core-skills/*'\].
|
|
4921
|
+
# @return [Array<String>]
|
|
4922
|
+
#
|
|
4923
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessSkillAwsSkillsSource AWS API Documentation
|
|
4924
|
+
#
|
|
4925
|
+
class HarnessSkillAwsSkillsSource < Struct.new(
|
|
4926
|
+
:paths)
|
|
4927
|
+
SENSITIVE = []
|
|
4928
|
+
include Aws::Structure
|
|
4929
|
+
end
|
|
4930
|
+
|
|
4897
4931
|
# Authentication configuration for accessing a private git repository.
|
|
4898
4932
|
#
|
|
4899
4933
|
# @!attribute [rw] credential_arn
|
|
@@ -5323,12 +5357,13 @@ module Aws::BedrockAgentCore
|
|
|
5323
5357
|
include Aws::Structure
|
|
5324
5358
|
end
|
|
5325
5359
|
|
|
5326
|
-
# A reference to an insight analysis to run against sessions
|
|
5360
|
+
# A reference to an insight analysis to run against sessions during
|
|
5361
|
+
# batch evaluation. Insights provide deeper analysis beyond individual
|
|
5362
|
+
# evaluator scores, including failure detection, user intent clustering,
|
|
5363
|
+
# and execution summarization.
|
|
5327
5364
|
#
|
|
5328
5365
|
# @!attribute [rw] insight_id
|
|
5329
|
-
#
|
|
5330
|
-
# convention. Used by BatchEvaluate, InternalEvaluate, and
|
|
5331
|
-
# ServiceEngineEvaluate flows.
|
|
5366
|
+
# The unique identifier of the insight to run.
|
|
5332
5367
|
# @return [String]
|
|
5333
5368
|
#
|
|
5334
5369
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/Insight AWS API Documentation
|
|
@@ -5342,9 +5377,7 @@ module Aws::BedrockAgentCore
|
|
|
5342
5377
|
# A signal indicating a detected failure within a span.
|
|
5343
5378
|
#
|
|
5344
5379
|
# @!attribute [rw] category
|
|
5345
|
-
#
|
|
5346
|
-
# stay in sync with the category registry in AgentCoreLens
|
|
5347
|
-
# (amzn\_agentcore\_lens.config.failure\_detection.FAILURE\_CATEGORIES).
|
|
5380
|
+
# The failure category classification for this signal.
|
|
5348
5381
|
# @return [String]
|
|
5349
5382
|
#
|
|
5350
5383
|
# @!attribute [rw] evidence
|
|
@@ -5834,6 +5867,11 @@ module Aws::BedrockAgentCore
|
|
|
5834
5867
|
# The ARN of the harness to invoke.
|
|
5835
5868
|
# @return [String]
|
|
5836
5869
|
#
|
|
5870
|
+
# @!attribute [rw] qualifier
|
|
5871
|
+
# The endpoint name to invoke. If omitted, the DEFAULT endpoint is
|
|
5872
|
+
# used.
|
|
5873
|
+
# @return [String]
|
|
5874
|
+
#
|
|
5837
5875
|
# @!attribute [rw] runtime_session_id
|
|
5838
5876
|
# The session ID for the invocation. Use the same session ID across
|
|
5839
5877
|
# requests to continue a conversation.
|
|
@@ -5897,6 +5935,7 @@ module Aws::BedrockAgentCore
|
|
|
5897
5935
|
#
|
|
5898
5936
|
class InvokeHarnessRequest < Struct.new(
|
|
5899
5937
|
:harness_arn,
|
|
5938
|
+
:qualifier,
|
|
5900
5939
|
:runtime_session_id,
|
|
5901
5940
|
:runtime_user_id,
|
|
5902
5941
|
:messages,
|
|
@@ -7533,7 +7572,7 @@ module Aws::BedrockAgentCore
|
|
|
7533
7572
|
# configuration to use as the session source.
|
|
7534
7573
|
# @return [String]
|
|
7535
7574
|
#
|
|
7536
|
-
# @!attribute [rw]
|
|
7575
|
+
# @!attribute [rw] time_range
|
|
7537
7576
|
# Optional session filter configuration to narrow down which sessions
|
|
7538
7577
|
# from the online evaluation configuration to include.
|
|
7539
7578
|
# @return [Types::SessionFilterConfig]
|
|
@@ -7542,7 +7581,7 @@ module Aws::BedrockAgentCore
|
|
|
7542
7581
|
#
|
|
7543
7582
|
class OnlineEvaluationConfigSource < Struct.new(
|
|
7544
7583
|
:online_evaluation_config_arn,
|
|
7545
|
-
:
|
|
7584
|
+
:time_range)
|
|
7546
7585
|
SENSITIVE = []
|
|
7547
7586
|
include Aws::Structure
|
|
7548
7587
|
end
|
|
@@ -10652,7 +10691,8 @@ module Aws::BedrockAgentCore
|
|
|
10652
10691
|
include Aws::Structure
|
|
10653
10692
|
end
|
|
10654
10693
|
|
|
10655
|
-
#
|
|
10694
|
+
# The user intent clustering result containing grouped user intents
|
|
10695
|
+
# identified across evaluated sessions.
|
|
10656
10696
|
#
|
|
10657
10697
|
# @!attribute [rw] user_intents
|
|
10658
10698
|
# The list of user intent clusters identified across analyzed
|
data/sig/client.rbs
CHANGED
|
@@ -232,7 +232,8 @@ module Aws
|
|
|
232
232
|
?client_token: ::String,
|
|
233
233
|
?metadata: Hash[::String, {
|
|
234
234
|
string_value: ::String?
|
|
235
|
-
}]
|
|
235
|
+
}],
|
|
236
|
+
?extraction_mode: ("SKIP")
|
|
236
237
|
) -> _CreateEventResponseSuccess
|
|
237
238
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateEventResponseSuccess
|
|
238
239
|
|
|
@@ -892,6 +893,7 @@ module Aws
|
|
|
892
893
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#invoke_harness-instance_method
|
|
893
894
|
def invoke_harness: (
|
|
894
895
|
harness_arn: ::String,
|
|
896
|
+
?qualifier: ::String,
|
|
895
897
|
runtime_session_id: ::String,
|
|
896
898
|
?runtime_user_id: ::String,
|
|
897
899
|
messages: Array[
|
|
@@ -1027,6 +1029,9 @@ module Aws
|
|
|
1027
1029
|
credential_arn: ::String,
|
|
1028
1030
|
username: ::String?
|
|
1029
1031
|
}?
|
|
1032
|
+
}?,
|
|
1033
|
+
aws_skills: {
|
|
1034
|
+
paths: Array[::String]?
|
|
1030
1035
|
}?
|
|
1031
1036
|
}
|
|
1032
1037
|
],
|
|
@@ -1364,7 +1369,7 @@ module Aws
|
|
|
1364
1369
|
}?,
|
|
1365
1370
|
online_evaluation_config_source: {
|
|
1366
1371
|
online_evaluation_config_arn: ::String,
|
|
1367
|
-
|
|
1372
|
+
time_range: {
|
|
1368
1373
|
start_time: ::Time?,
|
|
1369
1374
|
end_time: ::Time?
|
|
1370
1375
|
}?
|
data/sig/types.rbs
CHANGED
|
@@ -507,6 +507,7 @@ module Aws::BedrockAgentCore
|
|
|
507
507
|
attr_accessor branch: Types::Branch
|
|
508
508
|
attr_accessor client_token: ::String
|
|
509
509
|
attr_accessor metadata: ::Hash[::String, Types::MetadataValue]
|
|
510
|
+
attr_accessor extraction_mode: ("SKIP")
|
|
510
511
|
SENSITIVE: []
|
|
511
512
|
end
|
|
512
513
|
|
|
@@ -1497,6 +1498,7 @@ module Aws::BedrockAgentCore
|
|
|
1497
1498
|
attr_accessor path: ::String
|
|
1498
1499
|
attr_accessor s3: Types::HarnessSkillS3Source
|
|
1499
1500
|
attr_accessor git: Types::HarnessSkillGitSource
|
|
1501
|
+
attr_accessor aws_skills: Types::HarnessSkillAwsSkillsSource
|
|
1500
1502
|
attr_accessor unknown: untyped
|
|
1501
1503
|
SENSITIVE: []
|
|
1502
1504
|
|
|
@@ -1506,10 +1508,17 @@ module Aws::BedrockAgentCore
|
|
|
1506
1508
|
end
|
|
1507
1509
|
class Git < HarnessSkill
|
|
1508
1510
|
end
|
|
1511
|
+
class AwsSkills < HarnessSkill
|
|
1512
|
+
end
|
|
1509
1513
|
class Unknown < HarnessSkill
|
|
1510
1514
|
end
|
|
1511
1515
|
end
|
|
1512
1516
|
|
|
1517
|
+
class HarnessSkillAwsSkillsSource
|
|
1518
|
+
attr_accessor paths: ::Array[::String]
|
|
1519
|
+
SENSITIVE: []
|
|
1520
|
+
end
|
|
1521
|
+
|
|
1513
1522
|
class HarnessSkillGitAuth
|
|
1514
1523
|
attr_accessor credential_arn: ::String
|
|
1515
1524
|
attr_accessor username: ::String
|
|
@@ -1667,7 +1676,7 @@ module Aws::BedrockAgentCore
|
|
|
1667
1676
|
end
|
|
1668
1677
|
|
|
1669
1678
|
class InsightsFailureSignal
|
|
1670
|
-
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")
|
|
1679
|
+
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")
|
|
1671
1680
|
attr_accessor evidence: ::String
|
|
1672
1681
|
attr_accessor confidence: ::Float
|
|
1673
1682
|
SENSITIVE: []
|
|
@@ -1780,6 +1789,7 @@ module Aws::BedrockAgentCore
|
|
|
1780
1789
|
|
|
1781
1790
|
class InvokeHarnessRequest
|
|
1782
1791
|
attr_accessor harness_arn: ::String
|
|
1792
|
+
attr_accessor qualifier: ::String
|
|
1783
1793
|
attr_accessor runtime_session_id: ::String
|
|
1784
1794
|
attr_accessor runtime_user_id: ::String
|
|
1785
1795
|
attr_accessor messages: ::Array[Types::HarnessMessage]
|
|
@@ -2293,7 +2303,7 @@ module Aws::BedrockAgentCore
|
|
|
2293
2303
|
|
|
2294
2304
|
class OnlineEvaluationConfigSource
|
|
2295
2305
|
attr_accessor online_evaluation_config_arn: ::String
|
|
2296
|
-
attr_accessor
|
|
2306
|
+
attr_accessor time_range: Types::SessionFilterConfig
|
|
2297
2307
|
SENSITIVE: []
|
|
2298
2308
|
end
|
|
2299
2309
|
|