Skip to content

Commit bc9d3a8

Browse files
feat: update AWS API models
1 parent f815afb commit bc9d3a8

21 files changed

+40535
-2848
lines changed

codegen/sdk/aws-models/appintegrations.json

Lines changed: 74 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -912,7 +912,7 @@
912912
"traits": {
913913
"smithy.api#length": {
914914
"min": 1,
915-
"max": 32
915+
"max": 211
916916
},
917917
"smithy.api#pattern": "^[a-zA-Z0-9\\/\\._\\-]+$"
918918
}
@@ -974,8 +974,18 @@
974974
"target": "com.amazonaws.appintegrations#Boolean",
975975
"traits": {
976976
"smithy.api#default": false,
977+
"smithy.api#deprecated": {
978+
"since": "2025-12-01",
979+
"message": "IsService has been deprecated in favor of ApplicationType"
980+
},
977981
"smithy.api#documentation": "<p>Indicates whether the application is a service.</p>"
978982
}
983+
},
984+
"ApplicationType": {
985+
"target": "com.amazonaws.appintegrations#ApplicationType",
986+
"traits": {
987+
"smithy.api#documentation": "<p>The type of application.</p>"
988+
}
979989
}
980990
},
981991
"traits": {
@@ -992,6 +1002,32 @@
9921002
"smithy.api#pattern": "^\\w+\\:\\/\\/.*$"
9931003
}
9941004
},
1005+
"com.amazonaws.appintegrations#ApplicationType": {
1006+
"type": "enum",
1007+
"members": {
1008+
"STANDARD": {
1009+
"target": "smithy.api#Unit",
1010+
"traits": {
1011+
"smithy.api#enumValue": "STANDARD"
1012+
}
1013+
},
1014+
"SERVICE": {
1015+
"target": "smithy.api#Unit",
1016+
"traits": {
1017+
"smithy.api#enumValue": "SERVICE"
1018+
}
1019+
},
1020+
"MCP_SERVER": {
1021+
"target": "smithy.api#Unit",
1022+
"traits": {
1023+
"smithy.api#enumValue": "MCP_SERVER"
1024+
}
1025+
}
1026+
},
1027+
"traits": {
1028+
"smithy.api#documentation": "<value>The type of application</value>"
1029+
}
1030+
},
9951031
"com.amazonaws.appintegrations#ApplicationsList": {
9961032
"type": "list",
9971033
"member": {
@@ -1211,6 +1247,10 @@
12111247
"target": "com.amazonaws.appintegrations#Boolean",
12121248
"traits": {
12131249
"smithy.api#default": false,
1250+
"smithy.api#deprecated": {
1251+
"since": "2025-12-01",
1252+
"message": "IsService has been deprecated in favor of ApplicationType"
1253+
},
12141254
"smithy.api#documentation": "<p>Indicates whether the application is a service.</p>"
12151255
}
12161256
},
@@ -1231,6 +1271,12 @@
12311271
"traits": {
12321272
"smithy.api#documentation": "<p>The iframe configuration for the application.</p>"
12331273
}
1274+
},
1275+
"ApplicationType": {
1276+
"target": "com.amazonaws.appintegrations#ApplicationType",
1277+
"traits": {
1278+
"smithy.api#documentation": "<p>The type of application.</p>"
1279+
}
12341280
}
12351281
},
12361282
"traits": {
@@ -2411,6 +2457,10 @@
24112457
"target": "com.amazonaws.appintegrations#Boolean",
24122458
"traits": {
24132459
"smithy.api#default": false,
2460+
"smithy.api#deprecated": {
2461+
"since": "2025-12-01",
2462+
"message": "IsService has been deprecated in favor of ApplicationType"
2463+
},
24142464
"smithy.api#documentation": "<p>Indicates whether the application is a service.</p>"
24152465
}
24162466
},
@@ -2431,6 +2481,12 @@
24312481
"traits": {
24322482
"smithy.api#documentation": "<p>The iframe configuration for the application.</p>"
24332483
}
2484+
},
2485+
"ApplicationType": {
2486+
"target": "com.amazonaws.appintegrations#ApplicationType",
2487+
"traits": {
2488+
"smithy.api#documentation": "<p>The type of application.</p>"
2489+
}
24342490
}
24352491
},
24362492
"traits": {
@@ -2950,6 +3006,13 @@
29503006
"smithy.api#documentation": "<p>The maximum number of results to return per page.</p>",
29513007
"smithy.api#httpQuery": "maxResults"
29523008
}
3009+
},
3010+
"ApplicationType": {
3011+
"target": "com.amazonaws.appintegrations#ApplicationType",
3012+
"traits": {
3013+
"smithy.api#documentation": "<p>The type of application.</p>",
3014+
"smithy.api#httpQuery": "applicationType"
3015+
}
29533016
}
29543017
},
29553018
"traits": {
@@ -3958,6 +4021,10 @@
39584021
"target": "com.amazonaws.appintegrations#Boolean",
39594022
"traits": {
39604023
"smithy.api#default": null,
4024+
"smithy.api#deprecated": {
4025+
"since": "2025-12-01",
4026+
"message": "IsService has been deprecated in favor of ApplicationType"
4027+
},
39614028
"smithy.api#documentation": "<p>Indicates whether the application is a service.</p>"
39624029
}
39634030
},
@@ -3978,6 +4045,12 @@
39784045
"traits": {
39794046
"smithy.api#documentation": "<p>The iframe configuration for the application.</p>"
39804047
}
4048+
},
4049+
"ApplicationType": {
4050+
"target": "com.amazonaws.appintegrations#ApplicationType",
4051+
"traits": {
4052+
"smithy.api#documentation": "<p>The type of application.</p>"
4053+
}
39814054
}
39824055
},
39834056
"traits": {

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

Lines changed: 164 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1400,6 +1400,30 @@
14001400
"smithy.api#documentation": "<p>Contains citations for a part of an agent response.</p>"
14011401
}
14021402
},
1403+
"com.amazonaws.bedrockagentruntime#AudioSegment": {
1404+
"type": "structure",
1405+
"members": {
1406+
"s3Uri": {
1407+
"target": "smithy.api#String",
1408+
"traits": {
1409+
"smithy.api#documentation": "<p>The S3 URI where this specific audio segment is stored in the multimodal storage destination.</p>",
1410+
"smithy.api#length": {
1411+
"min": 1
1412+
},
1413+
"smithy.api#required": {}
1414+
}
1415+
},
1416+
"transcription": {
1417+
"target": "smithy.api#String",
1418+
"traits": {
1419+
"smithy.api#documentation": "<p>The text transcription of the audio segment content.</p>"
1420+
}
1421+
}
1422+
},
1423+
"traits": {
1424+
"smithy.api#documentation": "<p>Contains information about an audio segment retrieved from a knowledge base, including its location and transcription.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax\">Retrieve response</a> – in the <code>audio</code> field</p> </li> </ul>"
1425+
}
1426+
},
14031427
"com.amazonaws.bedrockagentruntime#BadGatewayException": {
14041428
"type": "structure",
14051429
"members": {
@@ -6569,6 +6593,61 @@
65696593
"target": "com.amazonaws.bedrockagentruntime#InputFile"
65706594
}
65716595
},
6596+
"com.amazonaws.bedrockagentruntime#InputImage": {
6597+
"type": "structure",
6598+
"members": {
6599+
"format": {
6600+
"target": "com.amazonaws.bedrockagentruntime#InputImageFormat",
6601+
"traits": {
6602+
"smithy.api#documentation": "<p>The format of the input image. Supported formats include png, gif, jpeg, and webp.</p>",
6603+
"smithy.api#required": {}
6604+
}
6605+
},
6606+
"inlineContent": {
6607+
"target": "com.amazonaws.bedrockagentruntime#ByteContentBlob",
6608+
"traits": {
6609+
"smithy.api#documentation": "<p>The base64-encoded image data for inline image content. Maximum size is 5MB.</p>",
6610+
"smithy.api#length": {
6611+
"min": 1,
6612+
"max": 5242880
6613+
},
6614+
"smithy.api#required": {}
6615+
}
6616+
}
6617+
},
6618+
"traits": {
6619+
"smithy.api#documentation": "<p>Contains the image data for multimodal knowledge base queries, including format and content.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_RequestSyntax\">Retrieve request</a> – in the <code>image</code> field</p> </li> </ul>"
6620+
}
6621+
},
6622+
"com.amazonaws.bedrockagentruntime#InputImageFormat": {
6623+
"type": "enum",
6624+
"members": {
6625+
"png": {
6626+
"target": "smithy.api#Unit",
6627+
"traits": {
6628+
"smithy.api#enumValue": "png"
6629+
}
6630+
},
6631+
"jpeg": {
6632+
"target": "smithy.api#Unit",
6633+
"traits": {
6634+
"smithy.api#enumValue": "jpeg"
6635+
}
6636+
},
6637+
"gif": {
6638+
"target": "smithy.api#Unit",
6639+
"traits": {
6640+
"smithy.api#enumValue": "gif"
6641+
}
6642+
},
6643+
"webp": {
6644+
"target": "smithy.api#Unit",
6645+
"traits": {
6646+
"smithy.api#enumValue": "webp"
6647+
}
6648+
}
6649+
}
6650+
},
65726651
"com.amazonaws.bedrockagentruntime#InputPrompt": {
65736652
"type": "union",
65746653
"members": {
@@ -7605,14 +7684,28 @@
76057684
"com.amazonaws.bedrockagentruntime#KnowledgeBaseQuery": {
76067685
"type": "structure",
76077686
"members": {
7687+
"type": {
7688+
"target": "com.amazonaws.bedrockagentruntime#KnowledgeBaseQueryType",
7689+
"traits": {
7690+
"smithy.api#default": "TEXT",
7691+
"smithy.api#documentation": "<p>The type of query being performed.</p>"
7692+
}
7693+
},
76087694
"text": {
76097695
"target": "smithy.api#String",
76107696
"traits": {
7697+
"smithy.api#addedDefault": {},
7698+
"smithy.api#default": "",
76117699
"smithy.api#documentation": "<p>The text of the query made to the knowledge base.</p>",
76127700
"smithy.api#length": {
7613-
"max": 1000
7614-
},
7615-
"smithy.api#required": {}
7701+
"max": 20000
7702+
}
7703+
}
7704+
},
7705+
"image": {
7706+
"target": "com.amazonaws.bedrockagentruntime#InputImage",
7707+
"traits": {
7708+
"smithy.api#documentation": "<p>An image to include in the knowledge base query for multimodal retrieval.</p>"
76167709
}
76177710
}
76187711
},
@@ -7621,6 +7714,23 @@
76217714
"smithy.api#sensitive": {}
76227715
}
76237716
},
7717+
"com.amazonaws.bedrockagentruntime#KnowledgeBaseQueryType": {
7718+
"type": "enum",
7719+
"members": {
7720+
"TEXT": {
7721+
"target": "smithy.api#Unit",
7722+
"traits": {
7723+
"smithy.api#enumValue": "TEXT"
7724+
}
7725+
},
7726+
"IMAGE": {
7727+
"target": "smithy.api#Unit",
7728+
"traits": {
7729+
"smithy.api#enumValue": "IMAGE"
7730+
}
7731+
}
7732+
}
7733+
},
76247734
"com.amazonaws.bedrockagentruntime#KnowledgeBaseRetrievalConfiguration": {
76257735
"type": "structure",
76267736
"members": {
@@ -10152,7 +10262,7 @@
1015210262
"textPromptTemplate": {
1015310263
"target": "com.amazonaws.bedrockagentruntime#TextPromptTemplate",
1015410264
"traits": {
10155-
"smithy.api#documentation": "<p>The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template.</p> <p>For more information, see the following resources:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html#kb-test-config-sysprompt\">Knowledge base prompt templates</a> </p> </li> <li> <p> <a href=\"https://docs.anthropic.com/claude/docs/use-xml-tags\">Use XML tags with Anthropic Claude models</a> </p> </li> </ul>"
10265+
"smithy.api#documentation": "<p>The template for the prompt that's sent to the model for response generation. You can include prompt placeholders, which become replaced before the prompt is sent to the model to provide instructions and context to the model. In addition, you can include XML tags to delineate meaningful sections of the prompt template.</p> <p>For more information, see the following resources:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/kb-test-config.html#kb-test-config-sysprompt\">Knowledge base prompt templates</a> </p> </li> <li> <p> <a href=\"https://docs.claude.com/en/docs/build-with-claude/prompt-engineering/use-xml-tags\">Use XML tags with Anthropic Claude models</a> </p> </li> </ul>"
1015610266
}
1015710267
}
1015810268
},
@@ -10763,7 +10873,7 @@
1076310873
"index": {
1076410874
"target": "smithy.api#Integer",
1076510875
"traits": {
10766-
"smithy.api#documentation": "<p>The ranking of the document. The lower a number, the higher the document is ranked.</p>",
10876+
"smithy.api#documentation": "<p>The original index of the document from the input sources array.</p>",
1076710877
"smithy.api#range": {
1076810878
"min": 0,
1076910879
"max": 1000
@@ -11216,6 +11326,18 @@
1121611326
"smithy.api#documentation": "<p>A data URI with base64-encoded content from the data source. The URI is in the following format: returned in the following format: <code>data:image/jpeg;base64,${base64-encoded string}</code>.</p>"
1121711327
}
1121811328
},
11329+
"video": {
11330+
"target": "com.amazonaws.bedrockagentruntime#VideoSegment",
11331+
"traits": {
11332+
"smithy.api#documentation": "<p>Video segment information when the retrieval result contains video content.</p>"
11333+
}
11334+
},
11335+
"audio": {
11336+
"target": "com.amazonaws.bedrockagentruntime#AudioSegment",
11337+
"traits": {
11338+
"smithy.api#documentation": "<p>Audio segment information when the retrieval result contains audio content.</p>"
11339+
}
11340+
},
1121911341
"row": {
1122011342
"target": "com.amazonaws.bedrockagentruntime#RetrievalResultContentRow",
1122111343
"traits": {
@@ -11325,6 +11447,18 @@
1132511447
"traits": {
1132611448
"smithy.api#enumValue": "ROW"
1132711449
}
11450+
},
11451+
"AUDIO": {
11452+
"target": "smithy.api#Unit",
11453+
"traits": {
11454+
"smithy.api#enumValue": "AUDIO"
11455+
}
11456+
},
11457+
"VIDEO": {
11458+
"target": "smithy.api#Unit",
11459+
"traits": {
11460+
"smithy.api#enumValue": "VIDEO"
11461+
}
1132811462
}
1132911463
}
1133011464
},
@@ -11701,7 +11835,7 @@
1170111835
"text": {
1170211836
"target": "smithy.api#String",
1170311837
"traits": {
11704-
"smithy.api#documentation": "<p>The query made to the knowledge base.</p>",
11838+
"smithy.api#documentation": "<p>The query made to the knowledge base, in characters.</p>",
1170511839
"smithy.api#length": {
1170611840
"max": 1000
1170711841
},
@@ -13768,6 +13902,30 @@
1376813902
},
1376913903
"smithy.api#pattern": "^(DRAFT|[0-9]{0,4}[1-9][0-9]{0,4})$"
1377013904
}
13905+
},
13906+
"com.amazonaws.bedrockagentruntime#VideoSegment": {
13907+
"type": "structure",
13908+
"members": {
13909+
"s3Uri": {
13910+
"target": "smithy.api#String",
13911+
"traits": {
13912+
"smithy.api#documentation": "<p>The S3 URI where this specific video segment is stored in the multimodal storage destination.</p>",
13913+
"smithy.api#length": {
13914+
"min": 1
13915+
},
13916+
"smithy.api#required": {}
13917+
}
13918+
},
13919+
"summary": {
13920+
"target": "smithy.api#String",
13921+
"traits": {
13922+
"smithy.api#documentation": "<p>A text summary describing the content of the video segment.</p>"
13923+
}
13924+
}
13925+
},
13926+
"traits": {
13927+
"smithy.api#documentation": "<p>Contains information about a video segment retrieved from a knowledge base, including its location and summary.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Retrieve.html#API_agent-runtime_Retrieve_ResponseSyntax\">Retrieve response</a> – in the <code>video</code> field</p> </li> </ul>"
13928+
}
1377113929
}
1377213930
}
1377313931
}

0 commit comments

Comments
 (0)