api-2.json 51 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977
  1. {
  2. "version":"2.0",
  3. "metadata":{
  4. "apiVersion":"2014-12-12",
  5. "endpointPrefix":"machinelearning",
  6. "jsonVersion":"1.1",
  7. "serviceFullName":"Amazon Machine Learning",
  8. "signatureVersion":"v4",
  9. "targetPrefix":"AmazonML_20141212",
  10. "protocol":"json"
  11. },
  12. "operations":{
  13. "AddTags":{
  14. "name":"AddTags",
  15. "http":{
  16. "method":"POST",
  17. "requestUri":"/"
  18. },
  19. "input":{"shape":"AddTagsInput"},
  20. "output":{"shape":"AddTagsOutput"},
  21. "errors":[
  22. {
  23. "shape":"InvalidInputException",
  24. "error":{"httpStatusCode":400},
  25. "exception":true
  26. },
  27. {
  28. "shape":"InvalidTagException",
  29. "exception":true
  30. },
  31. {
  32. "shape":"TagLimitExceededException",
  33. "exception":true
  34. },
  35. {
  36. "shape":"ResourceNotFoundException",
  37. "error":{"httpStatusCode":404},
  38. "exception":true
  39. },
  40. {
  41. "shape":"InternalServerException",
  42. "error":{"httpStatusCode":500},
  43. "exception":true,
  44. "fault":true
  45. }
  46. ]
  47. },
  48. "CreateBatchPrediction":{
  49. "name":"CreateBatchPrediction",
  50. "http":{
  51. "method":"POST",
  52. "requestUri":"/"
  53. },
  54. "input":{"shape":"CreateBatchPredictionInput"},
  55. "output":{"shape":"CreateBatchPredictionOutput"},
  56. "errors":[
  57. {
  58. "shape":"InvalidInputException",
  59. "error":{"httpStatusCode":400},
  60. "exception":true
  61. },
  62. {
  63. "shape":"InternalServerException",
  64. "error":{"httpStatusCode":500},
  65. "exception":true,
  66. "fault":true
  67. },
  68. {
  69. "shape":"IdempotentParameterMismatchException",
  70. "error":{"httpStatusCode":400},
  71. "exception":true
  72. }
  73. ]
  74. },
  75. "CreateDataSourceFromRDS":{
  76. "name":"CreateDataSourceFromRDS",
  77. "http":{
  78. "method":"POST",
  79. "requestUri":"/"
  80. },
  81. "input":{"shape":"CreateDataSourceFromRDSInput"},
  82. "output":{"shape":"CreateDataSourceFromRDSOutput"},
  83. "errors":[
  84. {
  85. "shape":"InvalidInputException",
  86. "error":{"httpStatusCode":400},
  87. "exception":true
  88. },
  89. {
  90. "shape":"InternalServerException",
  91. "error":{"httpStatusCode":500},
  92. "exception":true,
  93. "fault":true
  94. },
  95. {
  96. "shape":"IdempotentParameterMismatchException",
  97. "error":{"httpStatusCode":400},
  98. "exception":true
  99. }
  100. ]
  101. },
  102. "CreateDataSourceFromRedshift":{
  103. "name":"CreateDataSourceFromRedshift",
  104. "http":{
  105. "method":"POST",
  106. "requestUri":"/"
  107. },
  108. "input":{"shape":"CreateDataSourceFromRedshiftInput"},
  109. "output":{"shape":"CreateDataSourceFromRedshiftOutput"},
  110. "errors":[
  111. {
  112. "shape":"InvalidInputException",
  113. "error":{"httpStatusCode":400},
  114. "exception":true
  115. },
  116. {
  117. "shape":"InternalServerException",
  118. "error":{"httpStatusCode":500},
  119. "exception":true,
  120. "fault":true
  121. },
  122. {
  123. "shape":"IdempotentParameterMismatchException",
  124. "error":{"httpStatusCode":400},
  125. "exception":true
  126. }
  127. ]
  128. },
  129. "CreateDataSourceFromS3":{
  130. "name":"CreateDataSourceFromS3",
  131. "http":{
  132. "method":"POST",
  133. "requestUri":"/"
  134. },
  135. "input":{"shape":"CreateDataSourceFromS3Input"},
  136. "output":{"shape":"CreateDataSourceFromS3Output"},
  137. "errors":[
  138. {
  139. "shape":"InvalidInputException",
  140. "error":{"httpStatusCode":400},
  141. "exception":true
  142. },
  143. {
  144. "shape":"InternalServerException",
  145. "error":{"httpStatusCode":500},
  146. "exception":true,
  147. "fault":true
  148. },
  149. {
  150. "shape":"IdempotentParameterMismatchException",
  151. "error":{"httpStatusCode":400},
  152. "exception":true
  153. }
  154. ]
  155. },
  156. "CreateEvaluation":{
  157. "name":"CreateEvaluation",
  158. "http":{
  159. "method":"POST",
  160. "requestUri":"/"
  161. },
  162. "input":{"shape":"CreateEvaluationInput"},
  163. "output":{"shape":"CreateEvaluationOutput"},
  164. "errors":[
  165. {
  166. "shape":"InvalidInputException",
  167. "error":{"httpStatusCode":400},
  168. "exception":true
  169. },
  170. {
  171. "shape":"InternalServerException",
  172. "error":{"httpStatusCode":500},
  173. "exception":true,
  174. "fault":true
  175. },
  176. {
  177. "shape":"IdempotentParameterMismatchException",
  178. "error":{"httpStatusCode":400},
  179. "exception":true
  180. }
  181. ]
  182. },
  183. "CreateMLModel":{
  184. "name":"CreateMLModel",
  185. "http":{
  186. "method":"POST",
  187. "requestUri":"/"
  188. },
  189. "input":{"shape":"CreateMLModelInput"},
  190. "output":{"shape":"CreateMLModelOutput"},
  191. "errors":[
  192. {
  193. "shape":"InvalidInputException",
  194. "error":{"httpStatusCode":400},
  195. "exception":true
  196. },
  197. {
  198. "shape":"InternalServerException",
  199. "error":{"httpStatusCode":500},
  200. "exception":true,
  201. "fault":true
  202. },
  203. {
  204. "shape":"IdempotentParameterMismatchException",
  205. "error":{"httpStatusCode":400},
  206. "exception":true
  207. }
  208. ]
  209. },
  210. "CreateRealtimeEndpoint":{
  211. "name":"CreateRealtimeEndpoint",
  212. "http":{
  213. "method":"POST",
  214. "requestUri":"/"
  215. },
  216. "input":{"shape":"CreateRealtimeEndpointInput"},
  217. "output":{"shape":"CreateRealtimeEndpointOutput"},
  218. "errors":[
  219. {
  220. "shape":"InvalidInputException",
  221. "error":{"httpStatusCode":400},
  222. "exception":true
  223. },
  224. {
  225. "shape":"ResourceNotFoundException",
  226. "error":{"httpStatusCode":404},
  227. "exception":true
  228. },
  229. {
  230. "shape":"InternalServerException",
  231. "error":{"httpStatusCode":500},
  232. "exception":true,
  233. "fault":true
  234. }
  235. ]
  236. },
  237. "DeleteBatchPrediction":{
  238. "name":"DeleteBatchPrediction",
  239. "http":{
  240. "method":"POST",
  241. "requestUri":"/"
  242. },
  243. "input":{"shape":"DeleteBatchPredictionInput"},
  244. "output":{"shape":"DeleteBatchPredictionOutput"},
  245. "errors":[
  246. {
  247. "shape":"InvalidInputException",
  248. "error":{"httpStatusCode":400},
  249. "exception":true
  250. },
  251. {
  252. "shape":"ResourceNotFoundException",
  253. "error":{"httpStatusCode":404},
  254. "exception":true
  255. },
  256. {
  257. "shape":"InternalServerException",
  258. "error":{"httpStatusCode":500},
  259. "exception":true,
  260. "fault":true
  261. }
  262. ]
  263. },
  264. "DeleteDataSource":{
  265. "name":"DeleteDataSource",
  266. "http":{
  267. "method":"POST",
  268. "requestUri":"/"
  269. },
  270. "input":{"shape":"DeleteDataSourceInput"},
  271. "output":{"shape":"DeleteDataSourceOutput"},
  272. "errors":[
  273. {
  274. "shape":"InvalidInputException",
  275. "error":{"httpStatusCode":400},
  276. "exception":true
  277. },
  278. {
  279. "shape":"ResourceNotFoundException",
  280. "error":{"httpStatusCode":404},
  281. "exception":true
  282. },
  283. {
  284. "shape":"InternalServerException",
  285. "error":{"httpStatusCode":500},
  286. "exception":true,
  287. "fault":true
  288. }
  289. ]
  290. },
  291. "DeleteEvaluation":{
  292. "name":"DeleteEvaluation",
  293. "http":{
  294. "method":"POST",
  295. "requestUri":"/"
  296. },
  297. "input":{"shape":"DeleteEvaluationInput"},
  298. "output":{"shape":"DeleteEvaluationOutput"},
  299. "errors":[
  300. {
  301. "shape":"InvalidInputException",
  302. "error":{"httpStatusCode":400},
  303. "exception":true
  304. },
  305. {
  306. "shape":"ResourceNotFoundException",
  307. "error":{"httpStatusCode":404},
  308. "exception":true
  309. },
  310. {
  311. "shape":"InternalServerException",
  312. "error":{"httpStatusCode":500},
  313. "exception":true,
  314. "fault":true
  315. }
  316. ]
  317. },
  318. "DeleteMLModel":{
  319. "name":"DeleteMLModel",
  320. "http":{
  321. "method":"POST",
  322. "requestUri":"/"
  323. },
  324. "input":{"shape":"DeleteMLModelInput"},
  325. "output":{"shape":"DeleteMLModelOutput"},
  326. "errors":[
  327. {
  328. "shape":"InvalidInputException",
  329. "error":{"httpStatusCode":400},
  330. "exception":true
  331. },
  332. {
  333. "shape":"ResourceNotFoundException",
  334. "error":{"httpStatusCode":404},
  335. "exception":true
  336. },
  337. {
  338. "shape":"InternalServerException",
  339. "error":{"httpStatusCode":500},
  340. "exception":true,
  341. "fault":true
  342. }
  343. ]
  344. },
  345. "DeleteRealtimeEndpoint":{
  346. "name":"DeleteRealtimeEndpoint",
  347. "http":{
  348. "method":"POST",
  349. "requestUri":"/"
  350. },
  351. "input":{"shape":"DeleteRealtimeEndpointInput"},
  352. "output":{"shape":"DeleteRealtimeEndpointOutput"},
  353. "errors":[
  354. {
  355. "shape":"InvalidInputException",
  356. "error":{"httpStatusCode":400},
  357. "exception":true
  358. },
  359. {
  360. "shape":"ResourceNotFoundException",
  361. "error":{"httpStatusCode":404},
  362. "exception":true
  363. },
  364. {
  365. "shape":"InternalServerException",
  366. "error":{"httpStatusCode":500},
  367. "exception":true,
  368. "fault":true
  369. }
  370. ]
  371. },
  372. "DeleteTags":{
  373. "name":"DeleteTags",
  374. "http":{
  375. "method":"POST",
  376. "requestUri":"/"
  377. },
  378. "input":{"shape":"DeleteTagsInput"},
  379. "output":{"shape":"DeleteTagsOutput"},
  380. "errors":[
  381. {
  382. "shape":"InvalidInputException",
  383. "error":{"httpStatusCode":400},
  384. "exception":true
  385. },
  386. {
  387. "shape":"InvalidTagException",
  388. "exception":true
  389. },
  390. {
  391. "shape":"ResourceNotFoundException",
  392. "error":{"httpStatusCode":404},
  393. "exception":true
  394. },
  395. {
  396. "shape":"InternalServerException",
  397. "error":{"httpStatusCode":500},
  398. "exception":true,
  399. "fault":true
  400. }
  401. ]
  402. },
  403. "DescribeBatchPredictions":{
  404. "name":"DescribeBatchPredictions",
  405. "http":{
  406. "method":"POST",
  407. "requestUri":"/"
  408. },
  409. "input":{"shape":"DescribeBatchPredictionsInput"},
  410. "output":{"shape":"DescribeBatchPredictionsOutput"},
  411. "errors":[
  412. {
  413. "shape":"InvalidInputException",
  414. "error":{"httpStatusCode":400},
  415. "exception":true
  416. },
  417. {
  418. "shape":"InternalServerException",
  419. "error":{"httpStatusCode":500},
  420. "exception":true,
  421. "fault":true
  422. }
  423. ]
  424. },
  425. "DescribeDataSources":{
  426. "name":"DescribeDataSources",
  427. "http":{
  428. "method":"POST",
  429. "requestUri":"/"
  430. },
  431. "input":{"shape":"DescribeDataSourcesInput"},
  432. "output":{"shape":"DescribeDataSourcesOutput"},
  433. "errors":[
  434. {
  435. "shape":"InvalidInputException",
  436. "error":{"httpStatusCode":400},
  437. "exception":true
  438. },
  439. {
  440. "shape":"InternalServerException",
  441. "error":{"httpStatusCode":500},
  442. "exception":true,
  443. "fault":true
  444. }
  445. ]
  446. },
  447. "DescribeEvaluations":{
  448. "name":"DescribeEvaluations",
  449. "http":{
  450. "method":"POST",
  451. "requestUri":"/"
  452. },
  453. "input":{"shape":"DescribeEvaluationsInput"},
  454. "output":{"shape":"DescribeEvaluationsOutput"},
  455. "errors":[
  456. {
  457. "shape":"InvalidInputException",
  458. "error":{"httpStatusCode":400},
  459. "exception":true
  460. },
  461. {
  462. "shape":"InternalServerException",
  463. "error":{"httpStatusCode":500},
  464. "exception":true,
  465. "fault":true
  466. }
  467. ]
  468. },
  469. "DescribeMLModels":{
  470. "name":"DescribeMLModels",
  471. "http":{
  472. "method":"POST",
  473. "requestUri":"/"
  474. },
  475. "input":{"shape":"DescribeMLModelsInput"},
  476. "output":{"shape":"DescribeMLModelsOutput"},
  477. "errors":[
  478. {
  479. "shape":"InvalidInputException",
  480. "error":{"httpStatusCode":400},
  481. "exception":true
  482. },
  483. {
  484. "shape":"InternalServerException",
  485. "error":{"httpStatusCode":500},
  486. "exception":true,
  487. "fault":true
  488. }
  489. ]
  490. },
  491. "DescribeTags":{
  492. "name":"DescribeTags",
  493. "http":{
  494. "method":"POST",
  495. "requestUri":"/"
  496. },
  497. "input":{"shape":"DescribeTagsInput"},
  498. "output":{"shape":"DescribeTagsOutput"},
  499. "errors":[
  500. {
  501. "shape":"InvalidInputException",
  502. "error":{"httpStatusCode":400},
  503. "exception":true
  504. },
  505. {
  506. "shape":"ResourceNotFoundException",
  507. "error":{"httpStatusCode":404},
  508. "exception":true
  509. },
  510. {
  511. "shape":"InternalServerException",
  512. "error":{"httpStatusCode":500},
  513. "exception":true,
  514. "fault":true
  515. }
  516. ]
  517. },
  518. "GetBatchPrediction":{
  519. "name":"GetBatchPrediction",
  520. "http":{
  521. "method":"POST",
  522. "requestUri":"/"
  523. },
  524. "input":{"shape":"GetBatchPredictionInput"},
  525. "output":{"shape":"GetBatchPredictionOutput"},
  526. "errors":[
  527. {
  528. "shape":"InvalidInputException",
  529. "error":{"httpStatusCode":400},
  530. "exception":true
  531. },
  532. {
  533. "shape":"ResourceNotFoundException",
  534. "error":{"httpStatusCode":404},
  535. "exception":true
  536. },
  537. {
  538. "shape":"InternalServerException",
  539. "error":{"httpStatusCode":500},
  540. "exception":true,
  541. "fault":true
  542. }
  543. ]
  544. },
  545. "GetDataSource":{
  546. "name":"GetDataSource",
  547. "http":{
  548. "method":"POST",
  549. "requestUri":"/"
  550. },
  551. "input":{"shape":"GetDataSourceInput"},
  552. "output":{"shape":"GetDataSourceOutput"},
  553. "errors":[
  554. {
  555. "shape":"InvalidInputException",
  556. "error":{"httpStatusCode":400},
  557. "exception":true
  558. },
  559. {
  560. "shape":"ResourceNotFoundException",
  561. "error":{"httpStatusCode":404},
  562. "exception":true
  563. },
  564. {
  565. "shape":"InternalServerException",
  566. "error":{"httpStatusCode":500},
  567. "exception":true,
  568. "fault":true
  569. }
  570. ]
  571. },
  572. "GetEvaluation":{
  573. "name":"GetEvaluation",
  574. "http":{
  575. "method":"POST",
  576. "requestUri":"/"
  577. },
  578. "input":{"shape":"GetEvaluationInput"},
  579. "output":{"shape":"GetEvaluationOutput"},
  580. "errors":[
  581. {
  582. "shape":"InvalidInputException",
  583. "error":{"httpStatusCode":400},
  584. "exception":true
  585. },
  586. {
  587. "shape":"ResourceNotFoundException",
  588. "error":{"httpStatusCode":404},
  589. "exception":true
  590. },
  591. {
  592. "shape":"InternalServerException",
  593. "error":{"httpStatusCode":500},
  594. "exception":true,
  595. "fault":true
  596. }
  597. ]
  598. },
  599. "GetMLModel":{
  600. "name":"GetMLModel",
  601. "http":{
  602. "method":"POST",
  603. "requestUri":"/"
  604. },
  605. "input":{"shape":"GetMLModelInput"},
  606. "output":{"shape":"GetMLModelOutput"},
  607. "errors":[
  608. {
  609. "shape":"InvalidInputException",
  610. "error":{"httpStatusCode":400},
  611. "exception":true
  612. },
  613. {
  614. "shape":"ResourceNotFoundException",
  615. "error":{"httpStatusCode":404},
  616. "exception":true
  617. },
  618. {
  619. "shape":"InternalServerException",
  620. "error":{"httpStatusCode":500},
  621. "exception":true,
  622. "fault":true
  623. }
  624. ]
  625. },
  626. "Predict":{
  627. "name":"Predict",
  628. "http":{
  629. "method":"POST",
  630. "requestUri":"/"
  631. },
  632. "input":{"shape":"PredictInput"},
  633. "output":{"shape":"PredictOutput"},
  634. "errors":[
  635. {
  636. "shape":"InvalidInputException",
  637. "error":{"httpStatusCode":400},
  638. "exception":true
  639. },
  640. {
  641. "shape":"ResourceNotFoundException",
  642. "error":{"httpStatusCode":404},
  643. "exception":true
  644. },
  645. {
  646. "shape":"LimitExceededException",
  647. "error":{"httpStatusCode":417},
  648. "exception":true
  649. },
  650. {
  651. "shape":"InternalServerException",
  652. "error":{"httpStatusCode":500},
  653. "exception":true,
  654. "fault":true
  655. },
  656. {
  657. "shape":"PredictorNotMountedException",
  658. "error":{"httpStatusCode":400},
  659. "exception":true
  660. }
  661. ]
  662. },
  663. "UpdateBatchPrediction":{
  664. "name":"UpdateBatchPrediction",
  665. "http":{
  666. "method":"POST",
  667. "requestUri":"/"
  668. },
  669. "input":{"shape":"UpdateBatchPredictionInput"},
  670. "output":{"shape":"UpdateBatchPredictionOutput"},
  671. "errors":[
  672. {
  673. "shape":"InvalidInputException",
  674. "error":{"httpStatusCode":400},
  675. "exception":true
  676. },
  677. {
  678. "shape":"ResourceNotFoundException",
  679. "error":{"httpStatusCode":404},
  680. "exception":true
  681. },
  682. {
  683. "shape":"InternalServerException",
  684. "error":{"httpStatusCode":500},
  685. "exception":true,
  686. "fault":true
  687. }
  688. ]
  689. },
  690. "UpdateDataSource":{
  691. "name":"UpdateDataSource",
  692. "http":{
  693. "method":"POST",
  694. "requestUri":"/"
  695. },
  696. "input":{"shape":"UpdateDataSourceInput"},
  697. "output":{"shape":"UpdateDataSourceOutput"},
  698. "errors":[
  699. {
  700. "shape":"InvalidInputException",
  701. "error":{"httpStatusCode":400},
  702. "exception":true
  703. },
  704. {
  705. "shape":"ResourceNotFoundException",
  706. "error":{"httpStatusCode":404},
  707. "exception":true
  708. },
  709. {
  710. "shape":"InternalServerException",
  711. "error":{"httpStatusCode":500},
  712. "exception":true,
  713. "fault":true
  714. }
  715. ]
  716. },
  717. "UpdateEvaluation":{
  718. "name":"UpdateEvaluation",
  719. "http":{
  720. "method":"POST",
  721. "requestUri":"/"
  722. },
  723. "input":{"shape":"UpdateEvaluationInput"},
  724. "output":{"shape":"UpdateEvaluationOutput"},
  725. "errors":[
  726. {
  727. "shape":"InvalidInputException",
  728. "error":{"httpStatusCode":400},
  729. "exception":true
  730. },
  731. {
  732. "shape":"ResourceNotFoundException",
  733. "error":{"httpStatusCode":404},
  734. "exception":true
  735. },
  736. {
  737. "shape":"InternalServerException",
  738. "error":{"httpStatusCode":500},
  739. "exception":true,
  740. "fault":true
  741. }
  742. ]
  743. },
  744. "UpdateMLModel":{
  745. "name":"UpdateMLModel",
  746. "http":{
  747. "method":"POST",
  748. "requestUri":"/"
  749. },
  750. "input":{"shape":"UpdateMLModelInput"},
  751. "output":{"shape":"UpdateMLModelOutput"},
  752. "errors":[
  753. {
  754. "shape":"InvalidInputException",
  755. "error":{"httpStatusCode":400},
  756. "exception":true
  757. },
  758. {
  759. "shape":"ResourceNotFoundException",
  760. "error":{"httpStatusCode":404},
  761. "exception":true
  762. },
  763. {
  764. "shape":"InternalServerException",
  765. "error":{"httpStatusCode":500},
  766. "exception":true,
  767. "fault":true
  768. }
  769. ]
  770. }
  771. },
  772. "shapes":{
  773. "AddTagsInput":{
  774. "type":"structure",
  775. "required":[
  776. "Tags",
  777. "ResourceId",
  778. "ResourceType"
  779. ],
  780. "members":{
  781. "Tags":{"shape":"TagList"},
  782. "ResourceId":{"shape":"EntityId"},
  783. "ResourceType":{"shape":"TaggableResourceType"}
  784. }
  785. },
  786. "AddTagsOutput":{
  787. "type":"structure",
  788. "members":{
  789. "ResourceId":{"shape":"EntityId"},
  790. "ResourceType":{"shape":"TaggableResourceType"}
  791. }
  792. },
  793. "Algorithm":{
  794. "type":"string",
  795. "enum":["sgd"]
  796. },
  797. "AwsUserArn":{
  798. "type":"string",
  799. "pattern":"arn:aws:iam::[0-9]+:((user/.+)|(root))"
  800. },
  801. "BatchPrediction":{
  802. "type":"structure",
  803. "members":{
  804. "BatchPredictionId":{"shape":"EntityId"},
  805. "MLModelId":{"shape":"EntityId"},
  806. "BatchPredictionDataSourceId":{"shape":"EntityId"},
  807. "InputDataLocationS3":{"shape":"S3Url"},
  808. "CreatedByIamUser":{"shape":"AwsUserArn"},
  809. "CreatedAt":{"shape":"EpochTime"},
  810. "LastUpdatedAt":{"shape":"EpochTime"},
  811. "Name":{"shape":"EntityName"},
  812. "Status":{"shape":"EntityStatus"},
  813. "OutputUri":{"shape":"S3Url"},
  814. "Message":{"shape":"Message"},
  815. "ComputeTime":{"shape":"LongType"},
  816. "FinishedAt":{"shape":"EpochTime"},
  817. "StartedAt":{"shape":"EpochTime"},
  818. "TotalRecordCount":{"shape":"LongType"},
  819. "InvalidRecordCount":{"shape":"LongType"}
  820. }
  821. },
  822. "BatchPredictionFilterVariable":{
  823. "type":"string",
  824. "enum":[
  825. "CreatedAt",
  826. "LastUpdatedAt",
  827. "Status",
  828. "Name",
  829. "IAMUser",
  830. "MLModelId",
  831. "DataSourceId",
  832. "DataURI"
  833. ]
  834. },
  835. "BatchPredictions":{
  836. "type":"list",
  837. "member":{"shape":"BatchPrediction"}
  838. },
  839. "ComparatorValue":{
  840. "type":"string",
  841. "max":1024,
  842. "pattern":".*\\S.*|^$"
  843. },
  844. "ComputeStatistics":{"type":"boolean"},
  845. "CreateBatchPredictionInput":{
  846. "type":"structure",
  847. "required":[
  848. "BatchPredictionId",
  849. "MLModelId",
  850. "BatchPredictionDataSourceId",
  851. "OutputUri"
  852. ],
  853. "members":{
  854. "BatchPredictionId":{"shape":"EntityId"},
  855. "BatchPredictionName":{"shape":"EntityName"},
  856. "MLModelId":{"shape":"EntityId"},
  857. "BatchPredictionDataSourceId":{"shape":"EntityId"},
  858. "OutputUri":{"shape":"S3Url"}
  859. }
  860. },
  861. "CreateBatchPredictionOutput":{
  862. "type":"structure",
  863. "members":{
  864. "BatchPredictionId":{"shape":"EntityId"}
  865. }
  866. },
  867. "CreateDataSourceFromRDSInput":{
  868. "type":"structure",
  869. "required":[
  870. "DataSourceId",
  871. "RDSData",
  872. "RoleARN"
  873. ],
  874. "members":{
  875. "DataSourceId":{"shape":"EntityId"},
  876. "DataSourceName":{"shape":"EntityName"},
  877. "RDSData":{"shape":"RDSDataSpec"},
  878. "RoleARN":{"shape":"RoleARN"},
  879. "ComputeStatistics":{"shape":"ComputeStatistics"}
  880. }
  881. },
  882. "CreateDataSourceFromRDSOutput":{
  883. "type":"structure",
  884. "members":{
  885. "DataSourceId":{"shape":"EntityId"}
  886. }
  887. },
  888. "CreateDataSourceFromRedshiftInput":{
  889. "type":"structure",
  890. "required":[
  891. "DataSourceId",
  892. "DataSpec",
  893. "RoleARN"
  894. ],
  895. "members":{
  896. "DataSourceId":{"shape":"EntityId"},
  897. "DataSourceName":{"shape":"EntityName"},
  898. "DataSpec":{"shape":"RedshiftDataSpec"},
  899. "RoleARN":{"shape":"RoleARN"},
  900. "ComputeStatistics":{"shape":"ComputeStatistics"}
  901. }
  902. },
  903. "CreateDataSourceFromRedshiftOutput":{
  904. "type":"structure",
  905. "members":{
  906. "DataSourceId":{"shape":"EntityId"}
  907. }
  908. },
  909. "CreateDataSourceFromS3Input":{
  910. "type":"structure",
  911. "required":[
  912. "DataSourceId",
  913. "DataSpec"
  914. ],
  915. "members":{
  916. "DataSourceId":{"shape":"EntityId"},
  917. "DataSourceName":{"shape":"EntityName"},
  918. "DataSpec":{"shape":"S3DataSpec"},
  919. "ComputeStatistics":{"shape":"ComputeStatistics"}
  920. }
  921. },
  922. "CreateDataSourceFromS3Output":{
  923. "type":"structure",
  924. "members":{
  925. "DataSourceId":{"shape":"EntityId"}
  926. }
  927. },
  928. "CreateEvaluationInput":{
  929. "type":"structure",
  930. "required":[
  931. "EvaluationId",
  932. "MLModelId",
  933. "EvaluationDataSourceId"
  934. ],
  935. "members":{
  936. "EvaluationId":{"shape":"EntityId"},
  937. "EvaluationName":{"shape":"EntityName"},
  938. "MLModelId":{"shape":"EntityId"},
  939. "EvaluationDataSourceId":{"shape":"EntityId"}
  940. }
  941. },
  942. "CreateEvaluationOutput":{
  943. "type":"structure",
  944. "members":{
  945. "EvaluationId":{"shape":"EntityId"}
  946. }
  947. },
  948. "CreateMLModelInput":{
  949. "type":"structure",
  950. "required":[
  951. "MLModelId",
  952. "MLModelType",
  953. "TrainingDataSourceId"
  954. ],
  955. "members":{
  956. "MLModelId":{"shape":"EntityId"},
  957. "MLModelName":{"shape":"EntityName"},
  958. "MLModelType":{"shape":"MLModelType"},
  959. "Parameters":{"shape":"TrainingParameters"},
  960. "TrainingDataSourceId":{"shape":"EntityId"},
  961. "Recipe":{"shape":"Recipe"},
  962. "RecipeUri":{"shape":"S3Url"}
  963. }
  964. },
  965. "CreateMLModelOutput":{
  966. "type":"structure",
  967. "members":{
  968. "MLModelId":{"shape":"EntityId"}
  969. }
  970. },
  971. "CreateRealtimeEndpointInput":{
  972. "type":"structure",
  973. "required":["MLModelId"],
  974. "members":{
  975. "MLModelId":{"shape":"EntityId"}
  976. }
  977. },
  978. "CreateRealtimeEndpointOutput":{
  979. "type":"structure",
  980. "members":{
  981. "MLModelId":{"shape":"EntityId"},
  982. "RealtimeEndpointInfo":{"shape":"RealtimeEndpointInfo"}
  983. }
  984. },
  985. "DataRearrangement":{"type":"string"},
  986. "DataSchema":{
  987. "type":"string",
  988. "max":131071
  989. },
  990. "DataSource":{
  991. "type":"structure",
  992. "members":{
  993. "DataSourceId":{"shape":"EntityId"},
  994. "DataLocationS3":{"shape":"S3Url"},
  995. "DataRearrangement":{"shape":"DataRearrangement"},
  996. "CreatedByIamUser":{"shape":"AwsUserArn"},
  997. "CreatedAt":{"shape":"EpochTime"},
  998. "LastUpdatedAt":{"shape":"EpochTime"},
  999. "DataSizeInBytes":{"shape":"LongType"},
  1000. "NumberOfFiles":{"shape":"LongType"},
  1001. "Name":{"shape":"EntityName"},
  1002. "Status":{"shape":"EntityStatus"},
  1003. "Message":{"shape":"Message"},
  1004. "RedshiftMetadata":{"shape":"RedshiftMetadata"},
  1005. "RDSMetadata":{"shape":"RDSMetadata"},
  1006. "RoleARN":{"shape":"RoleARN"},
  1007. "ComputeStatistics":{"shape":"ComputeStatistics"},
  1008. "ComputeTime":{"shape":"LongType"},
  1009. "FinishedAt":{"shape":"EpochTime"},
  1010. "StartedAt":{"shape":"EpochTime"}
  1011. }
  1012. },
  1013. "DataSourceFilterVariable":{
  1014. "type":"string",
  1015. "enum":[
  1016. "CreatedAt",
  1017. "LastUpdatedAt",
  1018. "Status",
  1019. "Name",
  1020. "DataLocationS3",
  1021. "IAMUser"
  1022. ]
  1023. },
  1024. "DataSources":{
  1025. "type":"list",
  1026. "member":{"shape":"DataSource"}
  1027. },
  1028. "DeleteBatchPredictionInput":{
  1029. "type":"structure",
  1030. "required":["BatchPredictionId"],
  1031. "members":{
  1032. "BatchPredictionId":{"shape":"EntityId"}
  1033. }
  1034. },
  1035. "DeleteBatchPredictionOutput":{
  1036. "type":"structure",
  1037. "members":{
  1038. "BatchPredictionId":{"shape":"EntityId"}
  1039. }
  1040. },
  1041. "DeleteDataSourceInput":{
  1042. "type":"structure",
  1043. "required":["DataSourceId"],
  1044. "members":{
  1045. "DataSourceId":{"shape":"EntityId"}
  1046. }
  1047. },
  1048. "DeleteDataSourceOutput":{
  1049. "type":"structure",
  1050. "members":{
  1051. "DataSourceId":{"shape":"EntityId"}
  1052. }
  1053. },
  1054. "DeleteEvaluationInput":{
  1055. "type":"structure",
  1056. "required":["EvaluationId"],
  1057. "members":{
  1058. "EvaluationId":{"shape":"EntityId"}
  1059. }
  1060. },
  1061. "DeleteEvaluationOutput":{
  1062. "type":"structure",
  1063. "members":{
  1064. "EvaluationId":{"shape":"EntityId"}
  1065. }
  1066. },
  1067. "DeleteMLModelInput":{
  1068. "type":"structure",
  1069. "required":["MLModelId"],
  1070. "members":{
  1071. "MLModelId":{"shape":"EntityId"}
  1072. }
  1073. },
  1074. "DeleteMLModelOutput":{
  1075. "type":"structure",
  1076. "members":{
  1077. "MLModelId":{"shape":"EntityId"}
  1078. }
  1079. },
  1080. "DeleteRealtimeEndpointInput":{
  1081. "type":"structure",
  1082. "required":["MLModelId"],
  1083. "members":{
  1084. "MLModelId":{"shape":"EntityId"}
  1085. }
  1086. },
  1087. "DeleteRealtimeEndpointOutput":{
  1088. "type":"structure",
  1089. "members":{
  1090. "MLModelId":{"shape":"EntityId"},
  1091. "RealtimeEndpointInfo":{"shape":"RealtimeEndpointInfo"}
  1092. }
  1093. },
  1094. "DeleteTagsInput":{
  1095. "type":"structure",
  1096. "required":[
  1097. "TagKeys",
  1098. "ResourceId",
  1099. "ResourceType"
  1100. ],
  1101. "members":{
  1102. "TagKeys":{"shape":"TagKeyList"},
  1103. "ResourceId":{"shape":"EntityId"},
  1104. "ResourceType":{"shape":"TaggableResourceType"}
  1105. }
  1106. },
  1107. "DeleteTagsOutput":{
  1108. "type":"structure",
  1109. "members":{
  1110. "ResourceId":{"shape":"EntityId"},
  1111. "ResourceType":{"shape":"TaggableResourceType"}
  1112. }
  1113. },
  1114. "DescribeBatchPredictionsInput":{
  1115. "type":"structure",
  1116. "members":{
  1117. "FilterVariable":{"shape":"BatchPredictionFilterVariable"},
  1118. "EQ":{"shape":"ComparatorValue"},
  1119. "GT":{"shape":"ComparatorValue"},
  1120. "LT":{"shape":"ComparatorValue"},
  1121. "GE":{"shape":"ComparatorValue"},
  1122. "LE":{"shape":"ComparatorValue"},
  1123. "NE":{"shape":"ComparatorValue"},
  1124. "Prefix":{"shape":"ComparatorValue"},
  1125. "SortOrder":{"shape":"SortOrder"},
  1126. "NextToken":{"shape":"StringType"},
  1127. "Limit":{"shape":"PageLimit"}
  1128. }
  1129. },
  1130. "DescribeBatchPredictionsOutput":{
  1131. "type":"structure",
  1132. "members":{
  1133. "Results":{"shape":"BatchPredictions"},
  1134. "NextToken":{"shape":"StringType"}
  1135. }
  1136. },
  1137. "DescribeDataSourcesInput":{
  1138. "type":"structure",
  1139. "members":{
  1140. "FilterVariable":{"shape":"DataSourceFilterVariable"},
  1141. "EQ":{"shape":"ComparatorValue"},
  1142. "GT":{"shape":"ComparatorValue"},
  1143. "LT":{"shape":"ComparatorValue"},
  1144. "GE":{"shape":"ComparatorValue"},
  1145. "LE":{"shape":"ComparatorValue"},
  1146. "NE":{"shape":"ComparatorValue"},
  1147. "Prefix":{"shape":"ComparatorValue"},
  1148. "SortOrder":{"shape":"SortOrder"},
  1149. "NextToken":{"shape":"StringType"},
  1150. "Limit":{"shape":"PageLimit"}
  1151. }
  1152. },
  1153. "DescribeDataSourcesOutput":{
  1154. "type":"structure",
  1155. "members":{
  1156. "Results":{"shape":"DataSources"},
  1157. "NextToken":{"shape":"StringType"}
  1158. }
  1159. },
  1160. "DescribeEvaluationsInput":{
  1161. "type":"structure",
  1162. "members":{
  1163. "FilterVariable":{"shape":"EvaluationFilterVariable"},
  1164. "EQ":{"shape":"ComparatorValue"},
  1165. "GT":{"shape":"ComparatorValue"},
  1166. "LT":{"shape":"ComparatorValue"},
  1167. "GE":{"shape":"ComparatorValue"},
  1168. "LE":{"shape":"ComparatorValue"},
  1169. "NE":{"shape":"ComparatorValue"},
  1170. "Prefix":{"shape":"ComparatorValue"},
  1171. "SortOrder":{"shape":"SortOrder"},
  1172. "NextToken":{"shape":"StringType"},
  1173. "Limit":{"shape":"PageLimit"}
  1174. }
  1175. },
  1176. "DescribeEvaluationsOutput":{
  1177. "type":"structure",
  1178. "members":{
  1179. "Results":{"shape":"Evaluations"},
  1180. "NextToken":{"shape":"StringType"}
  1181. }
  1182. },
  1183. "DescribeMLModelsInput":{
  1184. "type":"structure",
  1185. "members":{
  1186. "FilterVariable":{"shape":"MLModelFilterVariable"},
  1187. "EQ":{"shape":"ComparatorValue"},
  1188. "GT":{"shape":"ComparatorValue"},
  1189. "LT":{"shape":"ComparatorValue"},
  1190. "GE":{"shape":"ComparatorValue"},
  1191. "LE":{"shape":"ComparatorValue"},
  1192. "NE":{"shape":"ComparatorValue"},
  1193. "Prefix":{"shape":"ComparatorValue"},
  1194. "SortOrder":{"shape":"SortOrder"},
  1195. "NextToken":{"shape":"StringType"},
  1196. "Limit":{"shape":"PageLimit"}
  1197. }
  1198. },
  1199. "DescribeMLModelsOutput":{
  1200. "type":"structure",
  1201. "members":{
  1202. "Results":{"shape":"MLModels"},
  1203. "NextToken":{"shape":"StringType"}
  1204. }
  1205. },
  1206. "DescribeTagsInput":{
  1207. "type":"structure",
  1208. "required":[
  1209. "ResourceId",
  1210. "ResourceType"
  1211. ],
  1212. "members":{
  1213. "ResourceId":{"shape":"EntityId"},
  1214. "ResourceType":{"shape":"TaggableResourceType"}
  1215. }
  1216. },
  1217. "DescribeTagsOutput":{
  1218. "type":"structure",
  1219. "members":{
  1220. "ResourceId":{"shape":"EntityId"},
  1221. "ResourceType":{"shape":"TaggableResourceType"},
  1222. "Tags":{"shape":"TagList"}
  1223. }
  1224. },
  1225. "DetailsAttributes":{
  1226. "type":"string",
  1227. "enum":[
  1228. "PredictiveModelType",
  1229. "Algorithm"
  1230. ]
  1231. },
  1232. "DetailsMap":{
  1233. "type":"map",
  1234. "key":{"shape":"DetailsAttributes"},
  1235. "value":{"shape":"DetailsValue"}
  1236. },
  1237. "DetailsValue":{
  1238. "type":"string",
  1239. "min":1
  1240. },
  1241. "EDPPipelineId":{
  1242. "type":"string",
  1243. "min":1,
  1244. "max":1024
  1245. },
  1246. "EDPResourceRole":{
  1247. "type":"string",
  1248. "min":1,
  1249. "max":64
  1250. },
  1251. "EDPSecurityGroupId":{
  1252. "type":"string",
  1253. "min":1,
  1254. "max":255
  1255. },
  1256. "EDPSecurityGroupIds":{
  1257. "type":"list",
  1258. "member":{"shape":"EDPSecurityGroupId"}
  1259. },
  1260. "EDPServiceRole":{
  1261. "type":"string",
  1262. "min":1,
  1263. "max":64
  1264. },
  1265. "EDPSubnetId":{
  1266. "type":"string",
  1267. "min":1,
  1268. "max":255
  1269. },
  1270. "EntityId":{
  1271. "type":"string",
  1272. "min":1,
  1273. "max":64,
  1274. "pattern":"[a-zA-Z0-9_.-]+"
  1275. },
  1276. "EntityName":{
  1277. "type":"string",
  1278. "max":1024,
  1279. "pattern":".*\\S.*|^$"
  1280. },
  1281. "EntityStatus":{
  1282. "type":"string",
  1283. "enum":[
  1284. "PENDING",
  1285. "INPROGRESS",
  1286. "FAILED",
  1287. "COMPLETED",
  1288. "DELETED"
  1289. ]
  1290. },
  1291. "EpochTime":{"type":"timestamp"},
  1292. "ErrorCode":{"type":"integer"},
  1293. "ErrorMessage":{
  1294. "type":"string",
  1295. "max":2048
  1296. },
  1297. "Evaluation":{
  1298. "type":"structure",
  1299. "members":{
  1300. "EvaluationId":{"shape":"EntityId"},
  1301. "MLModelId":{"shape":"EntityId"},
  1302. "EvaluationDataSourceId":{"shape":"EntityId"},
  1303. "InputDataLocationS3":{"shape":"S3Url"},
  1304. "CreatedByIamUser":{"shape":"AwsUserArn"},
  1305. "CreatedAt":{"shape":"EpochTime"},
  1306. "LastUpdatedAt":{"shape":"EpochTime"},
  1307. "Name":{"shape":"EntityName"},
  1308. "Status":{"shape":"EntityStatus"},
  1309. "PerformanceMetrics":{"shape":"PerformanceMetrics"},
  1310. "Message":{"shape":"Message"},
  1311. "ComputeTime":{"shape":"LongType"},
  1312. "FinishedAt":{"shape":"EpochTime"},
  1313. "StartedAt":{"shape":"EpochTime"}
  1314. }
  1315. },
  1316. "EvaluationFilterVariable":{
  1317. "type":"string",
  1318. "enum":[
  1319. "CreatedAt",
  1320. "LastUpdatedAt",
  1321. "Status",
  1322. "Name",
  1323. "IAMUser",
  1324. "MLModelId",
  1325. "DataSourceId",
  1326. "DataURI"
  1327. ]
  1328. },
  1329. "Evaluations":{
  1330. "type":"list",
  1331. "member":{"shape":"Evaluation"}
  1332. },
  1333. "GetBatchPredictionInput":{
  1334. "type":"structure",
  1335. "required":["BatchPredictionId"],
  1336. "members":{
  1337. "BatchPredictionId":{"shape":"EntityId"}
  1338. }
  1339. },
  1340. "GetBatchPredictionOutput":{
  1341. "type":"structure",
  1342. "members":{
  1343. "BatchPredictionId":{"shape":"EntityId"},
  1344. "MLModelId":{"shape":"EntityId"},
  1345. "BatchPredictionDataSourceId":{"shape":"EntityId"},
  1346. "InputDataLocationS3":{"shape":"S3Url"},
  1347. "CreatedByIamUser":{"shape":"AwsUserArn"},
  1348. "CreatedAt":{"shape":"EpochTime"},
  1349. "LastUpdatedAt":{"shape":"EpochTime"},
  1350. "Name":{"shape":"EntityName"},
  1351. "Status":{"shape":"EntityStatus"},
  1352. "OutputUri":{"shape":"S3Url"},
  1353. "LogUri":{"shape":"PresignedS3Url"},
  1354. "Message":{"shape":"Message"},
  1355. "ComputeTime":{"shape":"LongType"},
  1356. "FinishedAt":{"shape":"EpochTime"},
  1357. "StartedAt":{"shape":"EpochTime"},
  1358. "TotalRecordCount":{"shape":"LongType"},
  1359. "InvalidRecordCount":{"shape":"LongType"}
  1360. }
  1361. },
  1362. "GetDataSourceInput":{
  1363. "type":"structure",
  1364. "required":["DataSourceId"],
  1365. "members":{
  1366. "DataSourceId":{"shape":"EntityId"},
  1367. "Verbose":{"shape":"Verbose"}
  1368. }
  1369. },
  1370. "GetDataSourceOutput":{
  1371. "type":"structure",
  1372. "members":{
  1373. "DataSourceId":{"shape":"EntityId"},
  1374. "DataLocationS3":{"shape":"S3Url"},
  1375. "DataRearrangement":{"shape":"DataRearrangement"},
  1376. "CreatedByIamUser":{"shape":"AwsUserArn"},
  1377. "CreatedAt":{"shape":"EpochTime"},
  1378. "LastUpdatedAt":{"shape":"EpochTime"},
  1379. "DataSizeInBytes":{"shape":"LongType"},
  1380. "NumberOfFiles":{"shape":"LongType"},
  1381. "Name":{"shape":"EntityName"},
  1382. "Status":{"shape":"EntityStatus"},
  1383. "LogUri":{"shape":"PresignedS3Url"},
  1384. "Message":{"shape":"Message"},
  1385. "RedshiftMetadata":{"shape":"RedshiftMetadata"},
  1386. "RDSMetadata":{"shape":"RDSMetadata"},
  1387. "RoleARN":{"shape":"RoleARN"},
  1388. "ComputeStatistics":{"shape":"ComputeStatistics"},
  1389. "ComputeTime":{"shape":"LongType"},
  1390. "FinishedAt":{"shape":"EpochTime"},
  1391. "StartedAt":{"shape":"EpochTime"},
  1392. "DataSourceSchema":{"shape":"DataSchema"}
  1393. }
  1394. },
  1395. "GetEvaluationInput":{
  1396. "type":"structure",
  1397. "required":["EvaluationId"],
  1398. "members":{
  1399. "EvaluationId":{"shape":"EntityId"}
  1400. }
  1401. },
  1402. "GetEvaluationOutput":{
  1403. "type":"structure",
  1404. "members":{
  1405. "EvaluationId":{"shape":"EntityId"},
  1406. "MLModelId":{"shape":"EntityId"},
  1407. "EvaluationDataSourceId":{"shape":"EntityId"},
  1408. "InputDataLocationS3":{"shape":"S3Url"},
  1409. "CreatedByIamUser":{"shape":"AwsUserArn"},
  1410. "CreatedAt":{"shape":"EpochTime"},
  1411. "LastUpdatedAt":{"shape":"EpochTime"},
  1412. "Name":{"shape":"EntityName"},
  1413. "Status":{"shape":"EntityStatus"},
  1414. "PerformanceMetrics":{"shape":"PerformanceMetrics"},
  1415. "LogUri":{"shape":"PresignedS3Url"},
  1416. "Message":{"shape":"Message"},
  1417. "ComputeTime":{"shape":"LongType"},
  1418. "FinishedAt":{"shape":"EpochTime"},
  1419. "StartedAt":{"shape":"EpochTime"}
  1420. }
  1421. },
  1422. "GetMLModelInput":{
  1423. "type":"structure",
  1424. "required":["MLModelId"],
  1425. "members":{
  1426. "MLModelId":{"shape":"EntityId"},
  1427. "Verbose":{"shape":"Verbose"}
  1428. }
  1429. },
  1430. "GetMLModelOutput":{
  1431. "type":"structure",
  1432. "members":{
  1433. "MLModelId":{"shape":"EntityId"},
  1434. "TrainingDataSourceId":{"shape":"EntityId"},
  1435. "CreatedByIamUser":{"shape":"AwsUserArn"},
  1436. "CreatedAt":{"shape":"EpochTime"},
  1437. "LastUpdatedAt":{"shape":"EpochTime"},
  1438. "Name":{"shape":"MLModelName"},
  1439. "Status":{"shape":"EntityStatus"},
  1440. "SizeInBytes":{"shape":"LongType"},
  1441. "EndpointInfo":{"shape":"RealtimeEndpointInfo"},
  1442. "TrainingParameters":{"shape":"TrainingParameters"},
  1443. "InputDataLocationS3":{"shape":"S3Url"},
  1444. "MLModelType":{"shape":"MLModelType"},
  1445. "ScoreThreshold":{"shape":"ScoreThreshold"},
  1446. "ScoreThresholdLastUpdatedAt":{"shape":"EpochTime"},
  1447. "LogUri":{"shape":"PresignedS3Url"},
  1448. "Message":{"shape":"Message"},
  1449. "ComputeTime":{"shape":"LongType"},
  1450. "FinishedAt":{"shape":"EpochTime"},
  1451. "StartedAt":{"shape":"EpochTime"},
  1452. "Recipe":{"shape":"Recipe"},
  1453. "Schema":{"shape":"DataSchema"}
  1454. }
  1455. },
  1456. "IdempotentParameterMismatchException":{
  1457. "type":"structure",
  1458. "members":{
  1459. "message":{"shape":"ErrorMessage"},
  1460. "code":{"shape":"ErrorCode"}
  1461. },
  1462. "error":{"httpStatusCode":400},
  1463. "exception":true
  1464. },
  1465. "IntegerType":{"type":"integer"},
  1466. "InternalServerException":{
  1467. "type":"structure",
  1468. "members":{
  1469. "message":{"shape":"ErrorMessage"},
  1470. "code":{"shape":"ErrorCode"}
  1471. },
  1472. "error":{"httpStatusCode":500},
  1473. "exception":true,
  1474. "fault":true
  1475. },
  1476. "InvalidInputException":{
  1477. "type":"structure",
  1478. "members":{
  1479. "message":{"shape":"ErrorMessage"},
  1480. "code":{"shape":"ErrorCode"}
  1481. },
  1482. "error":{"httpStatusCode":400},
  1483. "exception":true
  1484. },
  1485. "InvalidTagException":{
  1486. "type":"structure",
  1487. "members":{
  1488. "message":{"shape":"ErrorMessage"}
  1489. },
  1490. "exception":true
  1491. },
  1492. "Label":{
  1493. "type":"string",
  1494. "min":1
  1495. },
  1496. "LimitExceededException":{
  1497. "type":"structure",
  1498. "members":{
  1499. "message":{"shape":"ErrorMessage"},
  1500. "code":{"shape":"ErrorCode"}
  1501. },
  1502. "error":{"httpStatusCode":417},
  1503. "exception":true
  1504. },
  1505. "LongType":{"type":"long"},
  1506. "MLModel":{
  1507. "type":"structure",
  1508. "members":{
  1509. "MLModelId":{"shape":"EntityId"},
  1510. "TrainingDataSourceId":{"shape":"EntityId"},
  1511. "CreatedByIamUser":{"shape":"AwsUserArn"},
  1512. "CreatedAt":{"shape":"EpochTime"},
  1513. "LastUpdatedAt":{"shape":"EpochTime"},
  1514. "Name":{"shape":"MLModelName"},
  1515. "Status":{"shape":"EntityStatus"},
  1516. "SizeInBytes":{"shape":"LongType"},
  1517. "EndpointInfo":{"shape":"RealtimeEndpointInfo"},
  1518. "TrainingParameters":{"shape":"TrainingParameters"},
  1519. "InputDataLocationS3":{"shape":"S3Url"},
  1520. "Algorithm":{"shape":"Algorithm"},
  1521. "MLModelType":{"shape":"MLModelType"},
  1522. "ScoreThreshold":{"shape":"ScoreThreshold"},
  1523. "ScoreThresholdLastUpdatedAt":{"shape":"EpochTime"},
  1524. "Message":{"shape":"Message"},
  1525. "ComputeTime":{"shape":"LongType"},
  1526. "FinishedAt":{"shape":"EpochTime"},
  1527. "StartedAt":{"shape":"EpochTime"}
  1528. }
  1529. },
  1530. "MLModelFilterVariable":{
  1531. "type":"string",
  1532. "enum":[
  1533. "CreatedAt",
  1534. "LastUpdatedAt",
  1535. "Status",
  1536. "Name",
  1537. "IAMUser",
  1538. "TrainingDataSourceId",
  1539. "RealtimeEndpointStatus",
  1540. "MLModelType",
  1541. "Algorithm",
  1542. "TrainingDataURI"
  1543. ]
  1544. },
  1545. "MLModelName":{
  1546. "type":"string",
  1547. "max":1024
  1548. },
  1549. "MLModelType":{
  1550. "type":"string",
  1551. "enum":[
  1552. "REGRESSION",
  1553. "BINARY",
  1554. "MULTICLASS"
  1555. ]
  1556. },
  1557. "MLModels":{
  1558. "type":"list",
  1559. "member":{"shape":"MLModel"}
  1560. },
  1561. "Message":{
  1562. "type":"string",
  1563. "max":10240
  1564. },
  1565. "PageLimit":{
  1566. "type":"integer",
  1567. "min":1,
  1568. "max":100
  1569. },
  1570. "PerformanceMetrics":{
  1571. "type":"structure",
  1572. "members":{
  1573. "Properties":{"shape":"PerformanceMetricsProperties"}
  1574. }
  1575. },
  1576. "PerformanceMetricsProperties":{
  1577. "type":"map",
  1578. "key":{"shape":"PerformanceMetricsPropertyKey"},
  1579. "value":{"shape":"PerformanceMetricsPropertyValue"}
  1580. },
  1581. "PerformanceMetricsPropertyKey":{"type":"string"},
  1582. "PerformanceMetricsPropertyValue":{"type":"string"},
  1583. "PredictInput":{
  1584. "type":"structure",
  1585. "required":[
  1586. "MLModelId",
  1587. "Record",
  1588. "PredictEndpoint"
  1589. ],
  1590. "members":{
  1591. "MLModelId":{"shape":"EntityId"},
  1592. "Record":{"shape":"Record"},
  1593. "PredictEndpoint":{"shape":"VipURL"}
  1594. }
  1595. },
  1596. "PredictOutput":{
  1597. "type":"structure",
  1598. "members":{
  1599. "Prediction":{"shape":"Prediction"}
  1600. }
  1601. },
  1602. "Prediction":{
  1603. "type":"structure",
  1604. "members":{
  1605. "predictedLabel":{"shape":"Label"},
  1606. "predictedValue":{"shape":"floatLabel"},
  1607. "predictedScores":{"shape":"ScoreValuePerLabelMap"},
  1608. "details":{"shape":"DetailsMap"}
  1609. }
  1610. },
  1611. "PredictorNotMountedException":{
  1612. "type":"structure",
  1613. "members":{
  1614. "message":{"shape":"ErrorMessage"}
  1615. },
  1616. "error":{"httpStatusCode":400},
  1617. "exception":true
  1618. },
  1619. "PresignedS3Url":{"type":"string"},
  1620. "RDSDataSpec":{
  1621. "type":"structure",
  1622. "required":[
  1623. "DatabaseInformation",
  1624. "SelectSqlQuery",
  1625. "DatabaseCredentials",
  1626. "S3StagingLocation",
  1627. "ResourceRole",
  1628. "ServiceRole",
  1629. "SubnetId",
  1630. "SecurityGroupIds"
  1631. ],
  1632. "members":{
  1633. "DatabaseInformation":{"shape":"RDSDatabase"},
  1634. "SelectSqlQuery":{"shape":"RDSSelectSqlQuery"},
  1635. "DatabaseCredentials":{"shape":"RDSDatabaseCredentials"},
  1636. "S3StagingLocation":{"shape":"S3Url"},
  1637. "DataRearrangement":{"shape":"DataRearrangement"},
  1638. "DataSchema":{"shape":"DataSchema"},
  1639. "DataSchemaUri":{"shape":"S3Url"},
  1640. "ResourceRole":{"shape":"EDPResourceRole"},
  1641. "ServiceRole":{"shape":"EDPServiceRole"},
  1642. "SubnetId":{"shape":"EDPSubnetId"},
  1643. "SecurityGroupIds":{"shape":"EDPSecurityGroupIds"}
  1644. }
  1645. },
  1646. "RDSDatabase":{
  1647. "type":"structure",
  1648. "required":[
  1649. "InstanceIdentifier",
  1650. "DatabaseName"
  1651. ],
  1652. "members":{
  1653. "InstanceIdentifier":{"shape":"RDSInstanceIdentifier"},
  1654. "DatabaseName":{"shape":"RDSDatabaseName"}
  1655. }
  1656. },
  1657. "RDSDatabaseCredentials":{
  1658. "type":"structure",
  1659. "required":[
  1660. "Username",
  1661. "Password"
  1662. ],
  1663. "members":{
  1664. "Username":{"shape":"RDSDatabaseUsername"},
  1665. "Password":{"shape":"RDSDatabasePassword"}
  1666. }
  1667. },
  1668. "RDSDatabaseName":{
  1669. "type":"string",
  1670. "min":1,
  1671. "max":64
  1672. },
  1673. "RDSDatabasePassword":{
  1674. "type":"string",
  1675. "min":8,
  1676. "max":128
  1677. },
  1678. "RDSDatabaseUsername":{
  1679. "type":"string",
  1680. "min":1,
  1681. "max":128
  1682. },
  1683. "RDSInstanceIdentifier":{
  1684. "type":"string",
  1685. "min":1,
  1686. "max":63,
  1687. "pattern":"[a-z0-9-]+"
  1688. },
  1689. "RDSMetadata":{
  1690. "type":"structure",
  1691. "members":{
  1692. "Database":{"shape":"RDSDatabase"},
  1693. "DatabaseUserName":{"shape":"RDSDatabaseUsername"},
  1694. "SelectSqlQuery":{"shape":"RDSSelectSqlQuery"},
  1695. "ResourceRole":{"shape":"EDPResourceRole"},
  1696. "ServiceRole":{"shape":"EDPServiceRole"},
  1697. "DataPipelineId":{"shape":"EDPPipelineId"}
  1698. }
  1699. },
  1700. "RDSSelectSqlQuery":{
  1701. "type":"string",
  1702. "min":1,
  1703. "max":16777216
  1704. },
  1705. "RealtimeEndpointInfo":{
  1706. "type":"structure",
  1707. "members":{
  1708. "PeakRequestsPerSecond":{"shape":"IntegerType"},
  1709. "CreatedAt":{"shape":"EpochTime"},
  1710. "EndpointUrl":{"shape":"VipURL"},
  1711. "EndpointStatus":{"shape":"RealtimeEndpointStatus"}
  1712. }
  1713. },
  1714. "RealtimeEndpointStatus":{
  1715. "type":"string",
  1716. "enum":[
  1717. "NONE",
  1718. "READY",
  1719. "UPDATING",
  1720. "FAILED"
  1721. ]
  1722. },
  1723. "Recipe":{
  1724. "type":"string",
  1725. "max":131071
  1726. },
  1727. "Record":{
  1728. "type":"map",
  1729. "key":{"shape":"VariableName"},
  1730. "value":{"shape":"VariableValue"}
  1731. },
  1732. "RedshiftClusterIdentifier":{
  1733. "type":"string",
  1734. "min":1,
  1735. "max":63,
  1736. "pattern":"[a-z0-9-]+"
  1737. },
  1738. "RedshiftDataSpec":{
  1739. "type":"structure",
  1740. "required":[
  1741. "DatabaseInformation",
  1742. "SelectSqlQuery",
  1743. "DatabaseCredentials",
  1744. "S3StagingLocation"
  1745. ],
  1746. "members":{
  1747. "DatabaseInformation":{"shape":"RedshiftDatabase"},
  1748. "SelectSqlQuery":{"shape":"RedshiftSelectSqlQuery"},
  1749. "DatabaseCredentials":{"shape":"RedshiftDatabaseCredentials"},
  1750. "S3StagingLocation":{"shape":"S3Url"},
  1751. "DataRearrangement":{"shape":"DataRearrangement"},
  1752. "DataSchema":{"shape":"DataSchema"},
  1753. "DataSchemaUri":{"shape":"S3Url"}
  1754. }
  1755. },
  1756. "RedshiftDatabase":{
  1757. "type":"structure",
  1758. "required":[
  1759. "DatabaseName",
  1760. "ClusterIdentifier"
  1761. ],
  1762. "members":{
  1763. "DatabaseName":{"shape":"RedshiftDatabaseName"},
  1764. "ClusterIdentifier":{"shape":"RedshiftClusterIdentifier"}
  1765. }
  1766. },
  1767. "RedshiftDatabaseCredentials":{
  1768. "type":"structure",
  1769. "required":[
  1770. "Username",
  1771. "Password"
  1772. ],
  1773. "members":{
  1774. "Username":{"shape":"RedshiftDatabaseUsername"},
  1775. "Password":{"shape":"RedshiftDatabasePassword"}
  1776. }
  1777. },
  1778. "RedshiftDatabaseName":{
  1779. "type":"string",
  1780. "min":1,
  1781. "max":64,
  1782. "pattern":"[a-z0-9]+"
  1783. },
  1784. "RedshiftDatabasePassword":{
  1785. "type":"string",
  1786. "min":8,
  1787. "max":64
  1788. },
  1789. "RedshiftDatabaseUsername":{
  1790. "type":"string",
  1791. "min":1,
  1792. "max":128
  1793. },
  1794. "RedshiftMetadata":{
  1795. "type":"structure",
  1796. "members":{
  1797. "RedshiftDatabase":{"shape":"RedshiftDatabase"},
  1798. "DatabaseUserName":{"shape":"RedshiftDatabaseUsername"},
  1799. "SelectSqlQuery":{"shape":"RedshiftSelectSqlQuery"}
  1800. }
  1801. },
  1802. "RedshiftSelectSqlQuery":{
  1803. "type":"string",
  1804. "min":1,
  1805. "max":16777216
  1806. },
  1807. "ResourceNotFoundException":{
  1808. "type":"structure",
  1809. "members":{
  1810. "message":{"shape":"ErrorMessage"},
  1811. "code":{"shape":"ErrorCode"}
  1812. },
  1813. "error":{"httpStatusCode":404},
  1814. "exception":true
  1815. },
  1816. "RoleARN":{
  1817. "type":"string",
  1818. "min":1,
  1819. "max":110
  1820. },
  1821. "S3DataSpec":{
  1822. "type":"structure",
  1823. "required":["DataLocationS3"],
  1824. "members":{
  1825. "DataLocationS3":{"shape":"S3Url"},
  1826. "DataRearrangement":{"shape":"DataRearrangement"},
  1827. "DataSchema":{"shape":"DataSchema"},
  1828. "DataSchemaLocationS3":{"shape":"S3Url"}
  1829. }
  1830. },
  1831. "S3Url":{
  1832. "type":"string",
  1833. "max":2048,
  1834. "pattern":"s3://([^/]+)(/.*)?"
  1835. },
  1836. "ScoreThreshold":{"type":"float"},
  1837. "ScoreValue":{"type":"float"},
  1838. "ScoreValuePerLabelMap":{
  1839. "type":"map",
  1840. "key":{"shape":"Label"},
  1841. "value":{"shape":"ScoreValue"}
  1842. },
  1843. "SortOrder":{
  1844. "type":"string",
  1845. "enum":[
  1846. "asc",
  1847. "dsc"
  1848. ]
  1849. },
  1850. "StringType":{"type":"string"},
  1851. "Tag":{
  1852. "type":"structure",
  1853. "members":{
  1854. "Key":{"shape":"TagKey"},
  1855. "Value":{"shape":"TagValue"}
  1856. }
  1857. },
  1858. "TagKey":{
  1859. "type":"string",
  1860. "min":1,
  1861. "max":128,
  1862. "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
  1863. },
  1864. "TagKeyList":{
  1865. "type":"list",
  1866. "member":{"shape":"TagKey"},
  1867. "max":100
  1868. },
  1869. "TagLimitExceededException":{
  1870. "type":"structure",
  1871. "members":{
  1872. "message":{"shape":"ErrorMessage"}
  1873. },
  1874. "exception":true
  1875. },
  1876. "TagList":{
  1877. "type":"list",
  1878. "member":{"shape":"Tag"},
  1879. "max":100
  1880. },
  1881. "TagValue":{
  1882. "type":"string",
  1883. "min":0,
  1884. "max":256,
  1885. "pattern":"^([\\p{L}\\p{Z}\\p{N}_.:/=+\\-@]*)$"
  1886. },
  1887. "TaggableResourceType":{
  1888. "type":"string",
  1889. "enum":[
  1890. "BatchPrediction",
  1891. "DataSource",
  1892. "Evaluation",
  1893. "MLModel"
  1894. ]
  1895. },
  1896. "TrainingParameters":{
  1897. "type":"map",
  1898. "key":{"shape":"StringType"},
  1899. "value":{"shape":"StringType"}
  1900. },
  1901. "UpdateBatchPredictionInput":{
  1902. "type":"structure",
  1903. "required":[
  1904. "BatchPredictionId",
  1905. "BatchPredictionName"
  1906. ],
  1907. "members":{
  1908. "BatchPredictionId":{"shape":"EntityId"},
  1909. "BatchPredictionName":{"shape":"EntityName"}
  1910. }
  1911. },
  1912. "UpdateBatchPredictionOutput":{
  1913. "type":"structure",
  1914. "members":{
  1915. "BatchPredictionId":{"shape":"EntityId"}
  1916. }
  1917. },
  1918. "UpdateDataSourceInput":{
  1919. "type":"structure",
  1920. "required":[
  1921. "DataSourceId",
  1922. "DataSourceName"
  1923. ],
  1924. "members":{
  1925. "DataSourceId":{"shape":"EntityId"},
  1926. "DataSourceName":{"shape":"EntityName"}
  1927. }
  1928. },
  1929. "UpdateDataSourceOutput":{
  1930. "type":"structure",
  1931. "members":{
  1932. "DataSourceId":{"shape":"EntityId"}
  1933. }
  1934. },
  1935. "UpdateEvaluationInput":{
  1936. "type":"structure",
  1937. "required":[
  1938. "EvaluationId",
  1939. "EvaluationName"
  1940. ],
  1941. "members":{
  1942. "EvaluationId":{"shape":"EntityId"},
  1943. "EvaluationName":{"shape":"EntityName"}
  1944. }
  1945. },
  1946. "UpdateEvaluationOutput":{
  1947. "type":"structure",
  1948. "members":{
  1949. "EvaluationId":{"shape":"EntityId"}
  1950. }
  1951. },
  1952. "UpdateMLModelInput":{
  1953. "type":"structure",
  1954. "required":["MLModelId"],
  1955. "members":{
  1956. "MLModelId":{"shape":"EntityId"},
  1957. "MLModelName":{"shape":"EntityName"},
  1958. "ScoreThreshold":{"shape":"ScoreThreshold"}
  1959. }
  1960. },
  1961. "UpdateMLModelOutput":{
  1962. "type":"structure",
  1963. "members":{
  1964. "MLModelId":{"shape":"EntityId"}
  1965. }
  1966. },
  1967. "VariableName":{"type":"string"},
  1968. "VariableValue":{"type":"string"},
  1969. "Verbose":{"type":"boolean"},
  1970. "VipURL":{
  1971. "type":"string",
  1972. "max":2048,
  1973. "pattern":"https://[a-zA-Z0-9-.]*\\.amazon(aws)?\\.com[/]?"
  1974. },
  1975. "floatLabel":{"type":"float"}
  1976. }
  1977. }