lookoutvision-2020-11-20.min.json 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095
  1. {
  2. "version": "2.0",
  3. "metadata": {
  4. "apiVersion": "2020-11-20",
  5. "endpointPrefix": "lookoutvision",
  6. "jsonVersion": "1.1",
  7. "protocol": "rest-json",
  8. "serviceFullName": "Amazon Lookout for Vision",
  9. "serviceId": "LookoutVision",
  10. "signatureVersion": "v4",
  11. "signingName": "lookoutvision",
  12. "uid": "lookoutvision-2020-11-20"
  13. },
  14. "operations": {
  15. "CreateDataset": {
  16. "http": {
  17. "requestUri": "/2020-11-20/projects/{projectName}/datasets",
  18. "responseCode": 202
  19. },
  20. "input": {
  21. "type": "structure",
  22. "required": [
  23. "ProjectName",
  24. "DatasetType"
  25. ],
  26. "members": {
  27. "ProjectName": {
  28. "location": "uri",
  29. "locationName": "projectName"
  30. },
  31. "DatasetType": {},
  32. "DatasetSource": {
  33. "type": "structure",
  34. "members": {
  35. "GroundTruthManifest": {
  36. "type": "structure",
  37. "members": {
  38. "S3Object": {
  39. "type": "structure",
  40. "required": [
  41. "Bucket",
  42. "Key"
  43. ],
  44. "members": {
  45. "Bucket": {},
  46. "Key": {},
  47. "VersionId": {}
  48. }
  49. }
  50. }
  51. }
  52. }
  53. },
  54. "ClientToken": {
  55. "idempotencyToken": true,
  56. "location": "header",
  57. "locationName": "X-Amzn-Client-Token"
  58. }
  59. }
  60. },
  61. "output": {
  62. "type": "structure",
  63. "members": {
  64. "DatasetMetadata": {
  65. "shape": "Sc"
  66. }
  67. }
  68. }
  69. },
  70. "CreateModel": {
  71. "http": {
  72. "requestUri": "/2020-11-20/projects/{projectName}/models",
  73. "responseCode": 202
  74. },
  75. "input": {
  76. "type": "structure",
  77. "required": [
  78. "ProjectName",
  79. "OutputConfig"
  80. ],
  81. "members": {
  82. "ProjectName": {
  83. "location": "uri",
  84. "locationName": "projectName"
  85. },
  86. "Description": {},
  87. "ClientToken": {
  88. "idempotencyToken": true,
  89. "location": "header",
  90. "locationName": "X-Amzn-Client-Token"
  91. },
  92. "OutputConfig": {
  93. "shape": "Si"
  94. },
  95. "KmsKeyId": {},
  96. "Tags": {
  97. "shape": "Sm"
  98. }
  99. }
  100. },
  101. "output": {
  102. "type": "structure",
  103. "members": {
  104. "ModelMetadata": {
  105. "shape": "Sr"
  106. }
  107. }
  108. }
  109. },
  110. "CreateProject": {
  111. "http": {
  112. "requestUri": "/2020-11-20/projects"
  113. },
  114. "input": {
  115. "type": "structure",
  116. "required": [
  117. "ProjectName"
  118. ],
  119. "members": {
  120. "ProjectName": {},
  121. "ClientToken": {
  122. "idempotencyToken": true,
  123. "location": "header",
  124. "locationName": "X-Amzn-Client-Token"
  125. }
  126. }
  127. },
  128. "output": {
  129. "type": "structure",
  130. "members": {
  131. "ProjectMetadata": {
  132. "shape": "S10"
  133. }
  134. }
  135. }
  136. },
  137. "DeleteDataset": {
  138. "http": {
  139. "method": "DELETE",
  140. "requestUri": "/2020-11-20/projects/{projectName}/datasets/{datasetType}",
  141. "responseCode": 202
  142. },
  143. "input": {
  144. "type": "structure",
  145. "required": [
  146. "ProjectName",
  147. "DatasetType"
  148. ],
  149. "members": {
  150. "ProjectName": {
  151. "location": "uri",
  152. "locationName": "projectName"
  153. },
  154. "DatasetType": {
  155. "location": "uri",
  156. "locationName": "datasetType"
  157. },
  158. "ClientToken": {
  159. "idempotencyToken": true,
  160. "location": "header",
  161. "locationName": "X-Amzn-Client-Token"
  162. }
  163. }
  164. },
  165. "output": {
  166. "type": "structure",
  167. "members": {}
  168. }
  169. },
  170. "DeleteModel": {
  171. "http": {
  172. "method": "DELETE",
  173. "requestUri": "/2020-11-20/projects/{projectName}/models/{modelVersion}",
  174. "responseCode": 202
  175. },
  176. "input": {
  177. "type": "structure",
  178. "required": [
  179. "ProjectName",
  180. "ModelVersion"
  181. ],
  182. "members": {
  183. "ProjectName": {
  184. "location": "uri",
  185. "locationName": "projectName"
  186. },
  187. "ModelVersion": {
  188. "location": "uri",
  189. "locationName": "modelVersion"
  190. },
  191. "ClientToken": {
  192. "idempotencyToken": true,
  193. "location": "header",
  194. "locationName": "X-Amzn-Client-Token"
  195. }
  196. }
  197. },
  198. "output": {
  199. "type": "structure",
  200. "members": {
  201. "ModelArn": {}
  202. }
  203. }
  204. },
  205. "DeleteProject": {
  206. "http": {
  207. "method": "DELETE",
  208. "requestUri": "/2020-11-20/projects/{projectName}"
  209. },
  210. "input": {
  211. "type": "structure",
  212. "required": [
  213. "ProjectName"
  214. ],
  215. "members": {
  216. "ProjectName": {
  217. "location": "uri",
  218. "locationName": "projectName"
  219. },
  220. "ClientToken": {
  221. "idempotencyToken": true,
  222. "location": "header",
  223. "locationName": "X-Amzn-Client-Token"
  224. }
  225. }
  226. },
  227. "output": {
  228. "type": "structure",
  229. "members": {
  230. "ProjectArn": {}
  231. }
  232. }
  233. },
  234. "DescribeDataset": {
  235. "http": {
  236. "method": "GET",
  237. "requestUri": "/2020-11-20/projects/{projectName}/datasets/{datasetType}"
  238. },
  239. "input": {
  240. "type": "structure",
  241. "required": [
  242. "ProjectName",
  243. "DatasetType"
  244. ],
  245. "members": {
  246. "ProjectName": {
  247. "location": "uri",
  248. "locationName": "projectName"
  249. },
  250. "DatasetType": {
  251. "location": "uri",
  252. "locationName": "datasetType"
  253. }
  254. }
  255. },
  256. "output": {
  257. "type": "structure",
  258. "members": {
  259. "DatasetDescription": {
  260. "type": "structure",
  261. "members": {
  262. "ProjectName": {},
  263. "DatasetType": {},
  264. "CreationTimestamp": {
  265. "type": "timestamp"
  266. },
  267. "LastUpdatedTimestamp": {
  268. "type": "timestamp"
  269. },
  270. "Status": {},
  271. "StatusMessage": {},
  272. "ImageStats": {
  273. "type": "structure",
  274. "members": {
  275. "Total": {
  276. "type": "integer"
  277. },
  278. "Labeled": {
  279. "type": "integer"
  280. },
  281. "Normal": {
  282. "type": "integer"
  283. },
  284. "Anomaly": {
  285. "type": "integer"
  286. }
  287. }
  288. }
  289. }
  290. }
  291. }
  292. }
  293. },
  294. "DescribeModel": {
  295. "http": {
  296. "method": "GET",
  297. "requestUri": "/2020-11-20/projects/{projectName}/models/{modelVersion}"
  298. },
  299. "input": {
  300. "type": "structure",
  301. "required": [
  302. "ProjectName",
  303. "ModelVersion"
  304. ],
  305. "members": {
  306. "ProjectName": {
  307. "location": "uri",
  308. "locationName": "projectName"
  309. },
  310. "ModelVersion": {
  311. "location": "uri",
  312. "locationName": "modelVersion"
  313. }
  314. }
  315. },
  316. "output": {
  317. "type": "structure",
  318. "members": {
  319. "ModelDescription": {
  320. "type": "structure",
  321. "members": {
  322. "ModelVersion": {},
  323. "ModelArn": {},
  324. "CreationTimestamp": {
  325. "type": "timestamp"
  326. },
  327. "Description": {},
  328. "Status": {},
  329. "StatusMessage": {},
  330. "Performance": {
  331. "shape": "Sw"
  332. },
  333. "OutputConfig": {
  334. "shape": "Si"
  335. },
  336. "EvaluationManifest": {
  337. "shape": "S1h"
  338. },
  339. "EvaluationResult": {
  340. "shape": "S1h"
  341. },
  342. "EvaluationEndTimestamp": {
  343. "type": "timestamp"
  344. },
  345. "KmsKeyId": {},
  346. "MinInferenceUnits": {
  347. "type": "integer"
  348. },
  349. "MaxInferenceUnits": {
  350. "type": "integer"
  351. }
  352. }
  353. }
  354. }
  355. }
  356. },
  357. "DescribeModelPackagingJob": {
  358. "http": {
  359. "method": "GET",
  360. "requestUri": "/2020-11-20/projects/{projectName}/modelpackagingjobs/{jobName}"
  361. },
  362. "input": {
  363. "type": "structure",
  364. "required": [
  365. "ProjectName",
  366. "JobName"
  367. ],
  368. "members": {
  369. "ProjectName": {
  370. "location": "uri",
  371. "locationName": "projectName"
  372. },
  373. "JobName": {
  374. "location": "uri",
  375. "locationName": "jobName"
  376. }
  377. }
  378. },
  379. "output": {
  380. "type": "structure",
  381. "members": {
  382. "ModelPackagingDescription": {
  383. "type": "structure",
  384. "members": {
  385. "JobName": {},
  386. "ProjectName": {},
  387. "ModelVersion": {},
  388. "ModelPackagingConfiguration": {
  389. "shape": "S1n"
  390. },
  391. "ModelPackagingJobDescription": {},
  392. "ModelPackagingMethod": {},
  393. "ModelPackagingOutputDetails": {
  394. "type": "structure",
  395. "members": {
  396. "Greengrass": {
  397. "type": "structure",
  398. "members": {
  399. "ComponentVersionArn": {},
  400. "ComponentName": {},
  401. "ComponentVersion": {}
  402. }
  403. }
  404. }
  405. },
  406. "Status": {},
  407. "StatusMessage": {},
  408. "CreationTimestamp": {
  409. "type": "timestamp"
  410. },
  411. "LastUpdatedTimestamp": {
  412. "type": "timestamp"
  413. }
  414. }
  415. }
  416. }
  417. }
  418. },
  419. "DescribeProject": {
  420. "http": {
  421. "method": "GET",
  422. "requestUri": "/2020-11-20/projects/{projectName}"
  423. },
  424. "input": {
  425. "type": "structure",
  426. "required": [
  427. "ProjectName"
  428. ],
  429. "members": {
  430. "ProjectName": {
  431. "location": "uri",
  432. "locationName": "projectName"
  433. }
  434. }
  435. },
  436. "output": {
  437. "type": "structure",
  438. "members": {
  439. "ProjectDescription": {
  440. "type": "structure",
  441. "members": {
  442. "ProjectArn": {},
  443. "ProjectName": {},
  444. "CreationTimestamp": {
  445. "type": "timestamp"
  446. },
  447. "Datasets": {
  448. "type": "list",
  449. "member": {
  450. "shape": "Sc"
  451. }
  452. }
  453. }
  454. }
  455. }
  456. }
  457. },
  458. "DetectAnomalies": {
  459. "http": {
  460. "requestUri": "/2020-11-20/projects/{projectName}/models/{modelVersion}/detect"
  461. },
  462. "input": {
  463. "type": "structure",
  464. "required": [
  465. "ProjectName",
  466. "ModelVersion",
  467. "Body",
  468. "ContentType"
  469. ],
  470. "members": {
  471. "ProjectName": {
  472. "location": "uri",
  473. "locationName": "projectName"
  474. },
  475. "ModelVersion": {
  476. "location": "uri",
  477. "locationName": "modelVersion"
  478. },
  479. "Body": {
  480. "type": "blob",
  481. "requiresLength": true,
  482. "streaming": true
  483. },
  484. "ContentType": {
  485. "location": "header",
  486. "locationName": "Content-Type"
  487. }
  488. },
  489. "payload": "Body"
  490. },
  491. "output": {
  492. "type": "structure",
  493. "members": {
  494. "DetectAnomalyResult": {
  495. "type": "structure",
  496. "members": {
  497. "Source": {
  498. "type": "structure",
  499. "members": {
  500. "Type": {}
  501. }
  502. },
  503. "IsAnomalous": {
  504. "type": "boolean"
  505. },
  506. "Confidence": {
  507. "type": "float"
  508. },
  509. "Anomalies": {
  510. "type": "list",
  511. "member": {
  512. "type": "structure",
  513. "members": {
  514. "Name": {},
  515. "PixelAnomaly": {
  516. "type": "structure",
  517. "members": {
  518. "TotalPercentageArea": {
  519. "type": "float"
  520. },
  521. "Color": {}
  522. }
  523. }
  524. }
  525. }
  526. },
  527. "AnomalyMask": {
  528. "type": "blob"
  529. }
  530. }
  531. }
  532. }
  533. }
  534. },
  535. "ListDatasetEntries": {
  536. "http": {
  537. "method": "GET",
  538. "requestUri": "/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries"
  539. },
  540. "input": {
  541. "type": "structure",
  542. "required": [
  543. "ProjectName",
  544. "DatasetType"
  545. ],
  546. "members": {
  547. "ProjectName": {
  548. "location": "uri",
  549. "locationName": "projectName"
  550. },
  551. "DatasetType": {
  552. "location": "uri",
  553. "locationName": "datasetType"
  554. },
  555. "Labeled": {
  556. "location": "querystring",
  557. "locationName": "labeled",
  558. "type": "boolean"
  559. },
  560. "AnomalyClass": {
  561. "location": "querystring",
  562. "locationName": "anomalyClass"
  563. },
  564. "BeforeCreationDate": {
  565. "location": "querystring",
  566. "locationName": "createdBefore",
  567. "type": "timestamp"
  568. },
  569. "AfterCreationDate": {
  570. "location": "querystring",
  571. "locationName": "createdAfter",
  572. "type": "timestamp"
  573. },
  574. "NextToken": {
  575. "location": "querystring",
  576. "locationName": "nextToken"
  577. },
  578. "MaxResults": {
  579. "location": "querystring",
  580. "locationName": "maxResults",
  581. "type": "integer"
  582. },
  583. "SourceRefContains": {
  584. "location": "querystring",
  585. "locationName": "sourceRefContains"
  586. }
  587. }
  588. },
  589. "output": {
  590. "type": "structure",
  591. "members": {
  592. "DatasetEntries": {
  593. "type": "list",
  594. "member": {}
  595. },
  596. "NextToken": {}
  597. }
  598. }
  599. },
  600. "ListModelPackagingJobs": {
  601. "http": {
  602. "method": "GET",
  603. "requestUri": "/2020-11-20/projects/{projectName}/modelpackagingjobs"
  604. },
  605. "input": {
  606. "type": "structure",
  607. "required": [
  608. "ProjectName"
  609. ],
  610. "members": {
  611. "ProjectName": {
  612. "location": "uri",
  613. "locationName": "projectName"
  614. },
  615. "NextToken": {
  616. "location": "querystring",
  617. "locationName": "nextToken"
  618. },
  619. "MaxResults": {
  620. "location": "querystring",
  621. "locationName": "maxResults",
  622. "type": "integer"
  623. }
  624. }
  625. },
  626. "output": {
  627. "type": "structure",
  628. "members": {
  629. "ModelPackagingJobs": {
  630. "type": "list",
  631. "member": {
  632. "type": "structure",
  633. "members": {
  634. "JobName": {},
  635. "ProjectName": {},
  636. "ModelVersion": {},
  637. "ModelPackagingJobDescription": {},
  638. "ModelPackagingMethod": {},
  639. "Status": {},
  640. "StatusMessage": {},
  641. "CreationTimestamp": {
  642. "type": "timestamp"
  643. },
  644. "LastUpdatedTimestamp": {
  645. "type": "timestamp"
  646. }
  647. }
  648. }
  649. },
  650. "NextToken": {}
  651. }
  652. }
  653. },
  654. "ListModels": {
  655. "http": {
  656. "method": "GET",
  657. "requestUri": "/2020-11-20/projects/{projectName}/models"
  658. },
  659. "input": {
  660. "type": "structure",
  661. "required": [
  662. "ProjectName"
  663. ],
  664. "members": {
  665. "ProjectName": {
  666. "location": "uri",
  667. "locationName": "projectName"
  668. },
  669. "NextToken": {
  670. "location": "querystring",
  671. "locationName": "nextToken"
  672. },
  673. "MaxResults": {
  674. "location": "querystring",
  675. "locationName": "maxResults",
  676. "type": "integer"
  677. }
  678. }
  679. },
  680. "output": {
  681. "type": "structure",
  682. "members": {
  683. "Models": {
  684. "type": "list",
  685. "member": {
  686. "shape": "Sr"
  687. }
  688. },
  689. "NextToken": {}
  690. }
  691. }
  692. },
  693. "ListProjects": {
  694. "http": {
  695. "method": "GET",
  696. "requestUri": "/2020-11-20/projects"
  697. },
  698. "input": {
  699. "type": "structure",
  700. "members": {
  701. "NextToken": {
  702. "location": "querystring",
  703. "locationName": "nextToken"
  704. },
  705. "MaxResults": {
  706. "location": "querystring",
  707. "locationName": "maxResults",
  708. "type": "integer"
  709. }
  710. }
  711. },
  712. "output": {
  713. "type": "structure",
  714. "members": {
  715. "Projects": {
  716. "type": "list",
  717. "member": {
  718. "shape": "S10"
  719. }
  720. },
  721. "NextToken": {}
  722. }
  723. }
  724. },
  725. "ListTagsForResource": {
  726. "http": {
  727. "method": "GET",
  728. "requestUri": "/2020-11-20/tags/{resourceArn}"
  729. },
  730. "input": {
  731. "type": "structure",
  732. "required": [
  733. "ResourceArn"
  734. ],
  735. "members": {
  736. "ResourceArn": {
  737. "location": "uri",
  738. "locationName": "resourceArn"
  739. }
  740. }
  741. },
  742. "output": {
  743. "type": "structure",
  744. "members": {
  745. "Tags": {
  746. "shape": "Sm"
  747. }
  748. }
  749. }
  750. },
  751. "StartModel": {
  752. "http": {
  753. "requestUri": "/2020-11-20/projects/{projectName}/models/{modelVersion}/start",
  754. "responseCode": 202
  755. },
  756. "input": {
  757. "type": "structure",
  758. "required": [
  759. "ProjectName",
  760. "ModelVersion",
  761. "MinInferenceUnits"
  762. ],
  763. "members": {
  764. "ProjectName": {
  765. "location": "uri",
  766. "locationName": "projectName"
  767. },
  768. "ModelVersion": {
  769. "location": "uri",
  770. "locationName": "modelVersion"
  771. },
  772. "MinInferenceUnits": {
  773. "type": "integer"
  774. },
  775. "ClientToken": {
  776. "idempotencyToken": true,
  777. "location": "header",
  778. "locationName": "X-Amzn-Client-Token"
  779. },
  780. "MaxInferenceUnits": {
  781. "type": "integer"
  782. }
  783. }
  784. },
  785. "output": {
  786. "type": "structure",
  787. "members": {
  788. "Status": {}
  789. }
  790. }
  791. },
  792. "StartModelPackagingJob": {
  793. "http": {
  794. "requestUri": "/2020-11-20/projects/{projectName}/modelpackagingjobs"
  795. },
  796. "input": {
  797. "type": "structure",
  798. "required": [
  799. "ProjectName",
  800. "ModelVersion",
  801. "Configuration"
  802. ],
  803. "members": {
  804. "ProjectName": {
  805. "location": "uri",
  806. "locationName": "projectName"
  807. },
  808. "ModelVersion": {},
  809. "JobName": {},
  810. "Configuration": {
  811. "shape": "S1n"
  812. },
  813. "Description": {},
  814. "ClientToken": {
  815. "idempotencyToken": true,
  816. "location": "header",
  817. "locationName": "X-Amzn-Client-Token"
  818. }
  819. }
  820. },
  821. "output": {
  822. "type": "structure",
  823. "members": {
  824. "JobName": {}
  825. }
  826. }
  827. },
  828. "StopModel": {
  829. "http": {
  830. "requestUri": "/2020-11-20/projects/{projectName}/models/{modelVersion}/stop",
  831. "responseCode": 202
  832. },
  833. "input": {
  834. "type": "structure",
  835. "required": [
  836. "ProjectName",
  837. "ModelVersion"
  838. ],
  839. "members": {
  840. "ProjectName": {
  841. "location": "uri",
  842. "locationName": "projectName"
  843. },
  844. "ModelVersion": {
  845. "location": "uri",
  846. "locationName": "modelVersion"
  847. },
  848. "ClientToken": {
  849. "idempotencyToken": true,
  850. "location": "header",
  851. "locationName": "X-Amzn-Client-Token"
  852. }
  853. }
  854. },
  855. "output": {
  856. "type": "structure",
  857. "members": {
  858. "Status": {}
  859. }
  860. }
  861. },
  862. "TagResource": {
  863. "http": {
  864. "requestUri": "/2020-11-20/tags/{resourceArn}"
  865. },
  866. "input": {
  867. "type": "structure",
  868. "required": [
  869. "ResourceArn",
  870. "Tags"
  871. ],
  872. "members": {
  873. "ResourceArn": {
  874. "location": "uri",
  875. "locationName": "resourceArn"
  876. },
  877. "Tags": {
  878. "shape": "Sm"
  879. }
  880. }
  881. },
  882. "output": {
  883. "type": "structure",
  884. "members": {}
  885. }
  886. },
  887. "UntagResource": {
  888. "http": {
  889. "method": "DELETE",
  890. "requestUri": "/2020-11-20/tags/{resourceArn}"
  891. },
  892. "input": {
  893. "type": "structure",
  894. "required": [
  895. "ResourceArn",
  896. "TagKeys"
  897. ],
  898. "members": {
  899. "ResourceArn": {
  900. "location": "uri",
  901. "locationName": "resourceArn"
  902. },
  903. "TagKeys": {
  904. "location": "querystring",
  905. "locationName": "tagKeys",
  906. "type": "list",
  907. "member": {}
  908. }
  909. }
  910. },
  911. "output": {
  912. "type": "structure",
  913. "members": {}
  914. }
  915. },
  916. "UpdateDatasetEntries": {
  917. "http": {
  918. "method": "PATCH",
  919. "requestUri": "/2020-11-20/projects/{projectName}/datasets/{datasetType}/entries",
  920. "responseCode": 202
  921. },
  922. "input": {
  923. "type": "structure",
  924. "required": [
  925. "ProjectName",
  926. "DatasetType",
  927. "Changes"
  928. ],
  929. "members": {
  930. "ProjectName": {
  931. "location": "uri",
  932. "locationName": "projectName"
  933. },
  934. "DatasetType": {
  935. "location": "uri",
  936. "locationName": "datasetType"
  937. },
  938. "Changes": {
  939. "type": "blob"
  940. },
  941. "ClientToken": {
  942. "idempotencyToken": true,
  943. "location": "header",
  944. "locationName": "X-Amzn-Client-Token"
  945. }
  946. }
  947. },
  948. "output": {
  949. "type": "structure",
  950. "members": {
  951. "Status": {}
  952. }
  953. }
  954. }
  955. },
  956. "shapes": {
  957. "Sc": {
  958. "type": "structure",
  959. "members": {
  960. "DatasetType": {},
  961. "CreationTimestamp": {
  962. "type": "timestamp"
  963. },
  964. "Status": {},
  965. "StatusMessage": {}
  966. }
  967. },
  968. "Si": {
  969. "type": "structure",
  970. "required": [
  971. "S3Location"
  972. ],
  973. "members": {
  974. "S3Location": {
  975. "shape": "Sj"
  976. }
  977. }
  978. },
  979. "Sj": {
  980. "type": "structure",
  981. "required": [
  982. "Bucket"
  983. ],
  984. "members": {
  985. "Bucket": {},
  986. "Prefix": {}
  987. }
  988. },
  989. "Sm": {
  990. "type": "list",
  991. "member": {
  992. "type": "structure",
  993. "required": [
  994. "Key",
  995. "Value"
  996. ],
  997. "members": {
  998. "Key": {},
  999. "Value": {}
  1000. }
  1001. }
  1002. },
  1003. "Sr": {
  1004. "type": "structure",
  1005. "members": {
  1006. "CreationTimestamp": {
  1007. "type": "timestamp"
  1008. },
  1009. "ModelVersion": {},
  1010. "ModelArn": {},
  1011. "Description": {},
  1012. "Status": {},
  1013. "StatusMessage": {},
  1014. "Performance": {
  1015. "shape": "Sw"
  1016. }
  1017. }
  1018. },
  1019. "Sw": {
  1020. "type": "structure",
  1021. "members": {
  1022. "F1Score": {
  1023. "type": "float"
  1024. },
  1025. "Recall": {
  1026. "type": "float"
  1027. },
  1028. "Precision": {
  1029. "type": "float"
  1030. }
  1031. }
  1032. },
  1033. "S10": {
  1034. "type": "structure",
  1035. "members": {
  1036. "ProjectArn": {},
  1037. "ProjectName": {},
  1038. "CreationTimestamp": {
  1039. "type": "timestamp"
  1040. }
  1041. }
  1042. },
  1043. "S1h": {
  1044. "type": "structure",
  1045. "required": [
  1046. "Bucket",
  1047. "Key"
  1048. ],
  1049. "members": {
  1050. "Bucket": {},
  1051. "Key": {}
  1052. }
  1053. },
  1054. "S1n": {
  1055. "type": "structure",
  1056. "required": [
  1057. "Greengrass"
  1058. ],
  1059. "members": {
  1060. "Greengrass": {
  1061. "type": "structure",
  1062. "required": [
  1063. "S3OutputLocation",
  1064. "ComponentName"
  1065. ],
  1066. "members": {
  1067. "CompilerOptions": {},
  1068. "TargetDevice": {},
  1069. "TargetPlatform": {
  1070. "type": "structure",
  1071. "required": [
  1072. "Os",
  1073. "Arch"
  1074. ],
  1075. "members": {
  1076. "Os": {},
  1077. "Arch": {},
  1078. "Accelerator": {}
  1079. }
  1080. },
  1081. "S3OutputLocation": {
  1082. "shape": "Sj"
  1083. },
  1084. "ComponentName": {},
  1085. "ComponentVersion": {},
  1086. "ComponentDescription": {},
  1087. "Tags": {
  1088. "shape": "Sm"
  1089. }
  1090. }
  1091. }
  1092. }
  1093. }
  1094. }
  1095. }