|
2258 | 2258 | "smithy.api#output": {}
|
2259 | 2259 | }
|
2260 | 2260 | },
|
| 2261 | + "com.amazonaws.bedrock#CreatePromptRouter": { |
| 2262 | + "type": "operation", |
| 2263 | + "input": { |
| 2264 | + "target": "com.amazonaws.bedrock#CreatePromptRouterRequest" |
| 2265 | + }, |
| 2266 | + "output": { |
| 2267 | + "target": "com.amazonaws.bedrock#CreatePromptRouterResponse" |
| 2268 | + }, |
| 2269 | + "errors": [ |
| 2270 | + { |
| 2271 | + "target": "com.amazonaws.bedrock#AccessDeniedException" |
| 2272 | + }, |
| 2273 | + { |
| 2274 | + "target": "com.amazonaws.bedrock#ConflictException" |
| 2275 | + }, |
| 2276 | + { |
| 2277 | + "target": "com.amazonaws.bedrock#InternalServerException" |
| 2278 | + }, |
| 2279 | + { |
| 2280 | + "target": "com.amazonaws.bedrock#ResourceNotFoundException" |
| 2281 | + }, |
| 2282 | + { |
| 2283 | + "target": "com.amazonaws.bedrock#ServiceQuotaExceededException" |
| 2284 | + }, |
| 2285 | + { |
| 2286 | + "target": "com.amazonaws.bedrock#ThrottlingException" |
| 2287 | + }, |
| 2288 | + { |
| 2289 | + "target": "com.amazonaws.bedrock#TooManyTagsException" |
| 2290 | + }, |
| 2291 | + { |
| 2292 | + "target": "com.amazonaws.bedrock#ValidationException" |
| 2293 | + } |
| 2294 | + ], |
| 2295 | + "traits": { |
| 2296 | + "smithy.api#documentation": "<p>Creates a prompt router that manages the routing of requests between multiple foundation models based on the routing criteria.</p>", |
| 2297 | + "smithy.api#http": { |
| 2298 | + "code": 200, |
| 2299 | + "method": "POST", |
| 2300 | + "uri": "/prompt-routers" |
| 2301 | + }, |
| 2302 | + "smithy.api#idempotent": {} |
| 2303 | + } |
| 2304 | + }, |
| 2305 | + "com.amazonaws.bedrock#CreatePromptRouterRequest": { |
| 2306 | + "type": "structure", |
| 2307 | + "members": { |
| 2308 | + "clientRequestToken": { |
| 2309 | + "target": "com.amazonaws.bedrock#IdempotencyToken", |
| 2310 | + "traits": { |
| 2311 | + "smithy.api#documentation": "<p>A unique, case-sensitive identifier that you provide to ensure idempotency of your requests. If not specified, the Amazon Web Services SDK\n automatically generates one for you.</p>", |
| 2312 | + "smithy.api#idempotencyToken": {} |
| 2313 | + } |
| 2314 | + }, |
| 2315 | + "promptRouterName": { |
| 2316 | + "target": "com.amazonaws.bedrock#PromptRouterName", |
| 2317 | + "traits": { |
| 2318 | + "smithy.api#documentation": "<p>The name of the prompt router. The name must be unique within your Amazon Web Services account in the current region.</p>", |
| 2319 | + "smithy.api#required": {} |
| 2320 | + } |
| 2321 | + }, |
| 2322 | + "models": { |
| 2323 | + "target": "com.amazonaws.bedrock#PromptRouterTargetModels", |
| 2324 | + "traits": { |
| 2325 | + "smithy.api#documentation": "<p>A list of foundation models that the prompt router can route requests to. At least one model must be specified.</p>", |
| 2326 | + "smithy.api#required": {} |
| 2327 | + } |
| 2328 | + }, |
| 2329 | + "description": { |
| 2330 | + "target": "com.amazonaws.bedrock#PromptRouterDescription", |
| 2331 | + "traits": { |
| 2332 | + "smithy.api#documentation": "<p>An optional description of the prompt router to help identify its purpose.</p>" |
| 2333 | + } |
| 2334 | + }, |
| 2335 | + "routingCriteria": { |
| 2336 | + "target": "com.amazonaws.bedrock#RoutingCriteria", |
| 2337 | + "traits": { |
| 2338 | + "smithy.api#documentation": "<p>The criteria, which is the response quality difference, used to determine how incoming requests are routed to different models.</p>", |
| 2339 | + "smithy.api#required": {} |
| 2340 | + } |
| 2341 | + }, |
| 2342 | + "fallbackModel": { |
| 2343 | + "target": "com.amazonaws.bedrock#PromptRouterTargetModel", |
| 2344 | + "traits": { |
| 2345 | + "smithy.api#documentation": "<p>The default model to use when the routing criteria is not met.</p>", |
| 2346 | + "smithy.api#required": {} |
| 2347 | + } |
| 2348 | + }, |
| 2349 | + "tags": { |
| 2350 | + "target": "com.amazonaws.bedrock#TagList", |
| 2351 | + "traits": { |
| 2352 | + "smithy.api#documentation": "<p>An array of key-value pairs to apply to this resource as tags. You can use tags to categorize and manage your Amazon Web Services resources.</p>" |
| 2353 | + } |
| 2354 | + } |
| 2355 | + }, |
| 2356 | + "traits": { |
| 2357 | + "smithy.api#input": {} |
| 2358 | + } |
| 2359 | + }, |
| 2360 | + "com.amazonaws.bedrock#CreatePromptRouterResponse": { |
| 2361 | + "type": "structure", |
| 2362 | + "members": { |
| 2363 | + "promptRouterArn": { |
| 2364 | + "target": "com.amazonaws.bedrock#PromptRouterArn", |
| 2365 | + "traits": { |
| 2366 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) that uniquely identifies the prompt router.</p>" |
| 2367 | + } |
| 2368 | + } |
| 2369 | + }, |
| 2370 | + "traits": { |
| 2371 | + "smithy.api#output": {} |
| 2372 | + } |
| 2373 | + }, |
2261 | 2374 | "com.amazonaws.bedrock#CreateProvisionedModelThroughput": {
|
2262 | 2375 | "type": "operation",
|
2263 | 2376 | "input": {
|
|
2832 | 2945 | "smithy.api#output": {}
|
2833 | 2946 | }
|
2834 | 2947 | },
|
| 2948 | + "com.amazonaws.bedrock#DeletePromptRouter": { |
| 2949 | + "type": "operation", |
| 2950 | + "input": { |
| 2951 | + "target": "com.amazonaws.bedrock#DeletePromptRouterRequest" |
| 2952 | + }, |
| 2953 | + "output": { |
| 2954 | + "target": "com.amazonaws.bedrock#DeletePromptRouterResponse" |
| 2955 | + }, |
| 2956 | + "errors": [ |
| 2957 | + { |
| 2958 | + "target": "com.amazonaws.bedrock#AccessDeniedException" |
| 2959 | + }, |
| 2960 | + { |
| 2961 | + "target": "com.amazonaws.bedrock#InternalServerException" |
| 2962 | + }, |
| 2963 | + { |
| 2964 | + "target": "com.amazonaws.bedrock#ResourceNotFoundException" |
| 2965 | + }, |
| 2966 | + { |
| 2967 | + "target": "com.amazonaws.bedrock#ThrottlingException" |
| 2968 | + }, |
| 2969 | + { |
| 2970 | + "target": "com.amazonaws.bedrock#ValidationException" |
| 2971 | + } |
| 2972 | + ], |
| 2973 | + "traits": { |
| 2974 | + "smithy.api#documentation": "<p>Deletes a specified prompt router. This action cannot be undone.</p>", |
| 2975 | + "smithy.api#http": { |
| 2976 | + "code": 200, |
| 2977 | + "method": "DELETE", |
| 2978 | + "uri": "/prompt-routers/{promptRouterArn}" |
| 2979 | + }, |
| 2980 | + "smithy.api#idempotent": {} |
| 2981 | + } |
| 2982 | + }, |
| 2983 | + "com.amazonaws.bedrock#DeletePromptRouterRequest": { |
| 2984 | + "type": "structure", |
| 2985 | + "members": { |
| 2986 | + "promptRouterArn": { |
| 2987 | + "target": "com.amazonaws.bedrock#PromptRouterArn", |
| 2988 | + "traits": { |
| 2989 | + "smithy.api#documentation": "<p>The Amazon Resource Name (ARN) of the prompt router to delete.</p>", |
| 2990 | + "smithy.api#httpLabel": {}, |
| 2991 | + "smithy.api#required": {} |
| 2992 | + } |
| 2993 | + } |
| 2994 | + }, |
| 2995 | + "traits": { |
| 2996 | + "smithy.api#input": {} |
| 2997 | + } |
| 2998 | + }, |
| 2999 | + "com.amazonaws.bedrock#DeletePromptRouterResponse": { |
| 3000 | + "type": "structure", |
| 3001 | + "members": {}, |
| 3002 | + "traits": { |
| 3003 | + "smithy.api#output": {} |
| 3004 | + } |
| 3005 | + }, |
2835 | 3006 | "com.amazonaws.bedrock#DeleteProvisionedModelThroughput": {
|
2836 | 3007 | "type": "operation",
|
2837 | 3008 | "input": {
|
|
9185 | 9356 | "smithy.api#documentation": "<p>Specify the pagination token from a previous request to retrieve the next page of results.</p>",
|
9186 | 9357 | "smithy.api#httpQuery": "nextToken"
|
9187 | 9358 | }
|
| 9359 | + }, |
| 9360 | + "type": { |
| 9361 | + "target": "com.amazonaws.bedrock#PromptRouterType", |
| 9362 | + "traits": { |
| 9363 | + "smithy.api#default": "default", |
| 9364 | + "smithy.api#documentation": "<p>The type of the prompt routers, such as whether it's default or custom.</p>", |
| 9365 | + "smithy.api#httpQuery": "type" |
| 9366 | + } |
9188 | 9367 | }
|
9189 | 9368 | },
|
9190 | 9369 | "traits": {
|
|
10619 | 10798 | "target": "com.amazonaws.bedrock#PromptRouterArn"
|
10620 | 10799 | }
|
10621 | 10800 | },
|
| 10801 | + "create": { |
| 10802 | + "target": "com.amazonaws.bedrock#CreatePromptRouter" |
| 10803 | + }, |
10622 | 10804 | "read": {
|
10623 | 10805 | "target": "com.amazonaws.bedrock#GetPromptRouter"
|
10624 | 10806 | },
|
| 10807 | + "delete": { |
| 10808 | + "target": "com.amazonaws.bedrock#DeletePromptRouter" |
| 10809 | + }, |
10625 | 10810 | "list": {
|
10626 | 10811 | "target": "com.amazonaws.bedrock#ListPromptRouters"
|
10627 | 10812 | }
|
|
10724 | 10909 | "modelArn": {
|
10725 | 10910 | "target": "com.amazonaws.bedrock#PromptRouterTargetModelArn",
|
10726 | 10911 | "traits": {
|
10727 |
| - "smithy.api#documentation": "<p>The target model's ARN.</p>" |
| 10912 | + "smithy.api#clientOptional": {}, |
| 10913 | + "smithy.api#documentation": "<p>The target model's ARN.</p>", |
| 10914 | + "smithy.api#required": {} |
10728 | 10915 | }
|
10729 | 10916 | }
|
10730 | 10917 | },
|
|
10739 | 10926 | "min": 1,
|
10740 | 10927 | "max": 2048
|
10741 | 10928 | },
|
10742 |
| - "smithy.api#pattern": "(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([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-]{0,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)$" |
| 10929 | + "smithy.api#pattern": "(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}::foundation-model/[a-z0-9-]{1,63}[.]{1}([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-]{0,20}):(|[0-9]{12}):(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+)$" |
10743 | 10930 | }
|
10744 | 10931 | },
|
10745 | 10932 | "com.amazonaws.bedrock#PromptRouterTargetModels": {
|
|
11453 | 11640 | "smithy.api#documentation": "<p>The criteria's response quality difference.</p>",
|
11454 | 11641 | "smithy.api#range": {
|
11455 | 11642 | "min": 0,
|
11456 |
| - "max": 1 |
| 11643 | + "max": 100 |
11457 | 11644 | },
|
11458 | 11645 | "smithy.api#required": {}
|
11459 | 11646 | }
|
|
12060 | 12247 | "min": 20,
|
12061 | 12248 | "max": 1011
|
12062 | 12249 | },
|
12063 |
| - "smithy.api#pattern": "(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-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}(/[a-z0-9]{12})$)|(:guardrail/[a-z0-9]+$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model|async-invoke)/[a-z0-9]{12}$)))" |
| 12250 | + "smithy.api#pattern": "(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job|custom-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}(/[a-z0-9]{12})$)|(:guardrail/[a-z0-9]+$)|(:automated-reasoning-policy/[a-zA-Z0-9]+(:[a-zA-Z0-9]+)?$)|(:(inference-profile|application-inference-profile)/[a-zA-Z0-9-:.]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model|async-invoke|provisioned-model-v2|provisioned-model-reservation|prompt-router)/[a-z0-9]{12}$)))" |
12064 | 12251 | }
|
12065 | 12252 | },
|
12066 | 12253 | "com.amazonaws.bedrock#TaggingResource": {
|
|
0 commit comments