Skip to content

Commit 633bb02

Browse files
feat: update AWS API models
1 parent 3c9877e commit 633bb02

File tree

9 files changed

+4610
-2361
lines changed

9 files changed

+4610
-2361
lines changed

codegen/sdk/aws-models/bedrock-runtime.json

Lines changed: 121 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,12 @@
755755
"smithy.api#documentation": "<p>Image to include in the message. </p>\n <note>\n <p>This field is only supported by Anthropic Claude 3 models.</p>\n </note>"
756756
}
757757
},
758+
"document": {
759+
"target": "com.amazonaws.bedrockruntime#DocumentBlock",
760+
"traits": {
761+
"smithy.api#documentation": "<p>A document to include in the message.</p>"
762+
}
763+
},
758764
"toolUse": {
759765
"target": "com.amazonaws.bedrockruntime#ToolUseBlock",
760766
"traits": {
@@ -1346,6 +1352,115 @@
13461352
"smithy.api#documentation": "<p>The trace object in a response from <a>Converse</a>. Currently, you can only trace guardrails.</p>"
13471353
}
13481354
},
1355+
"com.amazonaws.bedrockruntime#DocumentBlock": {
1356+
"type": "structure",
1357+
"members": {
1358+
"format": {
1359+
"target": "com.amazonaws.bedrockruntime#DocumentFormat",
1360+
"traits": {
1361+
"smithy.api#documentation": "<p>The format of a document, or its extension.</p>",
1362+
"smithy.api#required": {}
1363+
}
1364+
},
1365+
"name": {
1366+
"target": "smithy.api#String",
1367+
"traits": {
1368+
"smithy.api#documentation": "<p>A name for the document.</p>",
1369+
"smithy.api#length": {
1370+
"min": 1,
1371+
"max": 64
1372+
},
1373+
"smithy.api#required": {}
1374+
}
1375+
},
1376+
"source": {
1377+
"target": "com.amazonaws.bedrockruntime#DocumentSource",
1378+
"traits": {
1379+
"smithy.api#documentation": "<p>Contains the content of the document.</p>",
1380+
"smithy.api#required": {}
1381+
}
1382+
}
1383+
},
1384+
"traits": {
1385+
"smithy.api#documentation": "<p>A document to include in a message when sending a <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> request. You can include up to 5 documents in a request. The maximum document size is 50 MB.</p>"
1386+
}
1387+
},
1388+
"com.amazonaws.bedrockruntime#DocumentFormat": {
1389+
"type": "enum",
1390+
"members": {
1391+
"PDF": {
1392+
"target": "smithy.api#Unit",
1393+
"traits": {
1394+
"smithy.api#enumValue": "pdf"
1395+
}
1396+
},
1397+
"CSV": {
1398+
"target": "smithy.api#Unit",
1399+
"traits": {
1400+
"smithy.api#enumValue": "csv"
1401+
}
1402+
},
1403+
"DOC": {
1404+
"target": "smithy.api#Unit",
1405+
"traits": {
1406+
"smithy.api#enumValue": "doc"
1407+
}
1408+
},
1409+
"DOCX": {
1410+
"target": "smithy.api#Unit",
1411+
"traits": {
1412+
"smithy.api#enumValue": "docx"
1413+
}
1414+
},
1415+
"XLS": {
1416+
"target": "smithy.api#Unit",
1417+
"traits": {
1418+
"smithy.api#enumValue": "xls"
1419+
}
1420+
},
1421+
"XLSX": {
1422+
"target": "smithy.api#Unit",
1423+
"traits": {
1424+
"smithy.api#enumValue": "xlsx"
1425+
}
1426+
},
1427+
"HTML": {
1428+
"target": "smithy.api#Unit",
1429+
"traits": {
1430+
"smithy.api#enumValue": "html"
1431+
}
1432+
},
1433+
"TXT": {
1434+
"target": "smithy.api#Unit",
1435+
"traits": {
1436+
"smithy.api#enumValue": "txt"
1437+
}
1438+
},
1439+
"MD": {
1440+
"target": "smithy.api#Unit",
1441+
"traits": {
1442+
"smithy.api#enumValue": "md"
1443+
}
1444+
}
1445+
}
1446+
},
1447+
"com.amazonaws.bedrockruntime#DocumentSource": {
1448+
"type": "union",
1449+
"members": {
1450+
"bytes": {
1451+
"target": "smithy.api#Blob",
1452+
"traits": {
1453+
"smithy.api#documentation": "<p>A base64-encoded string of a UTF-8 encoded file, that is the document to include in the message.</p>",
1454+
"smithy.api#length": {
1455+
"min": 1
1456+
}
1457+
}
1458+
}
1459+
},
1460+
"traits": {
1461+
"smithy.api#documentation": "<p>Contains the content of the document included in a message when sending a <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html\">Converse</a> or <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ConverseStream.html\">ConverseStream</a> request or in the response.</p>"
1462+
}
1463+
},
13491464
"com.amazonaws.bedrockruntime#GuardrailAssessment": {
13501465
"type": "structure",
13511466
"members": {
@@ -3153,6 +3268,12 @@
31533268
"traits": {
31543269
"smithy.api#documentation": "<p>A tool result that is an image.</p>\n <note>\n <p>This field is only supported by Anthropic Claude 3 models.</p>\n </note>"
31553270
}
3271+
},
3272+
"document": {
3273+
"target": "com.amazonaws.bedrockruntime#DocumentBlock",
3274+
"traits": {
3275+
"smithy.api#documentation": "<p>A tool result that is a document.</p>"
3276+
}
31563277
}
31573278
},
31583279
"traits": {

codegen/sdk/aws-models/codeartifact.json

Lines changed: 33 additions & 27 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)