|
993 | 993 | "smithy.api#pattern": "^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:(([0-9]{12}:custom-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}/[a-z0-9]{12})|(:foundation-model/[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}))$" |
994 | 994 | } |
995 | 995 | }, |
| 996 | + "com.amazonaws.bedrockagentruntime#ByteContentBlob": { |
| 997 | + "type": "blob", |
| 998 | + "traits": { |
| 999 | + "smithy.api#length": { |
| 1000 | + "min": 1, |
| 1001 | + "max": 10485760 |
| 1002 | + }, |
| 1003 | + "smithy.api#sensitive": {} |
| 1004 | + } |
| 1005 | + }, |
| 1006 | + "com.amazonaws.bedrockagentruntime#ByteContentDoc": { |
| 1007 | + "type": "structure", |
| 1008 | + "members": { |
| 1009 | + "identifier": { |
| 1010 | + "target": "com.amazonaws.bedrockagentruntime#Identifier", |
| 1011 | + "traits": { |
| 1012 | + "smithy.api#documentation": "<p>The file name of the document contained in the wrapper object.</p>", |
| 1013 | + "smithy.api#required": {} |
| 1014 | + } |
| 1015 | + }, |
| 1016 | + "contentType": { |
| 1017 | + "target": "com.amazonaws.bedrockagentruntime#ContentType", |
| 1018 | + "traits": { |
| 1019 | + "smithy.api#documentation": "<p>The MIME type of the document contained in the wrapper object.</p>", |
| 1020 | + "smithy.api#required": {} |
| 1021 | + } |
| 1022 | + }, |
| 1023 | + "data": { |
| 1024 | + "target": "com.amazonaws.bedrockagentruntime#ByteContentBlob", |
| 1025 | + "traits": { |
| 1026 | + "smithy.api#documentation": "<p>The byte value of the file to upload, encoded as a Base-64 string.</p>", |
| 1027 | + "smithy.api#required": {} |
| 1028 | + } |
| 1029 | + } |
| 1030 | + }, |
| 1031 | + "traits": { |
| 1032 | + "smithy.api#documentation": "<p>This property contains the document to chat with, along with its attributes.</p>" |
| 1033 | + } |
| 1034 | + }, |
996 | 1035 | "com.amazonaws.bedrockagentruntime#Citation": { |
997 | 1036 | "type": "structure", |
998 | 1037 | "members": { |
|
1055 | 1094 | "target": "com.amazonaws.bedrockagentruntime#Parameters" |
1056 | 1095 | } |
1057 | 1096 | }, |
| 1097 | + "com.amazonaws.bedrockagentruntime#ContentType": { |
| 1098 | + "type": "string", |
| 1099 | + "traits": { |
| 1100 | + "smithy.api#pattern": "[a-z]{1,20}/.{1,20}" |
| 1101 | + } |
| 1102 | + }, |
1058 | 1103 | "com.amazonaws.bedrockagentruntime#CreationMode": { |
1059 | 1104 | "type": "enum", |
1060 | 1105 | "members": { |
|
1091 | 1136 | "smithy.api#httpError": 424 |
1092 | 1137 | } |
1093 | 1138 | }, |
| 1139 | + "com.amazonaws.bedrockagentruntime#ExternalSource": { |
| 1140 | + "type": "structure", |
| 1141 | + "members": { |
| 1142 | + "sourceType": { |
| 1143 | + "target": "com.amazonaws.bedrockagentruntime#ExternalSourceType", |
| 1144 | + "traits": { |
| 1145 | + "smithy.api#documentation": "<p>The source type of the external source wrapper object.</p>", |
| 1146 | + "smithy.api#required": {} |
| 1147 | + } |
| 1148 | + }, |
| 1149 | + "s3Location": { |
| 1150 | + "target": "com.amazonaws.bedrockagentruntime#S3ObjectDoc", |
| 1151 | + "traits": { |
| 1152 | + "smithy.api#documentation": "<p>The S3 location of the external source wrapper object.</p>" |
| 1153 | + } |
| 1154 | + }, |
| 1155 | + "byteContent": { |
| 1156 | + "target": "com.amazonaws.bedrockagentruntime#ByteContentDoc", |
| 1157 | + "traits": { |
| 1158 | + "smithy.api#documentation": "<p>The identifier, contentType, and data of the external source wrapper object.</p>" |
| 1159 | + } |
| 1160 | + } |
| 1161 | + }, |
| 1162 | + "traits": { |
| 1163 | + "smithy.api#documentation": "<p>The unique external source of the content contained in the wrapper object.</p>" |
| 1164 | + } |
| 1165 | + }, |
| 1166 | + "com.amazonaws.bedrockagentruntime#ExternalSourceType": { |
| 1167 | + "type": "enum", |
| 1168 | + "members": { |
| 1169 | + "S3": { |
| 1170 | + "target": "smithy.api#Unit", |
| 1171 | + "traits": { |
| 1172 | + "smithy.api#enumValue": "S3" |
| 1173 | + } |
| 1174 | + }, |
| 1175 | + "BYTE_CONTENT": { |
| 1176 | + "target": "smithy.api#Unit", |
| 1177 | + "traits": { |
| 1178 | + "smithy.api#enumValue": "BYTE_CONTENT" |
| 1179 | + } |
| 1180 | + } |
| 1181 | + } |
| 1182 | + }, |
| 1183 | + "com.amazonaws.bedrockagentruntime#ExternalSources": { |
| 1184 | + "type": "list", |
| 1185 | + "member": { |
| 1186 | + "target": "com.amazonaws.bedrockagentruntime#ExternalSource" |
| 1187 | + }, |
| 1188 | + "traits": { |
| 1189 | + "smithy.api#length": { |
| 1190 | + "min": 1, |
| 1191 | + "max": 1 |
| 1192 | + } |
| 1193 | + } |
| 1194 | + }, |
| 1195 | + "com.amazonaws.bedrockagentruntime#ExternalSourcesGenerationConfiguration": { |
| 1196 | + "type": "structure", |
| 1197 | + "members": { |
| 1198 | + "promptTemplate": { |
| 1199 | + "target": "com.amazonaws.bedrockagentruntime#PromptTemplate", |
| 1200 | + "traits": { |
| 1201 | + "smithy.api#documentation": "<p>Contain the textPromptTemplate string for the external source wrapper object.</p>" |
| 1202 | + } |
| 1203 | + } |
| 1204 | + }, |
| 1205 | + "traits": { |
| 1206 | + "smithy.api#documentation": "<p>Contains the generation configuration of the external source wrapper object.</p>" |
| 1207 | + } |
| 1208 | + }, |
| 1209 | + "com.amazonaws.bedrockagentruntime#ExternalSourcesRetrieveAndGenerateConfiguration": { |
| 1210 | + "type": "structure", |
| 1211 | + "members": { |
| 1212 | + "modelArn": { |
| 1213 | + "target": "com.amazonaws.bedrockagentruntime#BedrockModelArn", |
| 1214 | + "traits": { |
| 1215 | + "smithy.api#documentation": "<p>The modelArn used with the external source wrapper object in the retrieveAndGenerate function.</p>", |
| 1216 | + "smithy.api#required": {} |
| 1217 | + } |
| 1218 | + }, |
| 1219 | + "sources": { |
| 1220 | + "target": "com.amazonaws.bedrockagentruntime#ExternalSources", |
| 1221 | + "traits": { |
| 1222 | + "smithy.api#documentation": "<p>The document used with the external source wrapper object in the retrieveAndGenerate function.</p>", |
| 1223 | + "smithy.api#required": {} |
| 1224 | + } |
| 1225 | + }, |
| 1226 | + "generationConfiguration": { |
| 1227 | + "target": "com.amazonaws.bedrockagentruntime#ExternalSourcesGenerationConfiguration", |
| 1228 | + "traits": { |
| 1229 | + "smithy.api#documentation": "<p>The prompt used with the external source wrapper object with the retrieveAndGenerate function.</p>" |
| 1230 | + } |
| 1231 | + } |
| 1232 | + }, |
| 1233 | + "traits": { |
| 1234 | + "smithy.api#documentation": "<p>The configurations of the external source wrapper object in the retrieveAndGenerate function.</p>" |
| 1235 | + } |
| 1236 | + }, |
1094 | 1237 | "com.amazonaws.bedrockagentruntime#FailureReasonString": { |
1095 | 1238 | "type": "string", |
1096 | 1239 | "traits": { |
|
1298 | 1441 | "smithy.api#documentation": "<p>Contains configurations for response generation based on the knowledge base query results.</p>\n <p>This data type is used in the following API operations:</p>\n <ul>\n <li>\n <p>\n <a href=\"https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_RetrieveAndGenerate.html#API_agent-runtime_RetrieveAndGenerate_RequestSyntax\">RetrieveAndGenerate request</a>\n </p>\n </li>\n </ul>" |
1299 | 1442 | } |
1300 | 1443 | }, |
| 1444 | + "com.amazonaws.bedrockagentruntime#Identifier": { |
| 1445 | + "type": "string", |
| 1446 | + "traits": { |
| 1447 | + "smithy.api#length": { |
| 1448 | + "min": 1, |
| 1449 | + "max": 1024 |
| 1450 | + }, |
| 1451 | + "smithy.api#sensitive": {} |
| 1452 | + } |
| 1453 | + }, |
1301 | 1454 | "com.amazonaws.bedrockagentruntime#InferenceConfiguration": { |
1302 | 1455 | "type": "structure", |
1303 | 1456 | "members": { |
|
2707 | 2860 | "traits": { |
2708 | 2861 | "smithy.api#documentation": "<p>Contains details about the resource being queried.</p>" |
2709 | 2862 | } |
| 2863 | + }, |
| 2864 | + "externalSourcesConfiguration": { |
| 2865 | + "target": "com.amazonaws.bedrockagentruntime#ExternalSourcesRetrieveAndGenerateConfiguration", |
| 2866 | + "traits": { |
| 2867 | + "smithy.api#documentation": "<p>The configuration used with the external source wrapper object in the retrieveAndGenerate function.</p>" |
| 2868 | + } |
2710 | 2869 | } |
2711 | 2870 | }, |
2712 | 2871 | "traits": { |
|
2840 | 2999 | "traits": { |
2841 | 3000 | "smithy.api#enumValue": "KNOWLEDGE_BASE" |
2842 | 3001 | } |
| 3002 | + }, |
| 3003 | + "EXTERNAL_SOURCES": { |
| 3004 | + "target": "smithy.api#Unit", |
| 3005 | + "traits": { |
| 3006 | + "smithy.api#enumValue": "EXTERNAL_SOURCES" |
| 3007 | + } |
2843 | 3008 | } |
2844 | 3009 | } |
2845 | 3010 | }, |
|
2972 | 3137 | "smithy.api#sensitive": {} |
2973 | 3138 | } |
2974 | 3139 | }, |
| 3140 | + "com.amazonaws.bedrockagentruntime#S3ObjectDoc": { |
| 3141 | + "type": "structure", |
| 3142 | + "members": { |
| 3143 | + "uri": { |
| 3144 | + "target": "com.amazonaws.bedrockagentruntime#S3Uri", |
| 3145 | + "traits": { |
| 3146 | + "smithy.api#documentation": "<p>The file location of the S3 wrapper object.</p>", |
| 3147 | + "smithy.api#required": {} |
| 3148 | + } |
| 3149 | + } |
| 3150 | + }, |
| 3151 | + "traits": { |
| 3152 | + "smithy.api#documentation": "<p>The unique wrapper object of the document from the S3 location.</p>" |
| 3153 | + } |
| 3154 | + }, |
| 3155 | + "com.amazonaws.bedrockagentruntime#S3Uri": { |
| 3156 | + "type": "string", |
| 3157 | + "traits": { |
| 3158 | + "smithy.api#length": { |
| 3159 | + "min": 1, |
| 3160 | + "max": 1024 |
| 3161 | + }, |
| 3162 | + "smithy.api#pattern": "^s3://[a-z0-9][a-z0-9.-]{1,61}[a-z0-9]/.{1,1024}$" |
| 3163 | + } |
| 3164 | + }, |
2975 | 3165 | "com.amazonaws.bedrockagentruntime#SearchType": { |
2976 | 3166 | "type": "enum", |
2977 | 3167 | "members": { |
|
0 commit comments