|
1270 | 1270 | "smithy.api#sensitive": {} |
1271 | 1271 | } |
1272 | 1272 | }, |
| 1273 | + "com.amazonaws.bedrockruntime#CacheDetail": { |
| 1274 | + "type": "structure", |
| 1275 | + "members": { |
| 1276 | + "ttl": { |
| 1277 | + "target": "com.amazonaws.bedrockruntime#CacheTTL", |
| 1278 | + "traits": { |
| 1279 | + "smithy.api#documentation": "<p>TTL duration for these cached tokens</p>", |
| 1280 | + "smithy.api#required": {} |
| 1281 | + } |
| 1282 | + }, |
| 1283 | + "inputTokens": { |
| 1284 | + "target": "smithy.api#Integer", |
| 1285 | + "traits": { |
| 1286 | + "smithy.api#documentation": "<p>Number of tokens written to cache with this TTL (cache creation tokens)</p>", |
| 1287 | + "smithy.api#range": { |
| 1288 | + "min": 0 |
| 1289 | + }, |
| 1290 | + "smithy.api#required": {} |
| 1291 | + } |
| 1292 | + } |
| 1293 | + }, |
| 1294 | + "traits": { |
| 1295 | + "smithy.api#documentation": "<p>Cache creation metrics for a specific TTL duration</p>" |
| 1296 | + } |
| 1297 | + }, |
| 1298 | + "com.amazonaws.bedrockruntime#CacheDetailsList": { |
| 1299 | + "type": "list", |
| 1300 | + "member": { |
| 1301 | + "target": "com.amazonaws.bedrockruntime#CacheDetail" |
| 1302 | + }, |
| 1303 | + "traits": { |
| 1304 | + "smithy.api#documentation": "<p>List of cache details by TTL</p>" |
| 1305 | + } |
| 1306 | + }, |
1273 | 1307 | "com.amazonaws.bedrockruntime#CachePointBlock": { |
1274 | 1308 | "type": "structure", |
1275 | 1309 | "members": { |
|
1279 | 1313 | "smithy.api#documentation": "<p>Specifies the type of cache point within the CachePointBlock.</p>", |
1280 | 1314 | "smithy.api#required": {} |
1281 | 1315 | } |
| 1316 | + }, |
| 1317 | + "ttl": { |
| 1318 | + "target": "com.amazonaws.bedrockruntime#CacheTTL", |
| 1319 | + "traits": { |
| 1320 | + "smithy.api#documentation": "<p>Optional TTL duration for cache entries. When specified, enables extended TTL caching with the specified duration. When omitted, uses <code>type</code> value for caching behavior.</p>" |
| 1321 | + } |
1282 | 1322 | } |
1283 | 1323 | }, |
1284 | 1324 | "traits": { |
|
1296 | 1336 | } |
1297 | 1337 | } |
1298 | 1338 | }, |
| 1339 | + "com.amazonaws.bedrockruntime#CacheTTL": { |
| 1340 | + "type": "enum", |
| 1341 | + "members": { |
| 1342 | + "FIVE_MINUTES": { |
| 1343 | + "target": "smithy.api#Unit", |
| 1344 | + "traits": { |
| 1345 | + "smithy.api#enumValue": "5m" |
| 1346 | + } |
| 1347 | + }, |
| 1348 | + "ONE_HOUR": { |
| 1349 | + "target": "smithy.api#Unit", |
| 1350 | + "traits": { |
| 1351 | + "smithy.api#enumValue": "1h" |
| 1352 | + } |
| 1353 | + } |
| 1354 | + }, |
| 1355 | + "traits": { |
| 1356 | + "smithy.api#documentation": "<p>Time-to-live duration for ephemeral cache entries</p>" |
| 1357 | + } |
| 1358 | + }, |
1299 | 1359 | "com.amazonaws.bedrockruntime#Citation": { |
1300 | 1360 | "type": "structure", |
1301 | 1361 | "members": { |
|
1908 | 1968 | "traits": { |
1909 | 1969 | "smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>" |
1910 | 1970 | } |
| 1971 | + }, |
| 1972 | + "outputConfig": { |
| 1973 | + "target": "com.amazonaws.bedrockruntime#OutputConfig", |
| 1974 | + "traits": { |
| 1975 | + "smithy.api#documentation": "<p>Output configuration for a model response.</p>" |
| 1976 | + } |
1911 | 1977 | } |
1912 | 1978 | }, |
1913 | 1979 | "traits": { |
|
2229 | 2295 | "traits": { |
2230 | 2296 | "smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>" |
2231 | 2297 | } |
| 2298 | + }, |
| 2299 | + "outputConfig": { |
| 2300 | + "target": "com.amazonaws.bedrockruntime#OutputConfig", |
| 2301 | + "traits": { |
| 2302 | + "smithy.api#documentation": "<p>Output configuration for a model response.</p>" |
| 2303 | + } |
2232 | 2304 | } |
2233 | 2305 | }, |
2234 | 2306 | "traits": { |
|
5650 | 5722 | "smithy.api#pattern": "^(arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([a-z0-9-]{1,63}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2})|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$" |
5651 | 5723 | } |
5652 | 5724 | }, |
| 5725 | + "com.amazonaws.bedrockruntime#JsonSchemaDefinition": { |
| 5726 | + "type": "structure", |
| 5727 | + "members": { |
| 5728 | + "schema": { |
| 5729 | + "target": "smithy.api#String", |
| 5730 | + "traits": { |
| 5731 | + "smithy.api#documentation": "<p> The JSON schema to constrain the model's output. For more information, see <a href=\"https://json-schema.org/understanding-json-schema/reference\">JSON Schema Reference</a>. </p>", |
| 5732 | + "smithy.api#required": {} |
| 5733 | + } |
| 5734 | + }, |
| 5735 | + "name": { |
| 5736 | + "target": "smithy.api#String", |
| 5737 | + "traits": { |
| 5738 | + "smithy.api#documentation": "<p> The name of the JSON schema. </p>" |
| 5739 | + } |
| 5740 | + }, |
| 5741 | + "description": { |
| 5742 | + "target": "smithy.api#String", |
| 5743 | + "traits": { |
| 5744 | + "smithy.api#documentation": "<p> A description of the JSON schema. </p>" |
| 5745 | + } |
| 5746 | + } |
| 5747 | + }, |
| 5748 | + "traits": { |
| 5749 | + "smithy.api#documentation": "<p> JSON schema structured output format options. </p>" |
| 5750 | + } |
| 5751 | + }, |
5653 | 5752 | "com.amazonaws.bedrockruntime#KmsKeyId": { |
5654 | 5753 | "type": "string", |
5655 | 5754 | "traits": { |
|
5970 | 6069 | } |
5971 | 6070 | } |
5972 | 6071 | }, |
| 6072 | + "com.amazonaws.bedrockruntime#OutputConfig": { |
| 6073 | + "type": "structure", |
| 6074 | + "members": { |
| 6075 | + "textFormat": { |
| 6076 | + "target": "com.amazonaws.bedrockruntime#OutputFormat", |
| 6077 | + "traits": { |
| 6078 | + "smithy.api#documentation": "<p>Structured output parameters to control the model's text response. </p>" |
| 6079 | + } |
| 6080 | + } |
| 6081 | + }, |
| 6082 | + "traits": { |
| 6083 | + "smithy.api#documentation": "<p>Output configuration for a model response in a call to <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>.</p>" |
| 6084 | + } |
| 6085 | + }, |
| 6086 | + "com.amazonaws.bedrockruntime#OutputFormat": { |
| 6087 | + "type": "structure", |
| 6088 | + "members": { |
| 6089 | + "type": { |
| 6090 | + "target": "com.amazonaws.bedrockruntime#OutputFormatType", |
| 6091 | + "traits": { |
| 6092 | + "smithy.api#documentation": "<p> The type of structured output format. </p>", |
| 6093 | + "smithy.api#required": {} |
| 6094 | + } |
| 6095 | + }, |
| 6096 | + "structure": { |
| 6097 | + "target": "com.amazonaws.bedrockruntime#OutputFormatStructure", |
| 6098 | + "traits": { |
| 6099 | + "smithy.api#documentation": "<p> The structure that the model's output must adhere to. </p>", |
| 6100 | + "smithy.api#required": {} |
| 6101 | + } |
| 6102 | + } |
| 6103 | + }, |
| 6104 | + "traits": { |
| 6105 | + "smithy.api#documentation": "<p> Structured output parameters to control the model's response. </p>" |
| 6106 | + } |
| 6107 | + }, |
| 6108 | + "com.amazonaws.bedrockruntime#OutputFormatStructure": { |
| 6109 | + "type": "union", |
| 6110 | + "members": { |
| 6111 | + "jsonSchema": { |
| 6112 | + "target": "com.amazonaws.bedrockruntime#JsonSchemaDefinition", |
| 6113 | + "traits": { |
| 6114 | + "smithy.api#documentation": "<p> A JSON schema structure that the model's output must adhere to. </p>" |
| 6115 | + } |
| 6116 | + } |
| 6117 | + }, |
| 6118 | + "traits": { |
| 6119 | + "smithy.api#documentation": "<p> The structure that the model's output must adhere to. </p>", |
| 6120 | + "smithy.api#sensitive": {} |
| 6121 | + } |
| 6122 | + }, |
| 6123 | + "com.amazonaws.bedrockruntime#OutputFormatType": { |
| 6124 | + "type": "enum", |
| 6125 | + "members": { |
| 6126 | + "JSON_SCHEMA": { |
| 6127 | + "target": "smithy.api#Unit", |
| 6128 | + "traits": { |
| 6129 | + "smithy.api#enumValue": "json_schema" |
| 6130 | + } |
| 6131 | + } |
| 6132 | + }, |
| 6133 | + "traits": { |
| 6134 | + "smithy.api#documentation": "<p> The type of structured output format. Available options are: json_schema. </p>" |
| 6135 | + } |
| 6136 | + }, |
5973 | 6137 | "com.amazonaws.bedrockruntime#PaginationToken": { |
5974 | 6138 | "type": "string", |
5975 | 6139 | "traits": { |
|
6820 | 6984 | "min": 0 |
6821 | 6985 | } |
6822 | 6986 | } |
| 6987 | + }, |
| 6988 | + "cacheDetails": { |
| 6989 | + "target": "com.amazonaws.bedrockruntime#CacheDetailsList", |
| 6990 | + "traits": { |
| 6991 | + "smithy.api#documentation": "<p>Detailed breakdown of cache writes by TTL. Empty if no cache creation occurred. Sorted by TTL duration (1h before 5m).</p>" |
| 6992 | + } |
6823 | 6993 | } |
6824 | 6994 | }, |
6825 | 6995 | "traits": { |
|
7110 | 7280 | "smithy.api#documentation": "<p>The input schema for the tool in JSON format.</p>", |
7111 | 7281 | "smithy.api#required": {} |
7112 | 7282 | } |
| 7283 | + }, |
| 7284 | + "strict": { |
| 7285 | + "target": "smithy.api#Boolean", |
| 7286 | + "traits": { |
| 7287 | + "smithy.api#documentation": "<p>Flag to enable structured output enforcement on a tool usage response.</p>" |
| 7288 | + } |
7113 | 7289 | } |
7114 | 7290 | }, |
7115 | 7291 | "traits": { |
|
0 commit comments