Skip to content

Commit 6841ea8

Browse files
Amazon Bedrock AgentCore Control: Fix HarnessEndpointArn pattern to match the actual service-emitted ARN format ('harness-endpoint' instead of 'endpoint'). Add additionalParams to Gemini model configuration for passing provider-specific parameters through to the model unchanged.
1 parent 390c136 commit 6841ea8

2 files changed

Lines changed: 15 additions & 1 deletion

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Bedrock AgentCore Control",
4+
"contributor": "",
5+
"description": "Fix HarnessEndpointArn pattern to match the actual service-emitted ARN format ('harness-endpoint' instead of 'endpoint'). Add additionalParams to Gemini model configuration for passing provider-specific parameters through to the model unchanged."
6+
}

services/bedrockagentcorecontrol/src/main/resources/codegen-resources/service-2.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2925,6 +2925,7 @@
29252925
"input":{"shape":"UpdatePolicyRequest"},
29262926
"output":{"shape":"UpdatePolicyResponse"},
29272927
"errors":[
2928+
{"shape":"ServiceQuotaExceededException"},
29282929
{"shape":"AccessDeniedException"},
29292930
{"shape":"ValidationException"},
29302931
{"shape":"ConflictException"},
@@ -12108,7 +12109,7 @@
1210812109
},
1210912110
"HarnessEndpointArn":{
1211012111
"type":"string",
12111-
"pattern":"arn:([^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:harness/[a-zA-Z][a-zA-Z0-9_]{0,39}-[a-zA-Z0-9]{10}/endpoint/[a-zA-Z][a-zA-Z0-9_]{0,47}"
12112+
"pattern":"arn:([^:]+)?:bedrock-agentcore:[a-z0-9-]+:[0-9]{12}:harness/[a-zA-Z][a-zA-Z0-9_]{0,39}-[a-zA-Z0-9]{10}/harness-endpoint/[a-zA-Z][a-zA-Z0-9_]{0,47}"
1211212113
},
1211312114
"HarnessEndpointDescription":{
1211412115
"type":"string",
@@ -12214,6 +12215,10 @@
1221412215
"topK":{
1221512216
"shape":"TopK",
1221612217
"documentation":"<p>The topK set when calling the model.</p>"
12218+
},
12219+
"additionalParams":{
12220+
"shape":"Document",
12221+
"documentation":"<p>Provider-specific parameters passed through to the Gemini model provider unchanged.</p>"
1221712222
}
1221812223
},
1221912224
"documentation":"<p>Configuration for a Google Gemini model provider. Requires an API key stored in AgentCore Identity.</p>"
@@ -12511,11 +12516,13 @@
1251112516
},
1251212517
"HarnessSkillGitUrl":{
1251312518
"type":"string",
12519+
"max":16383,
1251412520
"min":8,
1251512521
"pattern":"https://[^#@]+"
1251612522
},
1251712523
"HarnessSkillPath":{
1251812524
"type":"string",
12525+
"max":4096,
1251912526
"min":1
1252012527
},
1252112528
"HarnessSkillS3Source":{
@@ -12531,6 +12538,7 @@
1253112538
},
1253212539
"HarnessSkillS3Uri":{
1253312540
"type":"string",
12541+
"max":16383,
1253412542
"min":5,
1253512543
"pattern":"s3://.*"
1253612544
},

0 commit comments

Comments
 (0)