|
39 | 39 | "http":{
|
40 | 40 | "method":"POST",
|
41 | 41 | "requestUri":"/custom-models/create-custom-model",
|
42 |
| - "responseCode":200 |
| 42 | + "responseCode":202 |
43 | 43 | },
|
44 | 44 | "input":{"shape":"CreateCustomModelRequest"},
|
45 | 45 | "output":{"shape":"CreateCustomModelResponse"},
|
|
52 | 52 | {"shape":"TooManyTagsException"},
|
53 | 53 | {"shape":"ServiceQuotaExceededException"},
|
54 | 54 | {"shape":"ThrottlingException"}
|
55 |
| - ] |
| 55 | + ], |
| 56 | + "idempotent":true |
| 57 | + }, |
| 58 | + "CreateCustomModelDeployment":{ |
| 59 | + "name":"CreateCustomModelDeployment", |
| 60 | + "http":{ |
| 61 | + "method":"POST", |
| 62 | + "requestUri":"/model-customization/custom-model-deployments", |
| 63 | + "responseCode":202 |
| 64 | + }, |
| 65 | + "input":{"shape":"CreateCustomModelDeploymentRequest"}, |
| 66 | + "output":{"shape":"CreateCustomModelDeploymentResponse"}, |
| 67 | + "errors":[ |
| 68 | + {"shape":"ResourceNotFoundException"}, |
| 69 | + {"shape":"AccessDeniedException"}, |
| 70 | + {"shape":"ValidationException"}, |
| 71 | + {"shape":"InternalServerException"}, |
| 72 | + {"shape":"TooManyTagsException"}, |
| 73 | + {"shape":"ServiceQuotaExceededException"}, |
| 74 | + {"shape":"ThrottlingException"} |
| 75 | + ], |
| 76 | + "idempotent":true |
56 | 77 | },
|
57 | 78 | "CreateEvaluationJob":{
|
58 | 79 | "name":"CreateEvaluationJob",
|
|
310 | 331 | ],
|
311 | 332 | "idempotent":true
|
312 | 333 | },
|
| 334 | + "DeleteCustomModelDeployment":{ |
| 335 | + "name":"DeleteCustomModelDeployment", |
| 336 | + "http":{ |
| 337 | + "method":"DELETE", |
| 338 | + "requestUri":"/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", |
| 339 | + "responseCode":200 |
| 340 | + }, |
| 341 | + "input":{"shape":"DeleteCustomModelDeploymentRequest"}, |
| 342 | + "output":{"shape":"DeleteCustomModelDeploymentResponse"}, |
| 343 | + "errors":[ |
| 344 | + {"shape":"ResourceNotFoundException"}, |
| 345 | + {"shape":"AccessDeniedException"}, |
| 346 | + {"shape":"ValidationException"}, |
| 347 | + {"shape":"ConflictException"}, |
| 348 | + {"shape":"InternalServerException"}, |
| 349 | + {"shape":"ThrottlingException"} |
| 350 | + ], |
| 351 | + "idempotent":true |
| 352 | + }, |
313 | 353 | "DeleteFoundationModelAgreement":{
|
314 | 354 | "name":"DeleteFoundationModelAgreement",
|
315 | 355 | "http":{
|
|
491 | 531 | {"shape":"ThrottlingException"}
|
492 | 532 | ]
|
493 | 533 | },
|
| 534 | + "GetCustomModelDeployment":{ |
| 535 | + "name":"GetCustomModelDeployment", |
| 536 | + "http":{ |
| 537 | + "method":"GET", |
| 538 | + "requestUri":"/model-customization/custom-model-deployments/{customModelDeploymentIdentifier}", |
| 539 | + "responseCode":200 |
| 540 | + }, |
| 541 | + "input":{"shape":"GetCustomModelDeploymentRequest"}, |
| 542 | + "output":{"shape":"GetCustomModelDeploymentResponse"}, |
| 543 | + "errors":[ |
| 544 | + {"shape":"ResourceNotFoundException"}, |
| 545 | + {"shape":"AccessDeniedException"}, |
| 546 | + {"shape":"ValidationException"}, |
| 547 | + {"shape":"InternalServerException"}, |
| 548 | + {"shape":"ThrottlingException"} |
| 549 | + ] |
| 550 | + }, |
494 | 551 | "GetEvaluationJob":{
|
495 | 552 | "name":"GetEvaluationJob",
|
496 | 553 | "http":{
|
|
743 | 800 | {"shape":"ThrottlingException"}
|
744 | 801 | ]
|
745 | 802 | },
|
| 803 | + "ListCustomModelDeployments":{ |
| 804 | + "name":"ListCustomModelDeployments", |
| 805 | + "http":{ |
| 806 | + "method":"GET", |
| 807 | + "requestUri":"/model-customization/custom-model-deployments", |
| 808 | + "responseCode":200 |
| 809 | + }, |
| 810 | + "input":{"shape":"ListCustomModelDeploymentsRequest"}, |
| 811 | + "output":{"shape":"ListCustomModelDeploymentsResponse"}, |
| 812 | + "errors":[ |
| 813 | + {"shape":"AccessDeniedException"}, |
| 814 | + {"shape":"ValidationException"}, |
| 815 | + {"shape":"InternalServerException"}, |
| 816 | + {"shape":"ThrottlingException"} |
| 817 | + ] |
| 818 | + }, |
746 | 819 | "ListCustomModels":{
|
747 | 820 | "name":"ListCustomModels",
|
748 | 821 | "http":{
|
|
1459 | 1532 | "type":"string",
|
1460 | 1533 | "pattern":".*[a-z]{1,20}/.{1,20}.*"
|
1461 | 1534 | },
|
| 1535 | + "CreateCustomModelDeploymentRequest":{ |
| 1536 | + "type":"structure", |
| 1537 | + "required":[ |
| 1538 | + "modelDeploymentName", |
| 1539 | + "modelArn" |
| 1540 | + ], |
| 1541 | + "members":{ |
| 1542 | + "modelDeploymentName":{"shape":"ModelDeploymentName"}, |
| 1543 | + "modelArn":{"shape":"CustomModelArn"}, |
| 1544 | + "description":{"shape":"CustomModelDeploymentDescription"}, |
| 1545 | + "tags":{"shape":"TagList"}, |
| 1546 | + "clientRequestToken":{ |
| 1547 | + "shape":"IdempotencyToken", |
| 1548 | + "idempotencyToken":true |
| 1549 | + } |
| 1550 | + } |
| 1551 | + }, |
| 1552 | + "CreateCustomModelDeploymentResponse":{ |
| 1553 | + "type":"structure", |
| 1554 | + "required":["customModelDeploymentArn"], |
| 1555 | + "members":{ |
| 1556 | + "customModelDeploymentArn":{"shape":"CustomModelDeploymentArn"} |
| 1557 | + } |
| 1558 | + }, |
1462 | 1559 | "CreateCustomModelRequest":{
|
1463 | 1560 | "type":"structure",
|
1464 | 1561 | "required":[
|
|
1870 | 1967 | "min":20,
|
1871 | 1968 | "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported|[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}"
|
1872 | 1969 | },
|
| 1970 | + "CustomModelDeploymentArn":{ |
| 1971 | + "type":"string", |
| 1972 | + "max":1011, |
| 1973 | + "min":0, |
| 1974 | + "pattern":"arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model-deployment/[a-z0-9]{12}" |
| 1975 | + }, |
| 1976 | + "CustomModelDeploymentDescription":{ |
| 1977 | + "type":"string", |
| 1978 | + "max":2048, |
| 1979 | + "min":1, |
| 1980 | + "pattern":".*" |
| 1981 | + }, |
| 1982 | + "CustomModelDeploymentIdentifier":{ |
| 1983 | + "type":"string", |
| 1984 | + "max":93, |
| 1985 | + "min":1, |
| 1986 | + "pattern":"(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model-deployment/[a-z0-9]{12})|^([0-9a-zA-Z][_-]?){1,63}" |
| 1987 | + }, |
| 1988 | + "CustomModelDeploymentStatus":{ |
| 1989 | + "type":"string", |
| 1990 | + "enum":[ |
| 1991 | + "Creating", |
| 1992 | + "Active", |
| 1993 | + "Failed" |
| 1994 | + ] |
| 1995 | + }, |
| 1996 | + "CustomModelDeploymentSummary":{ |
| 1997 | + "type":"structure", |
| 1998 | + "required":[ |
| 1999 | + "customModelDeploymentArn", |
| 2000 | + "customModelDeploymentName", |
| 2001 | + "modelArn", |
| 2002 | + "createdAt", |
| 2003 | + "status" |
| 2004 | + ], |
| 2005 | + "members":{ |
| 2006 | + "customModelDeploymentArn":{"shape":"CustomModelDeploymentArn"}, |
| 2007 | + "customModelDeploymentName":{"shape":"ModelDeploymentName"}, |
| 2008 | + "modelArn":{"shape":"ModelArn"}, |
| 2009 | + "createdAt":{"shape":"Timestamp"}, |
| 2010 | + "status":{"shape":"CustomModelDeploymentStatus"}, |
| 2011 | + "lastUpdatedAt":{"shape":"Timestamp"}, |
| 2012 | + "failureMessage":{"shape":"ErrorMessage"} |
| 2013 | + } |
| 2014 | + }, |
| 2015 | + "CustomModelDeploymentSummaryList":{ |
| 2016 | + "type":"list", |
| 2017 | + "member":{"shape":"CustomModelDeploymentSummary"} |
| 2018 | + }, |
1873 | 2019 | "CustomModelName":{
|
1874 | 2020 | "type":"string",
|
1875 | 2021 | "max":63,
|
|
1935 | 2081 | "lastModifiedTime":{"shape":"Timestamp"}
|
1936 | 2082 | }
|
1937 | 2083 | },
|
| 2084 | + "DeleteCustomModelDeploymentRequest":{ |
| 2085 | + "type":"structure", |
| 2086 | + "required":["customModelDeploymentIdentifier"], |
| 2087 | + "members":{ |
| 2088 | + "customModelDeploymentIdentifier":{ |
| 2089 | + "shape":"CustomModelDeploymentIdentifier", |
| 2090 | + "location":"uri", |
| 2091 | + "locationName":"customModelDeploymentIdentifier" |
| 2092 | + } |
| 2093 | + } |
| 2094 | + }, |
| 2095 | + "DeleteCustomModelDeploymentResponse":{ |
| 2096 | + "type":"structure", |
| 2097 | + "members":{ |
| 2098 | + } |
| 2099 | + }, |
1938 | 2100 | "DeleteCustomModelRequest":{
|
1939 | 2101 | "type":"structure",
|
1940 | 2102 | "required":["modelIdentifier"],
|
|
2643 | 2805 | "additionalModelRequestFields":{"shape":"AdditionalModelRequestFields"}
|
2644 | 2806 | }
|
2645 | 2807 | },
|
| 2808 | + "GetCustomModelDeploymentRequest":{ |
| 2809 | + "type":"structure", |
| 2810 | + "required":["customModelDeploymentIdentifier"], |
| 2811 | + "members":{ |
| 2812 | + "customModelDeploymentIdentifier":{ |
| 2813 | + "shape":"CustomModelDeploymentIdentifier", |
| 2814 | + "location":"uri", |
| 2815 | + "locationName":"customModelDeploymentIdentifier" |
| 2816 | + } |
| 2817 | + } |
| 2818 | + }, |
| 2819 | + "GetCustomModelDeploymentResponse":{ |
| 2820 | + "type":"structure", |
| 2821 | + "required":[ |
| 2822 | + "customModelDeploymentArn", |
| 2823 | + "modelDeploymentName", |
| 2824 | + "modelArn", |
| 2825 | + "createdAt", |
| 2826 | + "status" |
| 2827 | + ], |
| 2828 | + "members":{ |
| 2829 | + "customModelDeploymentArn":{"shape":"CustomModelDeploymentArn"}, |
| 2830 | + "modelDeploymentName":{"shape":"ModelDeploymentName"}, |
| 2831 | + "modelArn":{"shape":"CustomModelArn"}, |
| 2832 | + "createdAt":{"shape":"Timestamp"}, |
| 2833 | + "status":{"shape":"CustomModelDeploymentStatus"}, |
| 2834 | + "description":{"shape":"CustomModelDeploymentDescription"}, |
| 2835 | + "failureMessage":{"shape":"ErrorMessage"}, |
| 2836 | + "lastUpdatedAt":{"shape":"Timestamp"} |
| 2837 | + } |
| 2838 | + }, |
2646 | 2839 | "GetCustomModelRequest":{
|
2647 | 2840 | "type":"structure",
|
2648 | 2841 | "required":["modelIdentifier"],
|
|
4262 | 4455 | "url":{"shape":"String"}
|
4263 | 4456 | }
|
4264 | 4457 | },
|
| 4458 | + "ListCustomModelDeploymentsRequest":{ |
| 4459 | + "type":"structure", |
| 4460 | + "members":{ |
| 4461 | + "createdBefore":{ |
| 4462 | + "shape":"Timestamp", |
| 4463 | + "location":"querystring", |
| 4464 | + "locationName":"createdBefore" |
| 4465 | + }, |
| 4466 | + "createdAfter":{ |
| 4467 | + "shape":"Timestamp", |
| 4468 | + "location":"querystring", |
| 4469 | + "locationName":"createdAfter" |
| 4470 | + }, |
| 4471 | + "nameContains":{ |
| 4472 | + "shape":"ModelDeploymentName", |
| 4473 | + "location":"querystring", |
| 4474 | + "locationName":"nameContains" |
| 4475 | + }, |
| 4476 | + "maxResults":{ |
| 4477 | + "shape":"MaxResults", |
| 4478 | + "location":"querystring", |
| 4479 | + "locationName":"maxResults" |
| 4480 | + }, |
| 4481 | + "nextToken":{ |
| 4482 | + "shape":"PaginationToken", |
| 4483 | + "location":"querystring", |
| 4484 | + "locationName":"nextToken" |
| 4485 | + }, |
| 4486 | + "sortBy":{ |
| 4487 | + "shape":"SortModelsBy", |
| 4488 | + "location":"querystring", |
| 4489 | + "locationName":"sortBy" |
| 4490 | + }, |
| 4491 | + "sortOrder":{ |
| 4492 | + "shape":"SortOrder", |
| 4493 | + "location":"querystring", |
| 4494 | + "locationName":"sortOrder" |
| 4495 | + }, |
| 4496 | + "statusEquals":{ |
| 4497 | + "shape":"CustomModelDeploymentStatus", |
| 4498 | + "location":"querystring", |
| 4499 | + "locationName":"statusEquals" |
| 4500 | + }, |
| 4501 | + "modelArnEquals":{ |
| 4502 | + "shape":"CustomModelArn", |
| 4503 | + "location":"querystring", |
| 4504 | + "locationName":"modelArnEquals" |
| 4505 | + } |
| 4506 | + } |
| 4507 | + }, |
| 4508 | + "ListCustomModelDeploymentsResponse":{ |
| 4509 | + "type":"structure", |
| 4510 | + "members":{ |
| 4511 | + "nextToken":{"shape":"PaginationToken"}, |
| 4512 | + "modelDeploymentSummaries":{"shape":"CustomModelDeploymentSummaryList"} |
| 4513 | + } |
| 4514 | + }, |
4265 | 4515 | "ListCustomModelsRequest":{
|
4266 | 4516 | "type":"structure",
|
4267 | 4517 | "members":{
|
|
5140 | 5390 | },
|
5141 | 5391 | "union":true
|
5142 | 5392 | },
|
| 5393 | + "ModelDeploymentName":{ |
| 5394 | + "type":"string", |
| 5395 | + "max":63, |
| 5396 | + "min":1, |
| 5397 | + "pattern":"([0-9a-zA-Z][_-]?){1,63}" |
| 5398 | + }, |
5143 | 5399 | "ModelId":{
|
5144 | 5400 | "type":"string",
|
5145 | 5401 | "max":2048,
|
|
6068 | 6324 | "type":"string",
|
6069 | 6325 | "max":1011,
|
6070 | 6326 | "min":20,
|
6071 |
| - "pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/([a-z0-9-]{1,63}[.][a-z0-9-]{1,63}(([:][a-z0-9-]{1,63}){0,2})?|imported)/[a-z0-9]{12}$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:([0-9]{12}|)((:(fine-tuning-job|model-customization-job)/[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|custom-model-deployment)/[a-z0-9]{12}$))).*" |
| 6327 | + "pattern":".*(^[a-zA-Z0-9][a-zA-Z0-9\\-]*$)|(^arn:aws(-[^:]+)?:bedrock:[a-z0-9-]{1,20}:[0-9]{12}:custom-model/(imported)/[a-z0-9]{12}$)|(^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|custom-model-deployment)/[a-z0-9]{12}$))).*" |
6072 | 6328 | },
|
6073 | 6329 | "TeacherModelConfig":{
|
6074 | 6330 | "type":"structure",
|
|
0 commit comments