aws-sdk-bedrockagentcore 1.36.0 → 1.37.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 +36 -4
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +50 -6
- data/lib/aws-sdk-bedrockagentcore/types.rb +163 -9
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +31 -3
- data/sig/types.rbs +43 -0
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: fb211883075df4592841b9a4b19b8211bd980044c7207d3cf35eb0ac4b0ce986
|
|
4
|
+
data.tar.gz: b4471b8803e803ea60d9462369848315a5e4891babc14bb906ad613a954da1b5
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c282cf3451e8cb137361502ee1e847c64efe6af166a3a10ecef64939f3a23a586c1e782422b032abd0e7f814ac2c9ed410c733c20d0819434216bbdcfc14c71a
|
|
7
|
+
data.tar.gz: fab382929f72a309e57241fa371a6c3a0c228e9c93ce4b3ae358c0a8323db86fe27aaaa2cc51525266c247c741d79f00afce22f059ec567ce14cb19585ca125f
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.37.0 (2026-05-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - Added Harness support for LiteLLM model configuration for third-party model providers. Added S3 and Git skill source types. Added Responses API format for OpenAI and Bedrock models. Added runtimeUserId and runtimeClientError to InvokeHarness.
|
|
8
|
+
|
|
4
9
|
1.36.0 (2026-05-26)
|
|
5
10
|
------------------
|
|
6
11
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.37.0
|
|
@@ -3432,6 +3432,10 @@ module Aws::BedrockAgentCore
|
|
|
3432
3432
|
# The session ID for the invocation. Use the same session ID across
|
|
3433
3433
|
# requests to continue a conversation.
|
|
3434
3434
|
#
|
|
3435
|
+
# @option params [String] :runtime_user_id
|
|
3436
|
+
# An identifier for the end user making the request. This value is
|
|
3437
|
+
# passed through to the runtime container.
|
|
3438
|
+
#
|
|
3435
3439
|
# @option params [required, Array<Types::HarnessMessage>] :messages
|
|
3436
3440
|
# The messages to send to the agent.
|
|
3437
3441
|
#
|
|
@@ -3640,7 +3644,8 @@ module Aws::BedrockAgentCore
|
|
|
3640
3644
|
#
|
|
3641
3645
|
# resp = client.invoke_harness({
|
|
3642
3646
|
# harness_arn: "HarnessArn", # required
|
|
3643
|
-
# runtime_session_id: "
|
|
3647
|
+
# runtime_session_id: "InvokeHarnessRequestRuntimeSessionIdString", # required
|
|
3648
|
+
# runtime_user_id: "String",
|
|
3644
3649
|
# messages: [ # required
|
|
3645
3650
|
# {
|
|
3646
3651
|
# role: "user", # required, accepts user, assistant
|
|
@@ -3684,6 +3689,9 @@ module Aws::BedrockAgentCore
|
|
|
3684
3689
|
# max_tokens: 1,
|
|
3685
3690
|
# temperature: 1.0,
|
|
3686
3691
|
# top_p: 1.0,
|
|
3692
|
+
# api_format: "converse_stream", # accepts converse_stream, responses, chat_completions
|
|
3693
|
+
# additional_params: {
|
|
3694
|
+
# },
|
|
3687
3695
|
# },
|
|
3688
3696
|
# open_ai_model_config: {
|
|
3689
3697
|
# model_id: "ModelId", # required
|
|
@@ -3691,6 +3699,9 @@ module Aws::BedrockAgentCore
|
|
|
3691
3699
|
# max_tokens: 1,
|
|
3692
3700
|
# temperature: 1.0,
|
|
3693
3701
|
# top_p: 1.0,
|
|
3702
|
+
# api_format: "chat_completions", # accepts chat_completions, responses
|
|
3703
|
+
# additional_params: {
|
|
3704
|
+
# },
|
|
3694
3705
|
# },
|
|
3695
3706
|
# gemini_model_config: {
|
|
3696
3707
|
# model_id: "ModelId", # required
|
|
@@ -3700,6 +3711,16 @@ module Aws::BedrockAgentCore
|
|
|
3700
3711
|
# top_p: 1.0,
|
|
3701
3712
|
# top_k: 1,
|
|
3702
3713
|
# },
|
|
3714
|
+
# lite_llm_model_config: {
|
|
3715
|
+
# model_id: "ModelId", # required
|
|
3716
|
+
# api_key_arn: "ApiKeyArn",
|
|
3717
|
+
# api_base: "HarnessLiteLlmApiBase",
|
|
3718
|
+
# max_tokens: 1,
|
|
3719
|
+
# temperature: 1.0,
|
|
3720
|
+
# top_p: 1.0,
|
|
3721
|
+
# additional_params: {
|
|
3722
|
+
# },
|
|
3723
|
+
# },
|
|
3703
3724
|
# },
|
|
3704
3725
|
# system_prompt: [
|
|
3705
3726
|
# {
|
|
@@ -3718,7 +3739,7 @@ module Aws::BedrockAgentCore
|
|
|
3718
3739
|
# },
|
|
3719
3740
|
# },
|
|
3720
3741
|
# agent_core_browser: {
|
|
3721
|
-
# browser_arn: "
|
|
3742
|
+
# browser_arn: "HarnessBrowserArn",
|
|
3722
3743
|
# },
|
|
3723
3744
|
# agent_core_gateway: {
|
|
3724
3745
|
# gateway_arn: "GatewayArn", # required
|
|
@@ -3744,7 +3765,7 @@ module Aws::BedrockAgentCore
|
|
|
3744
3765
|
# },
|
|
3745
3766
|
# },
|
|
3746
3767
|
# agent_core_code_interpreter: {
|
|
3747
|
-
# code_interpreter_arn: "
|
|
3768
|
+
# code_interpreter_arn: "HarnessCodeInterpreterArn",
|
|
3748
3769
|
# },
|
|
3749
3770
|
# },
|
|
3750
3771
|
# },
|
|
@@ -3752,6 +3773,17 @@ module Aws::BedrockAgentCore
|
|
|
3752
3773
|
# skills: [
|
|
3753
3774
|
# {
|
|
3754
3775
|
# path: "HarnessSkillPath",
|
|
3776
|
+
# s3: {
|
|
3777
|
+
# uri: "HarnessSkillS3Uri", # required
|
|
3778
|
+
# },
|
|
3779
|
+
# git: {
|
|
3780
|
+
# url: "HarnessSkillGitUrl", # required
|
|
3781
|
+
# path: "String",
|
|
3782
|
+
# auth: {
|
|
3783
|
+
# credential_arn: "ApiKeyArn", # required
|
|
3784
|
+
# username: "String",
|
|
3785
|
+
# },
|
|
3786
|
+
# },
|
|
3755
3787
|
# },
|
|
3756
3788
|
# ],
|
|
3757
3789
|
# allowed_tools: ["HarnessAllowedTool"],
|
|
@@ -6075,7 +6107,7 @@ module Aws::BedrockAgentCore
|
|
|
6075
6107
|
tracer: tracer
|
|
6076
6108
|
)
|
|
6077
6109
|
context[:gem_name] = 'aws-sdk-bedrockagentcore'
|
|
6078
|
-
context[:gem_version] = '1.
|
|
6110
|
+
context[:gem_version] = '1.37.0'
|
|
6079
6111
|
Seahorse::Client::Request.new(handlers, context)
|
|
6080
6112
|
end
|
|
6081
6113
|
|
|
@@ -68,7 +68,6 @@ module Aws::BedrockAgentCore
|
|
|
68
68
|
BrowserAction = Shapes::UnionShape.new(name: 'BrowserAction')
|
|
69
69
|
BrowserActionResult = Shapes::UnionShape.new(name: 'BrowserActionResult')
|
|
70
70
|
BrowserActionStatus = Shapes::StringShape.new(name: 'BrowserActionStatus')
|
|
71
|
-
BrowserArn = Shapes::StringShape.new(name: 'BrowserArn')
|
|
72
71
|
BrowserEnterprisePolicies = Shapes::ListShape.new(name: 'BrowserEnterprisePolicies')
|
|
73
72
|
BrowserEnterprisePolicy = Shapes::StructureShape.new(name: 'BrowserEnterprisePolicy')
|
|
74
73
|
BrowserEnterprisePolicyType = Shapes::StringShape.new(name: 'BrowserEnterprisePolicyType')
|
|
@@ -100,7 +99,6 @@ module Aws::BedrockAgentCore
|
|
|
100
99
|
CloudWatchLogsTraceConfig = Shapes::StructureShape.new(name: 'CloudWatchLogsTraceConfig')
|
|
101
100
|
CloudWatchLogsTraceConfigLogGroupArnsList = Shapes::ListShape.new(name: 'CloudWatchLogsTraceConfigLogGroupArnsList')
|
|
102
101
|
CloudWatchOutputConfig = Shapes::StructureShape.new(name: 'CloudWatchOutputConfig')
|
|
103
|
-
CodeInterpreterArn = Shapes::StringShape.new(name: 'CodeInterpreterArn')
|
|
104
102
|
CodeInterpreterResult = Shapes::StructureShape.new(name: 'CodeInterpreterResult')
|
|
105
103
|
CodeInterpreterSessionId = Shapes::StringShape.new(name: 'CodeInterpreterSessionId')
|
|
106
104
|
CodeInterpreterSessionStatus = Shapes::StringShape.new(name: 'CodeInterpreterSessionStatus')
|
|
@@ -273,7 +271,10 @@ module Aws::BedrockAgentCore
|
|
|
273
271
|
HarnessAllowedTool = Shapes::StringShape.new(name: 'HarnessAllowedTool')
|
|
274
272
|
HarnessAllowedTools = Shapes::ListShape.new(name: 'HarnessAllowedTools')
|
|
275
273
|
HarnessArn = Shapes::StringShape.new(name: 'HarnessArn')
|
|
274
|
+
HarnessBedrockApiFormat = Shapes::StringShape.new(name: 'HarnessBedrockApiFormat')
|
|
276
275
|
HarnessBedrockModelConfig = Shapes::StructureShape.new(name: 'HarnessBedrockModelConfig')
|
|
276
|
+
HarnessBrowserArn = Shapes::StringShape.new(name: 'HarnessBrowserArn')
|
|
277
|
+
HarnessCodeInterpreterArn = Shapes::StringShape.new(name: 'HarnessCodeInterpreterArn')
|
|
277
278
|
HarnessContentBlock = Shapes::UnionShape.new(name: 'HarnessContentBlock')
|
|
278
279
|
HarnessContentBlockDelta = Shapes::UnionShape.new(name: 'HarnessContentBlockDelta')
|
|
279
280
|
HarnessContentBlockDeltaEvent = Shapes::StructureShape.new(name: 'HarnessContentBlockDeltaEvent')
|
|
@@ -286,12 +287,15 @@ module Aws::BedrockAgentCore
|
|
|
286
287
|
HarnessGeminiModelConfig = Shapes::StructureShape.new(name: 'HarnessGeminiModelConfig')
|
|
287
288
|
HarnessInlineFunctionConfig = Shapes::StructureShape.new(name: 'HarnessInlineFunctionConfig')
|
|
288
289
|
HarnessInlineFunctionDescription = Shapes::StringShape.new(name: 'HarnessInlineFunctionDescription')
|
|
290
|
+
HarnessLiteLlmApiBase = Shapes::StringShape.new(name: 'HarnessLiteLlmApiBase')
|
|
291
|
+
HarnessLiteLlmModelConfig = Shapes::StructureShape.new(name: 'HarnessLiteLlmModelConfig')
|
|
289
292
|
HarnessMessage = Shapes::StructureShape.new(name: 'HarnessMessage')
|
|
290
293
|
HarnessMessageStartEvent = Shapes::StructureShape.new(name: 'HarnessMessageStartEvent')
|
|
291
294
|
HarnessMessageStopEvent = Shapes::StructureShape.new(name: 'HarnessMessageStopEvent')
|
|
292
295
|
HarnessMessages = Shapes::ListShape.new(name: 'HarnessMessages')
|
|
293
296
|
HarnessMetadataEvent = Shapes::StructureShape.new(name: 'HarnessMetadataEvent')
|
|
294
297
|
HarnessModelConfiguration = Shapes::UnionShape.new(name: 'HarnessModelConfiguration')
|
|
298
|
+
HarnessOpenAiApiFormat = Shapes::StringShape.new(name: 'HarnessOpenAiApiFormat')
|
|
295
299
|
HarnessOpenAiModelConfig = Shapes::StructureShape.new(name: 'HarnessOpenAiModelConfig')
|
|
296
300
|
HarnessReasoningContentBlock = Shapes::UnionShape.new(name: 'HarnessReasoningContentBlock')
|
|
297
301
|
HarnessReasoningContentBlockDelta = Shapes::UnionShape.new(name: 'HarnessReasoningContentBlockDelta')
|
|
@@ -299,7 +303,12 @@ module Aws::BedrockAgentCore
|
|
|
299
303
|
HarnessRemoteMcpConfig = Shapes::StructureShape.new(name: 'HarnessRemoteMcpConfig')
|
|
300
304
|
HarnessRemoteMcpUrl = Shapes::StringShape.new(name: 'HarnessRemoteMcpUrl')
|
|
301
305
|
HarnessSkill = Shapes::UnionShape.new(name: 'HarnessSkill')
|
|
306
|
+
HarnessSkillGitAuth = Shapes::StructureShape.new(name: 'HarnessSkillGitAuth')
|
|
307
|
+
HarnessSkillGitSource = Shapes::StructureShape.new(name: 'HarnessSkillGitSource')
|
|
308
|
+
HarnessSkillGitUrl = Shapes::StringShape.new(name: 'HarnessSkillGitUrl')
|
|
302
309
|
HarnessSkillPath = Shapes::StringShape.new(name: 'HarnessSkillPath')
|
|
310
|
+
HarnessSkillS3Source = Shapes::StructureShape.new(name: 'HarnessSkillS3Source')
|
|
311
|
+
HarnessSkillS3Uri = Shapes::StringShape.new(name: 'HarnessSkillS3Uri')
|
|
303
312
|
HarnessSkills = Shapes::ListShape.new(name: 'HarnessSkills')
|
|
304
313
|
HarnessStopReason = Shapes::StringShape.new(name: 'HarnessStopReason')
|
|
305
314
|
HarnessStreamMetrics = Shapes::StructureShape.new(name: 'HarnessStreamMetrics')
|
|
@@ -368,6 +377,7 @@ module Aws::BedrockAgentCore
|
|
|
368
377
|
InvokeCodeInterpreterRequestTraceParentString = Shapes::StringShape.new(name: 'InvokeCodeInterpreterRequestTraceParentString')
|
|
369
378
|
InvokeCodeInterpreterResponse = Shapes::StructureShape.new(name: 'InvokeCodeInterpreterResponse')
|
|
370
379
|
InvokeHarnessRequest = Shapes::StructureShape.new(name: 'InvokeHarnessRequest')
|
|
380
|
+
InvokeHarnessRequestRuntimeSessionIdString = Shapes::StringShape.new(name: 'InvokeHarnessRequestRuntimeSessionIdString')
|
|
371
381
|
InvokeHarnessResponse = Shapes::StructureShape.new(name: 'InvokeHarnessResponse')
|
|
372
382
|
InvokeHarnessStreamOutput = Shapes::StructureShape.new(name: 'InvokeHarnessStreamOutput')
|
|
373
383
|
JwtKeyId = Shapes::StringShape.new(name: 'JwtKeyId')
|
|
@@ -425,6 +435,7 @@ module Aws::BedrockAgentCore
|
|
|
425
435
|
McpDescriptor = Shapes::StructureShape.new(name: 'McpDescriptor')
|
|
426
436
|
MemoryContent = Shapes::UnionShape.new(name: 'MemoryContent')
|
|
427
437
|
MemoryContentTextString = Shapes::StringShape.new(name: 'MemoryContentTextString')
|
|
438
|
+
MemoryDocument = Shapes::DocumentShape.new(name: 'MemoryDocument', document: true)
|
|
428
439
|
MemoryId = Shapes::StringShape.new(name: 'MemoryId')
|
|
429
440
|
MemoryMetadataFilterExpression = Shapes::StructureShape.new(name: 'MemoryMetadataFilterExpression')
|
|
430
441
|
MemoryMetadataFilterList = Shapes::ListShape.new(name: 'MemoryMetadataFilterList')
|
|
@@ -1602,10 +1613,10 @@ module Aws::BedrockAgentCore
|
|
|
1602
1613
|
GroundTruthTurnInput.add_member_subclass(:unknown, Types::GroundTruthTurnInput::Unknown)
|
|
1603
1614
|
GroundTruthTurnInput.struct_class = Types::GroundTruthTurnInput
|
|
1604
1615
|
|
|
1605
|
-
HarnessAgentCoreBrowserConfig.add_member(:browser_arn, Shapes::ShapeRef.new(shape:
|
|
1616
|
+
HarnessAgentCoreBrowserConfig.add_member(:browser_arn, Shapes::ShapeRef.new(shape: HarnessBrowserArn, location_name: "browserArn"))
|
|
1606
1617
|
HarnessAgentCoreBrowserConfig.struct_class = Types::HarnessAgentCoreBrowserConfig
|
|
1607
1618
|
|
|
1608
|
-
HarnessAgentCoreCodeInterpreterConfig.add_member(:code_interpreter_arn, Shapes::ShapeRef.new(shape:
|
|
1619
|
+
HarnessAgentCoreCodeInterpreterConfig.add_member(:code_interpreter_arn, Shapes::ShapeRef.new(shape: HarnessCodeInterpreterArn, location_name: "codeInterpreterArn"))
|
|
1609
1620
|
HarnessAgentCoreCodeInterpreterConfig.struct_class = Types::HarnessAgentCoreCodeInterpreterConfig
|
|
1610
1621
|
|
|
1611
1622
|
HarnessAgentCoreGatewayConfig.add_member(:gateway_arn, Shapes::ShapeRef.new(shape: GatewayArn, required: true, location_name: "gatewayArn"))
|
|
@@ -1618,6 +1629,8 @@ module Aws::BedrockAgentCore
|
|
|
1618
1629
|
HarnessBedrockModelConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
|
1619
1630
|
HarnessBedrockModelConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
|
1620
1631
|
HarnessBedrockModelConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
|
1632
|
+
HarnessBedrockModelConfig.add_member(:api_format, Shapes::ShapeRef.new(shape: HarnessBedrockApiFormat, location_name: "apiFormat"))
|
|
1633
|
+
HarnessBedrockModelConfig.add_member(:additional_params, Shapes::ShapeRef.new(shape: Document, location_name: "additionalParams"))
|
|
1621
1634
|
HarnessBedrockModelConfig.struct_class = Types::HarnessBedrockModelConfig
|
|
1622
1635
|
|
|
1623
1636
|
HarnessContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: SensitiveText, location_name: "text"))
|
|
@@ -1687,6 +1700,15 @@ module Aws::BedrockAgentCore
|
|
|
1687
1700
|
HarnessInlineFunctionConfig.add_member(:input_schema, Shapes::ShapeRef.new(shape: SensitiveJson, required: true, location_name: "inputSchema"))
|
|
1688
1701
|
HarnessInlineFunctionConfig.struct_class = Types::HarnessInlineFunctionConfig
|
|
1689
1702
|
|
|
1703
|
+
HarnessLiteLlmModelConfig.add_member(:model_id, Shapes::ShapeRef.new(shape: ModelId, required: true, location_name: "modelId"))
|
|
1704
|
+
HarnessLiteLlmModelConfig.add_member(:api_key_arn, Shapes::ShapeRef.new(shape: ApiKeyArn, location_name: "apiKeyArn"))
|
|
1705
|
+
HarnessLiteLlmModelConfig.add_member(:api_base, Shapes::ShapeRef.new(shape: HarnessLiteLlmApiBase, location_name: "apiBase"))
|
|
1706
|
+
HarnessLiteLlmModelConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
|
1707
|
+
HarnessLiteLlmModelConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
|
1708
|
+
HarnessLiteLlmModelConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
|
1709
|
+
HarnessLiteLlmModelConfig.add_member(:additional_params, Shapes::ShapeRef.new(shape: Document, location_name: "additionalParams"))
|
|
1710
|
+
HarnessLiteLlmModelConfig.struct_class = Types::HarnessLiteLlmModelConfig
|
|
1711
|
+
|
|
1690
1712
|
HarnessMessage.add_member(:role, Shapes::ShapeRef.new(shape: HarnessConversationRole, required: true, location_name: "role"))
|
|
1691
1713
|
HarnessMessage.add_member(:content, Shapes::ShapeRef.new(shape: HarnessContentBlocks, required: true, location_name: "content"))
|
|
1692
1714
|
HarnessMessage.struct_class = Types::HarnessMessage
|
|
@@ -1706,10 +1728,12 @@ module Aws::BedrockAgentCore
|
|
|
1706
1728
|
HarnessModelConfiguration.add_member(:bedrock_model_config, Shapes::ShapeRef.new(shape: HarnessBedrockModelConfig, location_name: "bedrockModelConfig"))
|
|
1707
1729
|
HarnessModelConfiguration.add_member(:open_ai_model_config, Shapes::ShapeRef.new(shape: HarnessOpenAiModelConfig, location_name: "openAiModelConfig"))
|
|
1708
1730
|
HarnessModelConfiguration.add_member(:gemini_model_config, Shapes::ShapeRef.new(shape: HarnessGeminiModelConfig, location_name: "geminiModelConfig"))
|
|
1731
|
+
HarnessModelConfiguration.add_member(:lite_llm_model_config, Shapes::ShapeRef.new(shape: HarnessLiteLlmModelConfig, location_name: "liteLlmModelConfig"))
|
|
1709
1732
|
HarnessModelConfiguration.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1710
1733
|
HarnessModelConfiguration.add_member_subclass(:bedrock_model_config, Types::HarnessModelConfiguration::BedrockModelConfig)
|
|
1711
1734
|
HarnessModelConfiguration.add_member_subclass(:open_ai_model_config, Types::HarnessModelConfiguration::OpenAiModelConfig)
|
|
1712
1735
|
HarnessModelConfiguration.add_member_subclass(:gemini_model_config, Types::HarnessModelConfiguration::GeminiModelConfig)
|
|
1736
|
+
HarnessModelConfiguration.add_member_subclass(:lite_llm_model_config, Types::HarnessModelConfiguration::LiteLlmModelConfig)
|
|
1713
1737
|
HarnessModelConfiguration.add_member_subclass(:unknown, Types::HarnessModelConfiguration::Unknown)
|
|
1714
1738
|
HarnessModelConfiguration.struct_class = Types::HarnessModelConfiguration
|
|
1715
1739
|
|
|
@@ -1718,6 +1742,8 @@ module Aws::BedrockAgentCore
|
|
|
1718
1742
|
HarnessOpenAiModelConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
|
1719
1743
|
HarnessOpenAiModelConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
|
1720
1744
|
HarnessOpenAiModelConfig.add_member(:top_p, Shapes::ShapeRef.new(shape: TopP, location_name: "topP"))
|
|
1745
|
+
HarnessOpenAiModelConfig.add_member(:api_format, Shapes::ShapeRef.new(shape: HarnessOpenAiApiFormat, location_name: "apiFormat"))
|
|
1746
|
+
HarnessOpenAiModelConfig.add_member(:additional_params, Shapes::ShapeRef.new(shape: Document, location_name: "additionalParams"))
|
|
1721
1747
|
HarnessOpenAiModelConfig.struct_class = Types::HarnessOpenAiModelConfig
|
|
1722
1748
|
|
|
1723
1749
|
HarnessReasoningContentBlock.add_member(:reasoning_text, Shapes::ShapeRef.new(shape: HarnessReasoningTextBlock, location_name: "reasoningText"))
|
|
@@ -1747,11 +1773,27 @@ module Aws::BedrockAgentCore
|
|
|
1747
1773
|
HarnessRemoteMcpConfig.struct_class = Types::HarnessRemoteMcpConfig
|
|
1748
1774
|
|
|
1749
1775
|
HarnessSkill.add_member(:path, Shapes::ShapeRef.new(shape: HarnessSkillPath, location_name: "path"))
|
|
1776
|
+
HarnessSkill.add_member(:s3, Shapes::ShapeRef.new(shape: HarnessSkillS3Source, location_name: "s3"))
|
|
1777
|
+
HarnessSkill.add_member(:git, Shapes::ShapeRef.new(shape: HarnessSkillGitSource, location_name: "git"))
|
|
1750
1778
|
HarnessSkill.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
1751
1779
|
HarnessSkill.add_member_subclass(:path, Types::HarnessSkill::Path)
|
|
1780
|
+
HarnessSkill.add_member_subclass(:s3, Types::HarnessSkill::S3)
|
|
1781
|
+
HarnessSkill.add_member_subclass(:git, Types::HarnessSkill::Git)
|
|
1752
1782
|
HarnessSkill.add_member_subclass(:unknown, Types::HarnessSkill::Unknown)
|
|
1753
1783
|
HarnessSkill.struct_class = Types::HarnessSkill
|
|
1754
1784
|
|
|
1785
|
+
HarnessSkillGitAuth.add_member(:credential_arn, Shapes::ShapeRef.new(shape: ApiKeyArn, required: true, location_name: "credentialArn"))
|
|
1786
|
+
HarnessSkillGitAuth.add_member(:username, Shapes::ShapeRef.new(shape: String, location_name: "username"))
|
|
1787
|
+
HarnessSkillGitAuth.struct_class = Types::HarnessSkillGitAuth
|
|
1788
|
+
|
|
1789
|
+
HarnessSkillGitSource.add_member(:url, Shapes::ShapeRef.new(shape: HarnessSkillGitUrl, required: true, location_name: "url"))
|
|
1790
|
+
HarnessSkillGitSource.add_member(:path, Shapes::ShapeRef.new(shape: String, location_name: "path"))
|
|
1791
|
+
HarnessSkillGitSource.add_member(:auth, Shapes::ShapeRef.new(shape: HarnessSkillGitAuth, location_name: "auth"))
|
|
1792
|
+
HarnessSkillGitSource.struct_class = Types::HarnessSkillGitSource
|
|
1793
|
+
|
|
1794
|
+
HarnessSkillS3Source.add_member(:uri, Shapes::ShapeRef.new(shape: HarnessSkillS3Uri, required: true, location_name: "uri"))
|
|
1795
|
+
HarnessSkillS3Source.struct_class = Types::HarnessSkillS3Source
|
|
1796
|
+
|
|
1755
1797
|
HarnessSkills.member = Shapes::ShapeRef.new(shape: HarnessSkill)
|
|
1756
1798
|
|
|
1757
1799
|
HarnessStreamMetrics.add_member(:latency_ms, Shapes::ShapeRef.new(shape: Long, required: true, location_name: "latencyMs"))
|
|
@@ -1961,7 +2003,8 @@ module Aws::BedrockAgentCore
|
|
|
1961
2003
|
InvokeCodeInterpreterResponse[:payload_member] = InvokeCodeInterpreterResponse.member(:stream)
|
|
1962
2004
|
|
|
1963
2005
|
InvokeHarnessRequest.add_member(:harness_arn, Shapes::ShapeRef.new(shape: HarnessArn, required: true, location: "querystring", location_name: "harnessArn"))
|
|
1964
|
-
InvokeHarnessRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape:
|
|
2006
|
+
InvokeHarnessRequest.add_member(:runtime_session_id, Shapes::ShapeRef.new(shape: InvokeHarnessRequestRuntimeSessionIdString, required: true, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-Session-Id"))
|
|
2007
|
+
InvokeHarnessRequest.add_member(:runtime_user_id, Shapes::ShapeRef.new(shape: String, location: "header", location_name: "X-Amzn-Bedrock-AgentCore-Runtime-User-Id"))
|
|
1965
2008
|
InvokeHarnessRequest.add_member(:messages, Shapes::ShapeRef.new(shape: HarnessMessages, required: true, location_name: "messages"))
|
|
1966
2009
|
InvokeHarnessRequest.add_member(:model, Shapes::ShapeRef.new(shape: HarnessModelConfiguration, location_name: "model"))
|
|
1967
2010
|
InvokeHarnessRequest.add_member(:system_prompt, Shapes::ShapeRef.new(shape: HarnessSystemPrompt, location_name: "systemPrompt"))
|
|
@@ -2363,7 +2406,7 @@ module Aws::BedrockAgentCore
|
|
|
2363
2406
|
OutputConfig.struct_class = Types::OutputConfig
|
|
2364
2407
|
|
|
2365
2408
|
PayloadType.add_member(:conversational, Shapes::ShapeRef.new(shape: Conversational, location_name: "conversational"))
|
|
2366
|
-
PayloadType.add_member(:blob, Shapes::ShapeRef.new(shape:
|
|
2409
|
+
PayloadType.add_member(:blob, Shapes::ShapeRef.new(shape: MemoryDocument, location_name: "blob"))
|
|
2367
2410
|
PayloadType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2368
2411
|
PayloadType.add_member_subclass(:conversational, Types::PayloadType::Conversational)
|
|
2369
2412
|
PayloadType.add_member_subclass(:blob, Types::PayloadType::Blob)
|
|
@@ -3600,6 +3643,7 @@ module Aws::BedrockAgentCore
|
|
|
3600
3643
|
o.input = Shapes::ShapeRef.new(shape: InvokeHarnessRequest)
|
|
3601
3644
|
o.output = Shapes::ShapeRef.new(shape: InvokeHarnessResponse)
|
|
3602
3645
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3646
|
+
o.errors << Shapes::ShapeRef.new(shape: RuntimeClientError)
|
|
3603
3647
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3604
3648
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3605
3649
|
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
@@ -1799,7 +1799,7 @@ module Aws::BedrockAgentCore
|
|
|
1799
1799
|
# @note DataSourceConfig is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of DataSourceConfig corresponding to the set member.
|
|
1800
1800
|
#
|
|
1801
1801
|
# @!attribute [rw] cloud_watch_logs
|
|
1802
|
-
#
|
|
1802
|
+
# Configuration for pulling agent session traces from CloudWatch Logs.
|
|
1803
1803
|
# @return [Types::CloudWatchLogsSource]
|
|
1804
1804
|
#
|
|
1805
1805
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/DataSourceConfig AWS API Documentation
|
|
@@ -2338,9 +2338,9 @@ module Aws::BedrockAgentCore
|
|
|
2338
2338
|
# context.
|
|
2339
2339
|
#
|
|
2340
2340
|
# @!attribute [rw] context
|
|
2341
|
-
# The
|
|
2342
|
-
#
|
|
2343
|
-
#
|
|
2341
|
+
# The span context that identifies which session or trace this
|
|
2342
|
+
# reference input applies to, used for correlating ground truth with
|
|
2343
|
+
# agent output.
|
|
2344
2344
|
# @return [Types::Context]
|
|
2345
2345
|
#
|
|
2346
2346
|
# @!attribute [rw] expected_response
|
|
@@ -3871,7 +3871,7 @@ module Aws::BedrockAgentCore
|
|
|
3871
3871
|
# @note GroundTruthSource is a union - when making an API calls you must set exactly one of the members.
|
|
3872
3872
|
#
|
|
3873
3873
|
# @!attribute [rw] inline
|
|
3874
|
-
#
|
|
3874
|
+
# Inline ground truth data provided directly in the request.
|
|
3875
3875
|
# @return [Types::InlineGroundTruth]
|
|
3876
3876
|
#
|
|
3877
3877
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GroundTruthSource AWS API Documentation
|
|
@@ -3994,13 +3994,24 @@ module Aws::BedrockAgentCore
|
|
|
3994
3994
|
# The topP set when calling the model.
|
|
3995
3995
|
# @return [Float]
|
|
3996
3996
|
#
|
|
3997
|
+
# @!attribute [rw] api_format
|
|
3998
|
+
# The API format to use when calling the Bedrock provider.
|
|
3999
|
+
# @return [String]
|
|
4000
|
+
#
|
|
4001
|
+
# @!attribute [rw] additional_params
|
|
4002
|
+
# Provider-specific parameters passed through to the model provider
|
|
4003
|
+
# unchanged.
|
|
4004
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
4005
|
+
#
|
|
3997
4006
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessBedrockModelConfig AWS API Documentation
|
|
3998
4007
|
#
|
|
3999
4008
|
class HarnessBedrockModelConfig < Struct.new(
|
|
4000
4009
|
:model_id,
|
|
4001
4010
|
:max_tokens,
|
|
4002
4011
|
:temperature,
|
|
4003
|
-
:top_p
|
|
4012
|
+
:top_p,
|
|
4013
|
+
:api_format,
|
|
4014
|
+
:additional_params)
|
|
4004
4015
|
SENSITIVE = []
|
|
4005
4016
|
include Aws::Structure
|
|
4006
4017
|
end
|
|
@@ -4259,6 +4270,54 @@ module Aws::BedrockAgentCore
|
|
|
4259
4270
|
include Aws::Structure
|
|
4260
4271
|
end
|
|
4261
4272
|
|
|
4273
|
+
# Configuration for a LiteLLM model provider, enabling connection to
|
|
4274
|
+
# third-party model providers.
|
|
4275
|
+
#
|
|
4276
|
+
# @!attribute [rw] model_id
|
|
4277
|
+
# The LiteLLM model identifier (e.g., "anthropic/claude-3-sonnet").
|
|
4278
|
+
# @return [String]
|
|
4279
|
+
#
|
|
4280
|
+
# @!attribute [rw] api_key_arn
|
|
4281
|
+
# The ARN of the API key in AgentCore Identity for authenticating with
|
|
4282
|
+
# the model provider.
|
|
4283
|
+
# @return [String]
|
|
4284
|
+
#
|
|
4285
|
+
# @!attribute [rw] api_base
|
|
4286
|
+
# The base URL for the model provider's API endpoint.
|
|
4287
|
+
# @return [String]
|
|
4288
|
+
#
|
|
4289
|
+
# @!attribute [rw] max_tokens
|
|
4290
|
+
# The maximum number of tokens to allow in the generated response per
|
|
4291
|
+
# iteration.
|
|
4292
|
+
# @return [Integer]
|
|
4293
|
+
#
|
|
4294
|
+
# @!attribute [rw] temperature
|
|
4295
|
+
# The temperature to set when calling the model.
|
|
4296
|
+
# @return [Float]
|
|
4297
|
+
#
|
|
4298
|
+
# @!attribute [rw] top_p
|
|
4299
|
+
# The topP set when calling the model.
|
|
4300
|
+
# @return [Float]
|
|
4301
|
+
#
|
|
4302
|
+
# @!attribute [rw] additional_params
|
|
4303
|
+
# Provider-specific parameters passed through to the model provider
|
|
4304
|
+
# unchanged.
|
|
4305
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
4306
|
+
#
|
|
4307
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessLiteLlmModelConfig AWS API Documentation
|
|
4308
|
+
#
|
|
4309
|
+
class HarnessLiteLlmModelConfig < Struct.new(
|
|
4310
|
+
:model_id,
|
|
4311
|
+
:api_key_arn,
|
|
4312
|
+
:api_base,
|
|
4313
|
+
:max_tokens,
|
|
4314
|
+
:temperature,
|
|
4315
|
+
:top_p,
|
|
4316
|
+
:additional_params)
|
|
4317
|
+
SENSITIVE = [:api_base]
|
|
4318
|
+
include Aws::Structure
|
|
4319
|
+
end
|
|
4320
|
+
|
|
4262
4321
|
# A message in the conversation.
|
|
4263
4322
|
#
|
|
4264
4323
|
# @!attribute [rw] role
|
|
@@ -4344,12 +4403,18 @@ module Aws::BedrockAgentCore
|
|
|
4344
4403
|
# Configuration for a Google Gemini model.
|
|
4345
4404
|
# @return [Types::HarnessGeminiModelConfig]
|
|
4346
4405
|
#
|
|
4406
|
+
# @!attribute [rw] lite_llm_model_config
|
|
4407
|
+
# The LiteLLM model configuration for connecting to third-party model
|
|
4408
|
+
# providers.
|
|
4409
|
+
# @return [Types::HarnessLiteLlmModelConfig]
|
|
4410
|
+
#
|
|
4347
4411
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessModelConfiguration AWS API Documentation
|
|
4348
4412
|
#
|
|
4349
4413
|
class HarnessModelConfiguration < Struct.new(
|
|
4350
4414
|
:bedrock_model_config,
|
|
4351
4415
|
:open_ai_model_config,
|
|
4352
4416
|
:gemini_model_config,
|
|
4417
|
+
:lite_llm_model_config,
|
|
4353
4418
|
:unknown)
|
|
4354
4419
|
SENSITIVE = []
|
|
4355
4420
|
include Aws::Structure
|
|
@@ -4358,6 +4423,7 @@ module Aws::BedrockAgentCore
|
|
|
4358
4423
|
class BedrockModelConfig < HarnessModelConfiguration; end
|
|
4359
4424
|
class OpenAiModelConfig < HarnessModelConfiguration; end
|
|
4360
4425
|
class GeminiModelConfig < HarnessModelConfiguration; end
|
|
4426
|
+
class LiteLlmModelConfig < HarnessModelConfiguration; end
|
|
4361
4427
|
class Unknown < HarnessModelConfiguration; end
|
|
4362
4428
|
end
|
|
4363
4429
|
|
|
@@ -4385,6 +4451,15 @@ module Aws::BedrockAgentCore
|
|
|
4385
4451
|
# The topP set when calling the model.
|
|
4386
4452
|
# @return [Float]
|
|
4387
4453
|
#
|
|
4454
|
+
# @!attribute [rw] api_format
|
|
4455
|
+
# The API format to use when calling the OpenAI provider.
|
|
4456
|
+
# @return [String]
|
|
4457
|
+
#
|
|
4458
|
+
# @!attribute [rw] additional_params
|
|
4459
|
+
# Provider-specific parameters passed through to the model provider
|
|
4460
|
+
# unchanged.
|
|
4461
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
4462
|
+
#
|
|
4388
4463
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessOpenAiModelConfig AWS API Documentation
|
|
4389
4464
|
#
|
|
4390
4465
|
class HarnessOpenAiModelConfig < Struct.new(
|
|
@@ -4392,7 +4467,9 @@ module Aws::BedrockAgentCore
|
|
|
4392
4467
|
:api_key_arn,
|
|
4393
4468
|
:max_tokens,
|
|
4394
4469
|
:temperature,
|
|
4395
|
-
:top_p
|
|
4470
|
+
:top_p,
|
|
4471
|
+
:api_format,
|
|
4472
|
+
:additional_params)
|
|
4396
4473
|
SENSITIVE = []
|
|
4397
4474
|
include Aws::Structure
|
|
4398
4475
|
end
|
|
@@ -4503,19 +4580,91 @@ module Aws::BedrockAgentCore
|
|
|
4503
4580
|
# The filesystem path to the skill definition.
|
|
4504
4581
|
# @return [String]
|
|
4505
4582
|
#
|
|
4583
|
+
# @!attribute [rw] s3
|
|
4584
|
+
# An S3 source containing the skill.
|
|
4585
|
+
# @return [Types::HarnessSkillS3Source]
|
|
4586
|
+
#
|
|
4587
|
+
# @!attribute [rw] git
|
|
4588
|
+
# A git repository containing the skill.
|
|
4589
|
+
# @return [Types::HarnessSkillGitSource]
|
|
4590
|
+
#
|
|
4506
4591
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessSkill AWS API Documentation
|
|
4507
4592
|
#
|
|
4508
4593
|
class HarnessSkill < Struct.new(
|
|
4509
4594
|
:path,
|
|
4595
|
+
:s3,
|
|
4596
|
+
:git,
|
|
4510
4597
|
:unknown)
|
|
4511
4598
|
SENSITIVE = []
|
|
4512
4599
|
include Aws::Structure
|
|
4513
4600
|
include Aws::Structure::Union
|
|
4514
4601
|
|
|
4515
4602
|
class Path < HarnessSkill; end
|
|
4603
|
+
class S3 < HarnessSkill; end
|
|
4604
|
+
class Git < HarnessSkill; end
|
|
4516
4605
|
class Unknown < HarnessSkill; end
|
|
4517
4606
|
end
|
|
4518
4607
|
|
|
4608
|
+
# Authentication configuration for accessing a private git repository.
|
|
4609
|
+
#
|
|
4610
|
+
# @!attribute [rw] credential_arn
|
|
4611
|
+
# The ARN of the credential in AgentCore Identity containing the
|
|
4612
|
+
# password or personal access token.
|
|
4613
|
+
# @return [String]
|
|
4614
|
+
#
|
|
4615
|
+
# @!attribute [rw] username
|
|
4616
|
+
# Username for authentication. Defaults to 'oauth2' if not
|
|
4617
|
+
# specified.
|
|
4618
|
+
# @return [String]
|
|
4619
|
+
#
|
|
4620
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessSkillGitAuth AWS API Documentation
|
|
4621
|
+
#
|
|
4622
|
+
class HarnessSkillGitAuth < Struct.new(
|
|
4623
|
+
:credential_arn,
|
|
4624
|
+
:username)
|
|
4625
|
+
SENSITIVE = []
|
|
4626
|
+
include Aws::Structure
|
|
4627
|
+
end
|
|
4628
|
+
|
|
4629
|
+
# A git repository source for a skill.
|
|
4630
|
+
#
|
|
4631
|
+
# @!attribute [rw] url
|
|
4632
|
+
# The HTTPS URL of the git repository.
|
|
4633
|
+
# @return [String]
|
|
4634
|
+
#
|
|
4635
|
+
# @!attribute [rw] path
|
|
4636
|
+
# Subdirectory within the repository containing the skill.
|
|
4637
|
+
# @return [String]
|
|
4638
|
+
#
|
|
4639
|
+
# @!attribute [rw] auth
|
|
4640
|
+
# Authentication configuration for private repositories.
|
|
4641
|
+
# @return [Types::HarnessSkillGitAuth]
|
|
4642
|
+
#
|
|
4643
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessSkillGitSource AWS API Documentation
|
|
4644
|
+
#
|
|
4645
|
+
class HarnessSkillGitSource < Struct.new(
|
|
4646
|
+
:url,
|
|
4647
|
+
:path,
|
|
4648
|
+
:auth)
|
|
4649
|
+
SENSITIVE = []
|
|
4650
|
+
include Aws::Structure
|
|
4651
|
+
end
|
|
4652
|
+
|
|
4653
|
+
# An S3 source for a skill.
|
|
4654
|
+
#
|
|
4655
|
+
# @!attribute [rw] uri
|
|
4656
|
+
# The S3 URI pointing to the skill directory (e.g.,
|
|
4657
|
+
# s3://bucket/skills/my-skill/).
|
|
4658
|
+
# @return [String]
|
|
4659
|
+
#
|
|
4660
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/HarnessSkillS3Source AWS API Documentation
|
|
4661
|
+
#
|
|
4662
|
+
class HarnessSkillS3Source < Struct.new(
|
|
4663
|
+
:uri)
|
|
4664
|
+
SENSITIVE = []
|
|
4665
|
+
include Aws::Structure
|
|
4666
|
+
end
|
|
4667
|
+
|
|
4519
4668
|
# Latency metrics for the invocation.
|
|
4520
4669
|
#
|
|
4521
4670
|
# @!attribute [rw] latency_ms
|
|
@@ -4843,8 +4992,7 @@ module Aws::BedrockAgentCore
|
|
|
4843
4992
|
# @return [Array<Types::EvaluationContent>]
|
|
4844
4993
|
#
|
|
4845
4994
|
# @!attribute [rw] expected_trajectory
|
|
4846
|
-
#
|
|
4847
|
-
# EvaluationExpectedTrajectory
|
|
4995
|
+
# The expected tool call sequence for trajectory evaluation.
|
|
4848
4996
|
# @return [Types::EvaluationExpectedTrajectory]
|
|
4849
4997
|
#
|
|
4850
4998
|
# @!attribute [rw] turns
|
|
@@ -5360,6 +5508,11 @@ module Aws::BedrockAgentCore
|
|
|
5360
5508
|
# requests to continue a conversation.
|
|
5361
5509
|
# @return [String]
|
|
5362
5510
|
#
|
|
5511
|
+
# @!attribute [rw] runtime_user_id
|
|
5512
|
+
# An identifier for the end user making the request. This value is
|
|
5513
|
+
# passed through to the runtime container.
|
|
5514
|
+
# @return [String]
|
|
5515
|
+
#
|
|
5363
5516
|
# @!attribute [rw] messages
|
|
5364
5517
|
# The messages to send to the agent.
|
|
5365
5518
|
# @return [Array<Types::HarnessMessage>]
|
|
@@ -5414,6 +5567,7 @@ module Aws::BedrockAgentCore
|
|
|
5414
5567
|
class InvokeHarnessRequest < Struct.new(
|
|
5415
5568
|
:harness_arn,
|
|
5416
5569
|
:runtime_session_id,
|
|
5570
|
+
:runtime_user_id,
|
|
5417
5571
|
:messages,
|
|
5418
5572
|
:model,
|
|
5419
5573
|
:system_prompt,
|
data/sig/client.rbs
CHANGED
|
@@ -886,6 +886,7 @@ module Aws
|
|
|
886
886
|
def invoke_harness: (
|
|
887
887
|
harness_arn: ::String,
|
|
888
888
|
runtime_session_id: ::String,
|
|
889
|
+
?runtime_user_id: ::String,
|
|
889
890
|
messages: Array[
|
|
890
891
|
{
|
|
891
892
|
role: ("user" | "assistant"),
|
|
@@ -928,14 +929,20 @@ module Aws
|
|
|
928
929
|
model_id: ::String,
|
|
929
930
|
max_tokens: ::Integer?,
|
|
930
931
|
temperature: ::Float?,
|
|
931
|
-
top_p: ::Float
|
|
932
|
+
top_p: ::Float?,
|
|
933
|
+
api_format: ("converse_stream" | "responses" | "chat_completions")?,
|
|
934
|
+
additional_params: {
|
|
935
|
+
}?
|
|
932
936
|
}?,
|
|
933
937
|
open_ai_model_config: {
|
|
934
938
|
model_id: ::String,
|
|
935
939
|
api_key_arn: ::String,
|
|
936
940
|
max_tokens: ::Integer?,
|
|
937
941
|
temperature: ::Float?,
|
|
938
|
-
top_p: ::Float
|
|
942
|
+
top_p: ::Float?,
|
|
943
|
+
api_format: ("chat_completions" | "responses")?,
|
|
944
|
+
additional_params: {
|
|
945
|
+
}?
|
|
939
946
|
}?,
|
|
940
947
|
gemini_model_config: {
|
|
941
948
|
model_id: ::String,
|
|
@@ -944,6 +951,16 @@ module Aws
|
|
|
944
951
|
temperature: ::Float?,
|
|
945
952
|
top_p: ::Float?,
|
|
946
953
|
top_k: ::Integer?
|
|
954
|
+
}?,
|
|
955
|
+
lite_llm_model_config: {
|
|
956
|
+
model_id: ::String,
|
|
957
|
+
api_key_arn: ::String?,
|
|
958
|
+
api_base: ::String?,
|
|
959
|
+
max_tokens: ::Integer?,
|
|
960
|
+
temperature: ::Float?,
|
|
961
|
+
top_p: ::Float?,
|
|
962
|
+
additional_params: {
|
|
963
|
+
}?
|
|
947
964
|
}?
|
|
948
965
|
},
|
|
949
966
|
?system_prompt: Array[
|
|
@@ -992,7 +1009,18 @@ module Aws
|
|
|
992
1009
|
],
|
|
993
1010
|
?skills: Array[
|
|
994
1011
|
{
|
|
995
|
-
path: ::String
|
|
1012
|
+
path: ::String?,
|
|
1013
|
+
s3: {
|
|
1014
|
+
uri: ::String
|
|
1015
|
+
}?,
|
|
1016
|
+
git: {
|
|
1017
|
+
url: ::String,
|
|
1018
|
+
path: ::String?,
|
|
1019
|
+
auth: {
|
|
1020
|
+
credential_arn: ::String,
|
|
1021
|
+
username: ::String?
|
|
1022
|
+
}?
|
|
1023
|
+
}?
|
|
996
1024
|
}
|
|
997
1025
|
],
|
|
998
1026
|
?allowed_tools: Array[::String],
|
data/sig/types.rbs
CHANGED
|
@@ -1191,6 +1191,8 @@ module Aws::BedrockAgentCore
|
|
|
1191
1191
|
attr_accessor max_tokens: ::Integer
|
|
1192
1192
|
attr_accessor temperature: ::Float
|
|
1193
1193
|
attr_accessor top_p: ::Float
|
|
1194
|
+
attr_accessor api_format: ("converse_stream" | "responses" | "chat_completions")
|
|
1195
|
+
attr_accessor additional_params: untyped
|
|
1194
1196
|
SENSITIVE: []
|
|
1195
1197
|
end
|
|
1196
1198
|
|
|
@@ -1301,6 +1303,17 @@ module Aws::BedrockAgentCore
|
|
|
1301
1303
|
SENSITIVE: [:description, :input_schema]
|
|
1302
1304
|
end
|
|
1303
1305
|
|
|
1306
|
+
class HarnessLiteLlmModelConfig
|
|
1307
|
+
attr_accessor model_id: ::String
|
|
1308
|
+
attr_accessor api_key_arn: ::String
|
|
1309
|
+
attr_accessor api_base: ::String
|
|
1310
|
+
attr_accessor max_tokens: ::Integer
|
|
1311
|
+
attr_accessor temperature: ::Float
|
|
1312
|
+
attr_accessor top_p: ::Float
|
|
1313
|
+
attr_accessor additional_params: untyped
|
|
1314
|
+
SENSITIVE: [:api_base]
|
|
1315
|
+
end
|
|
1316
|
+
|
|
1304
1317
|
class HarnessMessage
|
|
1305
1318
|
attr_accessor role: ("user" | "assistant")
|
|
1306
1319
|
attr_accessor content: ::Array[Types::HarnessContentBlock]
|
|
@@ -1330,6 +1343,7 @@ module Aws::BedrockAgentCore
|
|
|
1330
1343
|
attr_accessor bedrock_model_config: Types::HarnessBedrockModelConfig
|
|
1331
1344
|
attr_accessor open_ai_model_config: Types::HarnessOpenAiModelConfig
|
|
1332
1345
|
attr_accessor gemini_model_config: Types::HarnessGeminiModelConfig
|
|
1346
|
+
attr_accessor lite_llm_model_config: Types::HarnessLiteLlmModelConfig
|
|
1333
1347
|
attr_accessor unknown: untyped
|
|
1334
1348
|
SENSITIVE: []
|
|
1335
1349
|
|
|
@@ -1339,6 +1353,8 @@ module Aws::BedrockAgentCore
|
|
|
1339
1353
|
end
|
|
1340
1354
|
class GeminiModelConfig < HarnessModelConfiguration
|
|
1341
1355
|
end
|
|
1356
|
+
class LiteLlmModelConfig < HarnessModelConfiguration
|
|
1357
|
+
end
|
|
1342
1358
|
class Unknown < HarnessModelConfiguration
|
|
1343
1359
|
end
|
|
1344
1360
|
end
|
|
@@ -1349,6 +1365,8 @@ module Aws::BedrockAgentCore
|
|
|
1349
1365
|
attr_accessor max_tokens: ::Integer
|
|
1350
1366
|
attr_accessor temperature: ::Float
|
|
1351
1367
|
attr_accessor top_p: ::Float
|
|
1368
|
+
attr_accessor api_format: ("chat_completions" | "responses")
|
|
1369
|
+
attr_accessor additional_params: untyped
|
|
1352
1370
|
SENSITIVE: []
|
|
1353
1371
|
end
|
|
1354
1372
|
|
|
@@ -1397,15 +1415,39 @@ module Aws::BedrockAgentCore
|
|
|
1397
1415
|
|
|
1398
1416
|
class HarnessSkill
|
|
1399
1417
|
attr_accessor path: ::String
|
|
1418
|
+
attr_accessor s3: Types::HarnessSkillS3Source
|
|
1419
|
+
attr_accessor git: Types::HarnessSkillGitSource
|
|
1400
1420
|
attr_accessor unknown: untyped
|
|
1401
1421
|
SENSITIVE: []
|
|
1402
1422
|
|
|
1403
1423
|
class Path < HarnessSkill
|
|
1404
1424
|
end
|
|
1425
|
+
class S3 < HarnessSkill
|
|
1426
|
+
end
|
|
1427
|
+
class Git < HarnessSkill
|
|
1428
|
+
end
|
|
1405
1429
|
class Unknown < HarnessSkill
|
|
1406
1430
|
end
|
|
1407
1431
|
end
|
|
1408
1432
|
|
|
1433
|
+
class HarnessSkillGitAuth
|
|
1434
|
+
attr_accessor credential_arn: ::String
|
|
1435
|
+
attr_accessor username: ::String
|
|
1436
|
+
SENSITIVE: []
|
|
1437
|
+
end
|
|
1438
|
+
|
|
1439
|
+
class HarnessSkillGitSource
|
|
1440
|
+
attr_accessor url: ::String
|
|
1441
|
+
attr_accessor path: ::String
|
|
1442
|
+
attr_accessor auth: Types::HarnessSkillGitAuth
|
|
1443
|
+
SENSITIVE: []
|
|
1444
|
+
end
|
|
1445
|
+
|
|
1446
|
+
class HarnessSkillS3Source
|
|
1447
|
+
attr_accessor uri: ::String
|
|
1448
|
+
SENSITIVE: []
|
|
1449
|
+
end
|
|
1450
|
+
|
|
1409
1451
|
class HarnessStreamMetrics
|
|
1410
1452
|
attr_accessor latency_ms: ::Integer
|
|
1411
1453
|
SENSITIVE: []
|
|
@@ -1647,6 +1689,7 @@ module Aws::BedrockAgentCore
|
|
|
1647
1689
|
class InvokeHarnessRequest
|
|
1648
1690
|
attr_accessor harness_arn: ::String
|
|
1649
1691
|
attr_accessor runtime_session_id: ::String
|
|
1692
|
+
attr_accessor runtime_user_id: ::String
|
|
1650
1693
|
attr_accessor messages: ::Array[Types::HarnessMessage]
|
|
1651
1694
|
attr_accessor model: Types::HarnessModelConfiguration
|
|
1652
1695
|
attr_accessor system_prompt: ::Array[Types::HarnessSystemContentBlock]
|