|
379 | 379 | {"shape":"AccessDeniedException"} |
380 | 380 | ] |
381 | 381 | }, |
382 | | - "GetPrediction":{ |
383 | | - "name":"GetPrediction", |
384 | | - "http":{ |
385 | | - "method":"POST", |
386 | | - "requestUri":"/" |
387 | | - }, |
388 | | - "input":{"shape":"GetPredictionRequest"}, |
389 | | - "output":{"shape":"GetPredictionResult"}, |
390 | | - "errors":[ |
391 | | - {"shape":"ValidationException"}, |
392 | | - {"shape":"ResourceNotFoundException"}, |
393 | | - {"shape":"InternalServerException"}, |
394 | | - {"shape":"ThrottlingException"}, |
395 | | - {"shape":"AccessDeniedException"} |
396 | | - ] |
397 | | - }, |
398 | 382 | "GetRules":{ |
399 | 383 | "name":"GetRules", |
400 | 384 | "http":{ |
|
1084 | 1068 | "arn":{"shape":"fraudDetectorArn"} |
1085 | 1069 | } |
1086 | 1070 | }, |
1087 | | - "EventAttributeMap":{ |
1088 | | - "type":"map", |
1089 | | - "key":{"shape":"attributeKey"}, |
1090 | | - "value":{"shape":"attributeValue"} |
1091 | | - }, |
1092 | 1071 | "EventType":{ |
1093 | 1072 | "type":"structure", |
1094 | 1073 | "members":{ |
|
1125 | 1104 | "modelEndpoint":{"shape":"string"}, |
1126 | 1105 | "eventTypeName":{"shape":"identifier"}, |
1127 | 1106 | "modelSource":{"shape":"ModelSource"}, |
1128 | | - "role":{"shape":"Role"}, |
| 1107 | + "invokeModelEndpointRoleArn":{"shape":"string"}, |
1129 | 1108 | "inputConfiguration":{"shape":"ModelInputConfiguration"}, |
1130 | 1109 | "outputConfiguration":{"shape":"ModelOutputConfiguration"}, |
1131 | 1110 | "modelEndpointStatus":{"shape":"ModelEndpointStatus"}, |
|
1237 | 1216 | ], |
1238 | 1217 | "members":{ |
1239 | 1218 | "detectorId":{"shape":"string"}, |
1240 | | - "detectorVersionId":{"shape":"string"}, |
| 1219 | + "detectorVersionId":{"shape":"wholeNumberVersionString"}, |
1241 | 1220 | "eventId":{"shape":"string"}, |
1242 | 1221 | "eventTypeName":{"shape":"string"}, |
1243 | 1222 | "entities":{"shape":"listOfEntities"}, |
|
1361 | 1340 | "nextToken":{"shape":"string"} |
1362 | 1341 | } |
1363 | 1342 | }, |
1364 | | - "GetPredictionRequest":{ |
1365 | | - "type":"structure", |
1366 | | - "required":[ |
1367 | | - "detectorId", |
1368 | | - "eventId" |
1369 | | - ], |
1370 | | - "members":{ |
1371 | | - "detectorId":{"shape":"string"}, |
1372 | | - "detectorVersionId":{"shape":"string"}, |
1373 | | - "eventId":{"shape":"string"}, |
1374 | | - "eventAttributes":{"shape":"EventAttributeMap"}, |
1375 | | - "externalModelEndpointDataBlobs":{"shape":"ExternalModelEndpointDataBlobMap"} |
1376 | | - } |
1377 | | - }, |
1378 | | - "GetPredictionResult":{ |
1379 | | - "type":"structure", |
1380 | | - "members":{ |
1381 | | - "outcomes":{"shape":"ListOfStrings"}, |
1382 | | - "modelScores":{"shape":"ListOfModelScores"}, |
1383 | | - "ruleResults":{"shape":"ListOfRuleResults"} |
1384 | | - } |
1385 | | - }, |
1386 | 1343 | "GetRulesRequest":{ |
1387 | 1344 | "type":"structure", |
1388 | 1345 | "required":["detectorId"], |
|
1616 | 1573 | "ModelVersionStatus":{ |
1617 | 1574 | "type":"string", |
1618 | 1575 | "enum":[ |
1619 | | - "TRAINING_IN_PROGRESS", |
1620 | | - "TRAINING_COMPLETE", |
1621 | | - "ACTIVATE_REQUESTED", |
1622 | | - "ACTIVATE_IN_PROGRESS", |
1623 | 1576 | "ACTIVE", |
1624 | | - "INACTIVATE_IN_PROGRESS", |
1625 | | - "INACTIVE", |
1626 | | - "DELETE_REQUESTED", |
1627 | | - "DELETE_IN_PROGRESS", |
1628 | | - "ERROR" |
| 1577 | + "INACTIVE" |
1629 | 1578 | ] |
1630 | 1579 | }, |
1631 | 1580 | "NameList":{ |
|
1717 | 1666 | "required":[ |
1718 | 1667 | "modelEndpoint", |
1719 | 1668 | "modelSource", |
1720 | | - "role", |
| 1669 | + "invokeModelEndpointRoleArn", |
1721 | 1670 | "inputConfiguration", |
1722 | 1671 | "outputConfiguration", |
1723 | 1672 | "modelEndpointStatus" |
|
1726 | 1675 | "modelEndpoint":{"shape":"sageMakerEndpointIdentifier"}, |
1727 | 1676 | "eventTypeName":{"shape":"identifier"}, |
1728 | 1677 | "modelSource":{"shape":"ModelSource"}, |
1729 | | - "role":{"shape":"Role"}, |
| 1678 | + "invokeModelEndpointRoleArn":{"shape":"string"}, |
1730 | 1679 | "inputConfiguration":{"shape":"ModelInputConfiguration"}, |
1731 | 1680 | "outputConfiguration":{"shape":"ModelOutputConfiguration"}, |
1732 | 1681 | "modelEndpointStatus":{"shape":"ModelEndpointStatus"}, |
|
1786 | 1735 | }, |
1787 | 1736 | "exception":true |
1788 | 1737 | }, |
1789 | | - "Role":{ |
1790 | | - "type":"structure", |
1791 | | - "required":[ |
1792 | | - "arn", |
1793 | | - "name" |
1794 | | - ], |
1795 | | - "members":{ |
1796 | | - "arn":{"shape":"string"}, |
1797 | | - "name":{"shape":"string"} |
1798 | | - } |
1799 | | - }, |
1800 | 1738 | "Rule":{ |
1801 | 1739 | "type":"structure", |
1802 | 1740 | "required":[ |
|
2163 | 2101 | "max":100, |
2164 | 2102 | "min":50 |
2165 | 2103 | }, |
2166 | | - "attributeKey":{ |
2167 | | - "type":"string", |
2168 | | - "max":64, |
2169 | | - "min":1 |
2170 | | - }, |
2171 | | - "attributeValue":{ |
2172 | | - "type":"string", |
2173 | | - "max":256, |
2174 | | - "min":1, |
2175 | | - "sensitive":true |
2176 | | - }, |
2177 | 2104 | "blob":{"type":"blob"}, |
2178 | 2105 | "contentType":{ |
2179 | 2106 | "type":"string", |
|
2216 | 2143 | "float":{"type":"float"}, |
2217 | 2144 | "floatVersionString":{ |
2218 | 2145 | "type":"string", |
| 2146 | + "max":7, |
| 2147 | + "min":3, |
2219 | 2148 | "pattern":"^[1-9][0-9]{0,3}\\.[0-9]{1,2}$" |
2220 | 2149 | }, |
2221 | 2150 | "fraudDetectorArn":{ |
|
2334 | 2263 | }, |
2335 | 2264 | "wholeNumberVersionString":{ |
2336 | 2265 | "type":"string", |
| 2266 | + "max":5, |
| 2267 | + "min":1, |
2337 | 2268 | "pattern":"^([1-9][0-9]*)$" |
2338 | 2269 | } |
2339 | 2270 | } |
|
0 commit comments