|
90 | 90 | {"shape":"ThrottlingException"}
|
91 | 91 | ]
|
92 | 92 | },
|
| 93 | + "CreateInferenceProfile":{ |
| 94 | + "name":"CreateInferenceProfile", |
| 95 | + "http":{ |
| 96 | + "method":"POST", |
| 97 | + "requestUri":"/inference-profiles", |
| 98 | + "responseCode":201 |
| 99 | + }, |
| 100 | + "input":{"shape":"CreateInferenceProfileRequest"}, |
| 101 | + "output":{"shape":"CreateInferenceProfileResponse"}, |
| 102 | + "errors":[ |
| 103 | + {"shape":"ResourceNotFoundException"}, |
| 104 | + {"shape":"AccessDeniedException"}, |
| 105 | + {"shape":"ValidationException"}, |
| 106 | + {"shape":"ConflictException"}, |
| 107 | + {"shape":"InternalServerException"}, |
| 108 | + {"shape":"TooManyTagsException"}, |
| 109 | + {"shape":"ServiceQuotaExceededException"}, |
| 110 | + {"shape":"ThrottlingException"} |
| 111 | + ], |
| 112 | + "idempotent":true |
| 113 | + }, |
93 | 114 | "CreateModelCopyJob":{
|
94 | 115 | "name":"CreateModelCopyJob",
|
95 | 116 | "http":{
|
|
246 | 267 | ],
|
247 | 268 | "idempotent":true
|
248 | 269 | },
|
| 270 | + "DeleteInferenceProfile":{ |
| 271 | + "name":"DeleteInferenceProfile", |
| 272 | + "http":{ |
| 273 | + "method":"DELETE", |
| 274 | + "requestUri":"/inference-profiles/{inferenceProfileIdentifier}", |
| 275 | + "responseCode":200 |
| 276 | + }, |
| 277 | + "input":{"shape":"DeleteInferenceProfileRequest"}, |
| 278 | + "output":{"shape":"DeleteInferenceProfileResponse"}, |
| 279 | + "errors":[ |
| 280 | + {"shape":"ResourceNotFoundException"}, |
| 281 | + {"shape":"AccessDeniedException"}, |
| 282 | + {"shape":"ValidationException"}, |
| 283 | + {"shape":"ConflictException"}, |
| 284 | + {"shape":"InternalServerException"}, |
| 285 | + {"shape":"ThrottlingException"} |
| 286 | + ], |
| 287 | + "idempotent":true |
| 288 | + }, |
249 | 289 | "DeleteModelInvocationLoggingConfiguration":{
|
250 | 290 | "name":"DeleteModelInvocationLoggingConfiguration",
|
251 | 291 | "http":{
|
|
1053 | 1093 | "version":{"shape":"GuardrailNumericalVersion"}
|
1054 | 1094 | }
|
1055 | 1095 | },
|
| 1096 | + "CreateInferenceProfileRequest":{ |
| 1097 | + "type":"structure", |
| 1098 | + "required":[ |
| 1099 | + "inferenceProfileName", |
| 1100 | + "modelSource" |
| 1101 | + ], |
| 1102 | + "members":{ |
| 1103 | + "inferenceProfileName":{"shape":"InferenceProfileName"}, |
| 1104 | + "description":{"shape":"InferenceProfileDescription"}, |
| 1105 | + "clientRequestToken":{ |
| 1106 | + "shape":"IdempotencyToken", |
| 1107 | + "idempotencyToken":true |
| 1108 | + }, |
| 1109 | + "modelSource":{"shape":"InferenceProfileModelSource"}, |
| 1110 | + "tags":{"shape":"TagList"} |
| 1111 | + } |
| 1112 | + }, |
| 1113 | + "CreateInferenceProfileResponse":{ |
| 1114 | + "type":"structure", |
| 1115 | + "required":["inferenceProfileArn"], |
| 1116 | + "members":{ |
| 1117 | + "inferenceProfileArn":{"shape":"InferenceProfileArn"}, |
| 1118 | + "status":{"shape":"InferenceProfileStatus"} |
| 1119 | + } |
| 1120 | + }, |
1056 | 1121 | "CreateModelCopyJobRequest":{
|
1057 | 1122 | "type":"structure",
|
1058 | 1123 | "required":[
|
|
1294 | 1359 | "members":{
|
1295 | 1360 | }
|
1296 | 1361 | },
|
| 1362 | + "DeleteInferenceProfileRequest":{ |
| 1363 | + "type":"structure", |
| 1364 | + "required":["inferenceProfileIdentifier"], |
| 1365 | + "members":{ |
| 1366 | + "inferenceProfileIdentifier":{ |
| 1367 | + "shape":"InferenceProfileIdentifier", |
| 1368 | + "location":"uri", |
| 1369 | + "locationName":"inferenceProfileIdentifier" |
| 1370 | + } |
| 1371 | + } |
| 1372 | + }, |
| 1373 | + "DeleteInferenceProfileResponse":{ |
| 1374 | + "type":"structure", |
| 1375 | + "members":{ |
| 1376 | + } |
| 1377 | + }, |
1297 | 1378 | "DeleteModelInvocationLoggingConfigurationRequest":{
|
1298 | 1379 | "type":"structure",
|
1299 | 1380 | "members":{
|
|
1485 | 1566 | "type":"string",
|
1486 | 1567 | "max":2048,
|
1487 | 1568 | "min":1,
|
1488 |
| - "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-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))" |
| 1569 | + "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-9]{12}:provisioned-model/[a-z0-9]{12})|([0-9]{12}:imported-model/[a-z0-9]{12})|([0-9]{12}:application-inference-profile/[a-z0-9]{12})|([0-9]{12}:inference-profile/(([a-z]{2}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))))|(([a-z]{2}[.]{1})([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))" |
1489 | 1570 | },
|
1490 | 1571 | "EvaluationModelIdentifiers":{
|
1491 | 1572 | "type":"list",
|
|
1814 | 1895 | "type":"structure",
|
1815 | 1896 | "required":[
|
1816 | 1897 | "inferenceProfileName",
|
1817 |
| - "models", |
1818 | 1898 | "inferenceProfileArn",
|
| 1899 | + "models", |
1819 | 1900 | "inferenceProfileId",
|
1820 | 1901 | "status",
|
1821 | 1902 | "type"
|
1822 | 1903 | ],
|
1823 | 1904 | "members":{
|
1824 | 1905 | "inferenceProfileName":{"shape":"InferenceProfileName"},
|
1825 |
| - "models":{"shape":"InferenceProfileModels"}, |
1826 | 1906 | "description":{"shape":"InferenceProfileDescription"},
|
1827 | 1907 | "createdAt":{"shape":"Timestamp"},
|
1828 | 1908 | "updatedAt":{"shape":"Timestamp"},
|
1829 | 1909 | "inferenceProfileArn":{"shape":"InferenceProfileArn"},
|
| 1910 | + "models":{"shape":"InferenceProfileModels"}, |
1830 | 1911 | "inferenceProfileId":{"shape":"InferenceProfileId"},
|
1831 | 1912 | "status":{"shape":"InferenceProfileStatus"},
|
1832 | 1913 | "type":{"shape":"InferenceProfileType"}
|
|
2688 | 2769 | "type":"string",
|
2689 | 2770 | "max":2048,
|
2690 | 2771 | "min":1,
|
2691 |
| - "pattern":"arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+" |
| 2772 | + "pattern":"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-:.]+" |
2692 | 2773 | },
|
2693 | 2774 | "InferenceProfileDescription":{
|
2694 | 2775 | "type":"string",
|
2695 |
| - "max":500, |
| 2776 | + "max":200, |
2696 | 2777 | "min":1,
|
2697 |
| - "pattern":".+" |
| 2778 | + "pattern":"([0-9a-zA-Z:.][ _-]?)+", |
| 2779 | + "sensitive":true |
2698 | 2780 | },
|
2699 | 2781 | "InferenceProfileId":{
|
2700 | 2782 | "type":"string",
|
|
2706 | 2788 | "type":"string",
|
2707 | 2789 | "max":2048,
|
2708 | 2790 | "min":1,
|
2709 |
| - "pattern":"(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):inference-profile/)?[a-zA-Z0-9-:.]+" |
| 2791 | + "pattern":"(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-:.]+" |
2710 | 2792 | },
|
2711 | 2793 | "InferenceProfileModel":{
|
2712 | 2794 | "type":"structure",
|
2713 | 2795 | "members":{
|
2714 | 2796 | "modelArn":{"shape":"FoundationModelArn"}
|
2715 | 2797 | }
|
2716 | 2798 | },
|
| 2799 | + "InferenceProfileModelSource":{ |
| 2800 | + "type":"structure", |
| 2801 | + "members":{ |
| 2802 | + "copyFrom":{"shape":"InferenceProfileModelSourceArn"} |
| 2803 | + }, |
| 2804 | + "union":true |
| 2805 | + }, |
| 2806 | + "InferenceProfileModelSourceArn":{ |
| 2807 | + "type":"string", |
| 2808 | + "max":2048, |
| 2809 | + "min":1, |
| 2810 | + "pattern":"arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{0,20}):(|[0-9]{12}):(inference-profile|foundation-model)/[a-zA-Z0-9-:.]+" |
| 2811 | + }, |
2717 | 2812 | "InferenceProfileModels":{
|
2718 | 2813 | "type":"list",
|
2719 | 2814 | "member":{"shape":"InferenceProfileModel"},
|
|
2738 | 2833 | "type":"structure",
|
2739 | 2834 | "required":[
|
2740 | 2835 | "inferenceProfileName",
|
2741 |
| - "models", |
2742 | 2836 | "inferenceProfileArn",
|
| 2837 | + "models", |
2743 | 2838 | "inferenceProfileId",
|
2744 | 2839 | "status",
|
2745 | 2840 | "type"
|
2746 | 2841 | ],
|
2747 | 2842 | "members":{
|
2748 | 2843 | "inferenceProfileName":{"shape":"InferenceProfileName"},
|
2749 |
| - "models":{"shape":"InferenceProfileModels"}, |
2750 | 2844 | "description":{"shape":"InferenceProfileDescription"},
|
2751 | 2845 | "createdAt":{"shape":"Timestamp"},
|
2752 | 2846 | "updatedAt":{"shape":"Timestamp"},
|
2753 | 2847 | "inferenceProfileArn":{"shape":"InferenceProfileArn"},
|
| 2848 | + "models":{"shape":"InferenceProfileModels"}, |
2754 | 2849 | "inferenceProfileId":{"shape":"InferenceProfileId"},
|
2755 | 2850 | "status":{"shape":"InferenceProfileStatus"},
|
2756 | 2851 | "type":{"shape":"InferenceProfileType"}
|
2757 | 2852 | }
|
2758 | 2853 | },
|
2759 | 2854 | "InferenceProfileType":{
|
2760 | 2855 | "type":"string",
|
2761 |
| - "enum":["SYSTEM_DEFINED"] |
| 2856 | + "enum":[ |
| 2857 | + "SYSTEM_DEFINED", |
| 2858 | + "APPLICATION" |
| 2859 | + ] |
2762 | 2860 | },
|
2763 | 2861 | "InferenceType":{
|
2764 | 2862 | "type":"string",
|
|
3039 | 3137 | "shape":"PaginationToken",
|
3040 | 3138 | "location":"querystring",
|
3041 | 3139 | "locationName":"nextToken"
|
| 3140 | + }, |
| 3141 | + "typeEquals":{ |
| 3142 | + "shape":"InferenceProfileType", |
| 3143 | + "location":"querystring", |
| 3144 | + "locationName":"type" |
3042 | 3145 | }
|
3043 | 3146 | }
|
3044 | 3147 | },
|
|
3971 | 4074 | "type":"string",
|
3972 | 4075 | "max":1011,
|
3973 | 4076 | "min":20,
|
3974 |
| - "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]+$)|(:(provisioned-model|model-invocation-job|model-evaluation-job|evaluation-job|model-import-job|imported-model)/[a-z0-9]{12}$))).*" |
| 4077 | + "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)/[a-z0-9]{12}$))).*" |
3975 | 4078 | },
|
3976 | 4079 | "ThrottlingException":{
|
3977 | 4080 | "type":"structure",
|
|
0 commit comments