|
1068 | 1068 | "smithy.api#documentation": "<p>A summary of an asynchronous invocation.</p>" |
1069 | 1069 | } |
1070 | 1070 | }, |
| 1071 | + "com.amazonaws.bedrockruntime#AudioBlock": { |
| 1072 | + "type": "structure", |
| 1073 | + "members": { |
| 1074 | + "format": { |
| 1075 | + "target": "com.amazonaws.bedrockruntime#AudioFormat", |
| 1076 | + "traits": { |
| 1077 | + "smithy.api#documentation": "<p>The format of the audio data, such as MP3, WAV, FLAC, or other supported audio formats.</p>", |
| 1078 | + "smithy.api#required": {} |
| 1079 | + } |
| 1080 | + }, |
| 1081 | + "source": { |
| 1082 | + "target": "com.amazonaws.bedrockruntime#AudioSource", |
| 1083 | + "traits": { |
| 1084 | + "smithy.api#documentation": "<p>The source of the audio data, which can be provided as raw bytes or an S3 location.</p>", |
| 1085 | + "smithy.api#required": {} |
| 1086 | + } |
| 1087 | + }, |
| 1088 | + "error": { |
| 1089 | + "target": "com.amazonaws.bedrockruntime#ErrorBlock", |
| 1090 | + "traits": { |
| 1091 | + "smithy.api#documentation": "<p>Error information if the audio block could not be processed or contains invalid data.</p>" |
| 1092 | + } |
| 1093 | + } |
| 1094 | + }, |
| 1095 | + "traits": { |
| 1096 | + "smithy.api#documentation": "<p>An audio content block that contains audio data in various supported formats.</p>" |
| 1097 | + } |
| 1098 | + }, |
| 1099 | + "com.amazonaws.bedrockruntime#AudioFormat": { |
| 1100 | + "type": "enum", |
| 1101 | + "members": { |
| 1102 | + "MP3": { |
| 1103 | + "target": "smithy.api#Unit", |
| 1104 | + "traits": { |
| 1105 | + "smithy.api#enumValue": "mp3" |
| 1106 | + } |
| 1107 | + }, |
| 1108 | + "OPUS": { |
| 1109 | + "target": "smithy.api#Unit", |
| 1110 | + "traits": { |
| 1111 | + "smithy.api#enumValue": "opus" |
| 1112 | + } |
| 1113 | + }, |
| 1114 | + "WAV": { |
| 1115 | + "target": "smithy.api#Unit", |
| 1116 | + "traits": { |
| 1117 | + "smithy.api#enumValue": "wav" |
| 1118 | + } |
| 1119 | + }, |
| 1120 | + "AAC": { |
| 1121 | + "target": "smithy.api#Unit", |
| 1122 | + "traits": { |
| 1123 | + "smithy.api#enumValue": "aac" |
| 1124 | + } |
| 1125 | + }, |
| 1126 | + "FLAC": { |
| 1127 | + "target": "smithy.api#Unit", |
| 1128 | + "traits": { |
| 1129 | + "smithy.api#enumValue": "flac" |
| 1130 | + } |
| 1131 | + }, |
| 1132 | + "MP4": { |
| 1133 | + "target": "smithy.api#Unit", |
| 1134 | + "traits": { |
| 1135 | + "smithy.api#enumValue": "mp4" |
| 1136 | + } |
| 1137 | + }, |
| 1138 | + "OGG": { |
| 1139 | + "target": "smithy.api#Unit", |
| 1140 | + "traits": { |
| 1141 | + "smithy.api#enumValue": "ogg" |
| 1142 | + } |
| 1143 | + }, |
| 1144 | + "MKV": { |
| 1145 | + "target": "smithy.api#Unit", |
| 1146 | + "traits": { |
| 1147 | + "smithy.api#enumValue": "mkv" |
| 1148 | + } |
| 1149 | + }, |
| 1150 | + "MKA": { |
| 1151 | + "target": "smithy.api#Unit", |
| 1152 | + "traits": { |
| 1153 | + "smithy.api#enumValue": "mka" |
| 1154 | + } |
| 1155 | + }, |
| 1156 | + "X_AAC": { |
| 1157 | + "target": "smithy.api#Unit", |
| 1158 | + "traits": { |
| 1159 | + "smithy.api#enumValue": "x-aac" |
| 1160 | + } |
| 1161 | + }, |
| 1162 | + "M4A": { |
| 1163 | + "target": "smithy.api#Unit", |
| 1164 | + "traits": { |
| 1165 | + "smithy.api#enumValue": "m4a" |
| 1166 | + } |
| 1167 | + }, |
| 1168 | + "MPEG": { |
| 1169 | + "target": "smithy.api#Unit", |
| 1170 | + "traits": { |
| 1171 | + "smithy.api#enumValue": "mpeg" |
| 1172 | + } |
| 1173 | + }, |
| 1174 | + "MPGA": { |
| 1175 | + "target": "smithy.api#Unit", |
| 1176 | + "traits": { |
| 1177 | + "smithy.api#enumValue": "mpga" |
| 1178 | + } |
| 1179 | + }, |
| 1180 | + "PCM": { |
| 1181 | + "target": "smithy.api#Unit", |
| 1182 | + "traits": { |
| 1183 | + "smithy.api#enumValue": "pcm" |
| 1184 | + } |
| 1185 | + }, |
| 1186 | + "WEBM": { |
| 1187 | + "target": "smithy.api#Unit", |
| 1188 | + "traits": { |
| 1189 | + "smithy.api#enumValue": "webm" |
| 1190 | + } |
| 1191 | + } |
| 1192 | + } |
| 1193 | + }, |
| 1194 | + "com.amazonaws.bedrockruntime#AudioSource": { |
| 1195 | + "type": "union", |
| 1196 | + "members": { |
| 1197 | + "bytes": { |
| 1198 | + "target": "smithy.api#Blob", |
| 1199 | + "traits": { |
| 1200 | + "smithy.api#documentation": "<p>Audio data encoded in base64.</p>", |
| 1201 | + "smithy.api#length": { |
| 1202 | + "min": 1 |
| 1203 | + } |
| 1204 | + } |
| 1205 | + }, |
| 1206 | + "s3Location": { |
| 1207 | + "target": "com.amazonaws.bedrockruntime#S3Location", |
| 1208 | + "traits": { |
| 1209 | + "smithy.api#documentation": "<p>A reference to audio data stored in an Amazon S3 bucket. To see which models support S3 uploads, see <a href=\"https://docs.aws.amazon.com/bedrock/latest/userguide/conversation-inference-supported-models-features.html\">Supported models and features for Converse</a>.</p>" |
| 1210 | + } |
| 1211 | + } |
| 1212 | + }, |
| 1213 | + "traits": { |
| 1214 | + "smithy.api#documentation": "<p>The source of audio data, which can be provided either as raw bytes or a reference to an S3 location.</p>", |
| 1215 | + "smithy.api#sensitive": {} |
| 1216 | + } |
| 1217 | + }, |
1071 | 1218 | "com.amazonaws.bedrockruntime#AutoToolChoice": { |
1072 | 1219 | "type": "structure", |
1073 | 1220 | "members": {}, |
|
1392 | 1539 | "smithy.api#documentation": "<p>Video to include in the message. </p>" |
1393 | 1540 | } |
1394 | 1541 | }, |
| 1542 | + "audio": { |
| 1543 | + "target": "com.amazonaws.bedrockruntime#AudioBlock", |
| 1544 | + "traits": { |
| 1545 | + "smithy.api#documentation": "<p>An audio content block containing audio data in the conversation.</p>" |
| 1546 | + } |
| 1547 | + }, |
1395 | 1548 | "toolUse": { |
1396 | 1549 | "target": "com.amazonaws.bedrockruntime#ToolUseBlock", |
1397 | 1550 | "traits": { |
|
1471 | 1624 | "traits": { |
1472 | 1625 | "smithy.api#documentation": "<p>Incremental citation information that is streamed as part of the response generation process.</p>" |
1473 | 1626 | } |
| 1627 | + }, |
| 1628 | + "image": { |
| 1629 | + "target": "com.amazonaws.bedrockruntime#ImageBlockDelta", |
| 1630 | + "traits": { |
| 1631 | + "smithy.api#documentation": "<p>A streaming delta event containing incremental image data.</p>" |
| 1632 | + } |
1474 | 1633 | } |
1475 | 1634 | }, |
1476 | 1635 | "traits": { |
|
1513 | 1672 | "traits": { |
1514 | 1673 | "smithy.api#documentation": "<p>The </p>" |
1515 | 1674 | } |
| 1675 | + }, |
| 1676 | + "image": { |
| 1677 | + "target": "com.amazonaws.bedrockruntime#ImageBlockStart", |
| 1678 | + "traits": { |
| 1679 | + "smithy.api#documentation": "<p>The initial event indicating the start of a streaming image block.</p>" |
| 1680 | + } |
1516 | 1681 | } |
1517 | 1682 | }, |
1518 | 1683 | "traits": { |
|
2518 | 2683 | "smithy.api#documentation": "<p>Contains the content of a document.</p>" |
2519 | 2684 | } |
2520 | 2685 | }, |
| 2686 | + "com.amazonaws.bedrockruntime#ErrorBlock": { |
| 2687 | + "type": "structure", |
| 2688 | + "members": { |
| 2689 | + "message": { |
| 2690 | + "target": "smithy.api#String", |
| 2691 | + "traits": { |
| 2692 | + "smithy.api#documentation": "<p>A human-readable error message describing what went wrong during content processing.</p>" |
| 2693 | + } |
| 2694 | + } |
| 2695 | + }, |
| 2696 | + "traits": { |
| 2697 | + "smithy.api#documentation": "<p>A block containing error information when content processing fails.</p>", |
| 2698 | + "smithy.api#sensitive": {} |
| 2699 | + } |
| 2700 | + }, |
2521 | 2701 | "com.amazonaws.bedrockruntime#FoundationModelVersionIdentifier": { |
2522 | 2702 | "type": "string", |
2523 | 2703 | "traits": { |
|
4763 | 4943 | "smithy.api#documentation": "<p>The source for the image.</p>", |
4764 | 4944 | "smithy.api#required": {} |
4765 | 4945 | } |
| 4946 | + }, |
| 4947 | + "error": { |
| 4948 | + "target": "com.amazonaws.bedrockruntime#ErrorBlock", |
| 4949 | + "traits": { |
| 4950 | + "smithy.api#documentation": "<p>Error information if the image block could not be processed or contains invalid data.</p>" |
| 4951 | + } |
4766 | 4952 | } |
4767 | 4953 | }, |
4768 | 4954 | "traits": { |
4769 | 4955 | "smithy.api#documentation": "<p>Image content for a message.</p>" |
4770 | 4956 | } |
4771 | 4957 | }, |
| 4958 | + "com.amazonaws.bedrockruntime#ImageBlockDelta": { |
| 4959 | + "type": "structure", |
| 4960 | + "members": { |
| 4961 | + "source": { |
| 4962 | + "target": "com.amazonaws.bedrockruntime#ImageSource", |
| 4963 | + "traits": { |
| 4964 | + "smithy.api#documentation": "<p>The incremental image source data for this delta event.</p>" |
| 4965 | + } |
| 4966 | + }, |
| 4967 | + "error": { |
| 4968 | + "target": "com.amazonaws.bedrockruntime#ErrorBlock", |
| 4969 | + "traits": { |
| 4970 | + "smithy.api#documentation": "<p>Error information if this image delta could not be processed.</p>" |
| 4971 | + } |
| 4972 | + } |
| 4973 | + }, |
| 4974 | + "traits": { |
| 4975 | + "smithy.api#documentation": "<p>A streaming delta event that contains incremental image data during streaming responses.</p>" |
| 4976 | + } |
| 4977 | + }, |
| 4978 | + "com.amazonaws.bedrockruntime#ImageBlockStart": { |
| 4979 | + "type": "structure", |
| 4980 | + "members": { |
| 4981 | + "format": { |
| 4982 | + "target": "com.amazonaws.bedrockruntime#ImageFormat", |
| 4983 | + "traits": { |
| 4984 | + "smithy.api#documentation": "<p>The format of the image data that will be streamed in subsequent delta events.</p>", |
| 4985 | + "smithy.api#required": {} |
| 4986 | + } |
| 4987 | + } |
| 4988 | + }, |
| 4989 | + "traits": { |
| 4990 | + "smithy.api#documentation": "<p>The initial event in a streaming image block that indicates the start of image content.</p>" |
| 4991 | + } |
| 4992 | + }, |
4772 | 4993 | "com.amazonaws.bedrockruntime#ImageFormat": { |
4773 | 4994 | "type": "enum", |
4774 | 4995 | "members": { |
|
4818 | 5039 | } |
4819 | 5040 | }, |
4820 | 5041 | "traits": { |
4821 | | - "smithy.api#documentation": "<p>The source for an image.</p>" |
| 5042 | + "smithy.api#documentation": "<p>The source for an image.</p>", |
| 5043 | + "smithy.api#sensitive": {} |
4822 | 5044 | } |
4823 | 5045 | }, |
4824 | 5046 | "com.amazonaws.bedrockruntime#ImagesGuarded": { |
|
6402 | 6624 | "smithy.api#enumValue": "content_filtered" |
6403 | 6625 | } |
6404 | 6626 | }, |
| 6627 | + "MALFORMED_MODEL_OUTPUT": { |
| 6628 | + "target": "smithy.api#Unit", |
| 6629 | + "traits": { |
| 6630 | + "smithy.api#enumValue": "malformed_model_output" |
| 6631 | + } |
| 6632 | + }, |
| 6633 | + "MALFORMED_TOOL_USE": { |
| 6634 | + "target": "smithy.api#Unit", |
| 6635 | + "traits": { |
| 6636 | + "smithy.api#enumValue": "malformed_tool_use" |
| 6637 | + } |
| 6638 | + }, |
6405 | 6639 | "MODEL_CONTEXT_WINDOW_EXCEEDED": { |
6406 | 6640 | "target": "smithy.api#Unit", |
6407 | 6641 | "traits": { |
|
6742 | 6976 | "traits": { |
6743 | 6977 | "smithy.api#documentation": "<p>The reasoning the model used to return the output.</p>" |
6744 | 6978 | } |
| 6979 | + }, |
| 6980 | + "json": { |
| 6981 | + "target": "smithy.api#Document", |
| 6982 | + "traits": { |
| 6983 | + "smithy.api#documentation": "<p>The JSON schema for the tool result content block. see <a href=\"https://json-schema.org/understanding-json-schema/reference\">JSON Schema Reference</a>.</p>" |
| 6984 | + } |
6745 | 6985 | } |
6746 | 6986 | }, |
6747 | 6987 | "traits": { |
|
0 commit comments