|
1112 | 1112 | "required":["datasetMetricConfigs"],
|
1113 | 1113 | "members":{
|
1114 | 1114 | "datasetMetricConfigs":{"shape":"EvaluationDatasetMetricConfigs"},
|
1115 |
| - "evaluatorModelConfig":{"shape":"EvaluatorModelConfig"} |
| 1115 | + "evaluatorModelConfig":{"shape":"EvaluatorModelConfig"}, |
| 1116 | + "customMetricConfig":{"shape":"AutomatedEvaluationCustomMetricConfig"} |
1116 | 1117 | }
|
1117 | 1118 | },
|
| 1119 | + "AutomatedEvaluationCustomMetricConfig":{ |
| 1120 | + "type":"structure", |
| 1121 | + "required":[ |
| 1122 | + "customMetrics", |
| 1123 | + "evaluatorModelConfig" |
| 1124 | + ], |
| 1125 | + "members":{ |
| 1126 | + "customMetrics":{"shape":"AutomatedEvaluationCustomMetrics"}, |
| 1127 | + "evaluatorModelConfig":{"shape":"CustomMetricEvaluatorModelConfig"} |
| 1128 | + } |
| 1129 | + }, |
| 1130 | + "AutomatedEvaluationCustomMetricSource":{ |
| 1131 | + "type":"structure", |
| 1132 | + "members":{ |
| 1133 | + "customMetricDefinition":{"shape":"CustomMetricDefinition"} |
| 1134 | + }, |
| 1135 | + "union":true |
| 1136 | + }, |
| 1137 | + "AutomatedEvaluationCustomMetrics":{ |
| 1138 | + "type":"list", |
| 1139 | + "member":{"shape":"AutomatedEvaluationCustomMetricSource"}, |
| 1140 | + "max":10, |
| 1141 | + "min":1 |
| 1142 | + }, |
1118 | 1143 | "BaseModelIdentifier":{
|
1119 | 1144 | "type":"string",
|
1120 | 1145 | "max":2048,
|
|
1189 | 1214 | "type":"string",
|
1190 | 1215 | "max":2048,
|
1191 | 1216 | "min":1,
|
1192 |
| - "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}([.:]?[a-z0-9-]{1,63}))))|(arn:aws(|-us-gov|-cn|-iso|-iso-b):bedrock:(|[0-9a-z-]{1,20}):(|[0-9]{12}):inference-profile/[a-zA-Z0-9-:.]+)|([a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63}))|(([0-9a-zA-Z][_-]?)+)" |
| 1217 | + "pattern":"(arn:aws(-[^:]+)?:(bedrock|sagemaker):[a-z0-9-]{1,20}:([0-9]{12})?:([a-z-]+/)?)?([a-zA-Z0-9.-]{1,63}){0,2}(([:][a-z0-9-]{1,63}){0,2})?(/[a-z0-9]{1,12})?" |
1193 | 1218 | },
|
1194 | 1219 | "BedrockModelId":{
|
1195 | 1220 | "type":"string",
|
|
1588 | 1613 | "provisionedModelArn":{"shape":"ProvisionedModelArn"}
|
1589 | 1614 | }
|
1590 | 1615 | },
|
| 1616 | + "CustomMetricBedrockEvaluatorModel":{ |
| 1617 | + "type":"structure", |
| 1618 | + "required":["modelIdentifier"], |
| 1619 | + "members":{ |
| 1620 | + "modelIdentifier":{"shape":"EvaluatorModelIdentifier"} |
| 1621 | + } |
| 1622 | + }, |
| 1623 | + "CustomMetricBedrockEvaluatorModels":{ |
| 1624 | + "type":"list", |
| 1625 | + "member":{"shape":"CustomMetricBedrockEvaluatorModel"}, |
| 1626 | + "max":1, |
| 1627 | + "min":1 |
| 1628 | + }, |
| 1629 | + "CustomMetricDefinition":{ |
| 1630 | + "type":"structure", |
| 1631 | + "required":[ |
| 1632 | + "name", |
| 1633 | + "instructions" |
| 1634 | + ], |
| 1635 | + "members":{ |
| 1636 | + "name":{"shape":"MetricName"}, |
| 1637 | + "instructions":{"shape":"CustomMetricInstructions"}, |
| 1638 | + "ratingScale":{"shape":"RatingScale"} |
| 1639 | + }, |
| 1640 | + "sensitive":true |
| 1641 | + }, |
| 1642 | + "CustomMetricEvaluatorModelConfig":{ |
| 1643 | + "type":"structure", |
| 1644 | + "required":["bedrockEvaluatorModels"], |
| 1645 | + "members":{ |
| 1646 | + "bedrockEvaluatorModels":{"shape":"CustomMetricBedrockEvaluatorModels"} |
| 1647 | + } |
| 1648 | + }, |
| 1649 | + "CustomMetricInstructions":{ |
| 1650 | + "type":"string", |
| 1651 | + "max":5000, |
| 1652 | + "min":1 |
| 1653 | + }, |
1591 | 1654 | "CustomModelArn":{
|
1592 | 1655 | "type":"string",
|
1593 | 1656 | "max":1011,
|
|
1841 | 1904 | "type":"string",
|
1842 | 1905 | "max":2048,
|
1843 | 1906 | "min":1,
|
1844 |
| - "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,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:(default-prompt-router|prompt-router)/[a-zA-Z0-9-:.]+)))|(([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}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}" |
| 1907 | + "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,8}.)[a-z0-9-]{1,63}[.]{1}[a-z0-9-]{1,63}([.:]?[a-z0-9-]{1,63})))|([0-9]{12}:(default-prompt-router|prompt-router)/[a-zA-Z0-9-:.]+)))|(([a-z]{2,4}[.]{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}))|arn:aws(-[^:]+)?:sagemaker:[a-z0-9-]{1,20}:[0-9]{12}:endpoint/[a-z0-9-]{1,63}" |
1845 | 1908 | },
|
1846 | 1909 | "EvaluationBedrockModelIdentifiers":{
|
1847 | 1910 | "type":"list",
|
|
1980 | 2043 | "EvaluationMetricNames":{
|
1981 | 2044 | "type":"list",
|
1982 | 2045 | "member":{"shape":"EvaluationMetricName"},
|
1983 |
| - "max":15, |
| 2046 | + "max":25, |
1984 | 2047 | "min":1
|
1985 | 2048 | },
|
1986 | 2049 | "EvaluationModelConfig":{
|
|
2109 | 2172 | "modelIdentifiers":{
|
2110 | 2173 | "shape":"EvaluationBedrockModelIdentifiers",
|
2111 | 2174 | "deprecated":true,
|
2112 |
| - "deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary" |
| 2175 | + "deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary", |
| 2176 | + "deprecatedSince":"2025-03-07" |
2113 | 2177 | },
|
2114 | 2178 | "ragIdentifiers":{
|
2115 | 2179 | "shape":"EvaluationBedrockKnowledgeBaseIdentifiers",
|
2116 | 2180 | "deprecated":true,
|
2117 |
| - "deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary" |
| 2181 | + "deprecatedMessage":"Inference identifiers should be retrieved from the inferenceConfigSummary", |
| 2182 | + "deprecatedSince":"2025-03-07" |
2118 | 2183 | },
|
2119 | 2184 | "evaluatorModelIdentifiers":{"shape":"EvaluatorModelIdentifiers"},
|
| 2185 | + "customMetricsEvaluatorModelIdentifiers":{"shape":"EvaluatorModelIdentifiers"}, |
2120 | 2186 | "inferenceConfigSummary":{"shape":"EvaluationInferenceConfigSummary"},
|
2121 | 2187 | "applicationType":{"shape":"ApplicationType"}
|
2122 | 2188 | }
|
|
2234 | 2300 | "Stopped"
|
2235 | 2301 | ]
|
2236 | 2302 | },
|
| 2303 | + "Float":{ |
| 2304 | + "type":"float", |
| 2305 | + "box":true |
| 2306 | + }, |
2237 | 2307 | "FoundationModelArn":{
|
2238 | 2308 | "type":"string",
|
2239 | 2309 | "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}"
|
|
4448 | 4518 | "type":"float",
|
4449 | 4519 | "box":true
|
4450 | 4520 | },
|
| 4521 | + "MetricName":{ |
| 4522 | + "type":"string", |
| 4523 | + "max":63, |
| 4524 | + "min":1, |
| 4525 | + "pattern":"[0-9a-zA-Z-_.]+", |
| 4526 | + "sensitive":true |
| 4527 | + }, |
4451 | 4528 | "ModelArchitecture":{"type":"string"},
|
4452 | 4529 | "ModelArn":{
|
4453 | 4530 | "type":"string",
|
4454 | 4531 | "max":1011,
|
4455 | 4532 | "min":20,
|
4456 |
| - "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}[.]){0,2}[a-z0-9-]{1,63}([:][a-z0-9-]{1,63}){0,2}))" |
| 4533 | + "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-]{1,63}){0,2})?/[a-z0-9]{12})|(: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}))" |
4457 | 4534 | },
|
4458 | 4535 | "ModelCopyJobArn":{
|
4459 | 4536 | "type":"string",
|
|
4989 | 5066 | "max":1,
|
4990 | 5067 | "min":1
|
4991 | 5068 | },
|
| 5069 | + "RatingScale":{ |
| 5070 | + "type":"list", |
| 5071 | + "member":{"shape":"RatingScaleItem"}, |
| 5072 | + "max":10, |
| 5073 | + "min":1 |
| 5074 | + }, |
| 5075 | + "RatingScaleItem":{ |
| 5076 | + "type":"structure", |
| 5077 | + "required":[ |
| 5078 | + "definition", |
| 5079 | + "value" |
| 5080 | + ], |
| 5081 | + "members":{ |
| 5082 | + "definition":{"shape":"RatingScaleItemDefinition"}, |
| 5083 | + "value":{"shape":"RatingScaleItemValue"} |
| 5084 | + } |
| 5085 | + }, |
| 5086 | + "RatingScaleItemDefinition":{ |
| 5087 | + "type":"string", |
| 5088 | + "max":100, |
| 5089 | + "min":1 |
| 5090 | + }, |
| 5091 | + "RatingScaleItemValue":{ |
| 5092 | + "type":"structure", |
| 5093 | + "members":{ |
| 5094 | + "stringValue":{"shape":"RatingScaleItemValueStringValueString"}, |
| 5095 | + "floatValue":{"shape":"Float"} |
| 5096 | + }, |
| 5097 | + "union":true |
| 5098 | + }, |
| 5099 | + "RatingScaleItemValueStringValueString":{ |
| 5100 | + "type":"string", |
| 5101 | + "max":100, |
| 5102 | + "min":1 |
| 5103 | + }, |
4992 | 5104 | "RegisterMarketplaceModelEndpointRequest":{
|
4993 | 5105 | "type":"structure",
|
4994 | 5106 | "required":[
|
|
5166 | 5278 | "type":"string",
|
5167 | 5279 | "max":1024,
|
5168 | 5280 | "min":1,
|
5169 |
| - "pattern":"s3://[a-z0-9][-.a-z0-9]{1,61}(?:/[-!_*'().a-z0-9A-Z]+(?:/[-!_*'().a-z0-9A-Z]+)*)?/?" |
| 5281 | + "pattern":"s3://[a-z0-9][-.a-z0-9]{1,61}[a-z0-9](?:/[-!_*'().a-z0-9A-Z]+(?:/[-!_*'().a-z0-9A-Z]+)*)?/?" |
5170 | 5282 | },
|
5171 | 5283 | "SageMakerEndpoint":{
|
5172 | 5284 | "type":"structure",
|
|
0 commit comments