|
1968 | 1968 | "traits": { |
1969 | 1969 | "smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>" |
1970 | 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 | + } |
1971 | 1977 | } |
1972 | 1978 | }, |
1973 | 1979 | "traits": { |
|
2289 | 2295 | "traits": { |
2290 | 2296 | "smithy.api#documentation": "<p>Specifies the processing tier configuration used for serving the request.</p>" |
2291 | 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 | + } |
2292 | 2304 | } |
2293 | 2305 | }, |
2294 | 2306 | "traits": { |
|
5710 | 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-:.]+)$" |
5711 | 5723 | } |
5712 | 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 | + }, |
5713 | 5752 | "com.amazonaws.bedrockruntime#KmsKeyId": { |
5714 | 5753 | "type": "string", |
5715 | 5754 | "traits": { |
|
6030 | 6069 | } |
6031 | 6070 | } |
6032 | 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 | + }, |
6033 | 6137 | "com.amazonaws.bedrockruntime#PaginationToken": { |
6034 | 6138 | "type": "string", |
6035 | 6139 | "traits": { |
|
7176 | 7280 | "smithy.api#documentation": "<p>The input schema for the tool in JSON format.</p>", |
7177 | 7281 | "smithy.api#required": {} |
7178 | 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 | + } |
7179 | 7289 | } |
7180 | 7290 | }, |
7181 | 7291 | "traits": { |
|
0 commit comments