Skip to content

Commit 18dafe9

Browse files
author
AWS
committed
Amazon Bedrock Runtime Update: Allow hyphens in tool name for Converse and ConverseStream APIs
1 parent 4ea722b commit 18dafe9

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
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 Runtime",
4+
"contributor": "",
5+
"description": "Allow hyphens in tool name for Converse and ConverseStream APIs"
6+
}

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2744,7 +2744,7 @@
27442744
"type":"string",
27452745
"max":64,
27462746
"min":1,
2747-
"pattern":"[a-zA-Z][a-zA-Z0-9_]*"
2747+
"pattern":"[a-zA-Z0-9_-]+"
27482748
},
27492749
"ToolResultBlock":{
27502750
"type":"structure",

0 commit comments

Comments
 (0)